Releases: sendbird/sendbird-uikit-react-native
v3.8.2
v3.8.1
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
3.8.0 (2024-11-21)
Release notes
-
Dependency Update
The minimum version of@sendbird/chat
has been bumped to4.16.0
. -
Reaction Support in Supergroup
Reactions are now supported in supergroups. This update introduces a simplifiedReactedUserInfo
type, replacing the previousUser
andMember
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
v3.7.5
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
v3.7.4
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
v3.7.3
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 thedate-fns
library. - Fixed Token Deregistration Bug: Adjusted the code to ensure that token deregistration completes successfully before initiating a disconnect.
Changelogs
Bug Fixes
- await token apis (cdc1b4c)
v3.7.2
3.7.2 (2024-09-25)
Release notes
- Added event handlers interface for
onOpenURL
andonOpenFileURL
toSendbirdUIKitContainer
.<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
v3.7.0
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.
-
For more details on remote debugging deprecations, refer to react-native-community discussions and proposals #734.
-
For information on the new debugger, refer to react-native-community discussions and proposals #733.
Chore
- Updated sample React-Native version to 0.74.3