Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-20572

Windows: Windows 10 Mobile device is listed as available to build to when not connected by USB

    Details

    • Type: Bug
    • Status: Closed
    • Priority: None
    • Resolution: Fixed
    • Affects Version/s: Release 5.3.0
    • Fix Version/s: Release 5.3.0
    • Component/s: Windows
    • Labels:
    • Environment:

      Windows 10 Pro
      Appc NPM: 4.2.4-2
      Appc Core: 5.2.1-13
      Ti SDK: 5.3.0.v20160311122340
      Lumia 930 10.0.10586.164

    • Story Points:
      5
    • Sprint:
      2016 Sprint 08 SDK

      Description

      Description

      When 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.

      However, 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.

      It 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.

      Connected via USB

      C:\Users\ewanh>"C:\Program Files (x86)\Windows Kits\10\bin\x86\WinAppDeployCmd.exe" devices
      Windows App Deployment Tool
      Version 10.0.0.0
      Copyright (c) Microsoft Corporation. All rights reserved.
       
      Discovering devices...
      IP Address      GUID                                    Model/Name
      127.0.0.1       00000015-4e57-1877-0000-000000000000    Lumia 930 (RM-1045)
      

      On same network

      C:\Users\ewanh>"C:\Program Files (x86)\Windows Kits\10\bin\x86\WinAppDeployCmd.exe" devices
      Windows App Deployment Tool
      Version 10.0.0.0
      Copyright (c) Microsoft Corporation. All rights reserved.
       
      Discovering devices...
      IP Address      GUID                                    Model/Name
      192.168.2.10    00000015-4e57-1877-0000-000000000000    Lumia930
      

      Steps to reproduce

      1. Connect a device by USB and run "C:\Program Files (x86)\Windows Kits\10\bin\x86\WinAppDeployCmd.exe" devices
      2. Run appc run -p windows -T wp-device
      3. Disconnect the USB and ensure the device is on the same network as your PC
      4. Run appc run -p windows -T wp-device

      Actual result

      2. The device will be shown
      4. The device will be shown

      Expected result

      The device should only be shown when the device is able to be built to, ie connected by USB

        Attachments

          Activity

            People

            • Assignee:
              gmathews Gary Mathews
              Reporter:
              eharris Ewan Harris
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • It looks like Backbone Issue Sync is not enabled for your project.

                  Git Source Code