Courier iOS SDK
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+.
Installation
Swift Package Manager
In Xcode, go to File > Add Packages and paste:
https://github.com/trycourier/courier-ios
CocoaPods
pod 'Courier_iOS'
Quick Start
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()
}
)
Documentation
Full documentation lives at courier.com/docs/sdk-libraries/ios — installation, authentication, push setup, theming, custom UI, and the CourierClient API reference.
Feedback
Found a bug or want to request a feature? Open an issue.