Skip to content

Releases: sendbird/sendbird-uikit-android

v3.21.1

12 Nov 06:31
7c7849f
Compare
Choose a tag to compare

v3.21.1 (Nov 12, 2024) with Chat SDK v4.20.0

  • Fixed thumbs up reaction not working in chat messages.

v3.21.0

12 Sep 02:44
93f1b97
Compare
Choose a tag to compare

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

30 Aug 01:11
c103e1c
Compare
Choose a tag to compare

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.
  • Fixed a crash in the new version due to new fields not having default value.

v3.20.0

29 Aug 02:09
c49f473
Compare
Choose a tag to compare

v3.20.0 (Aug 29, 2024) with Chat SDK v4.18.0 DEPRECATED

  • Deprecated as this version would cause MissingFieldException from NotificationTemplate 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.

v3.19.0

01 Aug 02:37
a688bff
Compare
Choose a tag to compare

v3.19.0 (Aug 1, 2024) with Chat SDK v4.17.0

  • Deprecated authenticateFeed(AuthenticationHandler) in SendbirdUIKit, which is replaced by authenticate(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

20 Jun 08:37
d7deb36
Compare
Choose a tag to compare

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) in ChannelConfig, 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

07 Jun 08:46
f0a101b
Compare
Choose a tag to compare

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

23 May 08:04
797e0b1
Compare
Choose a tag to compare

v3.17.0 (May 23, 2024) with Chat SDK v4.16.3

  • Deprecated notifyStatusUpdated(GroupChannel, StatusFrameView) in MessageThreadInputComponent

  • Added a new interface to set the enable state of the message input field

    • Added boolean tryToChangeEnableInputView(boolean, String) in ChannelFragment, MessageThreadFragment, OpenChannelFragment
    • Added boolean tryToChangeEnableInputView(boolean, GroupChannel, String) in MessageInputComponent
    • Added boolean tryToChangeEnableInputView(boolean, OpenChannel, String) in OpenChannelMessageInputComponent
  • A new interface has been added to allow you to customise the items in the RecyclerView

    • Added String getActionContextMenuTitle(GroupChannel), List<DialogListItem> makeChannelContextMenu(GroupChannel), and boolean onChannelContextMenuItemClicked(GroupChannel, View, DialogListItem) in ChannelListFragment
  • 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>) and setOnItemLongClickListener(OnItemLongClickListener<BaseMessage>) in ChatNotificationChannelFragment.Builder and FeedNotificationChannelFragment.Builder
  • Added a new feature to support markdown syntax in UserMessage

    • Added enableMarkdownForUserMessage: Boolean in ChannelConfig. 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)
  • 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 and SuggestedRepliesDirection.HORIZONTAL which indicate the direction of the suggested replies in SuggestedRepliesView.
    • Added SuggestedRepliesFor.ALL_MESSAGES and SuggestedRepliesFor.LAST_MESSAGE_ONLY, which specify the target messages for suggested replies.
    • Added suggestedRepliesFor in ChannelConfig to set the target messages for suggested replies.
    • Added suggestedRepliesDirection in ChannelConfig to set the direction of the suggested replies.

v3.16.1

03 May 08:42
436e979
Compare
Choose a tag to compare

v3.16.1 (May 3, 2024) with Chat SDK v4.16.2

  • Fixed timeline messages not showing up in the channel.

v3.16.0

25 Apr 05:47
4066912
Compare
Choose a tag to compare

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) in ChannelSettingsMenuComponent
  • 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), and onActionContextMenuItemClicked(Member, DialogListItem, GroupChannel) in MemberListFragment
  • Added getActionContextMenuTitle(User, OpenChannel), makeActionContextMenu(User, OpenChannel), and onActionContextMenuItemClicked(User, DialogListItem, OpenChannel) in MemberListFragment
  • Added Message template feature for GroupChannel.