{ "id": "126470", "key": "TIMOB-16783", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-05-29T07:32:59.000+0000", "created": "2014-02-16T22:00:38.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "look1", "parity" ], "versions": [], "issuelinks": [ { "id": "39432", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "133930", "key": "TIMOB-17429", "fields": { "summary": "BlackBerry: KitchenSink - Ti.Geolocation is not working as expected", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-14T21:08:39.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10230", "name": "BlackBerry", "description": "BlackBerry Platform" } ], "description": "h6.Issue description\r\nTitanium.Geolocation.getCurrentPosition() working fine, but LocationResults pass to callback function without success, or coords.\r\n\r\nh6.Sample code\r\n{code}\r\nTi.Geolocation.getCurrentPosition(function(e) {\r\n\tTi.API.info(JSON.stringify(e));\r\n});\r\n{code}\r\n\r\nh6.Result on BlackBerry\r\n{code}\r\n{\r\n\t\"accuracy\" : 66,\r\n\t\"altitude\" : null,\r\n\t\"altitudeAccuracy\" : -1,\r\n\t\"direction\" : -1,\r\n\t\"groundSpeed\" : -1,\r\n\t\"heading\" : 4.068092346191406,\r\n\t\"horizontalAccuracy\" : 66,\r\n\t\"latitude\" : 30.15041732788086,\r\n\t\"longitude\" : 31.39896583557129,\r\n\t\"magneticVariation\" : 4.068092346191406,\r\n\t\"speed\" : -1,\r\n\t\"timestamp\" : 1392587571200,\r\n\t\"verticalAccuracy\" : -1,\r\n\t\"verticalSpeed\" : -1\r\n}\r\n{code}\r\n\r\nh6.Result on iOS\r\nSame like http://docs.appcelerator.com/titanium/latest/#!/api/LocationResults)\r\n{code}\r\n{\r\n\t\"code\" : 0,\r\n\t\"type\" : \"location\",\r\n\t\"source\" : {},\r\n\t\"success\" : true,\r\n\t\"coords\" : {\r\n\t\t\"timestamp\" : 1392587804475,\r\n\t\t\"altitude\" : 0,\r\n\t\t\"speed\" : -1,\r\n\t\t\"latitude\" : 23,\r\n\t\t\"longitude\" : 55,\r\n\t\t\"accuracy\" : 5,\r\n\t\t\"altitudeAccuracy\" : -1,\r\n\t\t\"heading\" : -1\r\n\t}\r\n}\r\n{code}", "attachment": [], "flagged": false, "summary": "BlackBerry: Ti.Geolocation.getCurrentPosition working fine but pass different data", "creator": { "name": "hazemkhaled", "key": "hazemkhaled", "displayName": "Hazem Khaled", "active": true, "timeZone": "Europe/Istanbul" }, "subtasks": [], "reporter": { "name": "hazemkhaled", "key": "hazemkhaled", "displayName": "Hazem Khaled", "active": true, "timeZone": "Europe/Istanbul" }, "environment": "Mac OS 10.9.1\r\nMomentics 2 with BB 10.2.0\r\nCLI: 3.2.1GA\r\nAlloy: 1.3.1\r\nAppcelerator Studio, build: 3.2.2.201401231451\r\nTitanium SDK version 3.2.1GA / 3.3.0.v20140214140905", "comment": { "comments": [ { "id": "306799", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Fixed with PR: https://github.com/appcelerator/titanium_mobile_blackberry/pull/246", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-05-29T07:32:59.000+0000", "updated": "2014-05-29T07:32:59.000+0000" }, { "id": "412329", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as resolved.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-03-14T21:08:39.000+0000", "updated": "2017-03-14T21:08:39.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }