-
-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Website cannot detect camera being blocked in Settings #42
Comments
Hello @mackonsti , I am running iOS 14.6 too and cannot reproduce. Do you have some more informations? In example Safari Version, iPhone Model name? I am using a iPhone 6s with iOS 14.6 and the Safari Version 14.1.1 Has you added the website to your Home screen? Opened the correct URL? https://covidpass.marvinsextro.de You can check your Browser Version on this URL https://www.whatsmybrowser.org - For the full Browser Version scroll down to "Your full user agent string is:" Thank you! |
Hi @joelbladt I am only referring to iOS. Just tried on my iPhone 8 and 11 again, iOS 14.x and the website cannot detect that the camera is not allowed access by Safari in the phone's Preferences > Safari > Camera When I tap on the button "Start Camera" of the website http://covidpass.marvinsextro.de/ ( obviously 😄 ) nothing happens. It seems that for a clean iOS installation, the setting in Preferences > Safari > Camera > Do Not Allow by default. @marvinsxtr understood this is a feature request and that is why I suggested in Issue #30 to mention on the top to people to remember allowing camera access, too... Danke! |
@mackonsti I will try to add an error message for this but at least for me, Safari asked for camera access with a pop up window. |
Hi @marvinsxtr yes it does when you set Preferences -> Safari -> Camera = Ask ; what are your current phone settings, please? But if you set the option to "Do Not Allow" which is I think by default now, there's no pop-up or warning (yet). That is to what I am referring to; many thanks! |
@mackonsti Just tried to implement this but didn't manage to get it to work. Safari seems to block it silently. Help from others is appreciated. |
Sorry @marvinsxtr to have added some more headache to you 😄 Instead of trying to detect this, allow me to suggest again to make a much easier fix and update the text (in the languages that you manage e.g. EN/DE) of the website?
to:
I do not insist on that; just that people may not even think that the camera is blocked as there's no popup or anything on your web app, and it's a shame to not have your app used by people due to this simple security setting... Not everyone knows all the iOS settings! 😃 MfG // Konsti |
Hello @marvinsxtr thank you for your great work for all Apple Wallet users out there.
I am running iOS 14.6 and when I launched http://covidpass.marvinsextro.de/ on Safari, the camera could not be activated.
As far as I can remember, I had never set the camera as "inaccessible" from Settings -> Safari -> Settings for Websites -> Camera, so I was wondering if your code of your website could possibly detect the camera being denied access, via some Web API, and show a warning pop-up such as "Safari could not access your camera, please change the permissions in Settings".
Is this possible for websites to get that information from Safari?
Thank you!
The text was updated successfully, but these errors were encountered: