How to Determine Invalid Token Status in Notification Hub Client Responses?
Hi everyone,
I'm working with Azure Notification Hubs and I'm trying to verify the validity of device tokens after sending notifications using SendFcmV1NativeNotificationAsync
and SendAppleNativeNotificationAsync
.
Based on some forum discussions, it seems that the NotificationOutcome.Results[].Outcome
object contains a status code that indicates the result of each send operation. Specifically, a status code of 8 supposedly identifies an invalid token. However, I couldn't find this information in the official Microsoft documentation.
Can anyone confirm if the Outcome
status code 8 indeed signifies an invalid token? Additionally, are there other status codes we should be aware of for handling invalid tokens effectively?
Thank you in advance for your help!
Best regards,
1 answer
Sort by: Most helpful
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more