@greweb
@greweb
React native surface is taking a style prop not a width/height
Any log of the crash? thanks
- [ ] look how we can bring the inspector in https://github.com/reactotron/reactotron
Did you try to increase the values of the camera at https://github.com/gre/gl-react/blob/master/examples/cookbook-rn-shared/examples/camera/GLCamera.js#L54-L55 ? ``` width: 400, height: 533.33, ``` thanks
It's probably something specific to expo-camera
indeed here we use `createCameraTextureAsync` to get a picture of the camera from the "view", then I think it's due to the internal implementation of Expo, which will simply capturing...
issue is probably because the compile shader code is blocking the js thread & takes some time. we might need to debounce the keyboard events.
oh really? and this is on the device right?
Ok I think I see what's wrong https://github.com/gre/gl-react/blob/master/packages/cookbook-rn-shared/src/examples/glsledit/index.js#L55 can you try to change to ``` visitor.onSurfaceDrawEnd = () => { if (this.state.error) this.setState({ error: null }); } ``` ?
see https://github.com/gre/gl-react/blob/master/CONTRIBUTING.md for the cookbook expo app, you should be able to open the packages/cookbook-expo with expo/Expo XDE.