nfc-react-native icon indicating copy to clipboard operation
nfc-react-native copied to clipboard

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

Open kzettlmeier opened this issue 8 years ago • 1 comments

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();
    }

kzettlmeier avatar Oct 10 '17 14:10 kzettlmeier

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

zxhycxq avatar Oct 17 '17 06:10 zxhycxq