Desk360 Docs
Search…
Mobile Chat Android SDK
Desk360 Mobile Chat SDK for Android is an open source Android library that provides live support to your customers directly from your application by writing a few lines of code.

Features

    Talk to your customers using our panel and make use of our SDK to identify a user and provide contextual support
    Powered by Firebase realtime database
    Username/email address login
    Offline messaging support
    Text, image, video (.mp4) and document (word, excel, pdf) messages.
    Ability to integrate chatbots.
    Multi-languages support: It supports 40+ languages.
    Chat feedback
The latest version of Mobile Chat Android SDK is 1.0.5.

Technical Details

    Coding Language - %100 Kotlin
    Persistence - Room
    Reactive Programming - RXJava, RXAndroid
    Multi-threading
    Architecture- MVVM, Use Cases
    Binding- Data Binding, View Binding
    API Level 21+

Setup

To integrate Desk360 Mobile Chat Android SDK into your Android project, add below parts to your build.gradlle:
1
allprojects {
2
repositories {
3
...
4
maven { url 'https://jitpack.io' }
5
}
6
}
Copied!
Add the dependency:
1
dependencies {
2
implementation 'com.github.Teknasyon-Teknoloji:desk360-livechat-android-sdk:1.0.5'
3
}
Copied!
Or Maven
Step 1. Add the JitPack repository to your build file.
1
<repositories>
2
<repository>
3
<id>jitpack.io</id>
4
<url>https://jitpack.io</url>
5
</repository>
6
</repositories>
Copied!
Step 2. Add the dependency
1
<dependency>
2
<groupId>com.github.Teknasyon-Teknoloji</groupId>
3
<artifactId>desk360-livechat-android-sdk</artifactId>
4
<version>Tag</version>
5
</dependency>
Copied!
Step 3. Add File Provider to Your AndroidManifest.xml
1
<application>
2
...
3
<provider
4
android:name=".YourFileProvider"
5
android:authorities="${applicationId}.provider"
6
android:exported="false"
7
android:grantUriPermissions="true">
8
<meta-data
9
android:name="android.support.FILE_PROVIDER_PATHS"
10
android:resource="@xml/provider_paths" />
11
</provider>
12
....
13
</application
Copied!

Usage

1
import com.desk360.livechat.manager.Desk360LiveChat
2
import com.desk360.livechat.manager.LiveChatHelper
3
import com.desk360.livechat.manager.LiveChatManager
Copied!
1
val liveChatManager = LiveChatManager.Builder()
2
.setDomainAddress("https://your.domain.address/")
3
.setToken("your_private_token")
4
.setLanguageCode("language_code")
5
.build()
6
7
Desk360LiveChat.init(activity.applicationContext, liveChatManager) { isActive ->
8
// your code
9
}
10
11
// when you want to start Live Chat
12
Desk360LiveChat.start()
Copied!

ProGuard

If you are using ProGuard, you must add this rules to avoid further compile issues.
1
-keep class com.desk360.livechat.data.** { *; }
2
-keepnames com.desk360.livechat.data.** { *; }
Copied!

Versioning

We use SemVer for versioning.

Licence

Desk360 Mobile Chat Android SDK is released under the MIT license. See LICENSE for more information.
Last modified 2mo ago