-
-
Notifications
You must be signed in to change notification settings - Fork 196
LiveSync support #628
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
LiveSync support #628
Conversation
✅ |
///<reference path="../.d.ts"/> | ||
"use strict"; | ||
|
||
export class UsbLivesyncCommand implements ICommand { |
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.
There is no need to prefix this with Usb
. Both iOS and Android support this over the air.
✅ |
1 similar comment
✅ |
} | ||
|
||
public get deviceProjectRootPath(): string { | ||
return `/data/local/tmp/12590FAA-5EDD-4B12-856D-F52A0A1599F2/${this.appIdentifier}`; |
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.
is this expected identifier 12590FAA-5EDD-4...
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.
yes 😸
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.
Probably it a good idea to give this path a named constant to explain why it is such.
@@ -5,7 +5,7 @@ | |||
"configurations": [ | |||
{ | |||
// Name of configuration; appears in the launch configuration drop down menu. | |||
"name": "build", | |||
"name": "livesync", |
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.
Can we .gitignore this file, please?
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.
👍 , only basic setup of the file is required, which is already done, all other changes must be gitignored
❌ |
✅ |
|
||
public canExecute(args: string[]): IFuture<boolean> { | ||
return (() => { | ||
let platform = args[0]; |
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 way the command will work no matter of the number of arguments passed, for example
tns livesync android goshko ios peshko john
✅ |
👍 |
✅ |
✅ |
Should be merged after this PR telerik/mobile-cli-lib#376