qr-scanner icon indicating copy to clipboard operation
qr-scanner copied to clipboard

Permissions issue on iOS WKWebView

Open sncalvo opened this issue 2 years ago • 0 comments

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 WKWebViews

Tested this using the demo website

sncalvo avatar Sep 30 '22 15:09 sncalvo