0

I've been looking for a specific explanation on how many messages Google queues for a particular offline device before it starts dropping them? I've read that only 4 unique collapse keys can be queued for a device at a time but I just tested sending 5 messages with unique collapse keys and when i brought my device online, I got all 5. I need to know how many messages I can expect Google to hold on to and also how many unique collapse keys I can have queued at once.

Thanks a lot for your answers.

Miles Morales
  • 75
  • 1
  • 6
  • For general knowledge, google announced GCM so try using that... – eric.itzhak Jun 28 '12 at 22:18
  • The thing is I'm already working on my own server side implementation. If I could just get the stats I'm looking for I'd be all set. I really don't want to change so much of the code I've written to use GCM. Thanks for the suggestion, but I really just need to know the answer to my Q. – Miles Morales Jun 28 '12 at 22:28
  • Actually I just noticed that C2DM has been deprecated so I have no choice but to make the switch. Thanks for the tip. – Miles Morales Jun 28 '12 at 23:04

1 Answers1

1

The answer would likely be unhelpful since neither C2DM (now deprecated) or GCM will guarantee message delivery. But in any case the limit for GCM seems to be 100. You can queue upto a 100 messages for delivery without collapsing any of them. Source

FoamyGuy
  • 46,603
  • 18
  • 125
  • 156
TJ Thind
  • 784
  • 5
  • 17