To get started, install the SDK and then update some of the settings in your project.
Add Maven Repository
Add the following maven repository to your build.gradle or build.gradle.kts file.
maven {
url "https://s3.amazonaws.com/inapp.salesforce.com/public/android"
}
maven {
url = uri("https://s3.amazonaws.com/inapp.salesforce.com/public/android")
}
Add Dependency
Add the following dependency to your build.gradle or build.gradle.kts file.
dependencies {
implementation "com.salesforce.service:messaging-inapp-ui:<version>"
}
dependencies {
implementation("com.salesforce.service:messaging-inapp-ui:<version>")
}
tip: To get the latest version information, refer to the Enhanced In-App Chat release notes.
note: If you plan to use the Core SDK (and not the UI SDK), use the following dependency instead of messaging-inapp-ui: com.salesforce.service:messaging-inapp-core:<version>.
Update Other Settings
Turn on the dataBinding feature in the Android section of your build.gradle file.
buildFeatures {
dataBinding true
}
buildFeatures {
dataBinding = true
}