Expect invalid device token from Azure Notification Hub (APNS)

Mohamed Koumenji 0 Reputation points
2024-07-04T13:05:07.6833333+00:00

Hello,

I have a Node.js backend server, and I have registered iOS devices with device tokens into ANH. I want to know when I send a notification from my server to a user or multiple users through ANH (with tags), and one of the users has an invalid device token (expired or the user uninstalled the client app), what is the form of the API response body that Azure Notification Hub returns to me? because I want to know which device token exactly is invalid.

Thanks

Azure Notification Hubs
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
295 questions
0 comments No comments
{count} votes