Repository navigation
OpenBot Mobile: Apple's export answer, the iPhone only at launch, and updates published with --environment - #2218
Merged
Conversation
…at launch, and updates published with --environment - app.config.ts: `ios.config.usesNonExemptEncryption` is false. The app's only encryption is HTTPS, and it checks Ed25519 signatures (src/security-floor-check.ts). Both are exempt, so no upload stops at the question. - app.config.ts: `ios.supportsTablet` is false. The App Store then asks for no iPad screenshots. An iPad still runs the app at the iPhone's size. - README: `eas update` takes `--environment` on this SDK, and bundles with the variables Expo holds, not `.env`. `EXPO_PUBLIC_SERVER_URL` is now a plain-text variable on the Expo project for every environment. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
tylerslaton
requested review from
MikeRyanDev,
davidmckayv,
dustywusty,
guidovizoso,
mxmzb and
samjulien
as code owners
November 25, 2026 22:25
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.
Two settings that are built into the iOS app, so they must be in before the build that goes to the App Store. Also a fix to the update instructions.
What changes
ios.config.usesNonExemptEncryptionisfalse. Without it, App Store Connect holds every uploaded build at "Missing Compliance" until a person answers the question by hand. The answer is accurate today: the app's only encryption is HTTPS, and it checks Ed25519 signatures (src/security-floor-check.ts,@noble/curves).expo-cryptomakes digests and random values for sign-in. All of that is exempt. The comment in the config says to change the answer before the app encrypts anything itself.ios.supportsTabletisfalse. With it on, the App Store requires iPad screenshots and reviews the app on iPad, and a release with it on can never turn it off again. An iPad still runs the app at the iPhone's size. Turning it on later is one line and a new build.eas updateneeds--environmenton this Expo SDK. With it, the bundle takes its variables from that environment on Expo, and the command setsEXPO_NO_DOTENV, so.envis not read (eas-cli 27.11.0,commands/update/index.js). The README said the opposite.ascAppIdis not set is gone. OpenBot Mobile: bundle ID ai.open.bot.mobile, and the Apple team for submit #2209 set it.Done outside this PR
EXPO_PUBLIC_SERVER_URL(https://api.open.bot, plain text) is now a variable on the Expo project fordevelopment,previewandproduction. Before, Expo held onlyGOOGLE_SERVICES_JSON, so an update would have been bundled with no server address, and the app does not start without one (src/auth.ts).Not covered
An update for Android through
--environmentis not tried yet.GOOGLE_SERVICES_JSONis a file variable, and the runtime version on Android depends on that file's content. The README's advice for Android is unchanged until the workflow that publishes updates exists.Checks
npx expo config --json:ios.supportsTabletisfalse,ios.config.usesNonExemptEncryptionisfalse.npm run typecheckandnpm run doctor(20 of 20) pass inmobile/.bun test mobile/tests/launch-splash.test.ts tests/mobile-linked-cold-start.test.ts: 6 pass.Both settings are part of the native app, so this changes the runtime version. No build for the new app ID exists yet, so no installed app is affected.
🤖 Generated with Claude Code