Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

Caută ajutor

Atenție la excrocheriile de asistență. Noi nu îți vom cere niciodată să suni sau să trimiți vreun SMS la vreun număr de telefon sau să dai informații personale. Te rugăm să raportezi activitățile suspecte folosind opțiunea „Raportează un abuz”.

Află mai multe

geolocation api works in simulator not on open c

  • 1 răspuns
  • 4 au această problemă
  • 9 vizualizări
  • Ultimul răspuns dat de guigs

more options

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

Toate răspunsurile (1)

more options

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