Closed jie-meng closed 1 year ago
I try to use https://github.com/microsoft/omnichannel-chat-sdk on my React Native app to start a chat.
Environment: React Native 0.68.1 PC: MacOS 13.4.1 device: Android phone
Configure the project as the https://github.com/microsoft/omnichannel-chat-sdk README.md said.
Then when I call chatSDK.startChat(optionalParams);
I got following error:
ERROR sendDefaultInitContext is only supported on browser WARN Possible Unhandled Promise Rejection (id: 0): Error: UnsupportedPlatform
sendDefaultInitContext: false // Send default init context ⚠️ Web only
set sendDefaultInitContext: false will be ok
I try to use https://github.com/microsoft/omnichannel-chat-sdk on my React Native app to start a chat.
Environment: React Native 0.68.1 PC: MacOS 13.4.1 device: Android phone
Configure the project as the https://github.com/microsoft/omnichannel-chat-sdk README.md said.
Then when I call chatSDK.startChat(optionalParams);
I got following error: