S.Yadav
S.Yadav

Reputation: 4509

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.

Upvotes: 4

Views: 16885

Answers (5)

Ande Caleb
Ande Caleb

Reputation: 1204

try running this command

cordova plugin rm cordova-plugin-splashscreen 

this worked for me

Upvotes: 4

Tonmoy
Tonmoy

Reputation: 2038

Try this in your config.xml file

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

Upvotes: 1

Ian Pinto
Ian Pinto

Reputation: 2299

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

Upvotes: 5

MathMate
MathMate

Reputation: 11

This should do the job

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

You can also check more options on https://github.com/apache/cordova-plugin-splashscreen

Upvotes: 0

misha130
misha130

Reputation: 5706

The spinner is the loading spinner on the splash screen and not the actual splash. Try this

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

Upvotes: 0

Related Questions