CINXE.COM
Firebase FAQ
<!doctype html> <html lang="en" dir="ltr"> <head> <meta name="google-signin-client-id" content="721724668570-nbkv1cfusk7kk4eni4pjvepaus73b13t.apps.googleusercontent.com"> <meta name="google-signin-scope" content="profile email https://www.googleapis.com/auth/developerprofiles https://www.googleapis.com/auth/developerprofiles.award"> <meta property="og:site_name" content="Firebase"> <meta property="og:type" content="website"><meta name="theme-color" content="#a8c7fa"><meta charset="utf-8"> <meta content="IE=Edge" http-equiv="X-UA-Compatible"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="manifest" href="/_pwa/firebase/manifest.json" crossorigin="use-credentials"> <link rel="preconnect" href="//www.gstatic.com" crossorigin> <link rel="preconnect" href="//fonts.gstatic.com" crossorigin> <link rel="preconnect" href="//fonts.googleapis.com" crossorigin> <link rel="preconnect" href="//apis.google.com" crossorigin> <link rel="preconnect" href="//www.google-analytics.com" crossorigin><link rel="stylesheet" href="//fonts.googleapis.com/css?family=Google+Sans:400,500|Roboto:400,400italic,500,500italic,700,700italic|Roboto+Mono:400,500,700&display=swap"> <link rel="stylesheet" href="//fonts.googleapis.com/css2?family=Material+Icons&family=Material+Symbols+Outlined&display=block"><link rel="stylesheet" href="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/firebase/css/app.css"> <link rel="stylesheet" href="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/firebase/css/dark-theme.css" disabled> <link rel="shortcut icon" href="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/firebase/images/favicon.png"> <link rel="apple-touch-icon" href="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/firebase/images/touchicon-180.png"><link rel="canonical" href="https://firebase.google.com/support/faq"><link rel="search" type="application/opensearchdescription+xml" title="Firebase" href="https://firebase.google.com/s/opensearch.xml"> <link rel="alternate" hreflang="en" href="https://firebase.google.com/support/faq" /><link rel="alternate" hreflang="x-default" href="https://firebase.google.com/support/faq" /><link rel="alternate" hreflang="ar" href="https://firebase.google.com/support/faq?hl=ar" /><link rel="alternate" hreflang="bn" href="https://firebase.google.com/support/faq?hl=bn" /><link rel="alternate" hreflang="zh-Hans" href="https://firebase.google.com/support/faq?hl=zh-cn" /><link rel="alternate" hreflang="zh-Hant" href="https://firebase.google.com/support/faq?hl=zh-tw" /><link rel="alternate" hreflang="fa" href="https://firebase.google.com/support/faq?hl=fa" /><link rel="alternate" hreflang="fr" href="https://firebase.google.com/support/faq?hl=fr" /><link rel="alternate" hreflang="de" href="https://firebase.google.com/support/faq?hl=de" /><link rel="alternate" hreflang="he" href="https://firebase.google.com/support/faq?hl=he" /><link rel="alternate" hreflang="hi" href="https://firebase.google.com/support/faq?hl=hi" /><link rel="alternate" hreflang="id" href="https://firebase.google.com/support/faq?hl=id" /><link rel="alternate" hreflang="it" href="https://firebase.google.com/support/faq?hl=it" /><link rel="alternate" hreflang="ja" href="https://firebase.google.com/support/faq?hl=ja" /><link rel="alternate" hreflang="ko" href="https://firebase.google.com/support/faq?hl=ko" /><link rel="alternate" hreflang="pl" href="https://firebase.google.com/support/faq?hl=pl" /><link rel="alternate" hreflang="pt-BR" href="https://firebase.google.com/support/faq?hl=pt-br" /><link rel="alternate" hreflang="pt" href="https://firebase.google.com/support/faq?hl=pt" /><link rel="alternate" hreflang="ru" href="https://firebase.google.com/support/faq?hl=ru" /><link rel="alternate" hreflang="es" href="https://firebase.google.com/support/faq?hl=es" /><link rel="alternate" hreflang="es-419" href="https://firebase.google.com/support/faq?hl=es-419" /><link rel="alternate" hreflang="th" href="https://firebase.google.com/support/faq?hl=th" /><link rel="alternate" hreflang="tr" href="https://firebase.google.com/support/faq?hl=tr" /><link rel="alternate" hreflang="vi" href="https://firebase.google.com/support/faq?hl=vi" /><title>Firebase FAQ</title> <meta property="og:title" content="Firebase FAQ"><meta property="og:url" content="https://firebase.google.com/support/faq"><meta property="og:locale" content="en"><script type="application/ld+json"> { "@context": "https://schema.org", "@type": "Article", "headline": "Firebase FAQ" } </script> <link rel="stylesheet" href="/extras.css"></head> <body class="" template="page" theme="firebase-icy-theme" type="article" appearance layout="docs" concierge='closed' display-toc pending> <devsite-progress type="indeterminate" id="app-progress"></devsite-progress> <section class="devsite-wrapper"> <devsite-cookie-notification-bar></devsite-cookie-notification-bar><devsite-header role="banner" keep-tabs-visible> <div class="devsite-header--inner nocontent"> <div class="devsite-top-logo-row-wrapper-wrapper"> <div class="devsite-top-logo-row-wrapper"> <div class="devsite-top-logo-row"> <button type="button" id="devsite-hamburger-menu" class="devsite-header-icon-button button-flat material-icons gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Navigation menu button" visually-hidden aria-label="Open menu"> </button> <div class="devsite-product-name-wrapper"> <a href="/" class="devsite-site-logo-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Site logo" track-type="globalNav" track-name="firebase" track-metadata-position="nav" track-metadata-eventDetail="nav"> <picture> <source srcset="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/firebase/images/lockup.svg" media="(prefers-color-scheme: dark)" class="devsite-dark-theme" alt="Firebase"> <img src="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/firebase/images/lockup.svg" class="devsite-site-logo" alt="Firebase"> </picture> </a> <span class="devsite-product-name"> <ul class="devsite-breadcrumb-list" > <li class="devsite-breadcrumb-item "> </li> </ul> </span> </div> <div class="devsite-top-logo-row-middle"> <div class="devsite-header-upper-tabs"> <devsite-tabs class="upper-tabs"> <nav class="devsite-tabs-wrapper" aria-label="Upper tabs"> <tab class="devsite-dropdown "> <a href="https://firebase.google.com/products-build" track-metadata-eventdetail="https://firebase.google.com/products-build" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - build" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Build" track-name="build" > Build </a> <a href="#" role="button" aria-haspopup="true" aria-expanded="false" aria-label="Dropdown menu for Build" track-type="nav" track-metadata-eventdetail="https://firebase.google.com/products-build" track-metadata-position="nav - build" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Build" track-name="build" class="devsite-tabs-dropdown-toggle devsite-icon devsite-icon-arrow-drop-down"></a> <div class="devsite-tabs-dropdown" aria-label="submenu" hidden> <div class="devsite-tabs-dropdown-content"> <div class="devsite-tabs-dropdown-column firebase-dropdown firebase-dropdown--primary firebase-build"> <ul class="devsite-tabs-dropdown-section "> <li class="devsite-nav-title" role="heading" tooltip>Build</li> <li class="devsite-nav-description">Get to market quickly and securely with products that can scale globally </li> <li class="devsite-nav-item"> <a href="https://firebase.google.com/products-build" track-type="nav" track-metadata-eventdetail="https://firebase.google.com/products-build" track-metadata-position="nav - build" track-metadata-module="tertiary nav" track-metadata-module_headline="build" tooltip > <div class="devsite-nav-item-title"> Go to Build </div> </a> </li> </ul> </div> <div class="devsite-tabs-dropdown-column firebase-dropdown firebase-dropdown--secondary firebase-build"> <ul class="devsite-tabs-dropdown-section "> <li class="devsite-nav-title" role="heading" tooltip>Build Products</li> <li class="devsite-nav-item"> <a href="https://firebase.google.com/products/app-check" track-type="nav" track-metadata-eventdetail="https://firebase.google.com/products/app-check" track-metadata-position="nav - build" track-metadata-module="tertiary nav" track-metadata-module_headline="build products" tooltip > <div class="devsite-nav-item-title"> App Check </div> </a> </li> <li class="devsite-nav-item"> <a href="https://firebase.google.com/products/app-hosting" track-type="nav" track-metadata-eventdetail="https://firebase.google.com/products/app-hosting" track-metadata-position="nav - build" track-metadata-module="tertiary nav" track-metadata-module_headline="build products" tooltip > <div class="devsite-nav-item-title"> App Hosting </div> </a> </li> <li class="devsite-nav-item"> <a href="https://firebase.google.com/products/auth" track-type="nav" track-metadata-eventdetail="https://firebase.google.com/products/auth" track-metadata-position="nav - build" track-metadata-module="tertiary nav" track-metadata-module_headline="build products" tooltip > <div class="devsite-nav-item-title"> Authentication </div> </a> </li> <li class="devsite-nav-item"> <a href="https://firebase.google.com/products/functions" track-type="nav" track-metadata-eventdetail="https://firebase.google.com/products/functions" track-metadata-position="nav - build" track-metadata-module="tertiary nav" track-metadata-module_headline="build products" tooltip > <div class="devsite-nav-item-title"> Cloud Functions </div> </a> </li> <li class="devsite-nav-item"> <a href="https://firebase.google.com/products/storage" track-type="nav" track-metadata-eventdetail="https://firebase.google.com/products/storage" track-metadata-position="nav - build" track-metadata-module="tertiary nav" track-metadata-module_headline="build products" tooltip > <div class="devsite-nav-item-title"> Cloud Storage </div> </a> </li> <li class="devsite-nav-item"> <a href="https://firebase.google.com/products/data-connect" track-type="nav" track-metadata-eventdetail="https://firebase.google.com/products/data-connect" track-metadata-position="nav - build" track-metadata-module="tertiary nav" track-metadata-module_headline="build products" tooltip > <div class="devsite-nav-item-title"> Data Connect </div> </a> </li> <li class="devsite-nav-item"> <a href="https://firebase.google.com/products/extensions" track-type="nav" track-metadata-eventdetail="https://firebase.google.com/products/extensions" track-metadata-position="nav - build" track-metadata-module="tertiary nav" track-metadata-module_headline="build products" tooltip > <div class="devsite-nav-item-title"> Extensions </div> </a> </li> </ul> <ul class="devsite-tabs-dropdown-section "> <li class="devsite-nav-item"> <a href="https://firebase.google.com/products/ml" track-type="nav" track-metadata-eventdetail="https://firebase.google.com/products/ml" track-metadata-position="nav - build" track-metadata-module="tertiary nav" track-metadata-module_headline="build products" tooltip > <div class="devsite-nav-item-title"> Firebase ML </div> </a> </li> <li class="devsite-nav-item"> <a href="https://firebase.google.com/products/firestore" track-type="nav" track-metadata-eventdetail="https://firebase.google.com/products/firestore" track-metadata-position="nav - build" track-metadata-module="tertiary nav" track-metadata-module_headline="build products" tooltip > <div class="devsite-nav-item-title"> Firestore </div> </a> </li> <li class="devsite-nav-item"> <a href="https://firebase.google.com/products/genkit" track-type="nav" track-metadata-eventdetail="https://firebase.google.com/products/genkit" track-metadata-position="nav - build" track-metadata-module="tertiary nav" track-metadata-module_headline="build products" tooltip > <div class="devsite-nav-item-title"> Genkit </div> </a> </li> <li class="devsite-nav-item"> <a href="https://firebase.google.com/products/hosting" track-type="nav" track-metadata-eventdetail="https://firebase.google.com/products/hosting" track-metadata-position="nav - build" track-metadata-module="tertiary nav" track-metadata-module_headline="build products" tooltip > <div class="devsite-nav-item-title"> Hosting </div> </a> </li> <li class="devsite-nav-item"> <a href="https://firebase.google.com/products/realtime-database" track-type="nav" track-metadata-eventdetail="https://firebase.google.com/products/realtime-database" track-metadata-position="nav - build" track-metadata-module="tertiary nav" track-metadata-module_headline="build products" tooltip > <div class="devsite-nav-item-title"> Realtime Database </div> </a> </li> <li class="devsite-nav-item"> <a href="https://firebase.google.com/products/vertex-ai-in-firebase" track-type="nav" track-metadata-eventdetail="https://firebase.google.com/products/vertex-ai-in-firebase" track-metadata-position="nav - build" track-metadata-module="tertiary nav" track-metadata-module_headline="build products" tooltip > <div class="devsite-nav-item-title"> Vertex AI in Firebase </div> </a> </li> <li class="devsite-nav-item"> <a href="https://firebase.google.com/products/generative-ai" track-type="nav" track-metadata-eventdetail="https://firebase.google.com/products/generative-ai" track-metadata-position="nav - build" track-metadata-module="tertiary nav" track-metadata-module_headline="build products" tooltip > <div class="devsite-nav-item-title"> Generative AI </div> </a> </li> </ul> </div> </div> </div> </tab> <tab class="devsite-dropdown "> <a href="https://firebase.google.com/products-run" track-metadata-eventdetail="https://firebase.google.com/products-run" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - run" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Run" track-name="run" > Run </a> <a href="#" role="button" aria-haspopup="true" aria-expanded="false" aria-label="Dropdown menu for Run" track-type="nav" track-metadata-eventdetail="https://firebase.google.com/products-run" track-metadata-position="nav - run" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Run" track-name="run" class="devsite-tabs-dropdown-toggle devsite-icon devsite-icon-arrow-drop-down"></a> <div class="devsite-tabs-dropdown" aria-label="submenu" hidden> <div class="devsite-tabs-dropdown-content"> <div class="devsite-tabs-dropdown-column firebase-dropdown firebase-dropdown--primary firebase-run"> <ul class="devsite-tabs-dropdown-section "> <li class="devsite-nav-title" role="heading" tooltip>Run</li> <li class="devsite-nav-description">Run your app with confidence and deliver the best experience for your users </li> <li class="devsite-nav-item"> <a href="https://firebase.google.com/products-run" track-type="nav" track-metadata-eventdetail="https://firebase.google.com/products-run" track-metadata-position="nav - run" track-metadata-module="tertiary nav" track-metadata-module_headline="run" tooltip > <div class="devsite-nav-item-title"> Go to Run </div> </a> </li> </ul> </div> <div class="devsite-tabs-dropdown-column firebase-dropdown firebase-dropdown--secondary"> <ul class="devsite-tabs-dropdown-section "> <li class="devsite-nav-title" role="heading" tooltip>Run Products</li> <li class="devsite-nav-item"> <a href="https://firebase.google.com/products/ab-testing" track-type="nav" track-metadata-eventdetail="https://firebase.google.com/products/ab-testing" track-metadata-position="nav - run" track-metadata-module="tertiary nav" track-metadata-module_headline="run products" tooltip > <div class="devsite-nav-item-title"> A/B Testing </div> </a> </li> <li class="devsite-nav-item"> <a href="https://firebase.google.com/products/app-distribution" track-type="nav" track-metadata-eventdetail="https://firebase.google.com/products/app-distribution" track-metadata-position="nav - run" track-metadata-module="tertiary nav" track-metadata-module_headline="run products" tooltip > <div class="devsite-nav-item-title"> App Distribution </div> </a> </li> <li class="devsite-nav-item"> <a href="https://firebase.google.com/products/cloud-messaging" track-type="nav" track-metadata-eventdetail="https://firebase.google.com/products/cloud-messaging" track-metadata-position="nav - run" track-metadata-module="tertiary nav" track-metadata-module_headline="run products" tooltip > <div class="devsite-nav-item-title"> Cloud Messaging </div> </a> </li> <li class="devsite-nav-item"> <a href="https://firebase.google.com/products/crashlytics" track-type="nav" track-metadata-eventdetail="https://firebase.google.com/products/crashlytics" track-metadata-position="nav - run" track-metadata-module="tertiary nav" track-metadata-module_headline="run products" tooltip > <div class="devsite-nav-item-title"> Crashlytics </div> </a> </li> <li class="devsite-nav-item"> <a href="https://firebase.google.com/products/analytics" track-type="nav" track-metadata-eventdetail="https://firebase.google.com/products/analytics" track-metadata-position="nav - run" track-metadata-module="tertiary nav" track-metadata-module_headline="run products" tooltip > <div class="devsite-nav-item-title"> Google Analytics </div> </a> </li> </ul> <ul class="devsite-tabs-dropdown-section "> <li class="devsite-nav-item"> <a href="https://firebase.google.com/products/in-app-messaging" track-type="nav" track-metadata-eventdetail="https://firebase.google.com/products/in-app-messaging" track-metadata-position="nav - run" track-metadata-module="tertiary nav" track-metadata-module_headline="run products" tooltip > <div class="devsite-nav-item-title"> In-App Messaging </div> </a> </li> <li class="devsite-nav-item"> <a href="https://firebase.google.com/products/performance" track-type="nav" track-metadata-eventdetail="https://firebase.google.com/products/performance" track-metadata-position="nav - run" track-metadata-module="tertiary nav" track-metadata-module_headline="run products" tooltip > <div class="devsite-nav-item-title"> Performance Monitoring </div> </a> </li> <li class="devsite-nav-item"> <a href="https://firebase.google.com/products/remote-config" track-type="nav" track-metadata-eventdetail="https://firebase.google.com/products/remote-config" track-metadata-position="nav - run" track-metadata-module="tertiary nav" track-metadata-module_headline="run products" tooltip > <div class="devsite-nav-item-title"> Remote Config </div> </a> </li> <li class="devsite-nav-item"> <a href="https://firebase.google.com/products/test-lab" track-type="nav" track-metadata-eventdetail="https://firebase.google.com/products/test-lab" track-metadata-position="nav - run" track-metadata-module="tertiary nav" track-metadata-module_headline="run products" tooltip > <div class="devsite-nav-item-title"> Test Lab </div> </a> </li> </ul> </div> </div> </div> </tab> <tab > <a href="https://firebase.google.com/solutions" track-metadata-eventdetail="https://firebase.google.com/solutions" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - solutions" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Solutions" track-name="solutions" > Solutions </a> </tab> <tab > <a href="https://firebase.google.com/pricing" track-metadata-eventdetail="https://firebase.google.com/pricing" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - pricing" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Pricing" track-name="pricing" > Pricing </a> </tab> <tab class="devsite-dropdown "> <a href="https://firebase.google.com/docs" track-metadata-eventdetail="https://firebase.google.com/docs" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - docs" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Docs" track-name="docs" > Docs </a> <a href="#" role="button" aria-haspopup="true" aria-expanded="false" aria-label="Dropdown menu for Docs" track-type="nav" track-metadata-eventdetail="https://firebase.google.com/docs" track-metadata-position="nav - docs" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Docs" track-name="docs" class="devsite-tabs-dropdown-toggle devsite-icon devsite-icon-arrow-drop-down"></a> <div class="devsite-tabs-dropdown" aria-label="submenu" hidden> <div class="devsite-tabs-dropdown-content"> <div class="devsite-tabs-dropdown-column "> <ul class="devsite-tabs-dropdown-section "> <li class="devsite-nav-item"> <a href="https://firebase.google.com/docs" track-type="nav" track-metadata-eventdetail="https://firebase.google.com/docs" track-metadata-position="nav - docs" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Overview </div> </a> </li> <li class="devsite-nav-item"> <a href="https://firebase.google.com/docs/guides" track-type="nav" track-metadata-eventdetail="https://firebase.google.com/docs/guides" track-metadata-position="nav - docs" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Fundamentals </div> </a> </li> <li class="devsite-nav-item"> <a href="https://firebase.google.com/docs/build" track-type="nav" track-metadata-eventdetail="https://firebase.google.com/docs/build" track-metadata-position="nav - docs" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Build </div> </a> </li> <li class="devsite-nav-item"> <a href="https://firebase.google.com/docs/run" track-type="nav" track-metadata-eventdetail="https://firebase.google.com/docs/run" track-metadata-position="nav - docs" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Run </div> </a> </li> <li class="devsite-nav-item"> <a href="https://firebase.google.com/docs/reference" track-type="nav" track-metadata-eventdetail="https://firebase.google.com/docs/reference" track-metadata-position="nav - docs" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Reference </div> </a> </li> <li class="devsite-nav-item"> <a href="https://firebase.google.com/docs/samples" track-type="nav" track-metadata-eventdetail="https://firebase.google.com/docs/samples" track-metadata-position="nav - docs" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Samples </div> </a> </li> </ul> </div> </div> </div> </tab> <tab class="devsite-dropdown "> <a href="https://firebase.google.com/community" track-metadata-eventdetail="https://firebase.google.com/community" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - community" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Community" track-name="community" > Community </a> <a href="#" role="button" aria-haspopup="true" aria-expanded="false" aria-label="Dropdown menu for Community" track-type="nav" track-metadata-eventdetail="https://firebase.google.com/community" track-metadata-position="nav - community" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Community" track-name="community" class="devsite-tabs-dropdown-toggle devsite-icon devsite-icon-arrow-drop-down"></a> <div class="devsite-tabs-dropdown" aria-label="submenu" hidden> <div class="devsite-tabs-dropdown-content"> <div class="devsite-tabs-dropdown-column "> <ul class="devsite-tabs-dropdown-section "> <li class="devsite-nav-item"> <a href="https://firebase.google.com/community/learn" track-type="nav" track-metadata-eventdetail="https://firebase.google.com/community/learn" track-metadata-position="nav - community" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Learn </div> </a> </li> <li class="devsite-nav-item"> <a href="https://firebase.google.com/community/events" track-type="nav" track-metadata-eventdetail="https://firebase.google.com/community/events" track-metadata-position="nav - community" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Events </div> </a> </li> <li class="devsite-nav-item"> <a href="https://firebase.google.com/community/stories" track-type="nav" track-metadata-eventdetail="https://firebase.google.com/community/stories" track-metadata-position="nav - community" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Stories </div> </a> </li> </ul> </div> </div> </div> </tab> <tab class="devsite-active"> <a href="https://firebase.google.com/support" track-metadata-eventdetail="https://firebase.google.com/support" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - support" track-metadata-module="primary nav" aria-label="Support, selected" data-category="Site-Wide Custom Events" data-label="Tab: Support" track-name="support" > Support </a> </tab> </nav> </devsite-tabs> </div> <devsite-search enable-signin enable-search enable-suggestions enable-query-completion project-name="Firebase" tenant-name="Firebase" > <form class="devsite-search-form" action="https://firebase.google.com/s/results" method="GET"> <div class="devsite-search-container"> <button type="button" search-open class="devsite-search-button devsite-header-icon-button button-flat material-icons" aria-label="Open search"></button> <div class="devsite-searchbox"> <input aria-activedescendant="" aria-autocomplete="list" aria-label="Search" aria-expanded="false" aria-haspopup="listbox" autocomplete="off" class="devsite-search-field devsite-search-query" name="q" placeholder="Search" role="combobox" type="text" value="" > <div class="devsite-search-image material-icons" aria-hidden="true"> </div> <div class="devsite-search-shortcut-icon-container" aria-hidden="true"> <kbd class="devsite-search-shortcut-icon">/</kbd> </div> </div> </div> </form> <button type="button" search-close class="devsite-search-button devsite-header-icon-button button-flat material-icons" aria-label="Close search"></button> </devsite-search> </div> <devsite-appearance-selector></devsite-appearance-selector> <devsite-language-selector> <ul role="presentation"> <li role="presentation"> <a role="menuitem" lang="en" >English</a> </li> <li role="presentation"> <a role="menuitem" lang="de" >Deutsch</a> </li> <li role="presentation"> <a role="menuitem" lang="es" >Español</a> </li> <li role="presentation"> <a role="menuitem" lang="es_419" >Español – América Latina</a> </li> <li role="presentation"> <a role="menuitem" lang="fr" >Français</a> </li> <li role="presentation"> <a role="menuitem" lang="id" >Indonesia</a> </li> <li role="presentation"> <a role="menuitem" lang="it" >Italiano</a> </li> <li role="presentation"> <a role="menuitem" lang="pl" >Polski</a> </li> <li role="presentation"> <a role="menuitem" lang="pt" >Português</a> </li> <li role="presentation"> <a role="menuitem" lang="pt_br" >Português – Brasil</a> </li> <li role="presentation"> <a role="menuitem" lang="vi" >Tiếng Việt</a> </li> <li role="presentation"> <a role="menuitem" lang="tr" >Türkçe</a> </li> <li role="presentation"> <a role="menuitem" lang="ru" >Русский</a> </li> <li role="presentation"> <a role="menuitem" lang="he" >עברית</a> </li> <li role="presentation"> <a role="menuitem" lang="ar" >العربيّة</a> </li> <li role="presentation"> <a role="menuitem" lang="fa" >فارسی</a> </li> <li role="presentation"> <a role="menuitem" lang="hi" >हिंदी</a> </li> <li role="presentation"> <a role="menuitem" lang="bn" >বাংলা</a> </li> <li role="presentation"> <a role="menuitem" lang="th" >ภาษาไทย</a> </li> <li role="presentation"> <a role="menuitem" lang="zh_cn" >中文 – 简体</a> </li> <li role="presentation"> <a role="menuitem" lang="zh_tw" >中文 – 繁體</a> </li> <li role="presentation"> <a role="menuitem" lang="ja" >日本語</a> </li> <li role="presentation"> <a role="menuitem" lang="ko" >한국어</a> </li> </ul> </devsite-language-selector> <a class="devsite-header-link devsite-top-button button gc-analytics-event" href="//console.firebase.google.com" data-category="Site-Wide Custom Events" data-label="Site header link" > Go to console </a> <devsite-user enable-profiles fp-auth id="devsite-user"> <span class="button devsite-top-button" aria-hidden="true" visually-hidden>Sign in</span> </devsite-user> </div> </div> </div> <div class="devsite-collapsible-section devsite-header-no-lower-tabs "> <div class="devsite-header-background"> <div class="devsite-product-id-row" > <div class="devsite-product-description-row"> <ul class="devsite-breadcrumb-list" > <li class="devsite-breadcrumb-item "> <a href="https://firebase.google.com/support" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Lower Header" data-value="1" track-type="globalNav" track-name="breadcrumb" track-metadata-position="1" track-metadata-eventdetail="" > Support </a> </li> </ul> </div> </div> </div> </div> </div> </devsite-header> <devsite-book-nav scrollbars > <div class="devsite-book-nav-filter" > <span class="filter-list-icon material-icons" aria-hidden="true"></span> <input type="text" placeholder="Filter" aria-label="Type to filter" role="searchbox"> <span class="filter-clear-button hidden" data-title="Clear filter" aria-label="Clear filter" role="button" tabindex="0"></span> </div> <nav class="devsite-book-nav devsite-nav nocontent" aria-label="Side menu"> <div class="devsite-mobile-header"> <button type="button" id="devsite-close-nav" class="devsite-header-icon-button button-flat material-icons gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Close navigation" aria-label="Close navigation"> </button> <div class="devsite-product-name-wrapper"> <a href="/" class="devsite-site-logo-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Site logo" track-type="globalNav" track-name="firebase" track-metadata-position="nav" track-metadata-eventDetail="nav"> <picture> <source srcset="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/firebase/images/lockup.svg" media="(prefers-color-scheme: dark)" class="devsite-dark-theme" alt="Firebase"> <img src="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/firebase/images/lockup.svg" class="devsite-site-logo" alt="Firebase"> </picture> </a> <span class="devsite-product-name"> <ul class="devsite-breadcrumb-list" > <li class="devsite-breadcrumb-item "> </li> </ul> </span> </div> </div> <div class="devsite-book-nav-wrapper"> <div class="devsite-mobile-nav-top"> <ul class="devsite-nav-list"> <li class="devsite-nav-item"> <a href="/products-build" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Tab: Build" track-name="build" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Build" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Build </span> </a> <ul class="devsite-nav-responsive-tabs devsite-nav-has-menu "> <li class="devsite-nav-item"> <span class="devsite-nav-title" tooltip data-category="Site-Wide Custom Events" data-label="Tab: Build" track-name="build" > <span class="devsite-nav-text" tooltip menu="Build"> More </span> <span class="devsite-nav-icon material-icons" data-icon="forward" menu="Build"> </span> </span> </li> </ul> </li> <li class="devsite-nav-item"> <a href="/products-run" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Tab: Run" track-name="run" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Run" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Run </span> </a> <ul class="devsite-nav-responsive-tabs devsite-nav-has-menu "> <li class="devsite-nav-item"> <span class="devsite-nav-title" tooltip data-category="Site-Wide Custom Events" data-label="Tab: Run" track-name="run" > <span class="devsite-nav-text" tooltip menu="Run"> More </span> <span class="devsite-nav-icon material-icons" data-icon="forward" menu="Run"> </span> </span> </li> </ul> </li> <li class="devsite-nav-item"> <a href="/solutions" class="devsite-nav-title gc-analytics-event devsite-nav-has-children " data-category="Site-Wide Custom Events" data-label="Tab: Solutions" track-name="solutions" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Solutions" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Solutions </span> <span class="devsite-nav-icon material-icons" data-icon="forward" > </span> </a> </li> <li class="devsite-nav-item"> <a href="/pricing" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Tab: Pricing" track-name="pricing" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Pricing" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Pricing </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Tab: Docs" track-name="docs" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Docs" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Docs </span> </a> <ul class="devsite-nav-responsive-tabs devsite-nav-has-menu "> <li class="devsite-nav-item"> <span class="devsite-nav-title" tooltip data-category="Site-Wide Custom Events" data-label="Tab: Docs" track-name="docs" > <span class="devsite-nav-text" tooltip menu="Docs"> More </span> <span class="devsite-nav-icon material-icons" data-icon="forward" menu="Docs"> </span> </span> </li> </ul> </li> <li class="devsite-nav-item"> <a href="/community" class="devsite-nav-title gc-analytics-event devsite-nav-has-children " data-category="Site-Wide Custom Events" data-label="Tab: Community" track-name="community" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Community" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Community </span> <span class="devsite-nav-icon material-icons" data-icon="forward" > </span> </a> <ul class="devsite-nav-responsive-tabs devsite-nav-has-menu "> <li class="devsite-nav-item"> <span class="devsite-nav-title" tooltip data-category="Site-Wide Custom Events" data-label="Tab: Community" track-name="community" > <span class="devsite-nav-text" tooltip menu="Community"> More </span> <span class="devsite-nav-icon material-icons" data-icon="forward" menu="Community"> </span> </span> </li> </ul> </li> <li class="devsite-nav-item"> <a href="/support" class="devsite-nav-title gc-analytics-event devsite-nav-has-children devsite-nav-active" data-category="Site-Wide Custom Events" data-label="Tab: Support" track-name="support" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Support" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Support </span> <span class="devsite-nav-icon material-icons" data-icon="forward" > </span> </a> </li> <li class="devsite-nav-item"> <a href="//console.firebase.google.com" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Go to console" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Go to console </span> </a> </li> </ul> </div> <div class="devsite-mobile-nav-bottom"> <ul class="devsite-nav-list" menu="_book"> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Developer Support</span> </div></li> <li class="devsite-nav-item"><a href="/support" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /support" track-type="bookNav" track-name="click" track-metadata-eventdetail="/support" ><span class="devsite-nav-text" tooltip>Contact Support</span></a></li> <li class="devsite-nav-item"><a href="/support/scope" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /support/scope" track-type="bookNav" track-name="click" track-metadata-eventdetail="/support/scope" ><span class="devsite-nav-text" tooltip>Scope of no-cost support</span></a></li> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Support Guides</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/support/guides" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /support/guides" track-type="bookNav" track-name="click" track-metadata-eventdetail="/support/guides" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/support/faq" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /support/faq" track-type="bookNav" track-name="click" track-metadata-eventdetail="/support/faq" ><span class="devsite-nav-text" tooltip>FAQ</span></a></li><li class="devsite-nav-item"><a href="/support/guides/security-checklist" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /support/guides/security-checklist" track-type="bookNav" track-name="click" track-metadata-eventdetail="/support/guides/security-checklist" ><span class="devsite-nav-text" tooltip>Security checklist</span></a></li><li class="devsite-nav-item"><a href="/support/guides/launch-checklist" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /support/guides/launch-checklist" track-type="bookNav" track-name="click" track-metadata-eventdetail="/support/guides/launch-checklist" ><span class="devsite-nav-text" tooltip>Launch checklist</span></a></li><li class="devsite-nav-item"><a href="/support/guides/service-accounts" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /support/guides/service-accounts" track-type="bookNav" track-name="click" track-metadata-eventdetail="/support/guides/service-accounts" ><span class="devsite-nav-text" tooltip>Firebase service accounts</span></a></li><li class="devsite-nav-item"><a href="/support/guides/init-options" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /support/guides/init-options" track-type="bookNav" track-name="click" track-metadata-eventdetail="/support/guides/init-options" ><span class="devsite-nav-text" tooltip>Troubleshoot initialization options</span></a></li><li class="devsite-nav-item"><a href="/support/guides/analytics-adsupport" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /support/guides/analytics-adsupport" track-type="bookNav" track-name="click" track-metadata-eventdetail="/support/guides/analytics-adsupport" ><span class="devsite-nav-text" tooltip>Enable the AdSupport framework</span></a></li><li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Dynamic Links deprecation</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/support/dynamic-links-faq" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /support/dynamic-links-faq" track-type="bookNav" track-name="click" track-metadata-eventdetail="/support/dynamic-links-faq" ><span class="devsite-nav-text" tooltip>Deprecation FAQ</span></a></li><li class="devsite-nav-item"><a href="/support/guides/export-dynamic-links" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /support/guides/export-dynamic-links" track-type="bookNav" track-name="click" track-metadata-eventdetail="/support/guides/export-dynamic-links" ><span class="devsite-nav-text" tooltip>Export Dynamic Links metadata</span></a></li><li class="devsite-nav-item"><a href="/support/guides/app-links-universal-links" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /support/guides/app-links-universal-links" track-type="bookNav" track-name="click" track-metadata-eventdetail="/support/guides/app-links-universal-links" ><span class="devsite-nav-text" tooltip>Migrate to App Links & Universal Links</span></a></li></ul></li><li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Migrate from Parse</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/support/guides/parse-android" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /support/guides/parse-android" track-type="bookNav" track-name="click" track-metadata-eventdetail="/support/guides/parse-android" ><span class="devsite-nav-text" tooltip>Android</span></a></li><li class="devsite-nav-item"><a href="/support/guides/parse-ios" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /support/guides/parse-ios" track-type="bookNav" track-name="click" track-metadata-eventdetail="/support/guides/parse-ios" ><span class="devsite-nav-text" tooltip>iOS+</span></a></li></ul></li></ul></li> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Cloud Audit Logs</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/support/guides/cloud-audit-logging/firebase-management" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /support/guides/cloud-audit-logging/firebase-management" track-type="bookNav" track-name="click" track-metadata-eventdetail="/support/guides/cloud-audit-logging/firebase-management" ><span class="devsite-nav-text" tooltip>Firebase Management</span></a></li><li class="devsite-nav-item"><a href="/support/guides/cloud-audit-logging/firebase-storage" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /support/guides/cloud-audit-logging/firebase-storage" track-type="bookNav" track-name="click" track-metadata-eventdetail="/support/guides/cloud-audit-logging/firebase-storage" ><span class="devsite-nav-text" tooltip>Cloud Storage for Firebase</span></a></li><li class="devsite-nav-item"><a href="/support/guides/cloud-audit-logging/firebase-cloud-messaging" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /support/guides/cloud-audit-logging/firebase-cloud-messaging" track-type="bookNav" track-name="click" track-metadata-eventdetail="/support/guides/cloud-audit-logging/firebase-cloud-messaging" ><span class="devsite-nav-text" tooltip>Firebase Cloud Messaging</span></a></li><li class="devsite-nav-item"><a href="/support/guides/cloud-audit-logging/firebase-app-check" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /support/guides/cloud-audit-logging/firebase-app-check" track-type="bookNav" track-name="click" track-metadata-eventdetail="/support/guides/cloud-audit-logging/firebase-app-check" ><span class="devsite-nav-text" tooltip>Firebase App Check</span></a></li><li class="devsite-nav-item"><a href="/support/guides/cloud-audit-logging/firebase-rules" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /support/guides/cloud-audit-logging/firebase-rules" track-type="bookNav" track-name="click" track-metadata-eventdetail="/support/guides/cloud-audit-logging/firebase-rules" ><span class="devsite-nav-text" tooltip>Firebase Security Rules</span></a></li><li class="devsite-nav-item"><a href="/support/guides/cloud-audit-logging/firebase-realtime-database" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /support/guides/cloud-audit-logging/firebase-realtime-database" track-type="bookNav" track-name="click" track-metadata-eventdetail="/support/guides/cloud-audit-logging/firebase-realtime-database" ><span class="devsite-nav-text" tooltip>Firebase Realtime Database</span></a></li><li class="devsite-nav-item"><a href="/support/guides/cloud-audit-logging/android-device-streaming" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /support/guides/cloud-audit-logging/android-device-streaming" track-type="bookNav" track-name="click" track-metadata-eventdetail="/support/guides/cloud-audit-logging/android-device-streaming" ><span class="devsite-nav-text" tooltip>Android Device Streaming</span></a></li></ul></li> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Recent Changes and Updates</span> </div></li> <li class="devsite-nav-item"><a href="/support/releases" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /support/releases" track-type="bookNav" track-name="click" track-metadata-eventdetail="/support/releases" ><span class="devsite-nav-text" tooltip>Release Notes</span></a></li> <li class="devsite-nav-item"><a href="/support/release-notes/ios" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /support/release-notes/ios" track-type="bookNav" track-name="click" track-metadata-eventdetail="/support/release-notes/ios" ><span class="devsite-nav-text" tooltip>iOS Release Notes</span></a></li> <li class="devsite-nav-item"><a href="/support/release-notes/android" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /support/release-notes/android" track-type="bookNav" track-name="click" track-metadata-eventdetail="/support/release-notes/android" ><span class="devsite-nav-text" tooltip>Android Release Notes</span></a></li> <li class="devsite-nav-item"><a href="/support/release-notes/js" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /support/release-notes/js" track-type="bookNav" track-name="click" track-metadata-eventdetail="/support/release-notes/js" ><span class="devsite-nav-text" tooltip>JavaScript Release Notes</span></a></li> <li class="devsite-nav-item"><a href="/support/release-notes/cpp-relnotes" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /support/release-notes/cpp-relnotes" track-type="bookNav" track-name="click" track-metadata-eventdetail="/support/release-notes/cpp-relnotes" ><span class="devsite-nav-text" tooltip>C++ Release Notes</span></a></li> <li class="devsite-nav-item"><a href="/support/release-notes/unity" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /support/release-notes/unity" track-type="bookNav" track-name="click" track-metadata-eventdetail="/support/release-notes/unity" ><span class="devsite-nav-text" tooltip>Unity Release Notes</span></a></li> <li class="devsite-nav-item"><a href="/support/release-notes/admin/node" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /support/release-notes/admin/node" track-type="bookNav" track-name="click" track-metadata-eventdetail="/support/release-notes/admin/node" ><span class="devsite-nav-text" tooltip>Admin Node.js Release Notes</span></a></li> <li class="devsite-nav-item"><a href="/support/release-notes/admin/java" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /support/release-notes/admin/java" track-type="bookNav" track-name="click" track-metadata-eventdetail="/support/release-notes/admin/java" ><span class="devsite-nav-text" tooltip>Admin Java Release Notes</span></a></li> <li class="devsite-nav-item"><a href="/support/release-notes/admin/python" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /support/release-notes/admin/python" track-type="bookNav" track-name="click" track-metadata-eventdetail="/support/release-notes/admin/python" ><span class="devsite-nav-text" tooltip>Admin Python Release Notes</span></a></li> <li class="devsite-nav-item"><a href="/support/release-notes/admin/go" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /support/release-notes/admin/go" track-type="bookNav" track-name="click" track-metadata-eventdetail="/support/release-notes/admin/go" ><span class="devsite-nav-text" tooltip>Admin Go Release Notes</span></a></li> <li class="devsite-nav-item"><a href="/support/release-notes/admin/dotnet" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /support/release-notes/admin/dotnet" track-type="bookNav" track-name="click" track-metadata-eventdetail="/support/release-notes/admin/dotnet" ><span class="devsite-nav-text" tooltip>Admin .NET Release Notes</span></a></li> <li class="devsite-nav-item"><a href="/support/release-notes/security-rules" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /support/release-notes/security-rules" track-type="bookNav" track-name="click" track-metadata-eventdetail="/support/release-notes/security-rules" ><span class="devsite-nav-text" tooltip>Security Rules Release Notes</span></a></li> <li class="devsite-nav-item"><a href="/support/release-notes/cli" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /support/release-notes/cli" track-type="bookNav" track-name="click" track-metadata-eventdetail="/support/release-notes/cli" ><span class="devsite-nav-text" tooltip>Firebase CLI Release Notes</span></a></li> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Policies for changes and versioning</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/policies/changes-to-firebase/overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /policies/changes-to-firebase/overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/policies/changes-to-firebase/overview" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/policies/changes-to-firebase/introducing-and-communicating-changes" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /policies/changes-to-firebase/introducing-and-communicating-changes" track-type="bookNav" track-name="click" track-metadata-eventdetail="/policies/changes-to-firebase/introducing-and-communicating-changes" ><span class="devsite-nav-text" tooltip>Introducing and communicating changes</span></a></li><li class="devsite-nav-item"><a href="/policies/changes-to-firebase/versioning-and-maintenance" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /policies/changes-to-firebase/versioning-and-maintenance" track-type="bookNav" track-name="click" track-metadata-eventdetail="/policies/changes-to-firebase/versioning-and-maintenance" ><span class="devsite-nav-text" tooltip>Versioning and maintenance</span></a></li></ul></li> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Legal Information</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/terms" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /terms" track-type="bookNav" track-name="click" track-metadata-eventdetail="/terms" ><span class="devsite-nav-text" tooltip>Terms of Service</span></a></li><li class="devsite-nav-item"><a href="/terms/billing" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /terms/billing" track-type="bookNav" track-name="click" track-metadata-eventdetail="/terms/billing" ><span class="devsite-nav-text" tooltip>Paid Services Terms</span></a></li><li class="devsite-nav-item"><a href="/terms/data-processing-terms" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /terms/data-processing-terms" track-type="bookNav" track-name="click" track-metadata-eventdetail="/terms/data-processing-terms" alt-paths=" /terms/usa-privacy-addendum "><span class="devsite-nav-text" tooltip>Data Processing and Security Terms</span></a></li><li class="devsite-nav-item"><a href="/terms/firebase-sccs" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /terms/firebase-sccs" track-type="bookNav" track-name="click" track-metadata-eventdetail="/terms/firebase-sccs" alt-paths=" /terms/firebase-sccs-uk-c2p /terms/firebase-sccs-eu-p2p /terms/firebase-sccs-eu-p2c /terms/firebase-sccs-eu-c2p /terms/firebase-sccs-eu-p2p-google-exporter /terms/crashlytics-sccs-uk-c2p /terms/crashlytics-sccs-eu-p2p /terms/crashlytics-sccs-eu-p2c /terms/crashlytics-sccs-eu-c2p /terms/crashlytics-sccs-eu-p2p-google-exporter /terms/crashlytics-app-distribution-mcc "><span class="devsite-nav-text" tooltip>Firebase: Standard Contractual Clauses</span></a></li><li class="devsite-nav-item"><a href="/terms/service-level-agreement" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /terms/service-level-agreement" track-type="bookNav" track-name="click" track-metadata-eventdetail="/terms/service-level-agreement" ><span class="devsite-nav-text" tooltip>Service Level Agreement for Hosting and Realtime Database</span></a></li><li class="devsite-nav-item"><a href="/terms/service-level-agreement/cloud-storage" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /terms/service-level-agreement/cloud-storage" track-type="bookNav" track-name="click" track-metadata-eventdetail="/terms/service-level-agreement/cloud-storage" ><span class="devsite-nav-text" tooltip>Cloud Storage for Firebase Service Level Agreement</span></a></li><li class="devsite-nav-item"><a href="/policies/app-indexing" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /policies/app-indexing" track-type="bookNav" track-name="click" track-metadata-eventdetail="/policies/app-indexing" ><span class="devsite-nav-text" tooltip>Firebase App Indexing User Data Policy</span></a></li><li class="devsite-nav-item"><a href="/terms/crashlytics" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /terms/crashlytics" track-type="bookNav" track-name="click" track-metadata-eventdetail="/terms/crashlytics" ><span class="devsite-nav-text" tooltip>Crashlytics and App Distribution Terms</span></a></li><li class="devsite-nav-item"><a href="/terms/subprocessors" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /terms/subprocessors" track-type="bookNav" track-name="click" track-metadata-eventdetail="/terms/subprocessors" ><span class="devsite-nav-text" tooltip>Firebase Subprocessors</span></a></li></ul></li> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Privacy and Security Information</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/support/privacy" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /support/privacy" track-type="bookNav" track-name="click" track-metadata-eventdetail="/support/privacy" ><span class="devsite-nav-text" tooltip>Privacy and Security in Firebase</span></a></li><li class="devsite-nav-item"><a href="/support/privacy/dpo_and_eu_rep" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /support/privacy/dpo_and_eu_rep" track-type="bookNav" track-name="click" track-metadata-eventdetail="/support/privacy/dpo_and_eu_rep" ><span class="devsite-nav-text" tooltip>Designate Data Protection Officers and EU Representatives</span></a></li><li class="devsite-nav-item"><a href="/support/privacy/dpo" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /support/privacy/dpo" track-type="bookNav" track-name="click" track-metadata-eventdetail="/support/privacy/dpo" ><span class="devsite-nav-text" tooltip>Firebase Data Privacy Inquiries</span></a></li><li class="devsite-nav-item"><a href="/support/privacy/manage-iids" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /support/privacy/manage-iids" track-type="bookNav" track-name="click" track-metadata-eventdetail="/support/privacy/manage-iids" ><span class="devsite-nav-text" tooltip>Manage Instance ID data</span></a></li><li class="devsite-nav-item"><a href="/support/privacy/clear-export-data" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /support/privacy/clear-export-data" track-type="bookNav" track-name="click" track-metadata-eventdetail="/support/privacy/clear-export-data" ><span class="devsite-nav-text" tooltip>Clear and export users' data</span></a></li><li class="devsite-nav-item"><a href="/support/privacy/storing-privacy-settings" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /support/privacy/storing-privacy-settings" track-type="bookNav" track-name="click" track-metadata-eventdetail="/support/privacy/storing-privacy-settings" ><span class="devsite-nav-text" tooltip>Storing privacy settings with Firebase</span></a></li></ul></li> </ul> <ul class="devsite-nav-list" menu="Build" aria-label="Side menu" hidden> <li class="devsite-nav-item devsite-nav-heading"> <span class="devsite-nav-title" tooltip > <span class="devsite-nav-text" tooltip > Build </span> </span> </li> <li class="devsite-nav-item"> <a href="/products-build" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Go to Build" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Go to Build </span> </a> </li> <li class="devsite-nav-item devsite-nav-heading"> <span class="devsite-nav-title" tooltip > <span class="devsite-nav-text" tooltip > Build Products </span> </span> </li> <li class="devsite-nav-item"> <a href="/products/app-check" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: App Check" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > App Check </span> </a> </li> <li class="devsite-nav-item"> <a href="/products/app-hosting" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: App Hosting" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > App Hosting </span> </a> </li> <li class="devsite-nav-item"> <a href="/products/auth" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Authentication" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Authentication </span> </a> </li> <li class="devsite-nav-item"> <a href="/products/functions" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Cloud Functions" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Cloud Functions </span> </a> </li> <li class="devsite-nav-item"> <a href="/products/storage" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Cloud Storage" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Cloud Storage </span> </a> </li> <li class="devsite-nav-item"> <a href="/products/data-connect" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Data Connect" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Data Connect </span> </a> </li> <li class="devsite-nav-item"> <a href="/products/extensions" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Extensions" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Extensions </span> </a> </li> <li class="devsite-nav-item"> <a href="/products/ml" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Firebase ML" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Firebase ML </span> </a> </li> <li class="devsite-nav-item"> <a href="/products/firestore" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Firestore" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Firestore </span> </a> </li> <li class="devsite-nav-item"> <a href="/products/genkit" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Genkit" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Genkit </span> </a> </li> <li class="devsite-nav-item"> <a href="/products/hosting" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Hosting" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Hosting </span> </a> </li> <li class="devsite-nav-item"> <a href="/products/realtime-database" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Realtime Database" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Realtime Database </span> </a> </li> <li class="devsite-nav-item"> <a href="/products/vertex-ai-in-firebase" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Vertex AI in Firebase" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Vertex AI in Firebase </span> </a> </li> <li class="devsite-nav-item"> <a href="/products/generative-ai" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Generative AI" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Generative AI </span> </a> </li> </ul> <ul class="devsite-nav-list" menu="Run" aria-label="Side menu" hidden> <li class="devsite-nav-item devsite-nav-heading"> <span class="devsite-nav-title" tooltip > <span class="devsite-nav-text" tooltip > Run </span> </span> </li> <li class="devsite-nav-item"> <a href="/products-run" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Go to Run" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Go to Run </span> </a> </li> <li class="devsite-nav-item devsite-nav-heading"> <span class="devsite-nav-title" tooltip > <span class="devsite-nav-text" tooltip > Run Products </span> </span> </li> <li class="devsite-nav-item"> <a href="/products/ab-testing" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: A/B Testing" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > A/B Testing </span> </a> </li> <li class="devsite-nav-item"> <a href="/products/app-distribution" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: App Distribution" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > App Distribution </span> </a> </li> <li class="devsite-nav-item"> <a href="/products/cloud-messaging" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Cloud Messaging" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Cloud Messaging </span> </a> </li> <li class="devsite-nav-item"> <a href="/products/crashlytics" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Crashlytics" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Crashlytics </span> </a> </li> <li class="devsite-nav-item"> <a href="/products/analytics" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Analytics" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Analytics </span> </a> </li> <li class="devsite-nav-item"> <a href="/products/in-app-messaging" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: In-App Messaging" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > In-App Messaging </span> </a> </li> <li class="devsite-nav-item"> <a href="/products/performance" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Performance Monitoring" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Performance Monitoring </span> </a> </li> <li class="devsite-nav-item"> <a href="/products/remote-config" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Remote Config" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Remote Config </span> </a> </li> <li class="devsite-nav-item"> <a href="/products/test-lab" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Test Lab" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Test Lab </span> </a> </li> </ul> <ul class="devsite-nav-list" menu="Docs" aria-label="Side menu" hidden> <li class="devsite-nav-item"> <a href="/docs" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Overview" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Overview </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/guides" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Fundamentals" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Fundamentals </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/build" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Build" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Build </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/run" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Run" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Run </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/reference" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Reference" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Reference </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/samples" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Samples" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Samples </span> </a> </li> </ul> <ul class="devsite-nav-list" menu="Community" aria-label="Side menu" hidden> <li class="devsite-nav-item"> <a href="/community/learn" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Learn" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Learn </span> </a> </li> <li class="devsite-nav-item"> <a href="/community/events" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Events" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Events </span> </a> </li> <li class="devsite-nav-item"> <a href="/community/stories" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Stories" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Stories </span> </a> </li> </ul> </div> </div> </nav> </devsite-book-nav> <section id="gc-wrapper"> <main role="main" class="devsite-main-content" has-book-nav > <devsite-content> <article class="devsite-article"> <div class="devsite-article-meta nocontent" role="navigation"> <ul class="devsite-breadcrumb-list" aria-label="Breadcrumb"> <li class="devsite-breadcrumb-item "> <a href="https://firebase.google.com/" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Breadcrumbs" data-value="1" track-type="globalNav" track-name="breadcrumb" track-metadata-position="1" track-metadata-eventdetail="Firebase" > Firebase </a> </li> <li class="devsite-breadcrumb-item "> <div class="devsite-breadcrumb-guillemet material-icons" aria-hidden="true"></div> <a href="https://firebase.google.com/support" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Breadcrumbs" data-value="2" track-type="globalNav" track-name="breadcrumb" track-metadata-position="2" track-metadata-eventdetail="" > Support </a> </li> </ul> <devsite-thumb-rating position="header"> </devsite-thumb-rating> </div> <devsite-feedback position="header" project-name="Firebase" product-id="719752" bucket="" context="" version="t-devsite-webserver-20241114-r00-rc02.464922260396498922" data-label="Send Feedback Button" track-type="feedback" track-name="sendFeedbackLink" track-metadata-position="header" class="nocontent" project-feedback-url="https://firebase.google.com/support/contact/bugs-features/" project-icon="https://firebase.google.com/_static/firebase/images/icon.svg" project-support-url="https://firebase.google.com/support/" > <button> Send feedback </button> </devsite-feedback> <h1 class="devsite-page-title" tabindex="-1"> Firebase FAQ </h1> <devsite-feature-tooltip ack-key="AckCollectionsBookmarkTooltipDismiss" analytics-category="Site-Wide Custom Events" analytics-action-show="Callout Profile displayed" analytics-action-close="Callout Profile dismissed" analytics-label="Create Collection Callout" class="devsite-page-bookmark-tooltip nocontent" dismiss-button="true" id="devsite-collections-dropdown" dismiss-button-text="Dismiss" close-button-text="Got it"> <devsite-bookmark></devsite-bookmark> <span slot="popout-heading"> Stay organized with collections </span> <span slot="popout-contents"> Save and categorize content based on your preferences. </span> </devsite-feature-tooltip> <div class="devsite-page-title-meta"><devsite-view-release-notes></devsite-view-release-notes></div> <devsite-toc class="devsite-nav" depth="2" devsite-toc-embedded > </devsite-toc> <div class="devsite-article-body clearfix "> <script type="application/ld+json"> { "@context": "https://schema.org", "@type": "FAQPage", "mainEntity": [{ "@type": "Question", "name": "What is a Firebase project?", "acceptedAnswer": { "@type": "Answer", "text": "A Firebase project is the top-level entity for Firebase." } },{ "@type": "Question", "name": "What is a Google Cloud organization?", "acceptedAnswer": { "@type": "Answer", "text": "A Google Cloud organization is a container for Google Cloud projects (including Firebase projects). This hierarchy enables better organization, access management, and auditing of your Google Cloud and Firebase projects. For more information, refer to Creating and Managing Organizations." } },{ "@type": "Question", "name": "How do I add Firebase to an existing Google Cloud project?", "acceptedAnswer": { "@type": "Answer", "text": "You may have existing projects managed through the Google Cloud Console or the Google APIs console." } },{ "@type": "Question", "name": "Why does my Google Cloud project have a label of firebase:enabled?", "acceptedAnswer": { "@type": "Answer", "text": "In the Labels page for your project in the Google Cloud Console, you may see a label of firebase:enabled (specifically, a Key of firebase with a Value of enabled)." } },{ "@type": "Question", "name": "Why isn't my Firebase project showing up in my list of Firebase projects?", "acceptedAnswer": { "@type": "Answer", "text": "This FAQ is applicable if you don't see your Firebase project in the following places: In a list of projects that you're viewing within the Firebase console; In the response from calling the REST API projects.list endpoint; In the response from running the Firebase CLI command firebase projects:list." } },{ "@type": "Question", "name": "How many projects can I have per account?", "acceptedAnswer": { "@type": "Answer", "text": "The limit on project quota is rarely a concern for most developers, but if needed, you can request an increase in your project quota." } },{ "@type": "Question", "name": "How many Firebase Apps can I have in a Firebase project?", "acceptedAnswer": { "@type": "Answer", "text": "A Firebase project is a container for Firebase Apps across Apple, Android, and web. Firebase restricts the total number of Firebase Apps within a Firebase project to 30." } },{ "@type": "Question", "name": "What happens if I tag my project as a production environment?", "acceptedAnswer": { "@type": "Answer", "text": "In the Firebase console, you can tag your Firebase projects with their environment type, either as Production or Unspecified (non-prod) environments." } },{ "@type": "Question", "name": "Where can I find the App ID for my Firebase app?", "acceptedAnswer": { "@type": "Answer", "text": "In the Firebase console, go to your settings Project settings. Scroll down to the Your apps card, then click on the desired Firebase App to view the app's information, including its App ID." } },{ "@type": "Question", "name": "What are the prerequisites for linking Google Play / AdMob / Google Ads / BigQuery to my Firebase project or app?", "acceptedAnswer": { "@type": "Answer", "text": "For linking your Google Play account, you need the following: Either of the following Firebase roles: Owner or Firebase Admin and Either of the following Google Play access levels: account Owner or Admin." } },{ "@type": "Question", "name": "What open source notices should I include in my app?", "acceptedAnswer": { "@type": "Answer", "text": "On Apple platforms, the Firebase pod contains a NOTICES file which includes the relevant entries. The Firebase Android SDK contains a helper Activity for showing license information." } },{ "@type": "Question", "name": "How do I assign a project member a role, like the Owner role?", "acceptedAnswer": { "@type": "Answer", "text": "To manage the role(s) assigned to each project member, you must be an Owner of the Firebase project (or be assigned a role with the permission resourcemanager.projects.setIamPolicy)." } },{ "@type": "Question", "name": "How do I find the Owner of a Firebase project?", "acceptedAnswer": { "@type": "Answer", "text": "If you have access to the project in the Firebase console, you can view the list of project members, including Owners, in the Users and permissions page of the Firebase console. If you do not have access to the project in the Firebase console, check if you have access to the project in the Google Cloud Console. You can view the list of project members, including Owners, in the IAM page of the Google Cloud Console. If the Owner of your project can no longer perform the tasks of an Owner (for example, the person left your company) and your project isn't managed via a Google Cloud organization (see next paragraph), you can contact Firebase Support to have a temporary Owner assigned." } },{ "@type": "Question", "name": "Why or when should I assign a project member the Owner role?", "acceptedAnswer": { "@type": "Answer", "text": "To ensure proper management of a Firebase project, it must have an Owner." } },{ "@type": "Question", "name": "I don't think that I have a Firebase project, but I got an email about one. How do I access this project?", "acceptedAnswer": { "@type": "Answer", "text": "The email you received should contain a link to open your Firebase project." } },{ "@type": "Question", "name": "What are the supported browsers for accessing the Firebase console?", "acceptedAnswer": { "@type": "Answer", "text": "The Firebase console can be accessed from recent versions of popular desktop browsers such as Chrome, Firefox, Safari and Edge. Mobile browsers are currently not fully supported." } },{ "@type": "Question", "name": "The Firebase console can be accessed from recent versions of popular desktop browsers such as Chrome, Firefox, Safari and Edge. Mobile browsers are currently not fully supported.", "acceptedAnswer": { "@type": "Answer", "text": "If none of the troubleshooting steps in this FAQ enable you to find or access your project, contact Firebase Support." } },{ "@type": "Question", "name": "Why is the Firebase console not loading for me?", "acceptedAnswer": { "@type": "Answer", "text": "If none of the troubleshooting steps in this FAQ resolve the issue, contact Firebase Support." } },{ "@type": "Question", "name": "How is my Firebase console language determined?", "acceptedAnswer": { "@type": "Answer", "text": "The language setting for the Firebase console is based on the language selected in your Google account settings." } },{ "@type": "Question", "name": "What roles and permissions does the Firebase console support?", "acceptedAnswer": { "@type": "Answer", "text": "The Firebase console and Google Cloud Console use the same underlying roles and permissions. Learn more about roles and permissions in the Firebase IAM documentation." } },{ "@type": "Question", "name": "Which products are paid? Which are no-cost?", "acceptedAnswer": { "@type": "Answer", "text": "Firebase's paid infrastructure products are the Realtime Database, Cloud Storage for Firebase, Cloud Functions, Hosting, Test Lab, and phone authentication. We offer a no-cost tier for all of these features." } },{ "@type": "Question", "name": "Does Firebase offer no-cost trial credits for paid products?", "acceptedAnswer": { "@type": "Answer", "text": "Firebase paid services can be used under the Google Cloud Free Trial." } },{ "@type": "Question", "name": "How do I know which pricing plan is right for me?", "acceptedAnswer": { "@type": "Answer", "text": "Our Spark plan is a great place to develop your app at no cost. Our Blaze plan is designed for production apps. The Blaze plan also allows you to extend your app with paid Google Cloud features. You pay only for the resources that you consume, allowing you to scale with demand. We strive to make our Blaze plan prices competitive with industry-leading cloud providers." } },{ "@type": "Question", "name": "How can I monitor my usage and billing?", "acceptedAnswer": { "@type": "Answer", "text": "You can track your usage of project resources in the Firebase console." } },{ "@type": "Question", "name": "What happened to the Flame pricing plan?", "acceptedAnswer": { "@type": "Answer", "text": "In January 2020, the Flame pricing plan ($25/mo of additional quota) was removed as an option for new sign-ups. Existing plan users were granted a grace period to migrate their projects off the Flame plan. In February 2022, the remaining projects on the Flame pricing plan were downgraded to the Spark pricing plan." } },{ "@type": "Question", "name": "How is the no-cost usage in the Blaze plan different from the no-cost usage in the Spark plan?", "acceptedAnswer": { "@type": "Answer", "text": "No-cost usage on the Blaze plan is calculated daily." } },{ "@type": "Question", "name": "Does the no-cost usage quota reset when I change from a Spark to a Blaze plan?", "acceptedAnswer": { "@type": "Answer", "text": "No-cost usage from the Spark plan is included in the Blaze plan. No-cost usage does not reset when moving to a Blaze plan." } },{ "@type": "Question", "name": "What is a simultaneous database connection?", "acceptedAnswer": { "@type": "Answer", "text": "A simultaneous connection is equivalent to one mobile device, browser tab, or server app connected to the database. Firebase imposes hard limits on the number of simultaneous connections to your app's database. These limits are in place to protect both Firebase and our users from abuse." } },{ "@type": "Question", "name": "What happens if I exceed Spark plan storage or download limits for Realtime Database?", "acceptedAnswer": { "@type": "Answer", "text": "To provide you with a predictable price, the resources available to you in the Spark plans are capped. This means that when you exceed any plan limit in any month, your app will be turned off to prevent any further resource usage and additional charges." } },{ "@type": "Question", "name": "What happens if I exceed Spark plan simultaneous connection limits for Realtime Database?", "acceptedAnswer": { "@type": "Answer", "text": "When your app reaches its concurrency limit on the Spark plan, any subsequent connections will be rejected until some of the existing connections are closed. The app will continue to work for users who are connected." } },{ "@type": "Question", "name": "What happens if I exceed Spark plan upload, download or storage limits for Cloud Storage?", "acceptedAnswer": { "@type": "Answer", "text": "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." } },{ "@type": "Question", "name": "How does Firebase's integration with Google Cloud work?", "acceptedAnswer": { "@type": "Answer", "text": "Firebase is deeply integrated with Google Cloud." } },{ "@type": "Question", "name": "What happens to my Firebase project if I add or remove billing accounts for that project in the Google Cloud Console?", "acceptedAnswer": { "@type": "Answer", "text": "If a Cloud Billing account is added to a project in the Google Cloud Console, the same project will automatically be upgraded to the Firebase Blaze plan if that project is currently on the Spark plan." } },{ "@type": "Question", "name": "Can I upgrade, downgrade, or cancel at any time?", "acceptedAnswer": { "@type": "Answer", "text": "Yes, you can upgrade, downgrade, or cancel at any time. Note that we don't provide prorated refunds for downgrades or cancellations. This means that if you downgrade or cancel before the end of your billing period, you still pay for the remainder of the month." } },{ "@type": "Question", "name": "What kind of support will I receive?", "acceptedAnswer": { "@type": "Answer", "text": "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." } },{ "@type": "Question", "name": "Can I cap usage on the Blaze plan?", "acceptedAnswer": { "@type": "Answer", "text": "No, you cannot currently cap your Blaze plan usage. We are evaluating options for supporting caps on Blaze plan usage." } },{ "@type": "Question", "name": "What are automated backups? Do you offer hourly backups?", "acceptedAnswer": { "@type": "Answer", "text": "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." } },{ "@type": "Question", "name": "Do you offer open-source, nonprofit, or educational discounts?", "acceptedAnswer": { "@type": "Answer", "text": "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." } },{ "@type": "Question", "name": "Do you offer enterprise contracts, pricing, support, or dedicated infrastructure hosting?", "acceptedAnswer": { "@type": "Answer", "text": "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." } },{ "@type": "Question", "name": "Do you offer ad-hoc pricing? I only want pay-as-you-go for one or two features.", "acceptedAnswer": { "@type": "Answer", "text": "We offer ad-hoc pricing in the Blaze plan, where you pay only for the features you use." } },{ "@type": "Question", "name": "How do the paid Firebase plans work with Ads? Are there no-cost advertising credits with paid plans?", "acceptedAnswer": { "@type": "Answer", "text": "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." } },{ "@type": "Question", "name": "Why do I need a billing account to use Cloud Functions for Firebase?", "acceptedAnswer": { "@type": "Answer", "text": "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." } },{ "@type": "Question", "name": "Does Cloud Functions for Firebase still have no-cost usage?", "acceptedAnswer": { "@type": "Answer", "text": "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." } },{ "@type": "Question", "name": "Is Firebase planning to raise the quotas and limits for Cloud Functions for Firebase?", "acceptedAnswer": { "@type": "Answer", "text": "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." } },{ "@type": "Question", "name": "Can I get the Google Cloud $300 credit?", "acceptedAnswer": { "@type": "Answer", "text": "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." } },{ "@type": "Question", "name": "I want to follow a codelab to learn about Firebase. Can you give me a temporary billing account?", "acceptedAnswer": { "@type": "Answer", "text": "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." } },{ "@type": "Question", "name": "I'm worried I'm going to rack up a huge bill.", "acceptedAnswer": { "@type": "Answer", "text": "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." } },{ "@type": "Question", "name": "How can I check my current billing charges?", "acceptedAnswer": { "@type": "Answer", "text": "View the Usage and billing dashboard in the Firebase console." } },{ "@type": "Question", "name": "I use Firebase Extensions. Do I need a billing account?", "acceptedAnswer": { "@type": "Answer", "text": "Yes. Since extensions use Cloud Functions, extensions will be subject to the same charges as other functions." } },{ "@type": "Question", "name": "Where can I find information about privacy and security in Firebase?", "acceptedAnswer": { "@type": "Answer", "text": "Check out the page Privacy and Security in Firebase." } },{ "@type": "Question", "name": "Do the Firebase SDKs log any usage/diagnostic information outside of Analytics?", "acceptedAnswer": { "@type": "Answer", "text": "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" } },{ "@type": "Question", "name": "A/B Testing: How many experiments can I create and run?", "acceptedAnswer": { "@type": "Answer", "text": "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." } },{ "@type": "Question", "name": "A/B Testing: Why can't I view my experiments after unlinking and re-linking my project to Google Analytics?", "acceptedAnswer": { "@type": "Answer", "text": "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." } },{ "@type": "Question", "name": "AdMob: Can I link my Windows apps to Firebase?", "acceptedAnswer": { "@type": "Answer", "text": "No, Windows apps are not currently supported." } },{ "@type": "Question", "name": "AdMob: Why can't I link my app to AdMob from the Firebase console?", "acceptedAnswer": { "@type": "Answer", "text": "You can link an AdMob app to a Firebase app via the AdMob console. Learn how." } },{ "@type": "Question", "name": "AdMob: What permissions or access do I need to link a Firebase app to an AdMob app?", "acceptedAnswer": { "@type": "Answer", "text": "In order to do this linking, you need the following access: You need to be an AdMob admin. You must have the firebase.links.create permission, which is included in the Owner role and the Firebase Admin role. You must have the Edit role or Manage Users role for the property associated with the Firebase project." } },{ "@type": "Question", "name": "AdMob: Can multiple users in the same AdMob account link AdMob apps and Firebase apps?", "acceptedAnswer": { "@type": "Answer", "text": "For multi-user AdMob accounts, the user who created the first Firebase link and accepted the Firebase Terms of Service is the only user who can create new links between AdMob apps and Firebase apps." } },{ "@type": "Question", "name": "AdMob: To use AdMob, should I use the Firebase SDK for AdMob or the Google Mobile Ads SDK?", "acceptedAnswer": { "@type": "Answer", "text": "For iOS projects, use the Google Mobile Ads SDK." } },{ "@type": "Question", "name": "Analytics: Why is Google Analytics a recommended part of using Firebase products?", "acceptedAnswer": { "@type": "Answer", "text": "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." } },{ "@type": "Question", "name": "Analytics: How do I control how my Analytics data is shared with the rest of Firebase?", "acceptedAnswer": { "@type": "Answer", "text": "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." } },{ "@type": "Question", "name": "Analytics in my iOS app: Can I install Analytics without ad attribution and IDFA collection features?", "acceptedAnswer": { "@type": "Answer", "text": "Yes. See the Configure Data Collection and Usage page for more details." } },{ "@type": "Question", "name": "Analytics: What changed in the Google Analytics section with the October 2021 update?", "acceptedAnswer": { "@type": "Answer", "text": "You can find a summary of these changes in the Firebase Help Center article New Google Analytics 4 functionality in Google Analytics for Firebase." } },{ "@type": "Question", "name": "Analytics: Why don't I see any Analytics data in the Firebase console after unlinking Firebase from Google Analytics?", "acceptedAnswer": { "@type": "Answer", "text": "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." } },{ "@type": "Question", "name": "Analytics: If my Analytics property and its data were deleted, is there any way to get them back?", "acceptedAnswer": { "@type": "Answer", "text": "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." } },{ "@type": "Question", "name": "Analytics: If my Analytics property was deleted, can I link a new Google Analytics property to my Firebase project and start using Analytics again?", "acceptedAnswer": { "@type": "Answer", "text": "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." } },{ "@type": "Question", "name": "Analytics: How will Firebase products or integrated Google products be affected by the deletion of my Analytics property?", "acceptedAnswer": { "@type": "Answer", "text": "Several Firebase products rely on the Google Analytics integration." } },{ "@type": "Question", "name": "Analytics: How do I segment users who have not met some criterion?", "acceptedAnswer": { "@type": "Answer", "text": "You can reframe the problem by negatively targeting these users. For example, reframe the problem as <em>Don't show ads to people who have bought something</em>, and form an audience of those users to target." } },{ "@type": "Question", "name": "Analytics: Are audiences and/or events defined in the Google Analytics interface also available in the Firebase console?", "acceptedAnswer": { "@type": "Answer", "text": "Your audiences and user properties will be synced." } },{ "@type": "Question", "name": "Firebase Authentication: Which countries are supported for phone authentication?", "acceptedAnswer": { "@type": "Answer", "text": "Firebase Authentication supports phone number verification across 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." } },{ "@type": "Question", "name": "Firebase Authentication: In my Android app, why am I getting the following error: Google sign in failed?", "acceptedAnswer": { "@type": "Answer", "text": "Follow the troubleshooting steps in this FAQ if you're getting this error." } },{ "@type": "Question", "name": "Firebase Authentication: In my Apple platform app, why am I getting the following error: You must specify <clientID> in <GIDConfiguration>?", "acceptedAnswer": { "@type": "Answer", "text": "Follow the troubleshooting steps in this FAQ if you're getting this error." } },{ "@type": "Question", "name": "Firebase Authentication: In my web app, why am I getting the following error: AuthErrorCode.INVALID_OAUTH_CLIENT_ID?", "acceptedAnswer": { "@type": "Answer", "text": "Follow the troubleshooting steps in this FAQ if you're getting this error." } },{ "@type": "Question", "name": "Firebase Authentication: How do I manually construct an OAuth web client?", "acceptedAnswer": { "@type": "Answer", "text": "From the Google Cloud Console, following the steps in this FAQ." } },{ "@type": "Question", "name": "How do I upgrade to the latest supported version of Node.js?", "acceptedAnswer": { "@type": "Answer", "text": "Make sure you're on the Blaze pricing plan. Make sure you are using the latest version of the Firebase CLI. Update the engines field in your functions' package.json. Optionally, test your changes using the Firebase Local Emulator Suite. Redeploy all functions." } },{ "@type": "Question", "name": "How can I make sure I deployed my functions to a specific Node.js runtime?", "acceptedAnswer": { "@type": "Answer", "text": "In the Firebase console, go to the functions dashboard, select a function, and check the function's language under Additional details." } },{ "@type": "Question", "name": "I use Firebase Extensions.Will I be affected by Cloud Functions runtime updates?", "acceptedAnswer": { "@type": "Answer", "text": "Yes. Since extensions use Cloud Functions, the runtime of your extensions will need to be updated on the same timeline as Cloud Functions." } },{ "@type": "Question", "name": "Cloud Messaging: What's the difference between the Notifications composer and Cloud Messaging?", "acceptedAnswer": { "@type": "Answer", "text": "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." } },{ "@type": "Question", "name": "Cloud Messaging: Apple announced they're deprecating the legacy binary protocol for APNs. Do I need to do anything?", "acceptedAnswer": { "@type": "Answer", "text": "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." } },{ "@type": "Question", "name": "Cloud Messaging: Do I need to use other Firebase services in order to use FCM?", "acceptedAnswer": { "@type": "Answer", "text": "You can use Firebase Cloud Messaging as a standalone component, in the same manner as you did with GCM, without using other Firebase services." } },{ "@type": "Question", "name": "Cloud Messaging: I am an existing Google Cloud Messaging (GCM) developer.Should I move to Firebase Cloud Messaging?", "acceptedAnswer": { "@type": "Answer", "text": "FCM is the new version of GCM under the Firebase brand." } },{ "@type": "Question", "name": "Cloud Messaging: Why do my targeted devices apparently fail to receive messages?", "acceptedAnswer": { "@type": "Answer", "text": "When it looks like devices haven't successfully received messages, check first for these two potential causes: Foreground message handling for notification messages. Network firewall restrictions." } },{ "@type": "Question", "name": "Cloud Messaging: I have implemented onMessageReceived in my Android app, but it is not being called.", "acceptedAnswer": { "@type": "Answer", "text": "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." } },{ "@type": "Question", "name": "Notifications composer: What's the difference between the Notifications composer and Cloud Messaging?", "acceptedAnswer": { "@type": "Answer", "text": "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." } },{ "@type": "Question", "name": "Notifications composer: I am an existing Google Cloud Messaging (GCM) developer, and I want to use the Notifications composer.What should I do?", "acceptedAnswer": { "@type": "Answer", "text": "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." } },{ "@type": "Question", "name": "Which FCM APIs were deprecated on June 20, 2023, and what should I do if I am using those APIs?", "acceptedAnswer": { "@type": "Answer", "text": "The following APIs/SDKs will be affected by the deprecation:" } },{ "@type": "Question", "name": "Will I see a service downgrade before June 2024?", "acceptedAnswer": { "@type": "Answer", "text": "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." } },{ "@type": "Question", "name": "What's the difference between OAuth 2.0 tokens and server keys?", "acceptedAnswer": { "@type": "Answer", "text": "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." } },{ "@type": "Question", "name": "Can I migrate my requests to the new API all at once?", "acceptedAnswer": { "@type": "Answer", "text": "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." } },{ "@type": "Question", "name": "What's the difference between the HTTP v1 API and the legacy APIs when I send messages to topics/device groups?", "acceptedAnswer": { "@type": "Answer", "text": "Topics: you don't need to add the <em>topics</em> prefix to your topic target when you use the v1 API." } },{ "@type": "Question", "name": "Does the HTTP v1 API support sending messages to multiple tokens in one request?", "acceptedAnswer": { "@type": "Answer", "text": "No. This feature, called <em>multicast</em> in legacy HTTP APIs, is not supported by the HTTP v1 API." } },{ "@type": "Question", "name": "What versions of the Firebase Admin SDK have the new APIs?", "acceptedAnswer": { "@type": "Answer", "text": "See the FAQ." } },{ "@type": "Question", "name": "What's the difference between the batch send API and the HTTP v1 API?", "acceptedAnswer": { "@type": "Answer", "text": "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." } },{ "@type": "Question", "name": "What should I do if I can't access my project?", "acceptedAnswer": { "@type": "Answer", "text": "Please reach out to the Google Cloud support team for help." } },{ "@type": "Question", "name": "Cloud Storage for Firebase: Why can't I use Cloud Storage for Firebase?", "acceptedAnswer": { "@type": "Answer", "text": "Cloud Storage for Firebase creates a default bucket in the App Engine no-cost tier." } },{ "@type": "Question", "name": "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?", "acceptedAnswer": { "@type": "Answer", "text": "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. See the related FAQ." } },{ "@type": "Question", "name": "Cloud Storage for Firebase: Why do I see new service account IDs associated with my Firebase projects that use Cloud Storage for Firebase?", "acceptedAnswer": { "@type": "Answer", "text": "Firebase uses service accounts to operate and manage services without sharing user credentials. 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." } },{ "@type": "Question", "name": "Dynamic Links: What are Firebase's future plans for Dynamic Links?", "acceptedAnswer": { "@type": "Answer", "text": "See the Dynamic Links FAQ." } },{ "@type": "Question", "name": "Dynamic Links: Why does my Android app access each Dynamic Link twice?", "acceptedAnswer": { "@type": "Answer", "text": "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." } },{ "@type": "Question", "name": "Why do Emulator Suite logs show an error starting with Multiple projectIds are not recommended in single project mode?", "acceptedAnswer": { "@type": "Answer", "text": "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." } },{ "@type": "Question", "name": "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?", "acceptedAnswer": { "@type": "Answer", "text": "Firebase automatically adds extra files containing metadata about the Hosting site, and these files are included in the total file count for the release." } },{ "@type": "Question", "name": "Hosting: What's the largest file size that I can deploy to Firebase Hosting?", "acceptedAnswer": { "@type": "Answer", "text": "Hosting has a maximum size limit of 2 GB for individual files." } },{ "@type": "Question", "name": "Hosting: How many Hosting sites can I have per Firebase project?", "acceptedAnswer": { "@type": "Answer", "text": "The Firebase Hosting multisite feature supports a maximum of 36 sites per project." } },{ "@type": "Question", "name": "Performance Monitoring: How many custom URL patterns can I create?", "acceptedAnswer": { "@type": "Answer", "text": "You can create up to 400 total custom URL patterns per app and up to 100 custom URL patterns per domain for that app." } },{ "@type": "Question", "name": "Performance Monitoring: Why am I not seeing real time display of performance data?", "acceptedAnswer": { "@type": "Answer", "text": "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." } },{ "@type": "Question", "name": "Realtime Database: Why was my Realtime Database reported bandwidth lower than average between September 2016 and March 2017?", "acceptedAnswer": { "@type": "Answer", "text": "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." } },{ "@type": "Question", "name": "Realtime Database: What are the scaling limitations of the Realtime Database?", "acceptedAnswer": { "@type": "Answer", "text": "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." } },{ "@type": "Question", "name": "Realtime Database: What can I do if I'm over my Realtime Database usage limits?", "acceptedAnswer": { "@type": "Answer", "text": "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." } },{ "@type": "Question", "name": "Remote Config: Why don't fetched values change the behavior and appearance of my app?", "acceptedAnswer": { "@type": "Answer", "text": "Unless you fetch values with fetchAndActivate(), values are stored locally but not activated." } },{ "@type": "Question", "name": "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?", "acceptedAnswer": { "@type": "Answer", "text": "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." } },{ "@type": "Question", "name": "Remote Config: How quickly does the Remote Config service return fetched values after my app sends a fetch request?", "acceptedAnswer": { "@type": "Answer", "text": "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." } }] } </script> <p>Have other challenges or don't see your issue outlined below? Please <a href="/support/contact/bugs-features">report a bug or request a feature</a> and join the <a href="//stackoverflow.com/questions/tagged/firebase" class="external">Stack Overflow</a> discussions.</p> <h2 id="projects-and-apps" data-text="Firebase projects and Firebase apps" tabindex="-1">Firebase projects and Firebase apps</h2> <div class="expandable" id="what-is-a-project"> <h4 class="showalways" id="what-is-a-project" data-text=" What is a Firebase project? " tabindex="-1"> What is a Firebase project? </h4> <p>A Firebase project is the top-level entity for Firebase. In a project, you can register your Apple, Android, or web apps. After you register your apps with Firebase, you can add the <a href="/products">product-specific Firebase SDKs</a> to your app, like <span class="notranslate">Analytics</span>, <span class="notranslate">Cloud Firestore</span>, <span class="notranslate">Crashlytics</span>, or <span class="notranslate">Remote Config</span>. </p> <p>You should register your Apple, Android, and web app variants within a single Firebase project. You can use multiple Firebase projects to support multiple environments, such as development, staging, and production. </p> <p>Here are some resources for learning more about Firebase projects:</p> <ul> <li><a href="/docs/projects/learn-more">Understand Firebase projects</a> — provides brief overviews of several important concepts about Firebase projects, including their relationship with <span class="notranslate">Google Cloud</span> and the basic hierarchy of a project and its apps and resources.</li> <li><a href="/docs/projects/dev-workflows/general-best-practices">General best practices for setting up Firebase projects</a> — provides general, high-level best practices for setting up Firebase projects and registering your apps with a project so that you have a clear development workflow that uses distinct environments.</li> </ul> <p>Note that for all Firebase projects, Firebase automatically adds a label of <code translate="no" dir="ltr">firebase:enabled</code> within the <a href="https://console.cloud.google.com/iam-admin/labels?project=_" class="external"><i>Labels</i> page</a> for your project in the <span class="notranslate">Google Cloud</span> console. Learn more about this label in our <a href="/support/faq#project-label-firebase-enabled">FAQ</a>. </p> </div> <div class="expandable" id="what-is-a-cloud-org"> <h4 class="showalways" id="what-is-a-cloud-org" data-text=" What is a Google Cloud organization? " tabindex="-1"> What is a <span class="notranslate">Google Cloud</span> organization? </h4> <p>A <span class="notranslate">Google Cloud</span> organization is a container for <span class="notranslate">Google Cloud</span> projects (including Firebase projects). This hierarchy enables better organization, access management, and auditing of your <span class="notranslate">Google Cloud</span> and Firebase projects. For more information, refer to <a href="https://cloud.google.com/resource-manager/docs/creating-managing-organization" class="external">Creating and Managing Organizations</a>. </p> </div> <div class="expandable" id="add-firebase-to-cloud-project"> <h4 class="showalways" id="add-firebase-to-cloud-project" data-text=" How do I add Firebase to an existing Google Cloud project? " tabindex="-1"> How do I add Firebase to an existing <span class="notranslate">Google Cloud</span> project? </h4> <p>You may have existing <span class="notranslate">Google Cloud</span> projects managed through the <a href="//console.cloud.google.com"><span class="notranslate">Google Cloud</span> console</a> or the <a href="//console.developers.google.com">Google APIs console</a>.</p> <p>You can add Firebase to these existing projects using any of the following options: </p> <ul> <li>Using the <span class="notranslate">Firebase</span> console:<br> In the <a href="//console.firebase.google.com/" class="link external gc-analytics-event" data-category="console" data-action="linkClick"><span class="notranslate">Firebase</span> console</a> landing page, click <b>Add Project</b>, and then select your existing project from the <b>Project name</b> menu. </li> <li>Using a programmatic option: <ul> <li>Call the Firebase Management REST API endpoint <a href="/docs/reference/firebase-management/rest/v1beta1/projects/addFirebase"><code translate="no" dir="ltr">addFirebase</code></a>. </li> <li>Run the Firebase CLI command <a href="/docs/cli#management-commands"><code translate="no" dir="ltr">firebase projects:addfirebase</code></a>. </li> <li>Use <a href="/docs/projects/terraform/get-started">Terraform</a>. </li> </ul> </li> </ul> </div> <div class="expandable" id="project-label-firebase-enabled"> <h4 class="showalways" id="project-label-firebase-enabled" data-text=" Why does my Google Cloud project have a label of firebase:enabled? " tabindex="-1"> Why does my <span class="notranslate">Google Cloud</span> project have a label of <code translate="no" dir="ltr">firebase:enabled</code>? </h4> <p>In the <a href="https://console.cloud.google.com/iam-admin/labels?project=_" class="external"><i>Labels</i> page</a> for your project in the <span class="notranslate">Google Cloud</span> console, you may see a label of <code translate="no" dir="ltr">firebase:enabled</code> (specifically, a <code translate="no" dir="ltr">Key</code> of <code translate="no" dir="ltr">firebase</code> with a <code translate="no" dir="ltr">Value</code> of <code translate="no" dir="ltr">enabled</code>). </p> <p>Firebase automatically added this label because your project is a Firebase project, which means that your project has Firebase-specific configurations and services enabled for it. Learn more about the <a href="/docs/projects/learn-more#firebase-cloud-relationship">relationship between Firebase projects and <span class="notranslate">Google Cloud</span></a>. </p> <p><strong>We strongly recommend that you don't modify or delete this label.</strong> This label is used by Firebase and <span class="notranslate">Google Cloud</span> to list your Firebase projects (for example, using the <a href="/docs/reference/firebase-management/rest/v1beta1/projects/list">REST API <code translate="no" dir="ltr">projects.list</code> endpoint</a> or in menus within the <span class="notranslate">Firebase</span> console). </p> <p>Be aware that manually adding this label to your list of project labels does NOT enable Firebase-specific configurations and services for your <span class="notranslate">Google Cloud</span> project. To do that, you need to add Firebase via the <a href="https://console.firebase.google.com/" class="external"><span class="notranslate">Firebase</span> console</a> (or, for advanced use cases, via the <a href="/docs/reference/firebase-management/rest/v1beta1/projects/addFirebase">Firebase Management REST API</a> or the <a href="/docs/cli#management-commands"><span class="notranslate">Firebase</span> CLI</a>).</p> </div> <div class="expandable" id="firebase-project-not-in-list"> <h4 class="showalways" id="firebase-project-not-in-list" data-text=" Why isn't my Firebase project showing up in my list of Firebase projects? " tabindex="-1"> Why isn't my Firebase project showing up in my list of Firebase projects? </h4> <p>This FAQ is applicable if you don't see your Firebase project in the following places: </p> <ul> <li>In a list of projects that you're viewing within the <span class="notranslate">Firebase</span> console <li>In the response from calling the <a href="/docs/projects/api/reference/rest/v1beta1/projects/list">REST API <code translate="no" dir="ltr">projects.list</code> endpoint</a> <li>In the response from running the <span class="notranslate">Firebase</span> CLI command <code translate="no" dir="ltr">firebase projects:list</code> </ul> <p>Try these troubleshooting steps:</p> <ol> <li>First, try accessing your project by visiting the project's URL directly. Use the following format:<br> <code translate="no" dir="ltr"><b>https://console.firebase.google.com/project/<var translate="no">PROJECT-ID</var>/overview</b></code> </li> <li>If you can't access the project or receive permissions errors, check the following: <ul> <li>Make sure that you're signed into Firebase using the same Google account that has access to the project. You can sign in and out of the <span class="notranslate">Firebase</span> console via your account avatar in the top-right corner of the console. <li>Check if you can view the project in the <a href="//console.cloud.google.com/"><span class="notranslate">Google Cloud</span> console</a>. <li>Make sure that your project has the label <code translate="no" dir="ltr">firebase:enabled</code> in the <a href="https://console.cloud.google.com/iam-admin/labels?project=_" class="external"><i>Labels</i> page</a> for your project in the <span class="notranslate">Google Cloud</span> console. Firebase and <span class="notranslate">Google Cloud</span> use this label to list your Firebase projects. If you do not see this label but <em>the Firebase Management API is enabled</em> for your project, then manually add the label (specifically, a <code translate="no" dir="ltr">Key</code> of <code translate="no" dir="ltr">firebase</code> with a <code translate="no" dir="ltr">Value</code> of <code translate="no" dir="ltr">enabled</code>). <li>Make sure that you're assigned one of the <a href="/docs/projects/iam/roles-basic">basic IAM roles</a> (Owner, Editor, Viewer) or a role that has Firebase-related permissions in it, for example a <a href="/docs/projects/iam/roles-predefined">Firebase predefined role</a>. You can view your role(s) in the <a href="https://console.cloud.google.com/iam-admin/iam" class="external"><i>IAM</i> page</a> of the <span class="notranslate">Google Cloud</span> console. <li>If your project belongs to a <span class="notranslate">Google Cloud</span> organization, you may require additional permissions to see the project listed in the <span class="notranslate">Firebase</span> console. Contact the person who manages your <span class="notranslate">Google Cloud</span> organization to give you the appropriate role to view the project, for example the Browser role. </ul> </ol> <p>If none of the troubleshooting steps above enable you to see your project in a list of Firebase projects, contact <a href="/support/troubleshooter/access/project/lost">Firebase Support</a>. </p> </div> <div class="expandable" id="projects-per-account"> <h4 class="showalways" id="projects-per-account" data-text=" How many projects can I have per account? " tabindex="-1"> How many projects can I have per account? </h4> <ul> <li>Spark pricing plan — Your project quota is limited to a small number of projects (usually around 5-10). </li> <li>Blaze pricing plan — Your project quota per <span class="notranslate">Cloud Billing</span> account increases substantially as long as your <span class="notranslate">Cloud Billing</span> account is in good standing. </li> </ul> <p>The limit on project quota is rarely a concern for most developers, but if needed, you can <a href="//support.google.com/cloud/answer/6330231" class="external">request an increase in your project quota</a>. </p> <p>Note that the complete deletion of a project requires 30 days and counts toward your quota until it is fully deleted. </p> </div> <div class="expandable" id="apps-per-project"> <h4 class="showalways" id="apps-per-project" data-text=" How many Firebase Apps can I have in a Firebase project? " tabindex="-1"> How many Firebase Apps can I have in a Firebase project? </h4> <p>A Firebase project is a container for Firebase Apps across Apple, Android, and web. <strong>Firebase restricts the total number of Firebase Apps within a Firebase project to 30.</strong> </p> <p>After this number, performance starts to degrade (especially for <span class="notranslate">Google Analytics</span>) and eventually, at a higher number of apps, some product functionality stops working. Additionally, if you use Google sign-in as an authentication provider, an underlying OAuth 2.0 client ID is created for each app in your project. There's a limit of around 30 client IDs that can be created within a single project. </p> <p>You should ensure that all Firebase Apps within a single Firebase project are platform variants of the same application from an end-user perspective. For example, if you develop a white label application, each independently labeled app should have its own Firebase project, but the Apple and Android versions of that label can be in the same project. Read more detailed guidance in our <a href="/docs/projects/dev-workflows/general-best-practices">general best practices for setting up Firebase projects</a>. </p> <p>In the rare case your project requires more than 30 apps, you can request an app limit increase. Your project must be on the Blaze pricing plan to make this request. Visit the <span class="notranslate">Google Cloud</span> console to <a href="//console.cloud.google.com/iam-admin/quotas" class="external">make your request</a> and have it evaluated. Learn more about <a href="//cloud.google.com/docs/quota#requesting_higher_quota" class="external">quota management</a> in the <span class="notranslate">Google Cloud</span> documentation. </p> </div> <div class="expandable" id="set-environment-type"> <h4 class="showalways" id="set-environment-type" data-text=' What happens if I tag my project as a "production" environment? ' tabindex="-1"> What happens if I tag my project as a "production" environment? </h4> <p>In the <span class="notranslate">Firebase</span> console, you can tag your Firebase projects with their environment type, either as <i>Production</i> or <i>Unspecified</i> (non-prod) environments. </p> <p>Tagging your project as an environment type has no effect on how your Firebase project works or its features. However, the tagging can help you and your team manage your various Firebase projects for the app lifecycle. </p> <p>If you tag your project as a production environment, we add a brightly colored <b>Prod</b> tag to the project in the <span class="notranslate">Firebase</span> console, reminding you that any changes could affect your associated production apps. In the future, we might add more features and safeguards for Firebase projects tagged as production environments. </p> <p>To change the environment type of your Firebase project, go to <span class="material-icons" aria-hidden="true" translate="no">settings</span> <a href="//console.firebase.google.com/project/_/settings/general/" class="external"><b>Project settings</b></a> > <b>General</b>, then in the <i>Your project</i> card under <i>Environment</i>, click <span class="material-icons" aria-hidden="true" translate="no">edit</span> to change the environment type. </p> </div> <div class="expandable" id="find-app-id"> <h4 class="showalways" id="find-app-id" data-text=" Where can I find the App ID for my Firebase app? " tabindex="-1"> Where can I find the App ID for my Firebase app? </h4> <p>In the <span class="notranslate">Firebase</span> console, go to your <span class="material-icons" aria-hidden="true" translate="no">settings</span> <a href="//console.firebase.google.com/project/_/settings/general/" class="external"><b>Project settings</b></a>. Scroll down to the <i>Your apps</i> card, then click on the desired Firebase App to view the app's information, including its <i>App ID</i>. </p> <p>Here are some example App ID values:</p> <ul> <li> Firebase iOS Apps: <code translate="no" dir="ltr">1:1234567890:ios:321abc456def7890</code> </li> <li> Firebase Android Apps: <code translate="no" dir="ltr">1:1234567890:android:321abc456def7890</code> </li> <li> Firebase Web Apps: <code translate="no" dir="ltr">1:1234567890:web:321abc456def7890</code> </li> </ul> </div> <div class="expandable" id="integrations-linking-prereqs"> <h4 class="showalways" id="integrations-linking-prereqs" data-text=" What are the prerequisites for linking Google Play / AdMob / Google Ads / BigQuery to my Firebase project or app? " tabindex="-1"> What are the prerequisites for linking <span class="notranslate">Google Play</span> / <span class="notranslate">AdMob</span> / <span class="notranslate">Google Ads</span> / <span class="notranslate">BigQuery</span> to my Firebase project or app? </h4> <ul> <li>For <a href="https://support.google.com/firebase/answer/6392038#permissions-and-roles">linking your <strong><span class="notranslate">Google Play</span> account</strong></a>, you need the following: <ul> <li>Either of the following Firebase roles: Owner or Firebase Admin<br>and <li>Either of the following <span class="notranslate">Google Play</span> access levels: account Owner or Admin </ul> </li> <li>For linking your <strong><span class="notranslate">AdMob</span> app</strong>, you need to be both a Firebase project owner and an <span class="notranslate">AdMob</span> administrator.</li> <li>For linking your <strong>AdWords account</strong>, you need to be both a Firebase project owner and an AdWords administrator.</li> <li>For linking your <strong><span class="notranslate">BigQuery</span> project</strong>, you need to be the Firebase project owner.</li> </ul> </div> <div class="expandable" id="oss-license"> <h4 class="showalways" id="oss-license" data-text=" What open source notices should I include in my app? " tabindex="-1"> What open source notices should I include in my app? </h4> <p>On Apple platforms, the Firebase pod contains a NOTICES file which includes the relevant entries. The Firebase Android SDK contains a <a href="//developers.google.com/android/guides/opensource" class="external">helper <code translate="no" dir="ltr">Activity</code></a> for showing license information.</p> </div> <h3 id="projects-permissions-and-access" data-text="Permissions and access to Firebase projects" tabindex="-1">Permissions and access to Firebase projects</h3> <div class="expandable" id="assign-roles"> <h4 class="showalways" id="assign-roles" data-text=" How do I assign a project member a role, like the Owner role? " tabindex="-1"> How do I assign a project member a role, like the Owner role? </h4> <p>To manage the role(s) assigned to each project member, you must be an Owner of the Firebase project (or be assigned a role with the permission <code translate="no" dir="ltr">resourcemanager.projects.setIamPolicy</code>). </p> <p>Here are the places where you can assign and manage roles:</p> <ul> <li>The <span class="notranslate">Firebase</span> console offers a simplified way to assign roles to project members in the <a href="https://console.firebase.google.com/project/_/settings/iam" class="external"><i>Users and permissions</i> tab</a> of <span class="material-icons" aria-hidden="true" translate="no">settings</span> > <b>Project settings</b>. In the <span class="notranslate">Firebase</span> console, you can assign any of the <a href="/docs/projects/iam/roles-basic">basic roles</a> (Owner, Editor, Viewer), the <a href="/docs/projects/iam/roles-predefined-all-products">Firebase Admin/Viewer roles</a>, or any of the <a href="/docs/projects/iam/roles-predefined-category">Firebase predefined product-category roles</a>. </li> <li>The <span class="notranslate">Google Cloud</span> console offers an expansive set of tools to assign roles to project members in the <a href="https://console.cloud.google.com/iam-admin/iam" class="external"><i>IAM</i> page</a>. In the <span class="notranslate">Cloud</span> console, you can also create and manage <a href="/docs/projects/iam/roles-custom">custom roles</a>, as well as give service accounts access to your project. <p>Note that in the <span class="notranslate">Google Cloud</span> console, project members are called <i>principals</i>. </p> </li> </ul> <p>If the Owner of your project can no longer perform the tasks of an Owner (for example, the person left your company) and your project isn't managed via a <span class="notranslate">Google Cloud</span> organization (see next paragraph), you can <a href="https://firebase.google.com/support/troubleshooter/contact">contact Firebase Support</a> and check with them about how to request access to the Firebase project. </p> <p>Note that if a Firebase project is part of a <span class="notranslate">Google Cloud</span> organization, it may not have an Owner. If you're unable to find an Owner for your Firebase project, contact the person who manages your <span class="notranslate">Google Cloud</span> organization to assign an Owner for the project. </p> </div> <div class="expandable" id="find-project-owner"> <h4 class="showalways" id="find-project-owner" data-text=" How do I find the Owner of a Firebase project? " tabindex="-1"> How do I find the Owner of a Firebase project? </h4> <p>You can view project members and their roles in the following places:</p> <ul> <li>If you have access to the project in the <span class="notranslate">Firebase</span> console, you can view the list of project members, including Owners, in the <a href="https://console.firebase.google.com/project/_/settings/iam" class="external"><i>Users and permissions page</i></a> of the <span class="notranslate">Firebase</span> console. </li> <li>If you do <b><i>not</i></b> have access to the project in the <span class="notranslate">Firebase</span> console, check if you have access to the project in the <span class="notranslate">Google Cloud</span> console. You can view the list of project members, including Owners, in the <a href="https://console.cloud.google.com/iam-admin/iam" class="external"><i>IAM</i> page</a> of the <span class="notranslate">Google Cloud</span> console. </li> </ul> <p>If the Owner of your project can no longer perform the tasks of an Owner (for example, the person left your company) and your project isn't managed via a <span class="notranslate">Google Cloud</span> organization (see next paragraph), you can <a href="https://firebase.google.com/support/troubleshooter/contact">contact Firebase Support</a> to have a temporary Owner assigned. </p> <p>Note that if a Firebase project is part of a <span class="notranslate">Google Cloud</span> organization, it may not have an Owner. Instead, the person who manages your <span class="notranslate">Google Cloud</span> organization can perform many tasks that an Owner can do. However, to perform several Owner-specific tasks (like assigning roles or managing <span class="notranslate">Google Analytics</span> properties), the administrator may need to assign themselves the <a href="/docs/projects/iam/roles-basic">actual Owner role</a> to perform those tasks. If you're unable to find an Owner for your Firebase project, contact the person who manages your <span class="notranslate">Google Cloud</span> organization to assign an Owner for the project. </p> </div> <div class="expandable" id="why-when-to-assign-project-owner"> <h4 class="showalways" id="why-when-to-assign-project-owner" data-text=" Why or when should I assign a project member the Owner role? " tabindex="-1"> Why or when should I assign a project member the Owner role? </h4> <p>To ensure proper management of a Firebase project, it must have an <a href="/docs/projects/iam/roles-basic">Owner</a>. A project's Owner is the person who can perform several important administrative actions (like assigning roles and managing <span class="notranslate">Google Analytics</span> properties), and Firebase Support can only fulfill administrative requests from demonstrated project Owners. </p> <p>After you set up the Owner(s) for a Firebase project, it's important to keep those assignments up-to-date. </p> <p>Note that if a Firebase project is part of a <span class="notranslate">Google Cloud</span> organization, the person who manages your <span class="notranslate">Google Cloud</span> organization can perform many tasks that an Owner can do. However, for several Owner-specific tasks (like assigning roles or managing <span class="notranslate">Google Analytics</span> properties), the administrator may need to assign themselves the <a href="/docs/projects/iam/roles-basic">actual Owner role</a> to perform those tasks. </p> </div> <div class="expandable" id="no-project-but-got-email"> <h4 class="showalways" id="no-project-but-got-email" data-text=" I don't think that I have a Firebase project, but I got an email about one. How do I access this project? " tabindex="-1"> I don't think that I have a Firebase project, but I got an email about one. How do I access this project? </h4> <p>The email you received should contain a link to open your Firebase project. Clicking the link in the email should open the project in the <span class="notranslate">Firebase</span> console. </p> <p>If you're not able to open the project in the link, make sure that you're signed into Firebase using the same Google account that received the email about the project. You can sign in and out of the <span class="notranslate">Firebase</span> console via your account avatar in the top-right corner of the console. </p> <p>Note that if you're the administrator of a <span class="notranslate">Google Cloud</span> organization, you may be notified about changes to Firebase projects inside your organization. However, you may not have sufficient permissions to open the Firebase project. In these cases, the simplest solution is to assign yourself the <a href="/docs/projects/iam/roles-basic">actual Owner role</a> to open the project and perform the required actions. Learn more about <a href="#why-when-to-assign-project-owner">why and when to assign the Owner role</a>. </p> </div> <h2 id="platforms-frameworks" data-text="Platforms and frameworks" tabindex="-1">Platforms and frameworks</h2> <p>Visit the platform-specific troubleshooting & FAQ pages for helpful tips and answers for more FAQ.</p> <ul> <li><a href="/docs/ios/troubleshooting-faq">iOS+</a></li> <li><a href="/docs/android/troubleshooting-faq">Android</a></li> <li><a href="/docs/unity/troubleshooting-faq">Unity</a></li> </ul> <h2 id="firebase-console" data-text="Firebase console" tabindex="-1"><span class="notranslate">Firebase</span> console</h2> <div class="expandable" id="console-browser-support"> <h4 class="showalways" id="console-browser-support" data-text=" What are the supported browsers for accessing the Firebase console? " tabindex="-1"> What are the supported browsers for accessing the <span class="notranslate">Firebase</span> console? </h4> <p>The <span class="notranslate">Firebase</span> console can be accessed from recent versions of popular desktop browsers such as Chrome, Firefox, Safari and Edge. Mobile browsers are currently not fully supported. </p> </div> <div class="expandable" id="console-troubleshoot-access-project"> <h4 class="showalways" id="console-troubleshoot-access-project" data-text=" I can load the Firebase console, but why can't I find or access my Firebase project? " tabindex="-1"> I can load the <span class="notranslate">Firebase</span> console, but why can't I find or access my Firebase project? </h4> <p>This FAQ is applicable if you're experiencing either of the following issues:</p> <ul> <li>The <span class="notranslate">Firebase</span> console returns an error page that says your project may not exist or that you don't have access to the project. <li>The <span class="notranslate">Firebase</span> console doesn't display your project even when you enter its project ID or project name in the console's search field. </ul> <aside class="note">If the <span class="notranslate">Firebase</span> console itself isn't loading for you or displays browser errors, check out the FAQ <a href="/support/faq#console-troubleshoot-loading">"Why is the <span class="notranslate">Firebase</span> console not loading for me?"</a> for applicable troubleshooting steps. </aside> <p>Try these troubleshooting steps:</p> <ol> <li>First, try accessing your project by visiting the project's URL directly. Use the following format:<br> <code translate="no" dir="ltr"><b>https://console.firebase.google.com/project/<var translate="no">PROJECT-ID</var>/overview</b></code> </li> <li>If you still can't access the project or receive permissions errors, check the following: <ul> <li>Make sure that you're signed into Firebase using the same Google account that has access to the project. You can sign in and out of the <span class="notranslate">Firebase</span> console via your account avatar in the top-right corner of the console. <li>Make sure that the <a href="https://console.cloud.google.com/apis/library/firebase.googleapis.com" class="external">Firebase Management API is enabled</a> for the project. <li>Make sure that you're assigned one of the <a href="/docs/projects/iam/roles-basic">basic IAM roles</a> (Owner, Editor, Viewer) or a role that has Firebase-related permissions in it, for example a <a href="/docs/projects/iam/roles-predefined">Firebase predefined role</a>. You can view your role(s) in the <a href="https://console.cloud.google.com/iam-admin/iam" class="external"><i>IAM</i> page</a> of the <span class="notranslate">Google Cloud</span> console. <li>If your project belongs to a <span class="notranslate">Google Cloud</span> organization, you may require additional permissions to see the project listed in the <span class="notranslate">Firebase</span> console. Contact the person who manages your <span class="notranslate">Google Cloud</span> organization to give you the appropriate role to view the project, for example the Browser role. </ul> </ol> <p>If none of the troubleshooting steps above enable you to find or access your project, contact <a href="/support/troubleshooter/access/project/lost">Firebase Support</a>. </p> </div> <div class="expandable" id="console-troubleshoot-loading"> <h4 class="showalways" id="console-troubleshoot-loading" data-text=" Why is the Firebase console not loading for me? " tabindex="-1"> Why is the <span class="notranslate">Firebase</span> console not loading for me? </h4> <p>This FAQ is applicable if you're experiencing any of the following issues: </p> <ul> <li>A page in the <span class="notranslate">Firebase</span> console never finishes loading. <li>Data within a page doesn't load as expected. <li>You receive browser error messages when loading the <span class="notranslate">Firebase</span> console. </ul> <p>Try these troubleshooting steps:</p> <ol> <li>Check the <i>Console</i> row of the <a href="//status.firebase.google.com/" class="external">Firebase Status Dashboard</a> for any possible service interruptions. <li>Make sure that you're using a <a href="/support/faq#console-browser-support">supported browser</a>. <li>Try to load the <span class="notranslate">Firebase</span> console in an incognito or private window. <li>Disable all browser extensions. <li>Verify that the network connection is not blocked by ad blocker, antivirus, proxy, firewall, or other software. <li>Try loading the <span class="notranslate">Firebase</span> console using a different network or device. <li>If using Chrome, check the <a href="https://developer.chrome.com/docs/devtools/open/#chrome" class="external">Developer Tools Console</a> for any <a href="https://support.google.com/chrome/answer/95669" class="external">errors</a>. </ol> <p>If none of the troubleshooting steps above resolve the issue, contact <a href="/support/troubleshooter/access/project/loading">Firebase Support</a>. </p> </div> <div class="expandable" id="console-language"> <h4 class="showalways" id="console-language" data-text=" How is my Firebase console language determined? " tabindex="-1"> How is my <span class="notranslate">Firebase</span> console language determined? </h4> <p>The language setting for the <span class="notranslate">Firebase</span> console is based on the language selected in your <a href="//myaccount.google.com/language" class="external">Google account settings</a>. </p> <p>To change your language preference, see <a href="//support.google.com/accounts/answer/32047" class="external">Change language</a>. </p> <p>The <span class="notranslate">Firebase</span> console supports the following languages: </p> <ul> <li>English</li> <li>Brazilian Portuguese</li> <li>French</li> <li>German</li> <li>Indonesian</li> <li>Japanese</li> <li>Korean</li> <li>Russian</li> <li>Simplified Chinese</li> <li>Spanish</li> <li>Traditional Chinese</li> </ul> </div> <div class="expandable" id="console-roles"> <h4 class="showalways" id="console-roles" data-text=" What roles and permissions does the Firebase console support? " tabindex="-1"> What roles and permissions does the <span class="notranslate">Firebase</span> console support? </h4> <p>The <span class="notranslate">Firebase</span> console and <span class="notranslate">Google Cloud</span> console use the same underlying roles and permissions. Learn more about roles and permissions in the <a href="/docs/projects/iam/overview">Firebase IAM documentation</a>. </p> <p>Firebase supports the <a href="/docs/projects/iam/roles-basic">fundamental (basic) roles</a> of Owner, Editor, and Viewer: </p> <ul> <li>A project <strong>Owner</strong> can add other members to the project, set up <a href="//console.firebase.google.com/project/_/settings/integrations" class="external">integrations</a> (project linking to services like <span class="notranslate">BigQuery</span> or Slack), and has full edit access for the project. </li> <li>A project <strong>Editor</strong> has full edit access for the project. </li> <li>A project <strong>Viewer</strong> has only read access for the project. Note that the <span class="notranslate">Firebase</span> console currently does not hide/disable edit UI controls from project Viewers, but these operations will fail for project members assigned the Viewer role. </li> </ul> <p>Firebase also supports:</p> <ul> <li><a href="/docs/projects/iam/roles-predefined"><strong>Firebase predefined roles</strong></a> — Curated Firebase-specific roles that enable more granular access control than the basic roles of Owner, Editor, and Viewer. </li> <li><a href="/docs/projects/iam/roles-custom"><strong>Custom roles</strong></a> — Fully customized IAM roles that you create to tailor a set of permissions that meet the specific requirements of your organization. </li> </ul> <aside class="note">To manage Firebase integrations with other Google products and services (for example, <span class="notranslate">AdMob</span>, <span class="notranslate">Google Analytics</span>, or <span class="notranslate">Google Play</span>), you may need <em>additional</em> permissions, roles, or access levels that are managed within those specific products and services. To learn more, review the documentation for the specific integration. </aside> </div> <h2 id="pricing" data-text="Pricing" tabindex="-1">Pricing</h2> <p> <aside class="warning">As of February 2022, Firebase has retired the Flame pricing plan.<br>Projects can no longer switch to or sign-up for the Flame plan, and existing projects have been downgraded to the Spark pricing plan. <a href="#flame-plan-legacy">Learn more.</a> </aside> </p> <div class="expandable" id="pricing-paid-free-features"> <h4 class="showalways" id="pricing-paid-free-features" data-text=" Which products are paid? Which are no-cost? " tabindex="-1"> Which products are paid? Which are no-cost? </h4> <p> Firebase's paid infrastructure products are the <span class="notranslate">Realtime Database</span>, <span class="notranslate">Cloud Storage for Firebase</span>, <span class="notranslate">Cloud Functions</span>, <span class="notranslate">Hosting</span>, <span class="notranslate">Test Lab</span>, and phone authentication. We offer a no-cost tier for all of these features. </p> <p> Firebase also has many no-cost products: <span class="notranslate">Analytics</span>, <span class="notranslate">Cloud Messaging</span>, the Notifications composer, <span class="notranslate">Remote Config</span>, <span class="notranslate">App Indexing</span>, <span class="notranslate">Dynamic Links</span>, and <span class="notranslate">Crash Reporting</span>. Use of these products is subject only to the product's traffic control policies (e.g. quotas, fair access and other service protections) in all plans, including our no-cost Spark plan. In addition, all <span class="notranslate">Authentication</span> features beyond phone authentication are no-cost. </p> </div> <p><section class="expandable" id="pricing-free-trial"> <h4 class="showalways" id="pricing-free-trial" data-text=" Does Firebase offer no-cost trial credits for paid products? " tabindex="-1"> Does Firebase offer no-cost trial credits for paid products? </h4></p> <p>Firebase paid services can be used under the <a href="//cloud.google.com/free/docs/gcp-free-tier#free-trial" class="external"><span class="notranslate">Google Cloud</span> Free Trial</a>. New <span class="notranslate">Google Cloud</span> and Firebase users can take advantage of a 90-day trial period that includes $300 in free <span class="notranslate">Cloud Billing</span> credits to explore and evaluate <span class="notranslate">Google Cloud</span> and Firebase products and services.</p> <p>During the <span class="notranslate">Google Cloud</span> Free Trial period, you'll be provided a Free Trial <span class="notranslate">Cloud Billing</span> account. Any Firebase project that uses that billing account will be on the Blaze pricing plan during the free trial period.</p> <p>Don't worry, setting up this Free Trial <span class="notranslate">Cloud Billing</span> account does not enable us to charge you. You are not charged unless you explicitly enable billing by upgrading your Free Trial <span class="notranslate">Cloud Billing</span> account to a paid account. You can upgrade to a paid account at any time during the trial. After you've upgraded, you can still use any remaining credits (within the 90-day period).</p> <p>Once the free trial expires, you'll need to either downgrade your project to the Spark pricing plan or <a href="//console.firebase.google.com/project/_/overview?purchaseBillingPlan=metered" class="external">set up the Blaze pricing plan</a> in the <span class="notranslate">Firebase</span> console to continue using your Firebase project.</p> <p>Learn more about the <a href="//cloud.google.com/free/docs/gcp-free-tier#free-trial" class="external"><span class="notranslate">Google Cloud</span> Free Trial</a>.</p> <p></section></p> <div class="expandable" id="pricing-right-plan"> <h4 class="showalways" id="pricing-right-plan" data-text=" How do I know which pricing plan is right for me? " tabindex="-1"> How do I know which pricing plan is right for me? </h4> <h5 id="spark-pricing-plan" data-text="Spark pricing plan" tabindex="-1">Spark pricing plan</h5> <p> Our Spark plan is a great place to develop your app at no cost. You get all the no-cost Firebase features (<span class="notranslate">Analytics</span>, the Notifications composer, <span class="notranslate">Crashlytics</span>, and so on) and generous amounts of our paid infrastructure features. However, if you exceed your Spark plan resources in a calendar month, your app will be shut off for the remainder of that month. In addition, <span class="notranslate">Google Cloud</span> features are not available when using the Spark plan. </p> <h5 id="blaze-pricing-plan" data-text="Blaze pricing plan" tabindex="-1">Blaze pricing plan</h5> <p> Our Blaze plan is designed for production apps. The Blaze plan also allows you to extend your app with paid <span class="notranslate">Google Cloud</span> features. You pay only for the resources that you consume, allowing you to scale with demand. We strive to make our Blaze plan prices competitive with industry-leading cloud providers. </p> </div> <div class="expandable" id="free-sms-per-day"> <h4 class="showalways" id="free-sms-per-day" data-text=" What happened to the free SMS on the Spark plan? " tabindex="-1"> What happened to the free SMS on the Spark plan? </h4> <p> Starting September 2024, to improve the security and service quality of Phone Authentication, Firebase projects must be linked to a Cloud Billing account to enable and use the SMS Service. </p> </div> <div class="expandable" id="monitor-usage-billing"> <h4 class="showalways" id="monitor-usage-billing" data-text=" How can I monitor my usage and billing? " tabindex="-1"> How can I monitor my usage and billing? </h4> <p> You can track your usage of project resources in the <span class="notranslate">Firebase</span> console on any of the following dashboards: </p> <ul> <li> <a href="//console.firebase.google.com/project/_/usage" class="external">Overall project-level <i>Usage and billing</i> dashboard</a> </li> <li> <a href="//console.firebase.google.com/project/_/authentication/usage" class="external"><span class="notranslate">Authentication</span> <i>Usage</i> dashboard</a> (specifically for Phone authentication instances) </li> <li> <a href="//console.firebase.google.com/project/_/firestore/usage" class="external"><span class="notranslate">Cloud Firestore</span> <i>Usage</i> dashboard</a> </li> <li> <a href="//console.firebase.google.com/project/_/functions/usage" class="external"><span class="notranslate">Cloud Functions</span> <i>Usage</i> dashboard</a> </li> <li> <a href="//console.firebase.google.com/project/_/storage/usage" class="external"><span class="notranslate">Cloud Storage</span> <i>Usage</i> dashboard</a> </li> <li> <a href="//console.firebase.google.com/project/_/hosting/usage" class="external"><span class="notranslate">Hosting</span> <i>Usage</i> dashboard</a> </li> <li> <a href="//console.firebase.google.com/project/_/database/usage" class="external"><span class="notranslate">Realtime Database</span> <i>Usage</i> dashboard</a> </li> </ul> </div> <div class="expandable" id="flame-plan-legacy"> <h4 class="showalways" id="flame-plan-legacy" data-text=" What happened to the Flame pricing plan? " tabindex="-1"> What happened to the Flame pricing plan? </h4> <aside class="warning">As of February 2022, Firebase has retired the Flame pricing plan.<br>Projects can no longer switch to or sign-up for the Flame plan, and existing projects have been downgraded to the Spark pricing plan. <a href="#flame-plan-legacy">Learn more.</a> </aside> <p> In January 2020, the Flame pricing plan ($25/mo of additional quota) was removed as an option for new sign-ups. Existing plan users were granted a grace period to migrate their projects off the Flame plan. In February 2022, the remaining projects on the Flame pricing plan were downgraded to the Spark pricing plan. <br> Accordingly, </p> <ul> <li>Existing Spark and Blaze plan projects and any new projects can no longer switch to or sign up for the Flame plan. </li> <li>If you moved an existing Flame plan project to a different pricing plan, the project cannot return to the Flame plan. </li> <li>Projects downgraded to the Spark plan can be upgraded to the Blaze plan to resume additional paid services. </li> <li>References to the Flame plan have been removed from documentation. </li> </ul> <p> Do you have more questions about the Flame plan retirement? Read some of the <a href="#flame-plan-legacy-additional-faqs">additional FAQs</a> below. </p> <p> Want to learn about the other pricing plans offered by Firebase? Visit our <a href="/pricing">Firebase pricing page</a>! If you'd like to start moving any existing projects to another pricing plan, you can do that in the <a href="//console.firebase.google.com/project/_/usage/details" class="external"><span class="notranslate">Firebase</span> console</a> for your project. </p> <h5 id="flame-plan-legacy-additional-faqs" data-text=" Additional FAQs about the Flame plan retirement " tabindex="-1"> Additional FAQs about the Flame plan retirement </h5> <div class="expandable"> <p class="showalways"> I have a project or a process or a business model that relies on a fixed Firebase cost. What should I do? </p> <p> Sign up for the Blaze pricing plan, and make sure to <a href="/docs/projects/billing/avoid-surprise-bills#set-up-budget-alert-emails">set budget alerts</a>. </p> </div> <p><div class="expandable"> <p class="showalways"> May I be given special access to create new Flame plan projects? </p> <p> No, Firebase isn't offering special access for projects to switch to or sign-up for the Flame plan. </p> </div></p> <p><div class="expandable"> <p class="showalways"> I changed my Flame plan project to a different pricing plan. How do I change it back? </p> <p> Switching to the Flame plan is no longer possible. For access to services provided by the Flame plan, make sure that you're using the Blaze pricing plan, and consider <a href="/docs/projects/billing/avoid-surprise-bills#set-up-budget-alert-emails">setting up budget alerts</a> for your project. </p> </div></p> <p><div class="expandable"> <p class="showalways"> My project was automatically switched to a different pricing plan as part of the Flame plan retirement. What should I do? </p> <p> If your project requires additional quota beyond what is provided with the Spark plan, you'll need to upgrade your project to the Blaze pricing plan. </p> </div></p> <p><div class="expandable"> <p class="showalways"> Why is the Flame plan being retired? </p> <p> Over the years, we've seen declining usage of the Flame plan, and most projects that use the plan are not consuming its full value. Maintaining this pricing plan is generally not cost-effective, and we feel that we can serve everyone better if resources went to other Firebase initiatives. </p> </div> </div></p> <div class="expandable" id="pricing-blaze-no-cost"> <h4 class="showalways" id="pricing-blaze-no-cost" data-text=" How is the no-cost usage in the Blaze plan different from the no-cost usage in the Spark plan? " tabindex="-1"> How is the no-cost usage in the Blaze plan different from the no-cost usage in the Spark plan? </h4> <p> No-cost usage on the Blaze plan is calculated daily. Usage limits also differ from the Spark plan for <span class="notranslate">Cloud Functions</span>, phone authentication, and <span class="notranslate">Test Lab</span>. </p> <p>For <span class="notranslate">Cloud Functions</span>, no-cost usage on the Blaze plan is calculated at the <span class="notranslate">Cloud Billing</span> account level, not the project level and has the following limits: </p> <ul> <li>2M invocations/month</li> <li>400K GB-seconds/month</li> <li>200K CPU-seconds/month</li> <li>5 GB of networking egress/month</li> </ul> <p> For phone authentication, no-cost usage on the Blaze plan is calculated monthly. </p> <p> For <span class="notranslate">Test Lab</span>, no-cost usage on the Blaze plan has the following limits: </p> <ul> <li>30 physical device minutes/day</li> <li>60 virtual device minutes/day</li> </ul> </div> <div class="expandable" id="pricing-blaze-upgrade"> <h4 class="showalways" id="pricing-blaze-upgrade" data-text=" Does the no-cost usage quota reset when I change from a Spark to a Blaze plan? " tabindex="-1"> Does the no-cost usage quota reset when I change from a Spark to a Blaze plan? </h4> <p> No-cost usage from the Spark plan is included in the Blaze plan. No-cost usage does not reset when moving to a Blaze plan. </p> </div> <div class="expandable" id="pricing-simultaneous"> <h4 class="showalways" id="pricing-simultaneous" data-text=' What is a "simultaneous database connection"? ' tabindex="-1"> What is a "simultaneous database connection"? </h4> <p> A simultaneous connection is equivalent to one mobile device, browser tab, or server app connected to the database. Firebase imposes hard limits on the number of simultaneous connections to your app's database. These limits are in place to protect both Firebase and our users from abuse. </p> <p> The Spark plan limit is 100 and cannot be raised. The Flame and Blaze plans have a limit of 200,000 simultaneous connections per database. </p> <p> This limit isn't the same as the total number of users of your app, because your users don't all connect at once. If you need more than 200,000 simultaneous connections, please read <a href="/docs/database/usage/sharding"> Scale with Multiple Databases</a>. </p> <aside class="warning">As of February 2022, Firebase has retired the Flame pricing plan.<br>Projects can no longer switch to or sign-up for the Flame plan, and existing projects have been downgraded to the Spark pricing plan. <a href="#flame-plan-legacy">Learn more.</a> </aside> </div> <div class="expandable" id="pricing-exceed"> <h4 class="showalways" id="pricing-exceed" data-text=" What happens if I exceed Spark plan storage or download limits for Realtime Database? " tabindex="-1"> What happens if I exceed Spark plan storage or download limits for <span class="notranslate">Realtime Database</span>? </h4> <p> To provide you with a predictable price, the resources available to you in the Spark plans are capped. This means that when you exceed any plan limit in any month, your app will be turned off to prevent any further resource usage and additional charges. </p> <aside class="warning">As of February 2022, Firebase has retired the Flame pricing plan.<br>Projects can no longer switch to or sign-up for the Flame plan, and existing projects have been downgraded to the Spark pricing plan. <a href="#flame-plan-legacy">Learn more.</a> </aside> </div> <div class="expandable" id="pricing-exceed-2"> <h4 class="showalways" id="pricing-exceed-2" data-text=" What happens if I exceed Spark plan simultaneous connection limits for Realtime Database? " tabindex="-1"> What happens if I exceed Spark plan simultaneous connection limits for <span class="notranslate">Realtime Database</span>? </h4> <p> When your app reaches its concurrency limit on the Spark plan, any subsequent connections will be rejected until some of the existing connections are closed. The app will continue to work for users who are connected. </p> </div> <div class="expandable" id="pricing-cloud"> <h4 class="showalways" id="pricing-cloud" data-text=" How does Firebase's integration with Google Cloud work? " tabindex="-1"> How does Firebase's integration with <span class="notranslate">Google Cloud</span> work? </h4> <p> Firebase is deeply integrated with <a href="//cloud.google.com/" class="external"><span class="notranslate">Google Cloud</span></a>. Projects are shared between Firebase and <span class="notranslate">Google Cloud</span>, so projects can have Firebase services and <span class="notranslate">Google Cloud</span> services enabled. You can access the same project from the <span class="notranslate">Firebase</span> console or the <span class="notranslate">Google Cloud</span> console. Specifically: </p> <ul> <li> Certain Firebase products are backed directly by <span class="notranslate">Google Cloud</span>, such as <span class="notranslate">Cloud Storage for Firebase</span>. The list of products backed by <span class="notranslate">Google Cloud</span> will continue to grow over time. </li> <li> Many of your settings, including collaborators and billing information, are shared by Firebase and <span class="notranslate">Google Cloud</span>. Your usage of both Firebase and <span class="notranslate">Google Cloud</span> appears on the same bill. </li> </ul> <p> In addition, when you upgrade to the Blaze plan, you can use any of <span class="notranslate">Google Cloud</span>'s world-class Infrastructure-as-a-Service and APIs directly inside your Firebase project, at standard <a href="//cloud.google.com/pricing/" class="external"><span class="notranslate">Google Cloud</span> pricing</a>. You can also export data from <span class="notranslate">Google Cloud</span> directly to <span class="notranslate">BigQuery</span> for analysis. To learn more, see <a href="//support.google.com/firebase/answer/6318765" class="external">Link <span class="notranslate">BigQuery</span> with Firebase.</a> </p> <p> There are many security-enhancing, latency-improving, and time-saving benefits to using <span class="notranslate">Google Cloud</span> with Firebase (versus other, cloud services that are not co-located). Check out the <a href="//cloud.google.com/" class="external"><span class="notranslate">Google Cloud</span> site</a> for more details. </p> </div> <div class="expandable" id="effects-billing-cloud-console"> <h4 class="showalways" id="effects-billing-cloud-console" data-text=" What happens to my Firebase project if I add or remove billing accounts for that project in the Google Cloud console? " tabindex="-1"> What happens to my Firebase project if I add or remove billing accounts for that project in the <span class="notranslate">Google Cloud</span> console? </h4> <p> If a <span class="notranslate">Cloud Billing</span> account is added to a project in the <span class="notranslate">Google Cloud</span> console, the same project will automatically be upgraded to the Firebase Blaze plan if that project is currently on the Spark plan. </p> <p> In contrast, if an existing active <span class="notranslate">Cloud Billing</span> account is removed from a project in the <span class="notranslate">Google Cloud</span> console, that project will be downgraded to the Firebase Spark plan. </p> <aside class="warning">As of February 2022, Firebase has retired the Flame pricing plan.<br>Projects can no longer switch to or sign-up for the Flame plan, and existing projects have been downgraded to the Spark pricing plan. <a href="#flame-plan-legacy">Learn more.</a> </aside> </div> <div class="expandable" id="pricing-modify-plan"> <h4 class="showalways" id="pricing-modify-plan" data-text=" Can I upgrade, downgrade, or cancel at any time? " tabindex="-1"> Can I upgrade, downgrade, or cancel at any time? </h4> <p> Yes, you can upgrade, downgrade, or cancel at any time. Note that we don't provide prorated refunds for downgrades or cancellations. This means that if you downgrade or cancel before the end of your billing period, you still pay for the remainder of the month. </p> </div> <div class="expandable" id="pricing-support"> <h4 class="showalways" id="pricing-support" data-text=" What kind of support will I receive? " tabindex="-1"> What kind of support will I receive? </h4> <p> 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. </p> </div> <div class="expandable" id="pricing-blaze-usage"> <h4 class="showalways" id="pricing-blaze-usage" data-text=" Can I cap usage on the Blaze plan? " tabindex="-1"> Can I cap usage on the Blaze plan? </h4> <p> No, you cannot currently cap your Blaze plan usage. We are evaluating options for supporting caps on Blaze plan usage. </p> <p> Blaze users can define a budget for their project or account, and receive alerts as their spending approaches those limits. Learn how to <a href="/docs/projects/billing/avoid-surprise-bills#set-up-budget-alert-emails">set up budget alerts</a>. </p> </div> <div class="expandable" id="pricing-backups"> <h4 class="showalways" id="pricing-backups" data-text=" What are automated backups? Do you offer hourly backups? " tabindex="-1"> What are automated backups? Do you offer hourly backups? </h4> <p><a href="/docs/database/backups">Automated backups</a> are an advanced feature for customers on our Blaze pricing plan that backs up your <span class="notranslate">Firebase Realtime Database</span> data once a day and uploads it to <a href="//cloud.google.com/storage/" class="external"><span class="notranslate">Google Cloud Storage</span></a>. </p> <p>We do not offer hourly backups.</p> </div> <div class="expandable" id="pricing-discounts"> <h4 class="showalways" id="pricing-discounts" data-text=" Do you offer open-source, nonprofit, or educational discounts? " tabindex="-1"> Do you offer open-source, nonprofit, or educational discounts? </h4> <p> 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. </p> <aside class="warning">As of February 2022, Firebase has retired the Flame pricing plan.<br>Projects can no longer switch to or sign-up for the Flame plan, and existing projects have been downgraded to the Spark pricing plan. <a href="#flame-plan-legacy">Learn more.</a> </aside> </div> <div class="expandable" id="pricing-enterprise"> <h4 class="showalways" id="pricing-enterprise" data-text=" Do you offer enterprise contracts, pricing, support, or dedicated infrastructure hosting? " tabindex="-1"> Do you offer enterprise contracts, pricing, support, or dedicated infrastructure hosting? </h4> <p> Our Blaze plan is suitable for enterprises of all sizes, and our <a href="/terms/service-level-agreement">SLA</a> 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 <span class="notranslate">Realtime Database</span>. We are hard at work adding some of these features. </p> </div> <div class="expandable" id="pricing-payg"> <h4 class="showalways" id="pricing-payg" data-text=" Do you offer ad-hoc pricing? I only want pay-as-you-go for one or two features. " tabindex="-1"> Do you offer ad-hoc pricing? I only want pay-as-you-go for one or two features. </h4> <p> We offer ad-hoc pricing in the Blaze plan, where you pay only for the features you use. </p> </div> <div class="expandable" id="pricing-adwords"> <h4 class="showalways" id="pricing-adwords" data-text=" How do the paid Firebase plans work with Ads? Are there no-cost advertising credits with paid plans? " tabindex="-1"> How do the paid Firebase plans work with <span class="notranslate">Ads</span>? Are there no-cost advertising credits with paid plans? </h4> <p> The Firebase pricing plans are separate from <span class="notranslate">Ads</span>, so there are no advertising credits without cost. As a Firebase developer, you are able to "link" your <span class="notranslate">Ads</span> account to Firebase to support conversion tracking. </p> <p> All ads campaigns are managed directly in <span class="notranslate">Ads</span>, and <span class="notranslate">Ads</span> billing is managed from the <span class="notranslate">Ads</span> console. </p> </div> <h3 id="functions-pricing" data-text="Cloud Functions pricing" tabindex="-1"><span class="notranslate">Cloud Functions</span> pricing</h3> <p><section class="expandable" id="why-billing"> <h4 class="showalways" id="why-billing" data-text="Why do I need a billing account to use Cloud Functions for Firebase?" tabindex="-1">Why do I need a billing account to use <span class="notranslate">Cloud Functions for Firebase</span>?</h4></p> <p><span class="notranslate">Cloud Functions for Firebase</span> relies on some paid Google services. New function deployments with <span class="notranslate">Firebase</span> CLI 11.2.0 and higher rely on <a href="//cloud.google.com/cloud-build" class="external"><span class="notranslate">Cloud Build</span></a> and <a href="//cloud.google.com/artifact-registry/" class="external"><span class="notranslate">Artifact Registry</span></a>. Deployments to older versions use <span class="notranslate">Cloud Build</span> in the same way, but rely on <a href="//cloud.google.com/container-registry/" class="external"><span class="notranslate">Container Registry</span></a> and <a href="//cloud.google.com/storage" class="external"><span class="notranslate">Cloud Storage</span></a> for storage instead of <span class="notranslate">Artifact Registry</span>. Usage of these services will be billed in addition to existing pricing.</p> <p><strong>Storage space for <span class="notranslate">Firebase</span> CLI 11.2.0 and newer versions</strong></p> <p><a href="//cloud.google.com/artifact-registry" class="external"><span class="notranslate">Artifact Registry</span></a> provides the containers in which functions run. <span class="notranslate">Artifact Registry</span> 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.</p> <p><strong>Storage space for <span class="notranslate">Firebase</span> CLI 11.1.x and prior versions</strong></p> <p>For functions deployed to older versions, <a href="//cloud.google.com/container-registry/" class="external"><span class="notranslate">Container Registry</span></a>, 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 <a href="//cloud.google.com/container-registry/pricing#storage" class="external">billed at $0.026 per month</a>.</p> <p>To understand more about how your bill might change, please review the following</p> <ul> <li><a href="//cloud.google.com/functions/pricing"><span class="notranslate">Cloud Functions</span> pricing</a>: existing no-cost tier is unchanged.</li> <li><a href="//cloud.google.com/cloud-build/pricing"><span class="notranslate">Cloud Build</span> pricing:</a> <span class="notranslate">Cloud Build</span> provides for a no-cost tier.</li> <li><a href="//cloud.google.com/artifact-registry/pricing"><span class="notranslate">Artifact Registry</span> pricing</a>.</li> <li><a href="//cloud.google.com/container-registry/pricing"><span class="notranslate">Container Registry</span> pricing</a>.</li> </ul> <p></section></p> <p><section class="expandable" id="storage-charge"> <h4 class="showalways" id="storage-charge" data-text="Does Cloud Functions for Firebase still have no-cost usage?" tabindex="-1">Does <span class="notranslate">Cloud Functions for Firebase</span> still have no-cost usage?</h4></p> <p>Yes. On the Blaze plan, <span class="notranslate">Cloud Functions</span> 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.</p> <p>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 <a href="/docs/emulator-suite"><span class="notranslate">Firebase Local Emulator Suite</span></a> during development.</p> <p>See <a href="/pricing#cloud-functions">Firebase Pricing plans</a> and the <a href="//cloud.google.com/functions/pricing#pricing_examples" class="external"><span class="notranslate">Cloud Functions</span> Pricing</a> example scenarios.</p> <p></section></p> <p><section class="expandable" id="functions-quotas"> <h4 class="showalways" id="functions-quotas" data-text="Is Firebase planning to raise the quotas and limits for Cloud Functions for Firebase?" tabindex="-1">Is Firebase planning to raise the quotas and limits for <span class="notranslate">Cloud Functions for Firebase</span>?</h4></p> <p>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 <a href="/docs/functions/quotas#time_limits">Quotas and limits</a>.</p> <p></section></p> <p><section class="expandable" id="functions-credit"> <h4 class="showalways" id="functions-credit" data-text="Can I get the Google Cloud $300 credit?" tabindex="-1">Can I get the <span class="notranslate">Google Cloud</span> $300 credit?</h4></p> <p>Yes, you can create a <span class="notranslate">Cloud Billing</span> account in the <span class="notranslate">Google Cloud</span> console to get the $300 credit, then link that <span class="notranslate">Cloud Billing</span> account to a Firebase project.</p> <p>More about the <span class="notranslate">Google Cloud</span> credit <a href="//cloud.google.com/free/docs/gcp-free-tier#free-trial" class="external">here</a>.</p> <p>Note that if you do this, you have to then <a href="//console.firebase.google.com/project/_/overview?purchaseBillingPlan=metered" class="external">set up</a> the Blaze pricing plan in the <span class="notranslate">Firebase</span> console in order for your project to continue working after the $300 credit is exhausted.</p> <p></section></p> <p><section class="expandable" id="functions-codelab"> <h4 class="showalways" id="functions-codelab" data-text="I want to follow a codelab to learn about Firebase. Can you give me a temporary billing account?" tabindex="-1">I want to follow a codelab to learn about Firebase. Can you give me a temporary billing account?</h4></p> <p>No, sorry. You can use the <a href="/docs/emulator-suite">Firebase emulator</a> for development without having a <span class="notranslate">Cloud Billing</span> account. Alternatively, try applying for a <a href="//cloud.google.com/free/docs/gcp-free-tier#free-trial" class="external"><span class="notranslate">Google Cloud</span> free trial</a>. If you're still having trouble paying your bill because of this change, contact Firebase Support.</p> <p></section></p> <p><section class="expandable" id="functions-bill"> <h4 class="showalways" id="functions-bill" data-text="I'm worried I'm going to rack up a huge bill." tabindex="-1">I'm worried I'm going to rack up a huge bill.</h4></p> <p>You can <a href="/docs/projects/billing/avoid-surprise-bills#set-up-budget-alert-emails">set up budget alerts</a> in the <span class="notranslate">Google Cloud</span> console to help control costs. Also, you can <a href="/docs/functions/manage-functions#min-max-instances">set limits</a> on the number of billed instances created for each of your functions. To get an idea of costing for typical scenarios, see the <a href="//cloud.google.com/functions/pricing#pricing_examples" class="external">Cloud Functions Pricing</a> examples.</p> <p></section></p> <p><section class="expandable" id="functions-charges"> <h4 class="showalways" id="functions-charges" data-text="How can I check my current billing charges?" tabindex="-1">How can I check my current billing charges?</h4></p> <p>View the <a href="//console.firebase.google.com/project/_/usage" class="external"><em>Usage and billing</em></a> dashboard in the <span class="notranslate">Firebase</span> console.</p> <p></section></p> <p><section class="expandable" id="extensions-pricing"> <h4 class="showalways" id="extensions-pricing" data-text="I use Firebase Extensions. Do I need a billing account?" tabindex="-1">I use Firebase Extensions. Do I need a billing account?</h4></p> <p>Yes. Since <a href="/docs/extensions#how_does_it_work">extensions use Cloud Functions</a>, extensions will be subject to the same charges as other functions.</p> <p>To use extensions, you will need to upgrade to the Blaze pricing plan. You will be charged a small amount (typically <a href="/pricing#cloud-functions">around $0.01 per month</a> 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.</p> <p></section></p> <h3 id="storage-pricing" data-text="Cloud Storage for Firebase pricing" tabindex="-1"><span class="notranslate">Cloud Storage for Firebase</span> pricing</h3> <div class="expandable" id="storage-upload-download-billing"> <h4 class="showalways" id="storage-upload-download-billing" data-text=" How do I predict how much I will be billed for upload and download operations? " tabindex="-1"> How do I predict how much I will be billed for upload and download operations? </h4> <p> Visit the Firebase Pricing page and use the <a href="//firebase.google.com/pricing#blaze-plan-calculator">Blaze plan calculator</a>. The calculator lists all the usage types for <span class="notranslate">Cloud Storage for Firebase</span>. </p> <p> Use the sliders to input the expected usage of your Storage bucket. The calculator will estimate your monthly bill. </p> </div> <div class="expandable" id="pricing-exceed-3"> <h4 class="showalways" id="pricing-exceed-3" data-text=" What happens if I exceed Spark plan upload, download or storage limits for Cloud Storage for Firebase? " tabindex="-1"> What happens if I exceed Spark plan upload, download or storage limits for <span class="notranslate">Cloud Storage for Firebase</span>? </h4> <p> When you exceed limits for <span class="notranslate">Cloud Storage</span> in a project on the Spark plan, the result depends on the type of limit that you exceed: </p> <ul> <li>If you exceed the <strong>GB stored</strong> 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. </li> <li>If you exceed the <strong>GB downloaded</strong> 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. </li> <li>If you exceed the <strong>upload or download operations</strong> 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. </li> </ul> </div> <h2 id="privacy" data-text="Privacy" tabindex="-1">Privacy</h2> <div class="expandable" id="firebase-is-gdpr-ready"> <h4 class="showalways" id="firebase-is-gdpr-ready" data-text=" Where can I find information about privacy and security in Firebase? " tabindex="-1"> Where can I find information about privacy and security in Firebase? </h4> <p> Check out the page <a href="/support/privacy">Privacy and Security in Firebase</a>. </p> </div> <div class="expandable" id="firebase-usage-diagnostics"> <h4 class="showalways" id="firebase-usage-diagnostics" data-text=" Do the Firebase SDKs log any usage/diagnostic information outside of Analytics? " tabindex="-1"> Do the Firebase SDKs log any usage/diagnostic information outside of Analytics? </h4> <p> Yes. This is currently iOS-only, but may change in the future. The Firebase Apple platforms SDK includes the <code translate="no" dir="ltr">FirebaseCoreDiagnostics</code> framework by default. This framework is used by Firebase to collect SDK usage and diagnostics information to help prioritize future product enhancements. <code translate="no" dir="ltr">FirebaseCoreDiagnostics</code> 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 <a href="https://github.com/firebase/firebase-ios-sdk/tree/master/Firebase/CoreDiagnostics">GitHub</a> </p> </div> <h2 id="ab-testing" data-text="A/B Testing" tabindex="-1"><span class="notranslate">A/B Testing</span></h2> <div class="expandable" id="abt-limits"> <h4 class="showalways" id="abt-limits" data-text=" A/B Testing: How many experiments can I create and run? " tabindex="-1"> <strong><span class="notranslate">A/B Testing</span>:</strong> How many experiments can I create and run? </h4> <p>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.</p> </div> <div class="expandable" id="abt-ga-link"> <h4 class="showalways" id="abt-ga-link" data-text=" A/B Testing: Why can’t I view my experiments after unlinking and re-linking my project to Google Analytics? " tabindex="-1"> <strong><span class="notranslate">A/B Testing</span>:</strong> Why can’t I view my experiments after unlinking and re-linking my project to Google Analytics? </h4> <p>Linking to a different <span class="notranslate">Google Analytics</span> property will cause you to lose access to experiments created beforehand. To regain access to a previous experiment, re-link your project to the <span class="notranslate">Google Analytics</span> property that was linked when the experiment was created.</p> </div> <div class="expandable" id="abt-ga-not-linked"> <h4 class="showalways" id="abt-ga-not-linked" data-text=' A/B Testing: Why do I receive a "Project not linked to Google Analytics" message when creating a Remote Config experiment? ' tabindex="-1"> <strong><span class="notranslate">A/B Testing</span>:</strong> Why do I receive a "Project not linked to Google Analytics" message when creating a Remote Config experiment? </h4> <p> If you've already <a href="https://firebase.google.com/docs/analytics/get-started?platform=ios#before_you_begin_2" class="external">linked Firebase and Google Analytics</a>, but still see a message that Google Analytics is not linked, make sure that an Analytics stream exists for <i>all</i> apps in your project. Currently, all apps in a project must be connected to a Google Analytics stream to use A/B Testing. </p> <p> You can find the list of all active streams on the <a href="https://console.firebase.google.com/project/_/settings/integrations/analytics" class="external">Google Analytics integration details</a> page within the Firebase console, accessed from <span class="material-icons" aria-hidden="true" translate="no">settings</span><strong>Project Settings</strong> <span class="material-icons" aria-hidden="true" translate="no">chevron_right</span> <strong>Integrations</strong> <span class="material-icons" aria-hidden="true" translate="no">chevron_right</span> <strong>Google Analytics</strong> <span class="material-icons" aria-hidden="true" translate="no">chevron_right</span> <strong>Manage</strong>. </p> <p> 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: </p> <ul> <li> 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: <ul> <li>Delete and re-add any app without an active stream in the Firebase console.</li> <li> From the <a href="https://analytics.google.com" class="external">Google Analytics console</a>, select <strong>Admin</strong>, click <strong>Data Streams</strong>, then click <strong>Add stream</strong>, add the missing app's details, and click <strong>Register app</strong>. </li> </ul> </li> <li> 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: <ol> <li> From <span class="material-icons" aria-hidden="true" translate="no">settings</span> <strong>Project Settings</strong>, select <a href="https://console.firebase.google.com/project/_/settings/integrations" class="external"><strong>Integrations</strong></a>. </li> <li> Within the <strong>Google Analytics</strong> card, click <strong>Manage</strong> to access Firebase and Google Analytics settings. </li> <li> Make a note of the Google Analytics <strong>Property ID</strong> and the <strong>Linked Google Analytics account</strong>. </li> <li> Click <span class="material-icons" aria-hidden="true" translate="no">more_vert</span> <strong>More</strong> and select <strong>Unlink Analytics from this project</strong>. </li> <li> Review the warning that appears (don't worry here; you will relink the same property in the next step), then click <strong>Unlink Google Analytics</strong>.<br /><br /> When unlinking is complete, you'll be redirected to the <strong>Integrations</strong> page. </li> <li> Within the <strong>Google Analytics</strong> card, click <strong>Enable</strong> to begin the relinking process. </li> <li>Select your Analytics account from the <strong>Select account</strong> list.</li> <li> Next to <strong>Automatically create a new property in this account</strong>, click <span class="material-icons" aria-hidden="true" translate="no">edit</span> <strong>Edit</strong> and, from the <strong>Analytics property</strong> list that appears, select your property ID.<br /><br /> 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. </li> <li>Click <strong>Enable Google Analytics</strong> to relink the property.</li> <li>Click <strong>Finish</strong>.</li> </ol> </li> </ul> <aside class="important"> <strong>Important:</strong> Be sure to select the Analytics property that was previously linked to ensure continuity of Analytics events. If you accidentally create a new property, follow the previous steps again to relink your active property. </aside> <p> If you still receive an error <a href="https://firebase.google.com/docs/ab-testing/abtest-config" class="external">creating A/B Tests with Remote Config</a> after performing these steps, <a href="https://firebase.google.com/support/troubleshooter/ab_testing/help" class="external"> contact Firebase Support</a>. </p> </div> <h2 id="admob" data-text="AdMob" tabindex="-1"><span class="notranslate">AdMob</span></h2> <div class="expandable" id="admob-windows"> <h4 class="showalways" id="admob-windows" data-text=" AdMob: Can I link my Windows apps to Firebase? " tabindex="-1"> <strong><span class="notranslate">AdMob</span>:</strong> Can I link my Windows apps to Firebase? </h4> <p>No, Windows apps are not currently supported.</p> </div> <div class="expandable" id="admob-single-user-linking"> <h4 class="showalways" id="admob-single-user-linking" data-text=" AdMob: Why can't I link my app to AdMob from the Firebase console? " tabindex="-1"> <strong><span class="notranslate">AdMob</span>:</strong> Why can't I link my app to <span class="notranslate">AdMob</span> from the <span class="notranslate">Firebase</span> console? </h4> <p>You can link an <span class="notranslate">AdMob</span> app to a Firebase app via the <span class="notranslate">AdMob</span> console. <a href="https://support.google.com/admob/answer/6383165" class="external">Learn how.</a> </p> </div> <div class="expandable" id="admob-permissions-to-link"> <h4 class="showalways" id="admob-permissions-to-link" data-text=" AdMob: What permissions or access do I need to link a Firebase app to an AdMob app? " tabindex="-1"> <strong><span class="notranslate">AdMob</span>:</strong> What permissions or access do I need to link a Firebase app to an <span class="notranslate">AdMob</span> app? </h4> <p>In order to do this linking, you need the following access:</p> <ul> <li><b><span class="notranslate">AdMob</span></b>: You need to be an <span class="notranslate">AdMob</span> admin.</li> <li><b>Firebase</b>: You must have the <code translate="no" dir="ltr">firebase.links.create</code> permission, which is included in the <a href="/docs/projects/iam/roles-basic">Owner role</a> and the <a href="/docs/projects/iam/roles-predefined-all-products">Firebase Admin role</a>. </li> <li><b><span class="notranslate">Google Analytics</span></b>: You must have the Edit role or Manage Users role for the property associated with the Firebase project. <a href="https://support.google.com/analytics/answer/2884495" class="external">Learn more.</a> </li> </ul> </div> <div class="expandable" id="admob-multi-user-linking"> <h4 class="showalways" id="admob-multi-user-linking" data-text=" AdMob: Can multiple users in the same AdMob account link AdMob apps and Firebase apps? " tabindex="-1"> <strong><span class="notranslate">AdMob</span>:</strong> Can multiple users in the same <span class="notranslate">AdMob</span> account link <span class="notranslate">AdMob</span> apps and Firebase apps? </h4> <p>For <a href="https://support.google.com/admob/answer/6376659" class="external">multi-user <span class="notranslate">AdMob</span> accounts</a>, the user who created the first Firebase link and accepted the <a href="/terms">Firebase Terms of Service</a> is the only user who can create new links between <span class="notranslate">AdMob</span> apps and Firebase apps. </p> </div> <div class="expandable" id="admob-which-sdk"> <h4 class="showalways" id="admob-which-sdk" data-text=" AdMob: To use AdMob, which SDKs should I use? " tabindex="-1"> <strong><span class="notranslate">AdMob</span>:</strong> To use <span class="notranslate">AdMob</span>, which SDKs should I use? </h4> <p>To use <span class="notranslate">AdMob</span>, always use the <span class="notranslate">Google Mobile Ads</span> SDK as described in this FAQ. Additionally and optionally, if you want to collect user metrics for <span class="notranslate">AdMob</span>, then include the Firebase SDK for <span class="notranslate">Google Analytics</span> in your app. </p> <ul> <li><b>For <a href="/docs/admob/ios/quick-start">iOS projects</a></b>:<br> Import the <span class="notranslate">Google Mobile Ads</span> SDK by following the instructions in the <a href="https://developers.google.com/admob/ios/quick-start#import_the_mobile_ads_sdk"><span class="notranslate">AdMob</span> iOS documentation</a>. </li> <li><b>For <a href="/docs/admob/android/quick-start">Android projects</a></b>:<br> Add the dependency for the <span class="notranslate">Google Mobile Ads</span> SDK to your <code translate="no" dir="ltr">build.gradle</code> file:<br> <code translate="no" dir="ltr">implementation 'com.google.android.gms:play-services-ads:23.5.0'</code><br> </li> <li><b>For <a href="/docs/admob/cpp/quick-start">C++ projects</a> and <a href="https://developers.google.com/admob/unity/start" class="external">Unity projects</a></b>: Follow the instructions in the respective documentation. </li> </ul> <br> <aside class="caution"> <p><strong>To use <span class="notranslate">AdMob</span>, always use the <span class="notranslate">Google Mobile Ads</span> SDK as described earlier in this FAQ.</strong> </p> <p>We're making the following changes in September 2024 to give you more control over the dependencies that you add to your apps. </p> <ul> <li><b>For Android</b>: We will no longer publish the Firebase SDKs for <span class="notranslate">AdMob</span> (<code translate="no" dir="ltr">firebase-ads</code> or <code translate="no" dir="ltr">firebase-ads-lite</code>); instead, use the <span class="notranslate">Google Mobile Ads</span> SDK as described earlier in this FAQ. <p>These artifacts did not supply their own binary and were only a wrapper around their dependencies, specifically the <span class="notranslate">Google Mobile Ads</span> SDK and the Firebase SDK for <span class="notranslate">Google Analytics</span>. So, if your app calls any <span class="notranslate">Google Analytics</span> APIs and you switch to using the <span class="notranslate">Google Mobile Ads</span> SDK, make sure that you explicitly add the dependency for the Firebase SDK for <span class="notranslate">Google Analytics</span> (<code translate="no" dir="ltr"><nobr>com.google.firebase:firebase-analytics</nobr></code>) to your app's <code translate="no" dir="ltr">build.gradle</code> file. </p> <p>Even after these artifacts stop being published, <strong><em>any existing versions will continue to work</em></strong>. However, to get bug fixes and new features, you'll need to migrate to use the SDKs as described earlier in this FAQ. </p> </li> <li><b>For iOS</b>: You will no longer be able to add <code translate="no" dir="ltr">Google-Mobile-Ads-SDK</code> from the Firebase zip distribution or <code translate="no" dir="ltr">FirebaseAdMob</code> from Carthage; instead, import the <span class="notranslate">Google Mobile Ads</span> SDK as described earlier in this FAQ. Note that the <code translate="no" dir="ltr">FirebaseAdMob</code> binary is functionally equivalent to <code translate="no" dir="ltr">Google-Mobile-Ads-SDK</code>. <p>Even after Firebase ceases these binary distributions, <strong><em>any existing versions of the Firebase zip distributions will continue to be available</em></strong>. However, to get bug fixes and new features, you'll need to migrate to use the pod as described earlier in this FAQ. </p> </li> </ul> </aside> </div> <h2 id="analytics" data-text="Analytics" tabindex="-1">Analytics</h2> <div class="expandable" id="analytics-firebase-core"> <h4 class="showalways" id="analytics-firebase-core" data-text=" Analytics: Why is Google Analytics a recommended part of using Firebase products? " tabindex="-1"> <strong><span class="notranslate">Analytics</span>:</strong> Why is Google Analytics a recommended part of using Firebase products? </h4> <p><span class="notranslate">Google Analytics</span> is a free and unlimited analytics solution that works with Firebase features to deliver powerful insights. It enables you to view event logs in <span class="notranslate">Crashlytics</span>, notification effectiveness in <span class="notranslate">FCM</span>, deep link performance for <span class="notranslate">Dynamic Links</span>, and in-app purchase data from <span class="notranslate">Google Play</span>. It powers advanced audience targeting in <span class="notranslate">Remote Config</span>, <span class="notranslate">Remote Config</span> personalization, and more. </p> <p><span class="notranslate">Google Analytics</span> acts as a layer of intelligence in the <span class="notranslate">Firebase</span> console to provide you with more actionable insights about how to develop a high quality app, grow your user base, and earn more money. </p> <p>To get started, <a href="/docs/analytics">read the documentation</a>. </p> </div> <div class="expandable" id="analytics-data-sharing"> <h4 class="showalways" id="analytics-data-sharing" data-text=" Analytics: How do I control how my Analytics data is shared with the rest of Firebase? " tabindex="-1"> <strong><span class="notranslate">Analytics</span>:</strong> How do I control how my <span class="notranslate">Analytics</span> data is shared with the rest of Firebase? </h4> <p>By default, your <span class="notranslate">Google Analytics</span> data is used to enhance other Firebase and Google features. You can control how your <span class="notranslate">Google Analytics</span> data is shared in your project settings anytime. Learn more about <a href="//support.google.com/firebase/answer/6383877" class="external">Data sharing settings</a>. </p> </div> <div class="expandable" id="analytics-update-property-settings"> <h4 class="showalways" id="analytics-update-property-settings" data-text=" Analytics: How do I update my Analytics property settings? " tabindex="-1"> <strong><span class="notranslate">Analytics</span>:</strong> How do I update my Analytics property settings? </h4> <p>From the <a href="https://support.google.com/analytics/answer/6132368" class="external"><i>Admin</i> page</a> in your Google Analytics property, you can update your property settings, such as: </p> <ul> <li>Data sharing settings</li> <li>Data retention settings</li> <li>Time zone and currency settings</li> </ul> <p>To update your property settings, follow these steps:</p> <ol> <li>In the <span class="notranslate">Firebase</span> console, go to your <span class="material-icons" aria-hidden="true" translate="no">settings</span> > <a href="//console.firebase.google.com/project/_/settings/general/" class="external"><b>Project settings</b></a>. </li> <li>Go to the <i>Integrations</i> tab, and then in the Google Analytics card, click <b>Manage</b> or <b>View link</b>. </li> <li>Click the link for your Google Analytics account to <a href="https://support.google.com/analytics/answer/9355666" class="external">open the account and property settings</a>. </li> </ol> </div> <div class="expandable" id="analytics-idfa-ios"> <h4 class="showalways" id="analytics-idfa-ios" data-text=" Analytics in my iOS app: Can I install Analytics without ad attribution and IDFA collection features? " tabindex="-1"> <strong><span class="notranslate">Analytics</span> in my iOS app:</strong> Can I install <span class="notranslate">Analytics</span> without ad attribution and IDFA collection features? </h4> <p> Yes. See the <a href="/docs/analytics/configure-data-collection?platform=ios#disable-idfa-collection"> Configure Data Collection and Usage</a> page for more details. </p> </div> <div class="expandable" id="analytics-for-firebase-changes"> <h4 class="showalways" id="analytics-for-firebase-changes" data-text=" Analytics: What changed in the Google Analytics section with the October 2021 update? " tabindex="-1"> <strong><span class="notranslate">Analytics</span>:</strong> What changed in the Google Analytics section with the October 2021 update? </h4> <p>You can find a summary of these changes in the Firebase Help Center article <a href="//support.google.com/firebase/answer/11091821" class="external">New Google Analytics 4 functionality in Google Analytics for Firebase</a>. </p> </div> <div class="expandable" id="unlinked-analytics"> <h4 class="showalways" id="unlinked-analytics" data-text=" Analytics: Why don't I see any Analytics data in the Firebase console after unlinking Firebase from Google Analytics? " tabindex="-1"> <strong><span class="notranslate">Analytics</span>:</strong> Why don't I see any <span class="notranslate">Analytics</span> data in the <span class="notranslate">Firebase</span> console after unlinking Firebase from Google Analytics? </h4> <p><span class="notranslate">Analytics</span> data resides within the Google Analytics property — not within the Firebase project. If you delete or unlink the property, then the <span class="notranslate">Analytics</span> data will not be accessible to Firebase and you'll see an empty <i><span class="notranslate">Analytics</span></i> dashboard in the <span class="notranslate">Firebase</span> console. Note that since the data still resides in the previously linked property, you can always relink the property to Firebase and see the <span class="notranslate">Analytics</span> data in the <span class="notranslate">Firebase</span> console. </p> <p>Linking a brand new Google Analytics account (and thus a new Google Analytics property) to your Firebase project will result in an empty <i><span class="notranslate">Analytics</span></i> dashboard in the <span class="notranslate">Firebase</span> console. However, if your previously linked property still exists, then you can move the existing data from the old property to the new property. </p> </div> <div class="expandable" id="analytics-recover-analytics-property-and-data"> <h4 class="showalways" id="analytics-recover-analytics-property-and-data" data-text=" Analytics: If my Analytics property and its data were deleted, is there any way to get them back? " tabindex="-1"> <strong><span class="notranslate">Analytics</span>:</strong> If my <span class="notranslate">Analytics</span> property and its data were deleted, is there any way to get them back? </h4> <p>No. If your property has been deleted, it isn't possible to undelete the property or retrieve the previously collected <span class="notranslate">Analytics</span> data stored in that property. </p> <p>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 <span class="notranslate">Firebase</span> console or the Google Analytics UI. Learn more about <a href="https://support.google.com/firebase/answer/9289399#linkga" class="external">linking a Google Analytics property to your Firebase project.</a> </p> </div> <div class="expandable" id="analytics-use-analytics-again-by-linking-new-property"> <h4 class="showalways" id="analytics-use-analytics-again-by-linking-new-property" data-text=" Analytics: If my Analytics property was deleted, can I link a new Google Analytics property to my Firebase project and start using Analytics again? " tabindex="-1"> <strong><span class="notranslate">Analytics</span>:</strong> If my Analytics property was deleted, can I link a new Google Analytics property to my Firebase project and start using <span class="notranslate">Analytics</span> again? </h4> <p>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 <span class="notranslate">Firebase</span> console or the Google Analytics UI. Learn more about <a href="https://support.google.com/firebase/answer/9289399#linkga" class="external">linking a Google Analytics property to your Firebase project.</a> </p> <p>Note that since all <span class="notranslate">Analytics</span> data is stored in the property (not the Firebase project), the previously collected <span class="notranslate">Analytics</span> data cannot be retrieved. </p> </div> <div class="expandable" id="analytics-affect-on-other-products-if-property-deleted"> <h4 class="showalways" id="analytics-affect-on-other-products-if-property-deleted" data-text=" Analytics: How will Firebase products or integrated Google products be affected by the deletion of my Analytics property? " tabindex="-1"> <strong><span class="notranslate">Analytics</span>:</strong> How will Firebase products or integrated Google products be affected by the deletion of my Analytics property? </h4> <p>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: </p> <ul> <li><span class="notranslate">Crashlytics</span> — You can no longer see crash-free users, breadcrumb logs, and/or velocity alerts. <li><span class="notranslate">Cloud Messaging</span> and <span class="notranslate">In-App Messaging</span> — You can no longer use targeting, campaign metrics, audience segmentation, and analytics labels. <li><span class="notranslate">Remote Config</span> — You can no longer use targeted configurations or Personalization. <li><span class="notranslate">A/B Testing</span> — You can no longer use <span class="notranslate">A/B Testing</span> since the experiment measurement is supplied by Google Analytics. <li><span class="notranslate">Dynamic Links</span> — Any feature that relies on data from Google Analytics will be disrupted. </ul> <p>In addition, the following integrations will be affected:</p> <ul> <li>You can no longer <a href="/docs/projects/bigquery-export">export <span class="notranslate">Analytics</span> data to <span class="notranslate">BigQuery</span></a>. <li>You can no longer take advantage of <a href="https://support.google.com/google-ads/answer/6397604" class="external"><span class="notranslate">Google Ads</span> integrations</a> or <a href="https://support.google.com/admob/answer/6360054" class="external"><span class="notranslate">Google AdMob</span> integrations</a>. </ul> </div> <div class="expandable" id="analytics-negative-target"> <h4 class="showalways" id="analytics-negative-target" data-text=" Analytics: How do I segment users who have not met some criterion? " tabindex="-1"> <strong><span class="notranslate">Analytics</span>:</strong> How do I segment users who have <i>not</i> met some criterion? </h4> <p>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 <a href="//support.google.com/firebase/answer/6317509" class="external">audience</a> of those users to target. </p> </div> <div class="expandable" id="analytics-data-sync"> <h4 class="showalways" id="analytics-data-sync" data-text=" Analytics: Are audiences and/or events defined in the Google Analytics interface also available in the Firebase console? " tabindex="-1"> <strong><span class="notranslate">Analytics</span>:</strong> Are audiences and/or events defined in the Google Analytics interface also available in the <span class="notranslate">Firebase</span> console? </h4> <p>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 <span class="notranslate">Firebase</span> console. </p> <p>Any changes you make from the <span class="notranslate">Firebase</span> console can also be performed in Google Analytics, and those changes will be reflected in Firebase. </p> </div> <h2 id="authentication" data-text="Authentication" tabindex="-1"><span class="notranslate">Authentication</span></h2> <div class="expandable" id="phone-auth-regions"> <h4 class="showalways" id="phone-auth-regions" data-text=" Firebase Authentication: Which regions are supported for phone authentication? " tabindex="-1"> <strong><span class="notranslate">Firebase Authentication</span>:</strong> Which regions are supported for phone authentication? </h4> <p><span class="notranslate">Firebase Authentication</span> supports phone number verification globally, but not all networks reliably deliver verification messages. The following regions have good rates of delivery, and should be expected to work well for phone authentication. Where noted, some carriers are unavailable in a region due to poor delivery success rates.</p> <table> <tr> <th><strong>Region</strong></th> <th><strong>Code</strong></th> </tr> <tr><td>AD</td><td>Andorra</td></tr> <tr><td>AE</td><td>United Arab Emirates</td></tr> <tr><td>AF</td><td>Afghanistan</td></tr> <tr><td>AG</td><td>Antigua and Barbuda</td></tr> <tr><td>AL</td><td>Albania</td></tr> <tr><td>AM</td><td>Armenia</td></tr> <tr><td>AO</td><td>Angola</td></tr> <tr><td>AR</td><td>Argentina</td></tr> <tr><td>AS</td><td>American Samoa</td></tr> <tr><td>AT</td><td>Austria</td></tr> <tr><td>AU</td><td>Australia</td></tr> <tr><td>AW</td><td>Aruba</td></tr> <tr><td>AZ</td><td>Azerbaijan</td></tr> <tr><td>BA</td><td>Bosnia and Herzegovina</td></tr> <tr><td>BB</td><td>Barbados</td></tr> <tr><td>BD</td><td>Bangladesh</td></tr> <tr><td>BE</td><td>Belgium</td></tr> <tr><td>BF</td><td>Burkina Faso</td></tr> <tr><td>BG</td><td>Bulgaria</td></tr> <tr><td>BJ</td><td>Benin</td></tr> <tr><td>BM</td><td>Bermuda</td></tr> <tr><td>BN</td><td>Brunei Darussalam</td></tr> <tr><td>BO</td><td>Bolivia</td></tr> <tr><td>BR</td><td>Brazil</td></tr> <tr><td>BS</td><td>Bahamas</td></tr> <tr><td>BT</td><td>Bhutan</td></tr> <tr><td>BW</td><td>Botswana</td></tr> <tr><td>BY</td><td>Belarus</td></tr> <tr><td>BZ</td><td>Belize</td></tr> <tr><td>CA</td><td>Canada</td></tr> <tr><td>CD</td><td>Congo, (Kinshasa)</td></tr> <tr><td>CF</td><td>Central African Republic</td></tr> <tr><td>CG</td><td>Congo (Brazzaville)</td></tr> <tr><td>CH</td><td>Switzerland</td></tr> <tr><td>CI</td><td>Côte d'Ivoire</td></tr> <tr><td>CK</td><td>Cook Islands</td></tr> <tr><td>CL</td><td>Chile</td></tr> <tr><td>CM</td><td>Cameroon</td></tr> <tr><td>CO</td><td>Colombia</td></tr> <tr><td>CR</td><td>Costa Rica</td></tr> <tr><td>CV</td><td>Cape Verde</td></tr> <tr><td>CW</td><td>Curaçao</td></tr> <tr><td>CY</td><td>Cyprus</td></tr> <tr><td>CZ</td><td>Czech Republic</td></tr> <tr><td>DE</td><td>Germany</td></tr> <tr><td>DJ</td><td>Djibouti</td></tr> <tr><td>DK</td><td>Denmark</td></tr> <tr><td>DM</td><td>Dominica</td></tr> <tr><td>DO</td><td>Dominican Republic</td></tr> <tr><td>DZ</td><td>Algeria</td></tr> <tr><td>EC</td><td>Ecuador</td></tr> <tr><td>EG</td><td>Egypt</td></tr> <tr><td>ES</td><td>Spain</td></tr> <tr><td>ET</td><td>Ethiopia</td></tr> <tr><td>FI</td><td>Finland</td></tr> <tr><td>FJ</td><td>Fiji</td></tr> <tr><td>FK</td><td>Falkland Islands (Malvinas)</td></tr> <tr><td>FM</td><td>Micronesia, Federated States of</td></tr> <tr><td>FO</td><td>Faroe Islands</td></tr> <tr><td>FR</td><td>France</td></tr> <tr><td>GA</td><td>Gabon</td></tr> <tr><td>GB</td><td>United Kingdom</td></tr> <tr><td>GD</td><td>Grenada</td></tr> <tr><td>GE</td><td>Georgia</td></tr> <tr><td>GF</td><td>French Guiana</td></tr> <tr><td>GG</td><td>Guernsey</td></tr> <tr><td>GH</td><td>Ghana</td></tr> <tr><td>GI</td><td>Gibraltar</td></tr> <tr><td>GL</td><td>Greenland</td></tr> <tr><td>GM</td><td>Gambia</td></tr> <tr><td>GP</td><td>Guadeloupe</td></tr> <tr><td>GQ</td><td>Equatorial Guinea</td></tr> <tr><td>GR</td><td>Greece</td></tr> <tr><td>GT</td><td>Guatemala</td></tr> <tr><td>GY</td><td>Guyana</td></tr> <tr><td>HK</td><td>Hong Kong, SAR China</td></tr> <tr><td>HN</td><td>Honduras</td></tr> <tr><td>HR</td><td>Croatia</td></tr> <tr><td>HT</td><td>Haiti</td></tr> <tr><td>HU</td><td>Hungary</td></tr> <tr><td>ID</td><td>Indonesia</td></tr> <tr><td>IE</td><td>Ireland</td></tr> <tr><td>IL</td><td>Israel</td></tr> <tr><td>IM</td><td>Isle of Man</td></tr> <tr><td>IN</td><td>India</td></tr> <tr><td>IQ</td><td>Iraq</td></tr> <tr><td>IT</td><td>Italy</td></tr> <tr><td>JE</td><td>Jersey</td></tr> <tr><td>JM</td><td>Jamaica</td></tr> <tr><td>JO</td><td>Jordan</td></tr> <tr><td>JP</td><td>Japan</td></tr> <tr><td>KE</td><td>Kenya</td></tr> <tr><td>KG</td><td>Kyrgyzstan</td></tr> <tr><td>KH</td><td>Cambodia</td></tr> <tr><td>KM</td><td>Comoros</td></tr> <tr><td>KN</td><td>Saint Kitts and Nevis</td></tr> <tr><td>KR</td><td>Korea (South)</td></tr> <tr><td>KW</td><td>Kuwait</td></tr> <tr><td>KY</td><td>Cayman Islands</td></tr> <tr><td>KZ</td><td>Kazakhstan</td></tr> <tr><td>LA</td><td>Lao PDR</td></tr> <tr><td>LB</td><td>Lebanon</td></tr> <tr><td>LC</td><td>Saint Lucia</td></tr> <tr><td>LI</td><td>Liechtenstein</td></tr> <tr><td>LK</td><td>Sri Lanka</td></tr> <tr><td>LS</td><td>Lesotho</td></tr> <tr><td>LT</td><td>Lithuania</td></tr> <tr><td>LU</td><td>Luxembourg</td></tr> <tr><td>LV</td><td>Latvia</td></tr> <tr><td>LY</td><td>Libya</td></tr> <tr><td>MA</td><td>Morocco</td></tr> <tr><td>MD</td><td>Moldova</td></tr> <tr><td>ME</td><td>Montenegro</td></tr> <tr><td>MF</td><td>Saint-Martin (French part)</td></tr> <tr><td>MG</td><td>Madagascar</td></tr> <tr><td>MK</td><td>Macedonia, Republic of</td></tr> <tr><td>MM</td><td>Myanmar</td></tr> <tr><td>MN</td><td>Mongolia</td></tr> <tr><td>MO</td><td>Macao, SAR China</td></tr> <tr><td>MS</td><td>Montserrat</td></tr> <tr><td>MT</td><td>Malta</td></tr> <tr><td>MU</td><td>Mauritius</td></tr> <tr><td>MW</td><td>Malawi</td></tr> <tr><td>MX</td><td>Mexico</td></tr> <tr><td>MY</td><td>Malaysia</td></tr> <tr><td>MZ</td><td>Mozambique</td></tr> <tr><td>NA</td><td>Namibia</td></tr> <tr><td>NC</td><td>New Caledonia</td></tr> <tr><td>NE</td><td>Niger</td></tr> <tr><td>NF</td><td>Norfolk Island</td></tr> <tr><td>NG</td><td>Nigeria</td></tr> <tr><td>NI</td><td>Nicaragua</td></tr> <tr><td>NL</td><td>Netherlands</td></tr> <tr><td>NO</td><td>Norway</td></tr> <tr><td>NP</td><td>Nepal</td></tr> <tr><td>NZ</td><td>New Zealand</td></tr> <tr><td>OM</td><td>Oman</td></tr> <tr><td>PA</td><td>Panama</td></tr> <tr><td>PE</td><td>Peru</td></tr> <tr><td>PG</td><td>Papua New Guinea</td></tr> <tr><td>PH</td><td>Philippines</td></tr> <tr><td>PK</td><td>Pakistan</td></tr> <tr><td>PL</td><td>Poland</td></tr> <tr><td>PM</td><td>Saint Pierre and Miquelon</td></tr> <tr><td>PR</td><td>Puerto Rico</td></tr> <tr><td>PS</td><td>Palestinian Territory</td></tr> <tr><td>PT</td><td>Portugal</td></tr> <tr><td>PY</td><td>Paraguay</td></tr> <tr><td>QA</td><td>Qatar</td></tr> <tr><td>RE</td><td>Réunion</td></tr> <tr><td>RO</td><td>Romania</td></tr> <tr><td>RS</td><td>Serbia</td></tr> <tr><td>RU</td><td>Russian Federation</td></tr> <tr><td>RW</td><td>Rwanda</td></tr> <tr><td>SA</td><td>Saudi Arabia</td></tr> <tr><td>SC</td><td>Seychelles</td></tr> <tr><td>SE</td><td>Sweden</td></tr> <tr><td>SG</td><td>Singapore</td></tr> <tr><td>SH</td><td>Saint Helena</td></tr> <tr><td>SI</td><td>Slovenia</td></tr> <tr><td>SK</td><td>Slovakia</td></tr> <tr><td>SL</td><td>Sierra Leone</td></tr> <tr><td>SN</td><td>Senegal</td></tr> <tr><td>SR</td><td>Suriname</td></tr> <tr><td>ST</td><td>Sao Tome and Principe</td></tr> <tr><td>SV</td><td>El Salvador</td></tr> <tr><td>SZ</td><td>Swaziland</td></tr> <tr><td>TC</td><td>Turks and Caicos Islands</td></tr> <tr><td>TG</td><td>Togo</td></tr> <tr><td>TH</td><td>Thailand</td></tr> <tr><td>TL</td><td>Timor-Leste</td></tr> <tr><td>TM</td><td>Turkmenistan</td></tr> <tr><td>TO</td><td>Tonga</td></tr> <tr><td>TR</td><td>Turkey</td></tr> <tr><td>TT</td><td>Trinidad and Tobago</td></tr> <tr><td>TW</td><td>Taiwan, Republic of China</td></tr> <tr><td>TZ</td><td>Tanzania, United Republic of</td></tr> <tr><td>UA</td><td>Ukraine</td></tr> <tr><td>UG</td><td>Uganda</td></tr> <tr><td>US</td><td>United States of America</td></tr> <tr><td>UY</td><td>Uruguay</td></tr> <tr><td>UZ</td><td>Uzbekistan</td></tr> <tr><td>VC</td><td>Saint Vincent and Grenadines</td></tr> <tr><td>VE</td><td>Venezuela (Bolivarian Republic)</td></tr> <tr><td>VG</td><td>British Virgin Islands</td></tr> <tr><td>VI</td><td>Virgin Islands, US</td></tr> <tr><td>VN</td><td>Viet Nam</td></tr> <tr><td>WS</td><td>Samoa</td></tr> <tr><td>YE</td><td>Yemen</td></tr> <tr><td>YT</td><td>Mayotte</td></tr> <tr><td>ZA</td><td>South Africa</td></tr> <tr><td>ZM</td><td>Zambia</td></tr> <tr><td>ZW</td><td>Zimbabwe</td></tr> </table> </div> <p><section class="expandable" id="prevent-phone-auth-abuse"> <h4 class="showalways" id="firebase-authentication:-how-can-i-prevent-sms-abuse-when-using-phone-authentication" data-text=" Firebase Authentication: How can I prevent SMS abuse when using phone authentication? " tabindex="-1"> <strong><span class="notranslate">Firebase Authentication</span>:</strong> How can I prevent SMS abuse when using phone authentication? </h4></p> <p>To help protect your project from SMS traffic pumping and API abuse, take the following steps:</p> <h5 id="consider_setting_an_sms_region_policy" data-text="Consider setting an SMS region policy" tabindex="-1">Consider setting an SMS region policy</h5> <ol> <li><p><a href="https://cloud.google.com/identity-platform/pricing#viewing_usage">View your regional SMS usage</a>.</p> <p>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.</p></li> <li><p>Use <a href="https://console.firebase.google.com/project/_/authentication/settings">SMS Region Policy</a> 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.</p></li> </ol> <h5 id="limit_your_authorized_authentication_domains" data-text="Limit your authorized authentication domains" tabindex="-1">Limit your authorized authentication domains</h5> <p>Use the <a href="https://console.firebase.google.com/project/_/authentication/settings">Authentication settings dashboard</a> to manage authorized domains. The <code translate="no" dir="ltr">localhost</code> domain is added by default to the approved authentication domains to simplify development. Consider removing <code translate="no" dir="ltr">localhost</code> from the authorized domains in your <strong>production</strong> project to prevent bad actors from running code on <em>their</em> <code translate="no" dir="ltr">localhost</code> to access your production project.</p> <h5 id="enable_and_enforce_app_check" data-text="Enable and enforce App Check" tabindex="-1">Enable and enforce App Check</h5> <p>Enable <a href="/docs/app-check">App Check</a> to help protect your project from API abuse by attesting that requests only come from applications associated with your project.</p> <p>To use App Check with <span class="notranslate">Firebase Authentication</span>, you must upgrade to <a href="/docs/auth#identity-platform"><span class="notranslate"><span class="notranslate">Firebase Authentication</span> with Identity Platform</span></a>.</p> <p>Remember that you need to enforce App Check for Authentication in the <a href="https://console.firebase.google.com/project/_/appcheck/products">Firebase console</a> (consider <a href="/docs/app-check/monitor-metrics">monitoring traffic</a> before enforcing). Also, double check your <a href="https://console.cloud.google.com/security/recaptcha?project=_">reCAPTCHA Enterprise</a> 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.</p> <p>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).</p> <p></section></p> <p><section class="expandable" id="phone-auth-number-porting"> <h4 class="showalways" id="phone-auth-number-porting" data-text=" Firebase Authentication: Are phone numbers ported to a new carrier supported by phone authentication? " tabindex="-1"> <strong><span class="notranslate">Firebase Authentication</span>:</strong> Are phone numbers ported to a new carrier supported by phone authentication? </h4></p> <p>At this time, numbers ported between carriers will result in all SMS becoming undeliverable for those end users. There is no workaround, and Firebase is working on this issue.</p> <p></section></p> <p><section class="expandable" id="auth-error-android-google-sign-in-failed"> <h4 class="showalways" id="auth-error-android-google-sign-in-failed" data-text=" Firebase Authentication: In my Android app, why am I getting the following error: Google sign in failed? " tabindex="-1"> <strong><span class="notranslate">Firebase Authentication</span>:</strong> In my Android app, why am I getting the following error:<br> <nobr><code translate="no" dir="ltr">Google sign in failed</code></nobr>? </h4></p> <p>Follow the troubleshooting steps in this FAQ if you're getting the following error:</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="HTML"><code translate="no" dir="ltr">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) </code></pre></devsite-code> <ol> <li><p>Make sure that <strong>Google</strong> sign-in is properly enabled as an authentication provider:</p> <ol> <li><p>In the <span class="notranslate">Firebase</span> console, open the <a href="//console.firebase.google.com/project/_/authentication/providers" class="external"><span class="notranslate">Authentication</span> section</a>.</p></li> <li><p>Within the <strong>Sign in method</strong> tab, disable and then re-enable the <strong>Google</strong> sign-in method (even if it's already enabled):</p> <ol> <li><p>Open the <strong>Google</strong> sign-in method, disable it, and then click <strong>Save</strong>.</p></li> <li><p>Re-open the <strong>Google</strong> sign-in method, enable it, and then click <strong>Save</strong>.</p></li> </ol></li> </ol></li> <li><p>Make sure that your app is using its up-to-date Firebase configuration file (<code translate="no" dir="ltr">google-services.json</code>).<br> <a href="https://support.google.com/firebase/answer/7015592" class="external">Obtain your app's config file.</a> </p></li> <li><p>Check if you're still getting the error. If you are, continue to the next troubleshooting step.</p></li> <li><p>Make sure the required underlying OAuth 2.0 clients are present.</p> <ol> <li><p>In the <a href="https://console.developers.google.com/apis/credentials?project=_" class="external"><strong>Credentials</strong></a> page of the <span class="notranslate">Google Cloud</span> console, look in the <strong>OAuth 2.0 Client IDs</strong> section.</p></li> <li><p>If OAuth 2.0 clients are <strong><em>not</em></strong> present (and you've done all the troubleshooting steps above), then <a href="/support/troubleshooter/contact">contact Support</a>.</p></li> </ol></li> </ol> <p></section></p> <p><section class="expandable" id="auth-error-apple-must-specify-client-id"> <h4 class="showalways" id="auth-error-apple-must-specify-client-id" data-text=" Firebase Authentication: In my Apple platform app, why am I getting the following error: You must specify <clientID> in <GIDConfiguration>? " tabindex="-1"> <strong><span class="notranslate">Firebase Authentication</span>:</strong> In my Apple platform app, why am I getting the following error:<br> <nobr><code translate="no" dir="ltr">You must specify <clientID> in <GIDConfiguration></code></nobr>? </h4></p> <p>Follow the troubleshooting steps in this FAQ if you're getting the following error:</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="HTML"><code translate="no" dir="ltr">You must specify |clientID| in |GIDConfiguration| </code></pre></devsite-code> <ol> <li><p>Make sure that <strong>Google</strong> sign-in is properly enabled as an authentication provider:</p> <ol> <li><p>In the <span class="notranslate">Firebase</span> console, open the <a href="//console.firebase.google.com/project/_/authentication/providers" class="external"><span class="notranslate">Authentication</span> section</a>.</p></li> <li><p>Within the <strong>Sign in method</strong> tab, disable and then re-enable the <strong>Google</strong> sign-in method (even if it's already enabled):</p> <ol> <li><p>Open the <strong>Google</strong> sign-in method, disable it, and then click <strong>Save</strong>.</p></li> <li><p>Re-open the <strong>Google</strong> sign-in method, enable it, and then click <strong>Save</strong>.</p></li> </ol></li> </ol></li> <li><p>Make sure that your app is using its up-to-date Firebase configuration file (<code translate="no" dir="ltr">GoogleService-Info.plist</code>).<br> <a href="https://support.google.com/firebase/answer/7015592" class="external">Obtain your app's config file.</a> </p></li> <li><p>Check if you're still getting the error. If you are, continue to the next troubleshooting step.</p></li> <li><p>Make sure the required underlying OAuth 2.0 clients are present.</p> <ol> <li><p>In the <a href="https://console.developers.google.com/apis/credentials?project=_" class="external"><strong>Credentials</strong></a> page of the <span class="notranslate">Google Cloud</span> console, look in the <strong>OAuth 2.0 Client IDs</strong> section.</p></li> <li><p>If OAuth 2.0 clients are <strong><em>not</em></strong> present (and you've done all the troubleshooting steps above), then <a href="/support/troubleshooter/contact">contact Support</a>.</p></li> </ol></li> </ol> <p></section></p> <p><section class="expandable" id="auth-error-web-invalid-oauth-client-id"> <h4 class="showalways" id="auth-error-web-invalid-oauth-client-id" data-text=" Firebase Authentication: In my web app, why am I getting the following error: AuthErrorCode.INVALID_OAUTH_CLIENT_ID? " tabindex="-1"> <strong><span class="notranslate">Firebase Authentication</span>:</strong> In my web app, why am I getting the following error:<br> <nobr><code translate="no" dir="ltr">AuthErrorCode.INVALID_OAUTH_CLIENT_ID</code></nobr>? </h4></p> <p>Follow the troubleshooting steps in this FAQ if you're getting the following error:</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="HTML"><code translate="no" dir="ltr">AuthErrorCode.INVALID_OAUTH_CLIENT_ID </code></pre></devsite-code> <ol> <li><p>Make sure that <strong>Google</strong> sign-in is properly enabled as an authentication provider:</p> <ol> <li><p>In the <span class="notranslate">Firebase</span> console, open the <a href="//console.firebase.google.com/project/_/authentication/providers" class="external"><span class="notranslate">Authentication</span> section</a>.</p></li> <li><p>Within the <strong>Sign in method</strong> tab, disable and then re-enable the <strong>Google</strong> sign-in method (even if it's already enabled):</p> <ol> <li><p>Open the <strong>Google</strong> sign-in method, disable it, and then click <strong>Save</strong>.</p></li> <li><p>Re-open the <strong>Google</strong> sign-in method, enable it, and then click <strong>Save</strong>.</p></li> </ol></li> </ol></li> <li><p>Also, in the <strong>Google</strong> sign-in provider configuration of the <strong><span class="notranslate">Authentication</span></strong> section, make sure that the OAuth client ID and secret match the web client displayed in the <a href="https://console.developers.google.com/apis/credentials?project=_" class="external"><strong>Credentials</strong></a> page of the <span class="notranslate">Google Cloud</span> console (look in the <strong>OAuth 2.0 Client IDs</strong> section).</p></li> </ol> <p></section></p> <p><section class="expandable" id="auth-error-web-not-authorized-redirect"> <h4 class="showalways" id="auth-error-web-not-authorized-redirect" data-text=" Firebase Authentication: In my web app, why are sign-in with redirects failing with the following error: This domain YOUR_REDIRECT_DOMAIN is not authorized to run this operation? " tabindex="-1"> <strong><span class="notranslate">Firebase Authentication</span>:</strong> In my web app, why are sign-in with redirects failing with the following error:<br> <nobr><code translate="no" dir="ltr">This domain <var translate="no">YOUR_REDIRECT_DOMAIN</var> is not authorized to run this operation</code></nobr>? </h4></p> <p>Follow the troubleshooting steps in this FAQ if you're getting the following error:</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="HTML"><code translate="no" dir="ltr">This domain <var class="readonly" translate="no">YOUR_REDIRECT_DOMAIN</var> is not authorized to run this operation. </code></pre></devsite-code><aside class="note"><strong>Note:</strong><span> The hostname of the page where you saw this error is your current <code translate="no" dir="ltr">authDomain</code>.</span></aside> <p>This error is most likely caused because your redirect domain isn't listed as a authorized domain for <span class="notranslate">Firebase Authentication</span>, or the API key that you use with the <span class="notranslate">Firebase Authentication</span> Service is invalid.</p> <p>First make sure that <var translate="no">YOUR_REDIRECT_DOMAIN</var> is in the <a href="//console.firebase.google.com/project/_/authentication/settings" class="external">list of authorized domains</a> for your Firebase project. If your redirect domain is already listed there, continue to troubleshoot an invalid API key.</p> <p>By default, <span class="notranslate">Firebase Authentication</span> JS SDK relies on the API key for your Firebase project that's labeled as the <code translate="no" dir="ltr">Browser key</code>, and it uses this key to verify that a sign-in redirect URL is valid according to the list of authorized domains. <span class="notranslate">Authentication</span> gets this API key depending on how you access the <span class="notranslate">Authentication</span> SDK:</p> <ul> <li><p>If you use <a href="/docs/hosting/reserved-urls#auth_helpers"><span class="notranslate">Hosting</span>-provided Auth helpers</a> to log users in with the <span class="notranslate">Authentication</span> JS SDK, then Firebase automatically obtains your API key with the rest of your Firebase configuration each time you deploy to <span class="notranslate">Firebase Hosting</span>. Make sure that the <code translate="no" dir="ltr">authDomain</code> in your <a href="/docs/web/setup#add-sdks-initialize">web app <code translate="no" dir="ltr">firebaseConfig</code></a> is <a href="/docs/auth/web/redirect-best-practices#update-authdomain">properly configured</a> to use one of the domains for that <span class="notranslate">Hosting</span> site. You can verify this by going to <code translate="no" dir="ltr">https://<var translate="no">authDomain</var>__/firebase/init.json</code>, and checking that the <code translate="no" dir="ltr">projectId</code> matches that from your <code translate="no" dir="ltr">firebaseConfig</code>.</p></li> <li><p>If you <a href="/docs/auth/web/redirect-best-practices#self-host-helper-code">self-host the sign-in code</a>, then you can use a <code translate="no" dir="ltr">__/firebase/init.json</code> file to provide the Firebase configuration to the self-hosted <span class="notranslate">Authentication</span> JS SDK Redirect helper. The API key and the <code translate="no" dir="ltr">projectId</code> listed in this config file should match your <a href="/docs/web/setup#add-sdks-initialize">web app <code translate="no" dir="ltr">firebaseConfig</code></a>.</p></li> </ul> <p>Check to make sure this API key hasn't been deleted: Go to the <a href="//console.cloud.google.com/apis/credentials?project=_" class="external"><em>APIs & Services > Credentials</em></a> panel in the Google Cloud console where all the API keys for your project are listed.</p> <ul> <li><p>If the <code translate="no" dir="ltr">Browser key</code> has <em>not</em> been deleted, check the following:</p> <ul> <li><p>Make sure the <span class="notranslate">Firebase Authentication</span> API is in the list of allowed APIs for the key to access (<a href="//cloud.google.com/docs/authentication/api-keys#adding-api-restrictions">learn more about API restrictions for API keys</a>).</p></li> <li><p>If you self-host the sign-in code, make sure the API key listed in your <code translate="no" dir="ltr">__/firebase/init.json</code> file matches the API key in the Cloud console. Correct the key in the file, if necessary, then redeploy your app.</p></li> <li><p>If the <code translate="no" dir="ltr">Browser key</code> has been deleted, you can have Firebase generate a new API key for you: In the Firebase console, go to <a href="//console.firebase.google.com/project/_/settings/general/" class="external"><span class="material-icons" aria-hidden="true" translate="no">settings</span> > <em>Project settings</em></a>, then in the <strong>Your apps</strong> section, click on your web app. This action automatically creates an API key that you can see in the <strong>SDK setup and configuration</strong> section for your web app.</p></li> </ul> <p>Note that in the Cloud console this new API key will not be called <code translate="no" dir="ltr">Browser key</code>; instead, it will be the same name as your Firebase Web App's nickname. If you decide to <a href="//cloud.google.com/docs/authentication/api-keys#adding-api-restrictions">add API restrictions</a> to this new API key, make sure the <span class="notranslate">Firebase Authentication</span> API is in the list of allowed APIs.</p> <p>Once your new API key is created, complete the applicable steps below:</p> <ul> <li><p>If you use <a href="/docs/hosting/reserved-urls#sdk_auto-configuration">reserved <span class="notranslate">Hosting</span> URLs</a>, then redeploy your app to Firebase so that it can automatically obtain the new API key with the rest of your Firebase configuration.</p></li> <li><p>If you <a href="/docs/auth/web/redirect-best-practices#self-host-helper-code">self-host the sign-in code</a>, copy the new API key and add it to your <code translate="no" dir="ltr">__/firebase/init.json</code> file, then redeploy your app.</p></li> </ul></li> </ul> <p></section></p> <p><section class="expandable" id="auth-manually-construct-oauth-web-client"> <h4 class="showalways" id="auth-manually-construct-oauth-web-client" data-text=" Firebase Authentication: How do I manually construct an OAuth web client?? " tabindex="-1"> <strong><span class="notranslate">Firebase Authentication</span>:</strong> How do I manually construct an OAuth web client?? </h4></p> <aside class="note"><b>Note:</b> Only in rare circumstances do you need to manually construct a web client. <p>If you're manually constructing a web client to regenerate missing or invalid web clients, it's usually easier to just disable and then re-enable <b>Google</b> sign-in from within the <b><span class="notranslate">Authentication</span></b> section of the <a href="//console.firebase.google.com/" class="link external gc-analytics-event" data-category="console" data-action="linkClick"><span class="notranslate">Firebase</span> console</a>. </p> </aside> <ol> <li><p>Open the <a href="https://console.developers.google.com/apis/credentials?project=_" class="external"><strong>Credentials</strong></a> page of the <span class="notranslate">Google Cloud</span> console.</p></li> <li><p>At the top of the page, select <strong>Create credentials > OAuth client ID</strong>.</p></li> <li><p>If you're prompted to configure your consent screen, follow the on-screen instructions, and then continue with the following steps of this FAQ.</p></li> <li><p>Create the OAuth web client:</p> <ol> <li><p>For the <strong>Application Type</strong>, select <strong>Web application</strong>.</p></li> <li><p>For the <strong>Authorized JavaScript Origins</strong>, add the following:</p> <ul> <li><code translate="no" dir="ltr">http://localhost</code></li> <li><code translate="no" dir="ltr">http://localhost:5000</code></li> <li><code translate="no" dir="ltr">https://<var translate="no">PROJECT_ID</var>.firebaseapp.com</code></li> <li><code translate="no" dir="ltr">https://<var translate="no">PROJECT_ID</var>.web.app</code></li> </ul></li> <li><p>For the <strong>Authorized Redirect URIs</strong>, add the following:</p> <ul> <li><code translate="no" dir="ltr">https://<var translate="no">PROJECT_ID</var>.firebaseapp.com/__/auth/handler</code></li> <li><code translate="no" dir="ltr">https://<var translate="no">PROJECT_ID</var>.web.app/__/auth/handler</code></li> </ul></li> <li><p>Save the OAuth client.</p></li> </ol> <aside class="note"><strong>Note:</strong><span> Some <span class="notranslate">Firebase Hosting</span> domains do not use Firebase project ID, so make sure the domains you enter match the domains provisioned for your Firebase project.</span></aside></li> <li><p>Copy the new OAuth client ID and client secret to your clipboard.</p></li> <li><p>In the <span class="notranslate">Firebase</span> console, open the <a href="//console.firebase.google.com/project/_/authentication/providers" class="external"><span class="notranslate">Authentication</span> section</a>.</p></li> <li><p>Within the <strong>Sign in method</strong> tab, open the <strong>Google sign-in</strong> provider, and then paste the web server client ID and secret you just constructed and copied from the <span class="notranslate">Google Cloud</span> console. Click <strong>Save</strong>.</p></li> </ol> <p></section></p> <p><section class="expandable" id="auth-app-name-in-email-template-for-email-password"> <h4 class="showalways" id="auth-app-name-in-email-template-for-email-password" data-text=" 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? " tabindex="-1"> <strong><span class="notranslate">Firebase Authentication</span>:</strong> How is <code translate="no" dir="ltr">%APP_NAME%</code> 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? </h4></p> <p>Before December 2022, the <code translate="no" dir="ltr">%APP_NAME%</code> 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 <code translate="no" dir="ltr">%APP_NAME%</code> is determined:</p> <ul> <li><p>If the OAuth brand name is available, then the <code translate="no" dir="ltr">%APP_NAME%</code> in the email template will be the OAuth brand name (same as pre-December 2022 behavior).</p></li> <li><p>If the OAuth brand name is <strong><em>not</em></strong> available, here's how the <code translate="no" dir="ltr">%APP_NAME%</code> in the email template is determined:</p> <ul> <li><p><strong>For web apps</strong>, the <code translate="no" dir="ltr">%APP_NAME%</code> will be the <a href="/docs/projects/api/reference/rest/v1beta1/projects#DefaultResources.FIELDS.hosting_site">default <span class="notranslate">Firebase Hosting</span> site name</a> (the value preceding <code translate="no" dir="ltr">.firebaseapp.com</code> and <code translate="no" dir="ltr">.web.app</code> and usually the Firebase project ID).</p></li> <li><p><strong>For mobile apps:</strong></p> <ul> <li><p>If the Android package name or iOS bundle ID is present in the request, then the <code translate="no" dir="ltr">%APP_NAME%</code> will be the app name used in the Play Store or App Store (respectively).</p></li> <li><p>Otherwise, the <code translate="no" dir="ltr">%APP_NAME%</code> will be the <a href="/docs/projects/api/reference/rest/v1beta1/projects#DefaultResources.FIELDS.hosting_site">default <span class="notranslate">Firebase Hosting</span> site name</a> (the value preceding <code translate="no" dir="ltr">.firebaseapp.com</code> and <code translate="no" dir="ltr">.web.app</code> and usually the Firebase project ID).</p></li> </ul></li> </ul> <p>Note that if the lookup of the default <span class="notranslate">Firebase Hosting</span> site name fails, then the final fallback is to use the Firebase project ID as the <code translate="no" dir="ltr">%APP_NAME%</code>.</p></li> </ul> <aside class="note"><strong>Note:</strong><span> SMS verification messages don't use OAuth brand name to populate <code translate="no" dir="ltr">%APP_NAME%</code>, so they do not follow the logic described above.</span></aside> <p></section></p> <h2 id="cloud-functions" data-text="Cloud Functions" tabindex="-1"><span class="notranslate">Cloud Functions</span></h2> <h3 id="functions-runtime" data-text="Cloud Functions runtime support" tabindex="-1"><span class="notranslate">Cloud Functions</span> runtime support</h3> <p><section class="expandable" id="upgrade-node"> <h4 class="showalways" id="upgrade-node" data-text="How do I upgrade to the latest supported version of Node.js?" tabindex="-1">How do I upgrade to the latest supported version of Node.js?</h4></p> <ol> <li>Make sure you're on the Blaze <a href="//console.firebase.google.com/project/_/overview?purchaseBillingPlan=metered" class="external">pricing plan</a>.</li> <li>Make sure you are using the latest version of the <span class="notranslate">Firebase</span> CLI.</li> <li><a href="/docs/functions/manage-functions#set_nodejs_version">Update the <code translate="no" dir="ltr">engines</code> field</a> in your functions' <code translate="no" dir="ltr">package.json</code>.</li> <li>Optionally, test your changes using the <a href="/docs/emulator-suite"><span class="notranslate">Firebase Local Emulator Suite</span></a>.</li> <li>Redeploy all functions.</li> </ol> <p></section></p> <p><section class="expandable" id="deployed-node"> <h4 class="showalways" id="deployed-node" data-text="How can I make sure I deployed my functions to a specific Node.js runtime?" tabindex="-1">How can I make sure I deployed my functions to a specific Node.js runtime?</h4></p> <p>In the <span class="notranslate">Firebase</span> console, go to the <a href="//console.firebase.google.com/project/_/functions/list" class="external">functions dashboard</a>, select a function, and check the function's language under <strong>Additional details</strong>.</p> <p></section></p> <p><section class="expandable" id="extensions-runtime"> <h4 class="showalways" id="extensions-runtime" data-text="I use Firebase Extensions. Will I be affected by Cloud Functions runtime updates?" tabindex="-1">I use Firebase Extensions. Will I be affected by Cloud Functions runtime updates?</h4></p> <p>Yes. Since <a href="/docs/extensions#how_does_it_work">extensions use Cloud Functions</a>, the runtime of your extensions will need to be updated on the same timeline as Cloud Functions.</p> <p>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 <a href="/docs/extensions/manage-installed-extensions?platform=console#update-version"><span class="notranslate">Firebase</span> console</a> or <a href="/docs/extensions/manage-installed-extensions?platform=cli#update-version"><span class="notranslate">Firebase</span> CLI</a>.</p> <p></section></p> <h2 id="cloud-messaging" data-text="Cloud Messaging" tabindex="-1"><span class="notranslate">Cloud Messaging</span></h2> <div class="expandable" id="messaging-difference"> <h4 class="showalways" id="messaging-difference" data-text=" Cloud Messaging: What's the difference between the Notifications composer and Cloud Messaging? " tabindex="-1"> <strong><span class="notranslate">Cloud Messaging</span>:</strong> What's the difference between the Notifications composer and <span class="notranslate">Cloud Messaging</span>? </h4> <p><span class="notranslate">Firebase Cloud Messaging</span> 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. </p> <p> The Notifications composer is a lightweight, serverless messaging solution built on <span class="notranslate">Firebase Cloud Messaging</span>. 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.</p> <table> <tr> <th><strong>Capabilities</strong></th> <th></th> <th><strong>Notifications composer</strong></th> <th><strong><span class="notranslate">Cloud Messaging</span></strong></th> </tr> <tr> <td><strong>Target</strong></td> <td>Single device</td> <td><span class="compare-yes"></span></td> <td><span class="compare-yes"></span></td> </tr> <tr> <td></td> <td>Clients subscribed to topics (i. e. weather)</td> <td><span class="compare-yes"></span></td> <td><span class="compare-yes"></span></td> </tr> <tr> <td></td> <td>Clients in predefined user segment (app, version, language)</td> <td><span class="compare-yes"></span></td> <td><span class="compare-no"></span></td> </tr> <tr> <td></td> <td>Clients in specified analytics audiences</td> <td><span class="compare-yes"></span></td> <td><span class="compare-no"></span></td> </tr> <tr> <td></td> <td>Clients in device groups</td> <td><span class="compare-no"></span></td> <td><span class="compare-yes"></span></td> </tr> <tr> <td></td> <td>Upstream from client to server</td> <td><span class="compare-no"></span></td> <td><span class="compare-yes"></span></td> </tr> <tr> <td><strong>Message Type </strong></td> <td>Notifications up to 2kb</td> <td><span class="compare-yes"></span></td> <td><span class="compare-yes"></span></td> </tr> <tr> <td></td> <td>Data messages up to 4kb</td> <td><span class="compare-no"></span></td> <td><span class="compare-yes"></span></td> </tr> <tr> <td><strong>Delivery</strong></td> <td>Immediate</td> <td><span class="compare-yes"></span></td> <td><span class="compare-yes"></span></td> </tr> <tr> <td></td> <td>Future client device local time</td> <td><span class="compare-yes"></span></td> <td><span class="compare-no"></span></td> </tr> <tr> <td><strong>Analytics</strong></td> <td>Built-in Notifications analytics collection and funnel analytics</td> <td><span class="compare-yes"></span></td> <td><span class="compare-no"></span></td> </tr> </table> </div> <div class="expandable" id="fcm-apns-http2"> <h4 class="showalways" id="fcm-apns-http2" data-text=" Cloud Messaging: Apple announced they're deprecating the legacy binary protocol for APNs. Do I need to do anything? " tabindex="-1"> <strong><span class="notranslate">Cloud Messaging</span>:</strong> Apple announced they're deprecating the legacy binary protocol for APNs. Do I need to do anything? </h4> <p>No. <span class="notranslate">Firebase Cloud Messaging</span> switched to the HTTP/2-based APNs protocol in 2017. If you are using <span class="notranslate">FCM</span> to send notifications to iOS devices, there should be no action required on your part. </p> </div> <div class="expandable" id="fcm-standalone"> <h4 class="showalways" id="fcm-standalone" data-text=" Cloud Messaging: Do I need to use other Firebase services in order to use FCM? " tabindex="-1"> <strong><span class="notranslate">Cloud Messaging</span>:</strong> Do I need to use other Firebase services in order to use <span class="notranslate">FCM</span>? </h4> <p>You can use <span class="notranslate">Firebase Cloud Messaging</span> as a standalone component, in the same manner as you did with GCM, without using other Firebase services.</p> </div> <div class="expandable" id="gcm-fcm"> <h4 class="showalways" id="gcm-fcm" data-text=" Cloud Messaging: I am an existing Google Cloud Messaging (GCM) developer. Should I move to Firebase Cloud Messaging? " tabindex="-1"> <strong><span class="notranslate">Cloud Messaging</span>:</strong> I am an existing Google Cloud Messaging (GCM) developer. Should I move to <span class="notranslate">Firebase Cloud Messaging</span>? </h4> <p><span class="notranslate">FCM</span> is the new version of GCM under the Firebase brand. It inherits GCM’s core infrastructure, with new SDKs to make <span class="notranslate">Cloud Messaging</span> development easier. </p> <p>Benefits of upgrading to FCM SDK include:</p> <ul> <li>Simpler client development. You no longer have to write your own registration or subscription retry logic. </li> <li>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. </li> </ul> <p>To upgrade from GCM SDKs to <span class="notranslate">FCM</span> SDKs, see the guides for migrating <a href="//developers.google.com/cloud-messaging/android/android-migrate-fcm" class="external">Android</a> and <a href="//developers.google.com/cloud-messaging/ios/ios-migrate-fcm" class="external">iOS</a> apps. </p> </div> <div class="expandable" id="fcm-trouble"> <h4 class="showalways" id="fcm-trouble" data-text=" Cloud Messaging: Why do my targeted devices apparently fail to receive messages? " tabindex="-1"> <strong><span class="notranslate">Cloud Messaging</span>:</strong> Why do my targeted devices apparently fail to receive messages? </h4> <p>When it looks like devices haven't successfully received messages, check first for these two potential causes:</p> <p><b>Foreground message handling for notification messages</b>. 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 <a href="/docs/cloud-messaging/downstream#receive_downstream_messages"> iOS</a> and <a href="/docs/cloud-messaging/downstream#sample-receive"> Android</a>. </p> <p><b>Network firewall restrictions</b>. If your organization has a firewall that restricts the traffic to or from the Internet, you need to configure it to allow connectivity with <span class="notranslate">FCM</span> in order for your <span class="notranslate">Firebase Cloud Messaging</span> client apps to receive messages. The ports to open are:</p> <ul> <li>5228</li> <li>5229</li> <li>5230</li> </ul> <p><span class="notranslate">FCM</span> usually uses 5228, but it sometimes uses 5229 and 5230. <span class="notranslate">FCM</span> 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 <a href="//bgp.he.net/AS15169#_prefixes" class="external">ASN of 15169</a>. </p> </div> <div class="expandable" id="fcm-android-background"> <h4 class="showalways" id="fcm-android-background" data-text=" Cloud Messaging: I have implemented onMessageReceived in my Android app, but it is not being called. " tabindex="-1"> <strong><span class="notranslate">Cloud Messaging</span>:</strong> I have implemented <code translate="no" dir="ltr">onMessageReceived</code> in my Android app, but it is not being called. </h4> <p>When your app is in the background, <a href="/docs/cloud-messaging/concept-options#notifications_and_data_messages"> notification messages</a> are displayed in the system tray, and <code translate="no" dir="ltr">onMessageReceived</code> 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. </p> <p>For more information, see <a href="/docs/cloud-messaging/downstream#sample-receive">Receive and handle messages</a>. </p> </div> <div class="expandable" id="notifications-difference"> <h4 class="showalways" id="notifications-difference" data-text=" Notifications composer: What's the difference between the Notifications composer and Cloud Messaging? " tabindex="-1"> <strong>Notifications composer:</strong> What's the difference between the Notifications composer and <span class="notranslate">Cloud Messaging</span>? </h4> <p> The Notifications composer is a lightweight, serverless messaging solution built on <span class="notranslate">Firebase Cloud Messaging</span>. 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.</p> <p><span class="notranslate">Firebase Cloud Messaging</span> 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. </p> <p>Here's a comparison of the messaging capabilities provided by <span class="notranslate">Firebase Cloud Messaging</span> and the Notifications composer:</p> <table> <tr> <th><strong>Capabilities</strong></th> <th></th> <th><strong>Notifications composer</strong></th> <th><strong><span class="notranslate">Cloud Messaging</span></strong></th> </tr> <tr> <td><strong>Target</strong></td> <td>Single device</td> <td><span class="compare-yes"></span></td> <td><span class="compare-yes"></span></td> </tr> <tr> <td></td> <td>Clients subscribed to topics (i. e. weather)</td> <td><span class="compare-yes"></span></td> <td><span class="compare-yes"></span></td> </tr> <tr> <td></td> <td>Clients in predefined user segment (app, version, language)</td> <td><span class="compare-yes"></span></td> <td><span class="compare-no"></span></td> </tr> <tr> <td></td> <td>Clients in specified analytics audiences</td> <td><span class="compare-yes"></span></td> <td><span class="compare-no"></span></td> </tr> <tr> <td></td> <td>Clients in device groups</td> <td><span class="compare-no"></span></td> <td><span class="compare-yes"></span></td> </tr> <tr> <td></td> <td>Upstream from client to server</td> <td><span class="compare-no"></span></td> <td><span class="compare-yes"></span></td> </tr> <tr> <td><strong>Message Type </strong></td> <td>Notifications up to 2kb</td> <td><span class="compare-yes"></span></td> <td><span class="compare-yes"></span></td> </tr> <tr> <td></td> <td>Data messages up to 4kb</td> <td><span class="compare-no"></span></td> <td><span class="compare-yes"></span></td> </tr> <tr> <td><strong>Delivery</strong></td> <td>Immediate</td> <td><span class="compare-yes"></span></td> <td><span class="compare-yes"></span></td> </tr> <tr> <td></td> <td>Future client device local time</td> <td><span class="compare-yes"></span></td> <td><span class="compare-no"></span></td> </tr> <tr> <td><strong>Analytics</strong></td> <td>Built-in Notifications analytics collection and funnel analytics</td> <td><span class="compare-yes"></span></td> <td><span class="compare-no"></span></td> </tr> </table> </div> <div class="expandable" id="gcm-not"> <h4 class="showalways" id="gcm-not" data-text=" Notifications composer: I am an existing Google Cloud Messaging (GCM) developer, and I want to use the Notifications composer. What should I do? " tabindex="-1"> <strong>Notifications composer:</strong> I am an existing Google Cloud Messaging (GCM) developer, and I want to use the Notifications composer. What should I do? </h4> <p>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. </p> <p>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 <a href="//developers.google.com/cloud-messaging/android/android-migrate-fcm" class="external">Android</a> and <a href="//developers.google.com/cloud-messaging/ios/ios-migrate-fcm" class="external">iOS</a> apps. </p> </div> <h3 id="fcm-23-deprecation" data-text="FCM features deprecated in June 2023" tabindex="-1"><span class="notranslate">FCM</span> features deprecated in June 2023</h3> <div class="expandable" id="fcm-depr-features"> <h4 class="showalways" id="fcm-depr-features" data-text=" Which FCM APIs were deprecated on June 20, 2023, and what should I do if I am using those APIs?" tabindex="-1"> <strong>Which FCM APIs were deprecated on June 20, 2023, and what should I do if I am using those APIs?</strong></h4> <p> The following APIs/SDKs will be affected by the deprecation: </p> <p> <strong>Server APIs</strong> </p> <table> <tr> <th>API Name </th> <th>API Endpoint </th> <th>Impact on users </th> <th>Action Required </th> </tr> <tr> <td>Legacy HTTP protocol </td> <td>https://fcm.googleapis.com/fcm/send </td> <td>Requests to the endpoint will start failing after 6/21/2024. </td> <td><a href="/docs/cloud-messaging/migrate-v1">Migrate to the HTTP v1 API</a>. </td> </tr> <tr> <td>Legacy XMPP protocol </td> <td>fcm-xmpp.googleapis.com:5235 </td> <td>Requests to the endpoint will start failing after 6/21/2024. </td> <td><a href="/docs/cloud-messaging/migrate-v1">Migrate to the HTTP v1 API</a>. </td> </tr> <tr> <td rowspan="2">Instance ID server APIs </td> <td>https://iid.googleapis.com/v1/web/iid </td> <td>Requests to the endpoint will start failing after 6/21/2024. </td> <td>Use the <a href="/docs/web/setup">Web JS SDK</a> to create FCM web registrations. </td> </tr> <tr> <td>https://iid.googleapis.com/iid/* </td> <td>The endpoints will continue to work but they won’t support authentication using static server keys after 6/21/2024. </td> <td><a href="/docs/cloud-messaging/auth-server#provide-credentials-manually">Use an OAuth 2.0 access token</a> derived from a service account. </td> </tr> <tr> <td>Device group management API </td> <td>https://fcm.googleapis.com/fcm/notification </td> <td>The endpoint will continue to work but it won’t support authentication using static server keys after 6/21/2024. </td> <td><a href="/docs/cloud-messaging/auth-server#provide-credentials-manually">Use an OAuth 2.0 access token</a> derived from a service account. </td> </tr> <tr> <td>Upstream messaging via XMPP </td> <td>fcm-xmpp.googleapis.com:5235 </td> <td>API calls to <a href="/docs/reference/android/com/google/firebase/messaging/FirebaseMessaging#public-methods">FirebaseMessaging.send</a> in the app won’t trigger upstream messages to the app server after 6/21/2024. </td> <td>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 <a href="https://grpc.io/docs/platforms/android/java/quickstart/">gRPC Quick start</a> for an example implementation of upstream messaging using gRPC. </td> </tr> <tr> <td>Batch Send API </td> <td>https://fcm.googleapis.com/batch </td> <td>Requests to the endpoint will start failing after 6/21/2024. </td> <td>Migrate to the <a href="/docs/cloud-messaging/send-message#send-messages-to-specific-devices">standard HTTP v1 API send method</a>, which supports HTTP/2 for multiplexing. </td> </tr> </table> <p> <strong>Firebase Admin SDK APIs</strong> </p> <table> <tr> <th>API Name </th> <th>API Language </th> <th>Impact on users </th> <th>Action Required </th> </tr> <tr> <td><code translate="no" dir="ltr">sendToDevice()</code> </td> <td>Node.js </td> <td>The API will stop working after 6/21/2024 because it calls the legacy HTTP send API. </td> <td>Use the <code translate="no" dir="ltr">send() </code>method. </td> </tr> <tr> <td><code translate="no" dir="ltr">sendToDeviceGroup()</code> </td> <td>Node.js </td> <td>The API will stop working after 6/21/2024 because it calls the legacy HTTP send API. </td> <td>Use the <code translate="no" dir="ltr">send() </code>method. </td> </tr> <tr> <td><code translate="no" dir="ltr">sendToTopic()</code> </td> <td>Node.js </td> <td>The API will stop working after 6/21/2024 because it calls the legacy HTTP send API. </td> <td>Use the <code translate="no" dir="ltr">send() </code>method. </td> </tr> <tr> <td><code translate="no" dir="ltr">sendToCondition()</code> </td> <td>Node.js </td> <td>The API will stop working after 6/21/2024 because it calls the legacy HTTP send API. </td> <td>Use the <code translate="no" dir="ltr">send() </code>method. </td> </tr> <tr> <td><code translate="no" dir="ltr">sendAll()/sendAllAsync()/send_all()/sendMulticast()/SendMulticastAsync()/send_multicast()</code> </td> <td>Node.js, Java, Python, Go, C# </td> <td>These APIs will stop working after 6/21/2024 because they call the batch send API . </td> <td>Upgrade to the latest Firebase Admin SDK and use the new APIs instead: <code translate="no" dir="ltr">sendEach()/ sendEachAsync()/send_each()/sendEachForMulticast()/sendEachForMulticastAsync()/ send_each_for_multicast()</code>. <p>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.</p> </td> </tr> </table> <p> <strong>Client SDKs</strong> </p> <table> <tr> <th>SDK versions </th> <th>Impact on users </th> <th>Action Required </th> </tr> <tr> <td>GCM SDKs (deprecated in 2018) </td> <td>Apps using GCM SDKs will not be able to register tokens nor receive messages from FCM after 6/21/2024. </td> <td>Upgrade your Android SDK to the latest Firebase SDK if you haven’t already done so. </td> </tr> <tr> <td>JS SDKs version <7.0.0 (breaking change at version 7.0.0 in 2019) </td> <td>Web apps using older JS SDKs will not be able to register tokens after 6/21/2024. </td> <td>Upgrade your Firebase Web SDK to the latest version. </td> </tr> </table> </div> <div class="expandable" id="fcm-depr-service"> <h4 class="showalways" id="fcm-depr-service" data-text=" Will I see a service downgrade before June 2024?" tabindex="-1"> <strong>Will I see a service downgrade before June 2024?</strong></h4> <p> 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.</p> <p> After June 2024, you may see increased errors or lack of functionality when using the APIs/SDKs listed above (see the next FAQ for more information). </p> </div> <div class="expandable" id="deprecated-api-shutdown"> <h4 class="showalways" id="deprecated-api-shutdown" data-text=" How and when will the deprecated APIs be shut down?" tabindex="-1"> <strong>How and when will the deprecated APIs be shut down?</strong></h4> <p><span class="notranslate">FCM</span> will start a gradual shutdown of deprecated APIs around July 22nd, 2024. After this date, deprecated services will be subject to a "flickering" process in which increasing numbers of requests will return error responses. During the gradual ramp-down period you can expect the following behavior and error responses to increase in frequency over time:</p> <table> <tr> <th>Category</th> <th>What to expect</th> </tr> <tr> <td>Legacy HTTP protocol</td> <td>Requests being rejected with HTTP code 301.</td> </tr> <tr> <td>Legacy XMPP protocol</td> <td>Requests being rejected with error code 302.</td> </tr> <tr> <td>FCM Upstream</td> <td>Messages being silently dropped by FCM backend.</td> </tr> <tr> <td>Batch Send API</td> <td>Requests being rejected with error code UNIMPLEMENTED and the error message "The API is deprecated."</td> </tr> <tr> <td>GCM SDKs - Register Tokens</td> <td>Requests being rejected with HTTP code 301.</td> </tr> <tr> <td>GCM SDKs - Send Messages</td> <td>Requests being rejected with error code 400 and the error message "V3 token has been deprecated."</td> </tr> <tr> <td>JS SDKs version < 7.0.0</td> <td>Requests being rejected with HTTP code 501.</td> </tr> <tr> <td>Using server key to access Instance ID and device group management APIs</td> <td>Requests being rejected with HTTP code 401.</td> </tr> </table> </div> <div class="expandable" id="fcm-depr-tokens"> <h4 class="showalways" id="fcm-depr-tokens" data-text=" What’s the difference between OAuth 2.0 tokens and server keys?" tabindex="-1"> <strong>What’s the difference between OAuth 2.0 tokens and server keys?</strong></h4> <p> An OAuth 2.0 token is a short-lived token derived from a <a href="https://cloud.google.com/iam/docs/understanding-service-accounts">service account</a>. It’s Google’s standard auth model and it’s more secure than static server keys. </p> <p> See <a href="/docs/cloud-messaging/auth-server#use-credentials-to-mint-access-tokens">Use credentials to mint access tokens</a> for guidance on using the <a href="https://github.com/googleapis?q=auth">Google Auth Library</a> to obtain tokens. </p> <p> Note that the request headers differ when you use OAuth 2.0 tokens for requests to different endpoints. <ul> <li><b>HTTP v1 API</b>: <code translate="no" dir="ltr">Authorization: Bearer $oauth_token</code></li> <li><b>Instance ID server API</b> and <b>Device group management API</b>: <code translate="no" dir="ltr">Authorization: Bearer $oauth_token</code> <br><code translate="no" dir="ltr">access_token_auth: true</code></li> </ul> </p> </div> <div class="expandable" id="fcm-depr-rampup"> <h4 class="showalways" id="fcm-depr-rampup" data-text=" Can I migrate my requests to the new API all at once?" tabindex="-1"> <strong>Can I migrate my requests to the new API all at once?</strong></h4> <p> 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, <a href="https://firebase.google.com/support/troubleshooter/contact/"> contact Firebase support</a> for instructions on how to increase quota or get recommendations on how to spread out traffic. </p> </div> <div class="expandable" id="fcm-depr-multiple"> <h4 class="showalways" id="fcm-depr-multiple" data-text=" What’s the difference between the HTTP v1 API and the legacy APIs when I send messages to topics/device groups?" tabindex="-1"> <strong>What’s the difference between the HTTP v1 API and the legacy APIs when I send messages to topics/device groups?</strong></h4> <p> Topics: you don’t need to add the "/topics/" prefix to your topic target when you use the v1 API. </p> <p> 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.</p> </div> <div class="expandable" id="fcm-depr-multiple-tokens"> <h4 class="showalways" id="fcm-depr-multiple-tokens" data-text=" Does the HTTP v1 API support sending messages to multiple tokens in one request?" tabindex="-1"> <strong>Does the HTTP v1 API support sending messages to multiple tokens in one request?</strong></h4> <p>No. This feature, called "multicast" in legacy HTTP APIs, is not supported by the HTTP v1 API, which is better designed for scalability.</p> <p>For use cases where <b>end-to-end latency</b> is critical, or where <b>total fanout size is small</b> (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.</p> <p>For use cases where <b>throughput and egress bandwidth</b> 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 <a href="/docs/cloud-messaging/concept-options#fanout_throttling"> 10,000 QPS per project fanout rate</a> without a maximum limit on topic size.</p> </div> <div class="expandable" id="fcm-depr-admin"> <h4 class="showalways" id="fcm-depr-admin" data-text=" What versions of the Firebase Admin SDK have the new APIs?" tabindex="-1"> <strong>What versions of the Firebase Admin SDK have the new APIs?</strong></h4> <table> <tr> <th>Platform </th> <th>Firebase Admin SDK version </th> </tr> <tr> <td>Node.js </td> <td>>=11.7.0 </td> </tr> <tr> <td>Python </td> <td>>=6.2.0 </td> </tr> <tr> <td>Java </td> <td>>=9.2.0 </td> </tr> <tr> <td>Go </td> <td>>=4.12.0 </td> </tr> <tr> <td>.NET </td> <td>>=2.4.0 </td> </tr> </table> </div> <div class="expandable" id="fcm-depr-batch"> <h4 class="showalways" id="fcm-depr-batch" data-text=" What's the difference between the batch send API and the HTTP v1 API?" tabindex="-1"> <strong>What's the difference between the batch send API and the HTTP v1 API?</strong></h4> <p> The FCM batch send API uses the same <a href="/docs/reference/fcm/rest/v1/projects.messages#Message">message format</a> 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. </p> </div> <div class="expandable" id="project-access-help"> <h4 class="showalways" id="project-access-help" data-text=" What should I do if I can't access my project?" tabindex="-1"> <strong>What should I do if I can't access my project?</strong></h4> <p>Please reach out to the Google Cloud support team for help. </p> </div> <div class="expandable" id="new-project-onboarding"> <h4 class="showalways" id="new-project-onboarding" data-text=" Can new projects enable the legacy Cloud Messaging API?" tabindex="-1"> <strong>Can new projects enable the legacy Cloud Messaging API?</strong></h4> <p> No. Starting from 5/20/2024, new projects will no longer be allowed to enable our legacy APIs. </p> </div> <div class="expandable" id="legacy-api-disabling"> <h4 class="showalways" id="legacy-api-disabling" data-text=" When can I disable the legacy Cloud Messaging API?" tabindex="-1"> <strong>When can I disable the legacy Cloud Messaging API?</strong></h4> <p>Once you are sure that you have fully migrated to the HTTP v1 API, you can disable the legacy <a href="https://console.cloud.google.com/apis/api/googlecloudmessaging.googleapis.com" class="external">Cloud Messaging API</a> (the page may fail to load if the API has already been disabled). </p> </div> <h3 id="fcm-quotas" data-text="FCM quotas and limits" tabindex="-1"><span class="notranslate">FCM</span> quotas and limits</h3> <div class="expandable" id="fcm-quota-largebase"> <h4 class="showalways" id="fcm-quota-largebase" data-text="I need to notify a large customer base within 2 minutes." tabindex="-1">I need to notify a large customer base within 2 minutes.</h4> <p>Unfortunately, this use case cannot be supported. You must spread your traffic out over 5 minutes.</p> </div> <div class="expandable" id="fcm-quota-events"> <h4 class="showalways" id="fcm-quota-events" data-text="My app notifies users of events. The messages must be delivered immediately to support my business model. Can I get more quota?" tabindex="-1">My app notifies users of events. The messages must be delivered immediately to support my business model. Can I get more quota?</h4> <p>Unfortunately, we cannot grant quota increases for this reason. You must spread your traffic out over 5 minutes.</p> </div> <div class="expandable" id="fcm-quota-scheduled"> <h4 class="showalways" id="fcm-quota-scheduled" data-text="My messages are about scheduled events and I need to send all my traffic at the top of the hour." tabindex="-1">My messages are about scheduled events and I need to send all my traffic at the top of the hour.</h4> <p>We recommend that you start sending the notifications at least 5 minutes prior to the event.</p> </div> <div class="expandable" id="fcm-quota-request"> <h4 class="showalways" id="fcm-quota-request" data-text="How long will it take for my quota request to be fulfilled?" tabindex="-1">How long will it take for my quota request to be fulfilled?</h4> <p>This depends a bit on your use of FCM. In any case, you can expect an answer in a few business days. In some cases, there may be some back-and-forth regarding your usage of FCM and various circumstances, which can prolong the process. If all requirements are met, most requests will be handled within 2 weeks.</p> </div> <div class="expandable" id="fcm-quota-monitor"> <h4 class="showalways" id="fcm-quota-monitor" data-text="How can I monitor my quota usage?" tabindex="-1">How can I monitor my quota usage?</h4> <p>See Google Cloud guidance on how to <a href="https://cloud.google.com/monitoring/alerts/using-quota-metrics">chart and monitor quota metrics</a>.</p> </div> <div class="expandable" id="fcm-quota-429"> <h4 class="showalways" id="fcm-quota-429" data-text="429s are hard for me / my business to deal with. Can I get an exemption or more quota to avoid getting 429s?" tabindex="-1">429s are hard for me / my business to deal with. Can I get an exemption or more quota to avoid getting 429s?</h4> <p>While we understand that quota limits can be challenging, quotas are vital to keeping the service reliable and we can't grant exemptions.</p> </div> <div class="expandable" id="fcm-quota-temporary"> <h4 class="showalways" id="fcm-quota-temporary" data-text="Can I get more quota for a temporary event?" tabindex="-1">Can I get more quota for a temporary event?</h4> <p>You may request additional quota to support an event lasting up to 1 month. File the request at least 1 month in advance of the event and with clear details on when the event starts and ends, and FCM will make every practical effort to fulfill the request (no increase can be guaranteed). These quota increases will be reverted after the event's end date.</p> </div> <div class="expandable" id="fcm-quota-change"> <h4 class="showalways" id="fcm-quota-change" data-text="Is my current quota subject to change?" tabindex="-1">Is my current quota subject to change?</h4> <p>While Google will not do so lightly, quotas may be changed as needed to protect the integrity of the system. When possible, Google will notify you in advance of such changes.</p> </div> <h2 id="cloud-storage" data-text="Cloud Storage for Firebase" tabindex="-1"><span class="notranslate">Cloud Storage for Firebase</span></h2> <div class="expandable" id="storage-buckets"> <h4 class="showalways" id="storage-buckets" data-text=" Cloud Storage for Firebase: Why can't I use Cloud Storage for Firebase? " tabindex="-1"> <strong><span class="notranslate">Cloud Storage for Firebase</span>:</strong> Why can't I use <span class="notranslate">Cloud Storage for Firebase</span>? </h4> <p> <span class="notranslate">Cloud Storage for Firebase</span> creates a default bucket in the <span class="notranslate">App Engine</span> no-cost tier. This allows you to quickly get up and running with Firebase and <span class="notranslate">Cloud Storage for Firebase</span>, without having to put in a credit card or enable a <span class="notranslate">Cloud Billing</span> account. It also allows you to easily share data between Firebase and a <span class="notranslate">Google Cloud</span> project. </p> <p> There are, however, two known cases where this bucket cannot be created and you will be unable to use <span class="notranslate">Cloud Storage for Firebase</span>: </p> <ul> <li> A project imported from <span class="notranslate">Google Cloud</span> which had a <span class="notranslate">App Engine</span> Master/Slave <span class="notranslate">Datastore</span> application. </li> <li> A project imported from <span class="notranslate">Google Cloud</span> which has domain prefixed projects. For example: <code translate="no" dir="ltr">domain.com:project-1234</code>. </li> </ul> <p> There are currently no workarounds to these issues, and we recommend that you create a new project in the <a href="//console.firebase.google.com/" class="link external gc-analytics-event" data-category="console" data-action="linkClick"><span class="notranslate">Firebase</span> console</a> and enable <span class="notranslate">Cloud Storage for Firebase</span> in that project. </p> </div> <div class="expandable" id="storage-account-api-errors"> <h4 class="showalways" id="storage-account-api-errors" data-text=" 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? " tabindex="-1"> <strong><span class="notranslate">Cloud Storage for Firebase</span>:</strong> Why do I get error code 412 responses about service account permissions and failed service account operations when using the <span class="notranslate">Cloud Storage for Firebase</span> API? </h4> <p> It's likely you're getting 412 error codes either because the <span class="notranslate">Cloud Storage for Firebase</span> API is not enabled for your project or a necessary service account is missing the required permissions. </p> <p> See the related <a href="/support/faq#storage-accounts">FAQ</a>. </p> </div> <div class="expandable" id="storage-exe-restrictions"> <h4 class="showalways" id="storage-exe-restrictions" data-text=" Cloud Storage for Firebase: On Spark plan projects, can I store executable files? " tabindex="-1"> <strong><span class="notranslate">Cloud Storage for Firebase</span>:</strong> On Spark plan projects, can I store executable files? </h4> <p>For no-cost (Spark) plan projects, Firebase blocks uploads and hosting of certain executable file types for Windows, Android and Apple by <span class="notranslate">Cloud Storage for Firebase</span> and <span class="notranslate">Firebase Hosting</span>. This policy exists to prevent abuse on our platform. </p> <p> 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. </p> <p>This restriction applies to Spark plan projects. Projects on the pay as you go (Blaze) plan are not affected. </p> <p> The following file types cannot be hosted on <span class="notranslate">Firebase Hosting</span> and <span class="notranslate">Cloud Storage for Firebase</span>: </p> <ul> <li>Windows files with <code translate="no" dir="ltr">.exe</code>, <code translate="no" dir="ltr">.dll</code> and <code translate="no" dir="ltr">.bat</code> extensions </li> <li>Android files with <code translate="no" dir="ltr">.apk</code> extension </li> <li>Apple platform files with <code translate="no" dir="ltr">.ipa</code> extension </li> </ul> <p><strong>What do I need to do?</strong></p> <p>If you still want to host these file types after September 28th, 2023: </p> <ul> <li>For Hosting: upgrade to the Blaze plan before you can deploy these file types to <span class="notranslate">Firebase Hosting</span> via the <code translate="no" dir="ltr">firebase deploy</code> command. </li> <li>For Storage: upgrade to the Blaze plan to upload these file types to the bucket of your choice using the GCS CLI, the <span class="notranslate">Firebase</span> console, or <span class="notranslate">Google Cloud</span> console. </li> </ul> <p>Use Firebase tools to manage your <span class="notranslate">Firebase Hosting</span> and <span class="notranslate">Cloud Storage</span> resources. </p> <ul> <li>For managing resources in <span class="notranslate">Firebase Hosting</span>, use the Firebase console to delete releases <a href="//firebase.google.com/docs/hosting/manage-hosting-resources#delete-release">according to this guide</a>. </li> <li>For managing resources in <span class="notranslate">Cloud Storage</span>, navigate to the <a href="//console.firebase.google.com/project/_/storage/">Storage product page</a> in your project. </li> <ol> <li>On the <strong>Files</strong> 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. </li> <li>Click <strong>Delete</strong>, and confirm the files were deleted. </li> </ol> </ul> <p>Please refer to our documentation for additional information on managing <a href="//firebase.google.com/docs/hosting/manage-hosting-resources"> Hosting resources with Firebase tools</a> and <a href="//firebase.google.com/docs/storage/admin/start#google-cloud-storage-client-libraries">Cloud Storage for Firebase buckets with client libraries</a>. </p> </div> <div class="expandable" id="storage-upload-download-increase"> <h4 class="showalways" id="storage-upload-download-increase" data-text=" Cloud Storage for Firebase: Why do I see an unexpected increase in upload and download operations? " tabindex="-1"> <strong><span class="notranslate">Cloud Storage for Firebase</span>:</strong> Why do I see an unexpected increase in upload and download operations? </h4> <p> Previously, download and upload requests to the <span class="notranslate">Cloud Storage for Firebase</span> API were not being counted properly. We have taken steps to fix this issue, starting from September 15, 2023. </p> <p> 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. </p> <p> We recommend monitoring your <a href="//console.firebase.google.com/project/_/storage/usage">Usage page</a> for any increases that may count towards your limits. </p> </div> <div class="expandable" id="storage-accounts"> <h4 class="showalways" id="storage-accounts" data-text=" Cloud Storage for Firebase: Why do I see new service account IDs associated with my Firebase projects that use Cloud Storage for Firebase? " tabindex="-1"> <strong><span class="notranslate">Cloud Storage for Firebase</span>:</strong> Why do I see new service account IDs associated with my Firebase projects that use <span class="notranslate">Cloud Storage for Firebase</span>? </h4> <p> 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. </p> <p> The service account that <span class="notranslate">Cloud Storage for Firebase</span> uses is scoped to your project and is named <br/><code translate="no" dir="ltr">service-<var translate="no">PROJECT_NUMBER</var>@gcp-sa-firebasestorage.iam.gserviceaccount.com</code>. </p> <p> If you used <span class="notranslate">Cloud Storage for Firebase</span> before September 19, 2022, you may see an additional service account on previously-linked <span class="notranslate">Cloud Storage</span> buckets named <code translate="no" dir="ltr">firebase-storage@system.gserviceaccount.com</code>. As of September 19, 2022, this service account is no longer supported. </p> <p> You can view all service accounts associated with your project in the <span class="notranslate">Firebase</span> console, on the <a href="//console.firebase.google.com/project/_/settings/serviceaccounts/adminsdk" class="external">Service accounts tab</a>. </p> <h5 id="adding-the-new-service-account" data-text=" Adding the new service account " tabindex="-1"> Adding the new service account </h5> <p> 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. </p> <aside class="note"><b>Note:</b> To perform these operations, the <span class="notranslate">Cloud Storage for Firebase</span> API must be enabled in the <span class="notranslate">Google Cloud</span> console. If the API is disabled, re-enable it as instructed in <a href="https://cloud.google.com/apis/docs/getting-started#enabling_apis">this Cloud guide</a>. </aside> <ul> <li> <strong>(Recommended) Automated:</strong> Use the <a href="//firebase.google.com/docs/reference/rest/storage/rest/v1beta/projects.buckets/addFirebase" class="external">AddFirebase</a> REST endpoint to re-import your bucket into Firebase. You will only need to call this endpoint once, not once for each linked bucket. </li> <li> <strong>Manual:</strong> Follow the steps in <a href="//cloud.google.com/iam/docs/creating-managing-service-accounts" class="external">Creating and managing service accounts</a>. Following that guide, add a service account with the IAM role<a href="//cloud.google.com/iam/docs/understanding-roles#firebasestorage.serviceAgent" class="external"><code translate="no" dir="ltr">Cloud Storage for Firebase Service Agent</code></a>, and service account name <br/><code translate="no" dir="ltr">service-<var translate="no">PROJECT_NUMBER</var>@gcp-sa-firebasestorage.iam.gserviceaccount.com</code>. </li> </ul> <h5 id="removing-the-new-service-account" data-text=" Removing the new service account " tabindex="-1"> Removing the new service account </h5> <p> We strongly discourage you from removing the service account because this may block access to your <span class="notranslate">Cloud Storage</span> buckets from your apps. To remove the service account from your project, follow the instructions in <a href="//cloud.google.com/iam/docs/service-accounts-disable-enable#disabling" class="external">Disabling a service account</a>. </p> </div> <h2 id="crashlytics" data-text="Crashlytics" tabindex="-1"><span class="notranslate">Crashlytics</span></h2> <p>Visit the <a href="/docs/crashlytics/troubleshooting"><span class="notranslate">Crashlytics</span> troubleshooting & FAQ page</a> for helpful tips and answers to more FAQs.</p> <h2 id="dynamic-links" data-text="Dynamic Links" tabindex="-1"><span class="notranslate">Dynamic Links</span></h2> <div class="expandable" id="fdl-future"> <h4 class="showalways" id="fdl-future" data-text=" Dynamic Links: What are Firebase's future plans for Dynamic Links? " tabindex="-1"> <strong><span class="notranslate">Dynamic Links</span>:</strong> What are Firebase's future plans for <span class="notranslate">Dynamic Links</span>? </h4> <p>See <a href="https://firebase.google.com/support/dynamic-links-faq"><span class="notranslate">Dynamic Links</span> FAQ</a>.</p> </div> <div class="expandable" id="ddl-double-access-android"> <h4 class="showalways" id="ddl-double-access-android" data-text=" Dynamic Links: Why does my Android app access each Dynamic Link twice? " tabindex="-1"> <strong><span class="notranslate">Dynamic Links</span>:</strong> Why does my Android app access each Dynamic Link twice? </h4> <p>The <code translate="no" dir="ltr">getInvitation</code> API clears the saved Dynamic Link to prevent it from being accessed twice. Be sure to call this API with the <code translate="no" dir="ltr">autoLaunchDeepLink</code> parameter set to <code translate="no" dir="ltr">false</code> in each of the deep link activities to clear it for the case when the activity is triggered outside the main activity.</p> </div> <h2 id="firebase-local-emulator-suite" data-text="Firebase Local Emulator Suite" tabindex="-1"><span class="notranslate">Firebase Local Emulator Suite</span></h2> <div class="expandable" id="emulator-suite-project-id-error"> <h4 class="showalways" id="emulator-suite-project-id-error" data-text=' Why do Emulator Suite logs show an error starting with "Multiple projectIds are not recommended in single project mode"? ' tabindex="-1"> Why do Emulator Suite logs show an error starting with "Multiple projectIds are not recommended in single project mode"? </h4> <p>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.</p> <p>This has been a common source of confusion among developers, so by default the <span class="notranslate">Local Emulator Suite</span> will now only allow running with a single project ID, unless you specify otherwise in the <code translate="no" dir="ltr">firebase.json</code> configuration file. If an emulator detects more than one project ID, it will log a warning and potentially throw a fatal error.</p> <p>Check your project ID declaration(s) for mismatches in:</p> <ul> <li> <strong>The default project set at the command line.</strong> By default, the project ID will be taken on startup from the project selected with <code translate="no" dir="ltr">firebase init</code> or <code translate="no" dir="ltr">firebase use</code>. To view the list of projects (and see which one is selected) use <code translate="no" dir="ltr">firebase projects:list</code>. </li> <li> <strong>Unit tests.</strong> The project ID is often specified in calls to the Rules Unit Testing library methods <code translate="no" dir="ltr">initializeTestEnvironment</code> or <code translate="no" dir="ltr">initializeTestApp</code>. Other testing code may initialize with <code translate="no" dir="ltr">initializeApp(config)</code>. </li> <li> <strong>The command line <code translate="no" dir="ltr">--project</code> flag.</strong> Passing the <span class="notranslate">Firebase</span> CLI <code translate="no" dir="ltr">--project</code> 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. </li> </ul> <p>Platform-specific places to check:</p> <table> <tr> <td><strong>Web</strong></td> <td>The <code translate="no" dir="ltr">projectId</code> property in your JavaScript <code translate="no" dir="ltr">firebaseConfig</code> object, used in <code translate="no" dir="ltr">initializeApp</code>. </td> </tr> <tr> <td><strong>Android</strong></td> <td>The <code translate="no" dir="ltr">project_id</code> property inside the <code translate="no" dir="ltr">google-services.json</code> configuration file. </td> </tr> <tr> <td><strong>Apple platforms</strong></td> <td>The <code translate="no" dir="ltr">PROJECT_ID</code> property in the <code translate="no" dir="ltr">GoogleService-Info.plist</code> configuration file. </td> </tr> </table> <p>To disable single project mode, update <code translate="no" dir="ltr">firebase.json</code> with the <code translate="no" dir="ltr">singleProjectMode</code> key:</p> <div></div><devsite-code><pre style="prettyprint" translate="no" dir="ltr" is-upgraded> { "firestore": { ... }, "functions": { ... }, "hosting": { ... }, "emulators": { <strong>"singleProjectMode": false,</strong> "auth": { "port": 9099 }, "functions": { "port": 5001 }, ... } } </pre></devsite-code> </div> <h2 id="hosting" data-text="Hosting" tabindex="-1"><span class="notranslate">Hosting</span></h2> <div class="expandable" id="hosting-exe-restrictions"> <h4 class="showalways" id="hosting-exe-restrictions" data-text=" Hosting: On Spark plan projects, can I store executable files? " tabindex="-1"> <strong><span class="notranslate">Hosting</span>:</strong> On Spark plan projects, can I store executable files? </h4> <p>For no-cost (Spark) plan projects, Firebase blocks uploads and hosting of certain executable file types for Windows, Android and Apple by <span class="notranslate">Cloud Storage for Firebase</span> and <span class="notranslate">Firebase Hosting</span>. This policy exists to prevent abuse on our platform. </p> <p> 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. </p> <p>This restriction applies to Spark plan projects. Projects on the pay as you go (Blaze) plan are not affected. </p> <p> The following file types cannot be hosted on <span class="notranslate">Firebase Hosting</span> and <span class="notranslate">Cloud Storage for Firebase</span>: </p> <ul> <li>Windows files with <code translate="no" dir="ltr">.exe</code>, <code translate="no" dir="ltr">.dll</code> and <code translate="no" dir="ltr">.bat</code> extensions </li> <li>Android files with <code translate="no" dir="ltr">.apk</code> extension </li> <li>Apple platform files with <code translate="no" dir="ltr">.ipa</code> extension </li> </ul> <p><strong>What do I need to do?</strong></p> <p>If you still want to host these file types after September 28th, 2023: </p> <ul> <li>For Hosting: upgrade to the Blaze plan before you can deploy these file types to <span class="notranslate">Firebase Hosting</span> via the <code translate="no" dir="ltr">firebase deploy</code> command. </li> <li>For Storage: upgrade to the Blaze plan to upload these file types to the bucket of your choice using the GCS CLI, the <span class="notranslate">Firebase</span> console, or <span class="notranslate">Google Cloud</span> console. </li> </ul> <p>Use Firebase tools to manage your <span class="notranslate">Firebase Hosting</span> and <span class="notranslate">Cloud Storage</span> resources. </p> <ul> <li>For managing resources in <span class="notranslate">Firebase Hosting</span>, use the Firebase console to delete releases <a href="//firebase.google.com/docs/hosting/manage-hosting-resources#delete-release">according to this guide</a>. </li> <li>For managing resources in <span class="notranslate">Cloud Storage</span>, navigate to the <a href="//console.firebase.google.com/project/_/storage/">Storage product page</a> in your project. </li> <ol> <li>On the <strong>Files</strong> 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. </li> <li>Click <strong>Delete</strong>, and confirm the files were deleted. </li> </ol> </ul> <p>Please refer to our documentation for additional information on managing <a href="//firebase.google.com/docs/hosting/manage-hosting-resources"> Hosting resources with Firebase tools</a> and <a href="//firebase.google.com/docs/storage/admin/start#google-cloud-storage-client-libraries">Cloud Storage for Firebase buckets with client libraries</a>. </p> </div> <div class="expandable" id="hosting-file-counts"> <h4 class="showalways" id="hosting-file-counts" data-text=" 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? " tabindex="-1"> <strong><span class="notranslate">Hosting</span>:</strong> Why does my <span class="notranslate">Hosting</span> release history table in the <span class="notranslate">Firebase</span> console show file counts that are more than what my local project actually has? </h4> <p>Firebase automatically adds extra files containing metadata about the <span class="notranslate">Hosting</span> site, and these files are included in the total file count for the release. </p> </div> <div class="expandable" id="hosting-max-file-size"> <h4 class="showalways" id="hosting-max-file-size" data-text=" Hosting: What's the largest file size that I can deploy to Firebase Hosting? " tabindex="-1"> <strong><span class="notranslate">Hosting</span>:</strong> What's the largest file size that I can deploy to <span class="notranslate">Firebase Hosting</span>? </h4> <p><span class="notranslate">Hosting</span> has a maximum size limit of 2 GB for individual files. </p> <p>We recommend storing larger files using <a href="/docs/storage"><span class="notranslate">Cloud Storage</span></a>, which offers a maximum size limit in the terabyte range for individual objects. </p> </div> <div class="expandable" id="hosting-sites-per-project"> <h4 class="showalways" id="hosting-sites-per-project" data-text=" Hosting: How many Hosting sites can I have per Firebase project? " tabindex="-1"> <strong><span class="notranslate">Hosting</span>:</strong> How many <span class="notranslate">Hosting</span> sites can I have per Firebase project? </h4> <p>The <a href="/docs/hosting/multisites"><span class="notranslate">Firebase Hosting</span> multisite feature</a> supports a maximum of 36 sites per project. </p> </div> <h2 id="performance" data-text="Performance Monitoring" tabindex="-1"><span class="notranslate">Performance Monitoring</span></h2> <p>Visit the <a href="/docs/perf-mon/troubleshooting"><span class="notranslate">Performance Monitoring</span> troubleshooting & FAQ page</a> for helpful tips and answers to more FAQs.</p> <div class="expandable" id="performance-custom-url-pattern-limits"> <h4 class="showalways" id="performance-custom-url-pattern-limits" data-text=" Performance Monitoring: How many custom URL patterns can I create? " tabindex="-1"> <strong><span class="notranslate">Performance Monitoring</span>:</strong> How many custom URL patterns can I create? </h4> <p> You can create up to 400 total custom URL patterns per app and up to 100 custom URL patterns per domain for that app. </p> </div> <div class="expandable" id="performance-no-real-time-data"> <h4 class="showalways" id="performance-no-real-time-data" data-text=" Performance Monitoring: Why am I not seeing real time display of performance data? " tabindex="-1"> <strong><span class="notranslate">Performance Monitoring</span>:</strong> Why am I not seeing real time display of performance data? </h4> <p>To view real time performance data, make sure that your app uses a <span class="notranslate">Performance Monitoring</span> SDK version that's compatible with real time data processing. </p> <p> <ul> <li><b>iOS</b> — v7.3.0 or later</li> <li><b>tvOS</b> — v8.9.0 or later</li> <li><b>Android</b> — v19.0.10 or later (or <span class="notranslate">Firebase Android BoM</span> v26.1.0 or later)</li> <li><b>Web</b> — v7.14.0 or later</li> </ul> <p>Note that we always recommend using the latest version of SDK, but any version listed above will enable <span class="notranslate">Performance Monitoring</span> to process your data in near real time. </p> </p> </div> <h2 id="realtime-database" data-text="Realtime Database" tabindex="-1"><span class="notranslate">Realtime Database</span></h2> <div class="expandable" id="database-underreported"> <h4 class="showalways" id="database-underreported" data-text=" Realtime Database: Why was my Realtime Database reported bandwidth lower than average between September 2016 and March 2017? " tabindex="-1"> <strong><span class="notranslate">Realtime Database</span>:</strong> Why was my <span class="notranslate">Realtime Database</span> reported bandwidth lower than average between September 2016 and March 2017? </h4> <p> 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. </p> <p> We released a fix for the bug in late March 2017, returning bandwidth reporting and billing to their normal levels. </p> </div> <div class="expandable" id="database-limits"> <h4 class="showalways" id="database-limits" data-text=" Realtime Database: What are the scaling limitations of the Realtime Database? " tabindex="-1"> <strong><span class="notranslate">Realtime Database</span>:</strong> What are the scaling limitations of the <span class="notranslate">Realtime Database</span>? </h4> <p> Each <span class="notranslate">Realtime Database</span> 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, <a href="/docs/database/admin/save-data#section-update"> batching operations using multi-path updates</a> can help you achieve higher throughput. </p> <p>In addition, each database instance has <a href="#pricing-simultaneous">a cap on the number of simultaneous database connections</a>. Our default limits are large enough for most applications. If you are building an app that requires additional scale, you may need to <a href="/docs/database/usage/sharding">shard your application across multiple database instances</a> for added scale. You may also consider <a href="/docs/firestore">Cloud Firestore</a> as an alternative database. </p> </div> <div class="expandable" id="database-overquota"> <h4 class="showalways" id="database-overquota" data-text=" Realtime Database: What can I do if I'm over my Realtime Database usage limits? " tabindex="-1"> <strong><span class="notranslate">Realtime Database</span>:</strong> What can I do if I'm over my <span class="notranslate">Realtime Database</span> usage limits? </h4> <p>If you've received an email alert or notification in the <span class="notranslate">Firebase</span> console that you've exceeded your <span class="notranslate">Realtime Database</span> usage limits, you can address it based on the usage limit you've exceeded. To see your <span class="notranslate">Realtime Database</span> usage, go to the <a href="//console.firebase.google.com/project/_/database/usage" class="external"><span class="notranslate">Realtime Database</span> <i>Usage</i></a> dashboard in the <span class="notranslate">Firebase</span> console. </p> <p><strong>If you're over your download limit,</strong> you can upgrade your <a href="/pricing">Firebase pricing plan</a> or wait until your download limit resets at the start of your next billing cycle. To decrease your downloads, try the following steps: </p> <ul> <li>Add queries to limit the data that your listen operations return.</li> <li>Check for unindexed queries.</li> <li>Use listeners that only download updates to data — for example, <code translate="no" dir="ltr">on()</code> instead of <code translate="no" dir="ltr">once()</code>. </li> <li>Use security rules to block unauthorized downloads.</li> </ul> <p><strong>If you're over your storage limit,</strong> upgrade your pricing plan to avoid service disruptions. To reduce the amount of data in your database, try the following steps:</p> <ul> <li>Run periodic cleanup jobs.</li> <li>Reduce any duplicate data in your database.</li> </ul> <p>Note that it may take some time to see any data deletions reflected in your storage allotment. </p> <p><strong>If you're over your simultaneous database connections limit,</strong> 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. </p> </div> <h2 id="remote-config" data-text="Remote Config" tabindex="-1"><span class="notranslate">Remote Config</span></h2> <div class="expandable" id="remote-config-values"> <h4 class="showalways" id="remote-config-values" data-text=" Remote Config: Why don't fetched values change the behavior and appearance of my app? " tabindex="-1"> <strong><span class="notranslate">Remote Config</span>:</strong> Why don't fetched values change the behavior and appearance of my app? </h4> <p>Unless you fetch values with <a href="/docs/reference/android/com/google/firebase/remoteconfig/FirebaseRemoteConfig#fetchAndActivate()"><code translate="no" dir="ltr">fetchAndActivate()</code></a>, values are stored locally but not activated. To activate fetched values so that they can take effect, call <code translate="no" dir="ltr">activate</code>. This design lets you control when the behavior and appearance of your app changes, because you can choose when to call <code translate="no" dir="ltr">activate</code>. After you call <code translate="no" dir="ltr">activate</code>, your app source code determines when updated parameter values are used. </p> <p>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. </p> <p>To learn more about the Remote Config API and usage model, see <a href="/docs/remote-config/api-overview">Remote Config API Overview</a>. </p> </div> <div class="expandable" id="remote-config-requests"> <h4 class="showalways" id="remote-config-requests" data-text=" 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? " tabindex="-1"> <strong><span class="notranslate">Remote Config</span>:</strong> 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? </h4> <p>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 <code translate="no" dir="ltr">FirebaseRemoteConfigSettings</code> object with a low minimum fetch interval (<code translate="no" dir="ltr">setMinimumFetchIntervalInSeconds</code>) in your app. </p> <p> <aside class="caution">Keep in mind that this setting should be used for development only, not for an app running in production. If you're just testing your app with a small 10-person development team, you are unlikely to hit the hourly service-side quota limits. But if you pushed your app out to thousands of test users with a very low minimum fetch interval, your app would probably hit this quota.</aside> </p> </div> <div class="expandable" id="remote-config-timing"> <h4 class="showalways" id="remote-config-timing" data-text=" Remote Config: How quickly does the Remote Config service return fetched values after my app sends a fetch request? " tabindex="-1"> <strong><span class="notranslate">Remote Config</span>:</strong> How quickly does the <span class="notranslate">Remote Config</span> service return fetched values after my app sends a fetch request? </h4> <p>Devices usually receive fetched values in less than a second, and often receive fetched values in milliseconds. The <span class="notranslate">Remote Config</span> 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. </p> <p>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 <code translate="no" dir="ltr">fetchAndActivate</code> each time that your app does a full screen refresh.</p> </div> <h2 id="test-lab" data-text="Test Lab" tabindex="-1"><span class="notranslate">Test Lab</span></h2> <p>Visit the <a href="/docs/test-lab/troubleshooting"><span class="notranslate">Test Lab</span> troubleshooting page</a> for helpful tips and answers to FAQs.</p> <h2 id="firebase-user-segmentation-storage" data-text="Firebase User Segmentation Storage" tabindex="-1">Firebase User Segmentation Storage</h2> <div class="expandable" id="user-segmentation-storage"> <h4 class="showalways" id="user-segmentation-storage" data-text=" What is Firebase User Segmentation Storage? " tabindex="-1"> What is Firebase User Segmentation Storage? </h4> <p>Firebase User Segmentation Storage stores <a href="/docs/projects/manage-installations"><span class="notranslate">Firebase</span> installation IDs</a> 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 <span class="notranslate">Crashlytics</span>, <span class="notranslate">FCM</span>, <span class="notranslate">Remote Config</span> personalization, and more. </p> </div> </div> <devsite-recommendations display="in-page" hidden yield> </devsite-recommendations> <devsite-thumb-rating position="footer"> </devsite-thumb-rating> <devsite-feedback position="footer" project-name="Firebase" product-id="719752" bucket="" context="" version="t-devsite-webserver-20241114-r00-rc02.464922260396498922" data-label="Send Feedback Button" track-type="feedback" track-name="sendFeedbackLink" track-metadata-position="footer" class="nocontent" project-feedback-url="https://firebase.google.com/support/contact/bugs-features/" project-icon="https://firebase.google.com/_static/firebase/images/icon.svg" project-support-url="https://firebase.google.com/support/" > <button> Send feedback </button> </devsite-feedback> <devsite-recommendations id="recommendations-link" yield></devsite-recommendations> <div class="devsite-floating-action-buttons"> </div> </article> <devsite-content-footer class="nocontent"> <p>Except as otherwise noted, the content of this page is licensed under the <a href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 License</a>, and code samples are licensed under the <a href="https://www.apache.org/licenses/LICENSE-2.0">Apache 2.0 License</a>. For details, see the <a href="https://developers.google.com/site-policies">Google Developers Site Policies</a>. Java is a registered trademark of Oracle and/or its affiliates.</p> <p>Last updated 2024-11-21 UTC.</p> </devsite-content-footer> <devsite-notification > </devsite-notification> <div class="devsite-content-data"> <template class="devsite-thumb-rating-feedback"> <devsite-feedback position="thumb-rating" project-name="Firebase" product-id="719752" bucket="" context="" version="t-devsite-webserver-20241114-r00-rc02.464922260396498922" data-label="Send Feedback Button" track-type="feedback" track-name="sendFeedbackLink" track-metadata-position="thumb-rating" class="nocontent" project-feedback-url="https://firebase.google.com/support/contact/bugs-features/" project-icon="https://firebase.google.com/_static/firebase/images/icon.svg" project-support-url="https://firebase.google.com/support/" > <button> Need to tell us more? </button> </devsite-feedback> </template> <template class="devsite-content-data-template"> [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-21 UTC."],[],[]] </template> </div> </devsite-content> </main> <devsite-footer-promos class="devsite-footer"> </devsite-footer-promos> <devsite-footer-linkboxes class="devsite-footer"> <nav class="devsite-footer-linkboxes nocontent" aria-label="Footer links"> <ul class="devsite-footer-linkboxes-list"> <li class="devsite-footer-linkbox "> <h3 class="devsite-footer-linkbox-heading no-link">Learn</h3> <ul class="devsite-footer-linkbox-list"> <li class="devsite-footer-linkbox-item"> <a href="/docs/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 1)" > Developer guides </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/docs/reference/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 2)" > SDK & API reference </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/docs/samples/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 3)" > Samples </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/docs/libraries/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 4)" > Libraries </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//github.com/firebase/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 5)" > GitHub </a> </li> </ul> </li> <li class="devsite-footer-linkbox "> <h3 class="devsite-footer-linkbox-heading no-link">Stay connected</h3> <ul class="devsite-footer-linkbox-list"> <li class="devsite-footer-linkbox-item"> <a href="//firebase.blog" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 1)" > Check out the blog </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//www.reddit.com/r/Firebase" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 2)" > Find us on Reddit </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//x.com/Firebase" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 3)" > Follow on X </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//www.youtube.com/user/Firebase" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 4)" > Subscribe on YouTube </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/community/events" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 5)" > Attend an event </a> </li> </ul> </li> <li class="devsite-footer-linkbox "> <h3 class="devsite-footer-linkbox-heading no-link">Support</h3> <ul class="devsite-footer-linkbox-list"> <li class="devsite-footer-linkbox-item"> <a href="/support/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 1)" > Contact support </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//stackoverflow.com/questions/tagged/firebase" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 2)" > Stack Overflow </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//firebase.community/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 3)" > Slack community </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//groups.google.com/forum/#!forum/firebase-talk" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 4)" > Google group </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/support/releases" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 5)" > Release notes </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/brand-guidelines/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 6)" > Brand guidelines </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/support/faq/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 7)" > FAQs </a> </li> </ul> </li> </ul> </nav> </devsite-footer-linkboxes> <devsite-footer-utility class="devsite-footer"> <div class="devsite-footer-utility nocontent"> <nav class="devsite-footer-sites" aria-label="Other Google Developers websites"> <a href="https://developers.google.com/" class="devsite-footer-sites-logo-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Google Developers Link"> <picture> <source srcset="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/firebase/images/lockup-google-for-developers-dark-theme.svg" media="(prefers-color-scheme: none)" class="devsite-dark-theme" loading="lazy" alt="Google Developers"> <img class="devsite-footer-sites-logo" src="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/firebase/images/lockup-google-for-developers.svg" loading="lazy" alt="Google Developers"> </picture> </a> <ul class="devsite-footer-sites-list"> <li class="devsite-footer-sites-item"> <a href="//developer.android.com" class="devsite-footer-sites-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Android Link" > Android </a> </li> <li class="devsite-footer-sites-item"> <a href="//developer.chrome.com/home" class="devsite-footer-sites-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Chrome Link" > Chrome </a> </li> <li class="devsite-footer-sites-item"> <a href="//firebase.google.com" class="devsite-footer-sites-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Firebase Link" > Firebase </a> </li> <li class="devsite-footer-sites-item"> <a href="//cloud.google.com" class="devsite-footer-sites-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Google Cloud Platform Link" > Google Cloud Platform </a> </li> <li class="devsite-footer-sites-item"> <a href="//developers.google.com/products/" class="devsite-footer-sites-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer All products Link" > All products </a> </li> </ul> </nav> <nav class="devsite-footer-utility-links" aria-label="Utility links"> <ul class="devsite-footer-utility-list"> <li class="devsite-footer-utility-item "> <a class="devsite-footer-utility-link gc-analytics-event" href="/terms/" data-category="Site-Wide Custom Events" data-label="Footer Terms link" > Terms </a> </li> <li class="devsite-footer-utility-item "> <a class="devsite-footer-utility-link gc-analytics-event" href="//policies.google.com/privacy" data-category="Site-Wide Custom Events" data-label="Footer Privacy link" > Privacy </a> </li> <li class="devsite-footer-utility-item glue-cookie-notification-bar-control"> <a class="devsite-footer-utility-link gc-analytics-event" href="#" data-category="Site-Wide Custom Events" data-label="Footer Manage cookies link" aria-hidden="true" > Manage cookies </a> </li> </ul> <devsite-language-selector> <ul role="presentation"> <li role="presentation"> <a role="menuitem" lang="en" >English</a> </li> <li role="presentation"> <a role="menuitem" lang="de" >Deutsch</a> </li> <li role="presentation"> <a role="menuitem" lang="es" >Español</a> </li> <li role="presentation"> <a role="menuitem" lang="es_419" >Español – América Latina</a> </li> <li role="presentation"> <a role="menuitem" lang="fr" >Français</a> </li> <li role="presentation"> <a role="menuitem" lang="id" >Indonesia</a> </li> <li role="presentation"> <a role="menuitem" lang="it" >Italiano</a> </li> <li role="presentation"> <a role="menuitem" lang="pl" >Polski</a> </li> <li role="presentation"> <a role="menuitem" lang="pt" >Português</a> </li> <li role="presentation"> <a role="menuitem" lang="pt_br" >Português – Brasil</a> </li> <li role="presentation"> <a role="menuitem" lang="vi" >Tiếng Việt</a> </li> <li role="presentation"> <a role="menuitem" lang="tr" >Türkçe</a> </li> <li role="presentation"> <a role="menuitem" lang="ru" >Русский</a> </li> <li role="presentation"> <a role="menuitem" lang="he" >עברית</a> </li> <li role="presentation"> <a role="menuitem" lang="ar" >العربيّة</a> </li> <li role="presentation"> <a role="menuitem" lang="fa" >فارسی</a> </li> <li role="presentation"> <a role="menuitem" lang="hi" >हिंदी</a> </li> <li role="presentation"> <a role="menuitem" lang="bn" >বাংলা</a> </li> <li role="presentation"> <a role="menuitem" lang="th" >ภาษาไทย</a> </li> <li role="presentation"> <a role="menuitem" lang="zh_cn" >中文 – 简体</a> </li> <li role="presentation"> <a role="menuitem" lang="zh_tw" >中文 – 繁體</a> </li> <li role="presentation"> <a role="menuitem" lang="ja" >日本語</a> </li> <li role="presentation"> <a role="menuitem" lang="ko" >한국어</a> </li> </ul> </devsite-language-selector> </nav> </div> </devsite-footer-utility> <devsite-panel></devsite-panel> <devsite-concierge data-info-panel data-ai-panel > </devsite-concierge> </section></section> <devsite-sitemask></devsite-sitemask> <devsite-snackbar></devsite-snackbar> <devsite-tooltip ></devsite-tooltip> <devsite-heading-link></devsite-heading-link> <devsite-analytics> <script type="application/json" analytics>[]</script> <script type="application/json" tag-management>{"at": "True", "ga4": [], "ga4p": [], "gtm": [{"id": "GTM-N84485", "purpose": 0}], "parameters": {"internalUser": "False", "language": {"machineTranslated": "False", "requested": "en", "served": "en"}, "pageType": "article", "projectName": "Firebase", "signedIn": "False", "tenant": "firebase", "recommendations": {"sourcePage": "", "sourceType": 0, "sourceRank": 0, "sourceIdenticalDescriptions": 0, "sourceTitleWords": 0, "sourceDescriptionWords": 0, "experiment": ""}, "experiment": {"ids": ""}}}</script> </devsite-analytics> <devsite-badger></devsite-badger> <firebase-gtm></firebase-gtm> <firebase-utm></firebase-utm> <script nonce="OCQ5kAXy8drP3FNG+kEZ88V/CcoP+B"> (function(d,e,v,s,i,t,E){d['GoogleDevelopersObject']=i; t=e.createElement(v);t.async=1;t.src=s;E=e.getElementsByTagName(v)[0]; E.parentNode.insertBefore(t,E);})(window, document, 'script', 'https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/firebase/js/app_loader.js', '[4,"en",null,"/js/devsite_app_module.js","https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625","https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/firebase","https://firebase-dot-devsite-v2-prod.appspot.com",1,null,["/_pwa/firebase/manifest.json","https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/images/video-placeholder.svg","https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/firebase/images/favicon.png","https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/firebase/images/lockup.svg","https://fonts.googleapis.com/css?family=Google+Sans:400,500|Roboto:400,400italic,500,500italic,700,700italic|Roboto+Mono:400,500,700&display=swap"],1,null,[1,6,8,12,14,17,21,25,50,52,63,70,75,76,80,87,91,92,93,97,98,100,101,102,103,104,105,107,108,109,110,112,113,117,118,120,122,124,125,126,127,129,130,131,132,133,134,135,136,138,140,141,147,148,149,151,152,156,157,158,159,161,163,164,168,169,170,179,180,182,183,186,191,193,196],"AIzaSyAP-jjEJBzmIyKR4F-3XITp8yM9T1gEEI8","AIzaSyB6xiKGDR5O3Ak2okS4rLkauxGUG7XP0hg","firebase.google.com","AIzaSyAQk0fBONSGUqCNznf6Krs82Ap1-NV6J4o","AIzaSyCCxcqdrZ_7QMeLCRY20bh_SXdAYqy70KY",null,null,null,["MiscFeatureFlags__enable_project_variables","CloudShell__cloud_code_overflow_menu","MiscFeatureFlags__developers_footer_image","Search__enable_page_map","Profiles__enable_release_notes_notifications","Search__enable_ai_eligibility_checks","Profiles__enable_page_saving","MiscFeatureFlags__enable_firebase_utm","MiscFeatureFlags__enable_explain_this_code","MiscFeatureFlags__enable_variable_operator","TpcFeatures__enable_mirror_tenant_redirects","EngEduTelemetry__enable_engedu_telemetry","Cloud__enable_cloud_shell_fte_user_flow","Profiles__enable_profile_collections","MiscFeatureFlags__enable_dark_theme","Analytics__enable_clearcut_logging","Experiments__reqs_query_experiments","Concierge__enable_pushui","DevPro__enable_developer_subscriptions","Profiles__enable_dashboard_curated_recommendations","Profiles__enable_awarding_url","Cloud__enable_cloud_facet_chat","Profiles__enable_public_developer_profiles","BookNav__enable_tenant_cache_key","Profiles__enable_recognition_badges","Cloud__enable_llm_concierge_chat","Search__enable_dynamic_content_confidential_banner","DevPro__enable_cloud_innovators_plus","Search__enable_ai_search_summaries","Concierge__enable_concierge","Profiles__require_profile_eligibility_for_signin","Profiles__enable_developer_profiles_callout","Significatio__enable_by_tenant","Cloud__enable_legacy_calculator_redirect","Cloud__enable_cloudx_ping","MiscFeatureFlags__emergency_css","CloudShell__cloud_shell_button","Profiles__enable_complete_playlist_endpoint","MiscFeatureFlags__enable_view_transitions","MiscFeatureFlags__developers_footer_dark_image","Cloud__enable_cloud_shell","Cloud__enable_cloudx_experiment_ids","Cloud__enable_cloud_dlp_service","TpcFeatures__enable_required_headers","Search__enable_suggestions_from_borg","Cloud__enable_free_trial_server_call","Profiles__enable_completecodelab_endpoint"],null,null,"AIzaSyBLEMok-5suZ67qRPzx0qUtbnLmyT_kCVE","https://developerscontentserving-pa.clients6.google.com","AIzaSyCM4QpTRSqP5qI4Dvjt4OAScIN8sOUlO-k","https://developerscontentsearch-pa.clients6.google.com",1,4,null,"https://developerprofiles-pa.clients6.google.com",[4,"firebase","Firebase","firebase.google.com",null,"firebase-dot-devsite-v2-prod.appspot.com",null,null,[1,1,null,null,null,null,null,null,null,null,null,[1],null,null,null,null,null,null,[1],[1,null,null,[1]],null,null,null,[1,null,1],[1,1,null,null,1]],null,[68,null,null,null,null,null,"/images/lockup.svg","/images/touchicon-180.png",null,null,null,1,1,1,null,null,null,null,null,null,null,2,null,null,null,"/images/lockup.svg",[]],[],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[6,1,20,22,23,29,37],null,[[],[1,1]],[[null,null,null,null,["UA-24532603-9"],["GTM-N84485"],null,null,null,null,[["UA-24532603-9",1]],[["GTM-N84485",1]],1],[[2,5],[36,4],[16,2],[17,1],[46,8]],null,1],null,4],null,"pk_live_5170syrHvgGVmSx9sBrnWtA5luvk9BwnVcvIi7HizpwauFG96WedXsuXh790rtij9AmGllqPtMLfhe2RSwD6Pn38V00uBCydV4m"]') </script> <devsite-a11y-announce></devsite-a11y-announce> </body> </html>