PyAPNs icon indicating copy to clipboard operation
PyAPNs copied to clipboard

Migrating to the new APNs Provider API based on the HTTP/2 network protocol

Open riegie opened this issue 9 years ago • 9 comments

Is there any interest to gradually migrate this project over to the new API? Apple is recommending developers should migrate their remote notification provider servers to the more capable and more efficient HTTP/2-based API described in APNs Provider API.

https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/APNsProviderAPI.html#//apple_ref/doc/uid/TP40008194-CH101-SW1

Or should this project use the binary API for legacy reasons?

riegie avatar Dec 22 '15 18:12 riegie

@riegie we do want to migrate to the new API! But we've not done this yet, obviously.

djacobs avatar Jan 15 '16 21:01 djacobs

This would be awesome! :+1: :smile:

tgwizard avatar Jan 20 '16 08:01 tgwizard

+1

danshev avatar Mar 17 '16 00:03 danshev

+1

dfujiwara avatar May 18 '16 18:05 dfujiwara

This project does a great job encapsulating HTTP/2 API

https://github.com/joshfriend/apns3

agandhi4 avatar May 24 '16 20:05 agandhi4

https://pypi.io/project/apns2/#description This one looks good to me as well.

djacobs avatar Jul 04 '16 11:07 djacobs

+1

captainkirkwood avatar Jul 26 '16 21:07 captainkirkwood

I'm not sure it's smart to change this project to use the new API. Not everyone can use the new API, because HTTP/2 support is far from everywhere yet. If possible, I think it is better to create a new project that calls the new API, and make it backwards compatible with this one. This will make upgrading easy, while those who have to stay on this version for legacy reasons can do so.

Erfa avatar Nov 16 '16 15:11 Erfa

Any updates?

igor-semenov avatar Mar 16 '21 07:03 igor-semenov