Shipathon 2026 Submission β Next Gen Award (Student Track)
Empowering elderly individuals and their caregivers with an accessible, high-contrast, local-first medication manager that bridges clinical compliance with human empathy.
πΊ Watch on YouTube: https://www.youtube.com/watch?v=d40YjZN48Kw
Features a live, high-contrast demonstration of dose intake logging, symptom notes, foldable nightstand clock with voice guidance, 52-week punch card adherence, and RevenueCat Pro unlock.
As our population ages, polypharmacy (taking 4+ medications daily) becomes a dangerous hurdle for seniors. Cognitive decline, poor vision, tremors, and complex timing schedules lead to medication non-adherenceβthe leading cause of preventable elderly hospitalizations. Meanwhile, caregivers face constant stress and lack clear, timely records when communicating with physicians.
CareBridge resolves this by delivering:
- Senior-First Accessibility: Giant touch targets (β₯ 48Γ48px), bold typography, high contrast colors (
#1E3A8ANavy on pure white), voice reading, and visual pill photos. - Dual Experience: Seamlessly transforms between an everyday mobile health tracker and an ambient, hands-free Nightstand Desk Clock (with Samsung Galaxy Z Fold / Flex Mode adaptation).
- Local Daily Push Notifications: Automated offline-first dose alarms powered by
expo-notificationswithout requiring cloud push servers or privacy-invasive tracking. - Clinical Record Keeping: Visual punch-card compliance matrix, vitals trend analytics, and 1-tap professional doctor PDF export.
- Local-First Privacy: 100% offline-first architecture via local SQLite with zero latency and complete patient data ownership.
Zero-Config Notice: The app includes hardcoded public fallback test keys in
services/revenuecat.ts. You can skip creating.envand run the project immediately out-of-the-box.
For hackathon evaluation and review, CareBridge includes RevenueCat test credentials pre-configured in .env.example:
-
Create your local
.envfile:cp .env.example .env
-
Environment Variables included:
EXPO_PUBLIC_RC_ANDROID_KEY=goog_ljnYRHEnlYgxgoPbHMzpJbgpBkr EXPO_PUBLIC_RC_TEST_KEY=test_NBVokGjAXCxzSkUOhtioMYGEFLL
EXPO_PUBLIC_RC_ANDROID_KEY: Google Play production / sandbox key for RevenueCat.EXPO_PUBLIC_RC_TEST_KEY: Development / test store key allowing judges to simulate In-App Purchases and unlock Pro tiers without actual billing.
-
[Demo] Instant Unlock Pro (No Sandbox Store Account Needed):
- Inside the Paywall modal, tap
[Demo] Instant Unlock Proto immediately activate the CareBridge Pro tier on Expo Go, physical devices, or emulators where native Google Play / Apple StoreKit billing is unavailable. This instantly unlocks the Doctor Clinical PDF Export and 52-Week Habit Punch Card without requiring store sandbox credentials. - Evaluators can also tap
[Judge Demo] Reset to Free Planat any time to re-test the free tier restrictions.
π‘ Evaluator Tip β Instant Pro Access & Verification:
- Tap
[Demo] Instant Unlock Proinside the Paywall β The header badge immediately turns green (PRO ACTIVE), unlocking unlimited prescriptions (beyond the 2-med free limit), 90-day vitals charts, and Doctor PDF Export. - Open Paywall again and tap
[Judge Demo] Reset to Free Planβ The badge reverts to amber (UPGRADE PRO), re-enabling the 2-prescription free-tier restriction.
- Inside the Paywall modal, tap
- Modern Clinical Health Interface: Clean cards with pastel classification badges, pill doses, and one-touch "Take Dose" actions.
- Care Routine Exemption from Free Limit: Non-prescription daily care routines (e.g., hydration, morning walk, blood pressure check) are completely exempt from the 2-medication Free limit, enabling patients to track holistic daily health habits without hitting paywalls.
- Hero Dashboard: Real-time compliance score ring, contextual greeting, and today's vital summary.
- Clinical Medication Diary & Symptom Tracking: Seniors and caregivers can attach clinical notes and 1-tap symptom observations (
Taken with meal,Empty stomach,Mild dizziness,Nausea,Normal / No side effects) directly to any dose. Notes are displayed as prominent actionable pills on medication cards and persisted in local SQLite. - Visual Pill Photo Identification (Visual ID): Camera and gallery integration allowing seniors to recognize pills by sight rather than confusing generic chemical names.
- Quick Vitals Bar: Record Blood Pressure (Systolic/Diastolic), Blood Sugar, and Heart Rate directly from the home screen.
- Recurring Daily Alarms: Automatically schedules daily recurring local push notifications for each prescription's exact reminder time ("HH:mm").
- Zero-Latency Offline Triggers: Powered entirely on-device via
expo-notifications(SchedulableTriggerInputTypes.DAILY). No internet or remote push server needed. - Foreground Alert Banners: Custom notification handler ensures alerts drop down with sound even while actively using the app.
- Automatic Sync: Adding, updating, or deleting prescriptions immediately reschedules or cancels corresponding notification alarms.
- Full-Month Modal (30/31 Days): Quick month navigation with color-coded adherence indicators:
- π’ 100% Taken: All scheduled doses taken.
- π‘ Partial: Some doses missed.
- π΄ Missed: No doses taken.
- π΅ Active Selection: Currently inspected day.
- Habit Matrix Screen (
HistoryScreen.tsx): Interactive punch-card cards (MedicationPunchCard.tsx) displaying weekly compliance matrices across the year, continuous streak counters, adherence rates, and quick today check-in / delete actions with clean header alignment.
- High-Contrast Night Clock: Clean digital clock, upcoming dose countdown, and large tactile "I TOOK MY PILL" button.
- Flex Mode Awareness: Automatically pivots to dual-pane split layout when deployed on foldable devices (like Samsung Galaxy Z Fold) angled at 90 degrees or in landscape orientation.
- Intelligent Gated Voice Guidance: Integrated Text-to-Speech (
expo-speech) automatically announces upcoming medication instructions ONLY when within a Β±30-minute window of the scheduled dose time, and mutes immediately upon dose confirmation or when navigating away.
- Trend Charts with Zero-Crash Guard: Interactive Line Charts (
react-native-chart-kit) visualizing Blood Pressure, Blood Sugar, and Pulse variations over time. Includes division-by-zero chart safety with informative empty-state feedback when fewer than 2 consecutive data points are available. - Refactored A4 Clinical PDF Report: Generates a structured clinical PDF with enlarged mobile-readable typography (32px titles, 36px metric callouts, 15px base text), high-contrast table hierarchy, and print pagination rules (
page-break-inside: avoid;) preventing awkward row breaks across pages. Includes a Detailed Intake Audit with Clinical Notes & Observations (expo-print,expo-sharing) allowing physicians to evaluate real side effects alongside compliance.
- RevenueCat Integration: Native In-App Purchase paywall unlocking Unlimited Prescriptions, Multi-month PDF Exports, and Deep Analytics.
- Offline Entitlement Cache: Pro status is cached locally so patients never lose access to their critical medical tools during network outages.
- Interactive Judge Demo Controls: The Paywall modal includes a
[Demo] Instant Unlock Probypass button for testing on Expo Go / Simulators without billing accounts, alongside[Judge Demo] Reset to Free Planto test paywall triggers repeatedly without clearing app data.
- Native-Driver Animations: Fluid, lightweight 60fps micro-interactions powered strictly by React Native's built-in
AnimatedAPI withuseNativeDriver: true(zero external animation library bloat, preserving 100% Expo Go compatibility). - Spring Tab Bar Buttons: Tactile scale spring (
1.0 -> 1.06) and haptic selection feedback on tab focus without causing sibling layout reflow. - Subtle Tab Switch Transitions: Screen contents smoothly fade in and slide up (180ms ease-out) via the reusable
AnimatedScreenWrapper. - Spring Pop-in Modals & Smooth Toast: Modal cards gently pop in with scale and opacity springs (
CustomAlertModal,DoseNoteModal), and toast alerts enter and exit with smooth vertical slide and fade transitions.
CareBridge/
βββ App.tsx # App entry point, AlertProvider & Navigation
βββ index.ts # Expo root registration
βββ app.json # Expo configuration & plugins
βββ package.json # Dependencies & build scripts
βββ .env.example # Environment configuration template
βββ src/
β βββ components/ # Reusable accessible UI components
β β βββ AnimatedScreenWrapper.tsx # Reusable 60fps fade/slide screen transition wrapper
β β βββ CalendarStrip.tsx # 7-day horizontal calendar with month picker
β β βββ FullMonthCalendarModal.tsx # 30/31-day modal with compliance dots
β β βββ MedicineCard.tsx # Senior-friendly medication card with clinical note trigger
β β βββ MedicationPunchCard.tsx # Yearly adherence punch-card card with matrix grid
β β βββ DoseNoteModal.tsx # Clinical diary & 1-tap symptom observation modal
β β βββ QuickVitalsBar.tsx # 1-tap vitals log bar
β β βββ SeniorClock.tsx # High-contrast live digital clock
β β βββ CustomAlertModal.tsx # Uniform accessible modal alerts
β β βββ PaywallModal.tsx # RevenueCat subscription modal
β βββ context/
β β βββ AlertContext.tsx # Global alert state provider
β βββ database/ # Local-First SQLite Repository
β β βββ db.ts # SQLite database connection & schema
β β βββ medicineRepo.ts # Prescriptions & schedules
β β βββ logRepo.ts # Daily intake logs & adherence stats
β β βββ vitalsRepo.ts # Blood pressure, sugar, heart rate
β β βββ caregiverRepo.ts # Caregiver profile & sync
β βββ hooks/
β β βββ useMedicines.ts # Prescription data hooks
β β βββ useFlexMode.ts # Foldable hinge & orientation detection
β βββ navigation/
β β βββ AppNavigator.tsx # Bottom tab navigator with Senior Pill Badges
β βββ screens/
β β βββ MedicineManagerScreen.tsx # Main schedule & prescriptions screen
β β βββ HistoryScreen.tsx # Adherence matrix & PDF clinical export
β β βββ AnalyticsScreen.tsx # Vitals trend charts & analytics
β β βββ DeskModeScreen.tsx # Nightstand desk clock & voice dose
β β βββ EditorialHeroScreen.tsx # Onboarding & introduction
β β βββ AuthWelcomeScreen.tsx # Caregiver portal & guest sign-in
β βββ services/
β β βββ demoDataService.ts # 30-day clinical historical data seeder
β β βββ notificationService.ts # Local daily push notification scheduler
β β βββ revenuecat.ts # RevenueCat In-App Purchases & Pro state
β β βββ pdfService.ts # Clinical PDF document generator
β β βββ speechService.ts # Voice synthesis instructions
β βββ utils/
β βββ dateUtils.ts # ISO date formatting & calculation helpers
To experience CareBridge with a vibrant 30-day compliance punch-card matrix, realistic biometric trend analytics, and clinical diary notes, sign in on the welcome screen with:
- Email:
demo@gmail.com - Password:
1234(Or tap the one-touch "Demo (Evaluator Quick Access)" button under the login form to automatically seed 30 days of clinical intake logs, symptom observations, and vitals history into local SQLite).
π‘ Evaluator Tip β Instant Pro Access: To evaluate Pro features (Doctor Clinical PDF Export & 52-Week Habit Punch Card) without configuring Sandbox store accounts on Expo Go or emulators, simply open the Paywall modal and tap
[Demo] Instant Unlock Pro.
- Node.js (v18.x or later)
- npm or yarn
- Expo CLI (
npx expo) - Expo Go app on mobile (or Android/iOS emulator)
-
Clone the repository:
git clone https://github.com/PHONGUIT22/CareBridge.git cd CareBridge -
Setup environment variables:
cp .env.example .env
-
Install dependencies:
npm install
-
Start the development server:
npx expo start
-
Verify TypeScript compilation:
npx tsc --noEmit
(Must pass with 0 errors)
| Category | Library | Version | Description |
|---|---|---|---|
| Framework | Expo SDK | ~54.0.36 |
Cross-platform runtime & native APIs |
| Core | React Native | 0.81.5 |
Native mobile foundation |
| Language | TypeScript | ~5.9.2 |
Static typing & reliability |
| Local Database | expo-sqlite |
~16.0.10 |
Offline-first SQLite database |
| Notifications | expo-notifications |
~0.32.17 |
Local recurring daily dose alarms |
| Navigation | @react-navigation/* |
^7.x |
Senior-friendly tab bar navigation |
| Monetization | react-native-purchases |
^10.8.1 |
RevenueCat subscription management |
| Audio & Native | expo-speech & expo-haptics |
SDK 54 | Text-to-Speech & tactile haptics |
| Charts | react-native-chart-kit |
^7.0.2 |
SVG-based vitals analytics |
| Document Export | expo-print & expo-sharing |
SDK 54 | Clinical PDF rendering & sharing |
This project is open source and available under the MIT License.
Β© 2026 PHONGUIT22 / CareBridge Team. Built with passion for Shipathon 2026.








