Can't connect to GCM using node-xmpp client

后端 未结 3 928
悲哀的现实
悲哀的现实 2021-01-22 17:23

I am attempting to run gcm server using node-xmpp, but xmpp client does not seem to open at all and closes after timeout.

var xmpp = require(\'node-xmpp-client\'         


        
3条回答
  •  醉话见心
    2021-01-22 18:17

    I have given up the hope of using node-xmpp and game smack client a try. Sadly it did not work, but I did get an error saying my project is not whitelisted. When project is whitelisted, it can receive messages from android devices, which is exactly what I need and is the sole reason why I went straight to CCS (XMPP). Without the whitelist, it is not possible to use CCS (XMPP) for sending the messages to android devices. In order to use HTTP method, the project does not need to be whitelisted, but has a limitation to being able to send messages only. I have signed up upstream GCM but have yet to receive response.

    https://services.google.com/fb/forms/gcm/

提交回复
热议问题