Wow … I’ve bee searching for this for a long time!!! thnx …
1 Like
Fantastic. Thank you. 
1 Like
Hey,
I think this is related to the fact that by default the back button disables the side menu. If you look in menu.html under templates, you need to change the following:
<ion-side-menus enable-menu-with-back-views="false">
to
<ion-side-menus enable-menu-with-back-views="true"
Chanoch
1 Like
Just something I have noticed in the newer versions of Ionic:
$ionicViewService.nextViewOptions({
disableBack: true
});
seems to be depreciated, use this instead to avoid warnings:
$ionicHistory.nextViewOptions({
disableBack: true
});
1 Like
You can use angular way to do this.
this.router.parseUrl(’/’); - clears the navigation history
Reference: https://juristr.com/blog/2018/11/better-route-guard-redirects/
1 Like