From d32880e599cdf874060c13127b262b94151ec871 Mon Sep 17 00:00:00 2001 From: TsvetanMilanov Date: Fri, 1 Apr 2016 18:32:27 +0300 Subject: [PATCH] Fix livesynnc on iOS simulator-livesync When restarting the application the name of the application should be the projectName. --- lib/services/livesync/ios-livesync-service.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/services/livesync/ios-livesync-service.ts b/lib/services/livesync/ios-livesync-service.ts index d96f7f6ff0..a94566df14 100644 --- a/lib/services/livesync/ios-livesync-service.ts +++ b/lib/services/livesync/ios-livesync-service.ts @@ -26,7 +26,8 @@ class IOSLiveSyncService extends liveSyncServiceBaseLib.LiveSyncServiceBase { - return this.device.applicationManager.restartApplication(deviceAppData.appIdentifier, deviceAppData.appIdentifier.split(".")[2]); + let projectData: IProjectData = this.$injector.resolve("projectData"); + return this.device.applicationManager.restartApplication(deviceAppData.appIdentifier, projectData.projectName); } protected reloadPage(deviceAppData: Mobile.IDeviceAppData): IFuture {