Browse Source

Remove override of 'createJSModules' for RN 0.47

William Schurman 7 years ago
parent
commit
265dfd3d30

+ 2
- 1
android/src/main/java/fr/greweb/reactnativeviewshot/RNViewShotPackage.java View File

16
       return Arrays.<NativeModule>asList(new RNViewShotModule(reactContext));
16
       return Arrays.<NativeModule>asList(new RNViewShotModule(reactContext));
17
     }
17
     }
18
 
18
 
19
-    @Override
19
+    // Deprecated RN 0.47
20
+    // @Override
20
     public List<Class<? extends JavaScriptModule>> createJSModules() {
21
     public List<Class<? extends JavaScriptModule>> createJSModules() {
21
       return Collections.emptyList();
22
       return Collections.emptyList();
22
     }
23
     }