Three fixes for offline ping gaps: 1. SW silent push fallback: when a manual ping arrives as a silent push but no app window is open, show a visible notification with vibration instead of failing silently. 2. SW notificationclick: when opening a fresh window (app was closed), append ?ping=manual to the URL so the app can detect it was pinged. 3. page.tsx: on mount, detect ?ping=manual param, clean it from the URL, and auto-fire GPS once the WebSocket connection is established. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| app | ||
| components | ||
| hooks | ||
| lib | ||
| stores | ||
| types | ||
| middleware.ts | ||