github GetStream/stream-chat-android 4.5.2

latest releases: 6.22.1, 6.22.0, 6.21.0...
4 years ago

stream-chat-android-client

  • Use proper data on ChatClient::reconnectSocket to reconnect normal/anonymous user
  • Add enforceUnique parameter to ChatClient::sendReaction and ChannelClient::sendReaction methods .
    If reaction is sent with enforceUnique set to true, new reaction will replace all reactions the user has on this message.
  • Add suspending setUserAndAwait extension for ChatClient
  • Replace chat event listener Kotlin functions with ChatEventListener functional interface in order to promote
    a better integration experience for Java clients. Old methods that use the Kotlin function have been deprecated.
    Deprecated interfaces, such as ChannelController, have not been updated. ChannelClient, which inherits from ChannelController
    for the sake of backwards compatibility, has been updated.

stream-chat-android-offline

  • Add enforceUnique parameter to SendReaction use case. If reaction is sent with enforceUnique set to true,
    new reaction will replace all reactions the user has on this message.
  • Fix updating Message::ownReactions and Message:latestReactions after sending or deleting reaction - add missing userId to Reaction
  • Fix Load Thread Replies process

stream-chat-android-ui-common

  • Add a new isThreadMode flag to the MessageListItem.MessageItem class.
    It shows is a message item should be shown as part of thread mode in chat.
  • Add possibility to set DateSeparatorHandler via MessageListViewModel::setDateSeparatorHandler
    and MessageListViewModel::setThreadDateSeparatorHandler which determines when to add date separator between messages
  • Add MessageListViewModel.Event.ReplyAttachment, MessageListViewModel.Event.DownloadAttachment, MessageListViewModel.Event.ShowMessage,
    and MessageListViewModel.Event.RemoveAttachment classes.
  • Deprecate MessageListViewModel.Event.AttachmentDownload

Don't miss a new stream-chat-android release

NewReleases is sending notifications on new releases.