Add PWA support so the app can be used like a native app on iOS, including system-level push notifications.
Requirements:
- Add a
manifest.json (name, icons, display: "standalone")
- Serve over HTTPS (required for both PWA install and push)
- Implement Web Push API (
Notification, PushManager, service worker) for push notifications
- Notification permission request triggered by explicit user gesture, not on page load
- Small backend/serverless piece to store push subscriptions and send payloads via the push service
Constraints (iOS 16.4+):
- Push only works once the app is added to the Home Screen — Safari tabs cannot request push permission
- Removing the Home Screen icon kills the subscription; user must re-add and re-subscribe
- No silent/background push triggering app logic — visible notifications only
- Badge counts supported via
navigator.setAppBadge()
Acceptance criteria:
Add PWA support so the app can be used like a native app on iOS, including system-level push notifications.
Requirements:
manifest.json(name, icons,display: "standalone")Notification,PushManager, service worker) for push notificationsConstraints (iOS 16.4+):
navigator.setAppBadge()Acceptance criteria: