You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any idea how I can associate the listener result back to the notification sent?
Basically after sending multiple notifications, I want to find out how many success and failure for each of them.
The text was updated successfully, but these errors were encountered:
Unfortunately, you can't identify the invalid/failing device token by looking at the event data.
Your app has to remember which device tokens the messages were sent to, and in what order they were provided.
Then you must compare the index (position) of the failing message with the index of the device tokens you provided. For example, let's say you send a message to tokens A, B and C. FCM responds with an array of successes and/or errors. If the first item in the result array is a failure, it means that the first token you provided -- token A -- failed.
Any idea how I can associate the listener result back to the notification sent?
Basically after sending multiple notifications, I want to find out how many success and failure for each of them.
The text was updated successfully, but these errors were encountered: