Skip to content

Releases: sendbird/sendbird-chat-sdk-android

v4.16.0-ktx

27 Mar 06:35
341519b
Compare
Choose a tag to compare

Features

Added MessageTemplate feature for UIKit to render messages with templates.

  • Added suspend function SendbirdChat.getMessageTemplate(String): MessageTemplate and SendbirdChat.getMessageTemplatesByToken(String?, MessageTemplateListParams): MessageTemplatesResult
  • Added result handler function for message templates SendbirdChat.getMessageTemplate(String, ResultHandler<MessageTemplate>?) and fun SendbirdChat.getMessageTemplatesByToken(String?, MessageTemplateListParams, ResultHandler<MessageTemplatesResult>?).

v4.16.0

27 Mar 02:25
91a79c7
Compare
Choose a tag to compare

Features

You can mark push notifications as clicked within the SDK, tracking the push notification clicked rate.

  • Added markPushNotificationAsClicked(Map<String, String>, CompletionHandler) in SendbirdPushHelper

    SendbirdPushHelper.markPushNotificationAsClicked(pushData)
  • Added logViewed(List<BaseMessage>), logClicked(BaseMessage) in FeedChannel

  • Deprecated logImpression(List<BaseMessage>) in FeedChannel

Added MessageTemplate feature for UIKit to render messages with templates.

  • Added messageTemplateInfo property to AppInfo.
  • Added SendbirdChat.getMessageTemplate(String, MessageTemplateHandler?).
  • Added SendbirdChat.getMessageTemplatesByToken(String, MessageTemplateParams(), MessageTemplatesResultHandler?).
  • Added MessageTemplateHandler and MessageTemplatesResultHandler.
  • Added models for message templates, MessageTemplate, MessageTemplateInfo, MessageTemplatesResult and MessageTemplateListParams.

v4.15.7

22 Mar 03:09
78a9ea2
Compare
Choose a tag to compare

Improvements

  • Added EventDetail in GroupChannelContext/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
          }
      }

v4.15.6

11 Mar 04:55
b166c0a
Compare
Choose a tag to compare

Improvements

  • Fixed DateTimeException occurring from SendbirdChat.init() in some devices

v4.15.5

07 Mar 04:20
034af6a
Compare
Choose a tag to compare

Removed Features

  • Removed ThreadedParentMessageListQuery and related interfaces released in v4.15.4

v4.15.3-ktx

07 Mar 04:34
5099a03
Compare
Choose a tag to compare

Removed Features

  • Removed extension function in BaseMessage related to threaded message released in v4.15.2

v4.15.4

28 Feb 07:08
777eeeb
Compare
Choose a tag to compare

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

28 Feb 07:19
0bb9429
Compare
Choose a tag to compare

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 message
    class BaseMessage {
        suspend fun markThreadAsRead()
        suspend fun setPushNotificationEnabled(enabled: Boolean)
    }

v4.15.3

22 Feb 06:27
31cfae2
Compare
Choose a tag to compare

Improvements

  • Improved stability

v4.15.1-ktx

22 Feb 07:08
95d3fba
Compare
Choose a tag to compare

Improvements

  • Improved stability