Closed
Bug 847869
Opened 13 years ago
Closed 13 years ago
Geolocation doesn't work with permissions set to Ask
Categories
(Core :: DOM: Geolocation, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: robert, Unassigned)
References
Details
(Whiteboard: [apps watch list])
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:
https://github.com/robnyman/Firefox-OS-Boilerplate-App
https://github.com/robnyman/Firefox-OS-Boilerplate-App/blob/gh-pages/js/webapp.js#L308
https://github.com/robnyman/Firefox-OS-Boilerplate-App/blob/gh-pages/manifest.webapp#L26
Comment 1•13 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.
| Reporter | ||
Comment 2•13 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•13 years ago
|
||
bug 840732 and bug 841360 are examples, I think.
| Reporter | ||
Comment 4•13 years ago
|
||
Thanks. I'll see what we can do, but clearly a lot of people have problems with geolocation on the devices.
Updated•13 years ago
|
Whiteboard: [apps watch list]
Comment 5•13 years ago
|
||
Agreement with AGPS (Assisted GPS provider is pending. Once AGPS is implemented, this problem is expected to be resolved.
Comment 6•13 years ago
|
||
This was fixed by bug 871072.
You need to log in
before you can comment on or make changes to this bug.
Description
•