SDK Installation
Install using BOM
Integration using BOM is the recommended way of integration; refer to the Install Using BOM document. Once you have configured the BOM add the dependency in the app/build.gradle file as shown below
dependencies {
...
implementation("com.moengage:rich-notification")
}Once the BOM is configured, include the specific MoEngage modules required for the application.
Note: Version numbers are not required for these dependencies; the BOM automatically manages them.
Manual Installation
Add the below dependency in the app/build.gradle file.
implementation("com.moengage:rich-notification:$sdkVersion")
Replace $sdkVersion with the relevant SDK version.
| info |
Note 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 | Push Templates |
|---|---|
| 11.4.02 - 11.6.01 | 2.4.0 |
| 11.4.00 - 11.4.01 | 2.3.00 |
| 11.2.00 - 11.3.01 | 2.2.00 - 2.2.01 |
| 11.1.00 | 2.1.00 |
| 11.0.01 - 11.0.05 | 2.0.01 - 2.0.03 |
| 10.4.00 - 10.6.00 | 1.1.00 - 1.2.01 |
| 10.3.00 - 10.3.02 | 1.0.00 |