Skip to content

Releases: cometchat/cometchat-uikit-flutter

v5.2.4

25 Nov 08:47
3cc1dfc

Choose a tag to compare

Enhancements

  • Updated cometchat_sdk to version 4.0.30.
  • Updated cometchat_uikit_shared to version 5.1.5.

Fixes

  • Resolved an issue where the status of blocked users was still visible in the user information section, even after being blocked.
  • Fixed a bug that caused an odd message bubble to appear when deleting a call message.
  • Addressed an issue where "Unknown" was displayed instead of the actual user name while typing in the Whiteboard.
  • Addressed the issue where the option in the poll feature did not get removed when it is empty.
  • Fixed an issue where if AUDIO_FOCUS was not available, an error was incorrectly logged in Crashlytics.

v5.2.3

19 Nov 08:50
e09f76b

Choose a tag to compare

New

  • Added a Exception View in the bottom view of the message bubble. This view appears for messages whose file size exceeds the limit.
  • Added a new prop exceptionStyle in CometChatOutgoingMessageBubbleStyle to customize the background color and text appearance of the Exception View.
  • Added cached_network_image dependency in pubspec.yaml
  • Added a Exception View in the bottom view of the message bubble. This view appears for messages whose file size exceeds the limit.

Enhancements

  • Updated cometchat_sdk to version 4.0.29.
  • Updated cometchat_uikit_shared to version 5.1.4.

v5.2.2

06 Nov 17:44
0e9f480

Choose a tag to compare

Enhancements

  • Updated cometchat_sdk to version 4.0.28.
  • Updated cometchat_uikit_shared to version 5.1.3.
  • Updated cometchat_calls_sdk to version 4.2.0.

Fixes

  • Fixed the bug causing image zoom functionality to not work correctly within the available space.
  • Fixed audio message playback stopping when a new message is received.
  • Fixed UI flicker issue when sending audio messages.
  • Resolved error occurred in console while using Thumbnail Generation.
  • Fixed issue where calls failed to join when the device was locked.

v5.2.1

21 Oct 10:46
ef988d0

Choose a tag to compare

New

  • Introduced CometChatAIAssistantChat, a composite component combining a message header, message list, and composer to create an interactive AI agent chat experience.
    • Added CometChatStreamBubble for real-time AI agent messages, creating a more natural conversation flow.
    • Added CometChatAIAssistantBubble with Markdown support, enhancing readability and formatting of AI agent messages.
    • Introduced quick starter suggestions in the empty state for faster user interaction with the AI agent.
    • Added a "New Chat" button for resetting the conversation context and accessing previous chat history.
    • Full customization options available through props, including:
      • Streaming speed adjustments.
      • Custom header, empty state, and error views.
      • Visibility toggles for suggestions, history, and new chat buttons.

Enhancements

  • Updated cometchat_sdk to version 4.0.27.
  • Updated cometchat_uikit_shared to version 5.1.2.

Fixes

  • Fixed an issue where the group conversation header would grey out when a user started typing, ensuring the typing status is displayed correctly.
  • Resolved a bug causing the onMessagesRead() real-time event to trigger twice when a message was marked as read.
  • Corrected the last seen status message, making it display as a marquee when truncated for better visibility.
  • Fixed an issue preventing users from starting a conversation using the Conversation Starter feature.
  • Resolved a bug where the Read Receipt option was incorrectly appearing within thread messages; it now only shows in main conversation messages.
  • Fixed a problem where User Presence (online/offline status) remained visible in the group member list even when the presence toggle was disabled in settings.

v5.1.1

04 Oct 06:15
9378cf5

Choose a tag to compare

New

  • None

Enhancements

  • Updated cometchat_sdk to version 4.0.26 for improved stability and performance.
  • Updated cometchat_uikit_shared to version 5.1.1, ensuring compatibility and consistency across Chat and Calls UIKit.

Fixes

  • Fixed an issue where voice notes required downloading before playback, enabling seamless audio message playback.
  • Resolved an issue on iOS devices where audio messages could not be played after reinstalling the app.
  • Addressed a problem on some devices where images could not be attached, restoring proper attachment functionality.
  • Fixed image thumbnails not appearing in message lists, improving media preview visibility.
  • Corrected the display of moderation indicators in messages to ensure accurate moderation visibility.
  • Fixed extra spacing in the last message of group conversations after sending media, maintaining a consistent chat layout.
  • Added the missing hideStickyDate prop in CometChatMessageList to allow better control over sticky date display.
  • Fixed sticky date overlapping with the message list header for a cleaner interface.
  • Resolved an issue where typed chat text was cleared when uploading an image, preventing unintended message loss.
  • Fixed a problem on Android where incoming call notifications were not received when the app was killed and the screen was off, ensuring reliable call alerts.
  • Resolved a multi-device issue where incoming call screens appeared on all devices even after the call was accepted on one device.
  • Fixed video call functionality in landscape mode, ensuring reliable video communication.

v5.1.0

22 Aug 14:42
e8f94cb

Choose a tag to compare

New

  • Added a Moderation View in the default bottom view of the message bubble. This view appears for messages that are disapproved based on their moderation status.
  • Introduced a new prop hideModerationView in the CometChatMessageList component, allowing developers to hide the Moderation View when needed.
  • Added a new prop moderationStyle in CometChatOutgoingMessageBubbleStyle to customize the background color and text appearance of the Moderation View.
  • Added a Moderation View in the default bottom view of the message bubble. This view appears for messages that are disapproved based on their moderation status.
  • Introduced a new prop hideModerationView in the CometChatMessageList component, allowing developers to hide the Moderation View when needed.

Enhancements

  • Updated cometchat_sdk to version 4.0.25.
  • Updated cometchat_uikit_shared to version 5.1.0.
  • Updated BottomView behavior: It is now rendered outside the main bubble container, allowing it to appear below the bubble but above the footer. This ensures clearer separation of content and improves layout flexibility.

v5.0.5

08 Aug 13:17
c634716

Choose a tag to compare

Enhancements

  • Updated cometchat_sdk to version 4.0.24.
  • Adjusted font size in message bubbles to respect system font scaling preferences, improving accessibility.
  • Adjusted font size in message bubbles to respect system font scaling preferences, improving accessibility.
  • Enhanced poll screen behavior to now fully expand or collapse on scroll for a smoother user experience.

Fixes

  • Fixed an issue where the app forcefully redirected users to system settings when permissions (camera, microphone, attachments) were denied. The app now consistently displays an appropriate error message across Android and iOS platforms when permissions are not granted.
  • Resolved a bug where the search keyword was cleared from the search bar after pressing the "Done" button on the keyboard. The entered keyword now persists, allowing users to view and modify their input.
  • Fixed an error when initiating default group calls in the Flutter v5 UI Kit, which was caused by missing asset references.
  • Standardized date separator formats in the message list to ensure consistency across devices. Formats now consistently display "Today", "Yesterday", or full dates as appropriate.
  • Resolved a screen flicker issue that occurred when users initiated a voice recording while audio playback was active. Playback now stops automatically when recording starts.
  • Fixed a bug where the MessageOptionSheet did not display when only the reactions option was enabled. The options sheet now correctly displays reactions even when all other options are hidden.
  • Resolved an issue where starting an audio call through push notifications incorrectly triggered a video call instead.
  • Fixed a bug where declining a call did not end the call on the sender’s side, causing it to continue indefinitely.
  • Addressed a permission-handling issue where users were redirected to system settings instead of seeing an error message when permissions (camera, mic, attachments) were denied.
  • Fixed a problem where default calling functionality failed in the sample app due to asset-related issues.
  • Resolved a bug where the search keyword was cleared after pressing the “Done” button on the keyboard in various search views.
  • Prevented crashes when accepting incoming calls via push notifications in the sample app.
  • Fixed an issue where the message input was not cleared after cancelling a composed message.
  • Resolved a bug where the incoming call dialog did not close after the caller ended the call.
  • Prevented messages from being sent when the message input only contains white spaces.
  • Fixed an issue where users could reply to messages from blocked users in thread view.
  • Standardized date separator formats across platforms for consistent user experience.
  • Corrected the Save button display logic when a group role remains unchanged.
  • Fixed a real-time sync issue where the ban/kick group actions were not reflected immediately for users.
  • Prevented call ringing for users already on another active call (busy state not respected).
  • Fixed a blank info screen that appeared after sending a message and tapping the message info icon.
  • Addressed an issue where the native ongoing call notification failed to appear.
  • Resolved a bug where disabling mentions in the message composer did not work as expected.
  • Fixed an issue where the MessageOptionSheet failed to appear when only the reactions option was enabled.
  • Corrected the issue where the "Send" button became active when only space characters were entered, even if no valid message content was present.
  • Resolved a crash that occurred when cancelling a call from the background state in the sample app.
  • Fixed an issue in the where initiating a default group call failed due to a missing asset reference.
  • Corrected the display of icons for incoming and missed calls in call logs and chat lists to ensure accuracy.

v5.0.4

17 Jul 15:57
fe1c365

Choose a tag to compare

Enhancements

  • Optimized the mentions functionality to improve tagging accuracy and performance during message composition. (Shared)
  • Updated cometchat_uikit_shared to version 5.0.4. (Chat UIKit, Calls UIKit)

Fixes

  • Fixed an issue where the CometChatSDK.framework was missing a dSYM file during iOS build uploads, causing upload failures. (Shared, Chat UIKit)
  • Resolved the behavior where deleting a mention would remove it character by character, instead of as a complete tag. (Shared)
  • Updated media permissions to comply with current platform requirements, addressing a previous issue that caused app rejection. (Shared, Chat UIKit, Calls UIKit)
  • Fixed a bug that caused all screens to suddenly disconnect, improving stability. (Chat UIKit)
  • Corrected the group member count display in the Group Info page to accurately reflect member additions and removals. (Chat UIKit)
  • Eliminated a brief black screen flicker when opening a user or group from the search screen. (Chat UIKit)
  • Prevented users from submitting edited messages containing only space characters, avoiding unnecessary "edited" status. (Chat UIKit)
  • Removed flicker when reopening the app from the background or recent apps list. (Chat UIKit)
  • Removed the unnecessary online presence badge on the chat header avatar in one-on-one chats for a cleaner UI. (Chat UIKit)
  • Disabled logout functionality when the user has no internet connection to ensure network-dependent actions behave correctly. (Chat UIKit)
  • Adjusted the spacing between the CometChat logo and "Login" text on the login screen to align with design standards. (Chat UIKit)
  • Prevented the poll creation page from becoming scrollable, ensuring a stable and consistent user experience during poll creation. (Chat UIKit)
  • Updated call icons in the Call tab to better distinguish between incoming and missed calls. (Calls UIKit)

v5.0.3

20 Jun 13:30
70601f1

Choose a tag to compare

New

  • Introduced the DateTimeFormatterCallback, enabling developers to customize the display format for date and time elements within the CometChat UI Kit. This feature supports tailoring formats like "today," "yesterday," and specific time expressions to match the application's locale or specific design requirements.
  • Added localization support for additional languages and regions:
    • English (United Kingdom) – en_GB
    • Japanese – ja
    • Korean – ko
    • Dutch – nl
    • Turkish – tr
  • Enabled the ability to override existing localizations and add support for new languages, giving developers more control over language customization in the UI.

Enhancements

  • Updated cometchat_sdk to version 4.0.23.
  • Updated cometchat_uikit_shared to version 5.0.3.
  • Enabled default image zoom functionality when tapping a ImageBubbleView in Flutter, enhancing media interaction.

Fixes

  • Resolved a bug causing the voice recording animation to become scrollable after tapping the stop button.
  • Fixed an issue where the ringtone continued ringing even after the call had ended following a single ring.
  • Addressed a UI bug where the previously selected emoji category would flash instead of remaining on the final selected category.
  • Fixed an issue where the dateSeparatorPattern in CometChatMessageList was not functioning as expected.
  • Resolved a problem where the FooterView would close unexpectedly when interacting with the MessageComposer in the Flutter UI Kit.
  • Fixed a bug causing the app to open twice when accepting a VOIP call from the background.
  • Addressed the appearance of duplicate date separators in message threads after sending a new message.
  • Resolved an issue where the reply compose box would disappear when replying to sticker messages.
  • Fixed a UI issue where the send button was misaligned and other buttons became unusable when replying to video, sticker, or poll messages.
  • Corrected the display of translated messages to prevent the original word from appearing below the translation.
  • Fixed a visual glitch where a dark screen briefly flashed when reopening a deleted chat from the search view.

v5.0.2

03 Jun 11:10
00168d7

Choose a tag to compare

Fixes

  • Fixed an issue where audio playback for voice messages was routed through the earpiece instead of the speaker after an audio call, improving user experience during message playback.
  • Fixed an issue where the app froze or became unresponsive when accepting a call from the background.
  • Resolved a crash in the Push Notification Sample App that occurred when accepting a call while the app was closed (killed).
  • Resolved a crash that occurred when users double-tapped the "End Call" button and then immediately initiated a new call.
  • Resolved a bug where the titleTextStyle and subtitleTextStyle properties of CometChatFileBubbleStyle were not applying as expected, ensuring consistent styling.
  • Fixed an issue where the search bar text for banned members did not appear in the default color on both Android and iOS, reducing visibility.
  • Fixed an issue where two identical stickers appeared in the message composer when opening a chat or replying in a thread.
  • Fixed an issue in CometChatMessageList where the onLoad callback was not triggered after messages were visually loaded.