Ionic 2 built the application (iOS, Android) slowly at boot

I am building an application using ionic 2, angular 2 and typescript.

Currently released apps (iOS and Android) load very slowly on mobile devices.

Even the initial template with some user interface should load 5 seconds on iPhone 6, 6 seconds on oneplus 3. This speed is too slow and cannot accept. My application is more complex, which takes 10 seconds to load on the first page.

My code to run the application.

ionic start test --v2 --ts

Can loading times be improved to an acceptable level?

+4
source share
1 answer

Ionic 2 new RC4 . AoT,

ionic run android --prod

issue ionic

Edit

Ionic-cli 3 , - ionic cordova. ,

ionic cordova run android --prod

+9

Source: https://habr.com/ru/post/1664255/


All Articles