Device Triggered

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.deviceTrigger)
    }
    

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

Installing using Artifact Id

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

build.gradle

     dependencies {
    	...
    	implementation("com.moengage:realtime-trigger:$sdkVersion")
    }
    

replace $sdkVersion with the relevant SDK version.

Version Compatibility

The realtime-trigger 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 Device Trigger module.

Core SDK Version Device Trigger Version
12.0.00 and above 2.0.0 and above
Was this article helpful?
0 out of 0 found this helpful