Building in-app UI for Android
Learn more about the in-app notifications experiences you can build for Android applications with Knock.
🌠
Note in the current version of the Android SDK there are no pre-built UI elements.
The Knock Android SDK is a low-level set of methods for interacting with the Knock APIs from Android applications. The SDK is designed to help you easily integrate Knock into your application and build in-app notification experiences powered by Knock.
Features
- API methods for interacting with the Knock in-app API.
- Managed websocket connections to the Knock real-time service.
Getting started
settings.gradle
file
1. Add Jitpack repository support in your 1pluginManagement {
2 repositories {
3 ...
4 maven { url 'https://jitpack.io' }
5 }
6}
7
8dependencyResolutionManagement {
9 repositories {
10 ...
11 maven { url 'https://jitpack.io' }
12 }
13}
build.gradle
file
2. Add the implementation to your app 1dependencies {
2 implementation 'com.github.knocklabs:knock-android:<VERSION>'
3}
Read more in the quick start guide ->