简体   繁体   中英

Maximum number of push notification sent to Android device in PHP using GCM

I want to send multiple push notification to android devices at same time from PHP server to Android devices .

Currently we have to make array of Registered device id's then send array and message to https://android.googleapis.com/gcm/send (GCM)

$registrationIds = array("deviceid1","deviceid2" );

So i want to to know if i have large registered android devices than what is Maximum number of push notification sent in PHP using GCM

Currently i do not find any official source mentioning number of push notification send at a time.

any help is appreciated.

After Google moved from CD2M to GCM, they removed any limit in the number of recipients and also in the number of the messages sent per day.

There is, however, a limit in the length of the message (4K).

More on this latter, take a look here .

Or you can consider to use GCM topic messaging if you don't need to keep track of registered devices

https://developers.google.com/cloud-messaging/topic-messaging

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM