{ "id": "87650", "key": "TIMOB-7950", "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": [], "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2016-08-24T05:20:54.000+0000", "created": "2012-03-09T12:16:39.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "13070", "description": "Release 1.8 Service Pack 2", "name": "Release 1.8.2", "archived": true, "released": true, "releaseDate": "2012-02-29" } ], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-24T19:02:03.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": "h2. Request\r\n\r\nCurrently, permissions are automatically configured during the build process. While this is convenient, applications in the marketplaces may be perceived as more of a risk to install if they have WRITE access to a resource on the device when they only need READ access.\r\n\r\nHence, add a new setting in {{tiapp.xml}} that allows developers to enable/disable auto permissions (for example, {{auto-permissions:true/false}}) at their discretion.\r\n\r\n", "attachment": [], "flagged": false, "summary": "TIAPI: allow user to disable automated permissions configuration with a new setting in tiapp.xml", "creator": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "environment": null, "comment": { "comments": [ { "id": "394049", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "I believe this ticket refers to Android. Titanium doesn't seem to require permissions for any of the APIs to work.\r\n\r\nWhen building an app, the Android build parses the JavaScript code into an AST where we look for Titanium APIs that are used. From there, it can determine the minimum permissions needed for the Titanium APIs to work.\r\n\r\nThis can be overwritten by using a custom AndroidManifest.xml. Simply build the app, then copy {{build/android/AndroidManifest.xml}} to {{platform/android/AndroidManifest.xml}}, then edit and remove the permissions. This is how to get rid of the {{WRITE_EXTERNAL_STORAGE}} permission which was needed back in the day when apps were installed on an SD card and not the main storage.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-08-24T05:20:54.000+0000", "updated": "2016-08-24T05:20:54.000+0000" }, { "id": "415733", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket with reference to the previous comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-24T19:02:03.000+0000", "updated": "2017-03-24T19:02:03.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }