djacobs / PyAPNs

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

Apple has announced the update of their endpoints #211

Open trongnghia203 opened 5 years ago

trongnghia203 commented 5 years ago

Reference: https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/sending_notification_requests_to_apns

Per the article, shall we need to adjust the code?

  1. Use HTTP/2 and TLS 1.2 or later to establish a connection between your provider server and one of the following servers:
Development server: api.sandbox.push.apple.com:443
Production server: api.push.apple.com:443