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 therepositoriesblock:repositories {...maven { url 'https://zendesk.jfrog.io/zendesk/repo' }} -
Add the Unified SDK dependency.
dependencies {...api group: 'com.zendesk', name: 'messaging', version: '5.6.0'}Note:
messagingdoesn't refer to the messaging channel, this is the name of the Classic SDK UI. -
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.4.0'To integrate the Chat SDK, add:
api group: 'com.zendesk', name: 'chat', version: '3.6.0'To integrate the Answer Bot SDK, add:
api group: 'com.zendesk', name: 'answerbot', version: '3.3.2'