Explorar el Código

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 hace 7 años
padre
commit
d1d07d0922
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0
    1
      android/src/main/java/com/RNFetchBlob/RNFetchBlobPackage.java

+ 0
- 1
android/src/main/java/com/RNFetchBlob/RNFetchBlobPackage.java Ver fichero

@@ -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
     }