Cordova splash screen remove

CordovaIonic FrameworkSplash ScreenPhonegap Build

Cordova 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.xmlfile.

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...

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionarturView Question on Stackoverflow
Solution 1 - CordovaViky293View Answer on Stackoverflow
Solution 2 - CordovaRatnam YadavView Answer on Stackoverflow
Solution 3 - CordovamirrraelView Answer on Stackoverflow
Solution 4 - CordovaManohar Reddy PoreddyView Answer on Stackoverflow
Solution 5 - CordovaAbed PutraView Answer on Stackoverflow
Solution 6 - CordovaPuspad sharmaView Answer on Stackoverflow
Solution 7 - CordovaNitish SrivastavaView Answer on Stackoverflow