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 128 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.
- 35,361
- 10
- 135
- 270
-
thanks AL. Where should I look for those errors? – Anatoliy 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! – Anatoliy Kukul Mar 08 '18 at 02:52
-
1Awesome! I see `not_registered_ids` array in response! Thanks! – Anatoliy Kukul Mar 08 '18 at 03:01