1. Install TIO Chat SDK
Setup gradle maven
allprojects {
repositories {
google()
mavenCentral()
maven {
url "https://gitlab.com/api/v4/projects/47870260/packages/maven"
credentials(HttpHeaderCredentials) {
name = "Private-Token"
value = "{SDK_PRIVATE_KEY}"
}
authentication {
header(HttpHeaderAuthentication)
}
}
}
}dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)
repositories {
google()
mavenCentral()
maven {
url "https://gitlab.com/api/v4/projects/47870260/packages/maven"
credentials(HttpHeaderCredentials) {
name = "Private-Token"
value = "{SDK_PRIVATE_KEY}"
}
authentication {
header(HttpHeaderAuthentication)
}
}
}
}Open file app/build.grade then add sdk:
Initialize TIO Chat in file Application
ApplicationLast updated