qr-scanner
qr-scanner copied to clipboard
Permissions issue on iOS WKWebView
This only occurs on iOS. Tested on an iPad, and it works as expected.
After starting the QRScanner, the camera would throw a NotAllowedError
.
I tested this by allowing the WKWebView
to request permissions like a regular browser and using the app's permissions for camera usage.
However, the camera would initialize correctly after restarting the camera (in the demo website pressing on stop and then start).
I verified this using Safari also but no issue there. This is only an issue for WKWebView
s
Tested this using the demo website