I’ve been using Ionic 3 more than 1 year and I started using v4 now. However I’m confused with current navigation management, there’s no ‘root’, there’s no navigation stack, even the simple NavController’s gone as well
First I created a tabs layout from official starter project, then added a simple button in tab2. By clicking on that button, it can go to another page1. And I called navController.navigateRoot(’’) when dismissed the page1.
However, on Android, I just found that the hardware/virtual back button behaved very close to a browser style, every “back” just went back to earlier history. For example, if you first go tab1 -> tab3-> tab2 -> page1 -> tabs, then keep clicking on back button, it would give you tabs -> page1 -> tab2 -> tab3 -> tab1.
It’s wired for a mobile app. I found nothing to help setting a real root like previous v3. I really need tabs to be a root and some similar popToRoot() to dump current navigation stack.
Could anyone give suggestion on how to manage navigation on v4? Thanks