Home > Net >  Region(Circular and Beacon) detection in background sometimes fails in iOS 15
Region(Circular and Beacon) detection in background sometimes fails in iOS 15

Time:10-05

We are developing an app that should respond to an iBeacon and circular regions in the background.

Sometimes it works perfectly, but sometimes the beacon and circular region enter/exit stop suddenly.

In the app, we are using(in background mode)

  • Significant location updates
  • Beacon region monitoring
  • Circular region monitoring
  • Continuous location updates for some actions

Any idea? It seems to me that in the background regions detection sometimes stopped working suddenly

Could it be the problem?

CodePudding user response:

There have been two recent reports of region monitoring failing on iOS 15:

IOS 15 Ibeacon monitoring

iOS 15 does not awake app while entering BLE beacon region

The above are for CLBeaconRegion monitoring, but whatever problem exists may apply to CLCircularRegions as well.

I tried doing a controlled test in my answer to the second question above to reproduce this across an iOS 15 upgrade. I could not reproduce the problem. So this does not appear to be a universal issue.

You might try rebooting or reinstalling your app to see if these changes make a difference. Any updates based on the results of these tests would be welcome.

CodePudding user response:

We have an app which uses circular region monitoring and significant location monitoring and are experiencing the same issue: the app is not woken up in the background. This failure is seemingly random, so we are not able to reproduce the failure consistently, but it does keep happening.

  • Related