Skip to content

Releases: sendbird/sendbird-uikit-android

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.

v3.15.0

28 Mar 05:03
d934102
Compare
Choose a tag to compare

v3.15.0 (Mar 28, 2024) with Chat SDK v4.16.0

  • Added sendLogViewed(List<BaseMessage>) in FeedNotificationChannelViewModel.
  • Deprecated sendLogImpression(List<BaseMessage>) in FeedNotificationChannelViewModel.
  • Supported reactions in super group channel.
    Added enableReactionsSupergroup in ChannelConfig.

v3.14.1

20 Mar 08:28
ba929e2
Compare
Choose a tag to compare

v3.14.1 (Mar 20, 2024) with Chat SDK v4.15.6

  • Fixed issue where the position of the empty icon was displayed incorrectly.

v3.14.0

19 Mar 03:18
3de1ff7
Compare
Choose a tag to compare

v3.14.0 (Mar 19, 2024) with Chat SDK v4.15.6

  • A feedback feature has been added to give opinions on the message.
    • Added setEmptyIcon(int), setEmptyIcon(int, ColorStateList), setEmptyText(int), and setErrorText(int) in ChatNotificationChannelFragment.
    • Added setEmptyIcon(int), setEmptyIcon(int, ColorStateList), setEmptyText(int), and setErrorText(int) in FeedNotificationChannelFragment.
  • Simple example for creating FeedNotificationChannelFragment with empty icon and text.
val feedChannelFragment = FeedNotificationChannelFragment.Builder(channelUrl)
      .withArguments(args)
      .setEmptyIcon(R.drawable.icon_empty)
      .setEmptyText(R.string.text_empty_notification)
      .build()

v3.13.0

01 Feb 08:14
60cd795
Compare
Choose a tag to compare

v3.13.0 (Feb 1, 2024) with Chat SDK v4.14.2

  • A feedback feature has been added to give opinions on the message.
    • Added enableFeedback in ChannelConfig.
    • Added OnFeedbackRatingClickListener which is a callback to be invoked when a feedback rating is clicked.
    • Added getFeedbackRatingClickListener() and setFeedbackRatingClickListener(OnFeedbackRatingClickListener) in BaseMessageListAdapter.
    • Added setOnFeedbackRatingClickListener(OnFeedbackRatingClickListener) and onFeedbackRatingClicked(BaseMessage, FeedbackRating) in BaseMessageListComponent.
    • Added onFeedbackRatingClicked(BaseMessage, FeedbackRating) in ChannelFragment.
    • Added submitFeedback(BaseMessage, FeedbackRating, String) and removeFeedback(BaseMessage) in ChannelViewModel.
    • Added onFeedbackSubmitted(), onFeedbackUpdated() and onFeedbackDelete in ChannelViewModel. They allow you to observe feedback events for submitting, updating and deleting feedback.

v3.12.1

18 Jan 05:56
09c81c2
Compare
Choose a tag to compare

v3.12.1 (Jan 18, 2024) with Chat SDK v4.14.1

  • Fix memory leaks in UIKit.