GCM sending multiple messages

558 views
Skip to first unread message

bhavinmac

unread,
Aug 18, 2012, 7:12:28 AM8/18/12
to androi...@googlegroups.com
I found this code from HERE this works fine for me when sending to one device

{ "data": { "score": "5x1", "time": "15:10" }, "registration_ids": ["DEVICE TOKEN 1"] }

but if i when i send multiple device

{ "data": { "score": "5x1", "time": "15:10" }, "registration_ids": ["DEVICE TOKEN 1", "DEVICE TOKEN 2",
" DEVICE TOKEN 3",] }

i didn't get any.

anyone else has face this same problem ? or do get solution please reply me.
Thanks in advance

Sateesh Kumar

unread,
Jan 29, 2014, 4:16:04 AM1/29/14
to androi...@googlegroups.com
Hi, are you got the result for multiple device, please replay me 

yaniv arazi

unread,
Jan 30, 2014, 2:55:28 AM1/30/14
to androi...@googlegroups.com
how many devices are we talking about ?


--
You received this message because you are subscribed to the Google Groups "android-c2dm" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-c2dm...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Sateesh Kumar

unread,
Jan 30, 2014, 4:01:23 AM1/30/14
to androi...@googlegroups.com
More then 1 device(for multiple registration Id's)


On Wed, Jan 29, 2014 at 11:55 PM, yaniv arazi <yan...@gmail.com> wrote:
Boxbe This message is eligible for Automatic Cleanup! (yan...@gmail.com) Add cleanup rule | More info

how many devices are we talking about ?
On Wed, Jan 29, 2014 at 11:16 AM, Sateesh Kumar <satee...@gmail.com> wrote:

--
You received this message because you are subscribed to the Google Groups "android-c2dm" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-c2dm...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to a topic in the Google Groups "android-c2dm" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-c2dm/yUj7OxdC6uY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to android-c2dm...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.




--
-- 
Best Regards & Thanks
sateesh

Sateesh Kumar

unread,
Jan 30, 2014, 4:04:51 AM1/30/14
to androi...@googlegroups.com
Hi, 

Do you know code about how to send each message to each registration id by using Google gcm
as
1 message ------>for 1 device
2message------->for 2 device

yaniv arazi

unread,
Jan 30, 2014, 5:32:09 AM1/30/14
to androi...@googlegroups.com
can you elaborate some more....

илья мотылев

unread,
May 7, 2014, 8:25:54 AM5/7/14
to androi...@googlegroups.com
I have same problem, but I get message only on one device
Reply all
Reply to author
Forward
0 new messages