【问题标题】:Broadcast Apple Push Notification广播苹果推送通知
【发布时间】:2011-05-19 23:47:47
【问题描述】:

是否可以在没有Urban Airship 之类的服务的情况下广播推送通知?

谢谢。

【问题讨论】:

    标签: iphone push-notification ipod-touch


    【解决方案1】:

    当然可以,但是您需要自己实现整个基础架构。

    http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Introduction/Introduction.html#//apple_ref/doc/uid/TP40008194-CH1-SW1

    编辑:您在问题中强调“广播”。 Urban Airship 没有做任何特别的事情,除了跟踪在应用程序生命周期中注册的每个设备令牌,以及跟踪 Apple 告诉它关闭的那些令牌。广播功能只是他们利用所有这些数据发送一批推送。

    这一切都可以靠您自己完成,但工作量很大。这就是存在诸如 Urban Airship 之类的服务的原因。

    【讨论】:

    • 谢谢。如果需要进行广播,我将无法跟踪每个设备令牌。
    【解决方案2】:

    使用this 和 Rails 很容易设置后端。

    【讨论】: