React-native-splash-screen: app stuck at splash screen on real device but at emulator working perfectly

Created on 27 Nov 2018  ·  9Comments  ·  Source: crazycodeboy/react-native-splash-screen

I developed an android app using react native. Its working perfectly on android emulator. I have generated signed apk. But when i install it and open it on android phone. It stuck at splash screen. It show me splash screen then show white screen. What should i do to solve this problem.

Most helpful comment

I have the same issue that my app gets stuck in splash screen on ios, but only in release build. In debug build it works fine. I am using:

In my Appdelegate.m:

...
 [RNSplashScreen show];
  return YES;
}

And hiding it in my root component:

  componentDidMount() {
    SplashScreen.hide();
  }

  componentDidCatch(error, info) {
    SplashScreen.hide();
    ...
  }

All 9 comments

Same issue here

It is working for android OS v7.0. but not for version 6

Having this issue on a pixel one with android 9

@manojkumawat003 @Samsinite any solution?

We implemented native splash screens, iOS splash screens are straight forward, but Android can be a bit more work depending on what user experience you want.

Did you ever get to the bottom of this? I have the same - works fine on my pixel 2 emulator, but wont go past the splash screen on my physical device (moto G4)

I have the same issue that my app gets stuck in splash screen on ios, but only in release build. In debug build it works fine. I am using:

In my Appdelegate.m:

...
 [RNSplashScreen show];
  return YES;
}

And hiding it in my root component:

  componentDidMount() {
    SplashScreen.hide();
  }

  componentDidCatch(error, info) {
    SplashScreen.hide();
    ...
  }

Any update about this? I have the issue with Android 7.

I am having a problem ====> "splash screen works fine on (nox) emulator but on a physical device the splash screen doesn't come but the black screen is taking place of splash screen"

any solution for my problem❓❔

Was this page helpful?
0 / 5 - 0 ratings