{ "id": "89589", "key": "TIMOB-8561", "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": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13404", "description": "Sprint 2012-12 Core", "name": "Sprint 2012-12 Core", "archived": true, "released": true, "releaseDate": "2012-06-17" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-07-09T03:41:00.000+0000", "created": "2012-04-05T20:01:58.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "core", "module_map", "qe-testadded" ], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [ { "id": "40961", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "136329", "key": "TIMOB-17665", "fields": { "summary": "iOS8: userLocation is not displayed when using ti.map module", "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": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2014-09-09T21:10:12.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": "When Ti.Map module is used, permissions are not automatically inserted into the generated manifest.", "attachment": [], "flagged": false, "summary": "Android: add permissions for map when map module is used", "creator": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "198094", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "h3. Fail Case / Test Case\r\n\r\n* Create a new android app in Titanium Studio.\r\n\r\n* Add this to the tiapp.xml:\r\n\r\n{code}\r\n0ZnKXkWA2dIAu2EM-OV4ZD2lJY3sEWE5TSgjJNg\r\n{code}\r\n\r\n* Make this the app.js:\r\n\r\n{code}\r\nTitanium.UI.setBackgroundColor('#000');\r\nvar win = Titanium.UI.createWindow({ \r\n title:'Test',\r\n backgroundColor:'#000',\r\n\texitOnClose: true\r\n});\r\n\r\nwin.add(Ti.Map.createView({\r\n\tuserLocation:true\r\n}));\r\n\r\nwin.open();\r\n{code}\r\n\r\n* Run the app _on device_ so that location services will actually work. But don't package for production, unless you want to change that tiapp.xml entry above to point to your own Google Maps API key.\r\n\r\n* In the fail case, when the app opens and the map appears, you won't see your location marked anywhere on the world map, although {{userLocation: true}} was set as a creation argument for the View. Also in logcat you'll see these warnings:\r\n\r\n{code}\r\nW/Maps.MyLocationOverlay( 1322): Couldn't get provider gps: Provider gps requires ACCESS_FINE_LOCATION permission\r\nW/Maps.MyLocationOverlay( 1322): Couldn't get provider network: Provider network requires ACCESS_FINE_LOCATION or ACCESS_COARSE_LOCATION permission\r\n{code}\r\n\r\n* When testing the fix, you *should* see your location on the world map, and you should *not* see those warnings in logcat.\r\n", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-06-11T16:21:14.000+0000", "updated": "2012-06-11T16:29:18.000+0000" }, { "id": "198100", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Pull request ready\r\n\r\nhttps://github.com/appcelerator/titanium_mobile/pull/2370", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-06-11T16:35:06.000+0000", "updated": "2012-06-11T16:35:06.000+0000" }, { "id": "199898", "author": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as fixed. Verified with:\r\nTitanium Studio, build: 2.1.0.201206221045\r\nTitanium SDK: 2.1.0.v20120622174154\r\nDevice: Samsung Galaxy tab (3.2)", "updateAuthor": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-23T11:26:05.000+0000", "updated": "2012-06-23T11:26:05.000+0000" }, { "id": "202055", "author": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening to update labels", "updateAuthor": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-09T03:39:41.000+0000", "updated": "2012-07-09T03:39:41.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }