[TIMOB-15527] BlackBerry: Add additional properties to Geolocation location event details
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-01-16T19:46:36.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | BlackBerry |
Labels | look1 |
Reporter | Timan Rebel |
Assignee | Pedro Enrique |
Created | 2013-10-12T11:12:20.000+0000 |
Updated | 2017-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.
PR: https://github.com/appcelerator/titanium_mobile_blackberry/pull/183
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!
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
Closing as resolved.