added

Brand Messenger iOS SDK 1.12.0

The latest release boasts new and exciting additions to the widget. These features include the ability to set the widget for your mobile application, retrieve display conditions from the widget, determine whether the display conditions are met, and turn off the widget. These upgrades are essential for optimal performance.

Date: December 8, 2022

Updates

Widgets

To set the widgetId for your iOS SDK, add the code given below to your mobile application:

BrandMessengerManager.setWidgetId("<WIDGET-ID>");

Retrieve all the Display Conditions from the Chat Widget

To retrieve all the display conditions from the chat widget configuration for your iOS SDK, add the code given below to your mobile application.

BrandMessengerManager.getAllDisplayConditions { displayConditions, error in }

Know whether all the Display Conditions are Met

To know whether all the display conditions from your chat widget met with the iOS mobile application, add the code given below to your mobile application.

BrandMessengerManager.isAllDisplayConditionsMet { hasDisplayConditionsMet, error in }

Turn Off the Chat Widget

To turn off the chat widget for your iOS mobile application, add the below code:

BrandMessengerManager.isWidgetHashEnabled { isWidgetHashEnabled, error in }

Learn more about how to get and set the widget id, see Configuring the Application from Care Console for Brand Messenger iOS SDK.