Integrate the Mobile App Messaging SDK with your Android App

To use mobile app messaging features in your app, integrate the Mobile App Messaging SDK and its dependencies into your app.

Update the settings.gradle file for your app to include the required dependencies for the SDK.

Replace {currentVersion} in this example with the latest SDK version number from the change log.

Initialize the SDK during the execution of the onCreate method for your Application class. This code example shows how to initialize the SDK.

If you don’t call the SDK’s configure method and initialize the mamModuleConfig from your app’s onCreate method, the SDK can’t send notifications to the app while it’s in the background.