Protected_Sends a notification to a single recipient via Firebase Cloud Messaging
The message recipient containing contact info and FCM token
The notification message with title, body, and optional data
Promise
Dispatches a batch push notification payload to multiple devices simultaneously.
Array of target contacts containing their FCM tokens.
The Notification schema.
Response summarizing successful and failed deliveries.
Implementation to send Firebase Cloud Messaging (FCM) notifications using
firebase-admin.