Ranging beacons in background mode

I'm coding a new app for a mall using Estimote Beacons.
My question is: How can I ranging beacons when the app is in background state?
I'm testing the app on the new iOS 7.1.1. I've also tested the motoring for region feature and it works great when the app is in background mode.

Thank you in advance.

Hi Michele,

Ranging (calculating proximity) is not possible in background mode. In background, you can only perform region monitoring to see if there are any Beacons around. Ranging them will work only when the app is active.


I've found this post on the Portal


But I don't understand how to use beginBackgroundTaskWithExpirationHandler with Estimote SDK. I read some articles about background process keeps run for 10 minutes before the app goes in inactive state.

For more info on this, you might want to check official Apple developers' pages: https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIApplication_Class/Reference/Reference.html#//apple_ref/occ/instm/UIApplication/beginBackgroundTaskWithExpirationHandler: