Customizing the SDK

The SDK allows you to customize the look and feel of your app using the MessagingConfig object. To apply a custom look and feel, assign values to the shared instance properties.

The most suitable time to customize configuration is right after the SDK initialization and before calling showConversation() or showAllConversations().

To customize an attribute, follow this example:

MessagingConfig.shared.userBubbleBorderColor = UIColor.red
MessagingConfig.shared.userBubbleBorderWidth = 1.5
MessagingConfig.shared.userBubbleBackgroundColor = UIColor(hexColor: "#FFD1A6")
MessagingConfig.shared.userBubbleTextColor = UIColor.black