Hi,
I have an Ionic5/Capacitor app that uses tabs.
The first tab is the “dashboard” page.
On this page, there are links to the other tabs that I open using the function switchToPage.
I’ve tried to switch the page in many ways:
switchToPage(pagename){
// console.log('@@@ switchToPage', pagename);
// this.router.navigateByUrl('tabs/' + pagename);
// this.router.navigate(['tabs/', pagename]);
this.navCtrl.navigateForward(['tabs/', pagename])
}
The problem is that changing the selected tab with this function or the standard tab buttons, the back button of the mobile doesn’t work.
None of the previous ways to change page works.
Is it possible to fix this somehow?
Thank you very much
cld