Chat UIKit Jetpack Compose v3
Chat UIKit Jetpack Compose
Chat UIKit
Jetpack Compose
Version 3

Installation

Copy link

You can install UIKit for Jetpack Compose through Gradle.


Configuring the repository

Copy link

The dependency settings differ depending on your gradle version and language as follows:

Gradle 6.8 or higher

Copy link

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

settings.gradle.ktssettings.gradle
dependencyResolutionManagement {
    repositories {
        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://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
dependencies {
    implementation("com.sendbird.sdk:uikit-compose:1.0.0-beta.2")
}

Then, click the Sync button to apply all changes.