Confused about Google GCM XMPP [closed]

风格不统一 提交于 2019-12-23 02:18:57

问题


I'm a little bit confused about how to implement XMPP communication to GCM. Should I implement a XMPP server or a XMPP client on my server?

Thank you.


回答1:


You should implement a XMPP client on your server, which will establish a connection to the GCM CCS server.

As mentioned in a comment, you only need XMPP if you wish device to cloud messaging. For regular push notifications (cloud to device messaging), the GCM HTTP endpoint is sufficient.



来源:https://stackoverflow.com/questions/24863303/confused-about-google-gcm-xmpp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!