GCM3 & FCM is backward compatible for GCM 2

后端 未结 1 728
野的像风
野的像风 2020-12-10 21:58

Right now i am using Google Cloud Messaging 2.0 by default its using myregistration_id in GCM version.Now i want move to FirbaseCloudMessaging or GoogleC

相关标签:
1条回答
  • 2020-12-10 22:02

    The tokens are different. Firebase Cloud Messaging (GCM) use gets registration tokens from the Instance ID API which means you'll get different tokens between that and GCM2.

    You'll need to send that new token back to your server to send messages. On the server side the APIs should be fully compatible (just new endpoints for FCM)

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