All project notes

Engineering

Firebase Cloud Messaging

Sends push messages to devices from the Presence service.

Presence outbound message → Firebase Cloud Messaging → Device delivery and token feedback.
Illustrative diagram

Presence used the Firebase Admin messaging client to deliver messages to registered devices. Its response handling could invalidate an unregistered device token, so that delivery feedback affected the tokens the service retained for future pushes.

SalesCandy Git evidence — Dodol/Presence 998c1f2, app/lib/Fcm.js.