According to the docs at https://developer.apple.com/reference/corelocation/cllocationmanager:
"Beacon ranging delivers events normally while an app is running in the foreground. When your app is in the background, this service delivers events only when the location-updates background mode is enabled for the app and the standard location service is running."
This worked in iOS9, but in iOS10 I am no longer receiving beacon ranging events when the app enters the background.
I do have:
- location-updates background mode enabled,
- the standard location service running,
- items in the info.plist for "Privacy - Location Always Usage Description" and "Privacy - Bluetooth Peripheral Usage Description".
Note that when the app enters the background I continue to receive location updates in the background- it is just the beacon ranging updates that stop.
Is anyone else seeing this issue, or are there any workarounds?
I have logged an bug report and hopefully this will come back with something.