Releases: sendbird/sendbird-chat-sdk-ios
Releases · sendbird/sendbird-chat-sdk-ios
4.21.3
4.21.2
Improvements
- Fixed internal
messageChangeLog
inMessageCollection
not updating to correct next token.
4.21.1
Improvements
- Fixed how "reset my channel history" is handled after it was triggered (both via SDK or Platform API)
4.21.0
New Interfaces
- Supports customTypes filtering on gets unreadItemCount
- Added
getUnreadItemCount(params:completionHandler:)
method inSendbirdChat
class - Added
GroupChannelUnreadItemCountParams
class - Deprecated
getUnreadItemCount(key:completionHandler:)
method inSendbirdChat
class
- Added
- Added
EventDetail
inChannelContext
to hold detailed information of channel events- i.e. Getting an inviter/invitees information when a channel has been added from receiving an invitation:
func addedChannels( _ collection: GroupChannelCollection, context: ChannelContext, addedChannels: [GroupChannel]) { if let detail = context.eventDetail as? EventDetail.UserReceivedInvitation { let inviter = detail.inviter let invitees = detail.invitees } }
- i.e. Getting an inviter/invitees information when a channel has been added from receiving an invitation:
- Added interfaces for
MessageForm
to work with Sendbird dashboard
(Form
interfaces have been deprecated)- Added
submitMessageForm(completionHandler:)
method inBaseMessage
class - Added
messageForm
property inBaseMessage
class - Added
MessageForm
class - Added
MessageFormItem
class - Added
MessageFormItem.Style
class - Added
MessageFormItem.LayoutType
enum - Added
MessageFormItem.ResultCount
enum - Deprecated
submitForm(form:completionHandler)
method inBaseMessage
class - Deprecated
forms
property inBaseMessage
class - Deprecated
Form
class and interfaces - Deprecated
FormField
class and interfaces - Deprecated
FormFieldAnswer
class and interfaces
- Added
Improvements
- Fix invalid query parameter value in
getTotalScheduledMessageCount
request
4.20.0
New Interfaces
- Support pinned message in
OpenChannel
- Added
pinnedMessageIds
property inBaseChannel
- Added
lastPinnedMessage
property inBaseChannel
- Added
pinMessage
method inBaseChannel
- Added
unpinMessage
method inBaseChannel
- Added
channelDidUpdatePinnedMessages
inOpenChannelDelegate
- Improved
SendbirdChat.createPinnedMessageListQuery
to use inOpenChannel
- Added
Improvements
- Added
hasBot
andhasAIBot
properties inGroupChannel
4.19.9
Improvements
- Fixed an issue with apiResult of the handler of
MessageCollection
receiving messages from a point in time beforeresetMyHistory()
call - Fixed to remove messages before resetMyHistory time from database when calling resetMyHistory
- Fixed for freeze status not updating
- Fixed timing for updating the count of participants
4.19.8
Improvements
- Deprecated
SendbirdChat.authenticateFeed
; Please useSendbirdChat.authenticate
instead. - Added
SendbirdChat.getTotalUnreadNotificationsCount
to get the total unread notification count of the user. - Renamed
markAsViewed(messages:)
tologViewed(messages:)
. - Added push notification handling methods to accept the API host as a parameter for sending delivered and clicked requests.
SendbirdChat.markPushNotificationAsDelivered(apiHost:remoteNotificationPayload:completionHandler:)
SendbirdChat.markPushNotificationAsClicked(apiHost:remoteNotificationPayload:completionHandler:)
- Fixed an issue where
RequestHeadersContext
crashes due to_swift_release_dealloc
.
4.19.7
Improvements
- Add macOS support.
- Add static library SDK.
- Fixed
Reaction
hash
andisEqual
to reflect same properties.
4.19.6
Improvements
- Fixed an arithmetic overflow issue when entering a GroupChannel.
4.19.5
Improvements
- Fixed
reportUsers
request failure issue - Fixed integer overflow when trying to access
Reaction.hash
- Improved stability