Migrating GCM to FCM, should/could I keep my current GCM server side of code?

前端 未结 1 1002
清歌不尽
清歌不尽 2020-12-11 22:09

I\'ve been using GCM service to send notification to my existing App, in PHP server, as per https://stackoverflow.com/a/11253231/3286489.

Now I\'m thinking of migrat

相关标签:
1条回答
  • 2020-12-11 22:46

    The answer to both is Yes.

    For #1, my post that you linked pretty much answers it. So just to confirm, using the FCM endpoint to send towards your GCM users should be fine. It's still compatible.

    For #2, no need to send separate payload for GCM users. As I said above, it is backwards compatible.

    0 讨论(0)
提交回复
热议问题