
To add push notifications to a React Native app, use @react-native-firebase/messaging in a bare project (FCM delivers to Android and relays to APNs for iOS) or expo-notifications in an Expo project. Either one gets push working. In production you'll also want delivery tracking, fallback channels, and user preferences, which is where a notification layer like Courier comes in.
React Native powers apps for Meta, Microsoft, Shopify, and Discord. For notifications specifically, it offers real advantages.
🔄 Single codebase, unified logic. Your notification handling lives in one place. Add a notification type or update deep linking once, not twice.
⚡ JavaScript ecosystem. Your mobile code can share patterns with your web app. If your backend runs on Node.js, React Native will feel familiar.
🚀 Faster iteration. Hot reloading and over-the-air updates mean you can iterate on notification experiences without app store approvals.
The catch: while React Native unifies your application code, push notifications still require platform-specific infrastructure. iOS uses APNs, Android uses FCM, and you need both configured correctly.
FCM is the standard foundation: it handles Android natively and routes to APNs for iOS.
yarn add @react-native-firebase/app
yarn add @react-native-firebase/messaging
# iOS: install pods
cd ios/ && pod installYou'll need platform-specific configuration:
google-services.json to your projectGoogleService-Info.plistiOS requires explicit permission, and so does Android 13 (API level 33) and later. On iOS, messaging().requestPermission() shows the prompt. On Android 13+, request PermissionsAndroid.PERMISSIONS.POST_NOTIFICATIONS too, because React Native Firebase doesn't prompt there. Either way, ask with context about why notifications are valuable:
import messaging from '@react-native-firebase/messaging';
async function requestNotificationPermission() {
const authStatus = await messaging().requestPermission();
const enabled =
authStatus === messaging.AuthorizationStatus.AUTHORIZED ||
authStatus === messaging.AuthorizationStatus.PROVISIONAL;
if (enabled) {
const token = await messaging().getToken();
await saveTokenToBackend(token);
}
return enabled;
}Tokens change when users reinstall apps, restore from backup, or when the OS rotates them:
import { useEffect } from 'react';
import messaging from '@react-native-firebase/messaging';
function useNotificationSetup(userId) {
useEffect(() => {
messaging()
.getToken()
.then(token => saveTokenToBackend(userId, token));
const unsubscribe = messaging().onTokenRefresh(token => {
saveTokenToBackend(userId, token);
});
return unsubscribe;
}, [userId]);
}React Native apps handle notifications in three states:
import messaging from '@react-native-firebase/messaging';
import { useEffect } from 'react';
function useNotificationHandlers(navigation) {
useEffect(() => {
// App in foreground
const unsubscribeForeground = messaging().onMessage(async message => {
showInAppNotification(message);
});
// App in background - user tapped notification
const unsubscribeBackground = messaging().onNotificationOpenedApp(message => {
handleNotificationNavigation(message, navigation);
});
// App was closed - opened via notification
messaging()
.getInitialNotification()
.then(message => {
if (message) {
handleNotificationNavigation(message, navigation);
}
});
return () => {
unsubscribeForeground();
unsubscribeBackground();
};
}, [navigation]);
}This gets push working. But production apps quickly hit limitations: no delivery confirmation, no fallback channels, no user preferences, and debugging is guesswork.
If you're building with Expo, you have a simpler option. Expo Push Notifications wraps FCM and APNs, eliminating most of the platform-specific configuration.
Expo's managed workflow handles the painful parts of push setup:
âś… Less credential work. EAS manages your APNs credentials for you. On Android, you still upload FCM V1 credentials to Expo (see Expo's FCM credentials guide).
âś… Unified token format. Instead of separate FCM and APNs tokens, you get a single Expo push token.
âś… Works out of the box. In Expo-managed projects, push notifications require minimal setup.
If speed to market is your priority, Expo removes significant friction.
Setup is short: install expo-notifications, request permission, and call getExpoPushTokenAsync() to get an ExpoPushToken, then send that token from your backend through Expo's push service. From SDK 53, Expo Go doesn't support push notifications on Android or iOS, so test push in a development build (Expo's push FAQ). The full flow, including the iOS soft-prompt permission pattern, foreground and background handlers, delivery receipts, and troubleshooting, is covered step by step in the dedicated Expo push notifications guide.
Expo simplifies the basics, but the same production challenges apply:
⚠️ Single channel only. Expo Push is push only: email, SMS, and in-app require separate integrations.
⚠️ Limited delivery visibility. You know Expo accepted the message, but not whether the user received it.
⚠️ No user preferences. Opt-out logic and channel preferences are your responsibility.
For MVPs and early-stage products, Expo Push is a great starting point. As you scale, an orchestration layer handles the complexity Expo doesn't address.
Courier supports Expo as a push provider. After getting your Expo push token, manually sync it to Courier:
import Courier, { CourierPushProvider } from '@trycourier/courier-react-native';
// First, sign in with a JWT from your backend
const userId = 'user_123';
const jwt = await YourBackend.generateCourierJWT(userId);
await Courier.shared.signIn({ userId, accessToken: jwt });
// Then sync the Expo push token
await Courier.shared.setTokenForProvider({
provider: CourierPushProvider.EXPO,
token: 'ExponentPushToken[xxxxxx]'
});
// Now send via Courier - handles Expo push + email + SMS
// (from your backend)
await courier.send.message({
message: {
to: { user_id: 'user_123' },
template: 'order-shipped',
data: { orderNumber: 'ORD-456' }
}
});This gives you Expo's managed workflow simplicity with Courier's multi-channel orchestration.
Direct FCM handles the last mile: getting a message from Google's servers to a device. It doesn't address the operational complexity that emerges at scale:
🔑 Token lifecycle. Tokens expire, become invalid, or belong to logged-out users. Without proper handling, you're sending into the void.
📬 Multi-channel coordination. Users miss push for many reasons: disabled permissions, do-not-disturb, app uninstalled. Email or SMS fallbacks require separate infrastructure.
⚙️ User preferences. Users want control: order updates via push, marketing via email, nothing after 10pm. Building this from scratch takes weeks.
🔍 Delivery observability. FCM confirms acceptance, not delivery. When users report missing notifications, you need visibility into what happened.
✏️ Template management. Copy changes going through engineering creates bottlenecks.
Courier sits between your application and delivery providers like FCM, APNs, SendGrid, and Twilio. One API call; Courier handles routing, preferences, retries, and tracking.
import Courier from "@trycourier/courier";
const courier = new Courier({
apiKey: process.env.COURIER_API_KEY
});
// One call handles push, email, SMS based on user preferences
await courier.send.message({
message: {
to: { user_id: "user_123" },
template: "order-shipped",
data: {
orderNumber: "ORD-456",
trackingUrl: "https://tracking.example.com/ORD-456",
estimatedDelivery: "January 10, 2026"
}
}
});The Courier React Native SDK extends well beyond push. Here's what becomes possible:
Give users a persistent home for notifications they can reference, mark as read, or act on later:
npm install @trycourier/courier-react-nativeimport Courier from '@trycourier/courier-react-native';
import { CourierInboxView } from '@trycourier/courier-react-native';
function NotificationInbox() {
return (
<CourierInboxView
onClickInboxMessageAtIndex={(message, index) => {
console.log(message);
// Toggle read state
message.read
? Courier.shared.unreadMessage({ messageId: message.messageId })
: Courier.shared.readMessage({ messageId: message.messageId });
}}
onClickInboxActionForMessageAtIndex={(action, message, index) => {
console.log(action);
}}
style={{ flex: 1 }}
/>
);
}The component handles real-time updates, read/unread state, pagination, and styling customization.
Let users control their experience without building preference UI from scratch:
import { CourierPreferencesView } from '@trycourier/courier-react-native';
// Topic-based preferences
function NotificationPreferences() {
return (
<CourierPreferencesView
mode={{ type: 'topic' }}
style={{ flex: 1 }}
/>
);
}
// Or channel-based preferences
function ChannelPreferences() {
return (
<CourierPreferencesView
mode={{
type: 'channels',
channels: ['push', 'sms', 'email']
}}
style={{ flex: 1 }}
/>
);
}Users configure which categories they want and through which channels. Preferences automatically apply to all notifications.
Send to multiple channels based on preferences. Route push by provider (apn for iOS, firebase-fcm for Android) rather than the generic push channel:
await courier.send.message({
message: {
to: { user_id: "user_123" },
template: "payment-received",
routing: {
method: "all",
channels: ["apn", "firebase-fcm", "email", "inbox"]
},
data: {
amount: "$500.00",
senderName: "Acme Corp"
}
}
});Or create escalation chains: push first, SMS if push fails, then email:
await courier.send.message({
message: {
to: { user_id: "user_123" },
template: "urgent-alert",
routing: {
method: "single",
channels: [
{ method: "all", channels: ["apn", "firebase-fcm"] },
"sms",
"email"
]
}
}
});The SDK handles the token lifecycle that causes issues with direct FCM. First, generate a JWT on your backend, then sign in:
import Courier from '@trycourier/courier-react-native';
// Generate JWT on your backend, then sign in
const userId = 'user_123';
const jwt = await YourBackend.generateCourierJWT(userId);
await Courier.shared.signIn({
userId: userId,
accessToken: jwt
});
// Courier automatically:
// - Registers push tokens (APNS on iOS, FCM on Android)
// - Handles token refresh
// - Associates tokens with user profile
// - Cleans up on signOut
// When user logs out
await Courier.shared.signOut();Users stay signed in between app sessions. The SDK persists credentials automatically.
You can also listen for push notification events:
import Courier from '@trycourier/courier-react-native';
// Configure iOS foreground presentation
Courier.setIOSForegroundPresentationOptions({
options: ['sound', 'badge', 'list', 'banner']
});
// Listen for push events
const pushListener = Courier.shared.addPushNotificationListener({
onPushNotificationClicked: (push) => {
console.log('Push clicked:', push);
},
onPushNotificationDelivered: (push) => {
console.log('Push delivered:', push);
},
});
// Clean up when done
pushListener.remove();👉 Learn more about Courier's mobile notification capabilities.
| Capability | Courier | FCM Direct | Expo Push |
|---|---|---|---|
| Basic push notifications | âś… | âś… | âś… |
| Setup complexity | Low | High | Low |
| Certificate management | Upload APNs key and FCM credentials once | Manual | APNs via EAS, FCM V1 uploaded |
| Token management | Managed | Build yourself | Simpler tokens |
| Delivery analytics | Comprehensive | Basic | Basic |
| Multi-channel (email, SMS) | Unified API | Separate integration | Separate integration |
| In-app inbox | Native SDK component | Build yourself | Build yourself |
| User preferences | Full preference center | Build yourself | Build yourself |
| Channel fallbacks | Automatic routing | Build yourself | Build yourself |
| Template management | Design Studio + API | Code changes | Code changes |
| Non-engineer editing | ✅ | ❌ | ❌ |
| Works with Expo managed | âś… | Via config | âś… Native |
🏆 Courier is the production path for apps needing multi-channel notifications, user preferences, delivery tracking, and team collaboration. It works with both Expo and bare React Native.
🛠️ FCM Direct makes sense for bare React Native projects with simple single-channel needs and engineering bandwidth for platform configuration.
⚡ Expo Push is ideal for Expo-managed projects that need push notifications quickly without hand-building an APNs and FCM pipeline. See the Expo push notifications guide for the full setup.
Courier sends through FCM and Expo alongside your other channels, and handles the complexity between "send notification" and "user received it."
Whether you're implementing your first push notification or adding multi-channel orchestration to an existing app, Courier provides infrastructure that grows with you.
The Developer plan is free and includes 10,000 sends a month, covering: push, email, SMS, and in-app notifications; React Native SDK with inbox and preference components; Design Studio templates; delivery tracking.
👉 Create your free Courier account →
👉 Courier React Native SDK on GitHub →
👉 Mobile notifications with Courier →
Common causes: APNs certificates misconfigured, permissions not requested or denied, app in foreground (iOS doesn't show system notifications by default), or invalid device token. Check that messaging().requestPermission() returns AUTHORIZED. Courier's delivery logs show exactly where notifications fail.
Push doesn't work in iOS Simulator, so use a physical device. Android Emulator works with FCM. On Expo SDK 53 or later, test push in a development build, since Expo Go doesn't support push notifications. Courier's delivery logs show exactly what happened to each send.
Explore the Courier React Native SDK and mobile notification capabilities for implementation details. 🚀

How to Design an In-App Notification Center: UX tips and examples
A design-focused guide to building an in-app notification center people actually use. Covers the UX decisions that matter (entry point, information hierarchy, read state, grouping, empty states, inline actions, real-time, accessibility), then shows three ways to execute in Courier Inbox: brand-match with a theme, take over individual pieces with render props, or go fully headless with the `useCourier` hook. Ends with a pre-ship checklist.

The Future-Proof Multichannel Notification System: Built for Humans and AI Agents
Multichannel delivery is now table stakes. In an AI world, future-proof means a notification system both your team and AI agents can build and run.

Design Studio + Journeys: The Engineering Integration Guide
This is the engineering guide for setting up Design Studio and Journeys. When you move notification logic to Courier, your architecture shifts from a push model to an event model. Your backend stops rendering templates and managing provider APIs directly, and starts emitting events. This guide covers both integration paths (direct API and Segment), how to structure the data object so PMs can build without asking for backend changes, error handling and idempotency, how to use test environments safely, and the specific code you can delete from your repo once it's running.