> ## Documentation Index
> Fetch the complete documentation index at: https://moengage.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Device Triggered

> Install the MoEngage realtime-trigger module to enable device-triggered push notifications on Android.

# 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](https://www.moengage.com/docs/user-guide/campaigns-and-channels/push/create/device-triggered-push).

# Prerequisites

* Complete the [push token registration and display](/docs/developer-guide/android-sdk/push/basic/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](/docs/developer-guide/android-sdk/data-tracking/basic/track-events).

# SDK Installation

## Installing using BOM

Integration using BOM is the recommended approach; see [Install Using BOM](/docs/developer-guide/android-sdk/sdk-integration/basic-integration/Install-Using-BOM). After the BOM is configured, add the dependency in your `app/build.gradle`:

<CodeGroup>
  ```groovy build.gradle wrap theme={null}
  dependencies {
      ...
      implementation("com.moengage:realtime-trigger")
  }
  ```
</CodeGroup>

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.
