What are the equivalent of
$ionicHistory.clearHistory()
$ionicHistory.clearCache()
in Ionic2?
After a logout, I won’t allow my user to go back in the application while performing “back” actions.
What are the equivalent of
$ionicHistory.clearHistory()
$ionicHistory.clearCache()
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?
this.nav.setRoot(LoginPage);
Thx for your feedback. Yes you are right setting a new root cleared my issue. Actually I did it on the root nav
this.app.getRootNav().setRoot(LoginPage);