My app launch slowly

Why my app take more time to launch at the beginin !??

Hey @yns23, what command are you using to build the app? Which platform/device are you using to test the app?

I had a similar issue a while ago, as I was building an apk for Android devices and it was taking 10+ secs to boot up.

The problem was that I was building a dev version of the apk with this command:

ionic cordova build android --device

Adding the --prod flag to the command above reduced the booting time by about 5 secs, as it optimised and minimised the project:

ionic cordova build android --prod --device
1 Like

my solution was to migrate my app to ionic 4 with lazy loading