Cannot request geolocation when running on FirefoxOS

Bug #1132417 reported by Pirouette Cacahuète
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openMarkers
Fix Released
Undecided
Unassigned

Bug Description

Installed the application from FirefoxOS marketplace on FirefoxOS running on Nexus S, I cannot make use of the geolocation feature in the application.

The precise error message is, in french, « Erreur de positionnement. Veuillez définir votre position manuellement ». It happens as soon as I request geolocation. Nothing in logcat.

Looking in manifest.webapp installed on the device, we can see:
root@android:/ # cat /data/local/webapps/\{b22b7ca7-fc0c-40e8-bcb4-29e409e647d>
{"version":"1.0","name":"openMarkers","description":"Your favorite places on travel. Like a Google Places, but for travelers, free and done by you","icons":{"128":"/images/logo.png"},"developer":{"name":"openMarkers Project","url":"http://openmarkers.com"},"installs_allowed_from":["https://marketplace.firefox.com"],"locales":{"es":{"description":"Tus lugares favoritos en viajes. Como un Google Sitios, pero para viajeros, libre y hecho por ti","developer":{"url":"http://openmarkers.com"}}},"default_locale":"en"}

I see no permission declaration for geolocation. This is obviously needed if you need to request geolocation.

For the record, the m.here.com manifest.webapp contains:

root@android:/ # cat /data/local/webapps/m.here.com/manifest.webapp
{
  "name": "HERE Maps",
  "description": "Get HERE and feel at home any place, no matter where you are. Know the places to go, get reviews and uncover new destinations with tips from locals and trusted guides. Discover places nearby in a snap.",
  "launch_path": "/welcome.html",
  "developer": {
    "name": "Nokia",
    "url": "http://www.nokia.com"
  },
  "locales": {
    "en-US": {
      "name": "HERE Maps",
      "description": "Get HERE and feel at home any place, no matter where you are. Know the places to go, get reviews and uncover new destinations with tips from locals and trusted guides."
    },
    "es": {
        "name": "HERE Maps",
        "description": "Descargue la applicación HERE y siéntase como en casa en cualquier lugar, sin importar dónde se encuentre. Sepa dónde ir, lea reseñas y descubra destinos nuevos con consejos de lugareños y de guías de confianza."
    },
    "pt-BR": {
      "name": "HERE Maps",
      "description": "Obtenha HERE e sinta-se em casa em qualquer lugar, onde quer que você esteja. Saiba os melhores locais para ir, veja comentários e descubra novos destinos com dicas de residentes e guias reconhecidos."
    }
  },
  "default_locale": "en-US",
  "icons": {
    "128": "/ffos_128.png",
    "60": "/ffos_60.png"
  },
  "orientation": "portrait",
  "version": "1.8.44",
  "permissions": {
    "geolocation": {
      "description": "Required to show your current location."
    },
    "storage": {
      "description": "Improves performance by caching some data locally."
    }
  }
}

Revision history for this message
costales (costales) wrote :

Fixed :) Thank you very much!

Changed in openmarkers:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.