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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openuispec",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "description": "A semantic UI specification format for AI-native, platform-native app development",