encyclopegia.org

Firebase Cloud Messaging

Firebase Cloud Messaging (FCM), formerly known as Google Cloud Messaging (GCM), is a cross-platform cloud service for messages and notifications for Android, iOS, and web applications, which as of April 2025 can be used at no cost.[src] Firebase Cloud Messaging allows third-party application developers to send notifications or messages from servers hosted by FCM to users of the platform or end users.[src] The service is provided by Firebase, a subsidiary of Google.[src] On October 21, 2014, Firebase announced it had been acquired by Google for an undisclosed amount.[src] The official Google Cloud Messaging website points to Firebase Cloud Messaging (FCM) as the new version of GCM.[src] Firebase is a mobile platform which supports users in developing mobile and web applications.[src] Firebase Cloud Messaging is one of many products which are part of the Firebase platform.[src] On the platform users can integrate and combine different Firebase features in both web and mobile applications.[src]

Firebase Cloud Messaging (FCM), formerly known as Google Cloud Messaging (GCM), is a cross-platform cloud service for messages and notifications for Android, iOS, and web applications, which as of April 2025 can be used at no cost.[src] Firebase Cloud Messaging allows third-party application developers to send notifications or messages from servers hosted by FCM to users of the platform or end users.[src] The service is provided by Firebase, a subsidiary of Google.[src] On October 21, 2014, Firebase announced it had been acquired by Google for an undisclosed amount.[src] The official Google Cloud Messaging website points to Firebase Cloud Messaging (FCM) as the new version of GCM.[src] Firebase is a mobile platform which supports users in developing mobile and web applications.[src] Firebase Cloud Messaging is one of many products which are part of the Firebase platform.[src] On the platform users can integrate and combine different Firebase features in both web and mobile applications.[src] ==History== Firebase Cloud Messaging (FCM) is part of the Firebase platform, which is a cloud service model that automates backend development or a Backend-as-a-service (BaaS).[src] After the Firebase company was acquired by Google in 2014, some Firebase platform products or technologies were integrated with Google’s existing services.[src] Google’s mobile notification service Google Cloud Messaging (GCM) was replaced by FCM in 2016.[src] On April 10, 2018, GCM was removed by Google and on May 29, 2019, the GCM server and client API were deprecated.[src] FCM has become the replacement for GCM.[src] However, FCM is compatible with existing Google Software Development Kits (SDK).[src] Firebase Cloud Messaging is a cross-platform messaging service on which the user can deliver messages without cost.[src] FCM is compatible with various platforms including Android and iOS.[src] Google launched support for web applications on October 17, 2016 including mobile web application.[src] On FCM, third party application developers can send push notifications and messages via an application programming interface (API) to end users.[src] After users enable consent to receive push notifications, users are able to receive real time information or data for syncing.[src] ==Development== FCM inherits the core infrastructure of GCM, however, it simplifies the development of the client side.[src] GCM and FCM offer encryption, push notification and messaging, native Android and iOS SDK support.[src] Both require a third-party entity between the client application and the trusted environment which may create delays in the communication path between the mobile terminal and application server.[src] FCM supports server protocols HTTP and XMPP which are identical to GCM protocols.[src] Developers are not required to write individual registrations or subscripting retrying login in the client application.[src] FCM and GCM handle messages through the same instructions, however, instead of GCM connection servers, messages are passed through FCM servers.[src] The FCM Software Development Kit (SDK) excludes writing individual registration or subscription retry logic for a shortened client development process.[src] The FCM SDK provides a new notification solution allowing developers to use the serverless Firebase Notifications on a web console, based on Firebase Analytics insights.[src] FCM enables unlimited upstream and downstream messages to be sent.[src] ==Technical details== Firebase Cloud Messaging sends notifications and messages to devices which have installed specific Firebase-enabled apps.[src] Adding support for FCM to an application requires multiple steps: add support to the Android Studio project, obtain registration tokens and implement handlers to identify message notifications.[src] The message notifications can be sent via the Firebase console with a select user segmentation option.[src] ===FCM architecture=== The FCM Architecture includes three components: FCM connection server, a Trusted environment with an application server based on HTTP or XMPP and cloud functionality, and a Client application.[src] Sending and receiving messages require a secured environment or server to build, direct and send messages, and an iOS, Android or web client application to receive messages.[src] There are two types of messages developers can send with FCM; notification messages and data messages.[src] Notification messages are messages displayed on the device by FCM and are automatically managed by the FCM SDK.[src] Data messages are processed by the client application.[src] Therefore, Notification messages are used when the developer requires FCM to handle the notification display for the client applications.[src] Data messages will be used when the developer requires the messages to be processed on the client application.[src] FCM can deliver target messages to applications via three methods: to a single device, to a device group or to devices which are subscribed to topics.[src] Developers build and send targeted messages to a select group of users on the ‘Notification composer.’ Messages sent with FCM are integrated with Google Analytics to track user conversion and engagement.[src] ===Implementation=== The implementation process has two key components.[src] First, a secure environment to send and receive messages is required for FCM or other application servers to facilitate message transaction.[src] Second, a client application of possible types, iOS, Android or web (javaScript), which is also compatible with the selected platform service is needed.[src] The implementation path for FCM is initiated with the FCM SDK setup following the instructions prescribed for the decided platform.[src] Following setup, the client application must be developed.[src] On the client app, add message handling, topic subscription logic and other required features.[src] During this step, test messages can also be sent from the Notifications composer.[src] The application server is developed next to build the sending logic.[src] The base server environment is created without code.[src] ==Additional features and tools== ===Analytics=== Firebase offers free and unrestricted analytics tools to assist the user gain insights into the 'ad click' & 'application usage' of end customers.[src] In conjunction with other Firebase features, Firebase Analytics allows the user to explore and use on a range of functionalities such as click-through rates to app crashes.[src] ===Firebase Remote Config=== It is a simple key–value store that lives in the cloud and enables the user to implement modifications which can be read by the application.[src] The Firebase Remote Config also includes an audience builder, in addition to the basic feature, which helps the user create custom audiences and perform A / B testing.[src] ===Cross-platform support=== APIs packaged into single SDKs for iOS, Android, JavaScript and C++ in conjunction with the cross-platform support provided by FCM allow the developer to expand across different platforms without infrastructure modification.[src] ===Web Push support=== Developers can implement the standard IETF Web Push APIs and being to target web browsers.[src] On Chrome, developers can send messages to Chrome on Android or Chrome pages in Mac, Windows and Linux.[src] Added features for web push support include Topic Messaging and the ability to send messages to Topic Combinations.[src] ===Topic Messaging=== Developers can send a single message to multiple devices.[src] It is a method of notification to users with common interest topics such as sports events, artists, music genres.[src] Developers need to publish a message to FCM, which is automatically delivered to devices subscribed to the select topic.[src] Subscriber count on a single topic or multiple topics are not limited on the application.[src] ===Topic Combination Messaging=== If users are subscribed to different topics, to prevent publishing the same message across different topics and users from receiving duplicate messages, developers can use the updated API.[src] Developers can set specific conditions for FCM to deliver the message only to users who meet the condition criteria.[src] ==References== ==External links== Firebase Cloud Messaging - official website Google Cloud Messaging - official website GCM and FCM Frequently Asked Questions[src]

72 sentences · 72 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Firebase Cloud Messaging." encyclopegia.org, 2025, https://encyclopegia.org/wiki/firebase-cloud-messaging. Accessed 25 November 2026.

Chicago

"Firebase Cloud Messaging." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/firebase-cloud-messaging.

APA

encyclopegia.org. (2025). Firebase Cloud Messaging. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/firebase-cloud-messaging

Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Sagittarius Star Cloud

stub · references available

Cloud Atlas

stub · references available

instant messaging

stub · references available

mushroom cloud

stub · references available

The Black Cloud

stub · references available

Off-the-Record Messaging

stub · references available

Kevin Cloud

stub · references available

Real Time Messaging Protocol

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1325093352 · 0.5 · snapshot enwiki-001325093352

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.