In my application, I have this warning:
let confirm = this.alertCtrl.create({ title: 'Blabla', message: 'blablabla', buttons: [button1, button2, button3], enableBackdropDismiss: false }); confirm.present();
Also, when the application resumes, the application should redirect to the login page. No problem doing this job.
The problem occurs when I open a popup and resume the application. The application redirects correctly, but the popup remains open.
Is there a solution for programmatically closing all pop-ups? The resume function is called from app.component:
this.platform.resume.subscribe(() => {});
For this reason, I cannot call the confirming variable and close this popup.
source share