/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>
1.3 KiB
1.3 KiB