Skip to content

Releases: sendbird/sendbird-chat-sdk-android

4.23.0

24 Dec 08:39
998f200
Compare
Choose a tag to compare

Improvements

  • Performed internal modularization to enhance flexibility and stability.

4.22.0

20 Dec 05:07
dc7c367
Compare
Choose a tag to compare

Features

  • Supports for Poll feature is added for all message types.

    • Added poll and applyPoll(poll: Poll) method in BaseMessage.
    • Added pollId in FileMessageCreateParams and MultipleFilesMessageCreateParams.
  • Added sampledReactedUserInfoList in Reaction to support getting reaction-related data

  • Added ReactedUserInfo

  • Deprecated sampledUserIds in Reaction

class Reaction {
    val sampledReactedUserInfoList: List<ReactedUserInfo>
}

Improvements

  • Improved sender profile update in super group channel.
  • Fixed a bug where connecting fails with a user ID containing special characters.

v4.21.1

21 Nov 06:26
28c8718
Compare
Choose a tag to compare

Features

SDK now supports Custom Report Categories configured through Sendbird Dashboard, which takes effect after restarting the app. Previous report categories will remain until app restart.

  • Added getReportCategoryInfoList()
  • Added ReportCategoryInfo
  • Added report(ReportCategoryInfo, String?, CompletionHandler?) method in BaseChannel
  • Added reportUser(User, ReportCategoryInfo, String?, CompletionHandler?) method in BaseChannel
  • Added reportMessage(BaseMessage, ReportCategoryInfo, String?, CompletionHandler?) method in BaseChannel
  • Deprecated ReportCategory
  • Deprecated report(ReportCategory, String?, CompletionHandler?) method in BaseChannel
  • Deprecated reportUser(User, ReportCategory, String?, CompletionHandler?) method in BaseChannel
  • Deprecated reportMessage(BaseMessage, ReportCategory, String?, CompletionHandler?) method in BaseChannel

Improvements

  • Removed the shadow plugin and switched to referencing dependencies directly.
    • The shadow plugin was previously used to relocate package names of dependencies to avoid conflicts and resolve dependency management issues.
    • The affected libraries are gson and okhttp.
    • This change was made because okhttp and gson are widely used in Android apps. Shadowing these libraries duplicates their code in the final app, increasing app size. By removing shadowing, we aim to help developers optimize performance and reduce storage requirements.

v4.21.0

21 Nov 01:43
c718928
Compare
Choose a tag to compare

DEPRECATED

### Features
SDK now supports Custom Report Categories configured through Sendbird Dashboard, which takes effect after restarting the app. Previous report categories will remain until app restart.

  • Added getReportCategoryInfoList()
  • Added ReportCategoryInfo
  • Added report(ReportCategoryInfo, String?, CompletionHandler?) method in BaseChannel
  • Added reportUser(User, ReportCategoryInfo, String?, CompletionHandler?) method in BaseChannel
  • Added reportMessage(BaseMessage, ReportCategoryInfo, String?, CompletionHandler?) method in BaseChannel
  • Deprecated ReportCategory
  • Deprecated report(ReportCategory, String?, CompletionHandler?) method in BaseChannel
  • Deprecated reportUser(User, ReportCategory, String?, CompletionHandler?) method in BaseChannel
  • Deprecated reportMessage(BaseMessage, ReportCategory, String?, CompletionHandler?) method in BaseChannel

Improvements

  • Removed the shadow plugin and switched to referencing dependencies directly.
    • The shadow plugin was previously used to relocate package names of dependencies to avoid conflicts and resolve dependency management issues.
    • The affected libraries are gson and okhttp.
    • This change was made because okhttp and gson are widely used in Android apps. Shadowing these libraries duplicates their code in the final app, increasing app size. By removing shadowing, we aim to help developers optimize performance and reduce storage requirements.

v4.20.1

19 Nov 06:43
a46bd9e
Compare
Choose a tag to compare

Improvements

  • Fixed a bug where Reaction.count resets to 0 when Reaction.sampledUserIds is empty

v4.20.0

07 Nov 01:33
e1629a8
Compare
Choose a tag to compare

Features

  • Added new properties in Reaction to support more users
class Reaction {
    // A list of sampled userIds that have reacted to this Reaction.
    val sampledUserIds: List<String>

    // A count of the number of users who have reacted to this.
    var count: Long

    // A flag indicating whether the current user has reacted to this.
    var hasCurrentUserReacted: Boolean
}

v4.19.4

24 Oct 07:20
5659dfd
Compare
Choose a tag to compare

Improvements

  • Improved speed of GroupChannelCollection.loadMore() when the GroupChannelListQuery is set with filters.

v4.19.3

11 Oct 08:23
a5dbe7b
Compare
Choose a tag to compare

Improvements

  • Fixed a crash issue due to lack of proguard rule for PublicSuffixDatabase in the okhttp library.

v4.19.2

26 Sep 11:58
081cd95
Compare
Choose a tag to compare

Improvements

  • Fixed a bug where non-operator's message affects the last message and the unread message count for exclusive channels
  • Fixed a bug where a channel gets unexpectedly unhidden upon receiving a new message.
  • Added useDnsFallback to InitParams which enables a fallback where a second DNS lookup is attempted using a public DNS when the initial lookup using the system DNS fails. Its default value is false.

v4.19.1

12 Sep 11:48
57db57b
Compare
Choose a tag to compare

Improvements

  • Improved speed of MessageCollection.initialize() when there are lots of reply messages in the channel.