Commit Graph

2 Commits

Author SHA1 Message Date
481be667db Register the rider push-notification route
/utils/notifyuser has been commented out since the initial commit, so every
rider push the admin consoles have ever sent returned 404. Riders were
assigned deliveries and never told, and the failure surfaced as a generic
"notification failed" that read like a transient network fault.

Nothing else was missing. The handler, the FcmNotification model, the
Firebase service account and the Dockerfile line that copies that account
into the image were all already in place — only the route registration was
absent, which is why the gap survived this long.

Verified against Google: with the route registered, FCM authenticates the
service account and returns a specific rejection for a deliberately invalid
token rather than a 404. No push was sent to a real rider, so the final hop
to a device is still unproven.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-31 12:48:36 +05:30
Gokul
0d42ac84e1 initial commit 2026-05-25 11:52:26 +05:30