I'm discovering quaggaJS, a very efficient barcode scanner which I'm implementing on my website. It's using the webcam to scan barcodes.
Is there any way to permanently allow the usage of the webcam on trusted sites with Safari (iOS).
As an example, visiting there demo site, will systematically ask permission to use camera.
I would like to make this choice permanent for visitors of my website.
Unfortunately, it seems there is no way to permanently grant a website access to the iPhone camera within Safari (yet).
iOS 11 added the option to completely disable camera & microphone access in the Safari privacy & security settings. Having the camera & microphone access enabled for Safari, however, only means that Safari will ask the user for their permission when a website requests access to the user media.
Unfortunately, as of iOS 11.3, no further website-specific settings are available, so your users would have to confirm their permission every time camera access is needed on your website.
I'd like to reference the corresponding Apple Support page, but this question doesn't seem to be addressed there yet.