iOS SDK 15.6.7,
Android SDK 15.5.3,
Hello Screen Dynamic States,
Bluedot Cordova plugin 4.0.1,
Bluedot Xamarin Android wrapper 15.5.2,
Bluedot Xamarin iOS wrapper 15.6.6,
Bluedot React Native wrapper 2.3.0,
The Point SDK can be optionally configured to receive push notifications to enable the real-time data sync. The present implementation supports integration through Google Firebase cloud messaging.
To add Zone data sync support to your application you will need to add Firebase to your app, you will need to create a Firebase project. This can be achieved by the following steps:
Server key
under the Project credentials section, which is required to be added to your Bluedot Project on Canvas.
Enter the Firebase Web API Key from the Firebase project setting to the Firebase API Key field. Using this key we will be able to communicate with Firebase to deliver the zones that need to be synced.
The new zone updates are synced every 5 mins to the mobile devices.
The newly added, updated or deleted zones from Canvas will be automatically synced to all your mobile devices using the Firebase API Key that was added to the Project details.
By default, all Zones created, updated or deleted via the Config API are not automatically synced to the mobile devices.
If you wish for newly created or updated Zones to be synced immediately to the mobile devices then add the shouldSync
field in the POST and PUT JSON requests.
The API specification for Zones can be found here.
Sample POST JSON request:
{ "name": "Sample fence", "minimumRetriggerTime": 3600, "geofeatures": [{ "name": "Sample fence", "radius": 40, "center": { "latitude": -37.818036, "longitude": 144.9775493 }, "color": "#429BD5", "type": "circle", }], "projectId": "6e4aeb98-05b3-4b3f-b9ac-3b9a169e395c", "triggerOnExit": false, "shouldSync": true }
If you wish for deleted Zones to be synced immediately to the mobile devices then add shouldSync
as a parameter in the DELETE request.
{Base Config API URL}/zones/{zoneId}?shouldSync=true
For bulk Zone updates via API scripts we suggest setting the shouldSync
value to false
in the Zone requests, this is to avoid multiple real-time data sync push messages sent to mobile devices.