SHARE
TWEET

Untitled

a guest Jun 17th, 2019 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.   }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top