{ "id": "166449", "key": "TIMOB-24459", "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": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-04-14T10:02:31.000+0000", "created": "2017-03-07T01:00:59.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android-manifest", "module_build", "qe-6.1.0", "regression" ], "versions": [ { "id": "18928", "name": "Release 6.0.2", "archived": false, "released": true, "releaseDate": "2017-02-27" } ], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2018-02-09T01:26:04.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": "In an Alloy project I have a custom AndroidManifest.xml at app/platform/android without any tags .\r\n\r\nIn app/controllers/index.js I have this only line:\r\n\r\n{code:javascript}\r\nalert('hello world!');\r\n{code}\r\n\r\nOn tiapp.xml I have:\r\n\r\n{code:xml}\r\nfalse\r\n{code}\r\n\r\nand\r\n\r\n{code:xml}\r\n \r\n armeabi-v7a\r\n \r\n{code}\r\n\r\nWhen I build with SDK 5.5.1 the resulted AndroidManifest.xml at build/android folder has no tags as expected.\r\n\r\nBut when a build using any SDK >= 6.0, the resulted AndroidManifest.xml at build/android folder has this unused permissions:\r\n\r\n{code:xml}\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n{code}\r\n\r\nWhen I build for distribution, the three “ACCESS_” are removed from the manifest.\r\n\r\nIt will be very appreciated if we can choose one of two options, maybe whith a special tag in tiapp.xml:\r\n\r\n1) Having only permissions needed automatically added to final AndroidManifest.xml\r\n\r\nor\r\n\r\n2) Indicating that we want to replace completely the final AndroidManifest.xml\r\n\r\nBut none of them are possible using SDKs 6.x.", "attachment": [], "flagged": false, "summary": "Android: Can’t remove unused permissions from AndroidManifest.xml using Ti SDK 6.x", "creator": { "name": "dirleidionisio", "key": "dirleidionisio", "displayName": "Dirlei Dionísio", "active": true, "timeZone": "America/Sao_Paulo" }, "subtasks": [], "reporter": { "name": "dirleidionisio", "key": "dirleidionisio", "displayName": "Dirlei Dionísio", "active": true, "timeZone": "America/Sao_Paulo" }, "environment": "Ti SDK 6.0.2\r\nCLI 6.1.0\r\nAndroid API 24", "closedSprints": [ { "id": 854, "state": "closed", "name": "2017 Sprint 06 SDK", "startDate": "2017-03-12T19:14:58.337Z", "endDate": "2017-03-26T19:14:00.000Z", "completeDate": "2017-03-26T22:01:15.828Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "411415", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/8881", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-03-13T16:19:06.000+0000", "updated": "2017-03-13T16:19:06.000+0000" }, { "id": "416143", "author": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "body": "\r\n{noformat}\r\nMac OS Version : 10.12.3\r\nAppc CLI : 6.1.0\r\nAppc NPM : 4.2.9-1\r\nNode : v4.6.0\r\nDevice: Nexus 5x(6.0.1) Pixel XL(7.1.2)\r\nEmulator: (6.0), (4.4.2)\r\n{noformat}\r\n\r\nUsing above env passed FR. After merge, the changes are present in SDK {{6.1.0.v20170328172120}}.\r\n\r\n*Closing*", "updateAuthor": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "created": "2017-03-29T15:22:21.000+0000", "updated": "2017-03-29T15:22:21.000+0000" }, { "id": "417392", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~gmathews] can you also back port this to 6.0.4 and set the FixVersion when complete?", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-04-13T20:38:56.000+0000", "updated": "2017-04-13T20:38:56.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }