Closed el-lsan closed 5 years ago
We use the issue tracker exclusively for bug reports and feature requests. This issue appears to be a general usage or support question. Instead, please ask a question on Stack Overflow with the react-native-navigation
tag.
@ItsNoHax I believe this is more like a bug than a question!
In android, this happens because a modal is opened before the SplashScreen.hide() condition is met. Basically it shows SplashScreen -> Modal -> SplashScreen -> condition for closing modal -> HomeScreen
Or you can also call SplashScreen.hide() inside right before you render the modal. That should stop the splash screen from showing again after the modal takes over.
Issue Description
I'm trying to show a loading screen (
app.loadingScreen
in code snippet) while my redux store is being rehydrated, then navigate to my main screen (app.homeScreen
in code snippet) But for some reason the splash screen is showing up between my loading component and main component.Code Snippets and Screenshots
On Android the splash screen is flashing before the second Navigation.setRoot
However on IOS everything is as expected:
`
Environment
^2.16.0
^0.59.4
Android
All