djacobs / PyAPNs

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

Apple has announced the update of their endpoints #211

Open trongnghia203 opened 4 years ago

trongnghia203 commented 4 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