I have designed the app using ionic 2. I don't want a splash screen in my app. So, How to remove it?
Asked
Active
Viewed 6,358 times
0
-
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 Answers
9
According to last version of ionic 2:
- remove plugin
ionic cordova plugin rm cordova-plugin-splashscreen
- remove npm package
npm uninstall --save @ionic-native/splash-screen
- remove preferences about splashScreen in config.xml
- add this line to your config.xml
<preference name="SplashScreen" value="none"/>
- remove splashScreen from app.module.ts "import and providers"
- remove splashScreen from app.component.ts

Gozus19
- 165
- 19

amin arghavani
- 1,883
- 14
- 21
-
Yeah I did same thing. Splash screen is not shown up. But white screen is showing up now. Could you suggest me how to fix it? – ARD Apr 04 '17 at 10:04
-
Check your console on browser and console see if you got any error.`ionic serve -c` – amin arghavani Apr 04 '17 at 10:06
-
-
Try to build it.`ionic run android/ios -device` and see if you got any error. – amin arghavani Apr 04 '17 at 10:18
-
-
In chrome check if pages loading in your html or not. also check network tab. – amin arghavani Apr 04 '17 at 10:40
-
Let us [continue this discussion in chat](http://chat.stackoverflow.com/rooms/139840/discussion-between-ard-and-amin-arghavani). – ARD Apr 04 '17 at 10:57
-