Android — MoEngage Integration
Integrate MoEngage self-handled in-app campaigns into your Digia-powered Android app using the digia-moengage Android library.
How It Works
MoEngage Campaign Trigger
│
▼
[MoEngage Android SDK]
│ SelfHandledAvailableListener
▼
[digia-moengage]
│ maps payload → InAppPayload
▼
[digia_engage runtime]
│ SHOW_BOTTOM_SHEET / SHOW_DIALOG → DigiaHost renders overlay
│ SHOW_INLINE → DigiaSlot renders inline
▼
Campaign UI (native Compose widgets from Digia Studio)Prerequisites
Installation
1. Add JitPack repository
2. Add dependencies
Integration
1. Initialize MoEngage, Digia, and Register the Plugin
2. Set Up DigiaHost
DigiaHost3. Add DigiaSlot for Inline Campaigns
DigiaSlot for Inline Campaigns4. Screen Tracking
Creating Campaigns in MoEngage
Nudges (Bottom Sheet or Dialog)
Inline Content (Cards & Banners)
Field
Required
Description
MoEngagePlugin Lifecycle
MoEngagePlugin LifecycleMethod
Called By
Description
Troubleshooting
Campaign not rendering
Build errors
Dependency Reference
Artifact
Version
Role
Next Steps
Last updated