Google cloud messaging Limit

心不动则不痛 提交于 2019-11-29 14:30:29
  1. Yes you can do that. While using HTTP you may have a batch size of 1000(recipients).

  2. Yes. Topic messages is PubSub method and if your clients registered to a given topic, you can sent a push notification to all of them with just one request.

  3. No limitation. Once there was a 1 million subscriber limit per app on Topic Messaging, which doesn't exist anymore.

  4. You confused the third limit:

    • The first one (HTTP) is about a single client, not all of them. So if you send more than 100 messages to a single client while he is offline, when he gets back online again, none of them will be deliver.
    • The second one (XMPP) is about all of the queue and it happens in the server side. It means you have to send no messages to GCM if there exists more than 100 unACKed messages there.

    So you have no problem considering offline users, GCM will handle to deliver message to all of them, when they come back online.

  5. No.

  6. I explained it in 4.

  7. I don't remember any more.

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