Cordova splash screen remove

僤鯓⒐⒋嵵緔 提交于 2019-11-27 01:44:11

问题


Is it possible to disable cordova default splash screen, I have removed the plugin but default splash screen for iphone still is showing and for android white screen is showing.Can this be fully removed.


回答1:


in your config.xml change the value to none in the below line

<preference name="SplashScreen" value="none"/>



回答2:


You can try the command to remove cordova splash screen

ionic cordova plugin rm cordova-plugin-splashscreen



回答3:


cordova plugin -rm cordova-plugin-splashscreen



回答4:


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" />



回答5:


try this

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

You can add this to the intelxdk.config.additions.xmlfile.




回答6:


This will definitely remove splash screen from your project

cordova plugin rm cordova-plugin-splashscreen



来源:https://stackoverflow.com/questions/29472150/cordova-splash-screen-remove

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!