Skip to content

Releases: sendbird/sendbird-uikit-react-native

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)

v3.6.0

05 Aug 07:04
066d4a4
Compare
Choose a tag to compare

3.6.0 (2024-07-09)

Release notes

  • Added thread type in GroupChannel
    • Added GroupChannelThreadFragment
    • Added GroupChannelThreadProps
    • Added GroupChannelThreadModule
    • Added GroupChannelThreadContextsType

Changelogs

Features

  • added thread type in GroupChannel (5e815ea)

Bug Fixes

  • fixed issue with mention suggestion list sorting (5e815ea)
  • fixed issue with file upload size limit exceeded (5e815ea)

v3.5.4

13 Jun 07:34
Compare
Choose a tag to compare

3.5.4 (2024-06-13)

Release notes

  • Deprecated the setter of enableReactionsSupergroup in SendbirdUIKitContainerProps, which is not allowed by default. If you wish to use this feature, contact us.

Changelogs

Features

  • deprecated enableReactionsSupergroup in SendbirdUIKitContainerProps (b90d2e2)