FCM通知传递报告 [英] FCM Notification Delivery Report
问题描述
在发布消息后,我知道Google会发回一个消息ID,但并不表示消息已经发送到设备。
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.
有无论如何接收在FCM中发送通知的发送报告?
is there anyway to receive delivery reports of sent notifications in FCM?
推荐答案
是的, message_id
仅标识邮件已成功传送到FCM服务器。
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_requested
,则XMPP连接服务器在收到确认设备收到消息。
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.
这篇关于FCM通知传递报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!