Hi,
I developed ionic 7 app using cordova engine.
At startup (in app.component) I load my configuration from storage and then I create an Singleton class in order to get configuration fast.
If user go to other app, receive call and so on, and then reopen my app, it start with blank screen. I can’t understand what is the cause.
on ios, when an app hasn’t been used for a long time, it is possible that the o.s. clear the memory (my singleton)?
Catched resume and pause mode:
this.platform.resume.subscribe((data) => {
alert ("onPauseCallback");
});
this.platform.pause.subscribe((data) => {
alert ("onPauseCallback");
});
These methods will be called when user reopen the app.