Hi, i have a TabControllerPage which contains 4 pages.
When im on tab2Root , tab3Root, tab4Root i want to handle that user always go back to tab1Root when click backButtonPress, and when click backpressbutton again from tab1Root, it will exit the app.
How can i do that?
I tried to implements this method:
platform.registerBackButtonAction(() => {
navCtrl.push(tab1Root);
});
in tab2Root constructor, but it just add a page over tab2Root, but i want to not get stacks, but always to back to tab1Root, and from there i want to exit the app.