Install the Android SDK
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.
1maven {
2 url "https://s3.amazonaws.com/inapp.salesforce.com/public/android"
3}1maven {
2 url = uri("https://s3.amazonaws.com/inapp.salesforce.com/public/android")
3}Add Dependency
Add the following dependency to your build.gradle or build.gradle.kts file.
1dependencies {
2 implementation "com.salesforce.service:messaging-inapp-ui:<version>"
3}1dependencies {
2 implementation("com.salesforce.service:messaging-inapp-ui:<version>")
3}To get the latest version information, refer to the Enhanced In-App Chat release notes.
Tip
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>.
Note
Update Other Settings
Turn on the dataBinding feature in the Android section of your build.gradle file.
1buildFeatures {
2 dataBinding true
3}1buildFeatures {
2 dataBinding = true
3}