Skip to content

Commit d32880e

Browse files
Fix livesynnc on iOS simulator-livesync
When restarting the application the name of the application should be the projectName.
1 parent edfd974 commit d32880e

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)