Inspiration
What it does
How we built it
Challenges we ran into
Accomplishments that we're proud of
What we learned
What's next for Recova
Inspiration
When I had ACL surgery, I had a Shield plan and a rider and still couldn't tell what I'd pay until the bill came. In Singapore a bill passes through MediShield Life, an Integrated Shield Plan, a rider and MediSave, and rider rules changed in April 2026.
What it does
Recova reads your Shield policy and hospital quote, works out exactly what MediShield Life, your plan, your rider and MediSave pay, and shows the cash left for you. Every fee is checked against MOH's published fee benchmarks, with options like a panel doctor or public hospital compared side by side. A privacy receipt shows exactly what left your device.
How we built it
Firebase AI Logic hybrid inference, routed by privacy: document reading runs ONLY_ON_DEVICE with Gemini Nano (Chrome and Android); the cloud (Gemini) is used only for questions and close-call procedure matching, with anonymous data through a strict privacy gate. Exact code (not AI) does the money maths using CPF/MOH rules. App Check (Fraud Defense), Firestore (MOH data), Anonymous Auth, Hosting. Web: React + TypeScript. Android: Kotlin + Compose.
Challenges
On-device token limits, single-turn prompts, and keeping extraction honest (null instead of guesses).
Accomplishments
98/100 fields read correctly on-device in Chrome; 12/12 on Android (Honor Magic 7 Pro); calculator matches on both platforms to the cent; zero personal details sent.
What we learned
Privacy-aware routing makes hybrid AI genuinely useful, not just a fallback.
Source: MOH fee benchmarks, used under the Singapore Open Data Licence. Independent tool; not affiliated with MOH, CPF or any insurer. Estimates only.
Built With
- firebase-ai-logic
- firebase-app-check
- firebase-auth
- firebase-hosting
- firestore
- gemini
- gemini-nano
- kotlin
- react
- typescript