Cordova splash screen remove
CordovaIonic FrameworkSplash ScreenPhonegap BuildCordova Problem Overview
Is it possible to disable Cordova default splash screen? I have removed the plugin but the default splash screen for iPhone still is showing and for Android the white screen is showing. Can this be fully removed?
Cordova Solutions
Solution 1 - Cordova
in your config.xml
change the value to none in the below line
<preference name="SplashScreen" value="none"/>
Solution 2 - Cordova
You can try the command to remove cordova splash screen
ionic cordova plugin rm cordova-plugin-splashscreen
Solution 3 - Cordova
cordova plugin -rm cordova-plugin-splashscreen
Solution 4 - Cordova
Tested on android:
To temporarily remove delay caused by splash screen:
<preference name="SplashScreenDelay" value="0" />
To permanently remove splash screen:
cordova plugin rm cordova-plugin-splashscreen
Below did not work:
<preference name="SplashScreen" value="none" />
<preference name="FadeSplashScreenDuration" value="0" />
Solution 5 - Cordova
try this
<preference name="SplashScreenDelay" value="0" />
You can add this to the intelxdk.config.additions.xml
file.
Solution 6 - Cordova
This will definitely remove splash screen from your project
cordova plugin rm cordova-plugin-splashscreen
Solution 7 - Cordova
Hi if nothing is working.. for android Goto android build folder find this com\getcapacitor\Splash.java inside capacitor-android project and comment this two line....
line number near by 196 show(a, DEFAULT_LAUNCH_SHOW_DURATION, DEFAULT_FADE_IN_DURATION, DEFAULT_FADE_OUT_DURATION, DEFAULT_AUTO_HIDE, null, null);
line number near by 189 show(a, duration, 0, DEFAULT_FADE_OUT_DURATION, autohide, null, true, config); here you can also set false to 7th parameter - show(a, duration, 0, DEFAULT_FADE_OUT_DURATION, autohide, null, false, config); but it will show you some blank image on startup..so it is good to comment both function....still it is loading white screen at startup..i am finding this issue and soon solve....... then i will update here..
and donot forget to set config.xml setting as told above...