Real-time Data Sync

Certain use cases demand that the Geofences, Geolines™, Beacons as well as the Actions and Conditions associated with them on the backend, are synced to the mobile devices immediately. 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.

Create your Firebase project

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:

1. If you don’t have a Google Firebase account, then create a free account by clicking on the Get started for free button on the home page of Firebase website.


2. You can register for a Firebase account using a Gmail account.

3. Create a new Firebase project in the Firebase console, if you have an existing Google project associated with your mobile app, you can import it by selecting Import Google Project. To create a new project click on Create New Project.


4. A new dialog will appear, enter your project’s name and select your country/region and click on the Create Project button.


5. You will be taken to your Firebase project page.


6. Navigate to the Project settings page by selecting the settings icon next to the project name and then select the Project settings link in the navigation menu.


7. Navigate to the CLOUD MESSAGING tab.

8. Here you will find the Server key under the Project credentials section, which is required to be added to your Bluedot Project on Canvas.


Setup Firebase API key for your Bluedot project

Create a new Project and add the Firebase Web API Key for it

  1. Login into Canvas
  2. Choose Project from the menu in the top right corner
  3. Tap the Edit Details button
  4. Add the Firebase API Key
  5. Update

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.

Sync Zones updates to mobile applications

The newly added, updated or deleted zones will be automatically synced to all your mobile devices one the Firebase API Key is added to the Project details.


The new zone updates are synced every 5 mins to the mobile devices.

Integrate real-time data sync in your applications

Created by Bluedot DevOps on January 23, 2018

Start the discussion