Skip to content

Commit 3ea1378

Browse files
Merge pull request #1663 from NativeScript/milanov/fix-ios-simulator-livesync
Fix livesynnc on iOS simulator-livesync
2 parents edfd974 + d32880e commit 3ea1378

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ class IOSLiveSyncService extends liveSyncServiceBaseLib.LiveSyncServiceBase<Mobi
2626
}
2727

2828
protected restartApplication(deviceAppData: Mobile.IDeviceAppData): IFuture<void> {
29-
return this.device.applicationManager.restartApplication(deviceAppData.appIdentifier, deviceAppData.appIdentifier.split(".")[2]);
29+
let projectData: IProjectData = this.$injector.resolve("projectData");
30+
return this.device.applicationManager.restartApplication(deviceAppData.appIdentifier, projectData.projectName);
3031
}
3132

3233
protected reloadPage(deviceAppData: Mobile.IDeviceAppData): IFuture<void> {

0 commit comments

Comments
 (0)