Releases: cometchat/cometchat-uikit-react-native
v5.2.1
New
- None
Enhancements
- None
Fixes
- Sticker panel does not open from main Message List but works in Thread Reply: Fixed the issue preventing the sticker panel from opening in the main message view.
- Header text cut off at the top in Calls tab: Resolved display issue where header text was truncated at the top of the Calls tab.
- Two chat windows open when clicking "Message Privately" in group: Fixed a bug where two chat windows were opened upon selecting "Message Privately" in a group.
- App crashes when recording voice while playing audio: Resolved crash occurring when attempting to record voice messages while playing audio.
- Deleted message still shows read/delivery receipts: Fixed the issue where deleted messages were still displaying read and delivery receipts.
- Sticker panel not closing after coming back from thread: Resolved issue where the sticker panel remained open after returning from a thread.
- Sticker Panel Fails to Open After Sending Sticker in Thread and Returning to Main Message View: Fixed the issue preventing the sticker panel from opening after sending a sticker in a thread and returning to the main message view.
- App Crashes When Sending More Than 7–10 Documents via Attach Document in Message List: Resolved the crash that occurred when sending more than 7–10 documents via the Attach Document feature in the message list.
- Rapid Call Status Transitions Displayed Incorrectly in Android Message List During iOS to Android Call: Fixed the display issue with rapid call status transitions in the message list during iOS to Android calls.
- Reply Attempt to Blocked User Shows Unsent Message Count in Message List: Resolved the issue where attempting to reply to a blocked user showed an unsent message count.
- UI Breaks on Chat Screen After Resuming App from Background with Keyboard Open: Fixed UI breaking on the chat screen when the app was resumed from the background with the keyboard open.
- Group Count Not Updating After Group Owner Transfers Ownership and Exits: Resolved the issue where the group member count did not update after the group owner transferred ownership and exited.
- Cursor is not active in the search box after pressing the "Enter" key: Fixed the issue where the cursor was not active in the search box after pressing the "Enter" key.
- Fixed an issue where incoming calls could not be answered when the app was in a killed state. This update ensures that users can now pick up calls reliably, even if the app was previously closed.
Deprecations
- None
Removals
- None
v5.2.0
New
• Added messageStream observable and streamingState observable, enabling developers to subscribe to AI agent message events and stream content updates in real time.
• Added CometChatAIAssistantMessageBubble with Markdown support, enabling clear and formatted rendering of AI Agent messages for improved readability and user experience.
• Provided quick starter suggestions in the empty state to help users begin interactions with the AI agent faster.
• Added "New Chat" button to reset conversation context and chat history sidebar for easy access to previous sessions.
• Enabled full customization through props, including:
• Streaming speed adjustments.
• Custom header, empty state, and error views.
• Visibility toggles for suggestions, history, and new chat buttons.
• Introduced callback actions for:
• onBackButtonClicked — Handle back navigation.
• onCloseButtonClicked — Handle closing the assistant chat.
• onError — Capture and handle runtime errors from header, list, or composer.
• Added aiAssistantTools prop to enable AI agent tool/function calls during conversation.
Enhancements
• None
Fixes
• None
v5.1.2
New
- None
Enhancements
- Improved image on-touch functionality for a smoother and more responsive viewing experience in ImageViewer.
- Updated UIKIT to replace deprecated SafeAreaView in React Native.
Fixes
- Fixed an issue where the warning was missing when creating a poll with more than 12 options
- Fixed an issue where the
read morebutton disappeared on reacting to the message. - Fixed an issue with missing date separator when adding multiple members to a group.
- Fixed an issue in the sample app to disable the composer in threads for blocked users
- Fixed an issue where long group names broke the UI in the thread message header
- Resolved navigation bug that redirected users to the conversation list instead of group chat after accessing Group Info/Add Member/Banned Member/View Member.
- Fixed duplicate and missing date separators displayed in message lists and thread messages.
- Resolved issue where long messages were cut off and displayed with "..." instead of the full text.
- Fixed an issue where the hardware back button did not work correctly in the Add Members view
- Fixed issue where messages sent in Thread appeared in the main message list.
- Fixed an issue where sending images caused the app to crash.
- Fixed an issue where mentioning a user caused the UI to flicker.
v5.1.1
New
- Added localization support for additional languages and regions:
- English (United Kingdom) –
en-GB - English (United States) –
en-US - Japanese –
ja - Korean –
ko - Dutch –
nl - Turkish –
tr - Italian -
it
- English (United Kingdom) –
Enhancements
- Enabled the ability to override existing localizations and add support for new languages, giving developers more control over language customization in the UI.
- Enabled localization and developer customization support for date and time formats, allowing developers to tailor display formats to match the app’s locale and specific design requirements.
- Added the ability to customize the leading view in message bubbles using
CometChatMessageTemplate.
Fixes
- Resolved an issue where the typing indicator did not appear correctly in message headers.
- Disabled long-press actions for unsent messages.
- Fixed an issue where the proximity sensor did not turn off the screen during calls when the phone was brought close to the ear.
- Fixed an issue where group search results were displayed incorrectly on scrolling.
- Fixed mention taps in the sample app to correctly navigate to the user’s chat.
- Fixed an issue that caused the Expo app to crash.
- Fixed an issue where emojis in group names appeared broken in group icons.
Deprecations
- None
Removals
- None
Known Issues
- None
v5.0.2
New
- None
Enhancements
- React Native 0.81 Support added
- Expo v54.x Support added
- Mentions Style Refact: Improved styling for mentions to ensure consistency in presentation.
Fixes
- Inconsistent Cursor Behavior: Resolved cursor focus issues when adding poll options.
- Mention Deletion: Fixed deletion bug where mentions were removed character-by-character instead of as a whole.
- Video Player Behavior: Videos now open in full-screen mode when clicked, instead of the mini-player.
- Unblock Option in Composer: Restored the missing unblock option in the composer block text.
- Timestamp Issue in Voice Recordings: Corrected timestamp display errors for voice recordings in threads.
- UI Update for Block/Unblock Action: Fixed issue where Block/Unblock message UI did not update after the second action.
- Reaction Panel: Fixed issue where the reaction panel didn't open when holding on the center of a video.
- Thread Message Navigation: Resolved issue where navigating back from thread messages redirected to conversation list.
- Unblock Text Display: Fixed issue with incorrect display of "Unblock" text after unblocking a user.
- Group Name/Password Persistence: Fixed issue where group name and password persisted when navigating back to group creation screen.
- Emoji Display in Reactions: Resolved problem where emojis were not displaying in reactions.
- Message Composer Flickering: Fixed flickering in the composer when the keyboard was opened.
- Sticker Icon Highlight: Fixed the issue where the sticker icon did not highlight when selected after focusing on the input field.
- Mismatch Between Call Types: Corrected mismatch between the call type in the Calls tab and the Call Details view.
- @Username Tap: Fixed issue where tapping on @username did not open the user's chat.
- Audio Message Play Simultaneously: Resolved issue where multiple audio messages played at the same time.
- App Crash on Navigation: Fixed crash when navigating back to conversation list after playing a recording.
- Leave Button in Group Info: Fixed issue with the "Leave" button not working in group info.
- Extra Padding in Message Options: Removed unnecessary left padding in message options section.
- Message Composer Flicker: Fixed the flickering issue in the composer screen.
- UI Break After Group Creation: Resolved UI issues after creating a group.
- Blocked User Status in Call Details: Fixed issue where a blocked user's status was still showing in the call details.
- Blocked User Typing Status: Fixed issue where a blocked user still appeared as typing.
- Delete Chat Issue: Fixed issue where all modules were displayed after selecting "Delete Chat."
Deprecations
- None
Removals
- None
Known Issues
- None
v4.3.9
New
- Updated the Sample App to React Native 0.78 with New Architecture enabled.
Enhancements
- The
customSoundForOutgoingMessagesnow functions correctly in theCometChatMessagescomponent, allowing users to customize sounds for outgoing messages.
Fixes
- Resolved an issue where the error state view briefly appeared before the reaction list loaded.
- Fixed modal presentation issues on iOS, ensuring consistent behavior.
- Corrected a bug that caused old usernames to appear in conversations after the user updated their name.
- Fixed the incorrect type definition for the
voiceRecordingIconURLprop. - Addressed type errors caused by incorrect typings across the UI Kit.
Deprecations
- None
Removals
- None
v5.0.1+SampleAppExpo
New
- Upgraded both
SampleAppandSampleAppWithPushNotificationsto React Native 0.79.4 for improved compatibility and performance. - Introduced a new
SampleAppExpoto demonstrate integration and usage of the UI Kit in Expo-based projects.
Enhancements
- None.
Deprecations
- None.
Removals
- None.
v5.0.1
New
- Added Expo compatibility, enabling seamless integration with Expo projects.
- Introduced React Native support from version 0.77 to the latest, expanding compatibility with various React Native versions.
Enhancements
- None
Fixes
- Resolved an issue where the "Edit" option would not open while the keyboard was active.
- Fixed a bug where the password-protected icon was not displayed in the conversation list.
- Corrected an issue where an incorrect password was shown when rejoining a private protected group after leaving without transferring ownership.
- Fixed an issue where not clicking on the "Block/Delete Chat" button would still trigger the button action.
- Removed extra space appearing at the bottom of the composer.
- Addressed inconsistent UI for deleted sticker message bubbles before and after reopening the chat.
- Fixed inconsistent call logos and incorrect status shown in call logs and call details.
Deprecations
- None
Removals
- None
v5.0.0
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
- Resolved: Issue where the Android app would crash when placed in the background with certain app states (e.g., notifications or incoming calls).
- Fixed: Call Button not working correctly on Android, especially when navigating between chat screens.
- Fixed: Outgoing calls not properly transitioning to the call screen after initiating a call.
- Fixed: Inconsistent display of user statuses in dark mode across devices.
- Resolved: App crashes on iOS when switching groups or users in the chat list.
- Fixed: Flickering modal UI on iOS during call initiation and chat navigation.
- Fixed: Group member scope changes not updating in real-time.
- Fixed: App freezing when editing messages in the conversation list.
- Fixed: Scroll behavior issues in group chats and calls screen on older Android devices.
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.
v5.0.0-beta.1
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.