Releases: sendbird/sendbird-chat-sdk-ios
Releases · sendbird/sendbird-chat-sdk-ios
v4.2.4
Features
You can now set longer timeout value (Previously 10s) for session token expiry. (Default: 60s, Maximum: 1800s). This means that Sendbird SDK will wait longer for your new session token, making it easier for you to reconnect to our service.
@objc class func setSessionTokenRefreshTimeout(_ timeout: Int)
Improvements
- Fixed bug where
BaseChannelHandler.onChannelChanged
andGroupChannelHandler.onPinnedMessageUpdated
are not being called when the pinned message is updated - Fixed channelURL filter not working when fetching pendingMessage
- Fixed wrong channels being returned in copyMessage completionHandler
v4.2.3
Improvements
- Improved database synchronization stability
v4.2.2
Improvements
- Fixed a bug where unread count of channels is not updated in time
- Changed to ensure reachability notification is called on the main thread
v4.2.1
Improvements
- Fixed a bug where channel filters (ex:
channelURLFilter
) were not applied properly inGroupChannelCollection
v4.2.0
Features
Pinned Message 📌
Pinned Message is released. You can now maintain a special set of messages (up to 10 per channel) that you want everyone in the channel to share. It can be anything from announcements, surveys, upcoming events, and any many more. Pin your messages and never miss them!
Stay tuned for updates as we are rolling out more exciting features and see below for exact specifications:point_down:
Specification
- Pin when sending a message
UserMessageCreateParams.isPinnedMessage: Bool = false
FileMessageCreateParams.isPinnedMessage: Bool = false
- Pin existing message
GroupChannel.pinMessage(messageId:completionHandler:)
- Unpin a message
GroupChannel.unpinMessage(messageId:completionHandler:)
- Pinned messages
GroupChannel.lastPinnedMessage: BaseMessage? = nil
GroupChannel.pinnedMessageIds: [Int64]? = nil
We strongly recommend using Collections (Message, Channel) to implement Pinned Messages as it would automatically take care of numerous events out of the box when messages are created, updated, and deleted.
Improvements
- Added
use_local_cache
to the request header - Removed internal logs
v4.1.8
Improvements
- Added
urlSession(_:task:didCompleteWithError:)
method implementation to the native web socket engine
v4.1.7
Improvements
- Fixed a memory leak in the web socket engine
- Added error log when using uninitialized Sendbird instance
- Fixed to upsert channel change into database when receiving events
- Fixed to use cached open channel when receiving system event
v4.1.6
Improvements
- Fixed a bug where
GroupChannelCollection::loadMore
'scompletionHandler
is not called under iOS 13
v4.1.5
Improvements
- Fixed a crash issue when logging in RequestQueue
v4.1.4
Improvements
- Fixed filtering logic (
joinedOnly
) inGroupChannelListQuery.myMemberStateFilter
- Fixed an issue where deleted channels remain in the local cache
- Applied atomicity to
cacheChannels
,hasNext
inGroupChannelCollection
- Fixed concurrency issue in
SafeDictionary