Skip to content

Releases: cometchat/cometchat-uikit-flutter

v5.2.14

17 Apr 15:12
df76036

Choose a tag to compare

New

  • None

Enhancements

  • None

Fixes

  • Fixed an issue where call screens could appear partially hidden behind system UI elements on certain devices.
  • Fixed mention styling limitations in CometChatThreadedHeader by adding support for the textFormatters parameter for custom appearance.

Deprecations

  • None

Removals

  • None

v6.0.0-beta.1

13 Apr 16:33
919c228

Choose a tag to compare

v6.0.0-beta.1 Pre-release
Pre-release

New

  • Introduced a Clean Architecture with BLoC-based state management across all components, enabling predictable updates using immutable states and event-driven workflows.

  • Added a Smart Message Bubble system using a factory-based registry for efficient message type rendering, supporting both automatic and custom message views.

  • Introduced CometChatMessageTemplate, allowing granular customization of message UI sections such as header, content, footer, status, thread, and reply views.

  • Added a DefaultBubbleFactories registry that provides built-in bubble implementations with customizable styling for text, image, video, audio, and file messages.

  • Introduced configurable data access through Repository and DataSource overrides, enabling developers to customize component data handling.

  • Added request builder parameters for conversations and messages to allow request-level customization without replacing the entire data layer.

  • Introduced a WYSIWYG Rich Text Composer with inline formatting options including bold, italic, strikethrough, code, links, ordered lists, bullet lists, and code blocks.

  • Added a hybrid theme caching system that allows theme values to be pre-cached and reused across widgets to improve UI performance during scrolling and keyboard interactions.

  • Introduced keyboard-aware spacing using SliverSpacing, enabling dynamic layout adjustments based on scroll position.

  • Added a shared call operations module to standardize call handling across call UI components.

  • Introduced AI-powered extensions including Smart Replies, Conversation Summary, and Conversation Starter.

Enhancements

  • Enhanced the UIKit architecture with a modular structure using BLoC, Repository, Use Cases, and Dependency Injection across conversations, messages, users, groups, search, and call modules.

  • Improved state management by adopting flutter_bloc with optimized UI rebuild handling.

  • Improved message list performance with optimized lookup and indexing mechanisms to support smoother rendering of large datasets.

  • Enhanced theme handling with cached theme helpers to reduce repeated theme lookups during UI updates.

  • Added a ValueNotifier pattern for high-frequency UI updates such as typing indicators and user presence.

  • Optimized MediaQuery usage to reduce unnecessary UI overhead.

  • Expanded message customization capabilities by allowing templates to fully replace or extend default message bubble implementations.

Removals

  • Removed the GetX dependency from migrated components as part of the updated architecture.

v5.2.13

07 Apr 15:12
b84c6cd

Choose a tag to compare

New

  • None

Enhancements

  • Improved stability by safely handling API calls to avoid conflicts during UI rebuilds.
  • Enhanced the handling in 1-on-1 calls ensuring calls close as expected when the other participant leaves.

Fixes

  • Fixed missing AI “thinking” placeholder after text message end events.
  • Resolved issue where custom mention formatters were ignored.
  • Fixed crash when tapping on TextSpan with a gesture recognizer.

Deprecations

  • None

Removals

  • None

v5.2.12

01 Apr 11:52
edf6f89

Choose a tag to compare

New

  • Introduced the CometChatCompactMessageComposer component, a streamlined, single-line message composer for a more efficient message composition experience.
  • Added the showTextSelectionMenuItems prop, enabling the display of text formatting options (e.g., bold, italic) 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, providing a cleaner interface.
  • Introduced the enableRichTextEditor master prop to control all rich text functionality. When disabled:
    • Both the selection menu items and fixed formatting toolbar are hidden, regardless of other settings.

Enhancements

  • None

Fixes

  • None

Deprecations

  • None

Removals

  • None

v5.2.11

17 Mar 10:33
7cc328f

Choose a tag to compare

New

  • None

Enhancements

  • Added validation for unsupported file types in chat and displayed an error message in the message bubble when users attempt to send a restricted file format.
  • Updated cometchat_uikit_shared to version 5.2.1.
  • Improved iOS app lifecycle handling and added support for Flutter version 3.41.
  • Enhanced the Users, Groups, Call Logs and Conversations screens to refresh automatically after the internet connection is restored.

Fixes

  • Resolved a problem where the Messages screen did not refresh automatically after the internet connection was restored, preventing newly received messages from appearing until the screen was reloaded.
  • Fixed an issue where an incorrect error message indicated that a file exceeded the 100 MB upload limit when attempting to upload a much smaller file under unstable or slow internet conditions.

Deprecations

  • None

Removals

  • None

v5.2.10

27 Feb 16:39
eb9eccd

Choose a tag to compare

New

  • Introduced badge count support in the Flutter Sample App, enabling the app icon to display unread message counts for improved visibility of new activity.
  • Integrated badge functionality using a reliable badge management dependency to ensure accurate and consistent badge updates across supported platforms.

Enhancements

  • Improved notification experience by automatically updating the app icon badge count based on unread messages.
  • Ensured seamless badge synchronization when messages are received, read, or cleared.

Fixes

  • Fixed an issue where the group call events were missing in CometChatMessageListController.

Deprecations

  • None

Removals

  • None

v5.2.9

30 Jan 18:05
9990e61

Choose a tag to compare

New

  • Added the 'Mark as Unread' option, allowing users to mark previously read messages as unread for better message management.
  • Introduced a new message indicator UI that visually separates unread messages from read ones, improving the user experience and making unread messages more noticeable.

Enhancements

  • Implemented the setStartFromUnread property, enabling the message list to start from the unread messages when set to true. This feature provides a more seamless experience for users who want to focus on new messages.

Fixes

  • None

Deprecations

  • None

Removals

  • None

v5.2.8

20 Jan 14:32
a364e3e

Choose a tag to compare

New

  • Global Conversation and Message Search: Introduced a new feature that allows users to easily search across all conversations and messages for quick access to specific content.
  • Quoted Replies: Users can now swipe to a message and reply directly to it, creating a quoted reply for improved context in conversations.

Enhancements

  • Updated cometchat_uikit_shared to version 5.1.9.

Fixes

  • None

Deprecations

  • None

Removals

  • None

v5.2.7

08 Jan 17:12
e02340d

Choose a tag to compare

New

  • None

Enhancements

  • Updated cometchat_sdk to version 4.0.33.
  • Updated cometchat_uikit_shared to version 5.1.8.
  • Updated cometchat_calls_sdk to version 4.2.2.

Fixes

  • Fixed the issue where GIFs were displaying as static images in full-screen mode; they now animate properly.
  • Resolved the issue where .heic files couldn't be opened in Photos or Files by Google, ensuring they are now viewable across Android apps.
  • Fixed the audio playback issue where audio would not stop immediately after sending a message or navigating to another screen.
  • Resolved the issue where voice messages between iOS and Android wouldn't play on the receiver's side.
  • Fixed the issue where thumbnails for images and videos wouldn't load in the chat UI when both Thumbnail Generation and Token-Based File Access were enabled.
  • Fixed the Retry button to reattempt network requests and refresh data when the internet connection is restored.

v5.2.6

15 Dec 13:37
53f6e46

Choose a tag to compare

New

  • Added a new feature that allows users to report a specific message for moderation purposes.
  • Added hideFlagMessageOption — to hide the Flag Message option from the message actions menu.
  • Added hideFlagRemarkField — to hide the remark text area in the flag dialog.

Enhancements

  • Updated cometchat_uikit_shared to version 5.1.7.
  • Updated cometchat_sdk to version 4.0.32.

Fixes

  • Fixed a bug where users who had not logged in at least once were not shown as "Offline". Presence status now correctly reflects the state of such users.
  • Fixed an issue where only the last segment of a paused and resumed audio recording was sent. Audio messages now include the full recording, even after multiple pauses and resumes.