codedge-llc / pigeon

iOS and Android push notifications for Elixir
https://hex.pm/packages/pigeon
MIT License
639 stars 143 forks source link

Add ExpiredToken as option for APNS error response #240

Closed chklch-pd closed 10 months ago

chklch-pd commented 1 year ago

Adding ExpiredToken to error.ex for APNS.

Documentation says that APNS returns "ExpiredToken", which currently will return :unknown https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/handling_notification_responses_from_apns

chklch-pd commented 1 year ago

@hpopp Any chance you can take a look at this? We need this for our development very soon

hpopp commented 10 months ago

Apologies for being extremely unresponsive. Better late than never. I'll get this out in the next RC.