Premium: save/export patient records, full plotting & save graphs, calculators save/export, PDF export, offline patient history sync, advanced tools, remove ads.
3) Payments — important policy note
Do not attempt to circumvent Google Play or Apple Store rules for in-app digital content. Both stores have specific policies about in-app purchases for digital goods. I want a legal, policy-compliant solution.
Recommended approach:
Enable in-app purchases on Play Store and App Store for users who buy inside the apps (accept the store’s commission).
Also offer subscription via website (card/UPI/web payment). Users who buy on the website can then log in to the apps and have premium unlocked. This is a common, store-compliant pattern (but developer should confirm exact App Store guidance during implementation).
Please highlight payment commissions and ask for options to minimize cost (e.g., discounts/coupons on website, annual pricing promotion) — but do not implement any mechanism that bypasses store rules for in-app purchases.
4) Alternative payment channels (to reduce commission)
Offer website checkout (card, UPI, netbanking) using a payment gateway (we’ll pick gateway later). After web payment, the backend issues the user a premium entitlement so they can log into apps and use premium features.
Consider coupon codes / promo codes issued from website/admin dashboard for special offers.
5) Authentication & account security (must)
Mandatory signup for every user using:
Mobile number (OTP verification) — primary identifier.
Optional/secondary login via Google (Gmail OAuth) — allow signing in with Google to strengthen identity and reduce piracy.
On signup, ask user to choose role: Doctor or Parent (used later for feature gating and UI).
Account security: verify mobile OTP on registration, require email or phone verified for premium activation.
Enforce single active sessions / device limits per account (configurable) to reduce account sharing.