hylee
hylee

Reputation: 11

GCM with multiple senders

GCM introduces multiple sender functionality, which allows multiple users to send push messages to the same application. Multiple users are given the same registration id.

If the number of multiple users is three - Andy, Bob and Chris - and Andy is blocked by Google from using the GCM service, is the received registration id still valid?

If the received registration id is blocked by Google, are the others (Bog and Chris) also blocked from sending push messages?

How does Google manage and block malicious users?

In addition, I'd like to know how does Google manage registration id.

Upvotes: 1

Views: 2284

Answers (1)

Eran
Eran

Reputation: 393781

If an application registers for GCM service with multiple senders (i.e. multiple Google API Project Ids), it will receive a single registration Id, which it should send to the servers of all the senders. After the registration all the senders (that were included in the registration request) can send messages to that application using the same registration Id. I assume that if Google blocks one of the senders, the others can still use that registration Id to send messages. The registration Id is not assigned to the any sender. It is assigned to a specific application on a specific device.

Upvotes: 1

Related Questions