Can't send push messages using GCM

别来无恙 提交于 2019-12-11 11:54:20

问题


I have implemented GCM in my android app. I have 1461 users registered. I am using JSON method to send messages to server. When I try to send a push message I get an error like

"Number of messages on bulk (1461) exceeds maximum allowed (1000)"

Is it because GCM has a limitation for number of messages? Or is it a problem with JSON?


回答1:


@Basim Sherif you can only send 1000 user in one request, it is limitation of GCM for other user you have to send second request



来源:https://stackoverflow.com/questions/21629670/cant-send-push-messages-using-gcm

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!