Skip to content

Commit 460b4a4

Browse files
committed
chore: update LS with sockets required runtime version
1 parent 5ffaba7 commit 460b4a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/services/livesync/android-livesync-service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { PlatformLiveSyncServiceBase } from "./platform-livesync-service-base";
44
import * as semver from "semver";
55

66
export class AndroidLiveSyncService extends PlatformLiveSyncServiceBase implements IPlatformLiveSyncService {
7-
private static MIN_SOCKETS_LIVESYNC_RUNTIME_VERSION = "4.2.0-2018-07-13-01";
7+
private static MIN_SOCKETS_LIVESYNC_RUNTIME_VERSION = "4.2.0-2018-07-20-02";
88
constructor(protected $platformsData: IPlatformsData,
99
protected $projectFilesManager: IProjectFilesManager,
1010
private $injector: IInjector,
@@ -16,7 +16,7 @@ export class AndroidLiveSyncService extends PlatformLiveSyncServiceBase implemen
1616
}
1717

1818
protected _getDeviceLiveSyncService(device: Mobile.IDevice, data: IProjectDir, frameworkVersion: string): INativeScriptDeviceLiveSyncService {
19-
if (semver.gte(frameworkVersion, AndroidLiveSyncService.MIN_SOCKETS_LIVESYNC_RUNTIME_VERSION)) {
19+
if (semver.gt(frameworkVersion, AndroidLiveSyncService.MIN_SOCKETS_LIVESYNC_RUNTIME_VERSION)) {
2020
return this.$injector.resolve<INativeScriptDeviceLiveSyncService>(AndroidDeviceSocketsLiveSyncService, { device, data });
2121
}
2222

0 commit comments

Comments
 (0)