How to open an app from the cached state


#1

Hi all,

So i’m basically trying to open the app as quickly as possible from coldstart, Apps like whatsApp opens almost instantly from coldstart (less than a second on my old android phone) which leads me to believe that the activity being shown when the app first opens is being cached and only the cached activity is being loaded.

Is there above assumption right? is there any other way that they could be doing it(native or hybrid approach). Is there any way to launch an ionic app like that instantly from coldstart. I have run prod flag and am testing in a blank ionic app.

Thank you.


#2

No. Inic 4 might provide more flexibility, but Ionic 3 currently requires a standard Angular startup. You can keep this time low by not putting anything except for definitions in your constructors, and lazy loading as much as possible,