在"FCM云消息传递"中获取与推送通知相关的分析
我想知道是否将推送通知传递给映射到我的用户数据库的所有registrationId.
I want to know whether push notifications are delivered to all the registrationId mapped to my user database or not.
我有8000个用户,所有用户都有registrationId.我已经向所有人发送了通知,现在我想确定所有这些用户是否都已收到通知.
I have 8000 users and all are having registrationId. I had sent notification to all of them and now i want to determine whether all those user had received the notification or not.
因此,可以使用某种FCM网址来访问此分析.
so is there any way to access this analytics using some FCM url.
我知道我可以通过 STATISTICS
菜单并选择 FCM消息
在Google发布商中查看分析,并检查交付状态,我可以转到 FCM诊断
I am aware that i can see analytics in google publisher from STATISTICS
menu and selecting FCM messages
and to check the delivery status i can go to FCM Diagnostics
但是使用该工具确定8k用户几乎是不可能的,因此我如何获得云消息传递的分析.
but using that tool to determine 8k users is nearly impossible so how can i get the analytics of cloud messaging.
很久以前,我看到了一些链接,但忘记收藏了:(
Long back i have seen some link but forgot to bookmark :(
当前没有用于检索已发送FCM消息的传递状态的API.
There is currently no API to retrieve the delivery status for sent FCM messages.
通常,当FCM服务器成功接收到您从App Server发送的有效负载时,它应返回 success:1
响应以及 message_id
.
In general, when the FCM server successfully receives the payload you've sent from your App Server, it should return a success:1
response along with a message_id
.
If what you're aiming for is to know if the device has successfully received the message, you should implement 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.