مشروع Firebase هو الكيان ذو المستوى الأعلى لـ Firebase. في المشروع، يمكنك تسجيل تطبيقات Apple أو Android أو الويب الخاصة بك. بعد تسجيل تطبيقاتك في Firebase، يمكنك إضافة حزم Firebase SDK الخاصة بالمنتج إلى تطبيقك، مثل Analytics أو Cloud Firestore أو Crashlytics أو Remote Config.
يجب عليك تسجيل متغيرات تطبيقات Apple وAndroid وتطبيقات الويب ضمن مشروع Firebase واحد. يمكنك استخدام مشاريع Firebase متعددة لدعم بيئات متعددة، مثل التطوير والتجهيز والإنتاج.
فيما يلي بعض الموارد لمعرفة المزيد حول مشاريع Firebase:
فهم مشاريع Firebase - يقدم لمحات عامة موجزة عن العديد من المفاهيم المهمة حول مشاريع Firebase، بما في ذلك علاقتها بـ Google Cloud والتسلسل الهرمي الأساسي للمشروع وتطبيقاته وموارده.
أفضل الممارسات العامة لإعداد مشاريع Firebase — توفر أفضل الممارسات العامة وعالية المستوى لإعداد مشاريع Firebase وتسجيل تطبيقاتك مع المشروع بحيث يكون لديك سير عمل تطوير واضح يستخدم بيئات متميزة.
لاحظ أنه بالنسبة لجميع مشاريع Firebase، يضيف Firebase تلقائيًا تصنيف firebase:enabled داخل صفحة التصنيفات لمشروعك في Google Cloud Console. تعرف على المزيد حول هذه التسمية في الأسئلة الشائعة .
ما هي مؤسسة جوجل السحابية؟
تعد مؤسسة Google Cloud بمثابة حاوية لمشاريع Google Cloud (بما في ذلك مشاريع Firebase). يتيح هذا التسلسل الهرمي تنظيمًا أفضل وإدارة الوصول والمراجعة لمشروعات Google Cloud وFirebase. لمزيد من المعلومات، راجع إنشاء وإدارة المنظمات .
كيف أقوم بإضافة Firebase إلى مشروع Google Cloud موجود؟
لماذا يحمل مشروع Google Cloud الخاص بي علامة firebase:enabled ؟
في صفحة التصنيفات الخاصة بمشروعك في Google Cloud Console، قد ترى تصنيفًا لـ firebase:enabled (على وجه التحديد، KeyfirebaseValueenabled ).
أضاف Firebase هذا التصنيف تلقائيًا لأن مشروعك هو مشروع Firebase، مما يعني أن مشروعك يحتوي على تكوينات وخدمات خاصة بـ Firebase ممكنة له. تعرف على المزيد حول العلاقة بين مشاريع Firebase وGoogle Cloud .
نوصي بشدة بعدم تعديل هذه التسمية أو حذفها. يتم استخدام هذا التصنيف بواسطة Firebase وGoogle Cloud لإدراج مشاريعك في Firebase (على سبيل المثال، باستخدام نقطة نهاية REST API projects.list أو في القوائم داخل وحدة تحكم Firebase).
انتبه إلى أن إضافة هذا التصنيف يدويًا إلى قائمة تصنيفات مشروعك لا يؤدي إلى تمكين التكوينات والخدمات الخاصة بـ Firebase لمشروع Google Cloud الخاص بك. للقيام بذلك، تحتاج إلى إضافة Firebase عبر وحدة تحكم Firebase (أو، لحالات الاستخدام المتقدمة، عبر Firebase Management REST API أو Firebase CLI ).
لماذا لا يظهر مشروع Firebase الخاص بي في قائمة مشاريع Firebase الخاصة بي؟
تنطبق هذه الأسئلة الشائعة إذا كنت لا ترى مشروع Firebase الخاص بك في الأماكن التالية:
في قائمة المشاريع التي تشاهدها ضمن وحدة تحكم Firebase
في الرد من تشغيل أمر Firebase CLI firebase projects:list
جرّب خطوات استكشاف الأخطاء وإصلاحها هذه:
أولاً، حاول الوصول إلى مشروعك عن طريق زيارة عنوان URL الخاص بالمشروع مباشرةً. استخدم التنسيق التالي: https://console.firebase.google.com/project/ PROJECT-ID /overview
إذا لم تتمكن من الوصول إلى المشروع أو تلقيت أخطاء في الأذونات، فتحقق مما يلي:
تأكد من تسجيل الدخول إلى Firebase باستخدام نفس حساب Google الذي لديه حق الوصول إلى المشروع. يمكنك تسجيل الدخول والخروج من وحدة تحكم Firebase عبر الصورة الرمزية لحسابك في الزاوية العلوية اليمنى من وحدة التحكم.
تأكد من أن مشروعك يحتوي على التصنيف firebase:enabled في صفحة التصنيفات لمشروعك في Google Cloud Console. يستخدم Firebase وGoogle Cloud هذا التصنيف لإدراج مشاريع Firebase الخاصة بك. إذا كنت لا ترى هذه التسمية ولكن تم تمكين Firebase Management API لمشروعك، فقم بإضافة التسمية يدويًا (على وجه التحديد، KeyfirebaseValueenabled ).
تأكد من تعيين أحد أدوار IAM الأساسية (المالك، المحرر، العارض) أو دور يحتوي على أذونات متعلقة بـ Firebase، على سبيل المثال دور Firebase المحدد مسبقًا . يمكنك عرض دورك (أدوارك) في صفحة IAM الخاصة بـ Google Cloud Console.
إذا كان مشروعك ينتمي إلى مؤسسة Google Cloud، فقد تحتاج إلى أذونات إضافية لرؤية المشروع مدرجًا في وحدة تحكم Firebase. اتصل بالشخص الذي يدير مؤسسة Google Cloud الخاصة بك ليمنحك الدور المناسب لعرض المشروع، على سبيل المثال دور المتصفح.
إذا لم تمكنك أي من خطوات استكشاف الأخطاء وإصلاحها المذكورة أعلاه من رؤية مشروعك في قائمة مشاريع Firebase، فاتصل بدعم Firebase .
كم عدد المشاريع التي يمكنني الحصول عليها لكل حساب؟
خطة تسعير Spark - تقتصر حصة مشروعك على عدد صغير من المشاريع (عادةً حوالي 5-10).
خطة تسعير Blaze - تزداد حصة مشروعك لكل حساب Cloud Billing بشكل كبير طالما أن حساب Cloud Billing الخاص بك في وضع جيد.
نادرًا ما يشكل الحد الأقصى لحصة المشروع مصدر قلق لمعظم المطورين، ولكن إذا لزم الأمر، يمكنك طلب زيادة في حصة مشروعك .
لاحظ أن الحذف الكامل للمشروع يتطلب 30 يومًا ويتم احتسابه ضمن حصتك حتى يتم حذفه بالكامل.
ما عدد تطبيقات Firebase التي يمكنني الحصول عليها في مشروع Firebase؟
مشروع Firebase عبارة عن حاوية لتطبيقات Firebase عبر Apple وAndroid والويب. يقيد Firebase العدد الإجمالي لتطبيقات Firebase ضمن مشروع Firebase إلى 30.
بعد هذا الرقم، يبدأ الأداء في التدهور (خاصة بالنسبة لبرنامج Google Analytics)، وفي النهاية، عند عدد أكبر من التطبيقات، تتوقف بعض وظائف المنتج عن العمل. بالإضافة إلى ذلك، إذا كنت تستخدم تسجيل الدخول بحساب Google كموفر مصادقة، فسيتم إنشاء معرف عميل OAuth 2.0 الأساسي لكل تطبيق في مشروعك. يوجد حد يبلغ حوالي 30 معرفًا للعميل يمكن إنشاؤها ضمن مشروع واحد.
يجب عليك التأكد من أن جميع تطبيقات Firebase ضمن مشروع Firebase واحد هي متغيرات النظام الأساسي لنفس التطبيق من منظور المستخدم النهائي. على سبيل المثال، إذا قمت بتطوير تطبيق تسمية أولية، فيجب أن يكون لكل تطبيق يحمل علامة مستقلة مشروع Firebase الخاص به، ولكن يمكن أن تكون إصدارات Apple وAndroid من تلك التسمية في نفس المشروع. اقرأ المزيد من الإرشادات التفصيلية في أفضل الممارسات العامة لإعداد مشروعات Firebase .
في الحالات النادرة، يتطلب مشروعك أكثر من 30 تطبيقًا، يمكنك طلب زيادة حد التطبيق. يجب أن يكون مشروعك مدرجًا في خطة تسعير Blaze لتقديم هذا الطلب. تفضل بزيارة Google Cloud Console لتقديم طلبك وتقييمه. تعرف على المزيد حول إدارة الحصص في وثائق Google Cloud.
ماذا يحدث إذا قمت بوضع علامة على مشروعي كبيئة "إنتاج"؟
في وحدة تحكم Firebase، يمكنك وضع علامة على مشاريع Firebase الخاصة بك بنوع البيئة الخاصة بها، إما كبيئات إنتاج أو بيئات غير محددة (غير منتجة).
إن وضع علامة على مشروعك كنوع بيئة ليس له أي تأثير على كيفية عمل مشروع Firebase أو ميزاته. ومع ذلك، يمكن أن تساعدك العلامات أنت وفريقك في إدارة مشاريع Firebase المتنوعة الخاصة بك لدورة حياة التطبيق.
إذا قمت بوضع علامة على مشروعك كبيئة إنتاج، فإننا نضيف علامة Prod ذات الألوان الزاهية إلى المشروع في وحدة تحكم Firebase، لتذكيرك بأن أي تغييرات قد تؤثر على تطبيقات الإنتاج المرتبطة بك. في المستقبل، قد نضيف المزيد من الميزات والضمانات لمشاريع Firebase التي تم وضع علامة عليها كبيئات إنتاج.
لتغيير نوع البيئة لمشروع Firebase الخاص بك، انتقل إلى settingsإعدادات المشروع > عام ، ثم في بطاقة مشروعك ضمن البيئة ، انقر فوق edit لتغيير نوع البيئة.
أين يمكنني العثور على معرف التطبيق لتطبيق Firebase الخاص بي؟
في وحدة تحكم Firebase، انتقل إلى settingsإعدادات المشروع . قم بالتمرير لأسفل إلى بطاقة تطبيقاتك ، ثم انقر فوق تطبيق Firebase المطلوب لعرض معلومات التطبيق، بما في ذلك معرف التطبيق الخاص به.
أي من أدوار Firebase التالية: المالك أو مسؤول Firebase و
أي من مستويات الوصول إلى Google Play التالية: مالك الحساب أو المشرف
لربط تطبيق AdMob ، يجب أن تكون مالكًا لمشروع Firebase ومشرفًا في AdMob.
لربط حسابك في AdWords ، يجب أن تكون مالكًا لمشروع Firebase ومسؤولًا في AdWords.
لربط مشروع BigQuery الخاص بك، يجب أن تكون مالك مشروع Firebase.
ما هي الإشعارات مفتوحة المصدر التي يجب أن أدرجها في تطبيقي؟
على منصات Apple، تحتوي حجرة Firebase على ملف إشعارات يتضمن الإدخالات ذات الصلة. يحتوي Firebase Android SDK على Activity مساعد لعرض معلومات الترخيص.
الأذونات والوصول إلى مشاريع Firebase
كيف أقوم بتعيين دور لأحد أعضاء المشروع، مثل دور المالك؟
لإدارة الدور (الأدوار) المعين لكل عضو في المشروع، يجب أن تكون مالكًا لمشروع Firebase (أو يتم تعيين دور لك بإذن resourcemanager.projects.setIamPolicy ).
فيما يلي الأماكن التي يمكنك من خلالها تعيين الأدوار وإدارتها:
توفر Google Cloud Console مجموعة واسعة من الأدوات لتعيين الأدوار لأعضاء المشروع في صفحة IAM . في Cloud Console، يمكنك أيضًا إنشاء أدوار مخصصة وإدارتها، بالإضافة إلى منح حسابات الخدمة حق الوصول إلى مشروعك.
لاحظ أنه في Google Cloud Console، يُطلق على أعضاء المشروع اسم المديرين .
إذا لم يعد مالك مشروعك قادرًا على أداء مهام المالك (على سبيل المثال، ترك الشخص شركتك) ولا تتم إدارة مشروعك عبر مؤسسة Google Cloud (راجع الفقرة التالية)، فيمكنك الاتصال بدعم Firebase للحصول على تم تعيين مالك مؤقت.
لاحظ أنه إذا كان مشروع Firebase جزءًا من مؤسسة Google Cloud، فقد لا يكون له مالك. إذا لم تتمكن من العثور على مالك لمشروع Firebase الخاص بك، فاتصل بالشخص الذي يدير مؤسسة Google Cloud الخاصة بك لتعيين مالك للمشروع.
كيف يمكنني العثور على مالك مشروع Firebase؟
يمكنك عرض أعضاء المشروع وأدوارهم في الأماكن التالية:
إذا كان لديك حق الوصول إلى المشروع في وحدة تحكم Firebase، فيمكنك عرض قائمة أعضاء المشروع، بما في ذلك المالكين، في صفحة المستخدمين والأذونات في وحدة تحكم Firebase.
إذا لم يكن لديك حق الوصول إلى المشروع في وحدة تحكم Firebase، فتحقق مما إذا كان لديك حق الوصول إلى المشروع في Google Cloud Console. يمكنك عرض قائمة أعضاء المشروع، بما في ذلك المالكين، في صفحة IAM الخاصة بـ Google Cloud Console.
إذا لم يعد مالك مشروعك قادرًا على أداء مهام المالك (على سبيل المثال، ترك الشخص شركتك) ولا تتم إدارة مشروعك عبر مؤسسة Google Cloud (راجع الفقرة التالية)، فيمكنك الاتصال بدعم Firebase للحصول على تم تعيين مالك مؤقت.
لاحظ أنه إذا كان مشروع Firebase جزءًا من مؤسسة Google Cloud، فقد لا يكون له مالك. وبدلاً من ذلك، يمكن للشخص الذي يدير مؤسسة Google Cloud الخاصة بك تنفيذ العديد من المهام التي يمكن للمالك القيام بها. ومع ذلك، لتنفيذ العديد من المهام الخاصة بالمالك (مثل تعيين الأدوار أو إدارة خصائص Google Analytics)، قد يحتاج المسؤول إلى تعيين دور المالك الفعلي لنفسه لتنفيذ هذه المهام. إذا لم تتمكن من العثور على مالك لمشروع Firebase الخاص بك، فاتصل بالشخص الذي يدير مؤسسة Google Cloud الخاصة بك لتعيين مالك للمشروع.
لماذا أو متى يجب علي تعيين دور المالك لأحد أعضاء المشروع؟
لضمان الإدارة السليمة لمشروع Firebase، يجب أن يكون له مالك . مالك المشروع هو الشخص الذي يمكنه تنفيذ العديد من الإجراءات الإدارية المهمة (مثل تعيين الأدوار وإدارة خصائص Google Analytics)، ويمكن لدعم Firebase تلبية الطلبات الإدارية فقط من مالكي المشروع الموضحين.
بعد إعداد المالك (المالكين) لمشروع Firebase، من المهم الحفاظ على تحديث هذه المهام.
لاحظ أنه إذا كان مشروع Firebase جزءًا من مؤسسة Google Cloud، فيمكن للشخص الذي يدير مؤسسة Google Cloud الخاصة بك تنفيذ العديد من المهام التي يمكن للمالك القيام بها. ومع ذلك، بالنسبة للعديد من المهام الخاصة بالمالك (مثل تعيين الأدوار أو إدارة خصائص Google Analytics)، قد يحتاج المسؤول إلى تعيين دور المالك الفعلي لنفسه لتنفيذ هذه المهام.
لا أعتقد أن لدي مشروع Firebase، لكني تلقيت بريدًا إلكترونيًا حول أحد المشروعات. كيف يمكنني الوصول إلى هذا المشروع؟
يجب أن يحتوي البريد الإلكتروني الذي تلقيته على رابط لفتح مشروع Firebase الخاص بك. يجب أن يؤدي النقر على الرابط الموجود في البريد الإلكتروني إلى فتح المشروع في وحدة تحكم Firebase.
إذا لم تتمكن من فتح المشروع في الرابط، فتأكد من تسجيل الدخول إلى Firebase باستخدام حساب Google نفسه الذي تلقى البريد الإلكتروني حول المشروع. يمكنك تسجيل الدخول والخروج من وحدة تحكم Firebase عبر الصورة الرمزية لحسابك في الزاوية العلوية اليمنى من وحدة التحكم.
لاحظ أنه إذا كنت مشرفًا لمؤسسة Google Cloud، فقد يتم إعلامك بالتغييرات التي تطرأ على مشاريع Firebase داخل مؤسستك. ومع ذلك، قد لا يكون لديك الأذونات الكافية لفتح مشروع Firebase. في هذه الحالات، يكون الحل الأبسط هو تعيين دور المالك الفعلي لنفسك لفتح المشروع وتنفيذ الإجراءات المطلوبة. تعرف على المزيد حول سبب ووقت تعيين دور المالك .
المنصات والأطر
تفضل بزيارة صفحات استكشاف الأخطاء وإصلاحها والأسئلة الشائعة الخاصة بالنظام الأساسي للحصول على نصائح وإجابات مفيدة لمزيد من الأسئلة الشائعة.
ما هي المتصفحات المدعومة للوصول إلى وحدة تحكم Firebase؟
يمكن الوصول إلى وحدة تحكم Firebase من الإصدارات الحديثة من متصفحات سطح المكتب الشائعة مثل Chrome وFirefox وSafari وEdge. متصفحات الجوال غير مدعومة بشكل كامل حاليًا.
يمكنني تحميل وحدة تحكم Firebase، ولكن لماذا لا يمكنني العثور على مشروع Firebase الخاص بي أو الوصول إليه؟
تنطبق هذه الأسئلة الشائعة إذا كنت تواجه أيًا من المشكلات التالية:
تعرض وحدة تحكم Firebase صفحة خطأ تفيد بأن مشروعك قد لا يكون موجودًا أو أنه لا يمكنك الوصول إلى المشروع.
لا تعرض وحدة تحكم Firebase مشروعك حتى عند إدخال معرف المشروع أو اسم المشروع في حقل البحث بوحدة التحكم.
جرّب خطوات استكشاف الأخطاء وإصلاحها هذه:
أولاً، حاول الوصول إلى مشروعك عن طريق زيارة عنوان URL الخاص بالمشروع مباشرةً. استخدم التنسيق التالي: https://console.firebase.google.com/project/ PROJECT-ID /overview
إذا كنت لا تزال غير قادر على الوصول إلى المشروع أو تلقي أخطاء الأذونات، فتحقق مما يلي:
تأكد من تسجيل الدخول إلى Firebase باستخدام نفس حساب Google الذي لديه حق الوصول إلى المشروع. يمكنك تسجيل الدخول والخروج من وحدة تحكم Firebase عبر الصورة الرمزية لحسابك في الزاوية العلوية اليمنى من وحدة التحكم.
تأكد من تعيين أحد أدوار IAM الأساسية (المالك، المحرر، العارض) أو دور يحتوي على أذونات متعلقة بـ Firebase، على سبيل المثال دور Firebase المحدد مسبقًا . يمكنك عرض دورك (أدوارك) في صفحة IAM الخاصة بـ Google Cloud Console.
إذا كان مشروعك ينتمي إلى مؤسسة Google Cloud، فقد تحتاج إلى أذونات إضافية لرؤية المشروع مدرجًا في وحدة تحكم Firebase. اتصل بالشخص الذي يدير مؤسسة Google Cloud الخاصة بك ليمنحك الدور المناسب لعرض المشروع، على سبيل المثال دور المتصفح.
إذا لم تمكنك أي من خطوات استكشاف الأخطاء وإصلاحها المذكورة أعلاه من العثور على مشروعك أو الوصول إليه، فاتصل بدعم Firebase .
لماذا لا يتم تحميل وحدة تحكم Firebase بالنسبة لي؟
تنطبق هذه الأسئلة الشائعة إذا كنت تواجه أيًا من المشكلات التالية:
لا تنتهي الصفحة في وحدة تحكم Firebase مطلقًا من التحميل.
لا يتم تحميل البيانات الموجودة داخل الصفحة كما هو متوقع.
تتلقى رسائل خطأ في المتصفح عند تحميل وحدة تحكم Firebase.
يمكن لمالك المشروع إضافة أعضاء آخرين إلى المشروع، وإعداد عمليات التكامل (ربط المشروع بخدمات مثل BigQuery أو Slack)، كما يتمتع بحق الوصول الكامل لتحرير المشروع.
يتمتع محرر المشروع بحق الوصول الكامل لتحرير المشروع.
يمتلك عارض المشروع حق الوصول للقراءة فقط للمشروع. لاحظ أن وحدة تحكم Firebase لا تقوم حاليًا بإخفاء/تعطيل عناصر تحكم واجهة المستخدم الخاصة بالتحرير من عارضي المشروع، ولكن ستفشل هذه العمليات بالنسبة لأعضاء المشروع الذين تم تعيين دور العارض لهم.
يدعم Firebase أيضًا:
أدوار Firebase المحددة مسبقًا - أدوار منسقة خاصة بـ Firebase تتيح التحكم في الوصول بشكل أكثر دقة من الأدوار الأساسية للمالك والمحرر والعارض.
الأدوار المخصصة — أدوار IAM مخصصة بالكامل تقوم بإنشائها لتخصيص مجموعة من الأذونات التي تلبي المتطلبات المحددة لمؤسستك.
التسعير
ما هي المنتجات التي يتم دفعها؟ والتي هي بلا تكلفة؟
منتجات البنية التحتية المدفوعة لـ Firebase هي قاعدة بيانات Realtime، والتخزين السحابي لـ Firebase، والوظائف السحابية، والاستضافة، ومختبر الاختبار، ومصادقة الهاتف. نحن نقدم طبقة مجانية لجميع هذه الميزات.
يحتوي Firebase أيضًا على العديد من المنتجات المجانية: التحليلات، والمراسلة السحابية، وملحن الإشعارات، والتكوين عن بعد، وفهرسة التطبيقات، والارتباطات الديناميكية، وإعداد تقارير الأعطال. يمكنك استخدام كمية غير محدودة من أي من هذه المنتجات في جميع الخطط، بما في ذلك خطة Spark المجانية. بالإضافة إلى ذلك، فإن جميع ميزات المصادقة بخلاف مصادقة الهاتف مجانية.
هل يقدم Firebase أرصدة تجريبية مجانية للمنتجات المدفوعة؟
يمكن استخدام خدمات Firebase المدفوعة ضمن الإصدار التجريبي المجاني من Google Cloud . يمكن لمستخدمي Google Cloud وFirebase الجدد الاستفادة من فترة تجريبية مدتها 90 يومًا تتضمن 300 دولار أمريكي من أرصدة الفوترة السحابية المجانية لاستكشاف وتقييم منتجات وخدمات Google Cloud وFirebase.
خلال فترة الإصدار التجريبي المجاني من Google Cloud، سيتم تزويدك بحساب فوترة Cloud تجريبي مجاني. سيكون أي مشروع Firebase يستخدم حساب الفوترة هذا مدرجًا في خطة تسعير Blaze خلال الفترة التجريبية المجانية.
لا تقلق، فإن إعداد حساب الفوترة السحابية التجريبي المجاني هذا لا يمكننا من تحصيل الرسوم منك. لن يتم تحصيل رسوم منك إلا إذا قمت بتمكين الفوترة بشكل صريح عن طريق ترقية حساب الفوترة السحابية للتجربة المجانية إلى حساب مدفوع. يمكنك الترقية إلى حساب مدفوع في أي وقت أثناء الفترة التجريبية. بعد الترقية، لا يزال بإمكانك استخدام أي أرصدة متبقية (خلال فترة 90 يومًا).
بمجرد انتهاء الفترة التجريبية المجانية، ستحتاج إما إلى الرجوع إلى إصدار سابق من مشروعك إلى خطة تسعير Spark أو إعداد خطة تسعير Blaze في وحدة تحكم Firebase لمواصلة استخدام مشروع Firebase الخاص بك.
تعد خطة Spark الخاصة بنا مكانًا رائعًا لتطوير تطبيقك دون أي تكلفة. يمكنك الحصول على جميع ميزات Firebase المجانية (Analytics، ومؤلف الإشعارات، وCrashlytics، وما إلى ذلك) وكميات كبيرة من ميزات البنية التحتية المدفوعة لدينا. ومع ذلك، إذا تجاوزت موارد خطة Spark الخاصة بك في شهر تقويمي واحد، فسيتم إيقاف تطبيقك لبقية ذلك الشهر. بالإضافة إلى ذلك، لا تتوفر ميزات Google Cloud عند استخدام خطة Spark.
خطة التسعير الحريق
تم تصميم خطة Blaze الخاصة بنا لتطبيقات الإنتاج. تسمح لك خطة Blaze أيضًا بتوسيع تطبيقك بميزات Google Cloud المدفوعة. أنت تدفع فقط مقابل الموارد التي تستهلكها، مما يسمح لك بالتوسع حسب الطلب. نحن نسعى جاهدين لجعل أسعار خطة Blaze الخاصة بنا تنافسية مع موفري الخدمات السحابية الرائدين في الصناعة.
كيف يمكنني مراقبة استخدامي وفواتيرتي؟
يمكنك تتبع استخدامك لموارد المشروع في وحدة تحكم Firebase على أي من لوحات المعلومات التالية:
في يناير 2020، تمت إزالة خطة تسعير Flame (25 دولارًا شهريًا من الحصة الإضافية) كخيار لعمليات الاشتراك الجديدة. تم منح مستخدمي الخطة الحاليين فترة سماح لترحيل مشاريعهم من خطة Flame. في فبراير 2022، تم تخفيض المشاريع المتبقية في خطة تسعير Flame إلى خطة تسعير Spark. وفقاً لذلك،
لم يعد بإمكان مشاريع خطة Spark and Blaze الحالية وأي مشاريع جديدة التبديل إلى خطة Flame أو الاشتراك فيها.
إذا قمت بنقل مشروع خطة Flame موجود إلى خطة تسعير مختلفة، فلن يتمكن المشروع من العودة إلى خطة Flame.
يمكن ترقية المشاريع التي تم تخفيض رتبتها إلى خطة Spark إلى خطة Blaze لاستئناف الخدمات الإضافية المدفوعة.
هل تريد التعرف على خطط التسعير الأخرى التي تقدمها Firebase؟ تفضل بزيارة صفحة تسعير Firebase الخاصة بنا! إذا كنت ترغب في بدء نقل أي مشاريع حالية إلى خطة تسعير أخرى، فيمكنك القيام بذلك في وحدة تحكم Firebase لمشروعك.
أسئلة متكررة إضافية حول التقاعد في خطة Flame
لدي مشروع أو عملية أو نموذج عمل يعتمد على تكلفة Firebase ثابتة. ماذا علي أن أفعل؟
هل يمكنني منحي وصولًا خاصًا لإنشاء مشاريع خطة Flame جديدة؟
لا، لا يوفر Firebase وصولاً خاصًا للمشاريع للتبديل إلى خطة Flame أو الاشتراك فيها.
لقد قمت بتغيير مشروع خطة Flame الخاصة بي إلى خطة تسعير مختلفة. كيف يمكنني تغييره مرة أخرى؟
لم يعد التبديل إلى خطة Flame ممكنًا. للوصول إلى الخدمات التي تقدمها خطة Flame، تأكد من أنك تستخدم خطة تسعير Blaze، وفكر في إعداد تنبيهات الميزانية لمشروعك.
تم تحويل مشروعي تلقائيًا إلى خطة تسعير مختلفة كجزء من إيقاف خطة Flame. ماذا علي أن أفعل؟
إذا كان مشروعك يتطلب حصة إضافية تتجاوز ما توفره خطة Spark، فستحتاج إلى ترقية مشروعك إلى خطة تسعير Blaze.
لماذا تم إيقاف خطة Flame؟
على مر السنين، شهدنا انخفاضًا في استخدام خطة Flame، ومعظم المشاريع التي تستخدم الخطة لا تستهلك قيمتها الكاملة. لا يعد الحفاظ على خطة التسعير هذه فعالاً من حيث التكلفة بشكل عام، ونشعر أنه يمكننا خدمة الجميع بشكل أفضل إذا تم توجيه الموارد إلى مبادرات Firebase الأخرى.
كيف يختلف الاستخدام بدون تكلفة في خطة Blaze عن الاستخدام بدون تكلفة في خطة Spark؟
يتم حساب الاستخدام بدون تكلفة في خطة Blaze يوميًا. تختلف حدود الاستخدام أيضًا عن خطة Spark للوظائف السحابية ومصادقة الهاتف ومعمل الاختبار.
بالنسبة لوظائف السحابة، يتم حساب الاستخدام بدون تكلفة في خطة Blaze على مستوى حساب الفوترة السحابية، وليس على مستوى المشروع وله الحدود التالية:
2 مليون دعوة/شهر
400 كيلو جيجا بايت في الثانية/الشهر
200 ألف وحدة المعالجة المركزية في الثانية/الشهر
5 جيجا بايت من خروج الشبكات / الشهر
بالنسبة لمصادقة الهاتف، يتم حساب الاستخدام المجاني لخطة Blaze شهريًا.
بالنسبة إلى Test Lab، فإن الاستخدام بدون تكلفة في خطة Blaze له الحدود التالية:
30 دقيقة على الأجهزة الفعلية/اليوم
60 دقيقة على الأجهزة الافتراضية/اليوم
هل تتم إعادة تعيين حصة الاستخدام بدون تكلفة عندما أقوم بالتغيير من خطة Spark إلى خطة Blaze؟
يتم تضمين الاستخدام بدون تكلفة من خطة Spark في خطة Blaze. لا تتم إعادة ضبط الاستخدام بدون تكلفة عند الانتقال إلى خطة Blaze.
ما هو "الاتصال المتزامن بقاعدة البيانات"؟
يعادل الاتصال المتزامن جهازًا محمولاً واحدًا أو علامة تبويب متصفح أو تطبيق خادم متصل بقاعدة البيانات. يفرض Firebase حدودًا صارمة على عدد الاتصالات المتزامنة بقاعدة بيانات تطبيقك. تم وضع هذه الحدود لحماية كل من Firebase ومستخدمينا من إساءة الاستخدام.
الحد الأقصى لخطة Spark هو 100 ولا يمكن رفعه. تتضمن خطط Flame وBlaze حدًا يبلغ 200000 اتصال متزامن لكل قاعدة بيانات.
هذا الحد لا يماثل إجمالي عدد مستخدمي تطبيقك، لأن المستخدمين لا يتصلون جميعًا في وقت واحد. إذا كنت بحاجة إلى أكثر من 200000 اتصال متزامن، فيرجى قراءة مقياس مع قواعد بيانات متعددة .
ماذا يحدث إذا تجاوزت حدود تخزين خطة Spark أو حدود التنزيل لقاعدة بيانات Realtime؟
لتزويدك بسعر يمكن التنبؤ به، تم وضع حد أقصى للموارد المتاحة لك في خطط Spark. وهذا يعني أنه عند تجاوز أي حد للخطة في أي شهر، سيتم إيقاف تشغيل تطبيقك لمنع أي استخدام إضافي للموارد ورسوم إضافية.
ماذا يحدث إذا تجاوزت حدود الاتصال المتزامن لخطة Spark لقاعدة بيانات Realtime؟
عندما يصل تطبيقك إلى حد التزامن الخاص به في خطة Spark، سيتم رفض أي اتصالات لاحقة حتى يتم إغلاق بعض الاتصالات الحالية. سيستمر التطبيق في العمل للمستخدمين المتصلين.
كيف يعمل تكامل Firebase مع Google Cloud؟
تم دمج Firebase بعمق مع Google Cloud . تتم مشاركة المشاريع بين Firebase وGoogle Cloud، بحيث يمكن للمشاريع تمكين خدمات Firebase وخدمات Google Cloud. يمكنك الوصول إلى نفس المشروع من وحدة تحكم Firebase أو Google Cloud Console. خاصة:
يتم دعم بعض منتجات Firebase مباشرةً بواسطة Google Cloud، مثل Cloud Storage for Firebase. ستستمر قائمة المنتجات التي تدعمها Google Cloud في النمو بمرور الوقت.
تتم مشاركة العديد من إعداداتك، بما في ذلك المتعاونون ومعلومات الفوترة، بواسطة Firebase وGoogle Cloud. يظهر استخدامك لكل من Firebase وGoogle Cloud في نفس الفاتورة.
بالإضافة إلى ذلك، عند الترقية إلى خطة Blaze، يمكنك استخدام أي من البنية التحتية العالمية كخدمة وواجهات برمجة التطبيقات الخاصة بـ Google Cloud مباشرة داخل مشروع Firebase الخاص بك، وبأسعار Google Cloud القياسية. يمكنك أيضًا تصدير البيانات من Google Cloud مباشرةً إلى BigQuery لتحليلها. لمعرفة المزيد، راجع ربط BigQuery بـ Firebase.
هناك العديد من فوائد تعزيز الأمان وتحسين زمن الاستجابة وتوفير الوقت لاستخدام Google Cloud مع Firebase (مقابل الخدمات السحابية الأخرى غير الموجودة في موقع مشترك). قم بزيارة موقع Google Cloud لمزيد من التفاصيل.
ماذا يحدث لمشروع Firebase الخاص بي إذا قمت بإضافة أو إزالة حسابات الفوترة لهذا المشروع في Google Cloud Console؟
إذا تمت إضافة حساب Cloud Billing إلى مشروع في Google Cloud Console، فستتم ترقية المشروع نفسه تلقائيًا إلى خطة Firebase Blaze إذا كان هذا المشروع مدرجًا حاليًا في خطة Spark.
في المقابل، إذا تمت إزالة حساب فوترة Cloud نشط حالي من مشروع في Google Cloud Console، فسيتم إرجاع هذا المشروع إلى خطة Firebase Spark.
هل يمكنني الترقية أو الرجوع إلى إصدار سابق أو الإلغاء في أي وقت؟
نعم، يمكنك الترقية أو الرجوع إلى إصدار سابق أو الإلغاء في أي وقت. لاحظ أننا لا نقدم مبالغ مستردة بشكل تناسبي لتخفيضات التصنيف أو الإلغاءات. وهذا يعني أنه إذا قمت بالرجوع إلى إصدار سابق أو الإلغاء قبل نهاية فترة الفاتورة الخاصة بك، فستظل تدفع ثمن بقية الشهر.
ما نوع الدعم الذي سأتلقاه؟
تأتي جميع تطبيقات Firebase، بما في ذلك تلك التي تستخدم خططًا مجانية، مع دعم عبر البريد الإلكتروني من موظفي Firebase خلال ساعات العمل في الولايات المتحدة والمحيط الهادئ. تتمتع جميع الحسابات بدعم غير محدود للمشكلات المتعلقة بالفواتير، والمشكلات المتعلقة بالحساب، والأسئلة الفنية (استكشاف الأخطاء وإصلاحها)، وتقارير الحوادث.
هل يمكنني تحديد الاستخدام في خطة Blaze؟
لا، لا يمكنك حاليًا تحديد استخدام خطة Blaze الخاصة بك. نحن نقوم بتقييم الخيارات لدعم الحدود القصوى لاستخدام خطة Blaze.
يمكن لمستخدمي Blaze تحديد ميزانية لمشروعهم أو حسابهم، وتلقي تنبيهات عندما يقترب إنفاقهم من تلك الحدود. تعرف على كيفية إعداد تنبيهات الميزانية .
ما هي النسخ الاحتياطية الآلية؟ هل تقدمون نسخًا احتياطية كل ساعة؟
تعد النسخ الاحتياطية التلقائية ميزة متقدمة للعملاء في خطة تسعير Blaze الخاصة بنا والتي تقوم بعمل نسخة احتياطية لبيانات Firebase Realtime Database الخاصة بك مرة واحدة يوميًا وتحميلها إلى Google Cloud Storage .
نحن لا نقدم النسخ الاحتياطية كل ساعة.
هل تقدمون خصومات مفتوحة المصدر أو غير ربحية أو تعليمية؟
يمكن استخدام خطة Spark الخاصة بنا من قبل أي نوع من الأفراد أو المؤسسات، بما في ذلك المنظمات غير الربحية والمدارس والمشاريع مفتوحة المصدر. وبما أن هذه الخطط تتضمن بالفعل حصصًا سخية، فإننا لا نقدم أي خصومات أو خطط خاصة للمشاريع مفتوحة المصدر أو غير الربحية أو التعليمية.
Do you offer enterprise contracts, pricing, support, or dedicated infrastructure hosting?
Our Blaze plan is suitable for enterprises of all sizes, and our SLA meets or exceeds the industry standard for cloud infrastructure. However, we do not currently offer enterprise contracts, pricing, or support, nor do we offer dedicated infrastructure hosting (that is, on-premises installations) for services like our Realtime Database. We are hard at work adding some of these features.
Do you offer ad-hoc pricing? I only want pay-as-you-go for one or two features.
We offer ad-hoc pricing in the Blaze plan, where you pay only for the features you use.
How do the paid Firebase plans work with Ads? Are there no-cost advertising credits with paid plans?
The Firebase pricing plans are separate from Ads, so there are no advertising credits without cost. As a Firebase developer, you are able to "link" your Ads account to Firebase to support conversion tracking.
All ads campaigns are managed directly in Ads, and Ads billing is managed from the Ads console.
Cloud Functions pricing
Why do I need a billing account to use Cloud Functions for Firebase?
Cloud Functions for Firebase relies on some paid Google services. New function deployments with Firebase CLI 11.2.0 and higher rely on Cloud Build and Artifact Registry . Deployments to older versions use Cloud Build in the same way, but rely on Container Registry and Cloud Storage for storage instead of Artifact Registry. Usage of these services will be billed in addition to existing pricing.
Storage space for Firebase CLI 11.2.0 and newer versions
Artifact Registry provides the containers in which functions run. Artifact Registry provides the first 500MB at no cost, so your first function deployments may not incur any fees. Above that threshold, each additional GB of storage is billed at $0.10 per month.
Storage space for Firebase CLI 11.1.x and prior versions
For functions deployed to older versions, Container Registry , provides the containers in which functions run. You'll be billed for each container required to deploy a function. You may notice small charges for each container stored—for example, 1GB of storage is billed at $0.026 per month .
To understand more about how your bill might change, please review the following
Does Cloud Functions for Firebase still have no-cost usage?
نعم. On the Blaze plan, Cloud Functions provides a no-cost tier for invocations, compute time, and internet traffic. The first 2,000,000 invocations, 400,000 GB-sec, 200,000 CPU-sec, and 5 GB of Internet egress traffic is provided at no cost each month. You'll be charged only for usage above those thresholds.
After the first 500MB of no-cost storage, each deployment operation will incur small-scale charges for the storage space used for the function's container. If your development process depends on deploying functions for testing, you can further minimize costs by using the Firebase Local Emulator Suite during development.
Is Firebase planning to raise the quotas and limits for Cloud Functions for Firebase?
No. There are no plans to change the quotas except for the removal of a maximum build time limit; instead of receiving errors or warnings when the daily build quota of 120 minutes is reached, you'll be billed under the terms of the Blaze pricing plan. See Quotas and limits .
Can I get the Google Cloud $300 credit?
Yes, you can create a Cloud Billing account in the Google Cloud Console to get the $300 credit, then link that Cloud Billing account to a Firebase project.
Note that if you do this, you have to then set up the Blaze pricing plan in the Firebase console in order for your project to continue working after the $300 credit is exhausted.
I want to follow a codelab to learn about Firebase. Can you give me a temporary billing account?
No, sorry. You can use the Firebase emulator for development without having a Cloud Billing account. Alternatively, try applying for a Google Cloud free trial . If you're still having trouble paying your bill because of this change, contact Firebase Support.
I'm worried I'm going to rack up a huge bill.
You can set up budget alerts in the Google Cloud Console to help control costs. Also, you can set limits on the number of billed instances created for each of your functions. To get an idea of costing for typical scenarios, see the Cloud Functions Pricing examples.
To use extensions, you will need to upgrade to the Blaze pricing plan. You will be charged a small amount (typically around $0.01 per month for the Firebase resources required by each extension you install (even if they are not used), in addition to any charges associated with your use of Firebase services.
Cloud Storage for Firebase pricing
How do I predict how much I will be billed for upload and download operations?
Visit the Firebase Pricing page and use the Blaze plan calculator . The calculator lists all the usage types for Cloud Storage for Firebase.
Use the sliders to input the expected usage of your Storage bucket. The calculator will estimate your monthly bill.
What happens if I exceed Spark plan upload, download or storage limits for Cloud Storage for Firebase?
When you exceed limits for Cloud Storage in a project on the Spark plan, the result depends on the type of limit that you exceed:
If you exceed the GB stored limit, you will not be able to store any more data in that project unless you remove some of the data stored or upgrade to a plan that provides more storage space, or unlimited storage space.
If you exceed the GB downloaded limit, your app will not be able to download more data until the next day (starting at midnight, US Pacific Time), unless you upgrade to a plan with less restrictive limits, or with no limits.
If you exceed the upload or download operations limit, your app will not be able to upload or download more data until the next day (starting at midnight, US Pacific Time), unless you upgrade to a plan with less restrictive limits, or with no limits.
خصوصية
Where can I find information about privacy and security in Firebase?
Do the Firebase SDKs log any usage/diagnostic information outside of Analytics?
نعم. This is currently iOS-only, but may change in the future. The Firebase Apple platforms SDK includes the FirebaseCoreDiagnostics framework by default. This framework is used by Firebase to collect SDK usage and diagnostics information to help prioritize future product enhancements. FirebaseCoreDiagnostics is optional, so if you would like to opt out of sending Firebase diagnostic logs, you can do so by unlinking the library from your application. You can browse the full source, including logged values, on GitHub
A/B Testing
A/B Testing: How many experiments can I create and run?
You are allowed up to 300 experiments per project, which could consist of up to 24 running experiments, with the rest as draft or completed.
A/B Testing: Why can't I view my experiments after unlinking and re-linking my project to Google Analytics?
Linking to a different Google Analytics property will cause you to lose access to experiments created beforehand. To regain access to a previous experiment, re-link your project to the Google Analytics property that was linked when the experiment was created.
A/B Testing: Why do I receive a "Project not linked to Google Analytics" message when creating a Remote Config experiment?
If you've already linked Firebase and Google Analytics , but still see a message that Google Analytics is not linked, make sure that an Analytics stream exists for all apps in your project. Currently, all apps in a project must be connected to a Google Analytics stream to use A/B Testing.
You can find the list of all active streams on the Google Analytics integration details page within the Firebase console, accessed from settingsProject Settingschevron_rightIntegrationschevron_rightGoogle Analyticschevron_rightManage .
Creating a Google Analytics stream for any app that does not have one should resolve the issue. There are a few ways to create streams for missing apps:
If you only have one or two apps missing an associated Google Analytics stream, you can choose one of the following methods to add a Google Analytics stream:
Delete and re-add any app without an active stream in the Firebase console.
From the Google Analytics console , select Admin , click Data Streams , then click Add stream , add the missing app's details, and click Register app .
If you have more than a few missing app streams, unlinking and relinking your Google Analytics property is the fastest and most efficient way to create the missing app streams:
From settingsProject Settings , select Integrations .
Within the Google Analytics card, click Manage to access Firebase and Google Analytics settings.
Make a note of the Google Analytics Property ID and the Linked Google Analytics account .
Click more_vertMore and select Unlink Analytics from this project .
Review the warning that appears (don't worry here; you will relink the same property in the next step), then click Unlink Google Analytics .
When unlinking is complete, you'll be redirected to the Integrations page.
Within the Google Analytics card, click Enable to begin the relinking process.
Select your Analytics account from the Select account list.
Next to Automatically create a new property in this account , click editEdit and, from the Analytics property list that appears, select your property ID.
A list of all apps in your project appears. Existing stream mappings for each app are listed, and apps that do not have a stream will have one created for them.
Click Enable Google Analytics to relink the property.
AdMob: To use AdMob, should I use the Firebase SDK for AdMob or the Google Mobile Ads SDK?
For iOS projects , use the Google Mobile Ads SDK: pod 'Google-Mobile-Ads-SDK'
For Android projects , use the Google Mobile Ads SDK: implementation 'com.google.android.gms:play-services-ads:22.5.0'
Note that the Firebase Android SDKs for AdMob transitively include the Firebase SDK for Google Analytics. So, if your app calls any Google Analytics APIs and you switch to using the Google Mobile Ads SDK, make sure that you explicitly add the dependency for the Firebase SDK for Google Analytics ( com.google.firebase:firebase-analytics ) to your app's build.gradle file.
Analytics: Why is Google Analytics a recommended part of using Firebase products?
Google Analytics is a free and unlimited analytics solution that works with Firebase features to deliver powerful insights. It enables you to view event logs in Crashlytics, notification effectiveness in FCM, deep link performance for Dynamic Links, and in-app purchase data from Google Play. It powers advanced audience targeting in Remote Config, Remote Config personalization, and more.
Google Analytics acts as a layer of intelligence in the Firebase console to provide you with more actionable insights about how to develop a high quality app, grow your user base, and earn more money.
Analytics: How do I control how my Analytics data is shared with the rest of Firebase?
By default, your Google Analytics data is used to enhance other Firebase and Google features. You can control how your Google Analytics data is shared in your project settings anytime. Learn more about Data sharing settings .
Analytics: How do I update my Analytics property settings?
From the Admin page in your Google Analytics property, you can update your property settings, such as:
Data sharing settings
Data retention settings
Time zone and currency settings
To update your property settings, follow these steps:
In the Firebase console, go to your settings > Project settings .
Go to the Integrations tab, and then in the Google Analytics card, click Manage or View link .
Analytics: Why don't I see any Analytics data in the Firebase console after unlinking Firebase from Google Analytics?
Analytics data resides within the Google Analytics property — not within the Firebase project. If you delete or unlink the property, then the Analytics data will not be accessible to Firebase and you'll see an empty Analytics dashboard in the Firebase console. Note that since the data still resides in the previously linked property, you can always relink the property to Firebase and see the Analytics data in the Firebase console.
Linking a brand new Google Analytics account (and thus a new Google Analytics property) to your Firebase project will result in an empty Analytics dashboard in the Firebase console. However, if your previously linked property still exists, then you can move the existing data from the old property to the new property.
Analytics: If my Analytics property and its data were deleted, is there any way to get them back?
No. If your property has been deleted, it isn't possible to undelete the property or retrieve the previously collected Analytics data stored in that property.
If you'd like to start using Google Analytics again, you can link either a new property or an existing property to your Firebase project. You can do this linking in either the Firebase console or the Google Analytics UI. Learn more about linking a Google Analytics property to your Firebase project.
Analytics: If my Analytics property was deleted, can I link a new Google Analytics property to my Firebase project and start using Analytics again?
If you'd like to start using Google Analytics again, you can link either a new property or an existing property to your Firebase project. You can do this linking in either the Firebase console or the Google Analytics UI. Learn more about linking a Google Analytics property to your Firebase project.
Note that since all Analytics data is stored in the property (not the Firebase project), the previously collected Analytics data cannot be retrieved.
Analytics: How will Firebase products or integrated Google products be affected by the deletion of my Analytics property?
Several Firebase products rely on the Google Analytics integration. If your Analytics property and its data are deleted, the following will happen if you use the following products:
Crashlytics — You can no longer see crash-free users, breadcrumb logs, and/or velocity alerts.
Cloud Messaging and In-App Messaging — You can no longer use targeting, campaign metrics, audience segmentation, and analytics labels.
Remote Config — You can no longer use targeted configurations or Personalization.
A/B Testing — You can no longer use A/B Testing since the experiment measurement is supplied by Google Analytics.
Dynamic Links — Any feature that relies on data from Google Analytics will be disrupted.
In addition, the following integrations will be affected:
Analytics: How do I segment users who have not met some criterion?
You can reframe the problem by "negatively targeting" these users. For example, reframe the problem as "Don't show ads to people who have bought something", and form an audience of those users to target.
Analytics: Are audiences and/or events defined in the Google Analytics interface also available in the Firebase console?
Your audiences and user properties will be synced. For some features, you'll need to use the Google Analytics interface, such as segmentation and closed funnels. You can access the Google Analytics interface directly via deep-links from the Firebase console.
Any changes you make from the Firebase console can also be performed in Google Analytics, and those changes will be reflected in Firebase.
المصادقة
Firebase Authentication: Which countries are supported for phone authentication?
Firebase Authentication supports phone number verification across the the world, but not all networks reliably deliver our verification messages. The following countries have good rates of delivery, and should be expected to work well for phone number sign in.
Country
Code
إعلان
Andorra
إ
الإمارات العربية المتحدة
AF
Afghanistan
AG
أنتيغوا وبربودا
AL
Albania
أكون
Armenia
آو
Angola
AR
Argentina
AS
ساموا الأمريكية
AT
النمسا
الاتحاد الأفريقي
أستراليا
فصيل عبد الواحد
Aruba
AZ
Azerbaijan
بكالوريوس
البوسنة والهرسك
BB
Barbados
BD
بنغلاديش
يكون
بلجيكا
فرنك بلجيكي
Burkina Faso
BG
بلغاريا
BJ
Benin
BM
Bermuda
BN
Brunei Darussalam
BO
بوليفيا
ر
Brazil
BS
Bahamas
بي تي
Bhutan
BW
Botswana
BY
Belarus
BZ
Belize
كاليفورنيا
كندا
CD
Congo, (Kinshasa)
CF
Central African Republic
CG
Congo (Brazzaville)
الفصل
سويسرا
CI
Côte d'Ivoire
سي كيه
Cook Islands
CL
Chile
CM
الكاميرون
شركة
كولومبيا
CR
كوستا ريكا
CV
Cape Verde
CW
Curaçao
CY
قبرص
CZ
الجمهورية التشيكية
DE
ألمانيا
DJ
Djibouti
DK
الدنمارك
مارك ألماني
Dominica
DO
Dominican Republic
DZ
Algeria
EC
Ecuador
على سبيل المثال
مصر
ES
إسبانيا
إت
أثيوبيا
FI
فنلندا
FJ
Fiji
FK
Falkland Islands (Malvinas)
FM
Micronesia, Federated States of
FO
جزر فاروس
FR
فرنسا
جا
Gabon
غيغابايت
المملكة المتحدة
GD
Grenada
GE
جورجيا
GF
French Guiana
GG
Guernsey
جي إتش
غانا
جي
Gibraltar
جي إل
Greenland
GM
Gambia
GP
Guadeloupe
جي كيو
Equatorial Guinea
GR
Greece
GT
غواتيمالا
GY
Guyana
HK
Hong Kong, SAR China
HN
هندوراس
الموارد البشرية
Croatia
إتش تي
Haiti
HU
Hungary
بطاقة تعريف
إندونيسيا
أي
أيرلندا
انا
Israel
أنا
Isle of Man
في
الهند
IQ
Iraq
هو - هي
إيطاليا
JE
جيرسي
جي إم
Jamaica
JO
Jordan
جي بي
اليابان
KE
كينيا
KG
Kyrgyzstan
KH
كمبوديا
KM
Comoros
KN
Saint Kitts and Nevis
KR
Korea (South)
KW
Kuwait
كنتاكي
جزر كايمان
KZ
كازاخستان
لوس أنجلوس
Lao PDR
LB
Lebanon
إل سي
Saint Lucia
LI
Liechtenstein
LK
سيريلانكا
LS
Lesotho
إل تي
ليتوانيا
LU
Luxembourg
LV
Latvia
LY
Libya
ماجستير
Morocco
دكتوراه في الطب
Moldova
أنا
Montenegro
MF
Saint-Martin (French part)
MG
مدغشقر
MK
Macedonia, Republic of
مم
ميانمار
مينيسوتا
Mongolia
شهر
Macao, SAR China
آنسة
مونتسيرات
MT
مالطا
مو
موريشيوس
MW
Malawi
MX
المكسيك
MY
ماليزيا
MZ
Mozambique
NA
Namibia
نورث كارولاينا
New Caledonia
شمال شرق
Niger
NF
Norfolk Island
NG
نيجيريا
NI
Nicaragua
NL
هولندا
لا
النرويج
NP
نيبال
نيوزيلندي
نيوزيلندا
OM
Oman
السلطة الفلسطينية
Panama
بي
Peru
ص
بابوا غينيا الجديدة
الرقم الهيدروجيني
فيلبيني
بي كيه
باكستان
PL
Poland
PM
Saint Pierre and Miquelon
العلاقات العامة
Puerto Rico
PS
الأراضي الفلسطينية
حزب العمال
Portugal
PY
Paraguay
QA
دولة قطر
RE
Réunion
RO
رومانيا
روبية
صربيا
RU
Russian Federation
رو
Rwanda
سا
المملكة العربية السعودية
SC
Seychelles
SE
السويد
سان جرمان
سنغافورة
SH
Saint Helena
SI
سلوفينيا
كورونا
Slovakia
SL
Sierra Leone
SN
Senegal
ريال سعودى
Suriname
ST
Sao Tome and Principe
SV
السلفادور
SZ
Swaziland
TC
Turks and Caicos Islands
TG
Togo
TH
Thailand
ليرة تركية
Timor-Leste
TM
Turkmenistan
ل
Tonga
TR
ديك رومى
TT
Trinidad and Tobago
TW
Taiwan, Republic of China
TZ
Tanzania, United Republic of
UA
أوكرانيا
UG
أوغندا
نحن
الولايات المتحدة الأمريكية
UY
أوروغواي
UZ
Uzbekistan
VC
Saint Vincent and Grenadines
VE
Venezuela (Bolivarian Republic)
VG
British Virgin Islands
VI
Virgin Islands, US
VN
Viet Nam
WS
Samoa
YE
Yemen
YT
Mayotte
ZA
جنوب أفريقيا
ZM
زامبيا
ZW
Zimbabwe
Firebase Authentication: How can I prevent SMS abuse when using phone authentication?
To help protect your project from SMS traffic pumping and API abuse, take the following steps:
Look for regions with a very high number of sent SMS and a very low number (or zero) of verified SMS. The ratio of verified/sent is your success rate. Healthy success rates are commonly in the 70-85% range since SMS is not a guaranteed delivery protocol, and some regions may experience abuse. Success rates below 50% imply many sent SMS but few successful logins, which is a common indicator of bad actors and SMS traffic pumping.
Use SMS Region Policy to either deny SMS regions with low success rates, or only allow certain regions if your app is only intended for distribution in certain markets.
Limit your authorized authentication domains
Use the Authentication settings dashboard to manage authorized domains. The localhost domain is added by default to the approved authentication domains to simplify development. Consider removing localhost from the authorized domains in your production project to prevent bad actors from running code on theirlocalhost to access your production project.
Enable and enforce App Check
Enable App Check to help protect your project from API abuse by attesting that requests only come from applications associated with your project.
Remember that you need to enforce App Check for Authentication in the Firebase console (consider monitoring traffic before enforcing). Also, double check your reCAPTCHA Enterprise approved sites list to validate that it only contains your production sites, and that the list of applications registered to your project in App Check is accurate.
Note that App Check helps protect against automated attacks by asserting that the call comes from one of your registered applications. It does not prevent users from using your app in unintended ways (for example, starting then never finishing login flows to generate sent SMS).
Firebase Authentication: In my Android app, why am I getting the following error: Google sign in failed ?
Follow the troubleshooting steps in this FAQ if you're getting the following error:
GoogleFragment: Google sign in failed
com.google.android.gms.common.api.ApiException: 13: Unable to get token.
at
com.google.android.gms.internal.auth-api.zbay.getSignInCredentialFromIntent(com.google.android.gms:play-services-auth@@20.3.0:6)
Make sure that Google sign-in is properly enabled as an authentication provider:
Within the Sign in method tab, disable and then re-enable the Google sign-in method (even if it's already enabled):
Open the Google sign-in method, disable it, and then click Save .
Re-open the Google sign-in method, enable it, and then click Save .
Also, in the Google sign-in provider configuration of the Authentication section, make sure that the OAuth client ID and secret match the web client displayed in the Credentials page of the Google Cloud Console (look in the OAuth 2.0 Client IDs section).
Firebase Authentication: How do I manually construct an OAuth web client??
Open the Credentials page of the Google Cloud Console.
At the top of the page, select Create credentials > OAuth client ID .
If you're prompted to configure your consent screen, follow the on-screen instructions, and then continue with the following steps of this FAQ.
Create the OAuth web client:
For the Application Type , select Web application .
For the Authorized JavaScript Origins , add the following:
http://localhost
http://localhost:5000
https:// PROJECT_ID .firebaseapp.com
https:// PROJECT_ID .web.app
For the Authorized Redirect URIs , add the following:
Within the Sign in method tab, open the Google sign-in provider, and then paste the web server client ID and secret you just constructed and copied from the Google Cloud Console. Click Save .
Firebase Authentication: How is %APP_NAME% determined for the email template for the confirmation email that can be sent to a user when they sign up using an email address and password?
Before December 2022, the %APP_NAME% in the email template was populated with the OAuth brand name that was automatically provisioned whenever an Android app was registered in the Firebase project. Now, since the OAuth brand is provisioned only when Google sign-in is enabled, the following describes how %APP_NAME% is determined:
If the OAuth brand name is available, then the %APP_NAME% in the email template will be the OAuth brand name (same as pre-December 2022 behavior).
If the OAuth brand name is not available, here's how the %APP_NAME% in the email template is determined:
For web apps , the %APP_NAME% will be the default Firebase Hosting site name (the value preceding .firebaseapp.com and .web.app and usually the Firebase project ID).
For mobile apps:
If the Android package name or iOS bundle ID is present in the request, then the %APP_NAME% will be the app name used in the Play Store or App Store (respectively).
Otherwise, the %APP_NAME% will be the default Firebase Hosting site name (the value preceding .firebaseapp.com and .web.app and usually the Firebase project ID).
Note that if the lookup of the default Firebase Hosting site name fails, then the final fallback is to use the Firebase project ID as the %APP_NAME% .
Cloud Functions
Cloud Functions runtime support
How do I upgrade to the latest supported version of Node.js?
How can I make sure I deployed my functions to a specific Node.js runtime?
In the Firebase console, go to the functions dashboard , select a function, and check the function's language under Additional details .
I use Firebase Extensions. Will I be affected by Cloud Functions runtime updates?
نعم. Since extensions use Cloud Functions , the runtime of your extensions will need to be updated on the same timeline as Cloud Functions.
We recommend that you periodically update to the latest version of each extension installed in your project. You can upgrade your projects' extensions via the Firebase console or Firebase CLI .
Cloud Messaging
Cloud Messaging: What's the difference between the Notifications composer and Cloud Messaging?
Firebase Cloud Messaging provides a complete set of messaging capabilities through its client SDKs and HTTP and XMPP server protocols. For deployments with more complex messaging requirements, FCM is the right choice.
The Notifications composer is a lightweight, serverless messaging solution built on Firebase Cloud Messaging. With a user-friendly graphical console and reduced coding requirements, the Notifications composer lets users easily send messages to reengage and retain users, foster app growth, and support marketing campaigns.
Capabilities
Notifications composer
Cloud Messaging
هدف
Single device
Clients subscribed to topics (ie weather)
Clients in predefined user segment (app, version, language)
Clients in specified analytics audiences
Clients in device groups
Upstream from client to server
Message Type
Notifications up to 2kb
Data messages up to 4kb
Delivery
Immediate
Future client device local time
Analytics
Built-in Notifications analytics collection and funnel analytics
Cloud Messaging: Apple announced they're deprecating the legacy binary protocol for APNs. هل أحتاج إلى القيام بأي شيء؟
No. Firebase Cloud Messaging switched to the HTTP/2-based APNs protocol in 2017. If you are using FCM to send notifications to iOS devices, there should be no action required on your part.
Cloud Messaging: Do I need to use other Firebase services in order to use FCM?
You can use Firebase Cloud Messaging as a standalone component, in the same manner as you did with GCM, without using other Firebase services.
Cloud Messaging: I am an existing Google Cloud Messaging (GCM) developer. Should I move to Firebase Cloud Messaging?
FCM is the new version of GCM under the Firebase brand. It inherits GCM's core infrastructure, with new SDKs to make Cloud Messaging development easier.
Benefits of upgrading to FCM SDK include:
Simpler client development. You no longer have to write your own registration or subscription retry logic.
An out-of-the-box notification solution. You can use the Notifications composer, a serverless notifications solution with a web console that lets anyone send notifications to target specific audiences based on insights from Google Analytics.
To upgrade from GCM SDKs to FCM SDKs, see the guides for migrating Android and iOS apps.
Cloud Messaging: Why do my targeted devices apparently fail to receive messages?
When it looks like devices haven't successfully received messages, check first for these two potential causes:
Foreground message handling for notification messages . Client apps need to add message handling logic to handle notification messages when the app is in the foreground on the device. See the details for iOS and Android .
Network firewall restrictions . If your organization has a firewall that restricts the traffic to or from the Internet, you need to configure it to allow connectivity with FCM in order for your Firebase Cloud Messaging client apps to receive messages. The ports to open are:
5228
5229
5230
FCM usually uses 5228, but it sometimes uses 5229 and 5230. FCM does not provide specific IPs, so you should allow your firewall to accept outgoing connections to all IP addresses contained in the IP blocks listed in Google's ASN of 15169 .
Cloud Messaging: I have implemented onMessageReceived in my Android app, but it is not being called.
When your app is in the background, notification messages are displayed in the system tray, and onMessageReceived is not called. For notification messages with a data payload, the notification message is displayed in the system tray, and the data that was included with the notification message can be retrieved from the intent launched when the user taps on the notification.
Notifications composer: What's the difference between the Notifications composer and Cloud Messaging?
The Notifications composer is a lightweight, serverless messaging solution built on Firebase Cloud Messaging. With a user-friendly graphical console and reduced coding requirements, the Notifications composer lets users easily send messages to reengage and retain users, foster app growth, and support marketing campaigns.
Firebase Cloud Messaging provides a complete set of messaging capabilities through its client SDKs and HTTP and XMPP server protocols. For deployments with more complex messaging requirements, FCM is the right choice.
Here's a comparison of the messaging capabilities provided by Firebase Cloud Messaging and the Notifications composer:
Capabilities
Notifications composer
Cloud Messaging
هدف
Single device
Clients subscribed to topics (ie weather)
Clients in predefined user segment (app, version, language)
Clients in specified analytics audiences
Clients in device groups
Upstream from client to server
Message Type
Notifications up to 2kb
Data messages up to 4kb
Delivery
Immediate
Future client device local time
Analytics
Built-in Notifications analytics collection and funnel analytics
Notifications composer: I am an existing Google Cloud Messaging (GCM) developer, and I want to use the Notifications composer. ماذا علي أن أفعل؟
The Notifications composer is an out-of-the-box solution that lets anyone send notifications to target specific audiences based on insights from Google Analytics. Also, the Notifications composer provides funnel analysis for every message, allowing easy evaluation of notification effectiveness.
If you are an existing GCM developer, to use the Notifications composer you have to upgrade from GCM SDKs to FCM SDKs. See the guides for migrating Android and iOS apps.
FCM features deprecated in June 2023
Which FCM APIs were deprecated on June 20, 2023, and what should I do if I am using those APIs?
The following APIs/SDKs will be affected by the deprecation:
Server APIs
API Name
API Endpoint
Impact on users
Action Required
Legacy HTTP protocol
https://fcm.googleapis.com/fcm/send
Requests to the endpoint will start failing after 6/21/2024.
API calls to FirebaseMessaging.send in the app won't trigger upstream messages to the app server after 6/21/2024.
Implement this functionality in your server logic. For example, some developers implement their own HTTP/gRPC endpoint and call the endpoint directly to send messages from their clients to the app server. See this gRPC Quick start for an example implementation of upstream messaging using gRPC.
Batch Send API
https://fcm.googleapis.com/batch
Requests to the endpoint will start failing after 6/21/2024.
These APIs will stop working after 6/21/2024 because they call the batch send API .
Upgrade to the latest Firebase Admin SDK and use the new APIs instead: sendEach()/ sendEachAsync()/send_each()/sendEachForMulticast()/sendEachForMulticastAsync()/ send_each_for_multicast() .
Note that the new APIs no longer call the deprecated batch send API, and for this reason they may create more concurrent HTTP connections than the old APIs.
Client SDKs
SDK versions
Impact on users
Action Required
GCM SDKs (deprecated in 2018)
Apps using GCM SDKs will not be able to register tokens nor receive messages from FCM after 6/21/2024.
Upgrade your Android SDK to the latest Firebase SDK if you haven't already done so.
JS SDKs version <7.0.0 (breaking change at version 7.0.0 in 2019)
Web apps using older JS SDKs will not be able to register tokens after 6/21/2024.
Upgrade your Firebase Web SDK to the latest version.
Will I see a service downgrade before June 2024?
No. You have 12 months (06/20/2023 - 06/21/2024) to migrate from the old APIs to new APIs without any service downgrade. We strongly recommend you to plan the migration as early as possible so you won't be impacted by the decommissioning of the APIs in June 2024.
After June 2024, you may see increased errors or lack of functionality when using the APIs/SDKs listed above.
What's the difference between OAuth 2.0 tokens and server keys?
An OAuth 2.0 token is a short-lived token derived from a service account . It's Google's standard auth model and it's more secure than static server keys.
Note that the request headers differ when you use OAuth 2.0 tokens for requests to different endpoints.
HTTP v1 API : Authorization: Bearer $oauth_token
Instance ID server API and Device group management API : Authorization: Bearer $oauth_token access_token_auth: true
Can I migrate my requests to the new API all at once?
We recommend that you slowly ramp up your traffic to the new API. If you expect to send more than 600,000 messages/min on a regular basis, contact Firebase support for instructions on how to increase quota or get recommendations on how to spread out traffic.
What's the difference between the HTTP v1 API and the legacy APIs when I send messages to topics/device groups?
Topics: you don't need to add the "/topics/" prefix to your topic target when you use the v1 API.
Device groups: You can use a group token as a token target in the HTTP v1 API. However, the HTTP v1 API doesn't return the success/failure counts in the response. We recommend that you use FCM topics or manage your device groups by yourself.
Does the HTTP v1 API support sending messages to multiple tokens in one request?
No. This feature, called "multicast" in legacy HTTP APIs, is not supported by the HTTP v1 API, which is better designed for scalability.
For use cases where end-to-end latency is critical, or where total fanout size is small (fewer than 1 million), Google recommends sending multiple separate requests using the HTTP v1 API. The HTTP v1 API over HTTP/2 performs similarly for 99.9% of multicast requests (sending < 100 tokens). For outlier use cases (sending 1000 tokens), it achieves up to a third of the throughput rate, so additional concurrency is needed to optimize for this atypical use case. Users can experience more reliability and availability with the HTTP v1 API than with legacy multicast.
For use cases where throughput and egress bandwidth are prioritized or where total fanout size is large (greater than 1 million), Google recommends topic messaging. While topic messaging requires a one-time action to subscribe recipients to a topic, it offers up to a 10,000 QPS per project fanout rate without a maximum limit on topic size.
What versions of the Firebase Admin SDK have the new APIs?
Platform
Firebase Admin SDK version
Node.js
>=11.7.0
بايثون
>=6.2.0
جافا
>=9.2.0
Go
>=4.12.0
.شبكة
>=2.4.0
What's the difference between the batch send API and the HTTP v1 API?
The FCM batch send API uses the same message format and authentication mechanism as the HTTP v1 API. However, it uses a different endpoint. If you want to improve efficiency, you should consider using HTTP/2 to send multiple requests over the same HTTP connection to the HTTP v1 API.
What should I do if I can't access my project?
Please reach out to the Google Cloud support team for help.
Cloud Storage for Firebase
Cloud Storage for Firebase: Why can't I use Cloud Storage for Firebase?
Cloud Storage for Firebase creates a default bucket in the App Engine no-cost tier. This allows you to quickly get up and running with Firebase and Cloud Storage for Firebase, without having to put in a credit card or enable a Cloud Billing account. It also allows you to easily share data between Firebase and a Google Cloud project.
There are, however, two known cases where this bucket cannot be created and you will be unable to use Cloud Storage for Firebase:
A project imported from Google Cloud which had a App Engine Master/Slave Datastore application.
A project imported from Google Cloud which has domain prefixed projects. For example: domain.com:project-1234 .
There are currently no workarounds to these issues, and we recommend that you create a new project in the Firebase console and enable Cloud Storage for Firebase in that project.
Cloud Storage for Firebase: Why do I get error code 412 responses about service account permissions and failed service account operations when using the Cloud Storage for Firebase API?
It's likely you're getting 412 error codes either because the Cloud Storage for Firebase API is not enabled for your project or a necessary service account is missing the required permissions.
Cloud Storage for Firebase: On Spark plan projects, can I store executable files?
For no-cost (Spark) plan projects, Firebase blocks uploads and hosting of certain executable file types for Windows, Android and Apple by Cloud Storage for Firebase and Firebase Hosting. This policy exists to prevent abuse on our platform.
Serving, hosting and file uploads of disallowed files are blocked for all Spark projects created on or after Sept 28th, 2023. For existing Spark projects with files uploaded before that date, such files can still be uploaded and hosted.
This restriction applies to Spark plan projects. Projects on the pay as you go (Blaze) plan are not affected.
The following file types cannot be hosted on Firebase Hosting and Cloud Storage for Firebase:
Windows files with .exe , .dll and .bat extensions
Android files with .apk extension
Apple platform files with .ipa extension
ما الذي أنا بحاجة لفعله؟
If you still want to host these file types after September 28th, 2023:
For Hosting: upgrade to the Blaze plan before you can deploy these file types to Firebase Hosting via the firebase deploy command.
For Storage: upgrade to the Blaze plan to upload these file types to the bucket of your choice using the GCS CLI, the Firebase console, or Google Cloud Console.
Use Firebase tools to manage your Firebase Hosting and Cloud Storage resources.
For managing resources in Firebase Hosting, use the Firebase console to delete releases according to this guide .
For managing resources in Cloud Storage, navigate to the Storage product page in your project.
On the Files tab, locate disallowed files to delete in your folder hierarchy, then select them using the checkbox next to the filename(s) on the left-hand side of the panel.
Click Delete , and confirm the files were deleted.
Cloud Storage for Firebase: Why do I see an unexpected increase in upload and download operations?
Previously, download and upload requests to the Cloud Storage for Firebase API were not being counted properly. We have taken steps to fix this issue, starting from September 15, 2023.
For Blaze users, upload and download operations will start counting towards your monthly bill. For Spark users, they will start counting towards your monthly free limit.
We recommend monitoring your Usage page for any increases that may count towards your limits.
Cloud Storage for Firebase: Why do I see new service account IDs associated with my Firebase projects that use Cloud Storage for Firebase?
Firebase uses service accounts to operate and manage services without sharing user credentials. When you create a Firebase project, you might notice that a number of service accounts are already available in your project.
The service account that Cloud Storage for Firebase uses is scoped to your project and is named service- PROJECT_NUMBER @gcp-sa-firebasestorage.iam.gserviceaccount.com .
If you used Cloud Storage for Firebase before September 19, 2022, you may see an additional service account on previously-linked Cloud Storage buckets named firebase-storage@system.gserviceaccount.com . As of September 19, 2022, this service account is no longer supported.
You can view all service accounts associated with your project in the Firebase console, on the Service accounts tab .
Adding the new service account
If you removed the service account previously or the service account is not present in your project, you may do one of the following to add the account.
(Recommended) Automated: Use the AddFirebase REST endpoint to re-import your bucket into Firebase. You will only need to call this endpoint once, not once for each linked bucket.
We strongly discourage you from removing the service account because this may block access to your Cloud Storage buckets from your apps. To remove the service account from your project, follow the instructions in Disabling a service account .
Dynamic Links: Why does my Android app access each Dynamic Link twice?
The getInvitation API clears the saved Dynamic Link to prevent it from being accessed twice. Be sure to call this API with the autoLaunchDeepLink parameter set to false in each of the deep link activities to clear it for the case when the activity is triggered outside the main activity.
Firebase Local Emulator Suite
Why do Emulator Suite logs show an error starting with "Multiple projectIds are not recommended in single project mode"?
This message means the Emulator Suite has detected it may be running a particular product emulator using different project IDs. This may indicate a misconfiguration, and can cause issues when emulators try to communicate with one another, and when you try to interact with emulators from your code. If project IDs don't match, it often appears that data is missing, since data stored in emulators is keyed to projectID, and interoperability depends on matching project IDs.
This has been a common source of confusion among developers, so by default the Local Emulator Suite will now only allow running with a single project ID, unless you specify otherwise in the firebase.json configuration file. If an emulator detects more than one project ID, it will log a warning and potentially throw a fatal error.
Check your project ID declaration(s) for mismatches in:
The default project set at the command line. By default, the project ID will be taken on startup from the project selected with firebase init or firebase use . To view the list of projects (and see which one is selected) use firebase projects:list .
Unit tests. The project ID is often specified in calls to the Rules Unit Testing library methods initializeTestEnvironment or initializeTestApp . Other testing code may initialize with initializeApp(config) .
The command line --project flag. Passing the Firebase CLI --project flag overrides the default project. You'll need to ensure the value of the flag matches the project ID in unit tests and app initialization.
Platform-specific places to check:
Web
The projectId property in your JavaScript firebaseConfig object, used in initializeApp .
Android
The project_id property inside the google-services.json configuration file.
Apple platforms
The PROJECT_ID property in the GoogleService-Info.plist configuration file.
To disable single project mode, update firebase.json with the singleProjectMode key:
Hosting: On Spark plan projects, can I store executable files?
For no-cost (Spark) plan projects, Firebase blocks uploads and hosting of certain executable file types for Windows, Android and Apple by Cloud Storage for Firebase and Firebase Hosting. This policy exists to prevent abuse on our platform.
Serving, hosting and file uploads of disallowed files are blocked for all Spark projects created on or after Sept 28th, 2023. For existing Spark projects with files uploaded before that date, such files can still be uploaded and hosted.
This restriction applies to Spark plan projects. Projects on the pay as you go (Blaze) plan are not affected.
The following file types cannot be hosted on Firebase Hosting and Cloud Storage for Firebase:
Windows files with .exe , .dll and .bat extensions
Android files with .apk extension
Apple platform files with .ipa extension
ما الذي أنا بحاجة لفعله؟
If you still want to host these file types after September 28th, 2023:
For Hosting: upgrade to the Blaze plan before you can deploy these file types to Firebase Hosting via the firebase deploy command.
For Storage: upgrade to the Blaze plan to upload these file types to the bucket of your choice using the GCS CLI, the Firebase console, or Google Cloud Console.
Use Firebase tools to manage your Firebase Hosting and Cloud Storage resources.
For managing resources in Firebase Hosting, use the Firebase console to delete releases according to this guide .
For managing resources in Cloud Storage, navigate to the Storage product page in your project.
On the Files tab, locate disallowed files to delete in your folder hierarchy, then select them using the checkbox next to the filename(s) on the left-hand side of the panel.
Click Delete , and confirm the files were deleted.
Hosting: Why does my Hosting release history table in the Firebase console show file counts that are more than what my local project actually has?
Firebase automatically adds extra files containing metadata about the Hosting site, and these files are included in the total file count for the release.
Hosting: What's the largest file size that I can deploy to Firebase Hosting?
Hosting has a maximum size limit of 2 GB for individual files.
We recommend storing larger files using Cloud Storage , which offers a maximum size limit in the terabyte range for individual objects.
Hosting: How many Hosting sites can I have per Firebase project?
Performance Monitoring: How many custom URL patterns can I create?
You can create up to 400 total custom URL patterns per app and up to 100 custom URL patterns per domain for that app.
Performance Monitoring: Why am I not seeing real time display of performance data?
To view real time performance data, make sure that your app uses a Performance Monitoring SDK version that's compatible with real time data processing.
iOS — v7.3.0 or later
tvOS — v8.9.0 or later
Android — v19.0.10 or later (or Firebase Android BoM v26.1.0 or later)
Web — v7.14.0 or later
Note that we always recommend using the latest version of SDK, but any version listed above will enable Performance Monitoring to process your data in near real time.
Realtime Database
Realtime Database: Why was my Realtime Database reported bandwidth lower than average between September 2016 and March 2017?
For our bandwidth calculations, we normally include SSL encryption overhead (based on layer 5 of the OSI model). However, in September 2016, we introduced a bug that caused our bandwidth reporting to ignore encryption overhead. This might have resulted in artificially low reported bandwidth and bills on your account for a few months.
We released a fix for the bug in late March 2017, returning bandwidth reporting and billing to their normal levels.
Realtime Database: What are the scaling limitations of the Realtime Database?
Each Realtime Database instance has limits on the number of write operations per second. For small writes, this limit is approximately 1000 write operations per second. If you are approaching this limit, batching operations using multi-path updates can help you achieve higher throughput.
Realtime Database: What can I do if I'm over my Realtime Database usage limits?
If you've received an email alert or notification in the Firebase console that you've exceeded your Realtime Database usage limits, you can address it based on the usage limit you've exceeded. To see your Realtime Database usage, go to the Realtime Database Usage dashboard in the Firebase console.
If you're over your download limit, you can upgrade your Firebase pricing plan or wait until your download limit resets at the start of your next billing cycle. To decrease your downloads, try the following steps:
Add queries to limit the data that your listen operations return.
Check for unindexed queries.
Use listeners that only download updates to data — for example, on() instead of once() .
Use security rules to block unauthorized downloads.
If you're over your storage limit, upgrade your pricing plan to avoid service disruptions. To reduce the amount of data in your database, try the following steps:
Run periodic cleanup jobs.
Reduce any duplicate data in your database.
Note that it may take some time to see any data deletions reflected in your storage allotment.
If you're over your simultaneous database connections limit, upgrade your plan to avoid any service disruptions. To manage simultaneous connections to your database, try connecting via users via the REST API if they don't require a realtime connection.
Remote Config
Remote Config: Why don't fetched values change the behavior and appearance of my app?
Unless you fetch values with fetchAndActivate() , values are stored locally but not activated. To activate fetched values so that they can take effect, call activate . This design lets you control when the behavior and appearance of your app changes, because you can choose when to call activate . After you call activate , your app source code determines when updated parameter values are used.
For example, you could fetch values and then activate them the next time a user starts your app, which removes the need to delay app startup while your app waits for fetched values from the service. Changes to your app's behavior and appearance then occur when your app uses the updated parameter values.
Remote Config: I am making a lot of fetch requests while developing my app. Why doesn't my app always get the latest values from the service when it sends fetch requests?
During app development, you might want to fetch and activate configs very frequently (many times per hour) to let you rapidly iterate as you develop and test your app. To accommodate rapid iteration on a project with up to 10 developers, you can temporarily set a FirebaseRemoteConfigSettings object with a low minimum fetch interval ( setMinimumFetchIntervalInSeconds ) in your app.
Remote Config: How quickly does the Remote Config service return fetched values after my app sends a fetch request?
Devices usually receive fetched values in less than a second, and often receive fetched values in milliseconds. The Remote Config service handles fetch requests within milliseconds, but the time required to complete a fetch request will depend on the network speed of the device and the latency of the network connection used by the device.
If your goal is to make fetched values take effect in your app as soon as possible, but without creating a jarring user experience, consider adding calls to fetchAndActivate each time that your app does a full screen refresh.
Firebase User Segmentation Storage stores Firebase installation IDs and related attributes and segments as well as audience lists you've created to provide targeting information to other Firebase services that use them, such as Crashlytics, FCM, Remote Config personalization, and more.