Skip to content

Releases: cometchat/cometchat-uikit-react-native

v5.3.2

03 Apr 12:10
89c24a1

Choose a tag to compare

New

  • None

Enhancements

  • None

Fixes

  • Fixed a crash in the thread component that occurred when marking a message as read.

v5.3.1

02 Apr 12:36
9107a4e

Choose a tag to compare

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 markAsRead method threw an UNKNOWN_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

30 Mar 10:16
ffc5692

Choose a tag to compare

New

  • Introduced the CometChatCompactMessageComposer component, a single-line message composer designed to provide a more streamlined message composition experience.
  • Added the showTextSelectionMenuItems prop to display text formatting options (bold, italic, etc.) in the native text selection menu when users select text within the composer.
  • Added the hideRichTextFormattingOptions prop to hide the fixed formatting toolbar above the message composer header for a cleaner interface.
  • Added the enableRichTextEditor master 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

07 Mar 06:14
f7e119b

Choose a tag to compare

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 showMarkAsUnreadOption prop did not work when custom message templates were passed to the message list.

v5.2.10

05 Feb 07:08
4c83a08

Choose a tag to compare

New

  • None

Enhancements

  • None

Fixes

  • Fixed an issue where users were unable to mention other users from the message composer.

v5.2.9

27 Jan 14:28
44f64b5

Choose a tag to compare

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 CometChatMessageList to 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 new customization options to CometChatMessageList for the New Messages indicator, allowing greater flexibility in appearance and behavior:
    • Added NewMessageIndicatorView to render a fully custom New Messages indicator component.
    • Added newMessageIndicatorStyle to apply custom styles to the New Messages indicator.
    • Added newMessageIndicatorText to customize the text displayed in the New Messages indicator.

Enhancements

  • Enhanced the CometChatBottomSheet with 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

20 Jan 12:38
d875bc5

Choose a tag to compare

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.

v5.2.7

16 Jan 16:07
c89cbdb

Choose a tag to compare

New

  • None

Enhancements

  • None

Fixes

  • Fixed an issue where the application was crashing when sending multiple messages in an AI agent chat, even when messages were sent one by one.
  • Fixed an issue where previously sent messages were disappearing while sending a new message in an AI agent chat.
  • Fixed an issue where AI agent responses were only partially rendered, ensuring complete messages are displayed as expected.

v5.2.6

19 Dec 03:16
985cab5

Choose a tag to compare

New

  • None

Enhancements

  • None

Fixes

  • Fixed an issue where a loading indicator was missing from the history list in the call details section.
  • Resolved an issue where the onSelection callback was triggered on initial render, even when no user selection was made.
  • Fixed an issue where the group member count was incorrect when adding users who were already admins or moderators.
  • Resolved an issue where read receipts and user information were visible even when the read receipt visibility option was disabled.
  • Fixed an issue where the "Online" status text was not localized correctly across different languages on the user info screen.
  • Resolved an app crash that occurred after changing the font size and reopening the application.
  • Fixed an issue where cursor movement behaved incorrectly when mentioned text was present in the message input field.
  • Resolved an issue where reacting to a message did not properly dismiss the keyboard.
  • Fixed an issue where the "In Time" status was not displayed accurately on the user info screen.
  • Resolved an issue on iOS devices where the incoming call screen occasionally appeared as an ongoing call, preventing users from accepting or rejecting the call.
  • Fixed an issue where the save button in the group members scope modal appeared enabled even when no changes were made.
  • Resolved an issue where clearing the search input using the close icon also unintentionally cleared applied filters.

v5.2.5

12 Dec 13:30
2e80e0d

Choose a tag to compare

New

  • Introduced @all mention feature in React Native UIKit, enabling users to notify all group members at once.
  • Implemented flagging feature in React Native UIKit, allowing users to report inappropriate messages for moderation.
  • Introduced the Reply Message feature, enabling users to reply directly to a specific message within a chat.
  • Added a new hideReplyOption property in the message list, allowing developers to hide the option to reply to a message. By default, the reply option is visible.
  • Introduced swipe-to-reply gesture functionality using PanGestureHandler in CometChatMessageList, allowing users to swipe messages to initiate a reply.
  • Added a new message event ccReplyToMessage, which displays a preview of the message being replied to in the composer.
  • Added a new replyView section in CometChatMessageTemplate to show a message preview inside the message bubble for the message being replied to.
  • Introduced CometChatSearch component, enabling users to search across conversations, messages, or both.
  • Added goToMessageId prop in CometChatMessageList to launch the list with a specific message highlighted—useful when navigating from search results.
  • Introduced CometChatSearchScope enum to define whether the search should be performed in conversations, messages, or both.
  • Introduced CometChatSearchFilter enum to support setting an initialSearchFilter or to provide a custom list of filters for the CometChatSearch component.
  • Implemented advance filter pairing for search filters (e.g., photos/videos pair, audio/documents pair) to provide better search experience.

Enhancements

  • Added listeners (CometChatMessageEvents) in StickersExtensionDecorator, CollaborativeDocumentExtensionDecorator, CollaborativeWhiteboardExtensionDecorator, and PollsExtensionDecorator to track quoted messages and manage their status based on reply progress or completion.
  • Enhanced CometChatMessagePreview component to handle deleted quoted messages by showing "Message Deleted" text when the original quoted message is no longer available.
    experience across different content types.

Fixes

  • Resolved an issue where users were unable to react to media files they had sent.
  • Fixed a bug where the reaction option was unavailable for a user’s own quoted messages.
  • Corrected an image alignment issue in moderated messages, ensuring proper layout display.
  • Fixed an issue where theming overrides were not applied as expected in React Native UIKit.
  • Corrected an icon mismatch where Private and Password-protected group type icons were interchanged in React Native UIKit.
  • Fixed an issue where tapping the call button or an entry in call history failed to initiate a call.
  • Fixed an issue where the incoming call UI occasionally extended beyond the visible screen area on iOS devices. The layout now consistently displays within screen boundaries across supported iOS models.
  • Fixed an issue where the theme was not applied as expected when passed to CometChatThemeProvider. The theme is now correctly recognized and rendered across the UI.

Deprecations

  • None

Removals

  • None