Push Notifications in React Native 2026: Expo, FCM HTTP v1, and the APNs Token Trap
A field guide to shipping push in React Native in 2026: Expo Notifications vs bare FCM/APNs, the HTTP v1 migration, token rotation gotchas, and why your silent pushes keep disappearing on iOS.
Push notifications are the part of a React Native app that works beautifully in dev and then quietly stops working for 3% of your users in production. In 2026, with Google's legacy FCM API fully retired and Apple tightening APNs token handling, the failure modes have shifted. Here's what we actually ship now, what we stopped doing, and the specific traps that cost us a week on the last three projects.
The 2026 landscape: what actually changed
Two things reshaped the push stack in the last 18 months.
First, Google's legacy FCM HTTP and XMPP APIs are gone. Everything goes through FCM HTTP v1, which uses OAuth 2 access tokens derived from a service account JSON — not the old server key. If your backend still has a AAAA... string sitting in an env var, it stopped working. Period.
Second, APNs has been pushing token-based authentication (.p8 keys) hard, and certificate-based auth is increasingly treated as legacy. More importantly, iOS 17+ and iPadOS 17+ enforced stricter rules around background delivery and silent pushes, and iOS 18 tightened them again. If you relied on content-available: 1 to sync data in the background, you've probably already noticed the delivery rate dropped.
The practical consequence: the "just hit FCM and forget" model doesn't fly anymore. You need to think about the transport, the token lifecycle, and the payload shape as three separate problems.
Expo Notifications vs rolling your own
For most teams, this is the first decision, and we think most teams get it wrong in both directions.
When Expo Notifications is the right call
If you're on Expo (managed or bare with the config plugin) and you don't need VoIP pushes, Live Activities, or custom notification extensions, use expo-notifications with Expo Push Service. You get:
- A unified
ExponentPushToken[xxx]instead of juggling FCM and APNs tokens separately - Automatic retries and batching on Expo's side
- A single HTTP endpoint for your backend
The tradeoff is you're adding a hop. Expo's service receives your message and forwards it to FCM/APNs. In our experience the added latency is negligible (sub-second), but it is another piece of infrastructure you don't own.
When to go direct to FCM and APNs
We reach for direct integration when:
- The client needs Notification Service Extensions on iOS (rich media, E2E-decrypted content, mutable payloads)
- We're shipping Live Activities or Dynamic Island updates via ActivityKit push
- Compliance requires push payloads never leave a specific cloud region
- The team already runs a notification platform (Braze, OneSignal, Customer.io) and we just need the token
For that path you want @react-native-firebase/messaging on Android and the native APNs registration flow on iOS. Yes, even in an Expo project — the config plugin handles the native wiring.
The token trap nobody talks about
Here's the bug we've debugged on three separate projects in the last year.
Your app gets a push token on first launch. You send it to your backend. User uses the app for six months. One day, the OS silently rotates the APNs token — this happens after restores from backup, after certain OS updates, and occasionally for reasons Apple doesn't document. Your backend keeps sending to the old token. APNs returns a 410, which your notification worker logs and ignores because "some tokens expire, that's fine." The user stops getting notifications. They don't complain. They churn.
The fix is unglamorous but critical:
import messaging from '@react-native-firebase/messaging';
import * as Notifications from 'expo-notifications';
export async function registerPushToken(userId: string) {
const permission = await Notifications.requestPermissionsAsync();
if (!permission.granted) return;
// Get a fresh token on every cold start
const token = await messaging().getToken();
await syncTokenToBackend(userId, token, Platform.OS);
// Listen for rotations while the app runs
return messaging().onTokenRefresh(async (newToken) => {
await syncTokenToBackend(userId, newToken, Platform.OS);
});
}
async function syncTokenToBackend(userId: string, token: string, platform: string) {
await fetch('/api/push-tokens', {
method: 'PUT',
body: JSON.stringify({ userId, token, platform, updatedAt: Date.now() }),
});
}
Three rules we enforce on the backend side:
- Store
updatedAton every token. When FCM returnsUNREGISTEREDor APNs returns 410, delete the token only if you've had at least one newer token from that device since. Otherwise you race with a legitimate rotation. - Dedupe by device, not by user. One user can have five devices. If you store by
userIdonly, you'll overwrite tokens and lose devices. - TTL unused tokens. Any token that hasn't been refreshed in 60 days is almost certainly dead. Garbage collect.
FCM HTTP v1: the OAuth dance
If you're sending directly, your backend needs to mint an OAuth 2 access token from the service account. In Node:
import { GoogleAuth } from 'google-auth-library';
const auth = new GoogleAuth({
keyFile: process.env.FCM_SERVICE_ACCOUNT_PATH,
scopes: ['https://www.googleapis.com/auth/firebase.messaging'],
});
export async function sendFcm(token: string, title: string, body: string) {
const client = await auth.getClient();
const accessToken = (await client.getAccessToken()).token;
const projectId = process.env.FCM_PROJECT_ID;
const res = await fetch(
`https://fcm.googleapis.com/v1/projects/${projectId}/messages:send`,
{
method: 'POST',
headers: {
Authorization: `Bearer ${accessToken}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
message: {
token,
notification: { title, body },
android: { priority: 'HIGH' },
apns: { headers: { 'apns-priority': '10' } },
},
}),
},
);
if (res.status === 404) {
// UNREGISTERED — token is dead, mark for cleanup
await markTokenDead(token);
}
}
The google-auth-library caches the access token for its one-hour lifetime, so don't new up the auth client on every request. One singleton, reused.
Payload shape: notification vs data
This still trips people up. A notification payload is rendered by the OS even when your app is killed. A data-only payload hands the message to your app code. On Android this means your setBackgroundMessageHandler runs. On iOS, data-only means you set content-available: 1 and hope — see below.
Our default: send notification for anything user-facing, and data only when you genuinely need the app to do work in the background.
Silent push on iOS: lower your expectations
iOS will throttle or drop your content-available pushes if:
- You send too many (Apple's threshold is roughly 2–3 per hour, unpublished and variable)
- The user force-quit the app (then you get nothing until they relaunch)
- Low Power Mode is on
- The device is in Background App Refresh denied state
If you need guaranteed delivery for things like "invalidate this cached invoice," don't rely on silent push alone. Use it as a hint, and fall back to pull-on-foreground. We've shipped this pattern in several apps: when the app returns to foreground, it checks a lightweight /sync-cursor endpoint and pulls deltas. Silent push makes it feel instant when it works; the foreground check makes sure it eventually works when silent push doesn't.
Permissions: ask at the right moment
Both stores now scrutinize the permission prompt. We've been flagged in review for showing the system dialog on first launch with no context. The pattern that passes consistently:
- Show a soft pre-prompt explaining why you want to send pushes, with a "Not now" option
- Only if they tap "Enable," call
requestPermissionsAsync() - If they say no, never re-prompt — deep link to Settings instead
On Android 13+ you need POST_NOTIFICATIONS runtime permission. Expo's config plugin adds it automatically, but you still need to request it. Don't assume install-time permission like the old days.
A quick word on native (Swift/Kotlin) parity
If your team is already native, nothing in this article argues otherwise — native push is slightly less friction because you skip the JS bridge for the registration handler. But the token lifecycle, HTTP v1 OAuth dance, and iOS silent-push throttling behave identically. The choice between React Native and native rarely hinges on push quality in 2026. It hinges on Live Activities, widgets, and whatever Apple shipped at WWDC that only has a Swift API for the first year.
Where we'd start
If you're setting this up on a new project in 2026:
- Decide Expo Push Service vs direct FCM/APNs based on whether you need Notification Service Extensions or Live Activities. If no, start with Expo Push — you can always migrate off later.
- On the backend, store tokens keyed by device ID, not user ID, with
updatedAtandplatformcolumns. - Wire up
onTokenRefreshfrom day one. Don't wait for the churn report. - Treat silent push as best-effort. Build a foreground sync path alongside it.
- Build a staging rig that can send to a single test device and log the full response. You'll use it every time a user says "I didn't get the notification."
If you want help shipping a React Native app with push, IAP, and deep links that actually survives review, that's most of what our mobile practice does week to week.
Want a team like ours?
72Technologies builds production software for the kind of teams who actually read this blog.
Start a projectKeep reading
App Store Review Rejections in 2026: The React Native Checklist We Run Before Every Submission
A pre-submission checklist built from a decade of App Store and Play Store rejections — tuned for React Native and Expo apps shipping in 2026.
EAS Update in 2026: Shipping OTA Fixes Without Breaking the App Store Rules
A field guide to running OTA updates with Expo EAS Update in 2026 — channels, rollouts, runtime version pinning, and the Apple guideline that quietly kills careless teams.
In-App Purchases in React Native 2026: RevenueCat, StoreKit 2, and the Refund Webhook We Missed
A field-tested breakdown of shipping subscriptions in React Native with RevenueCat, StoreKit 2, and Google Play Billing 7 — including the refund webhook that quietly cost us a month of revenue.
