node-apn / node-apn

:calling: Apple Push Notification module for Node.js
MIT License
4.37k stars 681 forks source link

Is there a way to retrieve the `aps-unique-id` return header value? #733

Open daneden opened 1 month ago

daneden commented 1 month ago

As titled, I’m trying to retrieve the aps-unique-id header value returned by APNs for debugging purposes. This ID is distinct from the aps-id field which can be set using node-apn. Unfortunately it seems the library only returns notification IDs for failed requests and doesn't provide any returned information in the case of successful notification deliveries apart from device IDs.