Is there a way to inform server about bounced push notifications, so I can remove remove device tokens and reduce number of push notifications that server send.
Asked
Active
Viewed 162 times
1 Answers
1
If by bounced you mean the device intentionally rejected the notification, then no. There is currently no feature like that in FCM.
If what you mean is to identify if the token is no longer valid, then you just have to look out for NotRegistered errors.
AL.
- 36,815
- 10
- 142
- 281
-
thanks AL. Where should I look for those errors? – Tolik Kukul Mar 08 '18 at 00:16
-
In the response when sending the messages. – AL. Mar 08 '18 at 01:50
-
will check it out. thanks! – Tolik Kukul Mar 08 '18 at 02:52
-
1Awesome! I see `not_registered_ids` array in response! Thanks! – Tolik Kukul Mar 08 '18 at 03:01