Real-time Push notifications with Firebase

前端 未结 2 1539
深忆病人
深忆病人 2020-12-17 17:43

I recently signed up to use Firebase and I can\'t seem to figure out how to push notifications to specific users.

For my use, I guess you can think of it like Facebo

相关标签:
2条回答
  • 2020-12-17 18:10

    There's a good explanation of how you can send notifications to specific users here: How to send an alert message to a special online user with firebase

    Basically you need to have each user observe a unique path, and then write data updates to the appropriate path.

    0 讨论(0)
  • 2020-12-17 18:15

    Now Firebase supports Push Notification. Google rebranded GCM to Firebase Cloud Messaging and it now offers this cross platform service. Firebase also offers notifications.

    These are the differences between these two services:

    Firebase Cloud Messaging provides a complete set of messaging capabilities through its client SDKs and HTTP and XMPP server protocols. For deployments with more complex messaging requirements, FCM is the right choice.

    Firebase Notifications is a lightweight, serverless messaging solution built on Firebase Cloud Messaging. With a user-friendly graphical console and reduced coding requirements, Firebase Notifications lets users easily send messages to reengage and retain users, foster app growth, and support marketing campaigns. If you want a more detailed comparison. Read this.

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