Upgrade Live Chat SDK on Android

Updated 

Upgrade to the latest version of the Live Chat SDK to take advantage of new features, enhancements, and performance improvements that enhance your app's user experience. For a complete list of changes in this release, see the release notes.

Current Release

Live Chat SDK Current Release: 13.0.1

Upgrade to 13.0.1

Note: Breaking Change:

  • Authenticated SDK Installation: The SDK installation now requires Maven credentials. To obtain these credentials, contact Sprinklr Support at tickets@sprinklr.com and refer to updated steps in Install Sprinklr Messenger section.

  • Expiry Support for Authentication Hash: Starting with this release, authentication hash will be generated with a defined expiration period. This enhances security by ensuring that each hash remains valid only for a limited time. For implementation details, see Generate User Hash.

  • Chime Installation Steps: Updated step to add video package to messenger config.

    Previous

    Updated

    import com.spr.messengerchimevideoclient.react.amazonChime.SPRAmazonChimeManager;

    import com.spr.messengerchimevideoclient.SPRAmazonChimeManager;

To upgrade to 13.0.1, follow these steps:

  • Install Live Chat SDK 13.0.1: Install the Sprinklr Live Chat Messenger using version 13.0.1. For detailed steps, see Install Sprinklr Messenger.

  • Support for Continuing Ongoing Video/Audio Calls Outside Live Chat SDK: If you want Live Chat to allow users to continue an ongoing video or audio call as an audio call even after navigating away from the Live Chat SDK and returning to the host (brand) application, add the necessary foreground service permissions. For more information, see Add Permissions.

Upgrade to 12.1.0

Install Live Chat SDK 12.1.0: Install the Sprinklr Live Chat Messenger using version 12.1.0. For detailed steps, see Install Sprinklr Messenger.

Note: Updated Installation Steps

This release introduces a Gradle plugin to enforce React Native versioning, simplifying maintenance during React Native upgrades.

Consequently, the installation steps have been updated in the following sections:

Upgrade to 12.0.1

  • Update React Native Version: Update React Native version to 0.78.2 in the root build.gradle file

  • Update Live Chat SDK Version: Update Live Chat SDK dependency to version 12.0.1 in the app-level build.gradle file

For detailed steps, see the Install Sprinklr Messenger section.

Breaking Change: AppKey Deprecated

The appKey configuration is no longer required for live chat initialization

Required Actions: Remove all instance of config.setAppKey from your project.