Beacon

Info
Send beacon proximity updates and use these to trigger automation and attract attention to a specific location.

Use Ocamba helper method to notify our services of proximity to a detected beacon.

Ocamba also needs location permission (for android 10) and Bluetooth permission for this feature to work, so the user developer needs to ask for it.


   OcambaBeaconUtils.trackBeacon(id, trackTime);
   //id - namespaceId, trackTime - in miliseconds

NOTE: Beacon monitoring on Android typically requires a device with API level 18+

NOTE: For phones that have an android version lower than Android 8, the beacon scan time can be customised. For higher Android versions, beacon scan time is scheduled to longer than 15 mins because of background limitations.

NOTE: required permissions:
android.permission.ACCESS_FINE_LOCATION
android.permission.ACCESS_BACKGROUND_LOCATION
android.permission.ACCESS_COARSE_LOCATION
android.permission.BLUETOOTH_ADMIN
android.permission.BLUETOOTH

On This Page