ruby-push-notifications icon indicating copy to clipboard operation
ruby-push-notifications copied to clipboard

Any plans to support Apples HTTP/2-based API?

Open wrtsprt opened this issue 8 years ago • 6 comments

I just realised that the use of the binary API is deprecated. Are there plans to support the HTTP/2 based API? Can we help?

wrtsprt avatar Mar 07 '17 15:03 wrtsprt

Hi @wrtsprt.

Currently there's nothing planned but I'll be more than happy to support you or anyone else contributing such improvement to the gem. Are you up for it? :)

calonso avatar Mar 08 '17 10:03 calonso

Hi @calonso,

thanks for the offer. Will verify what's possible. Probably not an urgent issue since the binary API is still working.

wrtsprt avatar Mar 10 '17 14:03 wrtsprt

It would be very nice to add that feature (although not urgent right now as you pointed) and it would be even nicer to have a new committer on board!! ;)

Hope you find it interesting and we see a pull request soon. Please let me know if you need any help on that.

Regards

calonso avatar Mar 11 '17 10:03 calonso

This one might get deprecated, Apple can now use FCM for push notifications - if this topic is only related to push notifications then this only applies to older push use-cases.

Juksefantomet avatar Sep 05 '19 11:09 Juksefantomet

The ruby-push-notifications 's apns is not use at 2021.3.21 We how to upgrade the apns to support http/2 ? Apple: The HTTP/2-based Apple Push Notification service (APNs) provider API lets you take advantage of great features, such as authentication with a JSON Web Token, improved error messaging, and per-notification feedback. If you still send push notifications with the legacy binary protocol, make sure to upgrade to the APNs provider API as soon as possible. APNs will no longer support the legacy binary protocol after March 31, 2021.

calos0921 avatar Mar 05 '21 03:03 calos0921

In case this is still an ongoing requirement, this should be possible by switching the client backend to httpx.

HoneyryderChuck avatar Dec 30 '22 22:12 HoneyryderChuck