菜鸟教程小白 发表于 2022-12-13 15:56:07

ios - iOS 推送通知的 MQTT 服务


                                            <p><p>Android 上 GCM 的低可靠性使得我已经转移到另一个服务来处理推送消息:Pushy,(<a href="https://pushy.me/" rel="noreferrer noopener nofollow">https://pushy.me/</a>)</p>

<p>该服务依赖于 MQTT,根据我的经验以及许多其他评论,实时功能集名副其实,很少有消息被丢弃。但是,在联系支持人员时,他们指出没有 iOS 集成,仅支持 Android。 </p>

<p>我进行了广泛的搜索,但没有找到合适的 iOS 替代品,它支持开箱即用的 MQTT。 </p>

<p>是否有这样的服务可以提供更可靠的推送消息? </p></p>
                                    <br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
                                            <p><p>问题在于 iOS 对后台服务的限制使得保持与 MQTT 代理的连接变得困难。 </p>

<p>Apple 有一个允许在后台运行的用例列表,该列表可以在 <a href="https://developer.apple.com/library/ios/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/BackgroundExecution/BackgroundExecution.html#//apple_ref/doc/uid/TP40007072-CH4-SW4" rel="noreferrer noopener nofollow">this document</a> 中找到。 </p>

<p>如果您的应用不符合此列表,则很可能无法获得 App Store 的批准。</p></p>
                                   
                                                <p style="font-size: 20px;">关于ios - iOS 推送通知的 MQTT 服务,我们在Stack Overflow上找到一个类似的问题:
                                                        <a href="https://stackoverflow.com/questions/36522224/" rel="noreferrer noopener nofollow" style="color: red;">
                                                                https://stackoverflow.com/questions/36522224/
                                                        </a>
                                                </p>
                                       
页: [1]
查看完整版本: ios - iOS 推送通知的 MQTT 服务