/SendBird-SDK-Android

SendBird Android SDK

OtherNOASSERTION

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.

Platform Languages Maven Commercial License

Documentation

https://docs.sendbird.com/

SendBird SDK Install using Gradle

Add below in your build.gradle file at app level (not project level).

repositories {
    maven { url "https://raw.githubusercontent.com/smilefam/SendBird-SDK-Android/master/" }
}
dependencies {
    compile 'com.sendbird.sdk:sendbird-android-sdk:3.0.90'
}

Android Permissions

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.

AndroidManifest.xml

<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

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, remove at 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.