Granting Camera Access in Safari on iOS
Safari on iOS prompts the user before allowing an app to access the camera. It stores the user's decision on a per-website basis.
Allowing Camera Access for a Website
To allow camera access for a website on a more permanent basis, open the website settings (in iOS 18, the menu is opened by touching the puzzle piece button). From there, go to "Website Settings" and choose "Allow" for the Camera permission.
Unfortunately Safari will revert to asking the user after an unknown time has passed, and when it is updated.
Allow Camera Access for All Websites
Blanket permission for camera access by all websites can be granted by opening the Settings app, navigating to Safari > Camera and setting Other Websites to 'Allow'.
Note that you can programmatically obtain the current value of the permission state using the helper function StrichSDK.getPermissionState(). This is commonly used to notify the user that a prompt will appear.