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
We have users with a lot of devices, and we send messages to all of them. The results have error's and message ID's. But whenever there is a error I would like to know what device_id is no longer registered. Is this possible?
Hi Hjalte @hniehorster
Thanks for raising this issue and for getting involved. It's great you like the package.
At the moment, the only way to do this is to send one push at a time. We've been trying to figure out a way of returning responses that can explain partial success / partial failure, but we've not quite decided the best option yet.
We'll try and come up with a solution soon, any ideas or suggestions would be awesome.
Thanks
Andy
@AndyGaskell - last time I got my hands dirty with this package I recall that FCM didn't return errors for bad device IDs. In my apps FCM simply just pulls a new device pushID from the device itself if the current one has expired. But I don't recall being able to retrieve status per device ID. Has this changed?
Hey,
@EdwinHoksberg thanks for the Github! Really love it!
We have users with a lot of devices, and we send messages to all of them. The results have error's and message ID's. But whenever there is a error I would like to know what device_id is no longer registered. Is this possible?
Here is the part of the response.
The text was updated successfully, but these errors were encountered: