在不连接 APNS 的情况下向 Apple 设备发送推送通知

Send push notifications to Apple devices without connecting to APNS

我知道这个问题听起来有点奇怪,但我还是想问这个(随意投反对票):是否可以在不连接到 Apple 服务器的情况下将推送通知发送到 iOS 设备?我的想法是从我的私人服务器发送推送,而不是 Apple 的。这可能吗?

信息来自 developer.apple.com

Remote notifications—also known as push notifications—arrive from outside a device or a Mac. They originate on a remote server—the app’s provider—and are pushed to apps on devices (via the Apple Push Notification service) when there are messages to see or data to download.

不使用 Apple 推送通知系统 (apns) 就无法做到这一点。

嗯,一般的答案是 -
由于 Apple 的限制,这是不可能的。

可能 different providers to an APN,但如文档所示,必须直接连接到 APN。

有关更多信息,请查看 Apple Push Notification Service 上的 Apple 文档。

但是,我发现 this post where a user suggests using a service called Urban Airship - 我自己还没有尝试过,所以我不知道它是否会起作用以及如何起作用,但您可以检查一下:)