# Android

Install Pushbag from Google Play and register your phone to receive notifications from your channels.

## Install and connect

Install [Pushbag from Google Play](https://play.google.com/store/apps/details?id=dev.pushbag.app), open the app and allow notifications.

Sign in with Google to browse your artifacts and register the device. To receive messages without a Google session, open **Settings → Devices** in the [dashboard](https://app.pushbag.dev/settings/devices), choose **Pair a device**, then tap **Have a pairing code?** on the phone. Enter the code, or open the dashboard's `pushbag://pair?code=…` link on the phone.

## Test delivery

```sh
pushbag notify "Phone check"
```

The message goes to Personal. Check the Android Inbox and the channel's mute and priority settings. A paired-only device can receive messages; sign in to browse private artifacts.

## Open a notification

Tap a message without a destination to open its inbox entry. A message with `click` opens that URL in its registered handler and includes a separate Inbox action. A browser opening a private artifact needs the owner's session.

```sh
pushbag notify "Resume review" --click opencode://session/ses_example
```

Replace the example with a session your installed app handles. An unhandled app link falls back to the inbox.

## Choose how the phone connects

| Connection | What it enables |
| --- | --- |
| Google sign-in | Browse account artifacts and register the phone for push. |
| Dashboard pairing | Receive messages and read granted channel history with a device credential. |
| Browser opened by an artifact link | The browser needs its own owner session to view private content. |

Pairing codes expire after ten minutes. If the app reports `This pairing code is invalid or has expired.`, generate a new code in Settings. A paired phone gets access to the channels the account owns at registration. Pairing does not issue an upload key.

## Diagnose a missing alert

Send `pushbag notify "Phone check" --priority high` and open Personal in the dashboard. If the message is absent there, check the publishing account and channel first. If it appears there, check the phone's notification permission, device registration, channel mute and minimum priority. A receipt records an accepted message before delivery to individual devices.

To test a private link separately, run `pushbag upload review.html --private --notify` with a Both key. Tap the alert on the phone. If the browser asks you to sign in, use the account that owns the artifact. The notification itself carries no private view grant. See [key presets](/docs/keys) and [artifact visibility](/docs/privacy-and-versions).
