Add Beacons and Beacon Debug Logging
Note the following build.gradle dependency:
Add the following permissions to AndroidManifest.xml:
Set the Boolean parameter for
When SDK initialization has completed you must call
enableProximityMessaging()in order for the user to receive Beacon notifications:
NOTE: You may disable Beacon notifications by calling
MobilePush prevents the app from displaying a beacon message with an empty alert. If you include AMPscript in your message that returns no content or an empty string, the mobile app will not display that message.
To understand how beacons behave in different situations, see the MobilePush beacons help documentation.
Debug Logging for Beacons
Proximity logging is off by default. To turn it on, use AltBeacon’s LogManager class. Our AltBeacon Logger implementation pipes their logs through our internal logging interface.