Closed davidcian closed 4 years ago
@gre can you merge this PR?
@davidcian how can I set package.json to temporarily use your fork since webgltexture-loader-expo is not used directly by my project but by gl-react-expo?
@fdagostino Unfortunately you cannot set the package.json to use my fork, since that would require it to be a package. However, you can clone this fork and manually replace the package in the node_modules folder, along with installing the @unimodules/core dependency. Hope this helps!
@davidcian thanks, worked fine!
Due to Expo shifting things around with their constant updates, ExponentGLObjectManager has been moved from NativeModules to NativeModulesProxy, thus breaking some functionality ( the deprecated DeprecatedExpoGLObjectTextureLoader but also and most importantly the ExpoCameraTextureLoader). With this fix, people trying to obtain a texture from their camera should be able to do so again.