-
-
Notifications
You must be signed in to change notification settings - Fork 197
Send page reload message to iOS runtime #1107
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
Conversation
fee6ffc
to
d2ac672
Compare
The linter is not happy |
///<reference path="../../.d.ts"/> | ||
"use strict"; | ||
|
||
import helpers = require("../../common/helpers"); |
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.
ES6 import
94c2c60
to
52f987f
Compare
///<reference path="../../.d.ts"/> | ||
"use strict"; | ||
|
||
export class IOSNotification implements IiOSNotification { |
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 there a need for an interface for this class?
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 can safely be just a holder for constants, or even exported variables that can be imported via destructing.
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 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.
My bad, I miss the part where we use the $projectData
.
5ee9cfb
to
394dead
Compare
4f430ac
to
c95e3e1
Compare
private $iOSEmulatorServices: Mobile.IiOSSimulatorService, | ||
private $injector: IInjector, | ||
private $iOSNotificationService: IiOSNotificationService, | ||
private $errors: IErrors, |
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.
not used
Can we speed up a bit Android livesync, if we execute adb only once in AndroidUsbLiveSyncService.beforeLiveSyncAction callback? I mean code similar to
|
iOSSimulatorRelativeToProjectBasePathAction | ||
).wait(); | ||
let fastLivesyncFileExtensions = [".css", ".xml"]; | ||
let canExecuteFastLiveSync = (filePath: string) => _.contains(fastLivesyncFileExtensions, path.extname(filePath)); |
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 could be moved into a dedicated function. The enclosing one is 120 lines long!
9c6e2fe
to
74f7fd6
Compare
Test FAILed. |
74f7fd6
to
bece803
Compare
Test PASSed. |
1 similar comment
Test PASSed. |
4449f01
to
d744af0
Compare
…cation to iOS runtime from usb-livesync-service
Test PASSed. |
👍 after green build and passing linux tests |
d744af0
to
9c3319c
Compare
Test PASSed. |
9c3319c
to
c8df28b
Compare
Test PASSed. |
Send page reload message to iOS runtime
Should be merged after this telerik/mobile-cli-lib#511