The Courier iOS SDK provides prebuilt UI components and Swift APIs for adding in-app notifications, push notifications, and notification preferences to your iOS app. It handles authentication, token management, and real-time message delivery so you can focus on your app.
Requires iOS 15.0+.
In Xcode, go to File > Add Packages and paste:
https://github.com/trycourier/courier-ios
pod 'Courier_iOS'import Courier_iOS
// Sign in (JWT generated by your backend)
Task {
await Courier.shared.signIn(
userId: "user_123",
accessToken: jwt
)
}
// Drop in a prebuilt Inbox view
CourierInboxView(
didClickInboxMessageAtIndex: { message, _ in
message.isRead ? message.markAsUnread() : message.markAsRead()
}
)Full documentation lives at courier.com/docs/sdk-libraries/ios — installation, authentication, push setup, theming, custom UI, and the CourierClient API reference.
Found a bug or want to request a feature? Open an issue.