Get Started with Engagement Mobile SDK

Engagement Mobile SDK is a framework designed to allow future enhancements to performance, developer experience, functionality, and troubleshooting. Formerly known as Mobile SDK, it now unites two modules, MobilePush and Salesforce Data Cloud. This evolutionary step is more modular and extensible, allowing you to choose the specific functionality that you need.

By using a single set of SDK methods and sharing Analytics and Identity, your implementation is streamlined across Salesforce. Events tracked within MobilePush can be used in Salesforce Data Cloud, and vice versa. The SDK also supports Template events, which are predefined schemas that you can implement to track your customers’ actions in your app. Use them to trigger in-app messages, and enter a customer into a Journey based on their activity within your mobile app.

  • Android requires a minimum API version of 21
  • iOS requires a minimum deployment target of 10.0

If implementing both the MobilePush and Data Cloud modules, there are a few considerations while implementing the SDK during the initialization, and device and contact registration.

Initialization

From MobilePush v8.0.0 onwards, if you're also implementing the Data Cloud module, add the cdpModuleConfig along with the pushModuleConfig in the configure method.

Android code example

iOS code example

Device and Contact Registration

From MobilePush v8.0.0 onwards, if you're also implementing the Data Cloud module, add the specific module information to the setProfileID and setProfileAttribute methods.

Android code sample

iOS code sample