Skip to content

sslyu/SendBird-SDK-Android

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

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/ 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.134'
}

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.134') {
        exclude group: 'org.conscrypt', module: 'conscrypt-android'
    }
}

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.

About

SendBird Android SDK

Resources

License

Stars

Watchers

Forks

Packages

No packages published