Reputation: 61
I'm building an iOS and Android application and want a user to get notified when he'll be in the proximity of a Beacon. I am looking to understand the following cases whether the user will be able to receive the notification:
any help here will be appreciated.
Upvotes: 1
Views: 470
Reputation: 4376
1. Yes
2. Yes
If an application is killed, you have to make sure that on Android you run a background service that listens for beacon proximity and make sure it does not get killed by the system. On iOS side you should setup background beacon scanning with Bluetooth LE accessories usage turned on in "Compatibilities" which will not get killed by system if setup correctly.
If your Bluetooth device is NOT a Beacon and just streams some advertisement data over the air, then on Android side you should be able to setup background Bluetooth scanner, while on iOS it will not be possible to do such a thing if a Bluetooth device is not connectable (even with connectable device it will be hard).
Those services could launch local notification when beacon enters required range.
3. Any
Upvotes: 2