react-native-splash-screen
react-native-splash-screen copied to clipboard
Modal overlaying the SplashScreen on Android
Hi,
on iOS everything is working fine. But I have problems on Android. While launching the app I am checking if the app can access the GPS-position. If not, a modal-dialog appears. AFTER that, I hide the SplashScreen.
On Android:
- App started
- SplashScreen is displayed correctly
- Modal-dialog appears (over the SplashScreen)
- Modal-dialog disappears (because GPS-position was found, I give this a few ms)
- SplashScreen disappears (because of SplashScreen.hide())
I am using this Versions: "react-native": "^0.49.1" "react-native-splash-screen": "^3.0.1"
I am running into the same problem. Has anyone else encountered/solved it?
Hello, I confirm the issue on Android and I'm looking for a workaround Thank you
show(final Activity activity, final boolean fullScreen)
You can consider taking up the whole screen instead, this way the modal doesn't appear over the SplashScreen