Skip to content

Commit

Permalink
fix: add missing arguments to adb shell
Browse files Browse the repository at this point in the history
  • Loading branch information
szymonrybczak committed Apr 17, 2023
1 parent 8d8d638 commit d18c162
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,12 @@ function tryLaunchAppOnDevice(
'start',
'-n',
`${packageNameWithSuffix}/${activityToLaunch}`,
'-a',
'android.intent.action.MAIN',
'-c',
'android.intent.category.LAUNCHER',
];

if (device) {
adbArgs.unshift('-s', device);
logger.info(`Starting the app on "${device}"...`);
Expand Down

0 comments on commit d18c162

Please sign in to comment.