Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15527] BlackBerry: Add additional properties to Geolocation location event details

GitHub Issuen/a
TypeNew Feature
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2014-01-16T19:46:36.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsBlackBerry
Labelslook1
ReporterTiman Rebel
AssigneePedro Enrique
Created2013-10-12T11:12:20.000+0000
Updated2017-03-14T21:08:39.000+0000

Description

On iOS and Android the Geolocation 'location' event has the following properties: http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.Geolocation-event-location Looking at BlackBerry's GeolocationSession.cpp line 40, only latitude and longitude are set in the coords object. Besides that success/error and code are not implemented (we now have to check for 'isBlackBerry || event.success' and assume there are no errors), the coords object is missing vital properties as well: * "altitude", * "accuracy", * "altitudeAccuracy", * "heading", * "speed", * "timestamp" Without accuracy, altitude and timestamp, we can never do accurate location tracking BB10.

Comments

  1. Pedro Enrique 2013-10-22

    PR: https://github.com/appcelerator/titanium_mobile_blackberry/pull/183
  2. Timan Rebel 2013-11-03

    Any idea when this could be reviewed and will appear in the nightly builds of Ti SDK? Because we really need it to finish our BB10 app. Thanks!
  3. Timan Rebel 2013-12-09

    Just a bump to ask again when this could be reviewed. We are ready to complete the port of our iOS and Android Snowciety apps to BlackBerry 10, but cannot until this is resolved. Please let us know
  4. Eric Merriman 2017-03-14

    Closing as resolved.

JSON Source