My app takes too much time to load on android 5.0. i have more then 20 pages and it takes almost ~40 s to load.
i have tried “lazy loading”, but it does not work, it makes it worst!!
i wonder is there a way to minimize time loading ?? Any suggesting Please?
Try building your app with using --prod and --aot . I’mean using build command like this:
ionic cordova build android --prod --aot
if you want to build release application to publish on playstore, use this command like this:
ionic cordova build android --prod --aot --release
This will also decrease app size and make it faster especially in boot time.
1 Like
thanks for replying, i have tried it but it still takes more then 30s to get started !!!