Skip to content

Releases: sendbird/sendbird-uikit-react-native

v3.8.2

11 Dec 08:37
Compare
Choose a tag to compare

3.8.2 (2024-12-11)

Release notes

  • Enabled overriding all chat options

Changelogs

Note: Version bump only for package sendbird-uikit-react-native

v3.8.1

28 Nov 08:32
Compare
Choose a tag to compare

3.8.1 (2024-11-28)

Release notes

  • Added fallback for deleted emoji icons
    Fixed a crash that occurred when a reaction emoji was deleted and could not be found. A question mark icon will now appear as a fallback in such cases.

  • Support for hiding user ids in mention suggestions
    Added an option to hide user IDs in the mention suggestion list. It can be used as shown below:

    const module = createGroupChannelModule();
    const GroupChannelFragment = createGroupChannelFragment({
      SuggestedMentionList: (props) => <module.SuggestedMentionList {...props} showUserId={false} />,
    });

Changelogs

Features

  • added showUserId config to suggested mention list (5f7c6af)

Bug Fixes

  • add emoji fallback icon (3d30123)

v3.8.0

21 Nov 08:34
Compare
Choose a tag to compare

3.8.0 (2024-11-21)

Release notes

  • Dependency Update
    The minimum version of @sendbird/chat has been bumped to 4.16.0.

  • Reaction Support in Supergroup
    Reactions are now supported in supergroups. This update introduces a simplified ReactedUserInfo type, replacing the previous User and Member types for reaction-related data. For more details, please refer to the #217.

  • RTL Support
    Right-to-left (RTL) support is now automatically activated based on the language.

    import { I18nManager } from 'react-native';
    
    // To allow RTL support, use the following code:
    I18nManager.allowRTL(true);
    
    // To test RTL, you can force RTL by using the following code:
    // I18nManager.forceRTL(true);

    Android: Add the following line to your AndroidManifest.xml to enable RTL support:

    <application
        android:supportsRtl="true">
    </application>

    iOS: For iOS, enable RTL support by adding supported languages in the Localizations section of your Xcode project settings.

  • Improved stability
    Some bugs related to voice messages have been fixed.

Changelogs

Features

  • added local configs screen to support dynamic configs (8e2591a)
  • added visibility of users who reacted in SuperGroupChannel (a79ac92)
  • added visibility of users who reacted in SuperGroupChannel (afa1c3d)
  • apply direction to text ui layout (09f0bef)
  • apply rtl support to open channel fragments (ed9b5b5)
  • apply rtl to channel preview component (1e1e930)
  • apply rtl to group channel header (080b3f4)
  • apply rtl to icon component (56c2793)
  • apply rtl to thread (3aee405)
  • change left to start and right to end in styles (6ffb896)
  • support rtl to text and text input (ee4a0c8)
  • updated chat sdk version to 4.15.0 (7cf3f47)
  • updated chat sdk version to 4.16.0 (5500831)

Bug Fixes

  • apply LRM,RLM properly for mention direction (7c7a751)
  • clear voiceMessageStatusManager on unmount group channel fragment (8c7a73a)
  • ensure text aligns center regardless of RTL setting (89401bb)
  • metion block should be grouped (662e6f8)
  • reset currentTime when voice message stopped (c91d7fd)
  • sync voice status of thread parent message component (d3c76d5)

v3.7.6

05 Nov 04:46
Compare
Choose a tag to compare

3.7.6 (2024-11-05)

Release notes

  • Reverted the Android CAMERA permission to mandatory.

Changelogs

Bug Fixes

  • revert android camera permission (c5db2a2)

v3.7.5

29 Oct 07:20
Compare
Choose a tag to compare

3.7.5 (2024-10-29)

Release notes

  • Updated Android permissions to comply with Google Play Store policies
  • Fixed an issue where images were not visible in the file viewer due to z-index conflicts in the new architecture
  • Fixed an issue where reactions could not be added or removed correctly
  • Fixed an issue with scroll behavior during message streaming in bot chats for smoother scrolling

Changelogs

Features

  • add scrolling for streaming message update (c4924bc)

Bug Fixes

  • ensure image visibility in file viewer on new architecture (ec6834b)
  • remove non-required permissions from android (4646e34)
  • resolve this binding issues (c4561a0)

v3.7.4

22 Oct 05:22
Compare
Choose a tag to compare

3.7.4 (2024-10-22)

Release notes

  • Removed calls to the Promise.allSettled API that were causing issues in some environments.
  • Removed the default value of onOpenFileURL to maintain backward compatibility.

Changelogs

Bug Fixes

  • added try/catch to unhandled errors (5df59ce)
  • remove default onOpenFileURL handler (2ad2275)

v3.7.3

15 Oct 07:43
Compare
Choose a tag to compare

3.7.3 (2024-10-15)

Release notes

  • Enhanced Compatibility with date-fns: Updated internal code and dependencies to ensure better compatibility with the latest version of the date-fns library.
  • Fixed Token Deregistration Bug: Adjusted the code to ensure that token deregistration completes successfully before initiating a disconnect.

Changelogs

Bug Fixes

v3.7.2

25 Sep 07:24
Compare
Choose a tag to compare

3.7.2 (2024-09-25)

Release notes

  • Added event handlers interface for onOpenURL and onOpenFileURL to SendbirdUIKitContainer.
    <SendbirdUIKitContainer
      appId={APP_ID}
      handlers={{
        onOpenURL: (url) => {
          console.log('onOpenURL', url);
        },
        onOpenFileURL: (url) => {
          console.log('onOpenFileURL', url);
        },
      }}
    />

Changelogs

Features

  • add sbu handlers interface (0e75d81)

v3.7.1

10 Sep 07:18
Compare
Choose a tag to compare

3.7.1 (2024-09-10)

Release notes

  • Fixed the behavior to call disconnectWebsocket() instead of disconnect() on unmount SendbirdUIKitContainer to avoid unintentionally clearing the cache.

Changelogs

Bug Fixes

  • disconnect ws only on unmounted (5f09729)

v3.7.0

08 Aug 00:20
Compare
Choose a tag to compare

3.7.0 (2024-08-08)

Release notes

Features

  • Added support for MMKV storage and deprecated AsyncStorage.
    import { MMKV } from 'react-native-mmkv';
    
    import { SendbirdUIKitContainer } from '@sendbird/uikit-react-native';
    
    const mmkv = new MMKV();
    const App = () => {
      return <SendbirdUIKitContainer chatOptions={{ localCacheStorage: mmkv }}>{/* ... */}</SendbirdUIKitContainer>;
    };

Important

Since react-native-mmkv uses JSI for synchronous native method invocations, remote debugging (e.g., with Chrome) is no longer possible.
Instead, you should use Flipper or React DevTools.

Chore

  • Updated sample React-Native version to 0.74.3

Changelogs

Features

  • support mmkv storage and deprecate a async storage (ffbb8fc)
  • updated sample React version to 0.74.3 (0e32587)