Commit 03ad7324 authored by Gaëtan Renaudeau's avatar Gaëtan Renaudeau Committed by GitHub

Merge pull request #205 from cawfree/master

Updated package dependencies to support react-native 0.60.5
parents 941edfe2 dd76aeb0
......@@ -7,12 +7,12 @@
},
"dependencies": {
"crypto": "0.0.3",
"gl-react": "2.2.8",
"gl-react": "^2.0.0",
"gl-react-blur": "^1.3.0",
"gl-react-native": "file:..",
"glsl-transitions": "^2017.1.10",
"react": "15.4.2",
"react-native": "0.42.0",
"react": "16.8.6",
"react-native": "0.60.5",
"react-native-fs": "github:gre/react-native-fs#rn-40",
"seedrandom": "gre/seedrandom#released"
}
......
{
"name": "gl-react-native",
"version": "2.60.0",
"version": "2.60.1",
"description": "OpenGL bindings for react-native to implement complex effects over images and components, in the descriptive VDOM paradigm",
"repository": {
"type": "git",
......@@ -20,7 +20,8 @@
"license": "MIT",
"peerDependencies": {
"gl-react": "^2.2.4",
"react-native": "*"
"react-native": "^0.60.5",
"react": "^16.8.6"
},
"dependencies": {
"invariant": "2.2.0"
......
import invariant from "invariant";
import {NativeModules} from "react-native";
const {UIManager} = NativeModules;
import {UIManager, NativeModules} from "react-native";
const GLCanvas = UIManager.getViewManagerConfig('GLCanvas');
invariant(GLCanvas,
`gl-react-native: the native module is not available.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment