@Thyrion wrote:
Hello,
I don’t know how to do it… And dislike that the user have to use the navbar button for that.
I have this, in app.component.ts to handle the BackButton in the App but don’t know how to detect and close from here the Popover
this.platform.registerBackButtonAction(() => { console.log('BackButtonAction'); if (this.nav.length() == 1) { if (!this.showedAlert) { this.confirmExitApp(); } else { this.showedAlert = false; this.confirmAlert.dismiss(); } } else { this.nav.pop({}); }Tanks for you answers.
Posts: 1
Participants: 1