[Problem/Question]
When I use <SendbirdUIKitContainer appID=<>…/>, the mobile app throws window.postMessage is not a function.
// If problem, please fill out the below. If question, please delete.
“notifee/react-native”: “^5.4.1”,
“okta/okta-react-native”: “^2.5.0”,
“react-native-async-storage/async-storage”: “^1.15.17”,
“react-native-camera-roll/camera-roll”: “^5.4.0”,
“react-native-clipboard/clipboard”: “^1.8.5”,
“react-native-community/art”: “^1.2.0”,
“react-native-community/cli”: “^7.0.3”,
“react-native-community/cli-platform-android”: “^8.0.2”,
“react-native-community/geolocation”: “^2.1.0”,
“react-native-community/hooks”: “^2.8.1”,
“react-native-community/netinfo”: “^9.3.0”,
“react-native-community/picker”: “^1.8.1”,
“react-native-community/progress-view”: “^1.3.2”,
“react-native-community/push-notification-ios”: “^1.10.1”,
“react-native-firebase/app”: “^14.7.0”,
“react-native-firebase/messaging”: “^14.7.0”,
“eact-navigation/native”: “^6.0.11”,
“react-navigation/stack”: “^6.2.2”,
“segment/analytics-react-native”: “^2.7.2”,
“segment/sovran-react-native”: “^0.4.4”,
“sendbird/chat”: “^4.8.3”,
“sendbird/react-native-scrollview-enhancer”: “^0.2.0”,
“sendbird/uikit-react-native”: “^2.5.0”,
// What version of the SDK are you using?
[Reproduction Steps]
<SendbirdUIKitContainer
appId={SENDBIRD_APP_ID}
chatOptions={{
localCacheStorage: AsyncStorage,
// onInitialized: SetSendbirdSDK,
enableAutoPushTokenRegistration: true,
enableChannelListTypingIndicator: true,
enableChannelListMessageReceiptStatus: true,
enableUserMention: true,
enableMessageSearch: true,
enableUsingDefaultUserProfile: true,
}}
platformServices={{
file: ChatService.FileService,
notification: ChatService.NotificationService,
clipboard: ChatService.ClipboardService,
media: ChatService.MediaService,
}}
styles={{
defaultHeaderTitleAlign: ‘left’, //‘center’,
// theme: isLightTheme ? LightUIKitTheme : DarkUIKitTheme,
statusBarTranslucent: GetTranslucent(),
}}
// errorBoundary={{ErrorInfoComponent: ErrorInfoScreen}}
userProfile={{
onCreateChannel: (channel) => {
const params = {channelUrl: channel.url};
if (channel.isGroupChannel()) {
// navigationActions.push(Routes.GroupChannel, params);
}
if (channel.isOpenChannel()) {
// navigationActions.push(Routes.OpenChannel, params);
}
},
}}>
[Frequency]
every time
[Current impact]
blocking issue