{ "id": "86244", "key": "TIMOB-7583", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-06-15T18:43:17.000+0000", "created": "2012-02-08T17:18:04.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "parity", "tbs-2.1.0" ], "versions": [ { "id": "12677", "description": "Release 1.8 Service Pack 1", "name": "Release 1.8.1", "archived": true, "released": true, "releaseDate": "2012-01-31" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-06-15T18:43:17.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": "10224", "name": "TiAPI", "description": "This component is used for cross-platform API work. Specifications are most likely to use this component." } ], "description": "The {{places}} array in the callback argument includes the same basic information, but the property names differ. In particular, iOS uses \"zipcode\" while Android uses \"postalCode\" for the same property. iOS returns \"country_code\", while Android returns this as both \"country_code\" and \"countryCode\".\r\n\r\nThere are some values in the Android results that are empty (region1, region2), and it also contains duplicate information in the street and street1 properties, and the displayAddress property appears to duplicate address. iOS doesn't appear to return street1 or displayAddress.\r\n\r\nWould be good to be able to document which of these we intend to keep.\r\n\r\niOS results:\r\n\r\n\"places\":[{\r\n\"zipcode\":\"94043\",\r\n\"address\":\"440 Bernardo Ave, Mountain View, CA 94043-5209, , United States\",\r\n\"city\":\"Mountain View\",\r\n\"country_code\":\"US\",\r\n\"country\":\"United States\",\r\n\"longitude\":\"-122.050156\",\r\n\"latitude\":\"37.389072\",\r\n\"street\":\"Bernardo Ave\"}]\r\n\r\nAndroid results:\r\n\"places\":[{\r\n\"street1\":\"Bernardo Ave\",\r\n\"postalCode\":\"94043\",\r\n\"address\":\"440 Bernardo Ave, Mountain View, CA 94043-5209, , United States\",\r\n\"displayAddress\":\"440 Bernardo Ave, Mountain View, CA 94043-5209, , United States\",\r\n\"street\":\"Bernardo Ave\",\r\n\"countryCode\":\"US\",\r\n\"region2\":\"\",\r\n\"longitude\":\"-122.050156\",\r\n\"region1\":\"\",\r\n\"latitude\":\"37.389071\",\r\n\"country_code\":\"US\",\r\n\"country\":\"United States\",\r\n\"city\":\"Mountain View\"}]\r\n\r\n", "attachment": [], "flagged": false, "summary": "Ti API: reverseGeocoder callback argument properties differ by platform", "creator": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "422085", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket due to time passed and lack of progress in the past few years. Any problems, please file a new ticket.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-15T18:43:17.000+0000", "updated": "2017-06-15T18:43:17.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }