Installing SDK using Artifact Id
info

Information

We recommend integrating the MoEngage Dependency Catalog for easier dependency management. Refer to the documentation to know more.

SDK Versions

Artifact Name Artifact Id Version
Core  moe-android-sdk
Self-Handled Cards cards-core
Default Cards cards-ui
Encrypted Storage encrypted-storage
Geofence geofence
HMS Pushkit hms-pushkit
InApp inapp

Self-Handled Notification Center

inbox-core
Default Notification Center inbox-ui
Integration Verifier integration-verifier
PushAmp push-amp
PushAmpPlus push-amp-plus
Device Triggered realtime-trigger
Push Templates rich-notification
Security security

SDK Installation

Add the following dependency in the app/build.gradle(.kts) file to integrate the required modules. Make sure to replace $sdkVersion with the appropriate SDK version

Core

build.gradle(.kts)
dependencies {
    ...
    implementation("com.moengage:moe-android-sdk:$sdkVersion")
}

Self-Handled Cards

build.gradle(.kts)
dependencies {
    ...
    implementation("com.moengage:cards-core:$sdkVersion")
}

MoEngage's Default Cards

build.gradle(.kts)
dependencies {
    ...
    implementation("com.moengage:cards-ui:$sdkVersion")
}

Encrypted Storage

build.gradle(.kts)
dependencies {
    ...
    implementation("com.moengage:encrypted-storage:$sdkVersion")
}

Geofence

build.gradle(.kts)
dependencies {
    ...
    implementation("com.moengage:geofence:$sdkVersion")
}

HMS Pushkit

build.gradle(.kts)
dependencies {
    ...
    implementation("com.moengage:hms-pushkit:$sdkVersion")
}

InApp

build.gradle(.kts)
dependencies {
    ...
    implementation("com.moengage:inapp:$sdkVersion")
}

Self-Handled Notification Center

build.gradle(.kts)
dependencies {
    ...
    implementation("com.moengage:inbox-core:$sdkVersion")
}

MoEngage's default Notification Center

build.gradle(.kts)
dependencies {
    ...
    implementation("com.moengage:inbox-ui:$sdkVersion")
}

Integration Verifier

build.gradle(.kts)
dependencies {
    ...
    implementation("com.moengage:integration-verifier:$sdkVersion")
}

Push Amplification

build.gradle(.kts)
dependencies {
    ...
    implementation("com.moengage:push-amp:$sdkVersion")
}

PushAmpPlus

build.gradle(.kts)
dependencies {
    ...
    implementation("com.moengage:push-amp-plus:$sdkVersion")
}

Device Triggered

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

Push Templates

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

Security

build.gradle(.kts)
dependencies {
    ...
    implementation("com.moengage:security:$sdkVersion")
}

 

Previous

Next

Was this article helpful?
1 out of 2 found this helpful

How can we improve this article?