v4.21.0
sendbird-sdk-deployment
released this
21 Nov 01:43
·
6 commits
to main
since this release
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 inBaseChannel
- Added
reportUser(User, ReportCategoryInfo, String?, CompletionHandler?)
method inBaseChannel
- Added
reportMessage(BaseMessage, ReportCategoryInfo, String?, CompletionHandler?)
method inBaseChannel
- Deprecated
ReportCategory
- Deprecated
report(ReportCategory, String?, CompletionHandler?)
method inBaseChannel
- Deprecated
reportUser(User, ReportCategory, String?, CompletionHandler?)
method inBaseChannel
- Deprecated
reportMessage(BaseMessage, ReportCategory, String?, CompletionHandler?)
method inBaseChannel
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
andokhttp
. - This change was made because
okhttp
andgson
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.
- The