Reputation: 977
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.
How can I configure Google Developers to understand that I want to use the same keys?
Upvotes: 4
Views: 2134
Reputation: 9225
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.
Upvotes: 2