Overview
Device-triggered campaigns fire push notifications locally on the device in response to user events tracked through the MoEngage SDK — for example, abandoning a cart, viewing a product, or completing a tutorial. Therealtime-trigger module evaluates campaign conditions on-device against the events you track and renders the notification without a round trip to the server, reducing latency.
To create and configure the campaigns that drive these triggers, see the dashboard guide on Device-triggered campaigns.
Prerequisites
- Complete the push token registration and display integration. The realtime-trigger module renders notifications through the same push pipeline.
- Track the events that your device-triggered campaigns depend on. See Track Events.
SDK Installation
Installing using BOM
Integration using BOM is the recommended approach; see Install Using BOM. After the BOM is configured, add the dependency in yourapp/build.gradle: