Home
Softono

Courier React Native

Open source MIT TypeScript
11
Stars
8
Forks
2
Issues
5
Watchers
2 months
Last Commit

 About Courier React Native

Inbox, Push Notifications & Preferences for React Native

Platforms

Web Self-hosted Cloud iOS Android

Languages

TypeScript

Need Help Installing Courier React Native?

We provide expert installation service for this software. Our team will install, configure, and secure Courier React Native on your server. plans start at just $30.

Courier React Native

View on GitHub
banner-react-native

Courier React Native SDK

The Courier React Native SDK provides prebuilt components and TypeScript APIs for adding in-app notifications, push notifications, and notification preferences to your React Native app. It handles authentication, token management, and real-time message delivery across iOS and Android from a single codebase.

Requires iOS 15.0+, Android SDK 23+, and Gradle 8.4+.

Installation

npm install @trycourier/courier-react-native

Also available via yarn add @trycourier/courier-react-native. After installing, run cd ios && pod install.

Quick Start

import Courier, { CourierInboxView } from "@trycourier/courier-react-native";

// Sign in (JWT generated by your backend)
await Courier.shared.signIn({
    userId: "user_123",
    accessToken: jwt,
});

// Drop in a prebuilt Inbox view
<CourierInboxView
  onClickInboxMessageAtIndex={(message) => {
    message.read
      ? Courier.shared.unreadMessage({ messageId: message.messageId })
      : Courier.shared.readMessage({ messageId: message.messageId });
  }}
  style={{ flex: 1 }}
/>

Documentation

Full documentation lives at courier.com/docs/sdk-libraries/react-native — installation, authentication, push setup (iOS CourierReactNativeDelegate + Android Firebase decoupling), theming, custom UI, Expo, and the CourierClient API reference.

Feedback

Found a bug or want to request a feature? Open an issue.