Repository navigation
Test Ateam Go on your own iPhone: a dev build plus npm run phone - #466
Merged
Merged
Conversation
APP_VARIANT=development (app.config.js on top of app.json) gives the dev build its own name (Ateam Go Dev), bundle id (com.clawnify.ateam.dev) and URL scheme (ateamgo-dev), so a Debug build with expo-dev-client sits next to the TestFlight and App Store app instead of replacing it. Without the variable the config is app.json as before. Expo applies expo-dev-client's config plugin automatically once the package is installed, and the plugin adds an exp+ateam URL scheme. Release lists the plugin with addGeneratedScheme off, so its Info.plist and entitlements match the pre-change config (checked with expo config --type introspect). npm run ios:dev prebuilds with --clean before expo run:ios, because run:ios only prebuilds when ios/ is missing, and an ios/ left from the other variant keeps that variant's bundle id.
Metro runs on 8082 behind tailscale serve on 8443 (tailnet only), and hands out that HTTPS URL so the dev build on the iPhone loads the bundle and hot-reloads from the box. It refuses to start if another worktree is already serving.
Generic steps: build Ateam Go Dev once on a Mac with npm run ios:dev, then npm run phone on the box and enter the printed URL in the app. phone-dev.sh reads the tailnet name with node instead of jq.
This was referenced Nov 3, 2026
Merged
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.
Lets you try phone-app changes on your own iPhone while editing on a box.
Tested: the app loaded on a real iPhone over the tailnet from this branch. The manifest points at the tailnet URL, and the iOS bundle returns 200.