How to make the splashscreen disappear faster

I am developing an app and I have been checking out the ionic 2 conference app as a great example on some coding practices and how to structure the right app (as side note: thank you for making the conference app available to everyone. It’s a great resource and is very helpful). On the ionic 2 conference app I know that the splash screen is hidden as long as ionic 2 and other plugins are ready by the file app.js

platform.ready().then(() => {
  StatusBar.styleDefault();
  Splashscreen.hide();
});

However, the splash screen shows up for as long as 3 or 4 seconds compared with react-native sample app which the splashscreen disappears after 1 or 2 seconds.

My question: Is there any way to make the splash screen disappear faster? (less delay?). I have tried remove the line
Splashscreen.hide();

and alter the number of delay and auto hide splash screen on my config.xml to true and 1000ms but that does not work (the splash screen still takes as long as 3-4 seconds).

Any help is greatly appreciated!

You can configure the splashscreen plugin to change the duration of the plugin fade duration, delay duration, and few other properties

I configured my app like yours, but no luck. I have installed the latest cordova-plugin-splashscreen. I have put my configuration here:

Thank you for your help!

ionic run android --prod

It’s not working in Ionic 3. By default it’s taking 10 seconds to load though I changed the splashcreendelay to 300 from 10000

Same problem, splashscreen delay work, but we have white screen after splashscreen

Problem remains in Ionic 3.4.0. Anyone came up with solution ?

1 Like

A post was split to a new topic: Splash screen hides after 3 sec, only on special device after 6 sec

Use latest CLI of Ionic and then run using following command

ionic cordova run android --prod