I’m building my first Ionic2 app and need some advice on how to clear a nav history when a user changes tabs. So whenever a user changes tabs, they will always be presented with that tab’s root page.
I’ve tried various things like on
onPageWillLeave() but I haven’t found out how to access the previous/next nav object so as to clear the nav stack.
I’m probably attacking this from the wrong angle, so if someone can point me in the right direction that would be great.