[SOLVED] $ionicHistory.clearHistory() and $ionicHistory.clearCache() in Ionic2


What are the equivalent of


in Ionic2?

After a logout, I won’t allow my user to go back in the application while performing “back” actions.


Did you try setting the login page as Root?



Thx for your feedback. Yes you are right setting a new root cleared my issue. Actually I did it on the root nav