https://github.com/rudderlabs/rudder-integration-moengage-android
RudderStack's Native SDK integration support for MoEngage.
https://github.com/rudderlabs/rudder-integration-moengage-android
moengage rudderstack
Last synced: 5 months ago
JSON representation
RudderStack's Native SDK integration support for MoEngage.
- Host: GitHub
- URL: https://github.com/rudderlabs/rudder-integration-moengage-android
- Owner: rudderlabs
- License: other
- Created: 2020-10-06T09:28:42.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-11-06T20:53:31.000Z (6 months ago)
- Last Synced: 2025-11-06T22:24:44.449Z (6 months ago)
- Topics: moengage, rudderstack
- Language: Java
- Homepage: https://rudderstack.com
- Size: 229 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# What is RudderStack?
[RudderStack](https://rudderstack.com/) is a **customer data pipeline** tool for collecting, routing and processing data from your websites, apps, cloud tools, and data warehouse.
With RudderStack, you can build customer data pipelines that connect your whole customer data stack and then make them smarter by triggering enrichment and activation in customer tools based on analysis in your data warehouse. Its easy-to-use SDKs and event source integrations, Cloud Extract integrations, transformations, and expansive library of destination and warehouse integrations makes building customer data pipelines for both event streaming and cloud-to-warehouse ELT simple.
| Try **RudderStack Cloud Free** - a no time limit, no credit card required, completely free tier of [RudderStack Cloud](https://resources.rudderstack.com/rudderstack-cloud). Click [here](https://app.rudderlabs.com/signup?type=freetrial) to start building a smarter customer data pipeline today, with RudderStack Cloud Free. |
|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
Questions? Please join our [Slack channel](https://resources.rudderstack.com/join-rudderstack-slack) or read about us on [Product Hunt](https://www.producthunt.com/posts/rudderstack).
## Integrating MoEngage with RudderStack Android SDK
1. Add [MoEngage](https://www.moengage.com) as a destination in the [Dashboard](https://app.rudderstack.com/) and define `apiKey`.
2. Open your project level ```build.gradle``` file, and add the following lines of code:
```groovy
// For Push Notification
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.google.gms:google-services:4.3.14'
}
}
```
3. Also, add the below plugin in your app level ```build.gradle``` file:
```groovy
// For Push Notification
apply plugin: 'com.google.gms.google-services'
```
3.Add the following under ```dependencies``` section:
```groovy
// RudderStack Android and MoEngage SDKs
implementation 'com.rudderstack.android.sdk:core:[1.0,2.0)'
implementation 'com.rudderstack.android.integration:moengage:2.0.0'
// For MoEngage core SDK initialisation
implementation("com.moengage:moe-android-sdk:12.5.04")
```
4. Initialize the RudderStack SDK in the Application class's onCreate() method, as shown:
```kotlin
val rudderClient: RudderClient = RudderClient.getInstance(
this,
"",
RudderConfig.Builder()
.withDataPlaneUrl("")
.withFactory(MoengageIntegrationFactory.FACTORY)
.build()
)
```
5. Initialize the MoEngage SDK in the Application class's onCreate() method:
```kotlin
// initializing MoEngage SDK and "XXXXXXXXXXX" is the APP ID from the dashboard.
val moEngage = MoEngage.Builder(this, "XXXXXXXXXXX")
.configureLogs(LogConfig(LogLevel.VERBOSE, false))
.build()
MoEngage.initialiseDefaultInstance(moEngage)
```
## Send Events
Follow the steps from the [RudderStack Android SDK](https://github.com/rudderlabs/rudder-sdk-android).
## Contact Us
If you come across any issues while configuring or using this integration, feel free to start a conversation on our [Slack](https://resources.rudderstack.com/join-rudderstack-slack) channel. We will be happy to help you.