{ "id": "154463", "key": "TIMOB-20268", "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": [ { "id": "17706", "name": "Release 5.4.0", "archived": false, "released": true, "releaseDate": "2016-08-11" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-02-11T02:29:54.000+0000", "created": "2016-01-21T19:18:40.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android", "geocoder" ], "versions": [], "issuelinks": [ { "id": "50353", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "154500", "key": "TIMOB-20269", "fields": { "summary": "Ti.Geolocation.reverseGeocoder returns different information on Android and iOS", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-06-23T22:58:55.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{code:java}\r\nTitanium.Geolocation.reverseGeocoder(location.coords.latitude, location.coords.longitude, function(e){\r\n\tTi.API.debug(JSON.stringify(e));\r\n\tvar big_location = generateBubble(e.places[0].city + \", \"+ e.places[0].state, {type: 'city', coords: [location.coords.longitude, location.coords.latitude], place: e.places[0]});\r\n\t$.cityState.text = \"(\"+e.places[0].city + \", \"+ e.places[0].state+\")\";\r\n\r\n//result is \"Savannah, (undefined)\"\r\n{code}\r\n\r\nWorks in iOS!", "attachment": [], "flagged": false, "summary": "Android does not return STATE from reverseGeocoder result (iOS does)", "creator": { "name": "nitrag", "key": "nitrag", "displayName": "Ryan Gartin", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "nitrag", "key": "nitrag", "displayName": "Ryan Gartin", "active": true, "timeZone": "America/New_York" }, "environment": "5.1.1 GA, OSX 10.9, Android 5.0", "closedSprints": [ { "id": 580, "state": "closed", "name": "2016 Sprint 3 SDK", "startDate": "2016-01-30T01:31:48.991Z", "endDate": "2016-02-13T01:31:00.000Z", "completeDate": "2016-02-15T05:32:40.725Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "375219", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Looks like Android is building the address response manually, so we need to add the {{state}} key [here|https://github.com/appcelerator/titanium_mobile/blob/master/android/modules/geolocation/src/java/ti/modules/titanium/geolocation/TiLocation.java#L330-L348]. ", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-01-24T10:52:51.000+0000", "updated": "2016-01-24T10:53:00.000+0000" }, { "id": "375283", "author": { "name": "cbowley", "key": "cbowley", "displayName": "Chris Bowley", "active": true, "timeZone": "Europe/London" }, "body": "[~hansknoechel] [~msamah] would it be better to just pass the server response through, so it is consistent with iOS, rather than build the address manually?", "updateAuthor": { "name": "cbowley", "key": "cbowley", "displayName": "Chris Bowley", "active": true, "timeZone": "Europe/London" }, "created": "2016-01-26T11:55:43.000+0000", "updated": "2016-01-26T11:55:43.000+0000" }, { "id": "375284", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "To be honest, I have no idea why its mapped manually. Would great to just come over object-encoded.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-01-26T12:05:14.000+0000", "updated": "2016-01-26T12:05:14.000+0000" }, { "id": "376562", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master PR: https://github.com/appcelerator/titanium_mobile/pull/7705", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-02-10T23:23:06.000+0000", "updated": "2016-02-10T23:23:06.000+0000" }, { "id": "376581", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "PR merged into master.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-02-11T02:30:24.000+0000", "updated": "2016-02-11T02:30:24.000+0000" }, { "id": "388971", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix.\r\n\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio : 4.7.0.201606150733\r\nTi SDK : 5.4.0.v20160617074028\r\nTi CLI : 5.0.9\r\nAlloy : 1.9.0\r\nMAC El Capitan : 10.11.4\r\nAppc NPM : 4.2.7-2\r\nAppc CLI : 5.4.0-18\r\nNode: 4.4.4\r\nNexus 6 - Android 6.0.1", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-06-23T22:58:46.000+0000", "updated": "2016-06-23T22:58:46.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }