소스 검색

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
     }