Skip to content

Releases: sendbird/sendbird-chat-sdk-ios

4.21.3

11 Sep 05:00
8f2ff7f
Compare
Choose a tag to compare

Improvements

  • Fixed bug where requestId is not being set properly when sending a user message

4.21.2

10 Sep 12:03
d76c4c6
Compare
Choose a tag to compare

Improvements

  • Fixed internal messageChangeLog in MessageCollection not updating to correct next token.

4.21.1

03 Sep 05:58
9bbd960
Compare
Choose a tag to compare

Improvements

  • Fixed how "reset my channel history" is handled after it was triggered (both via SDK or Platform API)

4.21.0

29 Aug 02:24
9bbd960
Compare
Choose a tag to compare

New Interfaces

  • Supports customTypes filtering on gets unreadItemCount
    • Added getUnreadItemCount(params:completionHandler:) method in SendbirdChat class
    • Added GroupChannelUnreadItemCountParams class
    • Deprecated getUnreadItemCount(key:completionHandler:) method in SendbirdChat class
  • Added EventDetail in ChannelContext 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
          }
      }
  • Added interfaces for MessageForm to work with Sendbird dashboard
    (Form interfaces have been deprecated)
    • Added submitMessageForm(completionHandler:) method in BaseMessage class
    • Added messageForm property in BaseMessage class
    • Added MessageForm class
    • Added MessageFormItem class
    • Added MessageFormItem.Style class
    • Added MessageFormItem.LayoutType enum
    • Added MessageFormItem.ResultCount enum
    • Deprecated submitForm(form:completionHandler) method in BaseMessage class
    • Deprecated forms property in BaseMessage class
    • Deprecated Form class and interfaces
    • Deprecated FormField class and interfaces
    • Deprecated FormFieldAnswer class and interfaces

Improvements

  • Fix invalid query parameter value in getTotalScheduledMessageCount request

4.20.0

07 Aug 11:10
e8cdfcd
Compare
Choose a tag to compare

New Interfaces

  • Support pinned message in OpenChannel
    • Added pinnedMessageIds property in BaseChannel
    • Added lastPinnedMessage property in BaseChannel
    • Added pinMessage method in BaseChannel
    • Added unpinMessage method in BaseChannel
    • Added channelDidUpdatePinnedMessages in OpenChannelDelegate
    • Improved SendbirdChat.createPinnedMessageListQuery to use in OpenChannel

Improvements

  • Added hasBot and hasAIBot properties in GroupChannel

4.19.9

26 Jul 02:15
3dab077
Compare
Choose a tag to compare

Improvements

  • Fixed an issue with apiResult of the handler of MessageCollection receiving messages from a point in time before resetMyHistory() 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

09 Jul 08:13
6627fd3
Compare
Choose a tag to compare

Improvements

  • Deprecated SendbirdChat.authenticateFeed; Please use SendbirdChat.authenticate instead.
  • Added SendbirdChat.getTotalUnreadNotificationsCount to get the total unread notification count of the user.
  • Renamed markAsViewed(messages:) to logViewed(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

13 Jun 23:53
6007329
Compare
Choose a tag to compare

Improvements

  • Add macOS support.
  • Add static library SDK.
  • Fixed Reaction hash and isEqual to reflect same properties.

4.19.6

30 May 07:57
2df3212
Compare
Choose a tag to compare

Improvements

  • Fixed an arithmetic overflow issue when entering a GroupChannel.

4.19.5

21 May 06:54
cd94244
Compare
Choose a tag to compare

Improvements

  • Fixed reportUsers request failure issue
  • Fixed integer overflow when trying to access Reaction.hash
  • Improved stability