Repository navigation
examples: app-builder preview in one call (POST /v1/previews) - #69
Merged
Merged
Conversation
phoneFor(), load() and the embed call become one POST /v1/previews: the end user's phone, the APK installed or the Expo link opened, on screen, the embed link. Stage errors (install_failed, open_failed) reach the page. README: one call in the steps and the table, idempotency keys, the limits request no longer promises an answer, and a new recorded run against production (27 s new phone with an APK, 41 s with Expo, 15 s from parked). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Musti7even
force-pushed
the
previews-474
branch
from
November 25, 2026 23:58
6c4287c to
6f26d22
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The reference app now makes a preview with one call:
POST /v1/previews(Musti7even/phonebox#474).It used to take five steps:
Now
preview()sends one request and gets back the phone and the link, with the app already on screen. If the build fails, itsinstall_failedoropen_failederror reaches the page.README changes:
install_failednode server.mjs --self-checkpasses.🤖 Generated with Claude Code