Gcm, Android, Ios, Using The Same Sender Id And Server Key/authorization Key
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 big mess
Solution 1:
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.
Post a Comment for "Gcm, Android, Ios, Using The Same Sender Id And Server Key/authorization Key"