Reputation: 243
I'm using react native expo to build a app. I have faced a big problem right now. I want to load splash screen when app is loading from background. scenario,
When I open app, it load splash screen, then go to home screen.
Then use hardware back button to go to app background then again open app
Right now when I load app from background always show home screen before load splash screen
I try to kill the app when use hardware back button using `BackHandler.exitApp()` its not killing the app.
I want to load splash screen first and then go to home screen.
Can any body help me to fix this issue
Upvotes: 0
Views: 3046
Reputation: 111
You can refer to the Expo Documentation on SplashScreens https://docs.expo.io/versions/latest/sdk/splash-screen/ and https://docs.expo.io/guides/splash-screens/. If these aren't as helpful, you should post a code snippet of your main App screen and the code which you used to integrate and hide the splash screen when the application loads.
Upvotes: 1