Files
byGalax 5a3dc15704 chore(mobile): extract ENDED_STATE_LINGER_MS constant
The 2500ms timer that drifts CallState from `ended` back to `idle` was
an inline magic number. Promote to a module-level constant with a
comment explaining why the value isn't arbitrary — picked from the
post-Phase-3 quality review.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-14 06:24:05 +02:00
..
2026-04-18 23:11:35 +02:00

apps/mobile/lib

App-local helpers that depend on Expo / React Native APIs and therefore cannot live in packages/shared.

Expected contents:

  • secureStorage.ts — thin adapter over expo-secure-store, exposes get/set/delete that @chat-app/shared/auth consumes.
  • sqlite.ts — opens the encrypted local message DB via expo-sqlite, exposes a migration runner.
  • push.ts — wires expo-notifications + registers FCM/APNs token with Supabase.
  • sodium.ts — binds react-native-libsodium to the backend interface expected by @chat-app/shared/crypto.