Преглед изворни кода

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
     }