Skip to content

Push-notification system and caregiver calendar synching #101

Description

@notzabir

1) Fully Local (no cloud)

What it is:
All schedules, reminder logic, and notifications run on-device only.

Stack

  • React/React Native notifications library (Notifee / Expo Notifications)
  • Local DB (SQLite/Realm)
  • Optional device calendar integration (Google/Apple calendar APIs via RN bridge)

Pros

  • No cloud cost
  • Works offline
  • Strong privacy/local control

Cons

  • Device-bound reliability (OS kills/background limits)
  • No true multi-device sync
  • Harder team/caregiver coordination

Best for

  • MVP, single-primary caregiver workflows, budget-first rollout

2) Local + Cloud (Hybrid) — Recommended

What it is:
Local reminders always exist; cloud (FCM) provides backup delivery, cross-device sync, and escalation.

Stack

  • Local stack from Option 1
  • Backend: FastAPI (Python), Postgres
  • Scheduler: APScheduler/Celery (+ Redis optional)
  • Push transport: Firebase Cloud Messaging (FCM)

Pros

  • Better reliability (local fallback + cloud backup)
  • Multi-device caregiver notifications
  • Enables acknowledgement tracking/escalation

Cons

  • More complexity than local-only
  • Requires backend operations/security
  • Some dependency on Firebase push infra

Best for

  • Production caregiver app needing reliability + collaboration

3) Cloud-Based (cloud as source of truth)

What it is:
Schedules/reminders live centrally; devices receive push and sync from cloud.

Stack

  • Backend-centric scheduling and state
  • FCM for push
  • Optional Cloud Functions/Firestore or self-hosted FastAPI stack

Pros

  • Central control and analytics
  • Strongest multi-user/multi-device coordination
  • Easier global updates/policy control

Cons

  • Most ops overhead/cost
  • Internet dependency
  • Highest vendor/platform coupling (unless fully self-hosted)

Best for

  • Large-scale, multi-tenant, high-coordination deployments

Quick recommendation

Start Hybrid (Option 2) in phases:

  1. Ship local reminders first
  2. Add FCM for redundancy/cross-device
  3. Add escalation + audit logs later

Shareable resources (official docs)

Notifications / mobile

Calendar integration

Firebase / FCM

Backend scheduling (Python)

React Native ecosystem

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions