Skip to content

docs(test-app): raise the iOS "Open in app" prompts on a simulator - #4114

Merged
thymikee merged 2 commits into
mainfrom
docs/ios-prompt-recipes
Oct 31, 2026
Merged

thymikee merged 2 commits into
mainfrom
docs/ios-prompt-recipes

Conversation

@thymikee

@thymikee thymikee commented Oct 31, 2026 •

Copy link
Copy Markdown
Member

Summary

Adds an "Open in app" prompts section to examples/test-app/README.md. It covers:

  • the SpringBoard "Open in “App”?" alert, raised with xcrun simctl openurl while the app is open;
  • the Safari "Open this page in “App”?" prompt, raised from Safari's address bar;
  • that after one accept, a simulator never shows the SpringBoard alert for that app again, even after a reboot or reinstall. Test dismiss first, or create a new simulator;
  • what snapshot --raw --json shows for each prompt.

In #4001, the reported prompt went unreproduced for a day, and a different alert was tested in its place. These steps raise either prompt in about a minute. They live in the Tester README because docs/agents/ is at its size budget, and device-verification.md already points there.

Validation

  • pnpm check:affected --run --head <head>: passed.
  • I ran both recipes on iPhone Duo and iPhone 17 Pro simulators (iOS 27.1), including on a newly created simulator.

🤖 Generated with Claude Code

@vercel

vercel Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
agent-device-website Ready Ready Preview Oct 31, 2026 11:05am UTC

Request Review

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 1 file

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread docs/agents/device-verification.md Resolved
Comment thread docs/agents/device-verification.md Resolved
@thymikee
thymikee force-pushed the docs/ios-prompt-recipes branch from 324a292 to 48aeb39 Compare October 31, 2026 07:53
@thymikee thymikee changed the title docs(agents): raise the iOS alert prompts on a simulator docs(test-app): raise the iOS "Open in app" prompts on a simulator Oct 31, 2026
@github-actions

github-actions Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Size Report

Metric Base Current Diff
Installed (including dependencies) 5.63 MB 5.63 MB 0 B
Package (unpacked) 5.63 MB 5.63 MB 0 B
Package (download) 1.71 MB 1.71 MB +7 B

Startup median (7 runs, lower is better):

Scenario Base Current Diff
CLI --version 28.6 ms 28.2 ms -0.4 ms
CLI --help 64.7 ms 59.5 ms -5.2 ms

@thymikee

Copy link
Copy Markdown
Member Author

The docs change at 48aeb39 looks correct apart from one command that cannot run as written. All 18 checks pass, and the diff is README-only, so no job route is affected. There are no conflicts.

Please fix one thing: the xcrun simctl create sentence at https://github.com/callstack/agent-device/blob/48aeb39/examples/test-app/README.md#L175 gives no name, device type or runtime, so it cannot run as written. Show xcrun simctl create tester-fresh <device-type-id> <runtime-id> (it prints the UDID), or say "use a simulator that never accepted the alert". Optional: com.callstack.agentdevicelab is a URL scheme only because Expo registers the bundle id as one, and app.config.js declares just agent-device-test-app. A short note, or using agent-device-test-app://x in the SpringBoard recipe, would make that clear (README.md#L169).

The cubic-dev-ai thread on the scheme claim does not apply: it was raised on docs/agents/device-verification.md at the earlier head 324a292, and that file is not in this diff, so you can resolve it: #4114 (comment). The cubic-dev-ai thread on xcrun simctl create still applies; it is the fix above: #4114 (comment).

I did not run the simulator recipes, so the one-shot accept behavior rests on your report of live runs on iPhone Duo and iPhone 17 Pro (iOS 27.1). I also did not inspect the generated Info.plist to confirm the bundle id is registered as a scheme.

…ed scheme

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@apex-sentinel-staging

Copy link
Copy Markdown

Apex Sentinel

Verdict: approve

No findings. round 1 added 0 new fingerprints (<= 2).

Not in the reviewers' prompt (1 file)
  • examples/test-app/README.md: no reviewer was selected for this change

Reply under an inline comment with @apex-sentinel-staging note ... or @apex-sentinel-staging pivot ... to re-check that finding.
Comment @apex-sentinel-staging review on this conversation to run a full review.

@thymikee

Copy link
Copy Markdown
Member Author

The docs look good at bf79cd5. The two earlier README findings from the first review (48aeb39) are fixed: the simctl openurl line and the Safari step now both use agent-device-test-app://x, which matches app.config.js, and simctl create now has the name, device type id, runtime id and UDID note. The checks are green (19, none failing), the diff is docs-only so no CI route applies, and there are no conflicts. I did not run the prompts on a simulator, so this relies on your live confirmation.

Not blocking, take or leave: the new "Open in app" prompts section at https://github.com/callstack/agent-device/blob/bf79cd5/examples/test-app/README.md#L166 sits under "iOS physical device", but its steps are a simulator recipe, so moving it under "iOS simulator" would help readers find it.

The two earlier inline threads, #4114 (comment) (URL scheme) and #4114 (comment) (simctl create ids), are fixed at this head and already resolved.

@thymikee thymikee added the ready-for-human Valid work that needs human implementation, judgment, or maintainer merge label Oct 31, 2026
@thymikee
thymikee merged commit 3073a23 into main Oct 31, 2026
19 checks passed
@thymikee
thymikee deleted the docs/ios-prompt-recipes branch October 31, 2026 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-human Valid work that needs human implementation, judgment, or maintainer merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant