{ "id": "166426", "key": "TIMOB-24454", "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": "2017-05-03T18:34:21.000+0000", "created": "2017-03-06T00:49:34.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" } ], "issuelinks": [ { "id": "54506", "type": { "id": "10020", "name": "Depends", "inward": "is dependent of", "outward": "depends on" }, "inwardIssue": { "id": "165219", "key": "TIMOB-24282", "fields": { "summary": "Windows: Ability to expose a 3rd party SDK to Titanium", "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": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } }, { "id": "54505", "type": { "id": "10020", "name": "Depends", "inward": "is dependent of", "outward": "depends on" }, "inwardIssue": { "id": "165811", "key": "TIMOB-24378", "fields": { "summary": "Windows Module: integrating .NET code with C++/CX modules", "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": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } }, { "id": "55408", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "168870", "key": "TIMOB-24946", "fields": { "summary": "Ability to have 3rd party types as members in UWP module", "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": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-07-12T06:16: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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "attachment": [ { "id": "61876", "filename": "com.module.test3.zip", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T02:25:41.000+0000", "size": 242397, "mimeType": "application/zip" } ], "flagged": false, "summary": "Windows: Improve library integration with module", "creator": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "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": "414164", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "*Steps to create module for testing:*\r\n\r\n*1. Create new module*\r\n{code}\r\nappc new -n test --id com.appc.module.test3\r\n### when prompted for the project type, select \"Titanium Module\" \r\n{code}\r\n\r\n*2. Replace source and library files*\r\n\r\nExtract [^com.module.test3.zip] and replace with module contents under *windows* diretory\r\n\r\n*3. Compile module and install into module directory*\r\n\r\n{code}\r\n> cd YOUR_MODULE_PROJECT_DIR/windows\r\n> appc ti build -p windows --build-only --run-cmake\r\n{code}\r\n\r\nAnd then install module zip in your Titanium SDK modules directory\r\n\r\n*4. Create Titanium app project*\r\n\r\n{code:title=app.js}\r\nvar sap = require('com.appc.module.test3');\r\n\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: 'green',\r\n layout:'vertical'\r\n});\r\n\r\nwin.addEventListener('open', function() {\r\n\talert(sap.testLogonCore());\r\n});\r\n\r\nwin.open();\r\n{code}\r\n\r\nThis should prompt \"V4\"", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T02:31:38.000+0000", "updated": "2017-05-02T23:55:35.000+0000" }, { "id": "414165", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/961", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T02:37:12.000+0000", "updated": "2017-03-21T02:37:12.000+0000" }, { "id": "417273", "author": { "name": "cesar.cavazos", "key": "cesar.cavazos", "displayName": "Cesar Cavazos", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I wanted to point out something which I am not sure whether it has been considered in \"lib folder will be packaged into module and also copied/linked during Ti app build.\"\r\n\r\nDoes this mean that, references to those .winmd will also be added to the App's Project File and TitaniumWindows_Native Project file? The scenario where this becomes relevante is when, in the Module, there is a member declaration that includes a type from a third-party winmd.", "updateAuthor": { "name": "cesar.cavazos", "key": "cesar.cavazos", "displayName": "Cesar Cavazos", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-04-12T15:09:29.000+0000", "updated": "2017-04-12T15:09:29.000+0000" }, { "id": "417397", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{quote}\r\nDoes this mean that, references to those .winmd will also be added to the App's Project File and TitaniumWindows_Native Project file?\r\n{quote}\r\n\r\n[~cesar.cavazos] Yes. Module's winmd will be also added to the app's project.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-04-13T23:43:28.000+0000", "updated": "2017-04-13T23:43:41.000+0000" }, { "id": "418822", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~kota] Sorry, I missed this one. Samir will be looking at this one.", "updateAuthor": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-05-02T20:53:23.000+0000", "updated": "2017-05-02T20:53:23.000+0000" }, { "id": "419046", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified in 6.1.0.v20170502132103 and 6.2.0.v20170502165856 with the test case provided above by [~kota].\r\n\r\n*Environment*\r\nAPPC Studio: 4.8.1.201612050850\r\nHyperloop 2.1.0\r\nAPPC CLI: 6.2.0\r\nEmulator 8.1 WVGA 4 inch 512MB\r\n\r\n*Operating System:*\r\nName = Microsoft Windows 10 Pro\r\nVersion = 10.0.14393\r\nArchitecture = 32bit\r\nCPUs = 4\r\nMemory = 17034395648\r\n\r\n*Node.js:*\r\nNode.js Version = 6.10.1", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-05-03T18:34:00.000+0000", "updated": "2017-05-03T18:34:00.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }