Migration from GCM to FCM needed?

前端 未结 5 1809
半阙折子戏
半阙折子戏 2020-11-28 20:12

Google just announced that Google Cloud Messaging is now Firebase Cloud Messaging. What does this mean for existing users of GCM and what migration (if any) are needed?

5条回答
  •  刺人心
    刺人心 (楼主)
    2020-11-28 20:38

    Google have expanded GCM to send messages to multiple platforms beyond Android: iOS and Chrome. Firebase is known for being cross platform, so FCM now makes a natural fit in the Firebase suite of features designed for Android, iOS, and mobile web.

    FCM

    • it is advance/improved version of GCM but with new brandname Firebase
    • very easy/Simplified client development
    • Server-less console where anyone can send notifications to specific device
    • Notification payload: 4KB, Message payload: 2KB. Note that the notification includes device and app information too.
    • Stores 100 notification/messages per device if the device is offline.

提交回复
热议问题