You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
v6.4.1
New
Added LocalMessageBubbleLongClick to the Compose UI Kit. Custom bubbles returned from BubbleFactory.getBubbleView can use it to trigger the same long-press action as built-in bubbles.
Added MessageOptionsUtils.isAppDefinedCustomMessage(message). It reports whether a custom message uses an app-defined type rather than a type the UI Kit renders itself (meeting, poll, sticker, document or whiteboard).
Enhancements
Lowered the minimum supported Android version of the UI Kit libraries from API 28 to API 26 (Android 8.0). Round cards, pills and chips, and image chats in the Compose UI Kit, display correctly on Android 8.
Updated short message bubbles to widen so they line up with their reaction row, matching v5 behaviour.
Fixes
Fixed translated messages not appearing right after you tapped Translate. Before this fix they only showed once you scrolled away and back.
Fixed long-pressing the text of a text bubble not opening the message options menu in the Views UI Kit.
Fixed long-press not opening the message options popup on bubbles rendered through BubbleFactory.getBubbleView in the Compose UI Kit.
Fixed audioBubbleStyle being ignored when nested inside the incoming or outgoing bubble styles. pauseIconTint and audioWaveColor now apply, and audio file cards also use the configured colours.
Fixed the "+N" reactions chip not opening the reaction list. It now opens the list on the All tab.
Fixed long-pressing a reaction chip in the Views UI Kit so it opens the reaction list on that emoji's tab.
Fixed loginWithAuthToken leaving the previous user logged in when a different user signed in.
Fixed login failing when the Calls SDK login failed. A Calls login error no longer blocks the chat login.
Breaking Changes
Changed login so the Chat SDK decides whether a login is needed; the UI Kit no longer checks for an existing session first. Apps that create a new auth token on every launch now log out and back in on each launch, and logging in while offline fails. Call CometChatUIKit.getLoggedInUser() first and skip login when it returns a user. Calling login(uid) for a user who is already logged in now also needs an auth key in UIKitSettings; without one it fails with ERROR_API_KEY_NOT_FOUND.
Changed long-press options for app-defined custom message types in both the Compose and Views UI Kits. These messages no longer get the default options, so long-press shows only quick reactions. If reactions are also hidden, no popup appears. Add options on the message list with addOptions, or replace them with options in Compose or setOptions in Views. Built-in message types keep their default options.
Changed the "+N" reactions chip in the Compose UI Kit so it always opens the reaction list. It no longer calls a custom onAddMoreReactionsClick handler. In the Views UI Kit, a handler set with setOnAddMoreReactionsClick still takes priority.