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

# Push Notifications

> Send push notifications to specific devices or entire topics, from the dashboard or the REST API.

## What it does

Push Notifications lets you reach your users on iOS, Android, and the web
without running your own APNs/FCM infrastructure — configure your platform
credentials once from the dashboard, then send from the dashboard or the
REST API.

* **Native delivery.** Apple Push Notification service (APNs) directly on
  iOS — no Firebase required — Firebase Cloud Messaging (FCM) on Android,
  and standard Web Push (VAPID) in the browser — no Firebase or OneSignal
  account needed there either.
* **Target specific devices, or a whole topic.** Send to one or more
  registered device tokens, or to every device subscribed to a topic (a
  topic is created automatically the first time a device subscribes to it —
  no dashboard setup required to start using one).
* **Target a user on every device.** Call `setUser` in each of your apps
  after login, then send to your own user IDs with `externalUserIds`: one
  request reaches that person on iOS, Android, web and macOS. See
  [Identify users](https://docs.lerix.dev/modules/users-identity.md).
* **Custom sound.** Set a custom notification sound per send, so long as the
  sound file is already bundled inside your app.
* **Rich images.** Attach an `imageUrl` to show a rich image in the
  notification — works out of the box on Android; iOS needs a one-time
  Notification Service Extension setup step.
* **Custom metadata.** Attach arbitrary JSON data to a notification — the SDK
  delivers it back to the device as `payload.metadata`, for routing taps to a
  specific screen, for example.
* **Send from the dashboard or the API.** Compose and send from the
  **Send notification** tab, or call the REST API from your own backend.

## Dashboard tabs

Each project's **Notifications** section in the dashboard has:

| Tab | What it's for |
| - | - |
| **Overview** | Total notifications sent, delivery rate, pending count, registered devices, and which platforms are configured |
| **History** | Every notification ever sent, searchable and filterable by status |
| **Send notification** | Compose and send to specific devices or a topic |
| **Topics** | Create, view subscriber counts for, and delete topics |
| **Settings** | Upload your Apple `.p8` key and Android `google-services.json`, or generate a Web Push key pair — a platform shows a **Configured** badge once it has credentials, and you can review or replace them any time |

## Get started

> [card] [Flutter](https://docs.lerix.dev/frameworks/flutter/push-notifications.md)
>
> Configure notifications and topics — iOS, Android, and Web, one package.

> [card] [iOS (Swift)](https://docs.lerix.dev/frameworks/ios/push-notifications.md)
>
> Native APNs push for apps with no Flutter involved.

> [card] [Web](https://docs.lerix.dev/frameworks/web/push-notifications.md)
>
> Browser push notifications with the JS SDK, for non-Flutter web apps.

> [card] [NestJS (backend)](https://docs.lerix.dev/frameworks/nestjs/push-notifications.md)
>
> Send, schedule, update and unsend notifications from your server with a typed client.

> [card] [REST API](https://docs.lerix.dev/api-reference/push-notifications.md)
>
> Send notifications directly from your backend.

More framework guides are on the way — see the [Getting Started](https://docs.lerix.dev/index.md) page for
current platform availability.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.