hi,
For IOS, since the beacon doesn’t completely stop broadcasting, is it possible to trigger some delegate methods (such as didrangbeacon or - centralManager:didConnectPeripheral:) when beacon restarts broadcasting, even when the app is suspended or killed?
For a simple example, the beacon is in the pocket of the user (dark-to-sleep and always in range), when he takes out the beacon (light sensed, starts to broadcast), iphone will send a UILocalNotification, even when the app is not in background nor foreground.
I’m not sure which delegate method of your SDK to use, where I can catch that moment and run the code of UILocalNotification, when the app is killed or suspended. (the didrangebeacon method of ios corebluetooth can meet this requirement, I wonder how is was overridden)
And I can make it work only when app is alive with this code:
func proximityContentManager(proximityContentManager: ProximityContentManager, didUpdateContent content: AnyObject?) { UIApplication.sharedApplication().scheduleLocalNotification(localNotif) }
I know this is tricky, thank for your time!