What is google firebase cloud messaging and why we use it for mobile app?

Firebase Cloud Messaging (FCM) is a cross-platform messaging solution that lets you reliably deliver messages at no cost.

Using FCM, you can notify a client app that new email or other data is available to sync. You can send notification messages to drive user reengagement and retention. For use cases such as instant messaging, a message can transfer a payload of up to 4KB to a client Android app or iOS app.

Key capabilities

Send notification messages or data messages   

Send notification messages that are displayed to your user. Or send data messages and determine completely what happens in your application code.

Versatile message targeting   

Distribute messages to your client app in any of three ways — to single devices, to groups of devices, or to devices subscribed to topics.

Send messages from client apps   

Send acknowledgments, chats, and other messages from devices back to your server over FCM’s reliable and battery-efficient connection channel.

How does it work?

An FCM implementation includes two main components for sending and receiving:

  1.  A trusted environment such as Cloud Functions for Firebase or an app server on which to build, target and send messages.
  2.  An iOS, Android, or Web (JavaScript) client app that receives messages.

You can send messages via the Admin SDK or the HTTP and XMPP APIs. For testing or for sending marketing or engagement messages with powerful built-in targeting and analytics, you can also use the Notifications composer.

thanks for reading my article in next article i'll explain you how can we develop module to send notification using FCM api.

要查看或添加评论,请登录

社区洞察

其他会员也浏览了