I have a sidemenu app with subpages. I use this.navCtrl.push(MySubPage)
I used registerBackButtonAction() on app.components.ts to permit an user friendly navigation.
How I can get the info on the current page istance? I’d like to show an alert message depending of the state of the current page.