Hi all!
I’m currently trying to navigate from a LoginPage (my own) that displays an InAppBrowser back to my NavPage which I generated from the official template. I don’t want the user to be able to go back to the login page, so what I did was use this code to remove the page from the nav stack:
browser.on('loadstart')
.subscribe(
((event) => {
// do stuff
browser.close();
this.navCtrl.push(TabsPage).then(() => {
const index = this.navCtrl.getActive().index;
this.navCtrl.remove(0,index);
});
}));
It navigates to the TabsPage just fine and displays the Home tab, but it still displays a “Back” button. This back button doesn’t lead to the LoginPage tho, instead it leads to another TabsPage which displays the Home tab again.
I simply don’t want no Back button at all, do you know what I’m doing wrong? I’m using Apple’s iOS 10.2 simulator. Thanks in advance!