Reputation: 8375
Am I understand correctly with these two properties?
The NotificationOutcome.Success: Return the number of success pushes to the target devices. Not the actual device who received the notification. Is the provider who received the message.
The NotificationOutcome.Failure: Return the number of failure, may be the installation failed for certain devices etc.
Are we able to check whether the notification get pushed to the APS or Firebase?
Upvotes: 1
Views: 757
Reputation: 18465
The Success
and Failure
Property in NotificationOutcome
just mean the number of messages that were processed without an error or could not be processed. In order to get the detailed info about the PNS errors when sending the notification via Azure Notification Hubs, you could refer to here.
For getting statistics about how many devices received the notifications, you could refer to the following approaches:
For FCM, you need to sign in to your Google Play Developer Console and leverage the FCM Diagnostics and Statistics feature.
For APNS, it seems that Apple does not provide the statistics about how many devices accept/decline the push notifications. You could refer to the similar issue1 and issue2.
Upvotes: 1