Firebase Cloud Messaging ( FCM ) হল একটি ক্রস-প্ল্যাটফর্ম মেসেজিং সমাধান যা আপনাকে নির্ভরযোগ্যভাবে বার্তা পাঠাতে দেয়।
FCM ব্যবহার করে, আপনি একটি ক্লায়েন্ট অ্যাপকে সূচিত করতে পারেন যে নতুন ইমেল বা অন্যান্য ডেটা সিঙ্ক করার জন্য উপলব্ধ। আপনি ব্যবহারকারীর পুনঃনিযুক্তি এবং ধরে রাখার জন্য বিজ্ঞপ্তি বার্তা পাঠাতে পারেন। তাত্ক্ষণিক বার্তাপ্রেরণের মতো ব্যবহারের ক্ষেত্রে, একটি বার্তা একটি ক্লায়েন্ট অ্যাপে 4096 বাইট পর্যন্ত একটি পেলোড স্থানান্তর করতে পারে।
FCM এর উপাদানগুলি সম্পর্কে আরও বিশদ এবং গুরুত্বপূর্ণ তথ্যের জন্য স্থাপত্য ওভারভিউ দেখুন।
বাস্তবায়নের পথ
FCM SDK সেট আপ করুন৷
আপনার প্ল্যাটফর্মের সেটআপ নির্দেশাবলী অনুযায়ী আপনার অ্যাপে Firebase এবং FCM সেট আপ করুন।
আপনার ক্লায়েন্ট অ্যাপ্লিকেশন বিকাশ
আপনার ক্লায়েন্ট অ্যাপে বার্তা পরিচালনা, বিষয় সাবস্ক্রিপশন লজিক বা অন্যান্য ঐচ্ছিক বৈশিষ্ট্য যোগ করুন। বিকাশের সময়, আপনি সহজেই বিজ্ঞপ্তি কম্পোজার থেকে পরীক্ষামূলক বার্তা পাঠাতে পারেন।
আপনার অ্যাপ সার্ভার ডেভেলপ করুন
আপনি আপনার পাঠানোর যুক্তি তৈরি করতে Firebase Admin SDK বা সার্ভার প্রোটোকল ব্যবহার করতে চান কিনা তা স্থির করুন — প্রমাণীকরণের জন্য যুক্তি, অনুরোধ পাঠানোর জন্য, প্রতিক্রিয়াগুলি পরিচালনা করতে এবং আরও অনেক কিছু। তারপর আপনার বিশ্বস্ত পরিবেশে যুক্তি তৈরি করুন।
পরবর্তী পদক্ষেপ
Android বা iOS Quickstart নমুনা চালান। এই নমুনাগুলি আপনাকে Firebase কনসোল ব্যবহার করে একটি একক ডিভাইসে একটি পরীক্ষার বার্তা পাঠাতে কোড চালাতে এবং পর্যালোচনা করতে দেয়।
আপনার Android , Apple বা ওয়েব অ্যাপে Firebase Cloud Messaging যোগ করুন।
আপনার বিশ্বস্ত পরিবেশ সেট আপ করুন যেখানে আপনি তৈরি করবেন এবং বার্তা অনুরোধ পাঠাবেন। আপনি অ্যাডমিন SDK ব্যবহার করে প্রেরণের যুক্তি লিখতে পারেন, এবং Google দ্বারা পরিচালিত Cloud Functions for Firebase সেই কোডটি সহজেই স্থাপন করতে পারেন৷ বিকল্পভাবে, আপনি FCM সার্ভার প্রোটোকল ব্যবহার করে সার্ভার ডেভেলপমেন্ট করতে পারেন।
[[["সহজে বোঝা যায়","easyToUnderstand","thumb-up"],["আমার সমস্যার সমাধান হয়েছে","solvedMyProblem","thumb-up"],["অন্যান্য","otherUp","thumb-up"]],[["এতে আমার প্রয়োজনীয় তথ্য নেই","missingTheInformationINeed","thumb-down"],["খুব জটিল / অনেক ধাপ","tooComplicatedTooManySteps","thumb-down"],["পুরনো","outOfDate","thumb-down"],["অনুবাদ সংক্রান্ত সমস্যা","translationIssue","thumb-down"],["নমুনা / কোড সংক্রান্ত সমস্যা","samplesCodeIssue","thumb-down"],["অন্যান্য","otherDown","thumb-down"]],["2025-08-15 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["Firebase Cloud Messaging \nplat_ios plat_android plat_web plat_flutter plat_cpp plat_unity \nFirebase Cloud Messaging (FCM) is a cross-platform messaging solution that lets you reliably send\nmessages. \nUsing 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 4096 bytes to a client app.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nReady to get started? Choose your platform:\n\n[iOS+](/docs/cloud-messaging/ios/client)\n[Android](/docs/cloud-messaging/android/client)\n[Web](/docs/cloud-messaging/js/client)\n[Flutter](/docs/cloud-messaging/flutter/client)\n\n[Unity](/docs/cloud-messaging/unity/client)\n[C++](/docs/cloud-messaging/cpp/client)\n\nKey capabilities\n\n|---------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| 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](/docs/cloud-messaging/concept-options#notifications_and_data_messages). |\n| 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. |\n\nHow does it work?\n\n\u003cbr /\u003e\n\nAn FCM implementation includes two main components for\nsending and receiving:\n\n1. A trusted environment such as Cloud Functions for Firebase or an app server on which to build, target, and send messages.\n2. An Apple, Android, or web (JavaScript) client app that receives messages via the corresponding platform-specific transport service.\n\n\u003cbr /\u003e\n\nYou can send messages via\nthe [Firebase Admin SDK](/docs/cloud-messaging/server#firebase-admin-sdk-for-fcm) or the\n[FCM server protocol](/docs/cloud-messaging/server#choose).\nYou can use [the Notifications composer](//console.firebase.google.com/project/_/notification) for testing and to send marketing or engagement\nmessages using powerful built-in targeting and analytics or custom\n[imported segments](/docs/projects/import-segments).\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nSee the [architectural\noverview](/docs/cloud-messaging/fcm-architecture) for more detail and important\ninformation about the components of FCM.\n\n\u003cbr /\u003e\n\nImplementation path\n\n|---|-------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| | Set up the FCM SDK | Set up Firebase and FCM on your app according to the setup instructions for your platform. |\n| | 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](//console.firebase.google.com/project/_/notification). |\n| | Develop your app server | Decide whether you want to use the Firebase 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. |\n\nNext steps\n\n- Run the [Android](https://github.com/firebase/quickstart-android/tree/master/messaging)\n or [iOS](https://github.com/firebase/quickstart-ios/tree/master/messaging/)\n Quickstart sample. These samples let you run and review code to send a test\n message to a single device using the Firebase console.\n\n- Learn more about FCM from the\n [architecture overview](/docs/cloud-messaging/fcm-architecture),\n guides to key [FCM concepts](/docs/cloud-messaging/concept-options),\n and best practices guides for [sending messages at scale](/docs/cloud-messaging/scale-fcm)\n and [managing registration tokens](/docs/cloud-messaging/manage-tokens).\n\n- Try the tutorials for [Android](/docs/cloud-messaging/android/first-message)\n or [iOS](/docs/cloud-messaging/ios/first-message).\n\n- Add Firebase Cloud Messaging to your\n [Android](/docs/cloud-messaging/android/client),\n [Apple](/docs/cloud-messaging/ios/client),\n or [Web](/docs/cloud-messaging/js/client) app.\n\n- Set up your trusted environment where you'll build and send message requests.\n You can write sending logic using the\n [Admin SDK](/docs/cloud-messaging/server#firebase-admin-sdk-for-fcm), and\n readily deploy that code on Cloud Functions for Firebase or other cloud\n environments managed by Google.\n Alternatively, you can perform server development using the\n [FCM server protocol](/docs/cloud-messaging/server#choose)."]]