Skip Navigation

[Resolved] Geolocation "Use my position" not working in Safari

This support ticket is created 5 years ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 4 replies, has 2 voices.

Last updated by bertrandB-3 5 years ago.

Assisted by: Shane.

Author
Posts
#1496467

I am trying to: Get the user's location when they click on "Utiliser mon emplacement"

Link to a page where the issue can be seen: hidden link

I expected to see: The user's location added automatically

Instead, I got: Nothing happens in Safari. I've run local tests with other browsers with no problem.

I've used crossbrowsertesting.com to test on Safari and it doesn't work there either, even when position sharing is allowed.

#1496481

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Screenshot 2020-02-06 at 10.18.28 AM.png

Hello,

Thank you for getting in touch.

I ran a quick test on this and it worked fine for me, see screenshot

As far as I can see it works fine in Firefox. I also get the same result when I test in Chrome.

Could you try again using a different computer.

Thanks,
Shane

#1497729

Hello Shane,

Sorry for my late reply. I asked for outside testing via Facebook, and the results are that it always works on Android or Windows devices.

For Apple devices, it seems to work on computers (Mac, MacBook), but not Iphones or Ipads. I've had about twenty iPad/iPhone users report it wouldn't work, with only one exception where it did work. I'm guessing it could be linked to Safari mobile. Most testers report that nothing happens at all when they click on "Use my position" (i.e. no request for position sharing).

Thanks,

#1498265

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Bertand,

I tested this both on Safari and an IPad as well and it works.

The only case I found where it doesn't work is if the user has disabled their location services on their PC or Mobile device. In a case like this they won't get the popup.

So the user must have their location service turned on in order for this button to work.

Thanks,
Shane

#1498287

Thanks a lot, Shane. That seems to be the problem indeed so I guess the only solution is to add a comment telling Mac/Apple users to make sure they go to their settings and allow for geolocation.