{ "id": "137043", "key": "TIMOB-17742", "fields": { "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "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": "10000", "description": "", "name": "Done" }, "resolutiondate": "2017-06-07T22:10:09.000+0000", "created": "2014-09-23T18:38:11.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [], "issuelinks": [ { "id": "41505", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "136204", "key": "TIMOB-17638", "fields": { "summary": "iOS8: Support New Geo Permissions", "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": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-06-07T22:10:09.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Geo Permissions support has been added in TIMOB-17638 . But other modules that interact with geo such as map or ibeacons need to be able to request geo permissions as well. Instead of copy/pasting code for each of these, it would be better to have a central place to request/permissions based on the keys added to the info.plist. Also need a delegate that gets called when the permissions requested are approved or rejected like \r\n{code}\r\n- (void)locationManager:(CLLocationManager *)manager didChangeAuthorizationStatus:(CLAuthorizationStatus)status\r\n{code}\r\n\r\nWe need to create an implementation that can be used by modules. We may also want to consider exposing something to javascript to allow developers to request this permissions, but I am not sure if this is necessary.\r\n\r\nThe conversation that resulted in this ticket and more info can be found here: TIMOB-17638", "attachment": [], "flagged": false, "summary": "iOS: Create a better way to request Geo Permissions", "creator": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }