Release 6.21.0
Version 6.21.0
iOS Messaging SDK
Release Date: July 31, 2024
Environment requirements
The iOS Mobile Messaging SDK version 6.21.0 is supported on iOS versions 13 through 17.
This XCFramework was compiled with Swift version Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51), which means it will work Swift version 5.7.1 and above.
XCFramework is supported on CocoaPad versions 1.13.0 and greater.
Bugs fixed
- Fixed voice over announcing current assigned agent name instead of the actual agent who sent the message.
- Fixed voice over announcements for stop recording and stop replaying buttons.
- Fixed sometimes voice over announcing the "Agent is typing" twice for a single agent message.
- Fixed the accessibility issue with structured content carousel navigation where VO always moves focus on and announces the first element of the card 1 before focusing on the selected card.
- Voice over announcing unread message for every incoming message even though message is not unread one.
- Fixed accessibility issue related to structured content image without tooltip and actions was not getting ignored for accessibility services and announced as just "image".
- Fixed recorded audio message time being shown as "00:00" by backgrounding and foregrounding the app.
- Fixed when conversation screen just opened but user scrolls up and agent sends a message, it will auto scroll the conversation transcript to bottom.
- Fixed issue for conversation not getting scrolled to bottom when consumer sends multiline message.
- Fixed issue related to typing indicator not shown when the agent is sending some quick messages.
- Fixed issue related to PNG image rendering where SDK was rendering PNG image as black image.
- Fixed a rare app crash due to accessing core data nil objects.
- Fixed issue when user with only closed conversations logins but conversation screen loaded only one conversation instead of two.
Features
-
Provided the ability to identify the bot user messages and decorate the UI different from human agent messages. There are multiple branding configurations provided for this purpose.
- botUserBubbleBackgroundColor: Default value is LPColor.lpGray4.
- botUserBubbleBorderColor: Default value is LPColor.lpGray4.
- botUserBubbleLinkColor: Default value is LPColor.lpLink.
- botUserBubbleTextColor: Default value is LPColor.lpLabel.
- botUserBubbleBorderWidth: Default value is 1.
- botUserBubbleTimestampColor: Default value is LPColor.lpSecondaryLabel.
- botUserBubbleLongPressOverlayColor: Default value is LPColor.lpLabel.
- botUserBubbleLongPressOverlayAlpha: Default value is 0.3.
- botUserBubbleTopLeftCornerRadius: Default value is 8.0.
- botUserBubbleTopRightCornerRadius: Default value is 8.0.
- botUserBubbleBottomLeftCornerRadius: Default value is 0.
- botUserBubbleBottomRightCornerRadius: Default value is 8.
- botUserAvatarBackgroundColor: Default value is LPColor.lpGray4.
- botUserAvatarLeadingPadding: Default value is 8.
- botUserAvatarTrailingPadding: Default value is 8.
- botUserAvatarIconColor: Default value is LPColor.lpBackground.
- botUserDefaultAvatarImage: Default value is nil.
- botUserAvatarIconBorderWidth: Default value is 0.
- botUserAvatarIconBorderColor: Default value is LPColor.lpClear.
-
A new method is added in SDK to check consumer’s open conversation status using UMS REST API. checkActiveConversationFromServer
-
A new SDK callback is provided that will be invoked when welcome message option gets tapped. LPMessagingSDKWelcomeMessageOptionTapped
Enhancements
-
Some additional branding configurations are added for quick reply buttons. These configurations will be overriden by configurations provided in quick reply JSON.
- quickReplyTextColor: Default value is LPColor.lpGray.
- quickReplyBackgroundColor: Default value is LPColor.lpBackground.
- quickReplyBorderColor: Default value is LPColor.lpGray.
-
A new method is added "isRegisteredForPushNotifications” that takes a
tokenasstringto fully support the registerPushNotifications withStringmethod.