{ "id": "131825", "key": "TIMOB-17171", "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": "11258", "description": "Holding Pen for Triaged Issues", "name": "Backlog", "archived": false, "released": false } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-04-10T17:27:04.000+0000", "created": "2014-06-17T16:00:57.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "supportTeam" ], "versions": [], "issuelinks": [ { "id": "49793", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "inwardIssue": { "id": "153115", "key": "TIMOB-19989", "fields": { "summary": "API to open app's page in system settings", "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": "Medium", "id": "3" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } }, { "id": "50311", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "153115", "key": "TIMOB-19989", "fields": { "summary": "API to open app's page in system settings", "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": "Medium", "id": "3" }, "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-06T17:49:31.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": "h6.Feature Request\r\nTo support settings link in iOS Permission Prompts on iOS 7.1 & 8\r\n\r\nh6.Description\r\nIn iOS 7.1 and iOS 8 there is some functionality for permission dialogs which we would like to take advantage of in the future if its possible. \r\n\r\nIn the native Apple Maps the first time the user clicks on the [My Location] button they are prompted with the normal location access dialog. If the user clicks [Don't Allow] the prompt goes away as expected. If the user then clicks the [My Location] button again they are prompted with a new second dialog which has 2 options [Settings | Cancel] If the user clicks on [Settings] they are then taken to the Locations Services page where they can enable or disable location access for the Apple Maps application. \r\n\r\nCan Titanium add support for the settings link as shown in the second dialog or if that is controlled by iOS so it cannot be accessed. ", "attachment": [], "flagged": false, "summary": "iOS: Support settings link in iOS Permission Prompts", "creator": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 883, "state": "closed", "name": "2017 Sprint 09 SDK", "startDate": "2017-04-23T21:46:54.309Z", "endDate": "2017-05-07T21:46:00.000Z", "completeDate": "2017-05-08T00:25:44.276Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "370318", "author": { "name": "ssombhatla", "key": "ssombhatla", "displayName": "Srikanth Sombhatla", "active": false, "timeZone": "Asia/Singapore" }, "body": "-We can achieve API parity with Android as well since Android 6.0 has similar app permissions. But direct launching of aggregated permission page as in iOS is not available. User will be launched to app settings page and one click away from permissions.-\r\n\r\nCan be down with [~fokkezb] solution.", "updateAuthor": { "name": "ssombhatla", "key": "ssombhatla", "displayName": "Srikanth Sombhatla", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-11-16T05:27:00.000+0000", "updated": "2016-01-14T03:18:17.000+0000" }, { "id": "370519", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "You can do so via:\r\n\r\n{code:javascript}\r\n\tif (OS_IOS) {\r\n\t\tTi.Platform.openURL('app-settings:');\r\n\t}\r\n\r\n\tif (OS_ANDROID) {\r\n\t\tvar intent = Ti.Android.createIntent({\r\n\t\t\taction: 'android.settings.APPLICATION_SETTINGS',\r\n\t\t});\r\n\t\tintent.addFlags(Ti.Android.FLAG_ACTIVITY_NEW_TASK);\r\n\t\tTi.Android.currentActivity.startActivity(intent);\r\n\t}\r\n{code}\r\n\r\nHaven't managed to get Android to open the settings for the specific app", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2015-11-17T13:15:21.000+0000", "updated": "2015-11-17T13:15:21.000+0000" }, { "id": "417123", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Opening the settings via openURL and displaying the location prompt are already supported since a while now. Resolving as fixed based on that.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-04-10T17:27:04.000+0000", "updated": "2017-04-10T17:27:04.000+0000" }, { "id": "440205", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Cleaning up older fixed issues. If this issue should not have been closed as fixed, please reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-06T17:49:31.000+0000", "updated": "2018-08-06T17:49:31.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }