Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [01:45:27] TypeError: undefined is not an object (evaluating '_expo.default.GLView')
- import { GLView } from 'expo'
- npm i --save expo-graphics
- import { View as GraphicsView } from 'expo-graphics'
- render() {
- return (
- <GraphicsView
- style={{flex: 1}}
- onContextCreate={this._onGLContextCreate}
- />
- );
- }
- render() {
- return (
- <GraphicsView
- style={{flex: 1}}
- onContextCreate={this._onGLContextCreate}
- onResize={this._onResize}
- onRender={this._onRender}
- />
- );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement