Blame
|
1 | --- |
||||||
| 2 | title: 3netra Meta Android App — Engineering Wiki |
|||||||
| 3 | aliases: [3netra Wiki, Meta App Wiki, Home] |
|||||||
| 4 | tags: [3netra/wiki, moc] |
|||||||
| 5 | product: 3netra Meta Android App |
|||||||
| 6 | source_repository: 3Netra-ai/3n_meta_android |
|||||||
| 7 | source_ref: origin/prod |
|||||||
| 8 | source_revision: b48aada8fd5427b5db0c02945569963c4ae543c8 |
|||||||
| 9 | last_verified: 2026-08-06 |
|||||||
| 10 | --- |
|||||||
| 11 | ||||||||
| 12 | # 🦉 3netra Meta Android App — Engineering Wiki |
|||||||
| 13 | ||||||||
| 14 | > [!quote] Tagline |
|||||||
| 15 | > **See the World. Learn Without Limits.** |
|||||||
| 16 | ||||||||
| 17 | AI-powered learning companion for blind & visually impaired higher education students (high school and college), pairing **Meta Ray-Ban smart glasses** with a native **Kotlin/Jetpack Compose Android app**. |
|||||||
| 18 | Canonical source repo: `3Netra-ai/3n_meta_android` · Package: `com.threenetra.app` · Status: active development. (The inspected local checkout is named `archived-3n-meta-app`.) |
|||||||
| 19 | ||||||||
| 20 | > [!info] Provenance |
|||||||
| 21 | > Wiki implementation claims were audited **2026-08-06** from `origin/prod` at `b48aada8fd5427b5db0c02945569963c4ae543c8` (2026-08-05, merge PR #11 cleanup). PRD and roadmap statements are explicitly non-implementation evidence. See [[13-Source-Map-Glossary#Maintenance protocol|maintenance protocol]]. |
|||||||
| 22 | ||||||||
| 23 | --- |
|||||||
| 24 | ||||||||
| 25 | ## 📚 Pages |
|||||||
| 26 | ||||||||
| 27 | | # | Page | Contents | |
|||||||
| 28 | |---|------|----------| |
|||||||
| 29 | | 1 | [[01-Product-Overview\|Product Overview]] | Mission, problem, goals/KPIs, personas | |
|||||||
| 30 | | 2 | [[02-System-Architecture\|System Architecture]] | Architecture diagrams, repo layout, tech stack, backends | |
|||||||
| 31 | | 3 | [[03-Frontend-Navigation\|Frontend & Navigation]] | Navigation graph, screen catalog, frontend flow chart | |
|||||||
| 32 | | 4 | [[04-User-Journeys\|User Journeys]] | Student / teacher / caregiver journeys, gestures & voice | |
|||||||
| 33 | | 5 | [[05-Avatars-Companions\|Avatars & Companions]] | AI companion characters, voice personas | |
|||||||
| 34 | | 6 | [[06-Feature-Matrix\|Feature Matrix]] | Implemented vs pending (PRD + roadmap) | |
|||||||
| 35 | | 7 | [[07-Services-APIs-Vendors\|Services, APIs & Vendors]] | Full vendor/API inventory | |
|||||||
| 36 | | 8 | [[08-Data-Model-Supabase\|Data Model (Supabase)]] | Tables, columns, compliance (FERPA/COPPA) | |
|||||||
| 37 | | 9 | [[09-Design-System\|Design System]] | Palette, typography, accessibility rules | |
|||||||
| 38 | | 10 | [[10-Engineering-Ops\|Engineering Ops]] | Build, test, deploy, config keys, known quirks | |
|||||||
| 39 | | 11 | [[11-Security-Privacy-Compliance\|Security, Privacy & Compliance]] | Data classification, trust boundaries, FERPA/COPPA controls | |
|||||||
| 40 | | 12 | [[12-Risks-Decisions\|Risks & Decisions]] | Risk register, open architecture decisions | |
|||||||
| 41 | | 13 | [[13-Source-Map-Glossary\|Source Map & Glossary]] | Code→capability map, org doc sources, glossary | |
|||||||
| 42 | ||||||||
| 43 | > [!note] Archive |
|||||||
| 44 | > An earlier audit-style draft of this wiki is preserved in `wiki/archive/` for reference. |
|||||||
| 45 | ||||||||
| 46 | --- |
|||||||
| 47 | ||||||||
| 48 | ## ⚡ 60-Second Summary |
|||||||
| 49 | ||||||||
| 50 | - **What is wired:** Compose screens attempt glasses capture, Supabase Edge Function invocation, Android speech, face enrollment/matching, chat, notes, and in-memory story UI. At this revision `SupabaseAiService` discards every successful model reply and returns fixed success text; those assistance flows are not verified as useful end-to-end. |
|||||||
| 51 | - **How:** Native Kotlin app (`src/frontend/`) — single activity, Jetpack Compose, service-singleton architecture. Meta **MWDAT 0.7.0** capture/registration code is present, but gesture callbacks and hardware behavior are untested. Active AI calls target Supabase `chat-vision`; the AWS `/api/chat` client/prototype is unreferenced by production app code. |
|||||||
| 52 | - **Privacy status:** cloud `face_embeddings` are the active enrollment/matching path. Local encrypted 90-day storage is unreferenced; schema/RLS/consent claims are not proven. See [[08-Data-Model-Supabase]]. |
|||||||
| 53 | - **Mascot:** Netra the Owl 🦉 (+ Cosmo, Sage, Ripple companions). See [[05-Avatars-Companions]]. |
|||||||
| 54 | ||||||||
| 55 | ## 🗂 Key Facts |
|||||||
| 56 | ||||||||
| 57 | | Fact | Value | |
|||||||
| 58 | |---|---| |
|||||||
| 59 | | Primary codebase | `src/frontend/` (Kotlin, Compose) — minSdk 29, target 34, compile 35 | |
|||||||
| 60 | | Secondary tree | `android/` — Expo/React Native shell (vestigial; JS sources absent) | |
|||||||
| 61 | | Glasses SDK | Meta Wearables DAT (MWDAT) `0.7.0` — core, camera, mockdevice | |
|||||||
| 62 | | Backend DB/Auth | Supabase (Postgres 17, GoTrue, PostgREST, Realtime) | |
|||||||
| 63 | | Active AI path | Supabase `chat-vision` Edge Function → OpenAI `gpt-4o`; Android client currently discards the response | |
|||||||
| 64 | | Voice (Indic) | Sarvam.ai (translate / TTS speaker "meera" / STT "saaras:v1") | |
|||||||
| 65 | | Face recognition | FaceNet TFLite + cosine comparison against Supabase-fetched embeddings (threshold 0.5) | |
|||||||
| 66 | | Legacy paths | Firebase Cloud Functions + Vercel function (Resend welcome emails) | |
|||||||
| 67 | ||||||||
| 68 | %% |
|||||||
| 69 | Tags index: #3netra/wiki — all pages in this folder belong to the wiki MOC. |
|||||||
| 70 | %% |
|||||||
