Browse Source

Merge pull request #8 from prscX/master

RN47.0 has removed `createJSModules` method
Hau Vo 7 years ago
parent
commit
80375aa933
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      android/src/main/java/com/reactlibrary/RNThumbnailPackage.java

+ 1
- 2
android/src/main/java/com/reactlibrary/RNThumbnailPackage.java View File

16
       return Arrays.<NativeModule>asList(new RNThumbnailModule(reactContext));
16
       return Arrays.<NativeModule>asList(new RNThumbnailModule(reactContext));
17
     }
17
     }
18
 
18
 
19
-    @Override
20
     public List<Class<? extends JavaScriptModule>> createJSModules() {
19
     public List<Class<? extends JavaScriptModule>> createJSModules() {
21
       return Collections.emptyList();
20
       return Collections.emptyList();
22
     }
21
     }
25
     public List<ViewManager> createViewManagers(ReactApplicationContext reactContext) {
24
     public List<ViewManager> createViewManagers(ReactApplicationContext reactContext) {
26
       return Collections.emptyList();
25
       return Collections.emptyList();
27
     }
26
     }
28
-}
27
+}