Skip to content

Commit 46f3825

Browse files
committed
feat: run android app in a different way
1 parent 2b1777e commit 46f3825

File tree

1 file changed

+4
-0
lines changed
  • packages/platform-android/src

1 file changed

+4
-0
lines changed

packages/platform-android/src/adb.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ export const startApp = async (
4141
'shell',
4242
'am',
4343
'start',
44+
'-a',
45+
'android.intent.action.MAIN',
46+
'-c',
47+
'android.intent.category.LAUNCHER',
4448
'-n',
4549
`${bundleId}/${activityName}`,
4650
]);

0 commit comments

Comments
 (0)