Releases: cometchat/cometchat-uikit-react-native
Releases · cometchat/cometchat-uikit-react-native
v5.3.5
v5.3.5
New
• None
Enhancements
• None
Fixes
• Fixed imported image messages crashing on iOS with "No suitable image URL loader found" error when messages are imported via the data import API without thumbnail metadata.
• Fixed TypeError crash in CometChatConversations when call events fire while the component is unmounted during stack navigation.
• Fixed conversation list showing stale "Last seen" instead of "Online" status when navigating back to a chat, and read receipts being overwritten by delivered receipts due to React batching.
v5.3.4
v5.3.4
New
- None
Enhancements
- None
Fixes
- Fixed an issue where the add attachment button was not visible in the message composer under certain conditions.
- Fixed an issue in the sample app where the message composer remained visible after a user was kicked or banned from a group.
- Fixed an issue where mentions broke when used together with rich text formatting.
- Fixed an issue where the bottom action button in Collaborative Document view was hidden despite Safe Area edges being applied.
v5.3.3
New
- None
Enhancements
- None
Fixes
- Fixed an issue where a blank space appeared at the bottom of the screen after selecting the Attach option.
- Fixed an issue where swipe-to-reply did not navigate to the original message when using custom message templates passed via the
templatesprop inCometChatMessageList. - Fixed a crash on Android where
badgeCountin notifications failed whenunreadMessageCountwas missing. - Fixed an issue where long text in the conversation list subtitle was not truncated when the rich text formatter returned JSX.
- Fixed an issue where rich text formatting (such as bold and italic) was not preserved in the reply preview.
- Fixed an issue where nested ordered and bullet lists were not properly supported in message bubbles.
- Fixed an issue where outgoing call rejection callbacks returned an "unanswered" status when the receiver app was killed.
- Fixed an issue where sending the first message to a new user resulted in an
ERR_CONVERSATION_NOT_ACCESSIBLEerror. - Fixed an issue where mentions were not clickable when sent along with rich text formatting.
v5.3.2
New
- None
Enhancements
- None
Fixes
- Fixed a crash in the thread component that occurred when marking a message as read.
v5.3.1
New
- None
Enhancements
- None
Fixes
- Fixed a runtime error that occurred when performing group member actions such as adding or removing members.
- Resolved an issue where the
markAsReadmethod threw anUNKNOWN_ERROR_OCCURRED. - Fixed a UI issue where navigating back from the Advanced Search screen briefly displayed the same screen before returning to the Conversation List.
- Fixed an issue where chat names were truncated in the chat list when the device font size was increased via system settings.
- Resolved an issue where search results were incorrectly displayed when the link filter was selected.
- Fixed an issue where message deduplication corrupted InteractiveMessage types, causing message rendering to fail.
- Fixed an issue where message receipt ticks (delivered/read) did not update correctly in group conversations when "delivered to all" or "read by all" events were triggered.
- Fixed an issue in the rich text editor where applying text formatting (such as bold or underline) before adding an @mention caused the mention to lose its highlighting after the message was sent.
v5.3.0
New
- Introduced the
CometChatCompactMessageComposercomponent, a single-line message composer designed to provide a more streamlined message composition experience. - Added the
showTextSelectionMenuItemsprop to display text formatting options (bold, italic, etc.) in the native text selection menu when users select text within the composer. - Added the
hideRichTextFormattingOptionsprop to hide the fixed formatting toolbar above the message composer header for a cleaner interface. - Added the
enableRichTextEditormaster prop to control all rich text functionality. When disabled:- Both selection menu items and fixed formatting toolbar are hidden, regardless of other prop settings.
Enhancements
- None
Fixes
- None
v5.2.11
New
- Added support for badge counts in the React Native push notification sample app, enabling apps to display unread message counts on the app icon.
Enhancements
- Added an error message in the message bubble when users attempt to send a file type that is not allowed in chat.
Fixes
- Fixed an issue where the UI was not fully responsive on iPad screens.
- Resolved an issue where the conversation list incorrectly navigated back to the search state instead of returning to the conversation list.
- Fixed an issue where emojis were cropped when the device’s OS-level text size was set to a large value.
- Fixed an issue where message bubble theme colors did not update in real time when switching between light and dark mode.
- Fixed a crash that occurred when the system language was changed while the app was running in the background.
- Fixed an issue where the
showMarkAsUnreadOptionprop did not work when custom message templates were passed to the message list.
v5.2.10
New
- None
Enhancements
- None
Fixes
- Fixed an issue where users were unable to mention other users from the message composer.
v5.2.9
New
- Added dynamic visibility control for Call and Video Call buttons, allowing them to be enabled or disabled in real time based on dashboard configuration settings.
- Introduced new configuration options in
CometChatMessageListto give developers greater control over unread message behavior:- Added
showMarkAsUnreadOption(default:false) to enable or disable the Mark as Unread option. - Added
startFromUnreadMessages(default:false) to allow message lists to start from the first unread message when enabled.
- Added
- Added new customization options to
CometChatMessageListfor the New Messages indicator, allowing greater flexibility in appearance and behavior:- Added
NewMessageIndicatorViewto render a fully custom New Messages indicator component. - Added
newMessageIndicatorStyleto apply custom styles to the New Messages indicator. - Added
newMessageIndicatorTextto customize the text displayed in the New Messages indicator.
- Added
Enhancements
- Enhanced the
CometChatBottomSheetwith responsive dimensions and improved orientation handling for a consistent experience across iOS and Android devices. - Improved permission handling by requesting camera and microphone access only when users perform relevant actions, such as opening the camera or initiating voice or video calls.
- Enhanced network error handling by displaying a Retry button across all tabs when a network failure occurs, allowing users to easily retry failed actions.
- Improved bottom sheet layout alignment when using the CometChat React Native UI Kit with NativeWind, ensuring consistent and accurate UI rendering.
- Improved agent streaming reliability by preventing interruptions when users switch browser tabs, ensuring a seamless streaming experience.
Fixes
- Fixed an issue on iOS where auto-corrected text was not sent; messages now correctly include auto-corrected words.
- Fixed an issue where tabs remained visible when the keyboard was open; tabs are now automatically hidden to prevent UI overlap.
- Fixed an issue where the Send button was incorrectly disabled when no text was entered, ensuring consistent and expected messaging behavior.
- Fixed inconsistent URL formatting where links containing extra characters (for example,
wwww.google.com) were displayed differently for senders and receivers; valid URLs are now consistently detected and rendered as clickable links. - Fixed an intermittent crash that occurred when selecting the Reply option in a conversation, improving application stability.
- Fixed an issue in thread views where clicking on link text or link previews had no effect; links now open correctly.
- Fixed an issue where multiple links in a conversation could be incorrectly merged, ensuring each link is associated with the correct preview.
- Fixed inconsistent link interaction behavior across iOS and Android; links and link previews are now clickable and function consistently on both platforms.
v5.2.8
New
- None
Enhancements
- None
Fixes
- Fixed an issue where rich media previews for shared links did not consistently load after navigating away from a chat and returning.