Skip to content

Commit fb9dd39

Browse files
committed
Fixes #1457: Android emulators not booting when platform is set to 'both'
1 parent e2b2b5a commit fb9dd39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ class DevicePlugin extends BasePlugin {
205205
registerProxyMiddlware(expressApp, cliArgs, externalModule.getMiddleWares());
206206

207207
externalModule.updateServer(expressApp, httpServer);
208-
if (hasEmulators && pluginArgs.platform.toLowerCase() === 'android') {
208+
if (hasEmulators && (pluginArgs.platform.toLowerCase() === 'android' || pluginArgs.platform.toLowerCase() === 'both')) {
209209
log.info('Emulators will be booted!!');
210210
const adb = await enhancedADBManager.getLocalADB();
211211
const array = pluginArgs.emulators || [];

0 commit comments

Comments
 (0)