v3.11.0
gl-react-native is backed by react-native-webgl
This is an important internal change in gl-react-native but it shouldn't break anything (Surface API does not change at all).
Migration
- Add react-native-webgl dependency to your project and link it (see README install doc)
- gl-react-native itself no longer have any native code so simply remove it from the linking native lib
- if you were using EXGLView or Image directly out of gl-react-native, instead, just
import {WebGLView} from react-native-webgl
(there is however no longer any Image polyfill, but it should be possible to implement your own OR just directly use the newgl.getExtension("RN").loadTexture({ image })
)