After a request is to made for the user's geolocation, using either navigator.geolocation.getCurrentPosition
or watchPosition
, the user is shown a native permission dialog.
If the user selects "Don't Allow" to the request to share their location, the API correctly responds with a PERMISSION_DENIED
code.
However, if the user were to have pressed that by accident, and wishes to clear existing settings, what steps should they follow to do so?
This seems absurd enough to warrant a question.
- With Android Chrome; the user can simply press the information icon and adjust the permission.
- On iOS Safari, there does not appear to be a way beyond clearing all of Safari's cache and settings; thereby closing the site they were on in the first place.