What are the configuration settings for the Business Messaging iOS SDK?
Clearing local data
Use the following method to delete any local data that has been saved inside the SDK, such as databases and files:
Swift
- Businessmessaging.clearData(appId: <#AppId#>)
Objective-C
- [Businessmessaging clearDataWithAppId:<#AppId#>];
SDK logging
By default, the SDK logs are enabled. To get the debug logs printed in logcat, enable the logs by the following method:
Swift
- import BusinessMessagingSDK
...
Businessmessaging.enableLog(isLogEnabled: <#T##Bool#>)
Objective-C
- @import BusinessMessagingSDK;
...
[Businessmessaging enableLogWithIsLogEnabled:<#(BOOL)#>];
Control agent transfer option visibility
BusinessMessaging.setAgentTransferOptionVisibility(isVisible: <#T##Bool#>)
Use the above API TO show or hide the agent transfer option in the business messaging interface. Set true to display the option or false to hide it based on your workflow needs.