Releases: sendbird/sendbird-chat-sdk-android
Releases · sendbird/sendbird-chat-sdk-android
v4.12.1
Improvements
- Improved stability.
v4.12.0
Features
You can get the categories of a set FeedChannel and the channel's properties from the Dashboard.
- Added
isCategoryFilterEnabled
,isTemplateLabelEnabled
, andnotificationCategories
in FeedChannel
var isCategoryFilterEnabled: Boolean
var isTemplateLabelEnabled: Boolean
var notificationCategories: List<NotificationCategory>
You can obtain the data that you set when you send Notification to the template that you created in the dashboard.
- Added
notificationData
inBaseMessage
val notificationData: NotificationData?
v4.11.1
Improvements
- Added
enableAutoResend
inInitParams.LocalCacheConfig
to control auto-resending feature when local cache is enabled - Added
isBot
inSender
- Added
file
,url
getters inUploadableFileInfo
- Mitigated an ANR issue and a failure of initialization by reducing access to SharedPreferences in the main thread
v4.11.0
Features
- Added 'SendbirdChat.authenticateFeed' for Sendbird Notifications
- Added 'SendbirdChat.refreshNotificationCollections' for Sendbird Notifications
Improvements
- Added
createdBefore
andcreatedAfter
in listingGroupChannels
.
class GroupChannelListQueryParams {
var createdBefore: Long? = null
var createdAfter: Long? = null
}
class GroupChannelListQuery {
val createdBefore: Long? = params.createdBefore
val createdAfter: Long? = params.createdAfter
}
class PublicGroupChannelListQueryParams {
var createdBefore: Long? = null
var createdAfter: Long? = null
}
class PublicGroupChannelListQuery {
val createdBefore: Long? = params.createdBefore
val createdAfter: Long? = params.createdAfter
}
v4.10.0
Features
You can mark push notifications as delivered within the SDK, tracking delivery status.
- Added
SendbirdPushHelper.markPushNotificationAsDelivered
.
SendbirdPushHelper.markPushNotificationAsDelivered(pushData)
Improvements
- Added
GroupChannel.resendMessage(MultipleFilesMessage, FileUploadHandler?, MultipleFilesMessageHandler?): MultipleFilesMessage?
,GroupChannel.copyMultipleFilesMessage(BaseChannel, MultipleFilesMessage, MultipleFilesMessageHandler?): MultipleFilesMessage?
. - Fixed a bug where the group channel changelogs did not update the group channel metadata.
v4.9.5
Improvements
- Fixed a bug where the group channel changelogs did not update the group channel metadata
- Fixed a bug where the changes of the *chat history setting were not reflected properly when the local cache is turned on.
*(Chat history setting can be found in Dashboard page - Settings - Channels - Chat history)
v4.9.4
Improvements
- Fixed a bug that was occurring when ProGuard was enabled. The issue prevented the function MessageCollection.onMessageAdded from being called for pending messages in FileMessage or MultipleFileMessage.
v4.9.3
Improvements
- Fixed a bug that MessageCollection.onMessageAdded is not called for a pending message of FileMessage or MultipleFileMessage
v4.9.2
Improvements
- Fixed the bug where the notification-related stats disappear when the app is restarted.
v4.9.1
Improvements
- Fixed a security flaw related to the connection
- Fixed a crash that occurred when sqlcipher was used alongside proguard.
- Fixed a randomly occurring ConcurrentModificationException.
- Introduced new error codes to streamline error handling:
- SendbirdError.ERR_INITIALIZATION_CANCELED: Triggered when SDK initialization exceeds 5 seconds to prevent App Not Responding (ANR) incidents.
- SendbirdError.ERR_DATABASE_ERROR_ENCRYPTION: Related to issues with sqlcipher, such as an undeclared sqlcipher dependency or an incorrect encryption key.