Skip to content

OpenBot Mobile: Apple's export answer, the iPhone only at launch, and updates published with --environment - #2218

Merged
tylerslaton merged 1 commit into
mobilefrom
openbot-mobile-store-settings
Nov 25, 2026
Merged

tylerslaton merged 1 commit into
mobilefrom
openbot-mobile-store-settings

Conversation

@tylerslaton

Copy link
Copy Markdown
Contributor

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

  • Export compliance. ios.config.usesNonExemptEncryption is false. 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-crypto makes 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.
  • iPhone only at launch. ios.supportsTablet is false. 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.
  • README, updates. eas update needs --environment on this Expo SDK. With it, the bundle takes its variables from that environment on Expo, and the command sets EXPO_NO_DOTENV, so .env is not read (eas-cli 27.11.0, commands/update/index.js). The README said the opposite.
  • README, uploads. The sentence that said ascAppId is 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 for development, preview and production. Before, Expo held only GOOGLE_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 --environment is not tried yet. GOOGLE_SERVICES_JSON is 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.supportsTablet is false, ios.config.usesNonExemptEncryption is false.
  • npm run typecheck and npm run doctor (20 of 20) pass in mobile/.
  • 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

…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
tylerslaton merged commit 2873e72 into mobile Nov 25, 2026
34 checks passed
@tylerslaton
tylerslaton deleted the openbot-mobile-store-settings branch November 25, 2026 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant