@swmansion/argent 0.28.1-next.14 → 0.28.1-next.15

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.
@@ -122710,8 +122710,9 @@ async function resolveLauncherActivity(udid, bundleId, isTv = false) {
122710
122710
  }
122711
122711
  const launcher = await resolveFor();
122712
122712
  if (launcher) return launcher;
122713
+ const pmPath = await adbShell(udid, `pm path ${shellQuote(bundleId)}; true`);
122713
122714
  throw new FailureError(
122714
- `Could not resolve a ${isTv ? "LEANBACK_LAUNCHER or LAUNCHER" : "LAUNCHER"} activity for ${bundleId}. Install the app first, or pass an explicit \`activity\`. (resolve-activity output: ${lastRaw.trim() || "empty"})`,
122715
+ `Could not resolve a ${isTv ? "LEANBACK_LAUNCHER or LAUNCHER" : "LAUNCHER"} activity for ${bundleId}. ` + (pmPath.includes("package:") ? `It is installed but declares no such activity: pass an explicit \`activity\`. ` : `It is not installed on ${udid}: install it with \`reinstall-app\`. `) + `(resolve-activity output: ${lastRaw.trim() || "empty"})`,
122715
122716
  {
122716
122717
  error_code: FAILURE_CODES.ANDROID_LAUNCH_ACTIVITY_RESOLVE_FAILED,
122717
122718
  failure_stage: "android_launch_resolve_activity",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swmansion/argent",
3
- "version": "0.28.1-next.14",
3
+ "version": "0.28.1-next.15",
4
4
  "mcpName": "io.github.software-mansion/argent",
5
5
  "description": "MCP server for iOS Simulator and Android Emulator control",
6
6
  "license": "Apache-2.0",