Background beacon detection and Notification (Both iOS and Android) for Eddystone beacon?

我与影子孤独终老i 提交于 2019-12-23 02:03:30

问题


Can we detect beacons in app background(Both iOS and Android). I see Eddystone beacon have some problem with background of iOS. How can solve that ?


回答1:


iOS does allow background detection of service advertisements like Eddystone, but Eddystone detection times can be slower than iBeacon. The reason iBeacon detections are faster is because Apple has optimized it with hardware filters. Hardware filter slots in the bluetooth chip are activated when you monitor an iBeacon region on iOS. This causes iBeacon detections to happen within about 2 seconds when an app is in the background, provided hardware slots have not been used up.

You can get the similar rapid detection of Eddystone beacons by using beacons that interleave both an iBeacon transmission and an Eddystone transmission and making your app look for both. The iBeacon detection will wake up your app very rapidly in the background, and once active it will be able to receive Eddystone advertisements immediately thereafter.

You can read more about how bluetooth hardware detection slots affect iBeacon detection times here.

Full Disclosure: I am Chief Engineer at Radius Networks which makes beacons that interleave both iBeacon and Eddystone transmissions.



来源:https://stackoverflow.com/questions/33162149/background-beacon-detection-and-notification-both-ios-and-android-for-eddyston

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!