djacobs / PyAPNs

Python library for interacting with the Apple Push Notification service (APNs)
http://pypi.python.org/pypi/apns/
MIT License
1.22k stars 376 forks source link

Support new command:2 message format #96

Open jimhorng opened 9 years ago

jimhorng commented 9 years ago

Apple had marked command:1 format(which PyAPNs is currently supported) as legacy and encourage to use command:2 format, see doc

djacobs commented 9 years ago

We should do this.

dexity commented 8 years ago

I think it is already fixed with https://github.com/djacobs/PyAPNs/commit/b085b4d94b9e769443b6f7783f73173822a8c474 Probably, need to update send_notification() implementation because "Simple Notification Format" is a legacy now.