Bug#726230: Geolocation fixed

Hanno Schlichting hschlichting at mozilla.com
Sun Mar 12 10:40:20 UTC 2017


On 12 Mar 2017, at 04:52, Mike Hommey <mh at glandium.org> wrote:
> This is not enough. firefox.js picks the google location service
> anyways because it does that based on RELEASE_OR_BETA, not whether the
> key is there.

Indeed, you also need to unconditionally override the geo.wifi.uri pref on all channels.

Not quite sure where this needs to be done, but the pref needs to be:

pref("geo.wifi.uri", "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%");

Hanno


More information about the pkg-mozilla-maintainers mailing list