Open thibaultmol opened 11 months ago
As someone who always uses Fennec, a FF fork, I feel that firefox erases the geo permission regularly, i.e. it 'forgets' that the website had it.
Especially when, using MC as PWA, this is very annoying as I have to open the browser to manually enable it again.
While I agree this is sort of an upstream issue. it's unlikely that FF will bother. So that's why i created this issue, so that MC atleast notifies the user what is happening. If the perm is blocked because it 'expired' or whatever FF does, then the user doesn't know why it's not working and is waiting on an infinite load that will never come of the button to jump to your current location on the intitial screen when you open a theme
I've improved the detection of the GPS, and it'll at least show a gps-signal with line now instead of just spinning indefinitly
I still think that it would be beneficial if there was an actual notice to the user when they click that icon. I know what to do, but a lot of people don't
Something that Firefox based android browser do (including fennec) is block geo permissions by default. Somehow. You'd think it would be on 'ask' by default. But it seems that for some reason it can end up in 'blocked' instead. I don't exactly know how to repro it. But i've had this problem often. I do delete the site data often to make sure i'm on the latest version. So maybe it's related to that. But basically I have moments where the geo permissions are blocked but I was never prompted to allow/deny it
Currently there is nothing that tells the user why gps isn't working. Because firefox blocked it, but the user doesn't realize. So I think it might be best if mapcomplete let's the user know it's blocked. cc @joostschouppe