courier_flutter 5.0.2 copy "courier_flutter: ^5.0.2" to clipboard
courier_flutter: ^5.0.2 copied to clipboard

Inbox, Push Notifications and Preferences for Flutter

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.

5
likes
120
points
2.53k
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Inbox, Push Notifications and Preferences for Flutter

Homepage

License

MIT (license)

Dependencies

flutter, flutter_svg, intl, package_info_plus, plugin_platform_interface, url_launcher, uuid, visibility_detector

More

Packages that depend on courier_flutter

Packages that implement courier_flutter