Releases: cometchat/chat-sdk-ios
Releases · cometchat/chat-sdk-ios
4.0.46
Fixes
- Addressed an issue in CometChatGroupDelegate's function onGroupMemberScopeChanged where the values for oldScope and newScope were returning interchanged.
4.0.45
New
- Added PrivacyInfo file that complies with the latest apple guidelines for SDKs.
- Introduced
onInteractiveMessageReceived(interactiveMessage: InteractiveMessage) -> Void
method in CometChatMessageDelegate to handle the reception of new InteractiveMessages.
Enhancements
- Deprecated
onInteractiveMessageReceived(_ baseMessage:BaseMessage) -> Void
method in CometChatMessageDelegate, recommending the usage of newonInteractiveMessageReceived(interactiveMessage: InteractiveMessage) -> Void
instead.
3.0.920
New
- Added PrivacyInfo file that complies with the latest apple guidelines for SDKs.
4.0.44
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
- Addressed a problem related to Fetch previous and Fetch Next options for the message replies, ensuring reliable message navigation.
4.0.43
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.
- Added
- 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.
Fixes
- Fixed an issue with
updateupdateMessageWithReactionInfo
which gave incorrectreactedByMe
4.0.43-beta1
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.
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.
Fixes:
- Fixed an issue with
onMessageReactionAdded
&onMessageReactionRemoved
getting triggered when the logged-in user adds/removes a reaction.
4.0.42
Bug fixes
4.0.41
Minor issue fixed
4.0.4
Added MessageReaction, ReactionCount, reaction listeners
Added unreadMentionsCount, lastReadMessageId in Conversation
Added unreadRepliesCount in BaseMessage
3.0.919
Minor optimisations