-
Notifications
You must be signed in to change notification settings - Fork 986
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cordova run --list --device fails for Virtualhere devices (fixes #458) #461
Conversation
Just a note that the test failures are coming from these tests that are checking to see if a command matching |
I tried running the tests before i uploaded and got this far.
DEPRECATION: Setting throwOnExpectationFailure directly on Env is deprecated, please use the oneFailurePerSpec option in Error: Cannot find module 'cordova-common' |
Codecov Report
@@ Coverage Diff @@
## master #461 +/- ##
=======================================
Coverage 74.29% 74.29%
=======================================
Files 12 12
Lines 1564 1564
=======================================
Hits 1162 1162
Misses 402 402 Continue to review full report at Codecov.
|
@regiMario Thanks for fixing the tests. Could you please report your problems running the tests in a new issue, with the output you already posted? This should be investigated separately. Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me.
For those wondering, ioreg
is a lower-level call than system_profiler
, but they serve similar purposes as far as I can tell and there are several StackOverflow posts about macOS scripts where people are encouraged to switch to ioreg
to get the info they're looking for.
Tested with the nightly. Detects my device ok |
…he#458) (apache#461) * fix issue apache#458 * fix list-device tests
Platforms affected
iOS
What does this PR do?
I'm using Virtualhere (https://www.virtualhere.com/home) for developing remotely.
While Safari and Xcode do see the device after connecting via Virtualhere, cordova does not.
The attached patch remedies the issue in [email protected]
What testing has been done on this change?
Manual testing with virtualhere devices as well as regular USB devices
Checklist
closes #458