nearby-javascript icon indicating copy to clipboard operation
nearby-javascript copied to clipboard

Prompts twice for location access

Open elake2018 opened this issue 5 years ago • 5 comments

Maybe the app should not ask me twice for location access? I assume once for the list and once for the map.

elake2018 avatar May 19 '20 12:05 elake2018

Can you provide some more details. I just tested and I'm only prompted once on my device.

odoe avatar May 19 '20 14:05 odoe

If I immediately click on the all location access as soon as the page loads (when you see the blue status bar moving from left to right) but before the map initializes, once the map starts to load it will ask me again. If I let it go and wait for the map to load it doesn't prompt me a second time. I thought it did it all the time, but I guess I was too quick to hit the allow button.

Not a big deal really

elake2018 avatar May 19 '20 16:05 elake2018

Is this on a specific device, browser?

odoe avatar May 19 '20 20:05 odoe

It does it in FF, harder to replicate in Chrome because it loads faster. I did not use Edge.

elake2018 avatar May 21 '20 13:05 elake2018

Ok, I can see this in FF. I think this is more of a browser issue. Not something we can really work around when it comes to permissions like that. FF should recognize the host domain, but maybe it's looking at the full URL. Tough to tell.

odoe avatar May 21 '20 14:05 odoe