I have a code that gets the geolocation of the user after they click a button and approve access to their geolocation.
For some reason that prompt is not given in safari (did test with multiple devices). There seems to be a standard "access denied" signal sent.
Information I find through google is contradictory.
Question: is it possible to get geolocation of a user with safari or does safari block this always?
Make sure that Safari is on the list of apps in the Enable Location Services list in System Preferences.
Geolocation in Safari 9 always returning Position Unavailable
Also make sure that in the privacy tab, the "Deny without prompting" option is off. https://i.sstatic.net/X8itc.png
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With