openuispec 0.2.6 → 0.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -276,11 +276,11 @@ export async function installAndLaunch(
|
|
|
276
276
|
await adbShell(adb, serial, `am force-stop ${appInfo.applicationId}`);
|
|
277
277
|
|
|
278
278
|
if (route) {
|
|
279
|
-
// Navigate via deep link
|
|
280
|
-
await adbShell(adb, serial, `am start -a android.intent.action.VIEW -d "${route}" ${appInfo.applicationId}`);
|
|
279
|
+
// Navigate via deep link — must specify component explicitly
|
|
280
|
+
await adbShell(adb, serial, `am start -W -a android.intent.action.VIEW -d "${route}" ${appInfo.applicationId}/${appInfo.launchActivity}`);
|
|
281
281
|
} else {
|
|
282
282
|
// Launch the main activity
|
|
283
|
-
await adbShell(adb, serial, `am start -n ${appInfo.applicationId}/${appInfo.launchActivity}`);
|
|
283
|
+
await adbShell(adb, serial, `am start -W -n ${appInfo.applicationId}/${appInfo.launchActivity}`);
|
|
284
284
|
}
|
|
285
285
|
}
|
|
286
286
|
|