-
Notifications
You must be signed in to change notification settings - Fork 6
mobile: document mock mode indicators #16
Copy link
Copy link
Open
Labels
docsREADME, setup, architecture, API examples, or contributor docsREADME, setup, architecture, API examples, or contributor docsfirst-timers-onlyLowest-context starter task suitable for a first OSS PRLowest-context starter task suitable for a first OSS PRgood first issueSmall, low-context work suitable for a new contributorSmall, low-context work suitable for a new contributorhelp wantedMaintainer wants external contributors, not just internal follow-upMaintainer wants external contributors, not just internal follow-upmobileExpo/React Native UI, navigation, client API, mobile fixturesExpo/React Native UI, navigation, client API, mobile fixturesup-for-grabsScoped and available for external contributorsScoped and available for external contributors
Description
Metadata
Metadata
Assignees
Labels
docsREADME, setup, architecture, API examples, or contributor docsREADME, setup, architecture, API examples, or contributor docsfirst-timers-onlyLowest-context starter task suitable for a first OSS PRLowest-context starter task suitable for a first OSS PRgood first issueSmall, low-context work suitable for a new contributorSmall, low-context work suitable for a new contributorhelp wantedMaintainer wants external contributors, not just internal follow-upMaintainer wants external contributors, not just internal follow-upmobileExpo/React Native UI, navigation, client API, mobile fixturesExpo/React Native UI, navigation, client API, mobile fixturesup-for-grabsScoped and available for external contributorsScoped and available for external contributors
Goal
Document exactly how the mobile app signals fixture-backed mock mode versus API-backed real mode, including the important distinction between the selected mode and actual backend health.
Scope
docs/ARCHITECTURE.md.USE_MOCKis true unlessEXPO_PUBLIC_USE_MOCK_API=false.STRINGS.dailyTalk.demoBadgein mock mode andSTRINGS.dailyTalk.liveBadgein real mode.학습 코스 (오프라인 미리보기)in mock mode.SHOW_DEV_TOOLSis enabled in a development build; this panel is not an end-user production indicator.API_BASE. Read-style calls may use their checked-in fixture fallback after network or HTTP failure.noFallbackInRealsurface the error instead of pretending fixture-backed success.liveBadgereports the selected client mode; it does not by itself prove the backend or a local STT/TTS engine is healthy. The development health check is the separate diagnostic.apps/mobile/src/api/client.ts,apps/mobile/src/devConfig.ts,apps/mobile/src/screens/DailyTalkScreen.tsx,apps/mobile/src/screens/CoursesScreen.tsx, andapps/mobile/src/screens/SettingsScreen.tsxas read-only sources of truth.Acceptance Criteria
docs/ARCHITECTURE.mdand includesCloses #16.Suggested Verification
This is a browser-editable docs task. No Expo, backend, speech engine, or API key is required.
Direct edit link:
https://github.com/duct-tape2/ai-language-partner/edit/main/docs/ARCHITECTURE.md