Releases: sendbird/sendbird-chat-sdk-android
Releases · sendbird/sendbird-chat-sdk-android
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.
v4.9.0
Features
MultipleFilesMessage
You can send a MultipleFilesMessage
that contains multiple files in a single message via GroupChannel.sendMultileFilesMessage()
- Added
MultipleFilesMessage
. - Added
GroupChannel.sendMultipleFilesMessage
,MultipleFilesMessageCreateParams
,UploadableFileInfo
andUploadedFileInfo
. - Added
MultipleFilesMessageHandler
andFileUploadhandler
. - Added
SendbirdChat.multipleFilesMessageFileCountLimit
that indicates the maximum count of files that can be included in a single message.
val params = MultipleFilesMessageCreateParams(
listOf(
UploadableFileInfo(file),
UploadableFileInfo(fileUrl)
)
)
channel.sendMultipleFilesMessage(
params,
fileUploadHandler = { requestId, index, uploadableFileInfo, e ->
// handle the upload result of each UploadableFileInfo.
},
multipleFilesMessageHandler = { message, e ->
// handle the result of sending MultipleFilesMessage.
}
)
v4.8.3
Improvements
- Fixed SendbirdChat.Connect callback not being called when Sendbird.connect and GroupChannel.GetChannel are called simultaneously
- Improved speed of initialization to reduce initialization timeout
v4.8.2
Improvements
- Improved stability