0

I have designed the app using ionic 2. I don't want a splash screen in my app. So, How to remove it?

ARD
  • 145
  • 2
  • 15
  • Yes i removed it. splash screen is not shown up but white screen is showing up now. How to fix it? – ARD Apr 04 '17 at 09:34
  • @ sagar. I have removed the splash screen in my app. Then i have added this line. . Splash screen is not shown up. But white screen is showing up now. How to fix it? – ARD Apr 04 '17 at 09:36
  • are you sure the "white screen" is not your angular app that is loading..? – n00dl3 Apr 04 '17 at 10:44
  • Come on, close this question, this is crazy ! Plus he already asked the question here: http://stackoverflow.com/questions/42805109/how-to-disable-splash-screen-in-ionic-2 – n00dl3 Apr 04 '17 at 11:11

1 Answers1

9

According to last version of ionic 2:

  1. remove plugin ionic cordova plugin rm cordova-plugin-splashscreen
  2. remove npm package npm uninstall --save @ionic-native/splash-screen
  3. remove preferences about splashScreen in config.xml
  4. add this line to your config.xml <preference name="SplashScreen" value="none"/>
  5. remove splashScreen from app.module.ts "import and providers"
  6. remove splashScreen from app.component.ts
Gozus19
  • 165
  • 19
amin arghavani
  • 1,883
  • 14
  • 21