Releases: cometchat/cometchat-uikit-ios
Releases · cometchat/cometchat-uikit-ios
v5.0.0-beta.2
New
- Revamped UI: Experience a fresh, modern design for improved visual appeal and consistency. The updated look enhances usability and engagement.
- Restructured Components: Enjoy a redesigned component architecture that improves scalability, making it easier to build and maintain modular designs.
Enhancements
- Optimized User Experience: Interactions have been streamlined to provide a smoother, more intuitive experience, reducing friction during use.
- Advanced Styling and Theming: Gain greater flexibility with enhanced customization options, allowing you to tailor appearances to suit your brand effortlessly.
- Simplified Integration: Set up faster and with ease thanks to a more intuitive, streamlined integration process.
Fixes
- None
Removals
- Style Props Removed: Style-specific props have been deprecated to encourage the use of modern theming practices, which offer more robust and scalable customization options.
4.3.18
New
- None
Enhancements
- None
Fixes
- Resolved an issue where the custom
MessageRequestBuilder
was not working withCometChatMessageList
. - Corrected reaction alignment in
CometChatMessageList
when messages were aligned to the left; reactions now align properly. - Fixed a bug where
MessagesConfiguration
inCometChatConversationsWithMessages
was not applied toCometChatMessages
when accessed via the "Message Privately" option in group chat. - Fixed an animation issue when transitioning between
CometChatMessages
views using the "Message Privately" option. - Ensured the global navigation style now applies correctly to the
CometChatDetails
component. - Addressed an issue where the initial characters of user and group names were incorrectly capitalized in
CometChatMessageHeader
,CometChatConversations
,CometChatUsers
, andCometChatGroup
components. - Resolved a bug (introduced in v4.3.17) where all users incorrectly appeared as online in the
CometChatReactionList
. - Fixed the
disable(userPresence: Bool)
property inCometChatMessageHeader
andCometChatDetails
. - Fixed the
hide(headerView: Bool)
property to ensure it works correctly with custom header views inCometChatMessageList
. - Resolved an issue where the
disable(reaction: Bool)
property inThreadedMessageConfiguration
was not working.
4.3.17
New
- Added a new prop
hideReceipt
to hide the receipt in the message bubble and conversation’s last message.
Enhancements
- If
isIncludeBlockedUsers
is set to true in theConversationsRequestBuilder
and the logged-in user blocks another user, the conversation is not removed from the list.
Fixes
- Fixed an issue with the empty view not being replaced when search ends in an empty result in
CometChatGroup
,CometChatUsers
, andCometChatAddMember
. - Resolved an issue where the thread icon was not visible after replying to a message and returning to the message list.
- Resolved the navigation bar overlapping issue in
CometChatMessages
when a new view controller is opened or when the user navigates back to the previous screen. - Fixed an issue with the corner radius of the status indicator in
CometChatMessageHeader
. - Fixed a crash when trying to send documents on an iPad in
CometChatMessageComposer
. - Added the following properties that were missing in
MessageComposerConfiguration
:deleteIconTint
submitIconTint
timerTextColor
timerTextFont
pauseIconTint
stopIconTint
playIconTint
infoIcon
onSuggestionItemClick
setAIOptions
aiOptionsStyle
onClickSuggestionListView
- Added the following properties that were missing in
MessageComposerStyle
:separatorTint
actionSheetSeparatorTint
actionSheetBackground
voiceRecordingIconTint
taiIconTint
infoTextColor
infoTextAppearance
infoIconTintColor
infoBackgroundColor
infoSeparatorColor
inputBorderColor
inputBorderWidth
inputCornerRadius
- Fixed the following properties that were not working in
MessageComposerStyle
:placeHolderTextFont
actionSheetTitleFont
actionSheetLayoutModelIconTint
actionSheetCancelButtonIconFont
actionSheetCancelButtonIconTint
textFont
textColor
separatorTint
actionSheetSeparatorTint
actionSheetBackground
voiceRecordingIconTint
infoTextColor
infoIconTintColor
infoBackgroundColor
infoSeparatorColor
Deprecations
- Deprecated
disableReceipt
prop fromCometChatMessageList
&CometChatConversations
components.
4.3.16
New
- The sender of a message will now see a double tick on a group message to indicate that the message has been successfully delivered to all users within that group, and a double blue tick once it has been read by all participants in the group.
4.3.15
Fixes
- Added the following missing properties in
ConversationsStyle
:- emptyTextFont
- lastMessageTextFont
- typingIndicatorTextFont
- threadIndicatorTextFont
- separatorColor
- emptyTextColor
- errorTextColor
- lastMessageTextColor
- typingIndicatorTextColor
- threadIndicatorTextColor
- Added the following missing properties in
ConversationsConfiguration
:- tailView
- disableMentions
- Added the following missing properties in
MessageHeaderConfiguration
:- statusIndicatorStyle
- listItemView
- backIconView
- Added the following missing properties in
MessageListConfiguration
:- reactionListConfiguration
- emptyStateText
- errorStateText
- actionSheetStyle
- disableMentions
- hideAddReactionsIcon
- Fixed issue with the following properties not working in
MessageHeaderStyle
:- border
- borderColor
- borderRadius
- typingIndicatorTextColor
- typingIndicatorTextFont
- detailIconTint
- subtitleTextColorForOffline
- subtitleTextColor
- Fixed issue with the following properties not working in
MessageListConfiguration
:- errorStateText
- emptyStateText
- actionSheetStyle
- disableMentions
- hideAddReactionsIcon
- waitIcon
- messageBubbleStyle
- EmojiKeyboardStyle
- setDatePattern
- Fixed issue with customising status indicator background color in
CometChatMessageHeader
component
- Added the following missing properties in
CometChatListBase
:- lastMessageTextFont
- typingIndicatorTextFont
- threadIndicatorTextFont
- separatorColor
- errorTextColor
- lastMessageTextColor
- typingIndicatorTextColor
- threadIndicatorTextColor
- privateGroupIconBackgroundColor
- protectedGroupIconBackgroundColor
- Added the missing property titleTextColor in
MessageHeaderStyle
. - Added the missing property threadReplyIconTint in
MessageListStyle
. - Fixed issue with custom error text in the
CometChatMessageList
. - Fixed issue with custom error text and status indicator color in
CometChatConversations
. - Fixed issue with status indicator background and title color in
CometChatMessageHeader
for group conversation. - Fixed issues with the textFormatters property not working in
CometChatConversations
. - Fixed issue with custom error text in
ConversationsConfiguration
. - Fixed issue with overriding privateGroupIcon and protectedGroupIcon in
CometChatMessageHeader
.
4.3.14
Fixes
- Fixed an issue where the UI navigation bar of the
CometChatConversations
component was transparent. - Fixed an issue where the reply count of a message was incremented when sending a message in a thread, even if the user was blocked by the logged-in user.
- Fixed an issue where the UI swap actions in the
CometChatConversations
component could not be overridden. - Fixed a bug where the prop to customize
avatarStyle
inMessageHeaderConfiguration
was missing. - Fixed a bug where the prop to customize
avatarStyle
inMessageListConfiguration
was missing. - Fixed a bug where the prop to customize
reactionStyle
inReactionsConfiguration
was missing. - Fixed a crash that occurred when opening the detail page with a custom profile view set.
- Fixed an issue where disabling sound for messages in the
CometChatMessageList
andCometChatMessageComposer
was not working. - Fixed a crash that occurred when selecting and then deselecting a list item in the
CometChatContacts
component.
4.3.13
Enhancements
- Addressed high memory usage causing performance degradation in long-running applications, ensuring stable and predictable memory consumption for improved overall application stability and user experience.
- Made all the callback protocol methods optional, simplifying the development process by allowing developers to implement only the necessary functions. This change reduces boilerplate code and makes the codebase cleaner and more maintainable.
- Improved internal management of the connect and disconnect methods in all components. Developers no longer need to manually call these methods, as the connection lifecycle is now handled automatically, leading to a more seamless integration and reduced risk of connection issues.
- Improved handling of multiple internal events for updating components in response to local actions, ensuring smoother and more responsive user interactions.
Fixes
- Fixed an issue where dark mode toggle in CometChatConversations resulted in elements becoming invisible.
- Fixed read/delivered receipts behaving inconsistently in multiple cases, such as:
- When the same user is logged in on two devices, reading a message on one device does not update its read status on the other device.
- Addressed issues where the last message was not marked as read in CometChatMessages when it is opened from CometChatConversationsWithMessages.
4.3.12
Fixes
- Fixed an issue where the date separator in
CometChatMessageList
could not be styled, allowing customization of its appearance. - Fixed a bug where the prop to hide the send button in the
CometChatMessageComposer
component was missing. - Updated the group conversation typing indicator to display the name of the user who is typing.
- Fixed an issue where the status of blocked users (online/typing) was still visible in the
CometChatMessageHeader
andCometChatConversation
components. - Fixed an issue in the
CometChatAddMembers
component where the add button was not visible after performing a search. - Fixed a crash that occurred when opening an image preview on an iPad.
4.3.11
New
- Added
ThreadedMessagesStyle
to customize the UI ofCometChatThreadedMessages
.
Enhancements
- Added logic to manually clear active call object using
CometChat.clearActiveCall()
when a call ends unexpectedly, allowing subsequent call initiation. - Added the ability to configure a custom icon for the done button shown in
CometChatThreadedMessages
. - Updated
CometChatSDK
to4.0.49
for better performance.
Fixes
- Fixed video thumbnail and image preview taking very long to be visible in the sending state of messages.
- Fixed issue of duplication of conversations shown in
CometChatConversations
observed in the situation where a call is accepted when theCometChatConversations
view is in the navigation stack and after ending that call. - Resolved issue where messages were not fetched when a custom
MessagesRequestBuilder
is passed toCometChatMessageList
and uid or guid is not explicitly provided in thatMessagesRequestBuilder
object. - Fixed issue of inability to customize the color and font of the text in the done button shown in
CometChatThreadedMessages
.
4.3.10
Fixes
- Resolved issue where the title text for the
CometChatGroups
andCometChatCreateGroup
components could not be modified. - Fixed problem preventing developers from updating the styling of the
CometChatGroups
andCometChatCreateGroup
components. - Corrected issue where
CometChatConversations
displayed duplicate data upon refresh.