{ "id": "63201", "key": "TIMOB-2569", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": [ { "id": "11234", "name": "Release 1.6.0 M01", "archived": true, "released": true, "releaseDate": "2010-12-20" } ], "resolution": null, "resolutiondate": null, "created": "2011-04-15T03:23:04.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "error", "feature", "geolocation", "ios", "release-1.6.0" ], "versions": [], "issuelinks": [ { "id": "34042", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "109502", "key": "AC-3165", "fields": { "summary": "Expose geolocation error codes on Android", "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" } }, "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-08-02T18:39:51.000+0000", "status": { "description": "This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.", "name": "Reopened", "id": "4", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}

Exactly as described. Add a 'code' property to success=false\r\ncallback responses on geolocation, and expose the internal error\r\ncodes. In particular this can be used to detect when an app has\r\nbeen denied access without the new 'authorization' property in 4.2\r\nbeing used.

{html}\r\n\r\n\r\nReopened due to request for same property on android.", "attachment": [], "flagged": false, "summary": "Expose geolocation error codes", "creator": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "128802", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [124a2b5edc6a40762babeefd0dfb07df07b6c644])\n[#2569 state:fixed-in-qa] Exposed error codes on\nfailure and error code constants from geolocation. \nhttps://github.com/appcelerator/titanium_mobile/commit/124a2b5edc6a...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:23:04.000+0000", "updated": "2011-04-15T03:23:04.000+0000" }, { "id": "128803", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Was pushed to master, not 1_5_X. Correcting milestone.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:23:04.000+0000", "updated": "2011-04-15T03:23:04.000+0000" }, { "id": "128804", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

using ks with geo disabled, 3.1.3 and 4.2.1 iphone 3g and 4gt\ntouch
\n[INFO] Titanium SDK version: 1.6.0 (01/12/11\n09:38 db09d1e)

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:23:05.000+0000", "updated": "2011-04-15T03:23:05.000+0000" }, { "id": "236816", "author": { "name": "abhinavv", "key": "abhinavv", "displayName": "Abhinav Tyagi", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Shouldn't this be done for android too?\r\nOn android we get error codes 0,2,3,5 from here https://github.com/appcelerator/titanium_mobile/blob/master/android/modules/geolocation/src/java/ti/modules/titanium/geolocation/android/LocationProviderProxy.java\r\nAnd the error codes ERROR_DENIED,ERROR_NETWORK.. etc remain undefined for android.", "updateAuthor": { "name": "abhinavv", "key": "abhinavv", "displayName": "Abhinav Tyagi", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-31T23:14:36.000+0000", "updated": "2013-01-31T23:14:36.000+0000" }, { "id": "238221", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Request for the same fix on android.", "updateAuthor": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-12T21:16:07.000+0000", "updated": "2013-02-12T21:16:07.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }