Repository navigation
🌟 MedSync v1.2.1 — Production Release (Expo SDK 58 & Hardened Security)
MedSync is an accessible, healthcare-grade medication adherence, smart scheduling, and clinical oversight ecosystem built with React Native (Expo SDK 58) and Supabase (PostgreSQL 15 + Edge Functions) designed to eliminate preventable medication errors and maximize therapy adherence for seniors, caregivers, and licensed physicians.
📦 Download & Install
- Android APK (Direct GitHub Download): MedSync-v1.2.1.apk
- Expo EAS Build Cloud Artifact Mirror: Expo EAS Artifact #e6bddbc8
- Expo EAS Build Pipeline Details: EAS Build #e6bddbc8-5e42-4313-9464-06b2d8b7a60b
- SHA-256 Checksum:
c00899d35fa981a309a0cbc3e0674096eed9997d453ab2c7acff08ddcef0aaee - File Size: ~107.7 MB (
112,967,375bytes) - Built with: Expo SDK
58.0.0• React Native0.88.1• React19.3.0 - Compatibility: Android 8.0 (API 26) through Android 15 (API 35)
🩺 What's Included in v1.2.1
💓 Restored Animated Heartbeat & Brand Splash Screen
- Restored the authentic
AnimatedSplashScreenfeaturing the illuminated MedSync squircle badge, the live beating heart UI/UX pulse animation (heart-animation.webp), and the official tagline "Care • Timing • Peace of Mind". - Seamless native OS transition with aligned
#FFFFFFbackdrop and smooth 1.2s pulse followed by a 500ms fade-out once authentication and fonts are ready.
🤖 AI-Powered OCR Prescription Scanner
- Multi-modal computer vision Edge Function (
scan-prescriptionrunning OpenAI GPT-4o Vision) extracting drug name, dosage (mg/ml), schedule, and clinical instructions directly from prescription photos. - Automated confidence scoring, error fallbacks, and clinician review routing.
- Fail-closed atomic quota enforcement (
check_and_increment_scan_quota) preventing scan abuse.
🔒 Server-Side Privilege Hardening & DPDP Act 2023 Compliance
- Server-Side Immutable Role Lock:
role_chosencolumn andchoose_roleatomicSECURITY DEFINERRPC preventing client-side privilege escalation. - Doctor Verification Audit Table: Dedicated
public.doctor_verificationstable with Row-Level Security auditing license number, medical council, clinic affiliation, and years of experience. - Fail-Closed CWE-22 Traversal Defense: Storage object paths enforce strict fail-closed rejection of directory traversal sequences (
..), backed by Supabase storage regex policies. - Zero Lock-Screen PHI Leakage: Push notification bodies sanitize patient names and dosages, routing full details to encrypted in-app payloads.
- DPDP Sub-Processor Disclosures: Formal purpose-limitation disclosures for OpenAI LLC and OpenStreetMap Foundation.
👵 Senior & Patient Accessibility
- High-Contrast Senior UI: WCAG AAA compliant oversized touch targets (64px+) and crisp, readable typography.
- Text-to-Speech (TTS) Voice Guidance: Native voice synthesis (
expo-speech) speaks dosage instructions aloud. - Haptic Confirmations: Multi-stage tactile vibrations (
expo-haptics) for tremor or visual support. - One-Tap Actions: High-contrast
TAKEN,SNOOZE, andSKIPbuttons. - Adherence Health Reports: PDF generation integrated directly into the Android OS Print Spooler (
expo-print).
👨👩👧 Caregiver Remote Monitoring
- Live family adherence telemetry and 14-day streak metrics.
- Automated push notification dispatch when a senior misses a dose beyond the grace window.
- Fast, secure pairing via 8-character time-limited pairing codes.
🩺 Doctor & Clinical Review Portal
- Official state/national medical registry verification workflow.
- Clinical prescription approval queue for uploaded scans with zoom/pan inspection.
- Real-time patient directory and medication regimen adjustments.
🧪 Automated Verification
- 77 Passing Tests: Native Node.js test suite across 35 test suites covering architecture contracts, RLS isolation, time calculations, and security defenses.
- Zero TypeScript Errors: Strict type validation across all application screens, services, and hooks.
🌐 Official Links
- Live Companion Site: https://breathtaker-adi.github.io/Medsync/
- LLM Knowledge Graph: https://breathtaker-adi.github.io/Medsync/llms.txt
- Repository: https://github.com/breathtaker-adi/Medsync