Android Push Notification (GCM), is there any Dail

2019-01-02 21:05发布

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

9条回答
人气声优
2楼-- · 2019-01-02 21:12

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.

查看更多
素衣白纱
3楼-- · 2019-01-02 21:14

Since GCM moved to firebase now, messaging service is totally free.

https://firebase.google.com/pricing/

查看更多
无与为乐者.
4楼-- · 2019-01-02 21:17

You can send Max 1,000 devices per SEND_ID !

Here is original source.

查看更多
时光乱了年华
5楼-- · 2019-01-02 21:19

According to the offical document, NO limit.

查看更多
柔情千种
6楼-- · 2019-01-02 21:20

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

查看更多
骚的不知所云
7楼-- · 2019-01-02 21:26

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.

查看更多
登录 后发表回答