-
Notifications
You must be signed in to change notification settings - Fork 339
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
Remove APNSv1 support #568
Comments
If Apple follows through with this and doesn't extend the deadline I don't mind getting rid of unused code. This is definitely a 6.0.0 change, since it will be breaking people's code. |
@aried3r Would you want to see Apple follow through prior to the removal hitting master, or would you be willing to preempt that? |
Hmm, I'm not sure where I stand on this. I guess people who got the warning already migrated or will very soon. WDYT? I'd assume reverting such a commit should be easy enough unless major refactorings happen because of it. |
I'm not sure how easy a revert would be because of the interaction with APNSv2; I suspect it might not be very easy to revert. I don't see Apple canceling their intent to shut down, though, so worst case we'd just be a little bit ahead. They already strongly encourage using the HTTP2 interface anyway, so removing the binary interface from rpush would be our way of helping with that encouragement. |
Hmm, I'd think of it as reverting a commit, but it might involve multiple commits, so maybe reverting a merge. But you're right, I assume we can remove it in the next version. Rpush 5 should continue working and most new features/bugfixes are targeting APNS2 anyway. |
Cool. I'll prep the removal later in the week. |
https://developer.apple.com/news/?id=c88acm2b
|
Seems like Apple is in fact going through with this, as per https://developer.apple.com/news/?id=uzyxiriy. So I am okay with having a 6.0.0 ready without the legacy protocol even before that date. We could cut a release with the fix for #598 before. Or is there a reason this cannot be released in a bugfix release for v5? Edit: Just saw we already merged #597. Fair enough. |
I'm in the process of cutting a 6.0 release. If anyone wants to tackle this and maybe have a look at #601 before that I'd really appreciate it :) I think @gregblake already reviewed #601, but if anyone wants to have another look, feel free to! |
@aried3r I'll see if I can knock this out today. |
The binary interface was shut down by Apple. Fixes #568.
The APNS binary interface will cease to function next month. We should remove it from rpush. I propose then renaming
APNS2
in rpush to simplyAPNS
to take its place.Any objections @aried3r ?
The text was updated successfully, but these errors were encountered: