文档说
Abandoned NotificationOutcome when the notification sent has been Abondoned
Cancelled NotificationOutcome when the user cancelled the scheduled send request
Completed NotificationOutcome when the notification sent has been recevied
DetailedStateAvailable NotificationOutcome state during DebugSend
Enqueued NotificationOutcome when notification is intially enqued
NoTargetFound NotificationOutcome when there are no targets found to send the message
Processing Processing sent notification
Unknown Unknown state when State not set
我现在关注的是Completed和NoTargetFound,但不确定它们究竟是什么意思。
如果结果是“已完成”,这是否意味着它已成功发送到FCM,但不一定是发送给手机?
FCM是否向Azure提供任何有关通知的反馈?
通知是否会导致“已完成”NotificationOutcome,但实际上由于过期的FCM令牌而无法发送?
'NoTargetFound'是否意味着在通知中心找不到设备注册?
答案 0 :(得分:0)
已完成表示系统已将消息传递给PNS,并且未从PNS收到任何错误。找不到目标意味着系统无法找到任何设备来发送发送请求的通知。例如,您可以向标签foo发送消息,但在我们的系统中没有与该标签匹配的设备。所以我们报告该消息没有找到目标。