<< Return to Blog

Now Apple have dropped support for geolocation from Safari when HTTPS is not used

author Bella Rich, December 22nd, 2016
blogpost

Following closely in Google's tracks with the limitations on geolocation in Chrome version 50, Apple have now dropped support for geolocation from “insecure origins” in the latest Safari builds Again, an insecure origin means any website which does not use an SSL certificate to encrypt the connection between the browser and the web server.

This change impacts the following Safari versions:

  • Safari 10 (released September 20, 2016)
  • Safari on iOS 10 (released September 13, 2016)

The impact of this change is that Javascript based geolocation will no longer work via Safari when it is used in a web page which does not use HTTPS to secure the connection to the web server. This means that the automatic customer geolocation feature which is also used by the ‘My Location’ button in our store locator will no longer work on Safari unless HTTPS is enabled.

We've already updated our store locator software to ensure that your store locator automatically detects whether the Safari and / or Chrome web browser and HTTPS are being used and to fail back to our IP based geolocation instead. Customers will of course still be able to enter their address in the input field to search for their closest location.

Whilst IP based geolocation can be used irrespective of whether HTTP or HTTPS is used, it's not as accurate as browser based geolocation which can use smartphone features such as GPS and cell-tower geolocation so it's not our recommended approach.

We strongly recommend that you also enable HTTPS on the web page which hosts our store locator as soon as possible to ensure that the geolocation feature remains available to all of your customers.

 

<< Return to Blog