You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have found that a Blazor Server App (Scoped Service setting) gets the GPS coords first time, but not for a long time after that. I walk up to about 1K with no change.
.NET 5 C# Blazor Server only app.
Running in Edge Browser on an Android phone
Server is hosted on Azure
If I kill all apps on the phone and restart browser , still get same coords.
Only if I restart the phone do I get an update
An alternative. If I run Google Maps whilst walking and switch between it and browser , GPS coords in browser get updated.
So I conclude there needs to be a trigger to update the GPS coords.
The text was updated successfully, but these errors were encountered:
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 alert messages in location.js to establish this.
I have found that a Blazor Server App (Scoped Service setting) gets the GPS coords first time, but not for a long time after that. I walk up to about 1K with no change.
So I conclude there needs to be a trigger to update the GPS coords.
The text was updated successfully, but these errors were encountered: