Skip to content

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

@kzettlmeier

Description

@kzettlmeier

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions