瀏覽代碼

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
     }