[ad_1]
We’ve an Ionic 6 / Capacitor 4 / Angular 12 app.
I’m seeing a unique behaviour (on sure units solely) when the app re-starts relying on the reason for the restart.
If I shut the app and open it (i.e the onResume lifecycle is activating) the app works okay and behaves okay on all units.
If I swipe-close the app manually myself and re-open it the app works on all units.
If I open that app after a interval of X hours and re-open it AND within the meantime the OS has determined to shut the app, on some units (my iPhone SE for instance) – the app behaves in a different way and fails (a name to safe storage in a third celebration auth library is failing to get a token)
So far as I’m involved the second and third use-cases are an identical – the app is closed absolutely and is beginning up. However I’m seeing a unique behaviour. Are there variations between these two situations so far as the app is worried?
[ad_2]
