Skip to content

Releases: cometchat/chat-sdk-ionic

v4.0.10

28 Aug 13:57
a8dae79
Compare
Choose a tag to compare

New

  • None

Enhancements

  • None

Fixes

  • Fixed an issue where the timer for marking a call as unanswered would continue running even after the call was accepted, causing problems when the initiator attempted to end the call.

v4.0.9

08 Aug 12:55
b9b3709
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.

Fixes

  • Fixed issue with tags not being passed properly in media message.

v4.0.8

10 Jul 14:14
4cbc273
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.
  • Added new class NotificationPreferences in CometChatNotifications

Enhancements

  • The following methods in the ConversationsRequestBuilder class have been deprecated:
    • setIncludeBlockedUsers is now deprecated. Please use includeBlockedUsers as an alternative.
    • setWithBlockedInfo is now deprecated. Please use withBlockedInfo as an alternative.
  • Added missing type for method clearActiveCall
  • 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.

v4.0.7

26 Jun 09:52
6fb2a28
Compare
Choose a tag to compare

New

  • Add new methods in Conversations Request Builder “setIncludeBlockedUsers”, “setWithBlockedInfo”
  • Added getter methods in all the Request classes
  • Add setter & getter method for GUID in BannedMembersRequestBuilder & GroupMembersRequestBuilder

Fixes

  • Resolved the issue with the markAsUnread method. The bug involved one-to-one conversations, where the incorrect receiverId was being sent while marking a message as unread in the SDK method.

v4.0.6

06 Jun 12:58
4c1ecab
Compare
Choose a tag to compare

New:

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

Fixes:

  • Fixed error handling in getSender() and getReceiver() methods in Message Models

v4.0.5

16 Apr 10:38
138c878
Compare
Choose a tag to compare

Enhancement:

  • Added a new method isBannedFromGroup to the Group model class to indicate whether the user is banned from the group or not.
  • Introduced three new methods in CustomMessage class as follows:
    1. shouldSendNotification(val: boolean): It accepts boolean value, if you pass true it will trigger a notification for the custom message.
    2. setConversationText(text: string): It accepts a string which can be used to display the last message text in the conversation list.
    3. shouldUpdateConversation(val: boolean): It accepts boolean value, if you pass 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.

v4.0.4

20 Mar 16:42
8a34bbf
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.

Fixes

  • Resolved a sorting problem that resulted in incorrect message order when the token based file access was enabled, improving message sequence integrity.

v4.0.4-beta1

14 Mar 13:20
Compare
Choose a tag to compare
v4.0.4-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.

Fixes

  • Resolved a sorting problem that resulted in incorrect message order when the token based file access was enabled, improving message sequence integrity.

v4.0.3

15 Dec 11:44
Compare
Choose a tag to compare
  • Added support to react on Text, Media, and Custom Messages
  • Added a new field unreadMentionsCount field in Conversation Object
  • Added a new field lastReadMessageId field in Conversation Object

3.0.12

22 May 10:19
Compare
Choose a tag to compare
  • Fixed issue with registerTokenForPushNotification method.
  • Miscellaneous optimisations.