3 ms·
Does anyone else have the problem that firefox denies acces to `navigator.geolocation.getCurrentPosition` even if the user clicks "allow"? I hoped it was fixed
by laszlokorte 8y ago
Does anyone else have the problem that firefox denies acces to `navigator.geolocation.getCurrentPosition` even if the user clicks "allow"?
I hoped it was fixed in the release but seems to be not the case.
- ataylor32 8y agoI tried https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API#Geolocation_Live_Example https://developer.mozilla.org/en-US/docs/Web/API/Geolocation... in Firefox 66 on macOS and Windows. I got "Unable to retrieve your location" on macOS (though it worked in Chrome on macOS). It worked on Windows, though.
- cpeterso 8y agoOn macOS, does setting about:config "geo.provider.use_corelocation" = false and restarting Firefox fix the geolocation error? Firefox 65 or 66 recently changed from always using Google Location Service to first check the operating system's local location service (CoreLocation on macOS, which might have a local location cache for faster lookups). If disabling CoreLocation fixes the problem, you might look in macOS System Preferences for location permissions. The first time an application tries to use the local location service, macOS prompts the user to grant permission to the application. If you accidentally click "deny", then macOS will automatically deny all future Firefox location requests.
- lizzard 8y agoI reported this as https://bugzilla.mozilla.org/show_bug.cgi?id=1536481 https://bugzilla.mozilla.org/show_bug.cgi?id=1536481 - please comment there if you have more information or if you want to follow the discussion.