Skip to content
This repository was archived by the owner on Feb 2, 2021. It is now read-only.

Send page reload message to android runtime #511

Merged
merged 6 commits into from
Nov 12, 2015
Merged

Conversation

Fatme
Copy link
Contributor

@Fatme Fatme commented Nov 6, 2015

No description provided.

private syncCore(data: ILiveSyncData, projectFiles: string[]): IFuture<void> {
return (() => {
let platform = data.platform ? this.$mobileHelper.normalizePlatformName(data.platform) : this.$devicesService.platform;
let deviceAppData = this.$deviceAppDataFactory.create(data.appIdentifier, this.$mobileHelper.normalizePlatformName(data.platform));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On the previous line, platform was set to this.$mobileHelper.normalizePlatformName(data.platform) and therefore can be used here for shorter code.

@Fatme Fatme force-pushed the fatme/page-reload branch from 31ddc26 to d0e708c Compare November 6, 2015 12:18
return (() => {
let projectFilesPath = data.localProjectRootPath || data.projectFilesPath;
let platform = data.platform ? this.$mobileHelper.normalizePlatformName(data.platform) : this.$devicesService.platform;
let deviceAppData = this.$deviceAppDataFactory.create(data.appIdentifier, this.$mobileHelper.normalizePlatformName(data.platform));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we use platform here?

@Fatme Fatme force-pushed the fatme/page-reload branch 5 times, most recently from 9fab308 to 5d59e2b Compare November 10, 2015 11:31
@justcodebuilduser
Copy link

❤️

}

private getRunningSimulatorId(appIdentifier: string): string {
let iosSim = require("ios-sim-portable");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we move this to property with getter?

@Fatme Fatme force-pushed the fatme/page-reload branch from 5d59e2b to bbbfdb6 Compare November 11, 2015 10:52
@justcodebuilduser
Copy link

❤️

2 similar comments
@justcodebuilduser
Copy link

❤️

@justcodebuilduser
Copy link

❤️

@Fatme Fatme force-pushed the fatme/page-reload branch from cac6a77 to 505b47e Compare November 12, 2015 16:52
@justcodebuilduser
Copy link

❤️

@Fatme Fatme force-pushed the fatme/page-reload branch from 505b47e to e1b792c Compare November 12, 2015 17:19
@rosen-vladimirov
Copy link
Collaborator

👍 after green build

@justcodebuilduser
Copy link

❤️

Fatme pushed a commit that referenced this pull request Nov 12, 2015
Send page reload message to android runtime
@Fatme Fatme merged commit 46e271f into master Nov 12, 2015
@Fatme Fatme deleted the fatme/page-reload branch November 12, 2015 17:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants