# Live Activities on Android

> How a Live Activity campaign reaches Android phones as a Live Update through FCM, what the Android SDK shows on each version, and Google's rules for promoted notifications.

A Live Activity campaign also reaches Android phones. There it is a Live Update: an ongoing notification with the same title, body and progress bar or countdown, which Android 16 can promote to a chip in the status bar and a place at the top of the lock screen. The campaign is the same one you send to iPhones; nothing changes in the console.

## What you need

- `herald-fcm` 0.7.0 or later, set up as in [Android setup](/docs/push-notifications/android-setup). There is no separate module or widget.
- FCM on the app's connection. A connection with FCM and no APNs can send Live Activity campaigns to Android only.

`herald-fcm` adds the `POST_PROMOTED_NOTIFICATIONS` permission to your merged manifest. It is a normal permission: there is no prompt, but the person can turn promotion off for your app in system settings.

## How it is delivered

Android has no broadcast push, so Herald sends one FCM data message to each Android push token in the audience:

| Moment | What Herald sends |
|---|---|
| The campaign starts | A start, at the person's send time. Quiet hours and the 72-hour Live Activity cap apply, and a push unsubscribe or suppressed token stops it, as with push. |
| **Update Live Activity** | An update to every Android device it started on, queued at once and delivered within about a minute. Quiet hours do not apply mid-activity. |
| **End now**, a cancel, or the end time | An end to every Android device it started on. |

A start still waiting for the person's send time picks up the latest update. Live Updates don't count toward the push limit.

## What the notification looks like

| Android version | What the person sees |
|---|---|
| 16 (API 36) and later | An ongoing notification that asks to be promoted. A progress bar uses `Notification.ProgressStyle` and shows the percentage in the status bar chip; a countdown counts down to the end time. |
| 8.0 to 15 | The same ongoing notification with a standard progress bar or countdown, never promoted. |

On every version the notification uses the `herald_default` channel, does not alert again on an update, and disappears at the end time even if the end message never arrives. A tap opens the campaign's deep link in your app, or the app when there is none. If the person dismisses it, later updates do not bring it back.

`Herald.canPostLiveUpdates()` tells you whether Android will promote it: `false` below Android 16, before `configure`, or when the person turned promotion off. See [Android API](/docs/reference/android-api#canpostliveupdates).

## Google's rules for promotion

Android promotes a notification only when it is ongoing, has a title, has no custom views, is not colorized and is not on a channel with `IMPORTANCE_MIN`. `herald-fcm` meets all of these as long as you leave `herald_default` at its default importance.

Google limits Live Updates to activities the person started or is waiting on, such as a ride, a delivery, a game in progress or a timer. Promotions, ads and other marketing don't qualify: Android may show them as ordinary notifications instead, and Google may stop promoting your app's notifications. Use Live Activity campaigns for something the person is following, and push for everything else.

## Limits

- The same content limits as on iPhone: title up to 40 characters, body up to 80, at most 8 hours. See [What a campaign can do](/docs/live-activities/setup#what-a-campaign-can-do).
- The start alert is the notification itself; Android does not show the separate start alert text.
- An Android device on an older `herald-fcm` ignores Live Updates.
- Test sends from the campaign go to iPhones only.
