From 42ff87b3b3e5b87c8414da368e3a797def11fd04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Renaudeau?= Date: Thu, 15 Sep 2016 21:13:00 +0200 Subject: [PATCH] port example to RN 0.33 --- example/android/app/app.iml | 21 ++++++++++--------- .../main/java/com/example/MainActivity.java | 9 -------- example/package.json | 6 +++--- example/src/AdvancedEffects/Intro.js | 2 +- example/src/Simple/index.js | 10 +++++---- example/src/Tests/index.js | 8 +++---- 6 files changed, 25 insertions(+), 31 deletions(-) diff --git a/example/android/app/app.iml b/example/android/app/app.iml index cc8ba30..0c7b926 100644 --- a/example/android/app/app.iml +++ b/example/android/app/app.iml @@ -64,14 +64,6 @@ - - - - - - - - @@ -80,6 +72,14 @@ + + + + + + + + @@ -95,7 +95,7 @@ - + @@ -126,17 +126,18 @@ + + - diff --git a/example/android/app/src/main/java/com/example/MainActivity.java b/example/android/app/src/main/java/com/example/MainActivity.java index af8dd8a..af05dfe 100644 --- a/example/android/app/src/main/java/com/example/MainActivity.java +++ b/example/android/app/src/main/java/com/example/MainActivity.java @@ -20,13 +20,4 @@ public class MainActivity extends ReactActivity { protected String getMainComponentName() { return "example"; } - - /** - * Returns whether dev mode should be enabled. - * This enables e.g. the dev menu. - */ - @Override - protected boolean getUseDeveloperSupport() { - return BuildConfig.DEBUG; - } } diff --git a/example/package.json b/example/package.json index 3233e6f..cbc62c9 100644 --- a/example/package.json +++ b/example/package.json @@ -7,12 +7,12 @@ }, "dependencies": { "crypto": "0.0.3", - "gl-react": "2.2.4", + "gl-react": "2.2.6", "gl-react-blur": "^1.3.0", "gl-react-native": "file:..", "glsl-transitions": "^2016.2.15", - "react": "15.3.0", - "react-native": "0.32.0", + "react": "15.3.1", + "react-native": "0.33.0", "react-native-fs": "1.5.1", "react-native-material-kit": "PyYoshi/react-native-material-kit#rn-0.25.1", "seedrandom": "gre/seedrandom#released" diff --git a/example/src/AdvancedEffects/Intro.js b/example/src/AdvancedEffects/Intro.js index 8494efe..44e468c 100644 --- a/example/src/AdvancedEffects/Intro.js +++ b/example/src/AdvancedEffects/Intro.js @@ -55,7 +55,7 @@ class Intro extends React.Component { moving: 1 }}> - + GL REACT NATIVE diff --git a/example/src/Simple/index.js b/example/src/Simple/index.js index 8aa63ca..a3da3c8 100644 --- a/example/src/Simple/index.js +++ b/example/src/Simple/index.js @@ -166,9 +166,11 @@ class Simple extends Component { - - Throw me to the wolves - {text} + + + Throw me to the wolves + {text} + - + ; const txt = - + {[0,1,2,3].map(i => - - + + - + -- 2.26.2