• Resolved todnesser

    (@todnesser)


    Hello guys,

    i’m using the GEO my WP plugin for some location based search, as i need lat and lng values, the geolocation feature is working properly on my PC, using Chrome and FF and it works on my android phone, using chrome aswell, but when I open the website on an iOS device, Safar or FF, I get the following error message: Geocoder failed due to: Location information is unavailable.

    Though other websites that request the users location, work fine.

    Are there extra steps i need to take, so that it works on iOS?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Eyal Fitoussi

    (@ninjew)

    Hi,

    Assuming that you are referring to the auto-locator feature ( using the locator button or when the plugin tries to retrieve the user’s location on page load ), you see the error message because most browsers nowadays, and it could differ between different OS, requires a secure page ( SSL ) in order to use the auto-locator feature.

    You need to install SSL certificate for your site in order to use the auto-locator feature.

    • This reply was modified 7 years, 9 months ago by Eyal Fitoussi.
    Thread Starter todnesser

    (@todnesser)

    I have SSL installed, otherwise it wouldn’t work on my windows computer or android phone with chrome installed, as Chrome has the requirement for SSL to serve the location.

    The problem is mainly on iOS devices with any browser and macOS with Safari.

    • This reply was modified 7 years, 9 months ago by todnesser.
    Plugin Author Eyal Fitoussi

    (@ninjew)

    Then it might be a “mixed content” error on your site.

    This happens when files, most times images or CSS/JS files, loaded on your site from HTTP source rather than HTTPS. When this happens, the browser’s consider the page insecure and prevents the locator feature from working.

    You should look in the browser’s console for the “mixed content” errors. The error should indicate the name of the files with the issue.

    If you not sure how to look in the console, please provide a link to the live page and I will have a look at it.

    Thread Starter todnesser

    (@todnesser)

    Ah, that was it, thanks for the quick help.

    Plugin Author Eyal Fitoussi

    (@ninjew)

    You are very welcome.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Geocoder not working on iOS’ is closed to new replies.