Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Reflection API on.notification_failed #161

Closed
edgarhenriquez opened this Issue · 2 comments

2 participants

@edgarhenriquez

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

@ileitch
Owner

Thanks, I see the problem. I wont be able to fix this for a few days, you can downgrade to 3.3.2 until it's fixed.

@edgarhenriquez

Cool, thanks

@ileitch ileitch closed this in 469e372
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.