Skip to content

Releases: cometchat/chat-sdk-android

4.0.10

08 Aug 10:25
bf7082c
Compare
Choose a tag to compare

New

  • Added "onMessagesDeliveredToAll" and "onMessagesReadByAll" listeners to notify message sender when group messages are delivered or read by everyone in the group.

4.0.9

10 Jul 10:15
077f3a1
Compare
Choose a tag to compare

New

  • The following new methods have been introduced in the CometChatNotifications class:
    • 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 CometChatNotifications class have been deprecated:
    • fetchPushPreferences is now deprecated. Please use fetchPreferences as an alternative.
    • updatePushPreferences is now deprecated. Please use updatePreferences as an alternative.
    • resetPushPreferences is now deprecated. Please use resetPreferences as an alternative.
  • The following class in the CometChatNotifications class has been deprecated:
    • PushPreferences is now deprecated. Please use NotificationPreferences as an alternative.

4.0.8

25 Jun 13:36
7b92d5a
Compare
Choose a tag to compare

Enhancements:

  • Added a new method includeBlockedUsers in ConversationsRequestBuilder to allow fetching conversations of users blocked by the logged-in user.
  • Introduced a method withBlockedInfo in ConversationsRequestBuilder to fetch blocked information in the conversation object, such as blockedByMe and hasBlockedMe.
  • Added setter and getter methods for GUID in BannedMembersRequestBuilder and GroupMembersRequest.
  • Introduced various getters for all the request classes to improve data fetching and customization.
  • Enhanced AppSettings with new getters for subscription types, roles, region, and host overrides.

4.0.7

06 Jun 10:50
06a0de7
Compare
Choose a tag to compare

New

  • Added a method named getConversationUpdateSettings which returns the settings saved in Dashboard.

Fixes

  • Fixed callback issue for getMessageReceipts() method if the receipts key is missing in the JSON response for user-to-user conversation.

4.0.6

16 Apr 13:55
1a8442b
Compare
Choose a tag to compare

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.

4.0.5

20 Mar 18:52
01aaeca
Compare
Choose a tag to compare

New

  • Introduced Reaction and ReactionEvent classes to enhance the functionality of message reactions introduced in v4.0.3.
  • Added ReactionsRequest class as a replacement for ReactionRequest class introduced in v4.0.3.
  • Added ReactionsRequestBuilder class as a replacement for ReactionRequestBuilder 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.

Enhancements

  • The real-time listeners onMessageReactionAdded and onMessageReactionRemoved have been improved to return an object of ReactionEvent class, providing a more robust event model.
  • ReactionsRequestBuilder has been enhanced to return a list of Reaction objects, offering a more intuitive and consistent API.

Removals

  • Removed the MessageReaction class introduced in v4.0.3, transitioning its responsibilities to the new Reaction and ReactionEvent classes.
  • Removed myMentionsOnly method from MessagesRequestBuilder introduced in v4.0.2.

4.0.5-beta1

14 Mar 07:46
Compare
Choose a tag to compare
4.0.5-beta1 Pre-release
Pre-release

New

  • Introduced Reaction and ReactionEvent classes to enhance the functionality of message reactions introduced in v4.0.3.
  • Added ReactionsRequest class as a replacement for ReactionRequest class introduced in v4.0.3.
  • Added ReactionsRequestBuilder class as a replacement for ReactionRequestBuilder class introduced in v4.0.3.

Enhancements

  • The real-time listeners onMessageReactionAdded and onMessageReactionRemoved have been improved to return an object of ReactionEvent class, providing a more robust event model.
  • ReactionsRequestBuilder has been enhanced to return a list of Reaction objects, offering a more intuitive and consistent API.

Removals

  • Removed the MessageReaction class introduced in v4.0.3, transitioning its responsibilities to the new Reaction and ReactionEvent classes.
  • Removed myMentionsOnly method from MessagesRequestBuilder introduced in v4.0.2.

4.0.4

13 Dec 12:27
Compare
Choose a tag to compare
  • Added support to react on Text, Media Messages.
  • Added a new field unreadMentionsCount field in Conversation Object.
  • Added a new field lastReadMessageId field in Conversation Object.

4.0.3

13 Nov 10:46
Compare
Choose a tag to compare
  • Added support to mention a user in a Text & Media Message
  • Added support to send interactive messages like forms, card, etc.
  • Added a method to mark a message as unread

3.0.17

26 Sep 12:42
Compare
Choose a tag to compare
  • Miscellaneous optimisation