Please jump to the right section for your issue
On Safari with iOS > 13
You need to open your website and then tap the "AA" icon in the bottom-left. Then tap "Website Settings" which will enable you to set camera permissions to "Allow" instead of "Ask".
This will set the camera permissions to allow by default, so it won't ask for permissions again.
On Safari with iOS < 13
iOS has a somewhat heavy-handed implementation of user permissions for camera access in the Safari browser. The permissions are not persistent and are re-requested with every page load.
If you have a single-page app, you should expect to grant camera access once per application load.
However, if you're loading the page each time you need to scan, you will see the camera permission dialog. Whenever possible, we recommend implementing your workflow without reloading the page.
Unfortunately, PWAs are revoking camera access privileges whenever the hash changes. If you would like to add your voice for this issue to be solved, you can post it on this ticket.
On other browsers
Unfortunately, saving camera access permission is currently not supported by Apple on other browsers than Safari.
Was this article helpful?