banner-flutter

Courier Flutter SDK

The Courier Flutter SDK provides prebuilt widgets and Dart APIs for adding in-app notifications, push notifications, and notification preferences to your Flutter 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

flutter pub add courier_flutter

After adding the package, run cd ios && pod install.

Quick Start

import 'package:courier_flutter/courier_flutter.dart';
import 'package:courier_flutter/ui/inbox/courier_inbox.dart';

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

// Drop in a prebuilt Inbox widget
CourierInbox(
  onMessageClick: (message, _) {
    message.isRead ? message.markAsUnread() : message.markAsRead();
  },
)

Documentation

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

Feedback

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