# DS Bot mobile The DS Bot app for iOS and Android, also exportable as a browser app. It controls the Bot team that runs on your computer; model execution and Bot tools stay on that host. The client UI and encrypted-link endpoint run on the phone or browser. The design is in [docs/plans/2026-10-24-mobile-app.md](../docs/plans/2026-10-24-mobile-app.md). Pair the app with your computer by scanning the QR code in DS Bot's Settings → Phone. The encrypted link to the computer is in [../link](../link); run `npm ci` there too before you build. Use **Edit Bot** to rename a Bot or change its avatar, including Chief, the initial Main Bot. **Group settings** lets you upload or remove a group photo when the connected host supports group avatars. ## Run Use Node 24 (as in CI). iOS needs Xcode on macOS; Android needs the Android SDK and an emulator or a device. Expo Go is not supported, because the app uses native modules. ```sh npm ci npm run ios # build and open in the iOS Simulator npm run android # build and open in the Android emulator npm run typecheck ``` `EXPO_PUBLIC_DSB_DEMO=1` skips pairing and fills the app with a demo team. It is only active when the flag is set while the bundle is built. ```sh EXPO_PUBLIC_DSB_DEMO=1 npx expo start # demo data npx expo run:android --device # native build when deps change ``` `ios/` and `android/` are generated by the build and are not committed. ## Release - Android: `.github/workflows/release.yml` builds and signs the APK. - iOS: the account items, the archive/upload steps and the failure guide are in [docs/plans/2026-11-13-ios-release.md](../docs/plans/2026-11-13-ios-release.md). With the Apple account variables set, `npm run ios:archive` archives and exports `ios/build/export/DSBot.ipa`; `sh scripts/ios-archive.sh --upload` also sends it to TestFlight. `mobile-ios` in `.github/workflows/test.yml` builds the iOS project for the simulator for changes to `mobile/` or `ds-bot/package.json`, and for full workflow runs (workflow changes, main, scheduled or manual runs), unsigned.