About region detection in the iBeacon app

We plan to use signals emitted from iBeacon to perform region detection in an app currently under development.

We would like to know if region detection (didEnterRegion) can be performed when the app is in certain states.

Region detection must be performed reliably.

Is it possible to perform region detection in all of the following situations?

• When the app is in the foreground

• When the app is in the background

• When the app is force-closed

• When the smartphone is in sleep mode

• When the smartphone is restarted

Translated with DeepL.com (free version)

Once set up, beacon regions are monitored by the system, and the app is notified, and if necessary launched when a region is detected.

Once notified/launched/activated, the apps will have a few seconds to process the didEnter/ExitRegion() callback functions, and then go back to passive state.

This will work under all the listed conditions as long as the beacon regions are correctly configured, and the beacons are correctly advertising per the iBeacon specifications.


Argun Tekant /  DTS Engineer / Core Technologies

Thank you very much. I am creating an app that uses region detection, but when the app is in the background, the DidEnterRegion callback is sometimes delayed by about 20 seconds. What could be the cause of this? Also, regarding “when the app is force closed,” is it possible to detect the region after the user has manually killed the app?

About region detection in the iBeacon app
 
 
Q