added

Brand Messenger Android 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, turn off the widget, and switch between persistent and temporary databases. These upgrades are essential for optimal performance.

Date: December 8, 2022

Updates

Widgets

To set the widgetId for your android 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 android SDK, add the code given below to your mobile application.

BrandMessengerManager.getAllDisplayConditions(context, displayConditionsCallBack);

Know whether all the Display Conditions are Met

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

BrandMessengerManager.isAllDisplayConditionsMet(context, displayConditionsMetCallback);

Turn Off the Chat Widget

To turn off the chat widget for your android mobile application, refer to the code below:

BrandMessengerManager.isWidgetHashEnabled(context, widgetHashEnabledCallback);

Learn more about the widget, see Configuring the Application from Care Console for Brand Messenger Android SDK.

Persistent (on-disk) and Temporary (in-memory) Database Options

Customers can switch between using persistent and temporary databases for conversation data. This behavior can be altered using the following option. The default setting is temporary (false).

BrandMessengerUserPreference.getInstance(this).setUsePersistentMessagesStorage(true);