我在天蓝色的通知中心看到了一件奇怪的事。在Azure图表上,我可以看到我收到具有“过期的通道错误”状态的APN的通知。当然,过期的通道错误并不奇怪,但是当我尝试通过endpoint获取通知遥测时。遥测的响应如下所示:
<NotificationDetails
xmlns="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect"
xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<NotificationId>#id</NotificationId>
<Location>#location</Location>
<State>Completed</State>
<EnqueueTime>2018-12-11T13:05:19Z</EnqueueTime>
<StartTime>2018-12-11T13:05:19.1134179Z</StartTime>
<EndTime>2018-12-11T13:05:19.7511857Z</EndTime>
<NotificationBody>
#some body
</NotificationBody>
<TargetPlatforms>apple</TargetPlatforms>
<ApnsOutcomeCounts>
<Outcome>
<Name>Success</Name>
<Count>1</Count>
</Outcome>
</ApnsOutcomeCounts>
</NotificationDetails>
Apns结果状态为成功,但我知道此通知无法成功 因为在发送通知之前,我以前已经卸载了该应用程序。
我的问题是:当azure门户上的图表显示有关已过期的已更改错误的通知的正确信息时,为什么通知遥测的响应指示通知成功?