Upgrade Live Chat SDK on iOS

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 Version 13.0.1

Depending on whether you are using CocoaPods or Swift Package Manager for the integration, follow the relevant section below.

Note: Breaking Change:

  • Updated CocoaPods Repository

Previous

Updated

clients-cocoapods.sprinklr.com

clients-external-cocoapods.sprinklr.com

Use the updated pod path with Live Chat SDK version 13.0.1 in all relevant integrations.

  • 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.

Using CocoaPods

If you are using CocoaPods, follow these steps:

Setup

In the setup step, use the updated pod path with Live Chat SDK version 13.0.1.

For detailed instructions, see the Using CocoaPods section.

Video Calling

Use the updated pod path for Zoom and AWS Chime integrations with Live Chat SDK version 13.0.1.

For detailed setup steps, see Taking Video Calls on Messenger.

Co-Browsing

Use the updated pod path for Co-Browsing dependencies with Live Chat SDK version 13.0.1.

For detailed setup steps, see Install Co-Browsing Related Dependencies.

Swift Package Manager

If you are using Swift Package Manager, follow the steps in Using Swift Package Manager.

Upgrade to Version 12.1.2

Depending on whether you are using CocoaPods or Swift Package Manager for the integration, follow the relevant section below.

Using CocoaPods

If you are using CocoaPods, follow these steps:

Setup

Add SPRMessengerClient to your Podfile with Live Chat SDK version 12.1.2.

For detailed steps, see the Using CocoaPods section

Video Calling

If you are adding support for video calling in Live Chat, add SPRMessengerClientChimeVideoSDK to your Podfile with Live Chat SDK version 12.1.2.

For detailed steps, see Taking video calls on messenger.

Co-Browsing

If you are adding support for co-browsing in Live Chat, add SPRMessengerClientCobrowseSDK to your Podfile with Live Chat SDK version 12.1.2.

For detailed steps, see Install Co-Browsing related dependencies.

Swift Package Manager

If you are using Swift Package Manager, follow the steps in Using Swift Package Manager.

Upgrade to Version 12.0.1

Depending on whether you are using CocoaPods or Swift Package Manager for the integration, follow the relevant section below.

Using CocoaPods

If you are using CocoaPods, follow these steps:

Setup

Add SPRMessengerClient to your Podfile with Live Chat SDK version 12.0.1

For detailed steps, see the Using CocoaPods section

Video Calling

If you are adding support for video calling in Live Chat, add SPRMessengerClientChimeVideoSDK to your Podfile with Live Chat SDK version 12.0.1

For detailed steps, see Taking video calls on messenger.

Co-Browsing

If you are adding support for co-browsing in Live Chat, add SPRMessengerClientCobrowseSDK to your Podfile with Live Chat SDK version 12.0.1

For detailed steps, see Install Co-Browsing related dependencies.

Swift Package Manager

If you are using Swift Package Manager, follow the steps in Using Swift Package Manager.

Breaking Change: AppKey Deprecated

The appKey configuration is no longer required while live chat initialization

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