You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a question about best practices for sending out a notification to thousands or even hundreds of thousands of users (e.g. all users of an app) and setting the badge number accordingly. I've seen one can send all registration IDs in a batch, which is cool. But I haven't seen a way to send the correct badge numbers for these recipients at the same time. The badge seems to apply to all registrationIds at the same time.
Does that mean that I have to actually call send() hundreds of thousands times, and how do the target services (GCM and APN) cope with this immense flood of data? Or is there a mechanism that would just tell the device to increase the badge number by 1? What is the best practice here?
And in the case that you actually have to call sends() so many times, is it ok to do this in one big burst, or should this be done in (queued) chunks with some delay in between the chunks?
The text was updated successfully, but these errors were encountered:
@derwaldgeist Wouldn't you usually increase the badge counter in your mobile application for most use-cases, as only the app itself will know how many "open" notifications there are for each recipient?
First off, thanks for this great package!
I have a question about best practices for sending out a notification to thousands or even hundreds of thousands of users (e.g. all users of an app) and setting the badge number accordingly. I've seen one can send all registration IDs in a batch, which is cool. But I haven't seen a way to send the correct badge numbers for these recipients at the same time. The
badge
seems to apply to all registrationIds at the same time.Does that mean that I have to actually call
send()
hundreds of thousands times, and how do the target services (GCM and APN) cope with this immense flood of data? Or is there a mechanism that would just tell the device to increase the badge number by 1? What is the best practice here?And in the case that you actually have to call
sends()
so many times, is it ok to do this in one big burst, or should this be done in (queued) chunks with some delay in between the chunks?The text was updated successfully, but these errors were encountered: