Skip to content

Commit 2750967

Browse files
author
Tsvetan Raikov
committed
Fixed: debug > stopApplication not working correctly on Android emulator
1 parent 3f16962 commit 2750967

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/commands/debug.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@
1818

1919
this.debugService.debugStop().wait();
2020

21-
let applicationId = deviceAppData.device.isEmulator ? projectData.projectName : deviceAppData.appIdentifier;
21+
let applicationId = deviceAppData.appIdentifier;
22+
if (deviceAppData.device.isEmulator && deviceAppData.platform.toLowerCase() === this.$devicePlatformsConstants.iOS.toLowerCase()) {
23+
applicationId = projectData.projectName;
24+
}
2225
deviceAppData.device.applicationManager.stopApplication(applicationId).wait();
2326

2427
this.debugService.debug().wait();

0 commit comments

Comments
 (0)