Ionic 2 App loading delay

I am building an app with Ionic 2, here is that ionic info

Cordova CLI: 6.1.1
Ionic Framework Version: 2.0.0-beta.11
Ionic CLI Version: 2.0.0
Ionic App Lib Version: 2.0.0-beta.20
Node Version: v4.4.4

When I build my app the app shows a white screen for more than 8 seconds. No I am not using any splash screens and I have removed the splash screen plugin as well as the tag from the config.xml file.

No errors or exceptions are shown in the console which means that the app is loading fine. Just there is this huge delay in loading the app.

Any help is appreciated.

That is a known issue. The Ahead Of Time (AOT) effort that should be coming in the next beta should address much of this. For now, there is not a lot we can do yet.


Chris is correct. This is a known issue of not only Ionic, but Angular 2 in general. The AoT compiler will help here, but also, a better build process, which we are working on as well.