Skip to content

Add PWA push notifications #21

Description

@vayungodara

Problem

Currently only in-app and email notifications exist. Mobile users miss real-time nudges for pact reminders, streak warnings, and group activity.

What to change

  • Register a service worker for push notifications
  • Implement Web Push API with VAPID keys
  • Add notification permission prompt (non-intrusive, contextual)
  • Send push notifications for: pact deadlines approaching, streak about to break, group member activity
  • Add notification preferences in user settings

Acceptance criteria

  • Service worker registered
  • Push subscription stored in Supabase
  • At least one push notification type working end-to-end
  • User can opt in/out of notifications
  • Works on mobile Chrome and Safari

Label: feature
Priority: medium

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions