Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mobile format - no call to dispatchResponse #21

Open
vd3d opened this issue Jul 6, 2020 · 1 comment
Open

Mobile format - no call to dispatchResponse #21

vd3d opened this issue Jul 6, 2020 · 1 comment

Comments

@vd3d
Copy link

vd3d commented Jul 6, 2020

Hi,

I have just noticed that the lib works perfectly, except when (I'm using the Dev Tools of Firefox by example), then the method
'dispatchResponse' is not called at all !

  • With the desktop a dialog is displayed ad ask me to allow geolocation, I allow it, then the 'dispatchResponse' is called.

  • With the mobile format a dialog is displayed ad ask me to allow geolocation, I allow it, he 'dispatchResponse' is NOT called.

BTW, I have reproduce the problem here:
https://www.w3schools.com/html/tryit.asp?filename=tryhtml5_geolocation_error

If I use the mobile format... I got no answer!

Any idea why ?

@djaus2
Copy link

djaus2 commented Jan 2, 2021

I can concur there is an issue.
I just logged an issue: Not updating GPS Coords #26
I tried the code as per the link above and I get a first value but does not update unless I do one of two things as per my posted Issue.

I looked into it further ..

I am getting Dispatch called when I request an updated location but
navigator.geolocation.getCurrentPosition(function (position)
is not getting updated position, just the previous one.

PS I inserted alter messages in location.js to establish this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants