telerik / mobile-cli-lib

Contains common infrastructure for CLIs - mainly AppBuilder, NativeScript, DDB and Proton.
Apache License 2.0
11 stars 10 forks source link

fix(deviceLogs): iOS device logs are not shown when deployOnDevices is used #1077

Closed rosen-vladimirov closed 6 years ago

rosen-vladimirov commented 6 years ago

When the public method devicesService.deployOnDevices is used, the device logs for iOS are not shown. The problem is that the method calls canStartApplication, which returns false on Windows. Remove the check and also ensure the set of projectName for the deviceLogProvider will be called no matter of the way we start iOS Applications (through the mounted image or through Safari on device).

chore: Remove canStartApplication method

Remove canStartApplication method from application managers as it does not have a useful usage. Previously we've used it on Windows and Linux as we did not have a way to start iOS applications. Now, as we have implemented such way through Safari, the method has lost its purpose.