-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not sending FailedNotif if identifier not specified. #19
Comments
Gross. I expect this to get cleared up with #17 (synchronous |
I'd be happy just to remove the "set an identifier if not set" logic and always require it from the caller. |
I still think removing |
I do like the idea of "transparent defaults", but I do see your point as well. I wouldn't be heartbroken either way. 😉 |
When replaying notifications, should it use the same IDs or call determineIdentifier for new ones? |
at least for now, may bring this functionality back ref #19
This relates to #10, as I try to build a synchronous API around Send and FailedNotif.
To get an error from Apple, I am changing a single digit in an otherwise valid device token. I've added logging to timehop/apns.
On this push (with invalid data) nothing comes back from Apple:
That's not great, but okay. On this push, errrors are coming back from Apple, but the identifiers don't match up so FailedNotifs are never sent.
If Identifier is set, then I do see an identifier match and the error is sent via FailedNotif:
The text was updated successfully, but these errors were encountered: