whiteboard-android is an Android package of the Whiteboard SDK, providing interfaces for Android apps to interact with the Whiteboard service. The sdk directory contains interface implementation code for whiteboard functions, while the app directory includes a sample app developed using this SDK.
English | 简体中文
- Get APP Identifier and SDK Token
- Config app/string_white_sdk_config.xml
- sdk_app_id: Required
- room_uuid: Required
- room_token: Required
- sdk_app_token: Optional, used for creating room locally. Please keep the sdk_app_token safe.
- Android Studio 4.0+
- API 21+
- APP Identifier and SDK Token
Add the following line in the build.gradle file of your project:
allprojects {
repositories {
// Add jitpack repository
maven { url 'https://jitpack.io' }
}
}
add dependency of whiteboard in the app/build.gradle file
dependencies {
// Get the latest version number through the release notes.
implementation "com.github.netless-io:whiteboard-android:2.16.95"
}
Add the following line in the app/proguard-rules.pro file to prevent obfuscating the code
# SDK model
-keep class com.herewhite.** { *; }
# Application classes that will be serialized/deserialized over Gson
Our change log has release history.
The latest release is available on jitpack