cometchat_sdk 4.0.8 cometchat_sdk: ^4.0.8 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.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
Reaction
andReactionEvent
classes to enhance the functionality of message reactions introduced in v4.0.3. - Added
ReactionsRequest
class as a replacement forReactionRequest
class introduced in v4.0.3. - Added
ReactionsRequestBuilder
class as a replacement forReactionRequestBuilder
class introduced in v4.0.3. - Introduced Enhanced Push Notification Feature.
- Added
PushPreferences
, GroupPreferences,
MutePreferences,
MutedConversation,
UnmutedConversation&
DaySchedule` classes - Added method
registerPushToken
method to register push token. - Added method
unregisterPushToken
method to unregister push token. - Added method
muteConversations
method to mute push notifications of conversations. - Added method
unmuteConversations
method to unmute push notifications of conversations. - Added method
fetchPushPreferences
,updatePushPreferences
&resetPushPreferences
to fetch, update & reset push preferences.
- Added
Enhancements
- The real-time listeners
onMessageReactionAdded
andonMessageReactionRemoved
have been improved to return an object ofReactionEvent
class, providing a more robust event model. ReactionsRequestBuilder
has been enhanced to return a list ofReaction
objects, offering a more intuitive and consistent API.
Removals
- Removed the
MessageReaction
class introduced in v4.0.3, transitioning its responsibilities to the newReaction
andReactionEvent
classes. - Removed
myMentionsOnly
method fromMessagesRequestBuilder
introduced in v4.0.2.
4.0.7-beta1 #
- New:
ReactionEvent
Object will be emitted byonMessageReactionAdded
&onMessageReactionRemoved
events - New:
MessageReaction
class renamed toReaction
- New:
getReactions()
method replaced withreactions
property inBaseMessage
class - New:
getMentionedUsers()
method replaced withmentionedUsers
property inBaseMessage
class - New:
hasMentionedMe()
method replaced withhasMentionedMe
property inBaseMessage
class - Bug: fixed
unreadRepliesCount
count incorrect type error inAction
Object - Bug: fixed issue of other user's reactions not being received through the
lastMessage
property ofConversation
Object on iOS - Bug: fixed issue of receiving
onMessageReactionAdded
&onMessageReactionRemoved
events when it is the logged-in user callingCometChat.addReaction
andCometChat.removeReaction
on 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