Maximum number of topics on Google Cloud Messaging

后端 未结 2 563
既然无缘
既然无缘 2021-01-13 18:09

I want to avoid the complexities of managing Device Tokens at the application level

  1. One user using multiple devices on iOS and Android
  2. Multiple users
2条回答
  •  南笙
    南笙 (楼主)
    2021-01-13 18:52

    For #1:

    Nope. As per their blog last December 2015:

    We’re now happy to announce that we’re allowing unlimited free topics for your app. This means app developers can place an unlimited number of devices within each topic and create an unlimited number of topics.

    As far as I know, there still hasn't been any changes with regards to the number of topics.

    For #2:

    I think it pretty much depends on your preference. For your use case in #1, I think that Device Group Messaging is the one to use. But since you're aiming to avoid too much complication, I think what you did using Topic Messaging is pretty much it. I actually found this post that kinda discusses what to use between the two, the comments are very enlightening, if you will. :D

    Cheers! :)

提交回复
热议问题