Skip to content

v4.21.0

Compare
Choose a tag to compare
@sendbird-sdk-deployment sendbird-sdk-deployment released this 21 Nov 01:43
· 6 commits to main since this release
c718928

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.