{ "id": "153115", "key": "TIMOB-19989", "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": "16997", "name": "Release 5.2.0", "archived": false, "released": true, "releaseDate": "2016-02-23" } ], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2016-01-15T08:24:51.000+0000", "created": "2015-11-16T06:51:05.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [ { "id": "49793", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "outwardIssue": { "id": "131825", "key": "TIMOB-17171", "fields": { "summary": "iOS: Support settings link in iOS Permission Prompts", "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": "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" }, "outwardIssue": { "id": "131825", "key": "TIMOB-17171", "fields": { "summary": "iOS: Support settings link in iOS Permission Prompts", "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": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "ssombhatla", "key": "ssombhatla", "displayName": "Srikanth Sombhatla", "active": false, "timeZone": "Asia/Singapore" }, "updated": "2016-01-15T08:24:56.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": [], "description": "Applicable to above iOS 8 and Android 6.0 and above.\r\n\r\nProvide an api via Ti.App module to open the application's page in system settings. This is very helpful for the app to present permissions page in case User wants to revisit his decision. ", "attachment": [], "flagged": false, "summary": "API to open app's page in system settings", "creator": { "name": "ssombhatla", "key": "ssombhatla", "displayName": "Srikanth Sombhatla", "active": false, "timeZone": "Asia/Singapore" }, "subtasks": [], "reporter": { "name": "ssombhatla", "key": "ssombhatla", "displayName": "Srikanth Sombhatla", "active": false, "timeZone": "Asia/Singapore" }, "environment": null, "comment": { "comments": [ { "id": "370518", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "You can use:\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 found a way to open the settings for the specific app on Android though.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2015-11-17T13:13:56.000+0000", "updated": "2015-11-17T13:13:56.000+0000" }, { "id": "374506", "author": { "name": "ssombhatla", "key": "ssombhatla", "displayName": "Srikanth Sombhatla", "active": false, "timeZone": "Asia/Singapore" }, "updateAuthor": { "name": "ssombhatla", "key": "ssombhatla", "displayName": "Srikanth Sombhatla", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-01-14T03:23:01.000+0000", "updated": "2016-01-14T03:23:01.000+0000" }, { "id": "374663", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Reopening to close as duplicate", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-01-15T08:24:22.000+0000", "updated": "2016-01-15T08:24:22.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }