Releases: sendbird/sendbird-chat-sdk-android
Releases · sendbird/sendbird-chat-sdk-android
v4.16.0-ktx
Features
Added MessageTemplate
feature for UIKit to render messages with templates.
- Added suspend function
SendbirdChat.getMessageTemplate(String): MessageTemplate
andSendbirdChat.getMessageTemplatesByToken(String?, MessageTemplateListParams): MessageTemplatesResult
- Added result handler function for message templates
SendbirdChat.getMessageTemplate(String, ResultHandler<MessageTemplate>?)
andfun SendbirdChat.getMessageTemplatesByToken(String?, MessageTemplateListParams, ResultHandler<MessageTemplatesResult>?)
.
v4.16.0
Features
You can mark push notifications as clicked within the SDK, tracking the push notification clicked rate.
-
Added
markPushNotificationAsClicked(Map<String, String>, CompletionHandler)
inSendbirdPushHelper
SendbirdPushHelper.markPushNotificationAsClicked(pushData)
-
Added
logViewed(List<BaseMessage>)
,logClicked(BaseMessage)
inFeedChannel
-
Deprecated
logImpression(List<BaseMessage>)
inFeedChannel
Added MessageTemplate
feature for UIKit to render messages with templates.
- Added
messageTemplateInfo
property toAppInfo
. - Added
SendbirdChat.getMessageTemplate(String, MessageTemplateHandler?)
. - Added
SendbirdChat.getMessageTemplatesByToken(String, MessageTemplateParams(), MessageTemplatesResultHandler?)
. - Added
MessageTemplateHandler
andMessageTemplatesResultHandler
. - Added models for message templates,
MessageTemplate
,MessageTemplateInfo
,MessageTemplatesResult
andMessageTemplateListParams
.
v4.15.7
Improvements
- Added
EventDetail
inGroupChannelContext
/FeedChannelContext
to hold detailed information of channel events- i.e. Getting an inviter/invitees information when a channel has been added from receiving an invitation:
override fun onChannelsAdded(context: GroupChannelContext, channels: List<GroupChannel>) { if (context.eventDetail is EventDetail.OnUserReceivedInvitation) { val inviter: User? = context.eventDetail.inviter val invitees: List<User> = context.eventDetail.invitees } }
- i.e. Getting an inviter/invitees information when a channel has been added from receiving an invitation:
v4.15.6
Improvements
- Fixed
DateTimeException
occurring fromSendbirdChat.init()
in some devices
v4.15.5
Removed Features
- Removed
ThreadedParentMessageListQuery
and related interfaces released inv4.15.4
v4.15.3-ktx
Removed Features
- Removed extension function in
BaseMessage
related to threaded message released inv4.15.2
v4.15.4
Features
- Added
ThreadedParentMessageListQuery
class GroupChannel {
val totalUnreadReplyCount: Int
fun createThreadedParentMessageListQuery(
params: ThreadedParentMessageListQueryParams
): ThreadedParentMessageListQuery
}
class BaseMessage {
fun markThreadAsRead(handler: CompletionHandler?)
fun setPushNotificationEnabled(enabled: Boolean, handler: CompletionHandler?)
}
class ThreadInfo {
val unreadReplyCount: Int
val memberCount: Int
val isPushNotificationEnabled: Boolean
}
v4.15.2-ktx
Features
- Added new Kotlin Extension for SendbirdChat SDK
class User { suspend fun createMetaData(metaDataMap: Map<String, String>): Map<String, String> suspend fun updateMetaData(metaDataMap: Map<String, String>): Map<String, String> suspend fun deleteMetaData(key: String) suspend fun deleteAllMetaData() } class Poll { companion object { suspend fun create(params: PollCreateParams): Poll suspend fun get(params: PollRetrievalParams): Poll } } class PollOption { companion object { suspend fun get(params: PollOptionRetrievalParams): PollOption } }
- Added extension function in
BaseMessage
related to threaded messageclass BaseMessage { suspend fun markThreadAsRead() suspend fun setPushNotificationEnabled(enabled: Boolean) }
v4.15.3
Improvements
- Improved stability
v4.15.1-ktx
Improvements
- Improved stability