Rc.0 cordova build swiping back in history


#1

Hello ionic.
I just upgraded from beta.14 to rc.0. Our app is ionic + cordova, and it is ionic tabbed app. I found that on IOS build(IPad/IPhone) users can swipe pages to go back in page history, unless I call ionicHistory.clearHistory prior to going to that page. What is worse than that is when this happens, ionic tab app totally breaks. This behaviour was not in beta.14. Is there a way to disable this swiping behaviour?

Also the reason I upgrade is to use the new ionic spinner. Is there a way to use that library without upgrading to rc.0 ?

Thanks


#2

add following in your app.config
$ionicConfigProvider.views.swipeBackEnabled(false);

do not forget to load $ionicConfigProvider


#3

Thanks @bengtler! Work like a charm