IOS issue 9 and my application


#1

Hello community, actually had a little aside my application and I found out some problems with ionic and the new version was presented secure connections but I could fix it quickly. Now wonder what happens, navigation within my application becomes bad, for example, the Back button, when pressed, effectively creates movement to the previous view, but remains where it was. Not if someone else he has passed or passes. :S

Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
Watchers fired in the last 5 iterations: []

I see this error in some of my views, but I think it is this, because even views that do not use refresh my fault navigation app.


#2

Please read http://blog.ionic.io/ios-9-potential-breaking-change/ and apply the patch. This will fix the digest issue.


#3

Hi, thanks for your response, install the patch but still fails, you may install it wrong. What I did was run :

bower install angular-ios9-uiwebview-patch

And after :

<script src="lib/angular-ios9-uiwebview-patch/angular-ios9-uiwebview-patch.js"></script>

That should work? Or should we make another step to stop? @tomkuipers


#4

You should also add it as a dependency in your app:

angular.module(‘myApp’, [‘ngIOS9UIWebViewPatch’])

This is documented in comments in the file:


#5

Oh friend! beam saved me !!! thank you very much, I did not read well what was to fix a hurry! Thanks, teacher!


#6

Glad you got it working