Skip to main content

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. The realtime-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

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 your app/build.gradle:
Version numbers are not required for this dependency; the BOM manages them.

How It Works

After the dependency is added, the SDK automatically evaluates and renders device-triggered campaigns as the linked events are tracked — no additional code is needed. Configure individual campaigns from the MoEngage dashboard.