Releases: sendbird/sendbird-uikit-android
Releases · sendbird/sendbird-uikit-android
v3.21.1
v3.21.0
v3.21.0 (Sep 12, 2024) with Chat SDK v4.19.0
- Changed the Form type message UI rendering due to the modification of the Form model from BaseMessage to MessageForm.
- Sendbird Business Messaging changes
- Changed behavior not to send viewed stats in case the message is fallback message.
- Fixed not collecting viewed stats when the category filter is changed.
v3.20.1
v3.20.1 (Aug 30, 2024) with Chat SDK v4.18.0
- Added support for EmojiCategory. You can now filter emojis for different messages when adding Reactions to a message.
- New Interfaces
class BaseMessageListAdapter { fun getEmojiCategories(message: BaseMessage): List<Long>? { return null } }
- Note: You need to set your custom EmojiCategory using Sendbird Platform API in advance.
- New Interfaces
- Fixed a crash in the new version due to new fields not having default value.
v3.20.0
v3.20.0 (Aug 29, 2024) with Chat SDK v4.18.0
DEPRECATED
v4.18.0
- Deprecated as this version would cause
MissingFieldException
fromNotificationTemplate
due to adding a new field without a default value. - Added support for EmojiCategory. You can now filter emojis for different messages when adding Reactions to a message.
- New Interfaces
class BaseMessageListAdapter { fun getEmojiCategories(message: BaseMessage): List<Long>? { return null } }
- Note: You need to set your custom EmojiCategory using Sendbird Platform API in advance.
- New Interfaces
v3.19.0
v3.19.0 (Aug 1, 2024) with Chat SDK v4.17.0
- Deprecated
authenticateFeed(AuthenticationHandler)
inSendbirdUIKit
, which is replaced byauthenticate(AuthenticationHandler)
. - Fixed the crash issue caused by the
bindingAdapterPosition
in the RecyclerView not being returned correctly. - Support Right-to-Left (RTL) languages.
v3.18.0
v3.18.0 (Jun 20, 2024) with Chat SDK v4.16.4
- Updated dependencies
- update compileSdkVersion to 34
- [Gradle Plugin] Gradle 8.6
- [Gradle Plugin] Android Gradle Plugin 8.4.1
- Deprecated
enableReactionsSupergroup(Boolean)
inChannelConfig
, which is not allowed by default. If you wish to use this feature, contact us. - Added a new set of
color
resources for UIKit.
v3.17.1
v3.17.1 (Jun 7, 2024) with Chat SDK v4.16.4
- Fixed an intermittent crash due to variable initialization when entering a notification channel.
- Optimized ChatBot streaming message animation.
v3.17.0
v3.17.0 (May 23, 2024) with Chat SDK v4.16.3
-
Deprecated
notifyStatusUpdated(GroupChannel, StatusFrameView)
inMessageThreadInputComponent
-
Added a new interface to set the enable state of the message input field
- Added
boolean tryToChangeEnableInputView(boolean, String)
inChannelFragment
,MessageThreadFragment
,OpenChannelFragment
- Added
boolean tryToChangeEnableInputView(boolean, GroupChannel, String)
inMessageInputComponent
- Added
boolean tryToChangeEnableInputView(boolean, OpenChannel, String)
inOpenChannelMessageInputComponent
- Added
-
A new interface has been added to allow you to customise the items in the RecyclerView
- Added
String getActionContextMenuTitle(GroupChannel)
,List<DialogListItem> makeChannelContextMenu(GroupChannel)
, andboolean onChannelContextMenuItemClicked(GroupChannel, View, DialogListItem)
inChannelListFragment
- Added
-
Added a new interface to receive events when a message is clicked or long-clicked on the screen used in Sendbird Business Messaging
- Added
setOnItemClickListener(OnItemClickListener<BaseMessage>)
andsetOnItemLongClickListener(OnItemLongClickListener<BaseMessage>)
inChatNotificationChannelFragment.Builder
andFeedNotificationChannelFragment.Builder
- Added
-
Added a new feature to support markdown syntax in UserMessage
- Added
enableMarkdownForUserMessage: Boolean
inChannelConfig
. If you enable this feature, you can use markdown syntax in the UserMessage. - Currently, the following markdown syntax is supported:
- Bold:
**bold**
,__bold__
- Link:
[link](https://sendbird.com)
- Bold:
- Added
-
Options for Suggested Replies, Direction and Target, have been added.
- These two options only work when
ChannelConfig.enableSuggestedReplies
is enabled, and each flag operates independently. - Added
SuggestedRepliesDirection.VERTICAL
andSuggestedRepliesDirection.HORIZONTAL
which indicate the direction of the suggested replies inSuggestedRepliesView
. - Added
SuggestedRepliesFor.ALL_MESSAGES
andSuggestedRepliesFor.LAST_MESSAGE_ONLY
, which specify the target messages for suggested replies. - Added
suggestedRepliesFor
inChannelConfig
to set the target messages for suggested replies. - Added
suggestedRepliesDirection
inChannelConfig
to set the direction of the suggested replies.
- These two options only work when
v3.16.1
v3.16.1 (May 3, 2024) with Chat SDK v4.16.2
- Fixed timeline messages not showing up in the channel.
v3.16.0
v3.16.0 (Apr 25, 2024) with Chat SDK v4.16.2
Support a way to customise the menu items in the ChannelSettingsMenuComponent
and OpenChannelSettingsMenuComponent
.
- Added
createMenuView(Context, String, String, SingleMenuType, int, int)
inChannelSettingsMenuComponent
- Added
setMenuList(List<Menu>, MenuViewProvider) in
ChannelSettingsMenuComponent.Params` - Added
MenuViewProvider
to ChannelSettings that allows you to create and make custom menus.
- Simple example for creating custom menu.
ModuleProviders.channelSettings = ChannelSettingsModuleProvider { context, _ ->
ChannelSettingsModule(context).apply {
val customMenuList = ChannelSettingsMenuComponent.defaultMenuSet.toMutableList().apply {
add(ChannelSettingsMenuComponent.Menu.CUSTOM)
}
val component = ChannelSettingsMenuComponent().apply {
// set the custom menu list.
params.setMenuList(customMenuList) { context, _ -> // create custom menu view.
createMenuView(
context,
"Go to Chat",
null,
SingleMenuType.NONE,
R.drawable.icon_chat,
0
)
}
}
setChannelSettingsMenuComponent(component)
}
}
- Added
getActionContextMenuTitle(Member, GroupChannel)
,makeActionContextMenu(Member, GroupChannel)
, andonActionContextMenuItemClicked(Member, DialogListItem, GroupChannel)
inMemberListFragment
- Added
getActionContextMenuTitle(User, OpenChannel)
,makeActionContextMenu(User, OpenChannel)
, andonActionContextMenuItemClicked(User, DialogListItem, OpenChannel)
inMemberListFragment
- Added
Message template
feature forGroupChannel
.