Hi, I'm trying to use the Reflection API to handle failed GCM notifications.
For example, I want to remove the device when I receive a "NotRegistered" error from the GCM server, so I need the device_token for each failed notification.
So when a notification delivery fails, the method on.notification_failed is called but the notification has the failed field set to false and the failed_at, device_token, error_code and error_description fields set to nil. Is it a bug or just the expected behaviour?
Hi, I'm trying to use the Reflection API to handle failed GCM notifications.
For example, I want to remove the device when I receive a "NotRegistered" error from the GCM server, so I need the device_token for each failed notification.
So when a notification delivery fails, the method
on.notification_failed
is called but the notification has the failed field set to false and the failed_at, device_token, error_code and error_description fields set to nil. Is it a bug or just the expected behaviour?I'm using rapns 3.4.1
Thanks