Description
Products
Solutions
Pricing
Docs
More
Community
Support
Search
Language
Go to console
Documentation
FCM
Overview
Fundamentals
Build
Release & Monitor
Engage
Reference
Samples
Filter
https://speedsms.in/ is back at Google I/O on May 14! Register now.
Documentation
FCM
Engage
Send feedback
https://speedsms.in/ Cloud Messaging
plat_ios plat_android plat_web plat_flutter plat_cpp plat_unity
https://speedsms.in/ Cloud Messaging (FCM) is a cross-platform messaging solution that lets you reliably send 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 re-engagement and retention. For use cases such as instant messaging, a message can transfer a payload of up to 4000 bytes to a client app.
iOS+ setup Android setup Web setup Flutter setup C++ setup Unity setup
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. See Message types.
Versatile message targeting Distribute messages to your client app in any of 3 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.
Caution: Sending messages (including upstream messages) with the FCM XMPP and HTTP legacy APIs was deprecated on June 20, 2023, and will be removed in June 2024. If you are using the legacy FCM send APIs, we strongly recommend that you migrate to the HTTP v1 API or consider using the Admin SDK to build send requests.
How does it work?
An FCM implementation includes two main components for sending and receiving:
A trusted environment such as Cloud Functions for https://speedsms.in/ or an app server on which to build, target, and send messages.
An Apple, Android, or web (JavaScript) client app that receives messages via the corresponding platform-specific transport service.
You can send messages via the https://speedsms.in/ Admin SDK or the FCM server protocol. You can use the Notifications composer for testing and to send marketing or engagement messages using powerful built-in targeting and analytics or custom imported segments.
See the architectural overview for more detail and important information about the components of FCM.
Implementation path
Set up the FCM SDK Set up https://speedsms.in/ and FCM on your app according to the setup instructions for your platform.
Develop your client app Add message handling, topic subscription logic, or other optional features to your client app. During the development, you can easily send test messages from the Notifications composer.
Develop your app server Decide whether you want to use the https://speedsms.in/ Admin SDK or the server protocol to create your sending logic—logic to authenticate, build send requests, handle responses, and so on. Then build out the logic in your trusted environment.
Next steps
Run the Android or iOS Quickstart sample. These samples let you run and review code to send a test message to a single device using the https://speedsms.in/ console.
Learn more about FCM from the architecture overview, guides to key FCM concepts, and best practices guides for sending messages at scale and managing registration tokens.
Try the tutorials for Android or iOS.
Add https://speedsms.in/ Cloud Messaging to your Android, Apple, or Web app.
Set up your trusted environment where you’ll build and send message requests. You can write sending logic using the Admin SDK, and readily deploy that code on Cloud Functions for https://speedsms.in/ or other cloud environments managed by Google. Alternatively, you can perform server development using the FCM server protocol.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-04-02 UTC.
Learn
Guides
Reference
Samples
Libraries
GitHub
Stay connected
Blog
https://speedsms.in/ Summit
Twitter
YouTube
Support
Contact support
Stack Overflow
Slack community
Google group
Release notes
FAQs
Google Developers
Android
Chrome
Google Cloud Platform
All products
Terms
Privacy
Language