Geolocation doesn't work with permissions set to Ask




6 years ago
5 years ago


(Reporter: robert, Unassigned)


Firefox Tracking Flags

(Not tracked)


(Whiteboard: [apps watch list])



6 years ago
I'm testing geolocation in Firefox OS (on an Unagi device) and geolocation doesn't work. I get the dialog asking to access it, but after that it seems to time out. No values, no error callback.

However, if I go into Settings > App permissions and explicitly set it to Grant (instead of Ask) then it works right away.

Test code:

Comment 1

6 years ago
I tested this in a desktop build with multiple processes turned on and allowing the geolocation access cause the geolocation information to show up immediately. This suggests to me that this is a continuation of the awful GPS problems on devices, and not with the actual geolocation code.

Comment 2

6 years ago
Yes, it seems to be device-specific, but I can't tell whether it's B2G code or hardware problems (especially since it works when the permission is set to Grant).

Also, do you have any other references/bugs on GPS problems in general?
Then we can help push from Developer Engagement to get some more focus on those.

Comment 3

6 years ago
bug 840732 and bug 841360 are examples, I think.

Comment 4

6 years ago
Thanks. I'll see what we can do, but clearly a lot of people have problems with geolocation on the devices.


6 years ago
Whiteboard: [apps watch list]

Comment 5

5 years ago
Agreement with AGPS (Assisted GPS provider is pending. Once AGPS is implemented, this problem is expected to be resolved.
This was fixed by bug 871072.
Last Resolved: 5 years ago
Depends on: 871072
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.