GCM, Android, iOS, using the same Sender id and Server key/authorization key

后端 未结 1 982
臣服心动
臣服心动 2020-12-11 21:55

Is it possible to share the same Server key and Sender id between your Android app and your iOS app? Otherwise I have to open two XMPP connections on the server which is a b

相关标签:
1条回答
  • 2020-12-11 22:37

    You can and should use the same sender_id and server key for Android and iOS given that they are the same application. Clients can receive/send messages from/to multiple servers (Developer console projects) but this is not necessary.

    Your server makes an XMPP connection with GCM and send and receive messages via GCM. A single XMPP server can send to both Android and iOS clients.

    0 讨论(0)
提交回复
热议问题