Adding the Unified SDK (Required)
Adding the Unified SDK (Required)
-
Add the Zendesk repository.
In your app's build.gradle file (not the root project
build.gradle
), add the Zendesk repository to therepositories
block:repositories {
...
maven { url 'https://zendesk.jfrog.io/zendesk/repo' }
}
-
Add the Unified SDK dependency.
dependencies {
...
api group: 'com.zendesk', name: 'messaging', version: '5.2.5'
}
-
Add other Zendesk product SDKs you want to use with the Unified SDK.
To integrate the Support SDK, add:
api group: 'com.zendesk', name: 'support', version: '5.1.1'
To integrate the Chat SDK, add:
api group: 'com.zendesk', name: 'chat', version: '3.3.6'
To integrate the Answer Bot SDK, add:
api group: 'com.zendesk', name: 'answerbot', version: '3.1.0'