Ein Firebase-Projekt ist die Entität der obersten Ebene für Firebase. In einem Projekt können Sie Ihre Apple-, Android- oder Web-Apps registrieren. Nachdem Sie Ihre Apps bei Firebase registriert haben, können Sie die produktspezifischen Firebase SDKs zu Ihrer App hinzufügen, wie Analytics, Cloud Firestore, Crashlytics oder Remote Config.
Sie sollten Ihre Apple-, Android- und Web-App-Varianten in einem einzigen Firebase-Projekt registrieren. Sie können mehrere Firebase-Projekte verwenden, um mehrere Umgebungen wie Entwicklung, Staging und Produktion zu unterstützen.
Hier sind einige Ressourcen, um mehr über Firebase-Projekte zu erfahren:
Firebase-Projekte verstehen – bietet einen kurzen Überblick über mehrere wichtige Konzepte zu Firebase-Projekten, einschließlich ihrer Beziehung zu Google Cloud und der grundlegenden Hierarchie eines Projekts sowie seiner Apps und Ressourcen.
Allgemeine Best Practices zum Einrichten von Firebase-Projekten : Bietet allgemeine Best Practices auf hoher Ebene zum Einrichten von Firebase-Projekten und zum Registrieren Ihrer Apps bei einem Projekt, sodass Sie über einen klaren Entwicklungsworkflow verfügen, der unterschiedliche Umgebungen verwendet.
Beachten Sie, dass Firebase für alle Firebase-Projekte automatisch das Label „ firebase:enabled auf der Seite „Labels“ für Ihr Projekt in der Google Cloud Console hinzufügt. Erfahren Sie mehr über dieses Label in unseren FAQ .
Was ist eine Google Cloud-Organisation?
Eine Google Cloud-Organisation ist ein Container für Google Cloud-Projekte (einschließlich Firebase-Projekte). Diese Hierarchie ermöglicht eine bessere Organisation, Zugriffsverwaltung und Prüfung Ihrer Google Cloud- und Firebase-Projekte. Weitere Informationen finden Sie unter Organisationen erstellen und verwalten .
Wie füge ich Firebase zu einem bestehenden Google Cloud-Projekt hinzu?
Möglicherweise lassen Sie bestehende Projekte über die Google Cloud Console oder die Google APIs-Konsole verwalten. Standardmäßig sind diese Projekte in der Firebase-Konsole sichtbar, gelten jedoch nicht als Firebase-Projekte.
Um Firebase zu Ihrem bestehenden Google Cloud-Projekt hinzuzufügen, klicken Sie auf der Startseite der Firebase-Konsole auf „Projekt hinzufügen“ und wählen Sie dann Ihr Projekt im Menü „Projektname“ aus.
Warum hat mein Google Cloud-Projekt die Bezeichnung firebase:enabled “?
Auf der Seite „Labels“ für Ihr Projekt in der Google Cloud Console sehen Sie möglicherweise das Label „ firebase:enabled “ (insbesondere einen Key von „ firebase mit dem Value „ enabled “).
Firebase hat diese Bezeichnung automatisch hinzugefügt, da Ihr Projekt ein Firebase-Projekt ist, was bedeutet, dass für Ihr Projekt Firebase-spezifische Konfigurationen und Dienste aktiviert sind. Erfahren Sie mehr über die Beziehung zwischen Firebase-Projekten und Google Cloud .
Wir empfehlen Ihnen dringend, dieses Etikett nicht zu ändern oder zu löschen. Dieses Label wird von Firebase und Google Cloud verwendet, um Ihre Firebase-Projekte aufzulisten (z. B. über den REST-API-Endpunkt projects.list oder in Menüs innerhalb der Firebase-Konsole).
Beachten Sie, dass das manuelle Hinzufügen dieses Labels zu Ihrer Liste der Projektlabels KEINE Firebase-spezifischen Konfigurationen und Dienste für Ihr Google Cloud-Projekt aktiviert. Dazu müssen Sie Firebase über die Firebase-Konsole hinzufügen (oder, für erweiterte Anwendungsfälle, über die Firebase Management REST API oder die Firebase CLI ).
Warum wird mein Firebase-Projekt nicht in meiner Liste der Firebase-Projekte angezeigt?
Diese FAQ gilt, wenn Ihr Firebase-Projekt an den folgenden Stellen nicht angezeigt wird:
In einer Liste von Projekten, die Sie in der Firebase-Konsole anzeigen
In der Antwort auf die Ausführung des Firebase-CLI-Befehls firebase projects:list
Probieren Sie die folgenden Schritte zur Fehlerbehebung aus:
Versuchen Sie zunächst, auf Ihr Projekt zuzugreifen, indem Sie direkt die URL des Projekts aufrufen. Verwenden Sie das folgende Format: https://console.firebase.google.com/project/ PROJECT-ID /overview
Wenn Sie nicht auf das Projekt zugreifen können oder Berechtigungsfehler erhalten, überprüfen Sie Folgendes:
Stellen Sie sicher, dass Sie bei Firebase mit demselben Google-Konto angemeldet sind, das Zugriff auf das Projekt hat. Sie können sich über Ihren Konto-Avatar in der oberen rechten Ecke der Konsole an- und abmelden.
Stellen Sie sicher, dass Ihr Projekt auf der Seite „ Labelsfirebase:enabled hat. Firebase und Google Cloud verwenden dieses Label, um Ihre Firebase-Projekte aufzulisten. Wenn Sie diese Bezeichnung nicht sehen , die Firebase-Verwaltungs-API jedoch für Ihr Projekt aktiviert ist , fügen Sie die Bezeichnung manuell hinzu (insbesondere einen Key von firebase mit dem Value „ enabled “).
Stellen Sie sicher, dass Ihnen eine der grundlegenden IAM-Rollen (Besitzer, Bearbeiter, Betrachter) oder eine Rolle mit Firebase-bezogenen Berechtigungen zugewiesen ist, beispielsweise eine vordefinierte Firebase-Rolle . Sie können Ihre Rolle(n) auf der IAM- Seite der Google Cloud Console anzeigen.
Wenn Ihr Projekt zu einer Google Cloud-Organisation gehört, benötigen Sie möglicherweise zusätzliche Berechtigungen, um das in der Firebase-Konsole aufgeführte Projekt anzuzeigen. Wenden Sie sich an die Person, die Ihre Google Cloud-Organisation verwaltet, um Ihnen die entsprechende Rolle zum Anzeigen des Projekts zuzuweisen, beispielsweise die Browser-Rolle.
Wenn keiner der oben genannten Fehlerbehebungsschritte es Ihnen ermöglicht, Ihr Projekt in einer Liste von Firebase-Projekten zu sehen, wenden Sie sich an den Firebase-Support .
Wie viele Projekte kann ich pro Konto haben?
Spark-Preisplan – Ihr Projektkontingent ist auf eine kleine Anzahl von Projekten begrenzt (normalerweise etwa 5–10).
Blaze-Preisplan – Ihr Projektkontingent pro Cloud-Rechnungskonto erhöht sich erheblich, solange Ihr Cloud-Rechnungskonto in gutem Zustand ist.
Beachten Sie, dass das vollständige Löschen eines Projekts 30 Tage dauert und auf Ihr Kontingent angerechnet wird, bis es vollständig gelöscht ist.
Wie viele Firebase-Apps kann ich in einem Firebase-Projekt haben?
Ein Firebase-Projekt ist ein Container für Firebase-Apps für Apple, Android und das Web. Firebase beschränkt die Gesamtzahl der Firebase-Apps innerhalb eines Firebase-Projekts auf 30.
Ab dieser Zahl beginnt die Leistung zu sinken (insbesondere bei Google Analytics) und bei einer höheren Anzahl von Apps funktionieren schließlich einige Produktfunktionen nicht mehr. Wenn Sie außerdem die Google-Anmeldung als Authentifizierungsanbieter verwenden, wird für jede App in Ihrem Projekt eine zugrunde liegende OAuth 2.0-Client-ID erstellt. Innerhalb eines einzelnen Projekts können maximal etwa 30 Client-IDs erstellt werden.
Sie sollten sicherstellen, dass alle Firebase-Apps innerhalb eines einzelnen Firebase-Projekts aus Sicht des Endbenutzers Plattformvarianten derselben Anwendung sind. Wenn Sie beispielsweise eine White-Label-Anwendung entwickeln, sollte jede unabhängig gekennzeichnete App über ein eigenes Firebase-Projekt verfügen, die Apple- und Android-Versionen dieses Labels können sich jedoch im selben Projekt befinden. Ausführlichere Anleitungen finden Sie in unseren allgemeinen Best Practices zum Einrichten von Firebase-Projekten .
In dem seltenen Fall, dass Ihr Projekt mehr als 30 Apps erfordert, können Sie eine Erhöhung des App-Limits beantragen. Um diese Anfrage stellen zu können, muss Ihr Projekt im Blaze-Preisplan enthalten sein. Besuchen Sie die Google Cloud Console, um Ihre Anfrage zu stellen und bewerten zu lassen. Weitere Informationen zur Kontingentverwaltung finden Sie in der Google Cloud-Dokumentation.
Was passiert, wenn ich mein Projekt als „Produktionsumgebung“ markiere?
In der Firebase-Konsole können Sie Ihre Firebase-Projekte mit ihrem Umgebungstyp kennzeichnen, entweder als Produktionsumgebung oder als nicht spezifizierte (Nicht-Produkt-)Umgebung.
Das Markieren Ihres Projekts als Umgebungstyp hat keine Auswirkungen auf die Funktionsweise oder die Funktionen Ihres Firebase-Projekts. Das Tagging kann Ihnen und Ihrem Team jedoch dabei helfen, Ihre verschiedenen Firebase-Projekte für den App-Lebenszyklus zu verwalten.
Wenn Sie Ihr Projekt als Produktionsumgebung kennzeichnen, fügen wir dem Projekt in der Firebase-Konsole ein farbenfrohes Prod- Tag hinzu, um Sie daran zu erinnern, dass sich alle Änderungen auf Ihre zugehörigen Produktions-Apps auswirken können. In Zukunft werden wir möglicherweise weitere Funktionen und Sicherheitsvorkehrungen für Firebase-Projekte hinzufügen, die als Produktionsumgebungen gekennzeichnet sind.
Um den Umgebungstyp Ihres Firebase-Projekts zu ändern, gehen Sie zu settings„Projekteinstellungen“ > „Allgemein“ und klicken Sie dann auf der Karte „Ihr Projekt“ unter „Umgebung“ auf edit , um den Umgebungstyp zu ändern.
Wo finde ich die App-ID für meine Firebase-App?
Gehen Sie in der Firebase-Konsole zu Ihren Projekteinstellungensettings Scrollen Sie nach unten zur Karte „Ihre Apps“ und klicken Sie dann auf die gewünschte Firebase-App, um die Informationen der App anzuzeigen, einschließlich ihrer App-ID .
Eine der folgenden Firebase-Rollen: Besitzer oder Firebase-Administrator Und
Eine der folgenden Google Play-Zugriffsebenen: Kontoinhaber oder Administrator
Um Ihre AdMob-App zu verknüpfen, müssen Sie sowohl Firebase-Projekteigentümer als auch AdMob-Administrator sein.
Um Ihr AdWords-Konto zu verknüpfen, müssen Sie sowohl Firebase-Projekteigentümer als auch AdWords-Administrator sein.
Um Ihr BigQuery-Projekt zu verknüpfen, müssen Sie der Eigentümer des Firebase-Projekts sein.
Welche Open-Source-Hinweise sollte ich in meine App aufnehmen?
Auf Apple-Plattformen enthält der Firebase-Pod eine NOTICES-Datei, die die relevanten Einträge enthält. Das Firebase Android SDK enthält eine Activity zum Anzeigen von Lizenzinformationen.
Berechtigungen und Zugriff auf Firebase-Projekte
Wie weise ich einem Projektmitglied eine Rolle zu, beispielsweise die Rolle „Eigentümer“?
Um die jedem Projektmitglied zugewiesenen Rollen zu verwalten, müssen Sie Eigentümer des Firebase-Projekts sein (oder Ihnen muss eine Rolle mit der Berechtigung resourcemanager.projects.setIamPolicy zugewiesen sein).
Hier finden Sie die Orte, an denen Sie Rollen zuweisen und verwalten können:
Die Google Cloud Console bietet umfangreiche Tools zum Zuweisen von Rollen zu Projektmitgliedern auf der IAM- Seite . In der Cloud Console können Sie außerdem benutzerdefinierte Rollen erstellen und verwalten sowie Dienstkonten Zugriff auf Ihr Projekt gewähren.
Beachten Sie, dass Projektmitglieder in der Google Cloud Console als Prinzipale bezeichnet werden.
Wenn der Eigentümer Ihres Projekts die Aufgaben eines Eigentümers nicht mehr ausführen kann (z. B. weil die Person Ihr Unternehmen verlassen hat) und Ihr Projekt nicht über eine Google Cloud-Organisation verwaltet wird (siehe nächster Absatz), können Sie sich an den Firebase-Support wenden ein vorübergehender Eigentümer zugewiesen.
Beachten Sie, dass ein Firebase-Projekt, wenn es Teil einer Google Cloud-Organisation ist, möglicherweise keinen Eigentümer hat. Wenn Sie keinen Eigentümer für Ihr Firebase-Projekt finden, wenden Sie sich an die Person, die Ihre Google Cloud-Organisation verwaltet, um einen Eigentümer für das Projekt zuzuweisen.
Wie finde ich den Eigentümer eines Firebase-Projekts?
Sie können Projektmitglieder und ihre Rollen an den folgenden Orten anzeigen:
Wenn Sie in der Firebase-Konsole Zugriff auf das Projekt haben, können Sie die Liste der Projektmitglieder, einschließlich Eigentümer, auf der Seite „Benutzer und Berechtigungen“ der Firebase-Konsole anzeigen.
Wenn Sie in der Firebase-Konsole keinen Zugriff auf das Projekt haben, prüfen Sie, ob Sie in der Google Cloud Console Zugriff auf das Projekt haben. Sie können die Liste der Projektmitglieder, einschließlich der Eigentümer, auf der IAM- Seite der Google Cloud Console anzeigen.
Wenn der Eigentümer Ihres Projekts die Aufgaben eines Eigentümers nicht mehr ausführen kann (z. B. weil die Person Ihr Unternehmen verlassen hat) und Ihr Projekt nicht über eine Google Cloud-Organisation verwaltet wird (siehe nächster Absatz), können Sie sich an den Firebase-Support wenden ein vorübergehender Eigentümer zugewiesen.
Beachten Sie, dass ein Firebase-Projekt, wenn es Teil einer Google Cloud-Organisation ist, möglicherweise keinen Eigentümer hat. Stattdessen kann die Person, die Ihre Google Cloud-Organisation verwaltet, viele Aufgaben ausführen, die ein Eigentümer ausführen kann. Um jedoch mehrere inhaberspezifische Aufgaben auszuführen (z. B. das Zuweisen von Rollen oder das Verwalten von Google Analytics-Eigenschaften), muss sich der Administrator möglicherweise selbst die eigentliche Eigentümerrolle zuweisen, um diese Aufgaben auszuführen. Wenn Sie keinen Eigentümer für Ihr Firebase-Projekt finden, wenden Sie sich an die Person, die Ihre Google Cloud-Organisation verwaltet, um einen Eigentümer für das Projekt zuzuweisen.
Warum oder wann sollte ich einem Projektmitglied die Rolle „Eigentümer“ zuweisen?
Um die ordnungsgemäße Verwaltung eines Firebase-Projekts sicherzustellen, muss es einen Owner haben. Der Eigentümer eines Projekts ist die Person, die mehrere wichtige administrative Aktionen ausführen kann (z. B. Rollen zuweisen und Google Analytics-Eigenschaften verwalten). Der Firebase-Support kann nur administrative Anfragen von nachgewiesenen Projektinhabern bearbeiten.
Nachdem Sie die Eigentümer für ein Firebase-Projekt eingerichtet haben, ist es wichtig, diese Zuweisungen auf dem neuesten Stand zu halten.
Beachten Sie: Wenn ein Firebase-Projekt Teil einer Google Cloud-Organisation ist, kann die Person, die Ihre Google Cloud-Organisation verwaltet, viele Aufgaben ausführen, die ein Eigentümer ausführen kann. Für mehrere inhaberspezifische Aufgaben (z. B. das Zuweisen von Rollen oder die Verwaltung von Google Analytics-Eigenschaften) muss sich der Administrator jedoch möglicherweise selbst die eigentliche Eigentümerrolle zuweisen, um diese Aufgaben auszuführen.
Ich glaube nicht, dass ich ein Firebase-Projekt habe, aber ich habe eine E-Mail zu einem erhalten. Wie greife ich auf dieses Projekt zu?
Die E-Mail, die Sie erhalten haben, sollte einen Link zum Öffnen Ihres Firebase-Projekts enthalten. Wenn Sie auf den Link in der E-Mail klicken, sollte das Projekt in der Firebase-Konsole geöffnet werden.
Wenn Sie das Projekt über den Link nicht öffnen können, stellen Sie sicher, dass Sie bei Firebase mit demselben Google-Konto angemeldet sind, das die E-Mail zum Projekt erhalten hat. Sie können sich über Ihren Konto-Avatar in der oberen rechten Ecke der Konsole an- und abmelden.
Beachten Sie, dass Sie als Administrator einer Google Cloud-Organisation möglicherweise über Änderungen an Firebase-Projekten innerhalb Ihrer Organisation benachrichtigt werden. Möglicherweise verfügen Sie jedoch nicht über ausreichende Berechtigungen, um das Firebase-Projekt zu öffnen. In diesen Fällen besteht die einfachste Lösung darin, sich selbst die eigentliche Eigentümerrolle zuzuweisen, um das Projekt zu öffnen und die erforderlichen Aktionen auszuführen. Erfahren Sie mehr darüber , warum und wann Sie die Rolle „Besitzer“ zuweisen sollten .
Plattformen und Frameworks
Auf den plattformspezifischen Fehlerbehebungs- und FAQ-Seiten finden Sie hilfreiche Tipps und Antworten auf weitere häufig gestellte Fragen.
Welche Browser werden für den Zugriff auf die Firebase-Konsole unterstützt?
Auf die Firebase-Konsole kann über aktuelle Versionen beliebter Desktop-Browser wie Chrome, Firefox, Safari und Edge zugegriffen werden. Mobile Browser werden derzeit nicht vollständig unterstützt.
Ich kann die Firebase-Konsole laden, aber warum kann ich mein Firebase-Projekt nicht finden oder darauf zugreifen?
Diese FAQ gilt, wenn bei Ihnen eines der folgenden Probleme auftritt:
Die Firebase-Konsole gibt eine Fehlerseite zurück, die besagt, dass Ihr Projekt möglicherweise nicht existiert oder dass Sie keinen Zugriff auf das Projekt haben.
Die Firebase-Konsole zeigt Ihr Projekt nicht an, selbst wenn Sie seine Projekt-ID oder seinen Projektnamen in das Suchfeld der Konsole eingeben.
Probieren Sie die folgenden Schritte zur Fehlerbehebung aus:
Versuchen Sie zunächst, auf Ihr Projekt zuzugreifen, indem Sie direkt die URL des Projekts aufrufen. Verwenden Sie das folgende Format: https://console.firebase.google.com/project/ PROJECT-ID /overview
Wenn Sie immer noch nicht auf das Projekt zugreifen können oder Berechtigungsfehler erhalten, überprüfen Sie Folgendes:
Stellen Sie sicher, dass Sie bei Firebase mit demselben Google-Konto angemeldet sind, das Zugriff auf das Projekt hat. Sie können sich über Ihren Konto-Avatar in der oberen rechten Ecke der Konsole an- und abmelden.
Stellen Sie sicher, dass Ihnen eine der grundlegenden IAM-Rollen (Besitzer, Bearbeiter, Betrachter) oder eine Rolle mit Firebase-bezogenen Berechtigungen zugewiesen ist, beispielsweise eine vordefinierte Firebase-Rolle . Sie können Ihre Rolle(n) auf der IAM- Seite der Google Cloud Console anzeigen.
Wenn Ihr Projekt zu einer Google Cloud-Organisation gehört, benötigen Sie möglicherweise zusätzliche Berechtigungen, um das in der Firebase-Konsole aufgeführte Projekt anzuzeigen. Wenden Sie sich an die Person, die Ihre Google Cloud-Organisation verwaltet, um Ihnen die entsprechende Rolle zum Anzeigen des Projekts zuzuweisen, beispielsweise die Browser-Rolle.
Wenn Sie mit keinem der oben genannten Schritte zur Fehlerbehebung Ihr Projekt finden oder darauf zugreifen können, wenden Sie sich an den Firebase-Support .
Warum lädt die Firebase-Konsole bei mir nicht?
Diese FAQ gilt, wenn bei Ihnen eines der folgenden Probleme auftritt:
Der Ladevorgang einer Seite in der Firebase-Konsole wird nie abgeschlossen.
Daten auf einer Seite werden nicht wie erwartet geladen.
Beim Laden der Firebase-Konsole erhalten Sie Browser-Fehlermeldungen.
Probieren Sie die folgenden Schritte zur Fehlerbehebung aus:
Wenn keiner der oben genannten Schritte zur Fehlerbehebung das Problem löst, wenden Sie sich an den Firebase-Support .
Wie wird die Sprache meiner Firebase-Konsole bestimmt?
Die Spracheinstellung für die Firebase-Konsole basiert auf der in Ihren Google-Kontoeinstellungen ausgewählten Sprache.
Informationen zum Ändern Ihrer Spracheinstellung finden Sie unter Sprache ändern .
Die Firebase-Konsole unterstützt die folgenden Sprachen:
Englisch
Brasilianisches Portugiesisch
Französisch
Deutsch
Indonesisch
japanisch
Koreanisch
Russisch
Vereinfachtes Chinesisch
Spanisch
Traditionelles Chinesisch
Welche Rollen und Berechtigungen unterstützt die Firebase-Konsole?
Die Firebase-Konsole und die Google Cloud Console verwenden dieselben zugrunde liegenden Rollen und Berechtigungen. Weitere Informationen zu Rollen und Berechtigungen finden Sie in der Firebase IAM-Dokumentation .
Ein Projektinhaber kann andere Mitglieder zum Projekt hinzufügen, Integrationen einrichten (Projektverknüpfung mit Diensten wie BigQuery oder Slack) und hat vollständigen Bearbeitungszugriff für das Projekt.
Ein Projekteditor hat vollen Bearbeitungszugriff für das Projekt.
Ein Projektbetrachter hat nur Lesezugriff auf das Projekt. Beachten Sie, dass die Firebase-Konsole derzeit die Bearbeitungs-UI-Steuerelemente für Projektbetrachter nicht ausblendet/deaktiviert. Diese Vorgänge schlagen jedoch für Projektmitglieder fehl, denen die Rolle „Betrachter“ zugewiesen ist.
Firebase unterstützt außerdem:
Vordefinierte Firebase-Rollen – Kuratierte Firebase-spezifische Rollen, die eine detailliertere Zugriffskontrolle ermöglichen als die Basisrollen Besitzer, Bearbeiter und Betrachter.
Benutzerdefinierte Rollen – Vollständig angepasste IAM-Rollen, die Sie erstellen, um eine Reihe von Berechtigungen anzupassen, die den spezifischen Anforderungen Ihrer Organisation entsprechen.
Preisgestaltung
Welche Produkte werden bezahlt? Welche sind kostenlos?
Zu den kostenpflichtigen Infrastrukturprodukten von Firebase gehören die Echtzeitdatenbank, Cloud-Speicher für Firebase, Cloud-Funktionen, Hosting, Testlabor und Telefonauthentifizierung. Für alle diese Funktionen bieten wir eine kostenlose Stufe an.
Firebase verfügt außerdem über viele kostenlose Produkte: Analytics, Cloud Messaging, den Notifications Composer, Remote Config, App Indexing, Dynamic Links und Crash Reporting. Sie können eine unbegrenzte Anzahl dieser Produkte in allen Plänen nutzen, einschließlich unseres kostenlosen Spark-Plans. Darüber hinaus sind alle Authentifizierungsfunktionen über die Telefonauthentifizierung hinaus kostenlos.
Bietet Firebase kostenlose Testguthaben für kostenpflichtige Produkte an?
Bezahlte Firebase-Dienste können im Rahmen der kostenlosen Testversion von Google Cloud genutzt werden. Neue Google Cloud- und Firebase-Benutzer können einen 90-tägigen Testzeitraum nutzen, der 300 US-Dollar an kostenlosem Cloud Billing-Guthaben beinhaltet, um die Produkte und Dienste von Google Cloud und Firebase zu erkunden und zu testen.
Während des kostenlosen Testzeitraums von Google Cloud wird Ihnen ein kostenloses Cloud-Rechnungskonto zur Verfügung gestellt. Für jedes Firebase-Projekt, das dieses Rechnungskonto verwendet, gilt während des kostenlosen Testzeitraums der Blaze-Preisplan.
Keine Sorge, die Einrichtung dieses Cloud-Rechnungskontos für die kostenlose Testversion ermöglicht es uns nicht, Ihnen Gebühren in Rechnung zu stellen. Ihnen werden keine Kosten berechnet, es sei denn, Sie aktivieren die Abrechnung ausdrücklich, indem Sie Ihr Cloud-Rechnungskonto für die kostenlose Testversion auf ein kostenpflichtiges Konto aktualisieren. Sie können während der Testphase jederzeit ein Upgrade auf ein kostenpflichtiges Konto durchführen. Nach dem Upgrade können Sie das verbleibende Guthaben weiterhin nutzen (innerhalb des 90-Tage-Zeitraums).
Sobald die kostenlose Testversion abläuft, müssen Sie Ihr Projekt entweder auf den Spark-Preisplan herunterstufen oder den Blaze-Preisplan in der Firebase-Konsole einrichten, um Ihr Firebase-Projekt weiterhin verwenden zu können.
Woher weiß ich, welcher Preisplan für mich der richtige ist?
Spark-Preisplan
Unser Spark-Plan ist ein großartiger Ort, um Ihre App kostenlos zu entwickeln. Sie erhalten alle kostenlosen Firebase-Funktionen (Analytics, den Notifications Composer, Crashlytics usw.) und großzügige Mengen unserer kostenpflichtigen Infrastrukturfunktionen. Wenn Sie jedoch in einem Kalendermonat die Ressourcen Ihres Spark-Plans überschreiten, wird Ihre App für den Rest dieses Monats abgeschaltet. Darüber hinaus sind die Google Cloud-Funktionen bei Verwendung des Spark-Plans nicht verfügbar.
Blaze-Preisplan
Unser Blaze-Plan ist für Produktionsanwendungen konzipiert. Mit dem Blaze-Plan können Sie Ihre App auch um kostenpflichtige Google Cloud-Funktionen erweitern. Sie zahlen nur für die Ressourcen, die Sie verbrauchen, und können so mit der Nachfrage skalieren. Wir sind bestrebt, die Preise unseres Blaze-Plans mit branchenführenden Cloud-Anbietern konkurrenzfähig zu machen.
Wie kann ich meine Nutzung und Abrechnung überwachen?
Sie können Ihre Nutzung von Projektressourcen in der Firebase-Konsole in jedem der folgenden Dashboards verfolgen:
Im Januar 2020 wurde der Flame-Preisplan (25 USD/Monat zusätzliches Kontingent) als Option für Neuanmeldungen entfernt. Bestehenden Planbenutzern wurde eine Nachfrist gewährt, um ihre Projekte aus dem Flame-Plan zu migrieren. Im Februar 2022 wurden die verbleibenden Projekte des Flame-Preisplans auf den Spark-Preisplan herabgestuft. Entsprechend,
Bestehende Spark- und Blaze-Planprojekte sowie alle neuen Projekte können nicht mehr zum Flame-Plan wechseln oder sich dafür anmelden.
Wenn Sie ein bestehendes Flame-Planprojekt in einen anderen Preisplan verschoben haben, kann das Projekt nicht zum Flame-Plan zurückkehren.
Projekte, die auf den Spark-Plan herabgestuft wurden, können auf den Blaze-Plan aktualisiert werden, um zusätzliche kostenpflichtige Dienste wieder aufzunehmen.
Verweise auf den Flame-Plan wurden aus der Dokumentation entfernt.
Haben Sie weitere Fragen zur Kündigung des Flame-Plans? Lesen Sie unten einige der zusätzlichen FAQs .
Möchten Sie mehr über die anderen von Firebase angebotenen Preispläne erfahren? Besuchen Sie unsere Firebase-Preisseite ! Wenn Sie bestehende Projekte in einen anderen Preisplan verschieben möchten, können Sie dies in der Firebase-Konsole für Ihr Projekt tun.
Zusätzliche FAQs zur Einstellung des Flame-Plans
Ich habe ein Projekt, einen Prozess oder ein Geschäftsmodell, das auf festen Firebase-Kosten basiert. Was soll ich machen?
Kann ich besonderen Zugriff erhalten, um neue Flame-Planprojekte zu erstellen?
Nein, Firebase bietet keinen besonderen Zugang für Projekte, die zum Flame-Plan wechseln oder sich dafür anmelden können.
Ich habe mein Flame-Planprojekt auf einen anderen Preisplan umgestellt. Wie ändere ich es wieder?
Ein Wechsel zum Flame-Plan ist nicht mehr möglich. Um Zugriff auf die vom Flame-Plan bereitgestellten Dienste zu erhalten, stellen Sie sicher, dass Sie den Blaze-Preisplan verwenden, und erwägen Sie die Einrichtung von Budgetbenachrichtigungen für Ihr Projekt.
Mein Projekt wurde im Zuge der Einstellung des Flame-Plans automatisch auf einen anderen Preisplan umgestellt. Was soll ich machen?
Wenn für Ihr Projekt ein zusätzliches Kontingent erforderlich ist, das über das im Spark-Plan vorgesehene hinausgeht, müssen Sie Ihr Projekt auf den Blaze-Preisplan aktualisieren.
Warum wird der Flame-Plan eingestellt?
Im Laufe der Jahre haben wir einen Rückgang der Nutzung des Flame-Plans festgestellt, und die meisten Projekte, die den Plan nutzen, schöpfen nicht seinen vollen Wert aus. Die Beibehaltung dieses Preisplans ist im Allgemeinen nicht kosteneffektiv, und wir sind der Meinung, dass wir allen besser dienen können, wenn Ressourcen in andere Firebase-Initiativen fließen würden.
Wie unterscheidet sich die kostenlose Nutzung im Blaze-Plan von der kostenlosen Nutzung im Spark-Plan?
Die kostenlose Nutzung des Blaze-Plans wird täglich berechnet. Die Nutzungsbeschränkungen unterscheiden sich auch vom Spark-Plan für Cloud-Funktionen, Telefonauthentifizierung und Testlabor.
Für Cloud Functions wird die kostenlose Nutzung des Blaze-Plans auf der Ebene des Cloud-Rechnungskontos und nicht auf Projektebene berechnet und unterliegt den folgenden Beschränkungen:
2 Mio. Aufrufe/Monat
400.000 GB-Sekunden/Monat
200.000 CPU-Sekunden/Monat
5 GB Netzwerkausgang/Monat
Für die Telefonauthentifizierung wird die kostenlose Nutzung des Blaze-Plans monatlich berechnet.
Für Test Lab gelten für die kostenlose Nutzung des Blaze-Plans die folgenden Einschränkungen:
30 physische Geräteminuten/Tag
60 virtuelle Geräteminuten/Tag
Wird das kostenlose Nutzungskontingent zurückgesetzt, wenn ich von einem Spark-Plan zu einem Blaze-Plan wechsle?
Die kostenlose Nutzung des Spark-Plans ist im Blaze-Plan enthalten. Die kostenlose Nutzung wird beim Wechsel zu einem Blaze-Plan nicht zurückgesetzt.
Was ist eine „simultane Datenbankverbindung“?
Eine gleichzeitige Verbindung entspricht der Verbindung eines Mobilgeräts, einer Browser-Registerkarte oder einer Server-App mit der Datenbank. Firebase legt strenge Beschränkungen für die Anzahl gleichzeitiger Verbindungen zur Datenbank Ihrer App fest. Diese Beschränkungen dienen dazu, sowohl Firebase als auch unsere Benutzer vor Missbrauch zu schützen.
Das Limit des Spark-Plans beträgt 100 und kann nicht erhöht werden. Die Flame- und Blaze-Pläne haben ein Limit von 200.000 gleichzeitigen Verbindungen pro Datenbank.
Dieses Limit entspricht nicht der Gesamtzahl der Benutzer Ihrer App, da nicht alle Benutzer gleichzeitig eine Verbindung herstellen. Wenn Sie mehr als 200.000 gleichzeitige Verbindungen benötigen, lesen Sie bitte Scale with Multiple Databases .
Was passiert, wenn ich die Speicher- oder Downloadlimits des Spark-Plans für die Echtzeitdatenbank überschreite?
Um Ihnen einen vorhersehbaren Preis zu bieten, sind die Ihnen in den Spark-Plänen zur Verfügung stehenden Ressourcen begrenzt. Das bedeutet, dass Ihre App ausgeschaltet wird, wenn Sie in einem Monat ein Planlimit überschreiten, um eine weitere Ressourcennutzung und zusätzliche Kosten zu verhindern.
Was passiert, wenn ich die gleichzeitigen Verbindungslimits des Spark-Plans für die Echtzeitdatenbank überschreite?
Wenn Ihre App ihr Parallelitätslimit im Spark-Plan erreicht, werden alle nachfolgenden Verbindungen abgelehnt, bis einige der bestehenden Verbindungen geschlossen werden. Die App funktioniert weiterhin für verbundene Benutzer.
Was passiert, wenn ich die Upload-, Download- oder Speicherlimits des Spark-Plans für Cloud Storage überschreite?
Wenn Sie die Grenzwerte für Cloud-Speicher in einem Projekt im Spark-Plan überschreiten, hängt das Ergebnis von der Art des Grenzwerts ab, den Sie überschreiten:
Wenn Sie die Speichergrenze in GB überschreiten, können Sie keine weiteren Daten in diesem Projekt speichern, es sei denn, Sie entfernen einige der gespeicherten Daten oder aktualisieren auf einen Plan, der mehr Speicherplatz oder unbegrenzten Speicherplatz bietet.
Wenn Sie das heruntergeladene GB- Limit überschreiten, kann Ihre App erst am nächsten Tag (ab Mitternacht, US-Pazifikzeit) weitere Daten herunterladen, es sei denn, Sie aktualisieren auf einen Plan mit weniger restriktiven Limits oder ohne Limits.
Wenn Sie das Limit für Upload- oder Download-Vorgänge überschreiten, kann Ihre App bis zum nächsten Tag (ab Mitternacht, US-Pazifikzeit) keine weiteren Daten hoch- oder herunterladen, es sei denn, Sie aktualisieren auf einen Plan mit weniger restriktiven Limits oder ohne Grenzen.
Wie funktioniert die Integration von Firebase mit Google Cloud?
Firebase ist tief in Google Cloud integriert. Projekte werden zwischen Firebase und Google Cloud geteilt, sodass für Projekte Firebase-Dienste und Google Cloud-Dienste aktiviert sein können. Sie können über die Firebase-Konsole oder die Google Cloud Console auf dasselbe Projekt zugreifen. Speziell:
Bestimmte Firebase-Produkte werden direkt von Google Cloud unterstützt, beispielsweise Cloud Storage für Firebase. Die Liste der von Google Cloud unterstützten Produkte wird im Laufe der Zeit weiter wachsen.
Viele Ihrer Einstellungen, einschließlich Mitarbeiter- und Rechnungsinformationen, werden von Firebase und Google Cloud gemeinsam genutzt. Ihre Nutzung von Firebase und Google Cloud erscheint auf derselben Rechnung.
Darüber hinaus können Sie beim Upgrade auf den Blaze-Plan alle erstklassigen Infrastructure-as-a-Services und APIs von Google Cloud direkt in Ihrem Firebase-Projekt zum Standardpreis von Google Cloud nutzen. Sie können Daten zur Analyse auch direkt aus Google Cloud nach BigQuery exportieren. Weitere Informationen finden Sie unter BigQuery mit Firebase verknüpfen.
Die Verwendung von Google Cloud mit Firebase bietet viele sicherheitssteigernde, latenzverbessernde und zeitsparende Vorteile (im Vergleich zu anderen Cloud-Diensten, die nicht am gleichen Standort verfügbar sind). Weitere Informationen finden Sie auf der Google Cloud-Website .
Was passiert mit meinem Firebase-Projekt, wenn ich in der Google Cloud Console Rechnungskonten für dieses Projekt hinzufüge oder entferne?
Wenn einem Projekt in der Google Cloud Console ein Cloud-Rechnungskonto hinzugefügt wird, wird dasselbe Projekt automatisch auf den Firebase Blaze-Plan aktualisiert, wenn sich dieses Projekt derzeit im Spark-Plan befindet.
Wenn dagegen ein vorhandenes aktives Cloud-Rechnungskonto aus einem Projekt in der Google Cloud Console entfernt wird, wird dieses Projekt auf den Firebase Spark-Plan herabgestuft.
Kann ich jederzeit upgraden, downgraden oder kündigen?
Ja, Sie können jederzeit upgraden, downgraden oder kündigen. Bitte beachten Sie, dass wir bei Herabstufungen oder Stornierungen keine anteilige Rückerstattung leisten. Das bedeutet, dass Sie bei einem Downgrade oder einer Kündigung vor Ablauf des Abrechnungszeitraums weiterhin für den Rest des Monats bezahlen.
Welche Unterstützung erhalte ich?
All Firebase apps, including those using no-cost plans, come with email support from Firebase staff during US Pacific business hours. All accounts have unlimited support for billing-related issues, account-related issues, technical (troubleshooting) questions, and incident reports.
Can I cap usage on the Blaze plan?
No, you cannot currently cap your Blaze plan usage. We are evaluating options for supporting caps on Blaze plan usage.
Blaze users can define a budget for their project or account, and receive alerts as their spending approaches those limits. Learn how to set up budget alerts .
What are automated backups? Do you offer hourly backups?
Automated backups are an advanced feature for customers on our Blaze pricing plan that backs up your Firebase Realtime Database data once a day and uploads it to Google Cloud Storage .
We do not offer hourly backups.
Do you offer open-source, nonprofit, or educational discounts?
Our Spark plan can be used by any type of individual or organization, including nonprofits, schools, and open-source projects. Since these plans already include generous quotas, we don't offer any special discounts or plans for open-source, nonprofit, or educational projects.
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?
Yes. 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.
Privacy
Where can I find information about privacy and security in Firebase?
Do the Firebase SDKs log any usage/diagnostic information outside of Analytics?
Yes. 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.
AdMob
AdMob: Can I link my Windows apps to Firebase?
No, Windows apps are not currently supported.
AdMob: Why can't I link my app to AdMob from the Firebase console?
You can link an AdMob app to a Firebase app via the AdMob console. Learn how.
AdMob: What permissions or access do I need to link a Firebase app to an AdMob app?
In order to do this linking, you need the following access:
AdMob : You need to be an AdMob admin.
Firebase : You must have the firebase.links.create permission, which is included in the Owner role and the Firebase Admin role .
Google Analytics : You must have the Edit role or Manage Users role for the property associated with the Firebase project. Learn more.
AdMob: Can multiple users in the same AdMob account link AdMob apps and Firebase apps?
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.1.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 in my iOS app: Can I install Analytics without ad attribution and IDFA collection features?
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.
Authentication
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
AD
Andorra
AE
United Arab Emirates
AF
Afghanistan
AG
Antigua and Barbuda
AL
Albania
AM
Armenia
AO
Angola
AR
Argentina
AS
American Samoa
AT
Austria
AU
Australia
AW
Aruba
AZ
Azerbaijan
BA
Bosnia and Herzegovina
BB
Barbados
BD
Bangladesh
BE
Belgium
BF
Burkina Faso
BG
Bulgaria
BJ
Benin
BM
Bermuda
BN
Brunei Darussalam
BO
Bolivia
BR
Brazil
BS
Bahamas
BT
Bhutan
BW
Botswana
BY
Belarus
BZ
Belize
CA
Canada
CD
Congo, (Kinshasa)
CF
Central African Republic
CG
Congo (Brazzaville)
CH
Switzerland
CI
Côte d'Ivoire
CK
Cook Islands
CL
Chile
CM
Cameroon
CO
Colombia
CR
Costa Rica
CV
Cape Verde
CW
Curaçao
CY
Cyprus
CZ
Czech Republic
DE
Deutschland
DJ
Djibouti
DK
Denmark
DM
Dominica
DO
Dominican Republic
DZ
Algeria
EC
Ecuador
EG
Egypt
ES
Spain
ET
Ethiopia
FI
Finland
FJ
Fiji
FK
Falkland Islands (Malvinas)
FM
Micronesia, Federated States of
FO
Faroe Islands
FR
France
GA
Gabon
GB
United Kingdom
GD
Grenada
GE
Georgia
GF
French Guiana
GG
Guernsey
GH
Ghana
GI
Gibraltar
GL
Greenland
GM
Gambia
GP
Guadeloupe
GQ
Equatorial Guinea
GR
Greece
GT
Guatemala
GY
Guyana
HK
Hong Kong, SAR China
HN
Honduras
HR
Croatia
HT
Haiti
HU
Hungary
ID
Indonesia
IE
Ireland
IL
Israel
IM
Isle of Man
IN
India
IQ
Iraq
IT
Italy
JE
Jersey
JM
Jamaica
JO
Jordan
JP
Japan
KE
Kenya
KG
Kyrgyzstan
KH
Cambodia
KM
Comoros
KN
Saint Kitts and Nevis
KR
Korea (South)
KW
Kuwait
KY
Cayman Islands
KZ
Kazakhstan
LA
Lao PDR
LB
Lebanon
LC
Saint Lucia
LI
Liechtenstein
LK
Sri Lanka
LS
Lesotho
LT
Lithuania
LU
Luxembourg
LV
Latvia
LY
Libya
MA
Morocco
MD
Moldova
ME
Montenegro
MF
Saint-Martin (French part)
MG
Madagascar
MK
Macedonia, Republic of
MM
Myanmar
MN
Mongolia
MO
Macao, SAR China
MS
Montserrat
MT
Malta
MU
Mauritius
MW
Malawi
MX
Mexico
MY
Malaysia
MZ
Mozambique
NA
Namibia
NC
New Caledonia
NE
Niger
NF
Norfolk Island
NG
Nigeria
NI
Nicaragua
NL
Netherlands
NO
Norway
NP
Nepal
NZ
New Zealand
OM
Oman
PA
Panama
PE
Peru
PG
Papua New Guinea
PH
Philippines
PK
Pakistan
PL
Poland
PM
Saint Pierre and Miquelon
PR
Puerto Rico
PS
Palestinian Territory
PT
Portugal
PY
Paraguay
QA
Qatar
RE
Réunion
RO
Romania
RS
Serbia
RU
Russian Federation
RW
Rwanda
SA
Saudi Arabia
SC
Seychelles
SE
Sweden
SG
Singapore
SH
Saint Helena
SI
Slovenia
SK
Slovakia
SL
Sierra Leone
SN
Senegal
SR
Suriname
ST
Sao Tome and Principe
SV
El Salvador
SZ
Swaziland
TC
Turks and Caicos Islands
TG
Togo
TH
Thailand
TL
Timor-Leste
TM
Turkmenistan
TO
Tonga
TR
Turkey
TT
Trinidad and Tobago
TW
Taiwan, Republic of China
TZ
Tanzania, United Republic of
UA
Ukraine
UG
Uganda
US
United States of America
UY
Uruguay
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
South Africa
ZM
Zambia
ZW
Zimbabwe
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. Klicken Sie auf Speichern .
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?
Yes. 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
Target
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. Do I need to do anything?
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
Target
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. What should I do?
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.
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: 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: 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.