SDK Installation
Installing using Catalog
Integration using a Version Catalog is the recommended way of integration, refer to the Configure Version Catalog document to configure a catalog if not done already. Once you have configured the catalog add the dependency in the app/build.gradle file as shown below
dependencies {
...
implementation(moengage.pushAmp)
}
Alternatively, you can add the dependency directly like shown below.
Installing using Artifact Id
Add the below dependency in the app/build.gradle file.
dependencies {
...
implementation("com.moengage:push-amp:$sdkVersion")
}
replace $sdkVersion with the relevant SDK version.
Version Compatibility
The push-amp artifact/module is dependent on the Core SDK or moe-android-sdk artifact/module.
Based on the version of the Core SDK you are using choose the right version of the PushAmp module.
Core SDK Version | PushAmp Version |
---|---|
12.0.00 and above | 4.0.0 and above |