Chat UIKit Android View v3
Chat UIKit Android View
Chat UIKit
Android View
Version 3

Install Sendbird UIKit for Android

Copy link

You can start building a messaging experience in your app by installing Sendbird UIKit. This developer kit is an add-on feature to Sendbird Chat SDK so installing it will also install the core Chat SDK.

Configuring the repository

Copy link

You can install UIKit for Android through Gradle.

Gradle 6.8 or higher

Copy link

If you are using Gradle 6.8 or higher, add the following to your settings.gradle file:

settings.gradle.ktssettings.gradle
dependencyResolutionManagement {
    repositories {
        maven { setUrl("https://jitpack.io") }
        maven { setUrl("https://repo.sendbird.com/public/maven") }
    }
}

Gradle 6.7 or lower

Copy link

If you are using Gradle 6.7 or lower, add the following code to your root build.gradle file:

build.gradle.ktsbuild.gradle
allprojects {
    repositories {
        maven { setUrl("https://jitpack.io") }
        maven { setUrl("https://repo.sendbird.com/public/maven") }
    }
}

Note: Make sure the above code block isn't added to your module build.gradle file.

Adding the Dependency

Copy link

Add the dependency to your module build.gradle file.

build.gradle.ktsbuild.gradle
plugins {
    id("com.android.application")
    id("org.jetbrains.kotlin.android")
}

android {
    buildFeatures {
        viewBinding = true
    }

    compileOptions {
        sourceCompatibility = JavaVersion.VERSION_1_8
        targetCompatibility = JavaVersion.VERSION_1_8
    }
}

dependencies {
    implementation("com.sendbird.sdk:uikit:3.+")
}