iPhone Geolocation ?

0
0

Hi,

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.

Thank you.

  • You must to post comments
0
0

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.

  • You must to post comments
0
0

Hi Luca,

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.

thank you.

  • You must to post comments
0
0

I attached a photo for my try result. It always gives me 0 location.

Attachment
  • You must to post comments
0
0

Hi Adil,

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?

https://www.w3schools.com/html/tryit.asp?filename=tryhtml5_geolocation_error

 

/Luca

  • You must to post comments
0
0

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. 🙁

Thank you.

  • You must to post comments
0
0

Hi Adil,

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.

/Luca

 

 

  • You must to post comments
0
0

Hi Frank we have already have an secure page. On android and win mobile there is no problem.

  • You must to post comments
0
0

Hi Adil,

geolocation only works with https.

See here: https://developers.google.com/web/updates/2016/04/geolocation-on-secure-contexts-only

Hope that helps.

Best regards
Frank

 

  • You must to post comments
Showing 8 results
Your Answer

Please first to submit.