lube / nfc-react-native

69 stars 35 forks source link

NfcReactNativePackage Method does not override or implement a method from a supertype #15

Open kzettlmeier opened 7 years ago

kzettlmeier commented 7 years ago

Looks like there currently is an error during compile:

node_modules/nfc-react-native/android/src/main/java/es/tiarg/nfcreactnative/NfcReactNativePackage.java:33: error: method does not override or implement a method from a supertype
    @Override
    ^
1 error
:nfc-react-native:compileReleaseJavaWithJavac FAILED

From what I can tell there is a breaking change in react-native 0.47 where you need to remove the @override statement at

    @Override
    public List<Class<? extends JavaScriptModule>> createJSModules() {
        return Collections.emptyList();
    }
zxhycxq commented 7 years ago

@kzettlmeier you can delete @Override.me too.hope to help you.