Skip to content
This repository was archived by the owner on Mar 16, 2019. It is now read-only.

Commit d1d07d0

Browse files
Hizoulwkh237
authored andcommitted
Fix Compilation Error in React Native 0.47.0 (#452)
createJSModules was removedin React Native 0.47.0 and results in the attached Build Error. removing @OverRide fixes build (didn't remove function because I don't know if it should be kept for downard compatability?) ``` node_modules/react-native-fetch-blob/android/src/main/java/com/RNFetchBlob/RNFetchBlobPackage.java:23: error: method does not override or implement a method from a supertype @OverRide ^ 1 error Incremental compilation of 1 classes completed in 0.219 secs. :react-native-fetch-blob:compileReleaseJavaWithJavac FAILED FAILURE: Build failed with an exception. ```
1 parent b70a124 commit d1d07d0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

android/src/main/java/com/RNFetchBlob/RNFetchBlobPackage.java

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ public List<NativeModule> createNativeModules(ReactApplicationContext reactConte
2020
return modules;
2121
}
2222

23-
@Override
2423
public List<Class<? extends JavaScriptModule>> createJSModules() {
2524
return Collections.emptyList();
2625
}

0 commit comments

Comments
 (0)