{ "id": "162839", "key": "TIMOB-23833", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": "2016-09-01T01:32:33.000+0000", "created": "2016-08-26T18:52:31.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "qe-6.0.0" ], "versions": [ { "id": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" } ], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-01-31T19:23:05.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "h5.Description\r\n\r\nIn TIMOB-23156 the auto-generation of capabilities based on API usage. Currently, if a user uses an API that needs a capability but is not included in the API capability list in the SDK then they will have to add the capability to the tiapp.xml and then figure out all other capabilities they need, an example of this is TIMOB-23832.\r\n\r\nTo make the development workflow easier we should always generate the capability list even when the tiapp.xml already contains.", "attachment": [], "flagged": false, "summary": "Windows: Generate capabilities even when they are defined in tiapp.xml", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "Windows 10 Pro\r\nAppc CLI: 6.0.0-31\r\nAppc NPM: 4.2.8-5\r\nTi SDK: 6.0.0.v20160825201507", "closedSprints": [ { "id": 704, "state": "closed", "name": "2016 Sprint 18 SDK", "startDate": "2016-08-27T00:18:36.960Z", "endDate": "2016-09-10T00:18:00.000Z", "completeDate": "2016-09-09T20:26:13.865Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "394694", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile_windows/pull/842", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-08-29T20:38:46.000+0000", "updated": "2016-08-29T20:38:46.000+0000" }, { "id": "394977", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "*TEST CASE*\r\n\r\napp.js\r\n{code}\r\nTi.App.setProximityDetection(true);\r\n{code}\r\n\r\ntiapp.xml\r\n{code}\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n{code}\r\n\r\n{code}\r\nappc run -p windows -S 10.0 --build-only\r\n{code}\r\n\r\nRESULT\r\n{code}\r\n\r\n \r\n \r\n \r\n\r\n{code}", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-09-01T01:32:33.000+0000", "updated": "2016-09-01T01:32:33.000+0000" }, { "id": "405883", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified improvement, was able to generate capabilities even if they were not defined in the tiapp.xml. The steps I took to verify this include: \r\n\r\n1. Create a new app and add the following code to the {{app.js}} \r\n{code:java}\r\nTi.App.setProximityDetection(true);\r\n{code}\r\n\r\n2. Then added the following capabilities to the {{tiapp.xml}} \r\n{code:java}\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n{code}\r\n\r\n3. I then ran the following command from the project directory. \r\n{code:java}\r\nappc run -p windows -S 10.0 --build-only\r\n{code}\r\n\r\n 4. I then went to the following file {{C:\\Users\\Tester\\.titanium\\vsbuild\\genTestv1\\win10.x86\\package}} and checked the capabilities. \r\n{code:java}\r\n\r\n \r\n \r\n \r\n \r\n{code}\r\n\r\n*Environment*\r\n{code:java}\r\nOperating System:\r\nName = Microsoft Windows 10 Pro\r\nVersion = 10.0.14393\r\nArchitecture = 64bit\r\n# CPUs = 4\r\nMemory = 17034395648\r\n \r\nNode.js:\r\nNode.js Version = 4.6.0 \r\nnpm Version = 2.11.3\r\n \r\nTitanium SDK:\r\nSDK Version = 6.1.0.v20170131075226\r\n{code}", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-01-31T19:22:54.000+0000", "updated": "2017-01-31T19:22:54.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }