App crashes: active assertions beyond permitted time


We’re getting reports of our ionic ios app crashing randomly in production.

The ios logs inside the phone show lots of entries ‘app has active assertions beyond the permitted time’, which looks like there’s something running over 3 minutes on the main app thread in the phone.

Here’s the apple doc about this.

Has anyone been through this before? How did you debug?

My thoughts are we have a data service polling for fresh data every 3 minutes using $interval, but even after taking that out we are having crashing issues.