Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Override error at GatewayFinderReactPackage.java #7

Open
PierreLoupG opened this issue Aug 5, 2019 · 0 comments
Open

Override error at GatewayFinderReactPackage.java #7

PierreLoupG opened this issue Aug 5, 2019 · 0 comments

Comments

@PierreLoupG
Copy link

The error :

[...]/node_modules/react-native-gateway-finder/android/src/main/java/com/ymuzikant/gatewayfinder/GatewayFinderReactPackage.java:27:
 error: method does not override or implement a method from a supertype
    @Override

It comes from this function :

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

Just remove the @Override and the package works for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant