FCM Notification Delivery Report

2019-01-07 20:05发布

问题:

i know after posting message google will send back a message ID and it does not mean that the message was already delivered to the device.

is there anyway to receive delivery reports of sent notifications in FCM?

回答1:

Yes, the message_id only identifies that the message was successfully delivered to the FCM servers.

What I think you're looking for is Delivery Receipts:

Delivery Receipt: If the app server included delivery_receipt_requested in the downstream message, the XMPP connection server sends a delivery receipt when it receives confirmation that the device received the message.