Camera for iOS is not working in webvieww
Hello,
I am using lastest version of webview and want to access iOS camera from within webview. Everything works great on Safari (e.g. page: https://davidwalsh.name/demo/camera.php), however, nothing happens inside webview. I granted needed permissions like camera or audio, however, it still does not work.
Any ideas?
@lukaskai Have you found any solution?
That's weird, cause I definitely can use camera for input fields. 🙁
@Titozzz Maybe you can give some example how it works? Add permissions to Info.plist (NSMicrophoneUsageDescription, NSCameraUsageDescription), ask permissions after load webview, but nothing https://github.com/react-native-community/react-native-webview/issues/1045
@Titozzz I believe react native webview is blocking permission alert, even though you give permission from the app, I found a work around using the lib https://github.com/proyecto26/react-native-inappbrowser, which doesn't block the alert when you view that above web page you will get the camera permission alert, which is blocked in react native webview.
Hello 👋, this issue has been opened for more than 2 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically
@lukaskai did you find any solution?
Hey @lukaskai any update on this issue?
no solution yet? thanks
Having this issue too on ios, did you find any solutions ?