I couldn’t get geolocation from safari on real Iphone devices(5s,6s,6s+,7,7+). Some geo sites asks for location but wisej pages that contains geolocation widget doesn’t ask. I activated location services for safari from settings.
It was the timeout. Apparently older ios devices don’t recognize the Infinity timeout. I simply set it to 10000. It was working with the 7 and Infinity is a valid timeout value according to the api specs.
Your test page is now working on iphones. I played some settings on geo widget but my pages still doesn’t work. Which settings did you apply in your test page.
I attached a photo for my try result. It always gives me 0 location.
We have only seen the problem with https when chrome changed it in version 50. I tried with an iPhone and you need to enable safari in Location Services.
Can you try this from your device?
Yes I saw your implemantation. As a last chance I needed to ask you. Did you faced with this problem. How did you or anyone overcame this problem. I think I am missing a point. 🙁
Wisej simply uses the geolocation api: https://developer.mozilla.org/en-US/docs/Web/API/Geolocation
The request doesn’t come from Wisej, it comes from the browser implementing the api.
Hi Frank we have already have an secure page. On android and win mobile there is no problem.
geolocation only works with https.
See here: https://developers.google.com/web/updates/2016/04/geolocation-on-secure-contexts-only
Hope that helps.
Please login first to submit.