White screen after splash screen


#1

Hi to everyone.
I have a “problem” with my app. When it’s running, after the splash screen and before the app it’s ready, a white screen appears for about 5/6 seconds and it’s so annoying.
How is it possible to avoid this white screen?

I didn’t saw a lot of question about this (without working answers) and I would like to have an updated answer :slight_smile:

I don’t post code because I don’t know which code could be usefull.

Ionic version 3.13.2

Thank you.


#2

You must hide de splashscreen manually after app initialization using Splashscreen Plugin.

import { SplashScreen } from '@ionic-native/splash-screen';

constructor(private splashScreen: SplashScreen) { }

...

this.splashScreen.hide();

Don’t forget to add this line to your config.xml:

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