Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. [01:45:27] TypeError: undefined is not an object (evaluating '_expo.default.GLView')
  2.  
  3. import { GLView } from 'expo'
  4.  
  5. npm i --save expo-graphics
  6.  
  7. import { View as GraphicsView } from 'expo-graphics'
  8.  
  9. render() {
  10. return (
  11. <GraphicsView
  12. style={{flex: 1}}
  13. onContextCreate={this._onGLContextCreate}
  14. />
  15. );
  16. }
  17.  
  18. render() {
  19. return (
  20. <GraphicsView
  21. style={{flex: 1}}
  22. onContextCreate={this._onGLContextCreate}
  23. onResize={this._onResize}
  24. onRender={this._onRender}
  25. />
  26. );
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement