react-native-splash-screen icon indicating copy to clipboard operation
react-native-splash-screen copied to clipboard

Modal overlaying the SplashScreen on Android

Open lukasreusch opened this issue 8 years ago • 4 comments

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"

lukasreusch avatar Oct 26 '17 09:10 lukasreusch

I am running into the same problem. Has anyone else encountered/solved it?

rob-deutsch avatar May 21 '20 14:05 rob-deutsch

Hello, I confirm the issue on Android and I'm looking for a workaround Thank you

LetUsGeek avatar Jul 07 '21 20:07 LetUsGeek

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

dvill03 avatar May 29 '22 06:05 dvill03