cometchat_sdk 4.0.21
cometchat_sdk: ^4.0.21 copied to clipboard
CometChat enables you to add voice, video & text chat for your website & app. This guide demonstrates how to add chat to an Flutter application using CometChat.
4.0.21 #
Fixes
- Fixed runtime crash due to Swift symbol mismatch between CometChatSDK and CometChatStarscream frameworks.
4.0.20 #
New
- Introduced Conversations & Advanced Search to enhance message and conversation filtering capabilities.
- Added new filters to
MessagesRequestBuilder:hasAttachments()– Retrieve messages that contain file attachments.hasReactions()– Retrieve messages that include user reactions.hasMentions()– Retrieve messages where users are mentioned.hasLinks()– Retrieve messages that contain hyperlinks.setMentionedUIDs(List<String>)– Retrieve messages mentioning specific user IDs.
- Added new filters to
ConversationsRequestBuilder:setSearchKeyword(String)– Search conversations (user or group) by name keyword.setUnread(boolean)– Retrieve only unread conversations.
Fixes
- Fixed an issue where an error appeared in the console when logging in for the first time on a freshly installed app on iOS. This issue did not cause a crash but has now been resolved to ensure a smoother login experience.
Removals
- Removed
myMentionsOnlymethod fromMessagesRequestBuilderintroduced in v4.0.2.
4.0.19 #
Fixes Fixed an issue with editing text messages in the CometChat API where a 'Type Null is not a subtype of Type User' error occurred.
New
Fixed an issue where tags could not be added to a media message using the CometChat.editMessage() method in Flutter
4.0.18 #
Fixes
- Fixed an issue where
readAtanddeliveredAttimestamps were being added by default toActionmessages.
4.0.17 #
New
- Added
onMessagesDeliveredToAllandonMessagesReadByAlllisteners to notify message sender when group messages are delivered or read by everyone in the group.
4.0.16 #
Fixes
- Fixed an issue where marking messages with mentions as read was not working.
4.0.15 #
New
- The following new methods have been introduced in the
CometChatNotificationsclass:updateTimezone: This method updates the timezone for receiving Enhanced Email and Enhanced SMS notifications correctly.getTimezone: This method fetches the timezone set for a user.
Enhancements
- The following methods in the
CometChatNotificationsclass have been deprecated:fetchPushPreferencesis now deprecated. Please usefetchPreferencesas an alternative.updatePushPreferencesis now deprecated. Please useupdatePreferencesas an alternative.resetPushPreferencesis now deprecated. Please useresetPreferencesas an alternative.
- The following class in the
CometChatNotificationsclass has been deprecated:PushPreferencesis now deprecated. Please useNotificationPreferencesas an alternative.
4.0.14 #
Fixes
- Fixed an issue where the
CometChat.clearActiveCall()method was incorrectly callingpinginstead ofclearActiveCall. - Fixed action messages constructor to take only required values
Deprecations
- Deprecated the
receaverUidparameter in theCometChat.startTyping()method. Please use thereceiverUidproperty instead. ThereceaverUidparameter will be removed in a future release. - Deprecated the
receaverUidparameter in theCometChat.endTyping()method. Please use thereceiverUidproperty instead. ThereceaverUidparameter will be removed in a future release.
4.0.13 #
New
- Added a new parameter
includeBlockedUsersinConversationsRequestBuilderto allow fetching conversations of users blocked by the logged-in user. - Added a new parameter
withBlockedInfoinConversationsRequestBuilderto fetch blocked information in the conversation object, such as blockedByMe and hasBlockedMe. - Added a new parameter for
scopesinBannedMembersRequestBuilder.
Fixes
- Fixed an issue causing a critical crash on Android devices when invoking the
CometChat.disconnect()method.
4.0.12 #
New
- Added a method named getConversationUpdateSettings which returns the settings saved in Dashboard.
4.0.11 #
Enhancements
- Updated all 3rd-party plugins versions.
- Resolved all static Dart Analyser suggestions
- Added namespaces in build.gradle to avoid conflicts.
4.0.10 #
Fixes
- Fixed the issue where the onInteractiveMessageReceived listener is not working in iOS.
4.0.9 #
New
- Added PrivacyInfo file that complies with the latest apple guidelines for SDKs.
4.0.8 #
New
- Added a new boolean property isBannedFromGroup to the Group model class to indicate whether the user is banned from the group or not.
- Introduced three new properties in CustomMessage class as follows:
- sendNotification: True value will trigger a notification for the custom message.
- conversationText: This string can be used to display the last message text in the conversation list.
- updateConversation: If set to true, the message will appear as the last message in the Conversation and will update and reorder the conversation list, placing the conversation at the top.
Fixes
- Fixed URL handling in
CometChat.callExtension, ensuring consistent and reliable endpoint interactions
4.0.7 #
New
- Introduced
ReactionandReactionEventclasses to enhance the functionality of message reactions introduced in v4.0.3. - Added
ReactionsRequestclass as a replacement forReactionRequestclass introduced in v4.0.3. - Added
ReactionsRequestBuilderclass as a replacement forReactionRequestBuilderclass introduced in v4.0.3. - Introduced Enhanced Push Notification Feature.
- Added
PushPreferences, GroupPreferences,MutePreferences,MutedConversation,UnmutedConversation&DaySchedule` classes - Added method
registerPushTokenmethod to register push token. - Added method
unregisterPushTokenmethod to unregister push token. - Added method
muteConversationsmethod to mute push notifications of conversations. - Added method
unmuteConversationsmethod to unmute push notifications of conversations. - Added method
fetchPushPreferences,updatePushPreferences&resetPushPreferencesto fetch, update & reset push preferences.
- Added
Enhancements
- The real-time listeners
onMessageReactionAddedandonMessageReactionRemovedhave been improved to return an object ofReactionEventclass, providing a more robust event model. ReactionsRequestBuilderhas been enhanced to return a list ofReactionobjects, offering a more intuitive and consistent API.
Removals
- Removed the
MessageReactionclass introduced in v4.0.3, transitioning its responsibilities to the newReactionandReactionEventclasses. - Removed
myMentionsOnlymethod fromMessagesRequestBuilderintroduced in v4.0.2.
4.0.7-beta1 #
- New:
ReactionEventObject will be emitted byonMessageReactionAdded&onMessageReactionRemovedevents - New:
MessageReactionclass renamed toReaction - New:
getReactions()method replaced withreactionsproperty inBaseMessageclass - New:
getMentionedUsers()method replaced withmentionedUsersproperty inBaseMessageclass - New:
hasMentionedMe()method replaced withhasMentionedMeproperty inBaseMessageclass - Bug: fixed
unreadRepliesCountcount incorrect type error inActionObject - Bug: fixed issue of other user's reactions not being received through the
lastMessageproperty ofConversationObject on iOS - Bug: fixed issue of receiving
onMessageReactionAdded&onMessageReactionRemovedevents when it is the logged-in user callingCometChat.addReactionandCometChat.removeReactionon iOS
4.0.6 #
- Bug: fixed sending metadata property in Call
- Bug: fixed sending muid property in Call
4.0.5 #
- Bug: fixed sending media messages with captions and tags in iOS
- Bug: fixed sending media messages with Attachment URL in iOS
4.0.4 #
- New: Added support to react on Text, Media and Custom Messages
- New: Added a new field unreadMentionsCount field in Conversation Object
- New: Added a new field lastReadMessageId field in Conversation Object
4.0.3 #
- New: Added support to mention a user in a Text & Media Message
- New: Added support to send interactive messages like forms, card, etc.
- New: Added a method to mark a message as unread
4.0.2 #
- New: Added methods for AI Conversation Summary & AI Assist Bot
4.0.1 #
- Bug: Fixes and performance improvements
4.0.0 #
- New: Optimized websocket connection
- New: Ping() for websocket connection
- Bug: Fixes and performance improvements
4.0.0-beta1 #
- New: CometChat v4 support enabled