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 CDP. 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 CDP, and vice versa. We’re also launching support for Template events, 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
- For the MobilePush Module, refer to:
- For more information about the Salesforce CDP Module, go to Engagement Mobile SDK.
Considerations for Customers Implementing MobilePush and CDP Modules
If implementing both the MobilePush and CDP 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 CDP 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 CDP module, add the specific module information to the setProfileID and setProfileAttribute methods.
Android code sample
IOS code sample