Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove splash screen from ionic application

Launch application directly without splash and white screen.
I am working on an ionic application, I need to remove splash screen being display on application launch before loading the application.

I don't want any splash, Need to remove complete splash screen
Don't know how to do that. Let me show my machine setup of the application-

Your system information:

Cordova CLI: 6.2.0
Ionic Framework Version: 2.0.0-beta.10
Ionic CLI Version: 2.0.0-beta.32
Ionic App Lib Version: 2.0.0-beta.18
ios-deploy version: Not installed
ios-sim version: 5.0.8 
OS: Mac OS X Yosemite
Node Version: v6.2.2
Xcode version: Xcode 7.2 Build version 7C68 


******************************************************

I have even used this

<preference name="ShowSplashScreenSpinner" value="false" />   

but this is not working for me.

like image 980
S.Yadav Avatar asked Jan 05 '23 04:01

S.Yadav


1 Answers

To remove/disable the splashscreen add the following preference to config.xml:

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

iOS Quirk: to disable the splashscreen on ios platform you should also add <preference name="FadeSplashScreenDuration" value="0"/> to config.xml.

FadeSplashScreen (boolean, defaults to true): Set to false to prevent the splash screen from fading in and out when its display state changes <preference name="FadeSplashScreen" value="false"/>

For more information refer: https://github.com/apache/cordova-plugin-splashscreen

like image 55
Ian Pinto Avatar answered Jan 13 '23 10:01

Ian Pinto