This repository contains the MoEngage integration for the mParticle Android SDK.
| Folder | Description |
|---|---|
| example | Sample Application which integrates the MoEngage SDK and mParticle SDK |
| moengage-kit | MoEngage mParticle Android Kit |
Integrate mParticle Android SDK
Integrate MoEngage Android SDK
- Add the Required dependency in app level
build.gradle
implementation("com.mparticle:android-kit-base:5.51.3")
implementation("com.moengage:mparticle-android-integration-moengage:$kitVersion")with $kitVersion replaced by the latest version of the mParticle MoEngage Kit.
- Initialize MoEngage SDK
val moEngageBuilder =MoEngage.Builder(this, "YOUR APP ID", [YOUR_DATA_CENTER])
MoEngage.configureForDefaultInstance(moEngageBuilder, IntegrationPartner.M_PARTICLE)- Initialize the mParticle with MoEngage Kit
val options =MParticleOptions.builder(this)
.credentials("YOU MPARTICLE API KEY", "YOUR MPARTICLE API SECRET")
.configuration(KitOptions().addKit(MOENGAGE_KIT_ID, MoEngageKit::class.java))
.build()
MParticle.start(options)Refer MoEngage Developer Document to configure all MoEngage available features like Push Messaging, InApp, Cards.
