Mobile SDK Integration

Introduction

To take the full advantage of the Marketing Cloud, it is mandatory to integrate needed libraries/frameworks generally called as SDKs to your mobile app. At this moment, only iOS and Android mobile applications are supported by the SDK. This page contains steps on how to update your mobile app’s source and integrate the app with Bluedot Point SDK.

Integration Prerequisite

To start with integration we need to firstly gather the two necessities for integration of SDK. The most important one is to add the SDK framework to the app source code by adding in the artifacts via the online repository.  The second important element is the API Key credentials needed to authorize or authenticate the SDK. The API Key is unique for each account and can be obtained from the Developers tab. The Bluedot Point SDK requires the API Key to authenticate the SDK.

For most use cases, it’s also important to integrate the Journey Builder SDK. Detailed documentation is available here for Android and iOS.

To allow push capabilities to be available from Salesforce Marketing Cloud, add FCM ID obtained from your Firebase account to Salesforce Mobile Push Administration Page for the App.

Please refer below screenshot for reference:

Integrating SDK to Android App

The SDK comes with the minimum requirements, which are needed to be satisfied for the SDK to start working, this means updating the AndroidManifest.xml file, that is the main configuration file of every Android project. The development tool or IDE (Integrated Development Environment) for the project is recommended to be Android Studio which can be downloaded from here. Once this is done, theSalesforce Marketing Cloud Contact Key will need to be passed into the SDK to allow Bluedot triggers to be associated with the correct user profile – a detailed step by step guideline is available here.

 

Integrating SDK to iOS App

Bluedot Point SDK integration wrapper for Salesforce Marketing Cloud enables mobile apps to take advantage of the power of the Marketing Cloud and the superior accuracy, Geofence, Geolines™ and BLE Beacon triggering capabilities of the Bluedot SDKs. By integrating the simple Bluedot API, an application will benefit from accurate location awareness, while substantially reducing battery consumption compared to traditional location services methods. Applications powered by the Point SDK will be running both in the foreground and background. Once the SDK is integrated, the Salesforce Marketing Cloud Contact Key will need to be passed into the SDK to allow Bluedot triggers to be associated with the correct user profile – a detailed step by step guideline is available here.

Created by Bluedot DevOps on February 24, 2018

Start the discussion