Push notifications in a React Native app

Push notifications let you reach and re-engage users even when they aren't actively using your app. The Connect SDK integrates with Apple Push Notification service (APNs) on iOS and Firebase Cloud Messaging (FCM) on Android, and lets your marketing team author push content — thumbnail images, expandable rich content, and actionable notifications — from Connect, without any code changes on your side per campaign.

Language: TypeScript and JavaScript

Availability: Pro, Premium, and Ultimate


Choose your guide

Setup differs by platform and by workflow (bare React Native vs. Expo managed workflow), so each combination has its own guide:

If your app targets both platforms, work through both guides for your workflow — the iOS and Android setups are independent and can be done in either order.


Prerequisites common to all four guides

Platform-specific prerequisites — an Apple Developer Program membership for iOS, a Firebase project for Android — are covered in each individual guide.


After setup

Push delivery on its own sends to anonymous contacts. To target push notifications at known users, identify them — see User identification signals in a React Native app.

Once push is set up, Connect records signals for each notification automatically, with no extra code: Mobile push send, delivery, open and failure. Delivery and open appear only after the push setup in your platform guide is complete. An open is a tap on a notification that opens your app or the phone dialer. On iOS, the Notification Service Extension from the iOS guides records deliveries that are dismissed without a tap. To use these signals in segments, see Segment by customer actions.

Before releasing a push-enabled app, see Move your React Native integration to production — production requires a separate app key and, on iOS, a signing profile switch.


Did this page help you?