Beacons are Bluetooth low energy (BLE) devices that broadcast their identifier to nearby portable electronic devices using iBeacon protocol.
To be able to listen beacons and trigger specific actions, like displaying an InApp message or scheduling Local Notifications, by detecting a programmed beacon you need to use Beacons plugin.
Retrieving Beacon information with a BroadcastReceiver
Each time our SDK detects a beacon defined on the Accengage dashboard, your app may receive their specific information.
Create a BroadcastReceiver
To receive them, you should first create a BroadcastReceiver:
Modify your AndroidManifest.xml
Now, we have to add our “BeaconReceiver” class to the AndroidManifest.xml in order to allow the SDK to trigger it when needed:
A sample is available on Github: https://github.com/Accengage/accengage-android-sdk-samples/tree/master/AccBeacons