White page after splash screen setting is none


#1

Dear all,
I set the <preference name="SplashScreen" value="none"/> in config.xml. This is fine for splash screen is not showing when open up. But before the first page of application is show up, there is always a white page displayed.

Is there any way I can remove this white page?

Thank you very much

Philip Chen


#2

add this ondeviceready function

setTimeout(function() {
     navigator.splashscreen.hide();
}, 100);

you can add this(optional) in config.xml :

<preference name="SplashScreen" value="screen"/>
<preference name="SplashScreenDelay" value="5000"/>
<preference name="FadeSplashScreen" value="false"/>
<preference name="AutoHideSplashScreen" value="false"/>
<preference name="ShowSplashScreenSpinner" value="false"/>

#3

Does white screen can not be removed while splashscreen is none?


#4

just try the first one don’t mind the extra config…


#5

The problem has resolved, thank you,


#6

glad that I helped… happy coding…