PyAPNs2 icon indicating copy to clipboard operation
PyAPNs2 copied to clipboard

How is set apns-id?

Open memclutter opened this issue 2 years ago • 0 comments

From apple docs https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/sending_notification_requests_to_apns

apns-id A canonical UUID that is the unique ID for the notification. If an error occurs when sending the notification, APNs includes this value when reporting the error to your server. Canonical UUIDs are 32 lowercase hexadecimal digits, displayed in five groups separated by hyphens in the form 8-4-4-4-12. For example: 123e4567-e89b-12d3-a456-4266554400a0. If you omit this header, APNs creates a UUID for you and returns it in its response.

How is set this header in request?

memclutter avatar Jul 14 '22 14:07 memclutter