Android Gcm: Same Sender Id for More Application

Android GCM: same sender id for more application

Developers are perfectly welcome (and encouraged) to use the same sender ID / API key for all of their apps.

When you send a message, you specify a registration ID, which is implicitly linked to the package name of the app + device where it was generated. Only the app which requested the registration ID will receive your message.

Source: I'm a member of the Android team at Google.

GCM Can same Server key be used with different sender IDs

You can not use same server key with different sender ID, they work as a combination. And yes they have a 1 to 1 relationship.

GCM different sender id with mismatchsender id error

I have used same sender id for both two application they have also different package name. Not required to create different sender id for different application.Also used same api key for server side

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

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.



Related Topics



Leave a reply



Submit