Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to use the registration_ids to make a batch sending? #4

Open
discolojr opened this issue Jun 30, 2013 · 4 comments
Open

Comments

@discolojr
Copy link

Regarding the GCM API documentation there is a funcionallity which makes possible to send the same message til 1000 devices per round trip to the google servers.

"registration_ids"
A string array with the list of devices (registration IDs) receiving the message. It must contain at least 1 and at most 1000 registration IDs. To send a multicast message, you must use JSON. For sending a single message to a single device, you could use a JSON object with just 1 registration id, or plain text (see below). A request must include a recipient—this can be either a registration ID, an array of registration IDs, or a notification_key.

https://developer.android.com/google/gcm/gcm.html#send-msg

Thanks in advance!

@Dao007forever
Copy link
Collaborator

I'll add this functionality, if you are still interested.

@discolojr
Copy link
Author

if you could this will be really helpful.

Thanks

@Dao007forever
Copy link
Collaborator

I just dug into the code yesterday and seems like there's a lot of things need to change (basically, we will switch from plain HTTP to JSON format.)

@nfranke Could you give me write access to this repo? The commit will be quite large and I also want to host the maven jar here on github.

@nfranke
Copy link
Owner

nfranke commented Aug 26, 2013

@Dao007forever I've added you as a collaborator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants