{ "id": "118332", "key": "TIMOB-14839", "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": null, "resolutiondate": null, "created": "2013-08-12T19:11:25.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "geolocation" ], "versions": [ { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [ { "id": "31005", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "118404", "key": "TIMOB-14873", "fields": { "summary": "Android: Ti.Geolocation's HeadingData is based on deprecated feature", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": null, "updated": "2018-02-28T20:04:24.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "HeadingData returns magneticHeading instead of X axis value.\r\nBoth properties contain the same value:\r\n\r\n{code:javascript}\r\nTi.Geolocation.purpose = \"Testing Magnetic Heading\";\r\n\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor : 'white'\r\n});\r\n\r\nvar Y = Ti.UI.createLabel({\r\n\tfont : {\r\n\t\tfontSize : 30\r\n\t},\r\n\ttext : \"[Y]\",\r\n\ttop : 10,\r\n\tright : 5\r\n});\r\nvar X = Ti.UI.createLabel({\r\n\tfont : {\r\n\t\tfontSize : 30\r\n\t},\r\n\ttext : \"[X]\",\r\n\ttop : 50,\r\n\tright : 5\r\n});\r\nvar magneticHeading = Ti.UI.createLabel({\r\n\tfont : {\r\n\t\tfontSize : 30\r\n\t},\r\n\ttext : \"[magneticHeading]\",\r\n\ttop : 90,\r\n\tright : 5\r\n});\r\nwin.add(Y);\r\nwin.add(X);\r\nwin.add(magneticHeading);\r\nwin.open();\r\n\r\nfunction onMag(e) {\r\n\tY.text = 'Y: ' + e.heading.y;\r\n\tX.text = 'X: ' + e.heading.x;\r\n\tmagneticHeading.text = 'magneticHeading: ' + e.heading.magneticHeading;\r\n}\r\n\r\nTi.Geolocation.addEventListener('heading', onMag);\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: Geolocation HeadingData.x value is equal to HeadingData.magneticHeading", "creator": { "name": "andreykon", "key": "andreykon", "displayName": "Andrey Kon", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "andreykon", "key": "andreykon", "displayName": "Andrey Kon", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Android 4.0, Titanium 3.1.1 GA", "comment": { "comments": [ { "id": "266087", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested and confirmed on Samsung Galaxy S2 Android 2.3.6 with Ti SDK 3.1.1 GA and 3.2 CI.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-12T22:39:27.000+0000", "updated": "2013-08-12T22:39:27.000+0000" }, { "id": "323256", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue reproduces\r\n\r\nTitanium SDK version 3.4.0 master, 3.2.0.GA\r\nTitanium Studio, build: 3.3.0.201407100905\r\nTitanium Command-Line Interface\r\nCLI version 3.3.0, \r\nAndroid device : Motorola Moto G, Android version : 4.4.4", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-12T12:58:32.000+0000", "updated": "2014-09-12T12:58:32.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }