Skip to content

Inbox, Push Notifications & Preferences for iOS

Notifications You must be signed in to change notification settings

trycourier/courier-ios

Repository files navigation

ios-banner

Requirements & Support

Requirements
Courier Account Sign Up
Minimum iOS SDK Version 13.0
Package Managers
Swift Package Manager
Cocoapods

Installation

Using Swift Package Manager

Swift.Package.Manager.Setup.mov
  1. Open your iOS project and increase the min SDK target to iOS 13.0+
  2. In your Xcode project, go to File > Add Packages
  3. Paste the following url in "Search or Enter Package URL"
https://github.com/trycourier/courier-ios

Using Cocoapods

  1. Open your iOS project and increase the min SDK target to iOS 13.0+
  2. Update Podfile
platform :ios, '13.0'
..
target 'YOUR_TARGET_NAME' do
    ..
    pod 'Courier_iOS'
    ..
end
  1. Open terminal in root directory and run
pod install

Getting Started

These are all the available features of the SDK.

Feature Description
1 Authentication Manages user credentials between app sessions. Required if you would like to use Inbox, Push Notifications and Preferences.
2 Inbox An in-app notification center you can use to notify your users. Comes with a prebuilt UI and also supports fully custom UIs.
3 Push Notifications Automatically manages push notification device tokens and gives convenient functions for handling push notification receiving and clicking.
4 Preferences Allow users to update which types of notifications they would like to receive.
5 CourierClient The base level API wrapper around the Courier endpoints. Useful if you have a highly customized user experience or codebase requirements.

Example Projects

Several common starter projects using the SDK.

Project Link UI Framework Package Manager Language
Example UIKit Swift Swift

Share feedback with Courier

We are building the best SDKs for handling notifications! Have an idea or feedback about our SDKs? Here are some links to contact us: