1.x.x to 2.x.x Migration

Zendesk SDK version 2.x.x and above has been upgraded to provide greater flexibility in selecting capabilities included within the product during SDK integration. Several new features have been introduced to enhance customer engagement.

Due to these updates, migration is required for any integrations using SDK versions below 2.0.0.

SDK initialization has been moved from the Messaging module to the Zendesk module. See Initialize the SDK for more details. The initialization snippet now accepts a factory implementation of messaging, and errors are returned as a Throwable object instead of a ZendeskError object.

The following Messaging functions have also been migrated to Zendesk.

OldNew
Messaging.initialize(...)Zendesk.initialize(...)
Messaging.instance().showMessaging()Zendesk.instance.messaging.showMessaging(...)