Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Push Notification (GCM), is there any Daily Limit?

Is there any daily limit for number push notifications (GCM) can be sent to a particular android application user?

like image 475
Sajith Amma Avatar asked Feb 22 '13 05:02

Sajith Amma


People also ask

What are the limitations of push notifications?

2. Push notification character limit - Pay attention to the message length. By default, the iOS allows a character limit anywhere between 150 – 230 characters, and the Android notification tray allows anywhere between 450 – 650 characters.

How many push notifications do people get a day?

The average person gets between 65 and 80 phone notifications a day, according to research being conducted at Duke University that was presented at a recent American Psychological Association Conference.


4 Answers

Update: GCM is deprecated, use FCM

After Google replaced C2DM with GCM, they took off all limits.

SOURCE: http://developer.android.com/google/gcm/c2dm.html#history

Prior to GCM (when it was still called C2DM): https://developers.google.com/android/c2dm/#limitations)

The only limits you run into the GCM documentation is this: http://developer.android.com/google/gcm/adv.html#lifetime

Quote from the above link:

Note: There is a limit on how many messages can be stored without collapsing. That limit is currently 100. If the limit is reached, all stored messages are discarded. Then when the device is back online, it receives a special message indicating that the limit was reached. The application can then handle the situation properly, typically by requesting a full sync.

I am not sure if this is relevant to your question though.

like image 71
Siddharth Lele Avatar answered Oct 18 '22 03:10

Siddharth Lele


There is a limit of 1000 notifications at one go.

Assume you have 50000 regids. You cannot send all 50000 together. After the first 1000, you will have to separately select the next 1000 and so on.

like image 45
doylefermi Avatar answered Oct 18 '22 03:10

doylefermi


Doesn't seem there's a set numerical limit, but there are throttling measures in place.

To prevent abuse (such as sending a flood of messages to a device) and to optimize for the overall network efficiency and battery life of devices, GCM implements throttling of messages using a token bucket scheme.

If an application collapse key exhausts its supply of available tokens, new messages are buffered in a pending queue until new tokens become available at the time of the periodic grant.

Via: https://developers.google.com/cloud-messaging/server#throttling

Edit/Update:

Just to update, the doc for throttling can now be found in the GCM Advanced Topics: http://www.androiddocs.com/google/gcm/adv.html#throttling

like image 9
boltup_im_coding Avatar answered Oct 18 '22 03:10

boltup_im_coding


There NOT any daily limit for number push notifications (GCM) but Via Official Source GCM Advanced Topics it states that

There is a limit on how many messages can be stored without collapsing. That limit is currently 100. If the limit is reached, all stored messages are discarded. Then when the device is back online, it receives a special message indicating that the limit was reached. The application can then handle the situation properly, typically by requesting a full sync.

Hope it will Help.

like image 8
Bhavesh Patadiya Avatar answered Oct 18 '22 02:10

Bhavesh Patadiya