Releases: GetStream/stream-chat-swift
Releases · GetStream/stream-chat-swift
1.3.16
1.3.15
1.3.14
Added
- Support expired
Token
's with a token provider:
Client.shared.set(user: user) { tokenProvider in
YourClient.shared.getToken { token in
tokenProvider(token)
}
}
- More flexibility of Push Notifications setup for hosted apps.
- A local notification body with an attachment file name.
Fixed
ChannelPresenter
for creating a channel for 1-by-1.- The content channel type value for notifications.
ChatViewController
for UI warnings.ComposerView
for different safe areas.- UITextView height in the
ComposerView
in combinations with attachments.
1.3.13-core
Added
BaseURL
with a custom URL more flexible:BaseURL(customURL: URL(string: "chat-server.com")!)
- A convenience Channel init for a 1-by-1 chat:
public convenience init(type: ChannelType, with member: Member, extraData: Codable? = nil)
1.3.12
1.3.11
Added
Presenter
has a new propertyhasNextPage
.- A user info key
channelType
for Push Notifications.
Fixed
- Error message for the sending mark read event for channels with disabled the read message feature.
- Crash in AvatarView for user name
test
. - A disabled keyboard bug for none
messaging
channels. - Bugs filtering channels by id + type.
1.3.10
1.3.9
Added
ChannelsViewController.defaultStyle
andChatViewController.defaultStyle
for easer way to override the style in subclasses.
Changed
Notifications
more flexible for push notifications to use in hosted apps.
Fixed
- Unread count for own messages.
- Members in channels.
1.3.8
Added
Client.disconnect()
will disconnect from web sockets and the current user will be logged out.ViewChanges.disconnected
for user log out.- Added style for an unread channel name.
Changed
ChannelsPresenter
has no filter or sorting. By default channels sorted on server side by the last message date.
Fixed
ChannelsViewController
for user log out.
1.3.7
Fixed
- Unread observable state for
Channel
. - Unread state for
ChannelPresenter
.
Changed
ChannelsPresenter
init with filter and sorting parameters.- The default filter for channels in
ChannelsPresenter
changed to filter by members with the current user id. - Cleaned up
Client.onEvent
methods. Required aChannel
instead ofchannelType
+channelId
.