How to get QoS log from APNs

I want to trace below two steps:

Step-1> Is the notification sent from my remote server to APNs.

Step-2> Is the notification recied by iOS from APNs

Replies

APNs, as a service, does not provide either of the things you're looking for.


> Is the notification sent from my remote server to APNs?


You'll have to rely on your server's logs/metrics for this information. If you server is using something that "speaks" the most recent HTTP/2-based APNs protocol, it should be able to report whether each notification was accepted or rejected by the APNs server.


> Is the notification received by iOS from APNs?


As a protocol, APNs has no mechanism for reporting this information.