Install the Android SDK
To get started, install the SDK and then update some of the settings in your project.
Add the following maven repository to your build.gradle
or build.gradle.kts
file.
Add the following dependency to your build.gradle
or build.gradle.kts
file.
To get the latest version information, refer to the Messaging for In-App release notes.
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>
.
Turn on the dataBinding
feature in the Android section of your build.gradle
file.