# Expo Push Notifications and VAPID Web Push: A Developer's Guide

How Expo push notifications work (and why they don't run in Expo Go), what VAPID keys are for web push, how subscriptions and tokens expire, and how to choose a push provider.

Author: Tappd · Customer engagement platform, Melbourne
Published: 2026-11-09
Last updated: 2026-11-13
Category: Engineering
Canonical URL: https://tappd.io/blog/expo-push-notifications-and-vapid-web-push

**Short answer:** Expo push notifications are sent through **Expo's push service**, which forwards them to APNs (iOS) or FCM (Android); they need a **development or production build** and don't run in Expo Go. **VAPID** is the key pair that lets your server send **web push** to browsers without Firebase: the public key goes into the browser subscription, and the private key signs every push request.

## Part 1: Expo push notifications

### How the flow works

1. **Install `expo-notifications`** and configure it in your app config.
2. **Ask for permission** at a moment the user understands, not on first launch. See [push notification best practices](/blog/push-notification-best-practices).
3. **Get an Expo push token** for the device and send it to your backend with the user ID.
4. **Your server calls Expo's push API** with the token, title, body, and data payload.
5. **Expo forwards the message** to APNs or FCM, which delivers it.
6. **Read push receipts** to find tokens that are no longer valid and remove them.

### Expo push service limits

| Limit | Value |
|---|---|
| Price | No charge per notification |
| Rate | 600 notifications per second per project |
| Payload | 4,096 bytes |
| Expo Go | Push doesn't run; use a development build |
| iOS images | Need a Notification Service Extension |
| Scope | Delivery only; targeting and scheduling are yours to build |

### When Expo's service is enough, and when it isn't

Expo's service is the shortest path when your backend already decides who gets what and when. You'll outgrow it when you need:

- **Segments** built from live events, such as "viewed product, no purchase in 24 hours".
- **Journeys** with waits, branches, and exit rules.
- **In-app messages** and email in the same flow as push.
- **Analytics** beyond delivery receipts.

At that point, teams move to an engagement platform. OneSignal and Pushwoosh publish Expo plugins; we compare ten options in [the best push notification services for React Native and Expo](/best/react-native-push-notifications) and cover the push-first tools in [OneSignal alternatives](/blog/onesignal-alternatives-and-competitors).

## Part 2: VAPID and web push

### What VAPID is

Web push uses three standards:

- **Web Push Protocol (RFC 8030):** how your server sends a message to a browser's push service.
- **Message encryption (RFC 8291):** how the payload is encrypted so only the browser can read it.
- **VAPID (RFC 8292):** how your server identifies itself to the push service.

A VAPID key pair is an ECDSA P-256 key pair. The **public key** goes to the browser as the `applicationServerKey` when the user subscribes. The **private key** stays on your server and signs a short-lived JWT attached to every push request.

### How a web push subscription works

1. **Register a service worker** on your site.
2. **Ask for notification permission** after a user gesture, such as clicking "Get alerts".
3. **Call `pushManager.subscribe()`** with `userVisibleOnly: true` and your VAPID public key.
4. **The browser returns a subscription:** an `endpoint` URL at its push service plus `p256dh` and `auth` keys.
5. **Store the subscription** on your server against the user or anonymous visitor.
6. **To send,** encrypt the payload with the subscription keys, sign a VAPID JWT, and POST to the endpoint.
7. **The service worker receives a `push` event** and shows the notification.

### The VAPID JWT

| Claim | Meaning |
|---|---|
| `aud` | The origin of the push service endpoint, such as `https://fcm.googleapis.com` |
| `exp` | Expiry, no more than 24 hours ahead |
| `sub` | A contact for the sender: a `mailto:` address or a URL |

### Rules that save you pain later

- **Never rotate VAPID keys casually.** Each subscription is bound to the public key it was created with, so new keys mean every subscriber must re-subscribe.
- **Back up the private key.** Losing it has the same effect as rotating it.
- **Delete subscriptions on 404 or 410.** Those responses mean the subscription is gone.
- **Ask for permission in context.** Browsers penalize sites that prompt on page load, and a denied prompt is hard to undo.

Deciding between building on FCM and using a platform? Read [OneSignal vs Firebase Cloud Messaging](/blog/onesignal-vs-firebase-cloud-messaging).

### Browser support

| Browser | Web push support |
|---|---|
| Chrome, Edge, Opera (desktop and Android) | Yes |
| Firefox (desktop and Android) | Yes |
| Safari on macOS | From Safari 16 on macOS Ventura |
| Safari on iOS and iPadOS | From 16.4, for web apps added to the home screen |

## Web push for online stores

For an online store without a mobile app, web push is the push channel that matters. It reaches shoppers who won't give an email address, it works for cart and back-in-stock reminders, and it costs nothing per message to deliver. The catch is that it only works if you handle subscriptions and dead endpoints well. See [push on Tappd](/product/push) for the channel overview.

## How Tappd handles push

- **Web push:** Tappd's web SDK registers the service worker and subscription, and Tappd can generate your VAPID key pair in the app's web push settings. Web push runs in the same [journeys](/product/journeys) as email, SMS, and in-app messages.
- **Mobile push:** the React Native SDK sends through FCM and APNs for iOS 12+ and Android API 21+ on React Native 0.60 and later.
- **Limits:** Expo isn't documented and the install steps assume a bare project; there's no native Swift, Kotlin, or Flutter SDK.
- **Pricing:** 15,000 push messages free each month, or unlimited push and in-app for $29/mo, with no per-MAU fee. See [Tappd pricing](/pricing).

## Sources

- [Expo: push notifications FAQ](https://docs.expo.dev/push-notifications/faq/)
- [Expo: what you need to know](https://docs.expo.dev/push-notifications/what-you-need-to-know/)
- [Expo: sending notifications](https://docs.expo.dev/push-notifications/sending-notifications/)
- [RFC 8030: Generic Event Delivery Using HTTP Push](https://www.rfc-editor.org/rfc/rfc8030)
- [RFC 8291: Message Encryption for Web Push](https://www.rfc-editor.org/rfc/rfc8291)
- [RFC 8292: VAPID for Web Push](https://www.rfc-editor.org/rfc/rfc8292)
- [MDN: Push API](https://developer.mozilla.org/en-US/docs/Web/API/Push_API)
- [Tappd: web push notifications](https://docs.tappd.io/web-sdk/push-notifications)

## FAQ

### How do Expo push notifications work?

Your app uses the expo-notifications package to ask for permission and get an Expo push token. Your server sends a message to Expo's push service with that token, and Expo forwards it to Apple Push Notification service (APNs) on iOS or Firebase Cloud Messaging (FCM) on Android, which deliver it to the device.

### Do push notifications work in Expo Go?

No. Push notifications need a development build or a production build of your app. None of the major push services, including Expo's own, can run push in Expo Go, so create a development build to test push.

### Is the Expo push service free?

Expo's push service has no charge per notification. It's limited to 600 notifications per second per project and a 4,096-byte payload, and it handles delivery only, so targeting, segments, and scheduling logic live in your backend.

### What is VAPID in web push?

VAPID (Voluntary Application Server Identification, RFC 8292) is how your server proves to a browser's push service that it's allowed to send to a subscription. You generate a public/private key pair; the public key goes to the browser when the user subscribes, and your server signs each push request with the private key.

### How do I generate VAPID keys?

Use a web push library such as web-push for Node.js (npx web-push generate-vapid-keys) or an equivalent in your server language. Keys are an ECDSA P-256 pair. Keep the private key secret on your server and expose only the public key to the browser. Platforms such as Tappd can generate the pair for you in the app's web push settings.

### What happens if I change my VAPID keys?

Existing subscriptions stop working, because each subscription is bound to the public key it was created with. Users have to re-subscribe. Treat VAPID keys as permanent and back them up.

### Do I need Firebase for web push?

No. The Web Push Protocol with VAPID works directly with each browser's push service: Google's for Chrome, Mozilla's for Firefox, and Apple's for Safari. Firebase Cloud Messaging can also send web push, but it isn't required.

### Does web push work on iPhone?

Yes, on iOS and iPadOS 16.4 and later, for web apps that the user has added to their home screen. Safari on macOS supports web push from macOS Ventura with Safari 16. Permission must be requested from a user gesture, such as a button tap.

### Why do push subscriptions expire?

Users clear browser data, revoke permission, reinstall apps, or stop using a device. Web push services return 404 or 410 for dead subscriptions, and APNs and FCM return errors for invalid tokens. Delete these subscriptions immediately to keep delivery stats accurate.

### What's the difference between an Expo push token and an FCM or APNs token?

An Expo push token is a wrapper that Expo's push service maps to the device's native FCM or APNs token. If you use Expo's service, you send to the Expo token. If you use another provider, you usually register the native device token instead.

### Can I send images in Expo push notifications?

On Android, yes. On iOS, showing an image needs a Notification Service Extension in your app, which requires a development or production build.

### Does Tappd support Expo?

Tappd's mobile SDK targets React Native 0.60 and later on iOS 12+ and Android API 21+. Its docs don't cover Expo, and the install steps assume a bare project, so talk to the Tappd team before choosing it for an Expo app. Tappd's web SDK supports VAPID web push.

---

[All posts](https://tappd.io/blog) · [Tappd](https://tappd.io/)