Push Templates

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

build.gradle

    dependencies {
    	...
    	implementation(moengage.richNotification)
    }
    

Alternatively, you can add the dependency directly like shown below.

Installing using Artifact Id

Add the following dependency in the app/build.gradle file.

build.gradle

    dependencies {
      ...
      implementation("com.moengage:rich-notification:$sdkVersion")
    }
    

replace $sdkVersion with the appropriate SDK version

 

VERSION COMPATIBILITY

The rich-notification artifact should be compatible with the moe-android-sdk artifact you have already added. Ensure you check the version compatibility using the following table and pick the right version for your application.

Version Compatibility

The rich-notification artifact/module is dependent on the Core SDK or moe-android-sdk artifact/module.
Choose the right version of the Push Templates module based on the Core SDK version used.

Core SDK Version Rich Notification Version
12.0.00 and later 3.0.0 and later
Was this article helpful?
0 out of 0 found this helpful