Search code examples
cordovaphonegap-plugins

Disable splashscreen on Phonegap 6.3


I want to disable the splashcreen in my Phonegap 6.3 app. In the main config.xml file, I removed the line that loads the splash screen plugin:

<plugin name="cordova-plugin-splashscreen" source="npm" spec="~3.2.1" />

and I removed all the lines that contained

<splash density="..." src="www/res/screen/..." />

But I still have a splashcreen despite these removals, even after relaunching the server with phonegap serve.

I know it is possible to solve the issue using

cordova.exec(null, null, "SplashScreen", "hide", [])

but I am trying to understand why removing the plugin declaration does not solve the issue.


Solution

  • Based on the documentation here, you might want to try adding this to your config.xml.

    <preference name="SplashScreenDelay" value="0"/>
    <preference name="FadeSplashScreenDuration" value="0"/>