Which version of ionic are you using? I have experienced a lot of improvement in boot time with the release candidates (currently 2.0.0-rc.3) compared to some of the older beta versions.
Make sure on android, that you’re not seeing a blank splash screen. We thought we were having problems with boot up times for the app on Android versions, and it turned out it was the splash screen playing, but the splash had no content.
Thanks @bsampica. Very good hint!
It may be that main if not the whole cause of the problem.
By now I have reduced the opening time but it is still slow: around 17 seconds.
If restored from background it opens it instantly.
But I think I can manage to reduce it further.
How do how manage to remove that white splashscreen?
This is my code concerning the splashscreen:
App.component:
import { StatusBar, Splashscreen } from 'ionic-native';
Hi I have the same problem now. My app was running properly with rc3 until I upgraded all of my packages including ionic-app-scripts, angular and typescript.
Same issue, the opening time is 15sec also on ios. It appeared since I upgraded to ionic rc4 with its related packages. Does anyone know the reason why?
As of ionic-app-scripts version 0.0.47 , build commands does not use AoT ( Ahead of time compilation ) by default ,
you have to use --prod to build in production mode that uses AoT.
You can see this mentioned in the ChangeLog
It’s good to keep any eye for major changes when updating .
Great question!
I postponed to work on this issue to concentrate on other stuff - But as I can see so far even with Ionic 2.0.0 the opening time is slow.