Skip to content

Commit da779c3

Browse files
authored
Remove @OverRide
this will make compatible with react native 0.47+ and prevents build errors when using "react-native link react-native-document-scanner" as you describe on readme.
1 parent 7afa3d3 commit da779c3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

android/src/main/java/com/reactlibrary/RNPdfScannerPackage.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ public List<NativeModule> createNativeModules(ReactApplicationContext reactConte
1616
return Arrays.<NativeModule>asList(new RNPdfScannerModule(reactContext));
1717
}
1818

19-
@Override
2019
public List<Class<? extends JavaScriptModule>> createJSModules() {
2120
return Collections.emptyList();
2221
}
@@ -25,4 +24,4 @@ public List<Class<? extends JavaScriptModule>> createJSModules() {
2524
public List<ViewManager> createViewManagers(ReactApplicationContext reactContext) {
2625
return Collections.emptyList();
2726
}
28-
}
27+
}

0 commit comments

Comments
 (0)