Origin Does Not Have Permission To Use Geolocation Service -- Even Over Https
I have a web page that uses HTML5 geolocation over HTTPS. It works a-okay on desktop browsers. On iOS Safari, however, I get the error that 'Origin does not have permission to us
Solution 1:
I had the same problem and it is because of new standards for the Golocation API in Chrome (and Safari):
Chrome no longer supports obtaining the user's location using the HTML5 Geolocation API from pages delivered by non-secure connections.
The only solution is to host from HTTPS and remove all HTTP requests from third parties. Check your network tab in developer mode to filter out HTTP calls, this also includes images (which was the trouble in my case).
You can read more here: Geolocation API Removed from Unsecured Origins.
Post a Comment for "Origin Does Not Have Permission To Use Geolocation Service -- Even Over Https"