SDK Integration

To get up and running with MoEngage on Android, there a couple of steps to get you there.

Download

Adding Dependency

Add the following code in your build.gradle file under app module

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation 'com.android.support:appcompat-v7:28.0.0'
    implementation "com.moengage:moe-android-sdk:$sdkVersion"
}

where $sdkVersion should be replaced by the latest version of the MoEngage SDK.

Refer to the SDK Configuration documentation to know more about the build config and other libraries used by the SDK.

❗️

If your app is using AndroidX libraries please make sure you have added the legacy-support-v4 dependency to your application.


What’s Next

After successful installation, let us initialise the SDK