https://github.com/trycourier/courier-android
Inbox, Push Notifications & Preferences for Android
https://github.com/trycourier/courier-android
android courier kotlin notifications
Last synced: 5 months ago
JSON representation
Inbox, Push Notifications & Preferences for Android
- Host: GitHub
- URL: https://github.com/trycourier/courier-android
- Owner: trycourier
- Created: 2022-08-17T18:33:01.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2025-11-20T20:50:45.000Z (8 months ago)
- Last Synced: 2025-11-20T22:19:14.116Z (8 months ago)
- Topics: android, courier, kotlin, notifications
- Language: Kotlin
- Homepage: https://courier.com
- Size: 6.39 MB
- Stars: 6
- Watchers: 4
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README

# Requirements & Support
Requirements
Courier Account
Sign Up
Minimum Android SDK Version
23
Gradle
8.4
# Installation
### 1. Add Jitpack repository to your `settings.gradle` file
```gradle
pluginManagement {
repositories {
..
maven { url 'https://jitpack.io' } // Groovy
maven("https://jitpack.io") // Gradle.kts
}
}
dependencyResolutionManagement {
repositories {
..
maven { url 'https://jitpack.io' } // Groovy
maven("https://jitpack.io") // Gradle.kts
}
}
```
### 2. Add the implementation to your app's `build.gradle` file
```gradle
dependencies {
implementation 'com.github.trycourier:courier-android:5.2.14' // Groovy
implementation("com.github.trycourier:courier-android:5.2.14") // Gradle.kts
}
```
### 3. Initialize the SDK (Optional)
If you are only using CourierClient APIs you can skip this step.
```kotlin
// This example is on an Application class
// You can also do this with Activities or Fragments, but
// it is very important to call this before using other
// parts of the Courier SDK
class YourApplication: Application() {
override fun onCreate() {
super.onCreate()
// Initialize the SDK
// This is used to give Courier access to SharedPreferences
// Courier uses SharedPreferences to save some state between app sessions
// This is important to create a great user experience around push notifications
Courier.initialize(this)
}
}
```
# 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.
# Proguard
Here is what the Courier Android SDK automatically handles with Proguard:
# Example Projects
Starter projects using this SDK.
Project Link
Language
Example
Kotlin
# **Share feedback with Courier**
We want to make this the best SDK for managing notifications! Have an idea or feedback about our SDKs? Let us know!
[Courier Android Issues](https://github.com/trycourier/courier-android/issues)