React-native-splash-screen: React Native .47 SplashScreenReactPackage.java

Created on 16 Aug 2017  路  10Comments  路  Source: crazycodeboy/react-native-splash-screen

node_modules/react-native-splash-screen/android/src/main/java/com/cboy/rn/splashscreen/SplashScreenReactPackage.java:22: error: method does not override or implement a method from a supertype @Override

Most helpful comment

@vivekebics

delete this code in SplashScreenReactPackage.java

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

All 10 comments

@vivekebics

delete this code in SplashScreenReactPackage.java

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

+1

Is the Splashscreen hiding for you on Android ? I've upgraded to 0.47 and now the splashScreen never hides... (see https://github.com/crazycodeboy/react-native-splash-screen/issues/71)

@PizzaLiu your fix worked that's on, thanks. When can we expect to see this fixed and released? I am editing the files in node_modules and that's not a sustainable thing

@crazycodeboy any update on this?

Hi @dwilt , you can just run npm install react-native-splash-screen@latest --save in the root of your project.

Or modify "react-native-splash-screen": "^3.0.1" in you package.json then npm install

@PizzaLiu that's the version I currently have that has the problem

@dwilt no, it is this line , it was fixed.

@PizzaLiu got it, thanks! I was mixing this error up with react-native-push-notification

Was this page helpful?
0 / 5 - 0 ratings