SendBird - Messaging and Chat API for Mobile Apps and Websites
SendBird provides the chat API and SDK for your app enabling real-time communication among your users.
https://docs.sendbird.com/ Add below in your build.gradle file at app level (not project level).
repositories {
maven { url "https://raw.githubusercontent.com/sendbird/SendBird-SDK-Android/master/" }
}
dependencies {
implementation 'com.sendbird.sdk:sendbird-android-sdk:3.0.142'
}
TLS1.3 support is included in version 3.0.106 of the SendBird Android SDK. TLS1.3 is enabled by default. To disable it, please include the following configuration to the gradle dependency:
Note: The SendBird Android SDK depends on the Conscrypt library in order to support TLS1.3
dependencies {
implementation ('com.sendbird.sdk:sendbird-android-sdk:3.0.142') {
exclude group: 'org.conscrypt', module: 'conscrypt-android'
}
}
The Android SDK requires some permissions from your app's AndroidManifest.xml file. These permissions allow the SDK to communicate SendBird server and read or write file to external storage.
You need below permissions.
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
SyncManager SDK is a support add-on for SendBird SDK. Major benefits of SyncManager are,
- Local cache integrated: store channel/message data in local storage for fast view loading.
- Event-driven data handling: subscribe channel/message event like
insert,update,removeat a single spot in order to apply data event to view.
Check out Android Sample with SyncManager which is same as Android Sample with SyncManager integrated.
For more information about SyncManager, please refer to SyncManager README.