React Native Events List

Subscribe to events

BluedotPointSdk.on("event_name", (event) => console.log("Event callback", event)

Unsubscribe events

BluedotPointSdk.unsubscribe("event_name", (event) => console.log("Event callback", event)

GeoTriggering Events

Name
Description
Event payload
enterZone
Device enters a Zone
Object with the following properties:
  • fenceInfo : Fence information
  • zoneInfo : Zone information
  • locationInfo : Location information
  • isExitEnabled : Wether exit is enabled or disabled. <Bool>
  • customData: Zone custom data
exitZone
Device exits a Zone
Object with the following properties:
  • fenceInfo: Fence information
  • zoneInfo: Zone information
  • date: Date of the exit event
  • duration: Time between the entry and exit event.
zoneInfoUpdate
The SDK downloads the Zones
Array<Zones>. List of Zones downloaded. 

Tempo Events

Name
Description
Event payload
tempoTrackingDidExpire
Tempo session has expired (Default 30 minutes).
Object with following properties:
  • error: Error description
tempoTrackingStoppedWithError
Tempo has stopped due to an error. 
The error will be pass as a parameter in the callback.
Object with following properties:
  • error: Error description

 

Helpers Events

Name
Description
Event payload
lowPowerModeDidChange
low power mode status changes in the device
Object with the following properties:
  • isLowPowerMode: whether low power mode is enabled or disabled. <Bool>
locationAuthorizationDidChange
location authorization status changes
Object with the following properties:
  • previousAuthorizationStatus
  • newAuthorizationStatus
accuracyAuthorizationDidChange* 
accuracy authorization status changes
* Only for iOS
Object with the following properties:
  • previousAccuracyAuthorization
  • newAccuracyAuthorization

 

Created by Daniel Toro on February 17, 2021