{ "id": "155759", "key": "TIMOB-20572", "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": "17707", "name": "Release 5.3.0", "archived": false, "released": true, "releaseDate": "2016-06-04" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-04-15T13:49:25.000+0000", "created": "2016-03-16T02:25:40.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "qe-5.3.0" ], "versions": [ { "id": "17707", "name": "Release 5.3.0", "archived": false, "released": true, "releaseDate": "2016-06-04" } ], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-04-20T18:52:13.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\nWhen a device is not connected to a PC but its on the same network as the PC, when building a project for wp-device then it will still show up as available. This is because the utility used to obtain the device information, WinAppDeploy, supports deployment of an app over wifi and therefore will detect devices on wifi. See the below output for the differences between the output.\r\n\r\nHowever, I believe that for this to happen the device needs to have 'Device Discovery' in 'For Developers' enabled. I am not sure whether this is enabled by default.\r\n\r\nIt is possible to deploy to a device over the network, but as far as I know this is not supported yet so for now we should filter devices that are displayed by the tool but appear to be connected over the network.\r\n\r\n{code: title=Connected via USB}\r\nC:\\Users\\ewanh>\"C:\\Program Files (x86)\\Windows Kits\\10\\bin\\x86\\WinAppDeployCmd.exe\" devices\r\nWindows App Deployment Tool\r\nVersion 10.0.0.0\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\n\r\nDiscovering devices...\r\nIP Address GUID Model/Name\r\n127.0.0.1 00000015-4e57-1877-0000-000000000000 Lumia 930 (RM-1045)\r\n{code}\r\n\r\n\r\n{code: title=On same network}\r\nC:\\Users\\ewanh>\"C:\\Program Files (x86)\\Windows Kits\\10\\bin\\x86\\WinAppDeployCmd.exe\" devices\r\nWindows App Deployment Tool\r\nVersion 10.0.0.0\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\n\r\nDiscovering devices...\r\nIP Address GUID Model/Name\r\n192.168.2.10 00000015-4e57-1877-0000-000000000000 Lumia930\r\n{code}\r\n\r\nh5.Steps to reproduce\r\n\r\n1. Connect a device by USB and run {{\"C:\\Program Files (x86)\\Windows Kits\\10\\bin\\x86\\WinAppDeployCmd.exe\" devices}}\r\n2. Run {{appc run -p windows -T wp-device}}\r\n3. Disconnect the USB and ensure the device is on the same network as your PC\r\n4. Run {{appc run -p windows -T wp-device}}\r\n\r\nh5.Actual result\r\n\r\n2. The device will be shown\r\n4. The device will be shown\r\n\r\nh5.Expected result\r\n\r\nThe device should only be shown when the device is able to be built to, ie connected by USB", "attachment": [], "flagged": false, "summary": "Windows: Windows 10 Mobile device is listed as available to build to when not connected by USB", "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 NPM: 4.2.4-2\r\nAppc Core: 5.2.1-13\r\nTi SDK: 5.3.0.v20160311122340\r\nLumia 930 10.0.10586.164", "closedSprints": [ { "id": 618, "state": "closed", "name": "2016 Sprint 08 SDK", "startDate": "2016-04-09T00:30:18.262Z", "endDate": "2016-04-23T00:30:00.000Z", "completeDate": "2016-04-25T02:38:28.511Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "382741", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "titanium_mobile_windows: https://github.com/appcelerator/titanium_mobile_windows/pull/622\r\n5_3_X: https://github.com/appcelerator/titanium_mobile_windows/pull/624", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-04-14T16:07:00.000+0000", "updated": "2016-04-14T16:21:58.000+0000" }, { "id": "383396", "author": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed , I am not able to see the device after it has been disconnected.\r\nTested on:\r\nMicrosoft Lumia 640 (10)\r\nWindows 10 \r\nStudio: 4.6.0.201604190855\r\nTi SDK: 5.3.0.v20160420090405\r\nAppc NPM: 4.2.5-3\r\nApp CLI: 5.3.0-21\r\nNode v4.4.3\r\nClosing Ticket.", "updateAuthor": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "created": "2016-04-20T18:52:07.000+0000", "updated": "2016-04-20T18:52:07.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }