我正在开发一个视频直播会议应用。我已经使用BigBlueButton API开发了网页版,它在网页上运行正常。我试图在我的react native应用中使用react-native-webview来使用该web应用的URL。在ios应用中,我能够加入会话,但在android应用中,我无法加入会话,而且在加入时得到以下消息。
It looks like you're using an older version of a supported browser. Please upgrade your browser for full support.
我的依赖版本。
react: 16.9.0
react-native: 0.61.5
react-native-webview: 8.2.1
先谢谢你。
添加 userAgent
控件
<WebView
userAgent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
...otherProps
/>