ソースを参照

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.
```
Hizoul 7 年 前
コミット
d1d07d0922
共有1 個のファイルを変更した0 個の追加1 個の削除を含む
  1. 0
    1
      android/src/main/java/com/RNFetchBlob/RNFetchBlobPackage.java

+ 0
- 1
android/src/main/java/com/RNFetchBlob/RNFetchBlobPackage.java ファイルの表示

@@ -20,7 +20,6 @@ public class RNFetchBlobPackage implements ReactPackage {
20 20
         return modules;
21 21
     }
22 22
 
23
-    @Override
24 23
     public List<Class<? extends JavaScriptModule>> createJSModules() {
25 24
         return Collections.emptyList();
26 25
     }