cometchat_sdk 4.0.7
cometchat_sdk: ^4.0.7 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.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.
Fixes
- Addressed an issue that led to unnecessary warnings being emitted from the Chat SDK, ensuring a cleaner console output.
- Resolved a sorting problem that resulted in incorrect message order when the token based file access was enabled, improving message sequence integrity.
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