Skip to content
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

Add support for iOS 10 HTTP/2 apns-collapse-id header #34

Open
rusik opened this issue Oct 5, 2016 · 5 comments
Open

Add support for iOS 10 HTTP/2 apns-collapse-id header #34

rusik opened this issue Oct 5, 2016 · 5 comments

Comments

@rusik
Copy link

rusik commented Oct 5, 2016

APNS now provides a new header apns-collapse-id to support notifications collapsing on iOS 10. Could you support this feature?

@leovandriel
Copy link
Contributor

Hi, there will probably not be any support for this in the near future. The apns-collapse-id header is part of the newer HTTP/2.0 Provider API. This API is not available in Pusher, which uses the Binary Provider API. There are currently no plans to switch to HTTP/2.0.

@apelican
Copy link

apelican commented Nov 3, 2016

That's a real bummer. The HTTP/2 API offers a ton of technical enhancements that improve reliability in high-volume situations, as well as the new Auth Key mechanism (which obviates the need for certificates!). I've removed NWPusher from my product because of this decision.

@dourgulf
Copy link

Is there any open source tools support HTTP/2 API ? @apelican

@apelican
Copy link

apelican commented Feb 13, 2017

Sorry for the delay here -- yes, I found an MIT project that I was able to utilize HTTP/2 and JWT with:
https://github.com/matthijs2704/vapor-apns

This won't be a great solution for everyone, but for my requirements this passed the test. No longer have to shake arrays of failed pushes :)

@eliburke
Copy link

In case anyone needs it, here's a CURL script to send HTTP/2 pushes
https://gist.github.com/xuwei-k/2b0001964555bedf562e03b083b0e936

You will need your push cert+key in a PEM file, as well as a token and the bundle ID.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants