ios9 Infinite Digest issue on location change


#1

Hey guys,

After doing testing with ios 9 beta 4, we’re noticing that Angular is throwing a infinite digest error on location change. So far using mock calls to mock out digest calls seem to improve the situation a little, but eventually it occurs again. I have seen a number of posts on the issue, but haven’t seen a valid solution. Does anyone have any suggestions or have face this same issue?

Here is the stack trace that we get:

20434Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
Watchers fired in the last 5 iterations: []
http://errors.angularjs.org/1.3.13/$rootScope/infdig?p0=10&p1=[]
file:///var/mobile/Containers/Bundle/Application/83CAE352-71A8-4DCF-9BB1-D32114115AC7/Reading%20Asst…app/www/lib/ionic/release/js/ionic.bundle.js:8890:32
$digest@file:///var/mobile/Containers/Bundle/Application/83CAE352-71A8-4DCF-9BB1-D32114115AC7/Reading%20Asst…app/www/lib/ionic/release/js/ionic.bundle.js:23108:35
$apply@file:///var/mobile/Containers/Bundle/Application/83CAE352-71A8-4DCF-9BB1-D32114115AC7/Reading%20Asst…app/www/lib/ionic/release/js/ionic.bundle.js:23333:31
file:///var/mobile/Containers/Bundle/Application/83CAE352-71A8-4DCF-9BB1-D32114115AC7/Reading%20Asst…app/www/lib/ionic/release/js/ionic.bundle.js:53673:19
eventHandler@file:///var/mobile/Containers/Bundle/Application/83CAE352-71A8-4DCF-9BB1-D32114115AC7/Reading%20Asst…app/www/lib/ionic/release/js/ionic.bundle.js:11841:25
dispatchEvent@[native code]
triggerMouseEvent@file:///var/mobile/Containers/Bundle/Application/83CAE352-71A8-4DCF-9BB1-D32114115AC7/Reading%20Asst…app/www/lib/ionic/release/js/ionic.bundle.js:2865:20
tapClick@file:///var/mobile/Containers/Bundle/Application/83CAE352-71A8-4DCF-9BB1-D32114115AC7/Reading%20Asst…app/www/lib/ionic/release/js/ionic.bundle.js:2854:20
tapTouchEnd@file:///var/mobile/Containers/Bundle/Application/83CAE352-71A8-4DCF-9BB1-D32114115AC7/Reading%20Asst…app/www/lib/ionic/release/js/ionic.bundle.js:2977:13

Thanks everyone!


#2

Also reported here and here on the AngularJS Github:

Does anyone have any advice about this? I still have exactly this with iOS 9 beta 5 13A4325c, and currently have two critical app updates on hold. Hoping for an Apple fix, or failing that an Angular fix ASAP.