Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Mulongo oyo etiyamaki na archive. Tuna motuna mosusu soki osengeli na lisalisi

geolocation api works in simulator not on open c

  • 1 eyano
  • 4 eza na bankokoso oyo
  • 72 views
  • Eyano yasuka ya guigs
  • Eza archivé

I try to use the geolocation API. Just testing around. It works fine in the browser and in the simulator but when i install it on my ZTE Open C, I get asked if I want to share my position but nothing happens. When I download apps with geolocation they work, I just have this problem with my own.

Example code I have tried.

navigator.geolocation.getCurrentPosition( function(position) { console.log(position) }, function () {}, {maximumAge: Infinity} );

Any ideas? Thank you

I try to use the geolocation API. Just testing around. It works fine in the browser and in the simulator but when i install it on my ZTE Open C, I get asked if I want to share my position but nothing happens. When I download apps with geolocation they work, I just have this problem with my own. Example code I have tried. navigator.geolocation.getCurrentPosition( function(position) { console.log(position) }, function () {}, {maximumAge: Infinity} ); Any ideas? Thank you

All Replies (1)

Some pieces are NOT under Mozilla's control and one of them is the geolocation configuration. It is completely up to the chip manufacturers and OEM to correctly configure a-gps. See: https://wiki.mozilla.org/Firefox_OS/Geolocation