SendbirdUIKitContainer - React native - can not read property 'options' of undefined

[Problem/Question]
// Detailed description of issue.
SendbirdUIKitContainer from ‘@sendbird/uikit-react-native’ does not work with React native 0.72.6, It throws error “Can not read property options of undefined”.
My code:
import { SendbirdUIKitContainer } from ‘@sendbird/uikit-react-native’;
render() {
return (
<SendbirdUIKitContainer
styles={{ theme }}
appId={SENDBIRD_APP_ID}
chatOptions={{ localCacheStorage: AsyncStorage }}
platformServices={{
file: FileService,
notification: NotificationService,
clipboard: ClipboardService,
media: MediaService,
}}
uikitOptions={{
groupChannelList: {
enableTypingIndicator: true,
enableMessageReceiptStatus: true,
},
groupChannel: {
enableMention: true,
enableTypingIndicator: true,
enableMessageReceiptStatus: true,
},
}}
>

I am using Node 16.13.0
npm 6.14.0

thank you for your support.

// If problem, please fill out the below. If question, please delete.
[UIKit Version]
// What version of the SDK are you using?

[Reproduction Steps]
// Please provide reproduction steps and, if possible, code snippets.

[Frequency]
// How frequently is this issue occurring?

[Current impact]
// How is this currently impacting your implementation?

Hello, @peter_Nguyen.
Starting from version 3.2.0 of React-Native UIKit, a Recorder/Player platform service is required for Voice message functionality.
Please refer to the release notes: Release v3.2.0 · sendbird/sendbird-uikit-react-native · GitHub

1 Like