تنظيم صفحاتك في مجموعات يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
أثناء تطوير مشروع C++ باستخدام Firebase، قد تصادفك مفاهيم غير مألوفة أو خاصة بـ Firebase. تهدف هذه الصفحة إلى الإجابة عن هذه الأسئلة أو توجيهك إلى مراجع لمعرفة المزيد من المعلومات.
يمكنك زيارة أحد منتدياتنا على الإنترنت إذا كانت لديك أسئلة حول موضوع غير مشمول في هذه الصفحة. سنضيف أيضًا مواضيع جديدة إلى هذه الصفحة بشكل دوري، لذا يُرجى معاودة الزيارة لمعرفة ما إذا أضفنا الموضوع الذي تريد معرفة المزيد عنه.
توافُق مكتبة Firebase مع الأنظمة الأساسية
يوضّح الجدول التالي مكتبات Firebase المتوافقة مع كل منصة. في الوقت الحالي، يهدف توفير إمكانية استخدام التطبيق على أجهزة الكمبيوتر إلى أغراض التطوير، ما يتيح لك اختبار الميزات على جهاز التطوير بدون نشرها على هاتف أو جهاز لوحي إذا كانت مجموعة الأدوات التي تستخدمها تسمح بذلك.
النظام الأساسي
Android
iOS
tvOS
macOS (إصدار تجريبي)
Windows (إصدار تجريبي)
Linux (إصدار تجريبي)
A/B Testing
الإصدار 8.3.0 والإصدارات الأحدث
Analytics
الإصدار 8.7.0 والإصدارات الأحدث
App Distribution
الإصدار 8.3.0 والإصدارات الأحدث
Authentication
الإصدار 8.3.0 والإصدارات الأحدث
Cloud Firestore
الإصدار 8.3.0 والإصدارات الأحدث
Cloud Functions
الإصدار 8.3.0 والإصدارات الأحدث
Cloud Messaging
الإصدار 8.3.0 والإصدارات الأحدث
Cloud Storage
الإصدار 8.3.0 والإصدارات الأحدث
Crashlytics
الإصدار 8.3.0 والإصدارات الأحدث
Dynamic Links
Google Mobile Ads
Realtime Database
الإصدار 8.3.0 والإصدارات الأحدث
Remote Config
الإصدار 8.3.0 والإصدارات الأحدث
خدمات Google – ملفات الإعداد
كجزء من عملية إضافة Firebase إلى مشروع C++، عليك إضافة ملف إعدادات Firebase.
للتطوير على أجهزة الكمبيوتر، عليك إنشاء إصدار مخصّص لأجهزة الكمبيوتر من ملف إعداد Firebase "المخصّص للأجهزة الجوّالة"، وذلك باتّباع الخطوات التالية:
في حال إضافة ملف google-services.json Android — عند تشغيل تطبيقك، يعثر Firebase على ملف الأجهزة الجوّالة هذا، ثم ينشئ تلقائيًا ملف إعداد Firebase لأجهزة الكمبيوتر (google-services-desktop.json).
في حال إضافة ملف Apple GoogleService-Info.plist، عليك تحويل ملف الجهاز الجوّال هذا إلى ملف إعداد Firebase متوافق مع أجهزة الكمبيوتر قبل تشغيل تطبيقك. لتحويل الملف، نفِّذ الأمر التالي من الدليل نفسه الذي يتضمّن ملف GoogleService-Info.plist:
تحتفظ Firebase بمجموعة من نماذج التشغيل السريع لواجهات برمجة التطبيقات الخاصة بها على C++. يمكنك العثور على هذه النماذج في مستودع التشغيل السريع العام على GitHub الخاص بمنصة Firebase.
يتضمّن كل دليل تشغيل سريع مشروع Xcode لنظام التشغيل iOS، ومشروع "استوديو Android"، وملف CMakeLists.txt يمكن استخدامه لإنشاء مشروع على الكمبيوتر المكتبي (إذا كان منتج Firebase نفسه يتيح استهداف أجهزة الكمبيوتر المكتبي).
تاريخ التعديل الأخير: 2025-08-16 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","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-16 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],null,["\u003cbr /\u003e\n\nAs you're developing your C++ project using Firebase, you might discover\nconcepts that are unfamiliar or specific to Firebase. This page aims to answer\nthose questions or point you to resources to learn more.\n\nFeel free to visit one of our online communities if you have questions about a\ntopic not covered on this page. We'll also update this page with new topics\nperiodically, so check back to see if we've added the topic you want to learn\nabout!\n| **Looking for how to get started with Firebase in\n| your C++ projects? Check out our [Getting Started\n| Guide](/docs/cpp/setup).**\n\nFirebase library support by platform\n\nThe following table describes which Firebase libraries are compatible with which\nplatforms. Currently desktop support is intended for development purposes --\nallowing you to test features on your development machine without deploying to a\nphone or tablet if permitted by your toolchain.\n\n| Platform | Android | iOS | tvOS | macOS *(beta)* | Windows *(beta)* | Linux *(beta)* |\n|-------------------|---------|-----|---------|----------------|------------------|----------------|\n| A/B Testing | | | v8.3.0+ | | | |\n| Analytics | | | v8.7.0+ | | | |\n| App Distribution | | | v8.3.0+ | | | |\n| Authentication | | | v8.3.0+ | | | |\n| Cloud Firestore | | | v8.3.0+ | | | |\n| Cloud Functions | | | v8.3.0+ | | | |\n| Cloud Messaging | | | v8.3.0+ | | | |\n| Cloud Storage | | | v8.3.0+ | | | |\n| Crashlytics | | | v8.3.0+ | | | |\n| Dynamic Links | | | | | | |\n| Google Mobile Ads | | | | | | |\n| Realtime Database | | | v8.3.0+ | | | |\n| Remote Config | | | v8.3.0+ | | | |\n\n| **Note:** Crashlytics can detect and symbolicate C++ crashes on iOS, tvOS, and Android. To *customize* crash reports, though, you must use the [Apple platforms (iOS+) SDK](/docs/crashlytics/customize-crash-reports?platform=ios) or the [`crashlytics.h` header for Android](/docs/crashlytics/ndk-reports#customize-ndk-crash-reports).\n\nGoogle services -- config files\n\nAs part of adding Firebase to your C++ project, you need to add a Firebase\nconfiguration file.\n\n- To ship a C++ game on a mobile platform, follow the instructions for\n [Apple platforms (iOS+)](/docs/ios/setup#add-config-file) and/or\n [Android](/docs/android/setup#add-config-file) to include the appropriate\n Firebase configuration file in your project.\n\n- To develop for desktop, you'll need to create a desktop version of the\n \"mobile\" Firebase configuration file:\n\n - If you added the Android `google-services.json` file --- When you run your\n app, Firebase locates this mobile file, then automatically generates a\n desktop Firebase config file (`google-services-desktop.json`).\n\n - If you added the Apple `GoogleService-Info.plist` file --- Before you run your\n app, you need to convert this mobile file to a desktop Firebase config file.\n To convert the file, run the following command from the same directory as\n your `GoogleService-Info.plist` file:\n\n generate_xml_from_google_services_json.py --plist -i GoogleService-Info.plist\n\n | **Note:** The desktop Firebase C++ SDK will search the current working directory first for `google-services-desktop.json` then for `google-services.json`. You can also [manually load](/docs/reference/cpp/class/firebase/app-options#classfirebase_1_1_app_options_1a54f8d0909118ba7937362f36a259d91c) a configuration or [create it in code](/docs/reference/cpp/class/firebase/app-options#constructors-and-destructors).\n\nIf you want to use multiple Firebase projects in a single app, visit the\ndocumentation for [configuring multiple\nprojects](/docs/projects/multiprojects#use_multiple_projects_in_your_application).\n| **Note:** The Firebase configuration files contain unique, but non-secret identifiers for your project. To learn more about these config files, visit [Understand Firebase Projects](/docs/projects/learn-more#config-files-objects).\n\nOpen source resources for the Firebase C++ SDK\n\nFirebase supports open source development, and we encourage contributions and\nfeedback.\n\nFirebase SDKs\n\nThe open source C++ SDKs are available in our [GitHub\nrepository](https://github.com/firebase/firebase-cpp-sdk).\n\nNote the following about how we build the C++ SDKs for Firebase:\n\n- The C++ SDKs for Windows, Linux, and macOS are entirely open source and hosted in our GitHub repo.\n- The C++ SDKs for iOS, tvOS, and Android are built on top of the open source [iOS SDKs](https://github.com/firebase/firebase-ios-sdk) and [Android SDKs](https://github.com/firebase/firebase-android-sdk).\n\nQuickstart samples\n\nFirebase maintains a collection of quickstart samples for Firebase APIs on\nC++. Find these quickstarts in our public Firebase GitHub\n[quickstart repository](//github.com/firebase/quickstart-cpp/).\n\nEach quickstart includes an Xcode project for iOS, an Android Studio project,\nand a `CMakeLists.txt` file that can be used to generate a desktop project (if\nthe Firebase product itself supports\n[desktop targets](/docs/cpp/docs/cpp/setup#libraries-desktop))."]]