虚拟 LAN 上的推送通知

发布于 2025-01-05 01:17:05 字数 54 浏览 3 评论 0原文

推送通知是否取决于运行的网络设备类型?我在虚拟 LAN 上没有收到推送通知。有人有什么想法吗?

Does Push Notification depends on the kind of network device is running on? I do not get Push Notification on virtual LAN. Anyone has any idea?

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

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

发布评论

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

评论(2

°如果伤别离去 2025-01-12 01:17:05

检查 VPN 是否阻止端口 5223,因为这是推送通知从 APNS 服务器发送到设备的端口。除此之外,如果您无法在任何其他网络上进行测试以确保其正常工作,则可能是由于证书问题或未正确注册设备令牌等原因造成的。

Check to see if the VPN is blocking port 5223 as this is the port that the push notifications are sent to the device from the APNS servers. Other than that, if you can't test on any other network to make sure it's working, it could be anything from certificate issues, to not registering the device token correctly.

二货你真萌 2025-01-12 01:17:05

推送通知存在一些例外情况。例如:

未连接到蜂窝数据(或手机信号较低甚至无信号)的 iPhone 在显示屏关闭特定时间段内时可能无法接收推送通知,因为 WiFi 通常会自动关闭以节省电量。

您的显示器是否在没有蜂窝网络访问的情况下长时间关闭?

There are some exceptions to push notifications. For example:

iPhones that are not connected to cellular data (or when the phone has low to no signal) MAY not receive push notifications when the display is off for a specific period since wifi is often automatically turned off to preserve battery.

Were your display off for significant amount of time with no cellular network access?

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