I follow your described steps Here and add a SplashScreen but after run this in emulator its show a loader over the SplashScreen . can you please help me to solve this .
Heeyy that worked perfectly… at least on android, in ios i have the same issue where the default splash screen shows instead of my custom splash image, any idea how to solve?
For anyone out there who drives themselves slightly insane with the erratic behaviour of a white screen between the splash and the first screen of the app, I found the following when testing on my Nexus 4 (Android 5.1.1):
Any updates made to the splash (in config.xml) does not show on the first: ionic run android
In fact, it does not honour the settings detailed in config.xml
Instead, quit the app after first launch on the device, and re-run. This was the only way I could get the splash screen to start to behave as expected. It allowed me to have control over it using:
navigator.splashscreen.hide();
Once I have done this a few times, the app then seems to return to working as desired.
I face following behaviour on Android even after app relaunch:
my splashscreen is displayed for desired SplashScreenDelay time
then white screen is displayed for cca 3 seconds
then my app is displayed
disregarding the SplashScreenDelay value, I always see the white screen for few seconds.
Not sure if this issue is somehow related to following warnings in JS console:
deviceready has not fired after 5 seconds.
cordova.js:1176 Channel not fired: onDOMContentLoaded
Native: deviceready did not fire within 2000ms. This can happen when plugins are in an inconsistent state. Try removing plugins from plugins/ and reinstalling them.
VM472:143 DEVICE READY FIRED AFTER 3518 ms
The JS messages are pretty confusing – at first it claims device ready has not fired after 5 seconds, and then it tells that device ready fired after 3.5 seconds.
Actually all my cordova plugins work properly.
Update 2016-05-25:
behaviour described above is when cordova-plugin-crosswalk-webview is installed. When I uninstall the crosswalk plugin, I experience following behaviour:
my splashscreen is displayed for desired SplashScreenDelay time
then black screen is displayed for cca 1 second
then white screen is displayed for cca 2 seconds
then splashscreen is displayed again and my app is not started even after long wait.