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+.
flutter pub add courier_flutterAfter adding the package, run cd ios && pod install.
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();
},
)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.
Found a bug or want to request a feature? Open an issue.