我需要注册到APN才能在iOS中使用GCM推送通知吗? [英] Do I need to register to APNs to use GCM Push notifications in iOS?
问题描述
我的问题是如果我需要APNs证书才能使用GCM在iOS中,或者如果单独使用插件并注册到GCM就足够了?
解决方案简短回答,是的。您必须将您的APNs证书上传至GCM。查看有关通过GCM在iOS上发送通知的<85>路线视频 a>。 其他有用的链接: < href =https://developers.google.com/cloud-messaging/ios/start =nofollow noreferrer> https://developers.google.com/cloud-messaging/ios/start
可能类似的帖子: iOS支持Google Cloud Messaging
I am building a hybrid APP with cordova. I am using the phonegap-plugin-push to register to GCM so i can push notifications to Android.
My question is if i need the APNs certificates to be able to use GCM in iOS, or if with the plugin alone and the registration to GCM is enough?
Short answer, Yes. You must then upload your APNs Certificate to GCM. Check out this Route 85 video about Sending Notifications on iOS through GCM.
Other useful links for you:
Possibly similar post: iOS support for Google Cloud Messaging
这篇关于我需要注册到APN才能在iOS中使用GCM推送通知吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!