推送通知:api.development.push.apple.com 对比 api.sandbox.push.apple.com
Push notification: api.development.push.apple.com versus api.sandbox.push.apple.com
对于通过开发网络发送推送,为什么会遇到对这两个 api 的频繁引用:
api.development.push.apple.com:443
api.sandbox.push.apple.com:443
有什么区别吗,苹果文档说用api.sandbox.push.apple.com:443 (https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/sending_notification_requests_to_apns)
但我看到很多示例使用 api.development.push.apple.com:443。
为什么?
看起来你可以同时使用两者。
https://api.development.push.apple.com/ and https://api.sandbox.push.apple.com/ 有一个带有 SAN 的 HTTPS 证书(2019 年颁发):
- DNS 名称=api.development.push.apple.com
- DNS 名称=api.sandbox.push.apple.com
- DNS 名称=api.qa1.push.apple.com
- DNS 名称=api.qa2.push.apple.com
但是这个证书的CN是api.development.push.apple.com)
对于通过开发网络发送推送,为什么会遇到对这两个 api 的频繁引用:
api.development.push.apple.com:443 api.sandbox.push.apple.com:443
有什么区别吗,苹果文档说用api.sandbox.push.apple.com:443 (https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/sending_notification_requests_to_apns)
但我看到很多示例使用 api.development.push.apple.com:443。 为什么?
看起来你可以同时使用两者。
https://api.development.push.apple.com/ and https://api.sandbox.push.apple.com/ 有一个带有 SAN 的 HTTPS 证书(2019 年颁发):
- DNS 名称=api.development.push.apple.com
- DNS 名称=api.sandbox.push.apple.com
- DNS 名称=api.qa1.push.apple.com
- DNS 名称=api.qa2.push.apple.com
但是这个证书的CN是api.development.push.apple.com)