I have included splash screen on my ionic android app, but it loads only once, on first time!! If I clear all the data of the app , it loads again!! So problem is how can i load splash screen everytime? without resetting the app data?
Not sure if you can bring the splash screen up every time without exiting the app. You might could save your state to local storage along with the data and bring the user back to the same page.
Android discourages exiting the app though.
There was an issue posted on apache.org regarding this problem.
If you closed the app by pressing the back button the splash screen wouldn’t show the next time but if you killed the app via last used applications it worked fine.
Please check it and, if this is the case, update your plugin to the last version and add the next line to your project’s
<preference name="SplashShowOnlyFirstTime" value="false" />
Exactly, i am facing this problem. Thanks for the reply.
Thanks for this solution!
This is still how I needed to fix it in version 4.0.1