We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cb055ae + 672be49 commit 7199894Copy full SHA for 7199894
lib/services/platform-service.ts
@@ -348,7 +348,8 @@ export class PlatformService implements IPlatformService {
348
public deployOnDevice(platform: string, buildConfig?: IBuildConfig): IFuture<void> {
349
return (() => {
350
this.installOnDevice(platform, buildConfig).wait();
351
- this.$commandsService.tryExecuteCommand("device", ["run", this.$projectData.projectId]).wait();
+ let action = (device: Mobile.IDevice) => device.applicationManager.startApplication(this.$projectData.projectId);
352
+ this.$devicesService.execute(action).wait();
353
}).future<void>()();
354
}
355
0 commit comments