Closed Bug 1124117 Opened 9 years ago Closed 6 years ago

[Geolocation][dolphin][FFOS7715 v2.1] [feature] Ffos needs a switch which can switch between GPS Location and Network Location

Categories

(Core :: DOM: Geolocation, enhancement)

37 Branch
ARM
Gonk (Firefox OS)
enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: shiwei.zhang, Unassigned)

Details

*** Build Information
Gaia-Rev        73be51f998031f06db0cd660c0e388fa621c9f4c
Gecko-Rev       30de9395e2c3e4c3d640bc6c70ddbc1a8c8cf88f
Device-Name     dolphin


*** Expected Results
Geolocation need a switch, by which we can choose GPS Location or Network Location, similar to Android.

*** Actual Results
no such switch.
In dom/system/gonk/GonkGPSGeolocationProvider.cpp

NS_IMETHODIMP
GonkGPSGeolocationProvider::Startup()
{
  ... ...

  mNetworkLocationProvider = do_CreateInstance("@mozilla.org/geolocation/mls-provider;1");
  ... ...
}

I think we can realize this feature by making a selection of using “mNetworkLocationProvider”.

please help me or give some suggestions, thanks a lot.
Bad blocking bug?
No longer blocks: 1072773
Marking as a feature request. Needs a gaia setting to control this, most of the work is UX/UI. The change in gonk is straightforward.
I am not UX, but the UX issues I can think of:
- iOS doesn't have this
- why do people want to switch this? Is it for power savings (i.e. network geo only)? Is it for privacy (i.e. GPS only)?
- what percentage of users would ever use this switch, and what is the cost of added UI complexity.

That said, we can get away with adding this to developer settings without consideration of these UX issues (if that is of interest to users).
Severity: major → enhancement
Closing as we are not working on Firefox OS anymore.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.