rnc-archive / react-native-webgl

DEPRECATED: use expo-gl – Implements WebGL for react-native
296 stars 73 forks source link

[RN 0.56] requires 'requiresMainQueueSetup' #70

Closed Stan64 closed 4 years ago

Stan64 commented 6 years ago

Just installed on a clean RN 0.56 following the instructions for gl-react-native and then react-native-webgl. Seems to work fine on iOS except for the error below.

Seems like you need to do something like this to solve it because of elevated permissions.

Module RNWebGLTextureLoader requires main queue setup since it overridesinitbut doesn't implementrequiresMainQueueSetup. In a future release React Native will default to initializing all native modules on a background thread unless explicitly opted-out of.

kristophM commented 6 years ago

Is this something that will be implemented? Any status on this?