Region Monitoring with iBeacon on iOS

While creating my prototype application with use of iBeacon technology somehow I didn’t get the region monitoring to work.

The Beacon technology in iOS is based on two functions,¬†startMonitoringForRegion and¬†startRangingBeaconsInRegion if you only want to detect beacons when they are near and don’t have any detection when your app isn’t running then it’s fine to only use the Ranging function. When you want to make use of the background monitoring it is very important to also use the MonitorforRegion part.

ibeacon logo

When you have this in place the beacon region will be registered in your device and when background functionality is turned on in your iOS device the app delegate function will be used to fire your app in the background resulting in extra tasks to be fired. This way it’s possible to Range the beacons and if your close enough get the right localNotification.

I wonder how this iBeacon thing will explode in the coming months. Or if people will freak out on the localization options.

When you monitor for a region it becomes possible to do a call-back to a central server to identify someone is close to a certain iBeacon. Which in case results in location information. Information you would normally not give is now suddenly available to the app developer.

Will this be blocked?

 

Share on LinkedInTweet about this on TwitterShare on Facebook