菜鸟教程小白 发表于 2022-12-12 11:45:28

ios - 我是否需要注册 APN 才能在 iOS 中使用 GCM 推送通知?


                                            <p><p>我正在使用cordova 构建一个混合应用程序。我正在使用 phonegap-plugin-push 注册到 GCM,以便将通知推送到 Android。</p>

<p>我的问题是我是否需要 APNs 证书才能在 iOS 中使用 GCM,或者仅使用插件并且注册到 GCM 就足够了?</p></p>
                                    <br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
                                            <p><p>简短的回答,是的。然后,您必须将您的 APNs 证书上传到 GCM。观看关于 <a href="https://www.youtube.com/watch?v=WdCXm_CroIs" rel="noreferrer noopener nofollow">Sending Notifications on iOS through GCM</a> 的 <em>Route 85</em> 视频.</p>

<p>其他对您有用的链接:</p>

<ul>
<li><p> <a href="https://developers.google.com/cloud-messaging/ios/start" rel="noreferrer noopener nofollow">https://developers.google.com/cloud-messaging/ios/start</a> </p></li>
<li><p> <a href="https://developers.google.com/cloud-messaging/ios/client" rel="noreferrer noopener nofollow">https://developers.google.com/cloud-messaging/ios/client</a> </p></li>
<li><p> <a href="https://developers.google.com/cloud-messaging/ios/certs" rel="noreferrer noopener nofollow">https://developers.google.com/cloud-messaging/ios/certs</a> </p></li>
</ul>

<p>可能类似的帖子:<a href="https://stackoverflow.com/q/15578280/4625829" rel="noreferrer noopener nofollow">iOS support for Google Cloud Messaging</a> </p></p>
                                   
                                                <p style="font-size: 20px;">关于ios - 我是否需要注册 APN 才能在 iOS 中使用 GCM 推送通知?,我们在Stack Overflow上找到一个类似的问题:
                                                        <a href="https://stackoverflow.com/questions/38503604/" rel="noreferrer noopener nofollow" style="color: red;">
                                                                https://stackoverflow.com/questions/38503604/
                                                        </a>
                                                </p>
                                       
页: [1]
查看完整版本: ios - 我是否需要注册 APN 才能在 iOS 中使用 GCM 推送通知?