Skip to main content
Version: 5.9.0

Known limitations in 5.x

This page lists public SDK API parameters that, in the current version (5.x), are either not applied or applied with restrictions, as well as deprecated type names and properties. For parameters with restrictions, the page describes what is used instead and the resulting symptom.

Parameters not applied in 5.x

In 5.x the properties listed below are ignored by the runtime — changing their value has no effect on the appearance.

ParameterWhat is used insteadSymptom
ChatInputTextStyle.borderColorsystem UIColor.systemGray2The input field border color does not change
ChatInputTextStyle.borderWidthfixed value 0.5The input field border width does not change
ChatInputQuoteStyle.titleTextStylemessageAuthorTextStyleThe quote title is not styled separately — the author style is used
ChatInputQuoteStyle.subtitleTextStylemessageTextStyleThe quote subtitle is not styled separately — the message text style is used
QuickReplyStyle.buttonHeightautomatic calculation based on contentQuick reply button height is determined by the cell layout
QuickReplyStyle.insetsvalues hardcoded in the implementationQuick reply button insets are fixed. Additionally: the property is declared as public let and cannot be overridden
SurveyChatMessageStyle.voteLikeCompletedThe like button style after the survey completes is not applied
SurveyChatMessageStyle.voteCompletedColorThe color of completed survey elements is not applied
SurveyChatMessageStyle.onStarTextStyleThe text style next to rating stars is not applied
SurveyChatMessageStyle.underStarTextStyleThe caption style under rating stars is not applied
AudioPlayerStyle.recordButtonStyleThe audio record button style is not applied
ChatInputVoiceStyle.sendButtonStyleChatInputStyle.sendButtonStyleIn voice message mode, the shared send button style is used
ChatImages.backButtonImagethe system UIKit iconThe system "Back" button icon in UINavigationController is not replaced. To customize the close button, use closeButtonImage and NavigationBarStyle.closeButtonStyle
NavigationBarStyle.backButtonColorNavigationBarStyle.closeButtonStyle.color.normalOn the only usage path, the value is immediately overwritten by the color from closeButtonStyle.color.normal. For the close button color use closeButtonStyle.color.normal; the color of the system "Back" button in a regular UINavigationController is also not controlled by this parameter
ChatImages.errorAlertImageThe property is declared but not read by UI code in 5.x — changing its value has no effect on error display
ChatImages.errorShieldImageThe property is declared but not read by UI code in 5.x — changing its value has no effect on the file type error display

Parameters with conditional application

The properties listed below do work, but only under specific conditions. If your scenario does not match the condition, changing the value has no effect.

ParameterCondition
NavigationBarStyle.titleTextStyle.fontOnly when NavigationBarStyle.isConfigurable = true. The color (titleTextStyle.color) applies in both modes
NavigationBarStyle.subtitleTextStyleOnly when NavigationBarStyle.isConfigurable = true. In system mode the subtitle is not displayed
ChatInputVoiceStyle.deleteButtonStyleOnly the image, backgroundColor, and textStyle.font properties apply. The other properties (color, tintColor, cornerRadius) are ignored
SearchBarStyle.cancelButtonStyleOnly color.normal applies: on iPad — as the tintColor of UIBarButtonItem; on iPhone — as the foregroundColor text attribute via UIBarButtonItem.appearance(...). The other properties (color.highlighted/disabled, image, backgroundColor, textStyle, cornerRadius) are ignored
ChatMenuStyle.titleTextStyleOnly .color applies, and not as the title color, but as the tintColor of the entire UIAlertController (affects the color of action buttons). Font and other text attributes are not configurable — a UIAlertController limitation
ChatMessagesStyles.bubbleErrorColorApplies only to outgoing messages (from the client). The "not delivered" state is not defined for incoming messages
ChatNetworkConfig.HTTPConfig.connectionTimeoutApplies only to REST requests. For WebSocket, a separate wsConfig.connectionTimeout is used
ChatConfig.keepSocketActive, ChatConfig.keepSocketActiveDuringOperatorSessionBy default (shouldUseRemoteConfig = true) the channel server config takes priority; local values are used as a fallback if the server has not sent the corresponding field. To guarantee that only local settings are used, set shouldUseRemoteConfig = false
QuickReplyStyle.color (normal/highlighted)Applies only in mode = .toolbar. In mode = .embed (default), the button background is taken from QuickReplyStyle.backgroundColor and color is ignored
QuickReplyStyle.borderWidthApplies only in mode = .embed (default). In mode = .toolbar the border width is hardcoded to 1 and does not change
NavigationBarStyle.closeButtonStyleOnly image and color.normal apply (see also backButtonColor above). The properties color.highlighted/disabled, backgroundColor, cornerRadius, tintColor, textStyle are ignored. Applies only when showCloseButton = true and the chat screen is the root controller of navigation

Deprecated type names

The names below are preserved as aliases for backward compatibility and marked @available(*, deprecated). Use the new names in the right column.

Old name (deprecated)Current name
AudioMessageStyleAudioChatMessageStyle
AudioPlayerChatStyleAudioPlayerStyle
ButtonChatStyleButtonStyle
FileMessageStyleFileChatMessageStyle
IconButtonChatStyleIconButtonStyle
ImageMessageStyleImageChatMessageStyle
InputChatTextStyleChatInputTextStyle
InputChatVoiceStyleChatInputVoiceStyle
InputViewStyleChatInputStyle
PhotoPickerStyleChatMenuStyle
PlaceholderChatStyleChatPlaceholderStyle
SearchBarChatStyleSearchBarStyle
SystemMessagesStylesChatSystemMessagesStyles
TextChatStyleChatTextStyle
TextMessageStyleTextChatMessageStyle

Deprecated properties

The properties below remain public for backward compatibility and are marked @available(*, deprecated). Xcode emits a warning when they are used.

PropertyLocationReplacement
ChatInputTextStyle.alignmentChatInputTextStyleUse ChatInputStyle.alignment (alignment is set at the ChatInputStyle level, not on the text field)
ChatComponents.photoPickerStyleChatComponentsUse ChatComponents.chatMenuStyle (the file picker menu style)
ChatFlow.photoPickerStyleChatFlowUse ChatFlow.addFileMenuStyle (the add-file menu style)
SurveyChatMessageStyle.questionBackgroundColorSurveyChatMessageStyleUse SurveyChatMessageStyle.questionButtonColor

See also the changelog for per-version details.