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 1 2 3 4 5 6 7 8 9 10 11 12 13
pluginManagement { repositories { ... maven { url 'https://jitpack.io' } } } dependencyResolutionManagement { repositories { ... maven { url 'https://jitpack.io' } } }
build.gradle
file
2. Add the implementation to your app 1 2 3
dependencies { implementation 'com.github.knocklabs:knock-android:<VERSION>' }
Read more in the quick start guide ->