Releases: cometchat/cometchat-uikit-flutter
v5.2.14
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
CometChatThreadedHeaderby adding support for thetextFormattersparameter for custom appearance.
Deprecations
- None
Removals
- None
v6.0.0-beta.1
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
DefaultBubbleFactoriesregistry 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_blocwith 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
ValueNotifierpattern 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
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
TextSpanwith a gesture recognizer.
Deprecations
- None
Removals
- None
v5.2.12
New
- Introduced the
CometChatCompactMessageComposercomponent, a streamlined, single-line message composer for a more efficient message composition experience. - Added the
showTextSelectionMenuItemsprop, 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
hideRichTextFormattingOptionsprop to hide the fixed formatting toolbar above the message composer, providing a cleaner interface. - Introduced the
enableRichTextEditormaster 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
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_sharedto version5.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
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
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
setStartFromUnreadproperty, enabling the message list to start from the unread messages when set totrue. 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
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_sharedto version5.1.9.
Fixes
- None
Deprecations
- None
Removals
- None
v5.2.7
New
- None
Enhancements
- Updated
cometchat_sdkto version4.0.33. - Updated
cometchat_uikit_sharedto version5.1.8. - Updated
cometchat_calls_sdkto version4.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
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_sharedto version5.1.7. - Updated
cometchat_sdkto version4.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.