Xcode 推送通知:用于生产模式的 APNS 服务器

发布于 2025-01-07 22:15:53 字数 314 浏览 3 评论 0原文

我正在实现我的第一个带有推送通知的应用程序。我已按照 Ray Wanderlich 教程< 完成了所有调试/a> 一切正常。

现在我要继续提交,我想知道我必须在生产模式下为“实时”服务器插入哪些参数,而不是

gateway.sandbox.push.apple.com 2195

希望清楚

I'm realizing my first app with push notification. I've done all the debugging following the Ray Wanderlich Tutorial
and everything works.

Now that I'm about to proceed with the submission I would like to know what parameters I have to insert for the "live" server in production mode instead of

gateway.sandbox.push.apple.com 2195

Hope to be clear

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

雨夜星沙 2025-01-14 22:15:53

我认为端口是相同的,只是主机不同,它是gateway.push.apple.com

生产环境的二进制接口可通过gateway.push.apple.com获取,端口2195;开发环境的二进制接口可通过gateway.sandbox.push.apple.com获取,端口2195。

来源

I think the port is the same, only the host is different, it's gateway.push.apple.com.

The binary interface of the production environment is available through gateway.push.apple.com, port 2195; the binary interface of the development environment is available through gateway.sandbox.push.apple.com, port 2195.

Source

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文