Hey there,
i am replace the last history entry with the current one.
The $ionicHistory service does not recognize this and i do not have the possibility to change the backView.
Is there a new way to set the correct backView like the $ionicViewService did in the past?
Greetz and thanks,
bengtler
Fixed this with
$ionicHistory.nextViewOptions({
disableAnimate: true
});
$ionicHistory.currentView($ionicHistory.backView());
That solution is a hack and I’ve seen it around a few times. We needed a solution that works perfectly with cached views and iOS swipe-back so I wrote this method: https://github.com/driftyco/ionic/issues/3750
Give it a +1 if you want it in release, otherwise fork and add it yourself