Files
beenvoice/apps/mobile/AGENTS.md
T
soconnor d057ba208d Add 'apps/mobile/' from commit '5fa30f365f21531094cd4d2045042bb4f1370ac3'
git-subtree-dir: apps/mobile
git-subtree-mainline: 86f8987dff
git-subtree-split: 5fa30f365f
2026-08-16 21:42:59 -04:00

1.3 KiB

beenvoice-app — agent notes

Expo SDK 57. Read Expo v57 docs before changing native config.

Read first

Conventions

  • Package manager: Bun only
  • API types: import AppRouter from beenvoice/server/api/root (tsconfig path ../beenvoice-web/src/*)
  • Styling: useAppTheme() + useThemedStyles(); tokens in lib/theme-palette.ts
  • Forms: lib/form-validation.ts; show errors only after blur/submit (useFieldVisibility)
  • Auth: never remount account without migrating SecureStore session (lib/auth-storage.ts)
  • Widgets: all Live Activity UI must be inside the "widget" function in widgets/TimeClockActivity.tsx
  • Metro: port 8082; dev client required (not Expo Go)

Key files

Concern Path
Root providers app/_layout.tsx
Multi-account contexts/AccountsContext.tsx, lib/accounts.ts
Session migration lib/auth-storage.ts
tRPC lib/trpc.tsx
App lock lib/app-lock.ts, contexts/AppLockContext.tsx
Time clock components/time-clock/TimeClockPanel.tsx

Server repo

Sibling ../beenvoice-web — run bun run dev on :3000 before mobile dev.