WebView with Audio/Video permissions
See original GitHub issueHey. We have a web-chat with video and audio communications. At the time of the call, permission requests occur. But just not in the web view. If you do the resolution of audio / video at the application level, then this of course will not help. If you call the method navigator.mediaDevices.getUserMedia ({audio: true, video: true}) through the injection of JS, then there is no result either (undefined). Does this library solve it somehow?
<CustomWebView
originWhitelist={['*']}
ref={webviewRef}
allowsFullscreenVideo
allowsInlineMediaPlayback
heightDevice={height}
source={{
uri: 'https://webcamtoy.com/ru/',
}}
/>
This is problem for Ios and Android, both platform
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:7
Top Results From Across the Web
Android webview camera and microphone permission granted ...
You can not use a microphone and camera directly with webView for that you need to add extra permissions MODIFY_AUDIO_SETTINGS and also ...
Read more >Access camera and microphone in WKWebView
I am trying to access camera and microphone in WKWebView. I tried many ways but it didn't work. I tried injecting js in...
Read more >Webview camera and microphone permissions : r/androidapps
Hi guys, anyone has resolved the problem to set the permissions to webview? In my webview I have a video call app that...
Read more >WebRTC in WebView - Build Live Mobile with JavaScript
It will ask for permission to access the Camera and Microphone. Allow said permissions. The project should now run. It should operate as...
Read more >BBB Audio and Video not working in webview app (Android)
We have created a webview app (android), and receiving audio-video permission on first use, but when user is starting a BBB meeting in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I cannot hear audio (HTML5) inside the WebView either. Is there a solution to this please? Thanks.
@divy-work were you able to solve
getUserMedia
issue by asking CAMERA permission?I’ve asked it using
expo-permissions
module to no avail, still appears this:Website is https://quagga2-react-example-hax72clwm.now.sh/ if needed.