다른 문제가 있거나 아래에 설명된 문제가 보이지 않습니까? 버그를 보고하거나 기능을 요청 하고 Stack Overflow 토론에 참여하세요.
Firebase 프로젝트 및 Firebase 앱
Firebase 프로젝트란 무엇인가요?
Firebase 프로젝트는 Firebase의 최상위 항목입니다. 프로젝트에서 Apple, Android 또는 웹 앱을 등록할 수 있습니다. 앱을 Firebase에 등록한 후 애널리틱스, Cloud Firestore, Crashlytics 또는 원격 구성과 같은 제품별 Firebase SDK 를 앱에 추가할 수 있습니다.
단일 Firebase 프로젝트 내에서 Apple, Android 및 웹 앱 변형을 등록해야 합니다. 여러 Firebase 프로젝트를 사용하여 개발, 스테이징, 프로덕션과 같은 여러 환경을 지원할 수 있습니다.
다음은 Firebase 프로젝트에 대해 자세히 알아볼 수 있는 리소스입니다.
- Firebase 프로젝트 이해 — Google Cloud와의 관계, 프로젝트와 해당 앱 및 리소스의 기본 계층 구조를 포함하여 Firebase 프로젝트에 대한 몇 가지 중요한 개념에 대한 간략한 개요를 제공합니다.
- Firebase 프로젝트 설정을 위한 일반적인 모범 사례 — 고유한 환경을 사용하는 명확한 개발 워크플로를 갖도록 Firebase 프로젝트를 설정하고 앱을 프로젝트에 등록하는 일반적인 상위 수준 모범 사례를 제공합니다.
Firebase는 모든 Firebase 프로젝트에 대해 Google Cloud Console의 프로젝트 라벨 페이지 에 firebase:enabled
라벨을 자동으로 추가합니다. FAQ 에서 이 라벨에 대해 자세히 알아보세요.
Google Cloud 조직이란 무엇인가요?
Google Cloud 조직은 Google Cloud 프로젝트(Firebase 프로젝트 포함)의 컨테이너입니다. 이 계층 구조를 사용하면 Google Cloud 및 Firebase 프로젝트의 구성, 액세스 관리, 감사를 개선할 수 있습니다. 자세한 내용은 조직 생성 및 관리 를 참조하십시오.
기존 Google Cloud 프로젝트에 Firebase를 추가하려면 어떻게 해야 하나요?
Google Cloud Console 또는 Google API 콘솔 을 통해 관리되는 기존 프로젝트가 있을 수 있습니다. 기본적으로 이러한 프로젝트는 Firebase 콘솔 에 표시되지만 Firebase 프로젝트로 간주되지 않습니다.
기존 Google Cloud 프로젝트에 Firebase를 추가하려면 Firebase 콘솔 방문 페이지에서 프로젝트 추가 를 클릭한 다음 프로젝트 이름 메뉴에서 프로젝트를 선택합니다.
내 Google Cloud 프로젝트에 firebase:enabled
라벨이 있는 이유는 무엇인가요?
Google Cloud Console의 프로젝트 라벨 페이지 에 firebase:enabled
라벨이 표시될 수 있습니다(특히, Value
이 enabled
인 firebase
Key
).
프로젝트가 Firebase 프로젝트이기 때문에 Firebase에서 이 라벨을 자동으로 추가했습니다. 즉, 프로젝트에 Firebase 관련 구성 및 서비스가 사용 설정되어 있습니다. Firebase 프로젝트와 Google Cloud 간의 관계 에 대해 자세히 알아보세요.
이 레이블을 수정하거나 삭제하지 않는 것이 좋습니다. 이 라벨은 Firebase 및 Google Cloud에서 Firebase 프로젝트를 나열하는 데 사용됩니다(예: REST API projects.list
엔드포인트 를 통해 또는 Firebase 콘솔 내의 메뉴에서).
이 라벨을 프로젝트 라벨 목록에 수동으로 추가해도 Google Cloud 프로젝트에 Firebase 관련 구성 및 서비스가 사용 설정되지 않는다는 점에 유의하세요. 그렇게 하려면 Firebase 콘솔 을 통해(또는 고급 사용 사례의 경우 Firebase Management REST API 또는 Firebase CLI 를 통해) Firebase를 추가해야 합니다.
Firebase 프로젝트 목록에 내 Firebase 프로젝트가 표시되지 않는 이유는 무엇인가요?
이 FAQ는 다음 위치에 Firebase 프로젝트가 표시되지 않는 경우에 적용됩니다.
- Firebase 콘솔 내에서 보고 있는 프로젝트 목록에서
- REST API
projects.list
엔드포인트 호출에 대한 응답에서 - Firebase CLI 명령
firebase projects:list
를 실행한 응답에서
다음 문제 해결 단계를 시도해 보세요.
- 먼저 프로젝트의 URL을 직접 방문하여 프로젝트에 액세스해 보십시오. 다음 형식을 사용하십시오.
https://console.firebase.google.com/project/ PROJECT-ID /overview
- 프로젝트에 접근할 수 없거나 권한 오류가 발생하면 다음을 확인하세요.
- 프로젝트에 액세스할 수 있는 동일한 Google 계정을 사용하여 Firebase에 로그인했는지 확인하세요. 콘솔 오른쪽 상단에 있는 계정 아바타를 통해 Firebase 콘솔에 로그인 및 로그아웃할 수 있습니다.
- Google Cloud Console 에서 프로젝트를 볼 수 있는지 확인합니다.
- Google Cloud Console의 프로젝트 라벨 페이지 에서 프로젝트에
firebase:enabled
라벨이 있는지 확인하세요. Firebase와 Google Cloud는 이 라벨을 사용하여 Firebase 프로젝트를 나열합니다. 이 라벨이 표시되지 않지만 프로젝트 에 Firebase Management API가 사용 설정 되어 있는 경우 라벨을 수동으로 추가하세요(특히Value
이enabled
인firebase
의Key
). - 기본 IAM 역할 (소유자, 편집자, 뷰어) 중 하나 또는 Firebase 관련 권한이 있는 역할(예: Firebase 사전 정의된 역할 )이 할당되었는지 확인합니다. Google Cloud Console의 IAM 페이지 에서 역할을 볼 수 있습니다.
- 프로젝트가 Google Cloud 조직에 속한 경우 Firebase 콘솔에 나열된 프로젝트를 보려면 추가 권한이 필요할 수 있습니다. 프로젝트를 볼 수 있는 적절한 역할(예: 브라우저 역할)을 부여하려면 GCP 조직을 관리하는 사람에게 문의하세요.
위의 문제 해결 단계 중 어느 것도 Firebase 프로젝트 목록에서 프로젝트를 볼 수 없는 경우 Firebase 지원팀 에 문의하세요.
계정당 몇 개의 프로젝트를 가질 수 있습니까?
- Spark 요금제 — 프로젝트 할당량은 소수의 프로젝트(일반적으로 약 5-10개)로 제한됩니다.
- Blaze 요금제 — Cloud Billing 계정이 양호한 상태인 한 Cloud Billing 계정당 프로젝트 할당량이 크게 증가합니다.
프로젝트 할당량 제한은 대부분의 개발자에게 거의 문제가 되지 않지만 필요한 경우 프로젝트 할당량 증가를 요청할 수 있습니다.
프로젝트를 완전히 삭제하려면 30일이 필요하며 완전히 삭제될 때까지 할당량에 포함됩니다.
Firebase 프로젝트에 얼마나 많은 Firebase 앱을 포함할 수 있나요?
Firebase 프로젝트는 Apple, Android, 웹의 Firebase 앱을 위한 컨테이너입니다. Firebase는 Firebase 프로젝트 내의 총 Firebase 앱 수를 30개로 제한합니다.
이 숫자 이후에는 성능이 저하되기 시작하고(특히 Google 애널리틱스의 경우) 결국 더 많은 수의 앱에서 일부 제품 기능이 작동을 멈춥니다. 또한 프로젝트에 Firebase 앱을 추가하면 하나 이상의 기본 OAuth 2.0 클라이언트 ID가 생성됩니다. 단일 프로젝트 내에서 만들 수 있는 클라이언트 ID는 약 30개로 제한됩니다.
단일 Firebase 프로젝트 내의 모든 Firebase 앱이 최종 사용자 관점에서 동일한 애플리케이션의 플랫폼 변형인지 확인해야 합니다. 예를 들어 화이트 라벨 애플리케이션을 개발하는 경우 독립적으로 라벨이 지정된 각 앱에는 자체 Firebase 프로젝트가 있어야 하지만 해당 라벨의 Apple 및 Android 버전은 동일한 프로젝트에 있을 수 있습니다. Firebase 프로젝트 설정에 대한 일반적인 권장 사항에서 자세한 지침을 읽어보세요.
드물게 프로젝트에 30개 이상의 앱이 필요한 경우 앱 제한 증가를 요청할 수 있습니다. 이 요청을 하려면 프로젝트에서 Blaze 요금제를 사용해야 합니다. 요청 하고 평가를 받으려면 Google Cloud Console을 방문하세요. Google Cloud 문서에서 할당량 관리 에 대해 자세히 알아보세요.
내 프로젝트에 "프로덕션" 환경으로 태그를 지정하면 어떻게 됩니까?
Firebase 콘솔에서 프로덕션 또는 지정되지 않은 (비프로덕션) 환경과 같은 환경 유형으로 Firebase 프로젝트에 태그를 지정할 수 있습니다.
프로젝트를 환경 유형으로 태그 지정해도 Firebase 프로젝트의 작동 방식이나 기능에는 영향을 미치지 않습니다. 그러나 태그 지정은 귀하와 귀하의 팀이 앱 수명 주기 동안 다양한 Firebase 프로젝트를 관리하는 데 도움이 될 수 있습니다.
프로젝트에 프로덕션 환경으로 태그를 지정하면 Firebase 콘솔의 프로젝트에 밝은 색상의 Prod 태그가 추가되어 모든 변경 사항이 연결된 프로덕션 앱에 영향을 미칠 수 있음을 알려줍니다. 앞으로 프로덕션 환경으로 태그가 지정된 Firebase 프로젝트에 더 많은 기능과 보호 장치를 추가할 수 있습니다.
Firebase 프로젝트의 환경 유형을 변경하려면 settings 프로젝트 설정 > 일반 으로 이동한 다음 환경 아래 의 프로젝트 카드에서 edit 을 클릭하여 환경 유형을 변경하십시오.
내 Firebase 앱의 앱 ID는 어디에서 찾을 수 있나요?
Firebase 콘솔에서 settings 프로젝트 설정 으로 이동합니다. 내 앱 카드까지 아래로 스크롤한 다음 원하는 Firebase 앱을 클릭하여 앱 ID 를 비롯한 앱 정보를 확인합니다.
다음은 몇 가지 앱 ID 값의 예입니다.
- Firebase iOS 앱:
1:1234567890:ios:321abc456def7890
- Firebase Android 앱:
1:1234567890:android:321abc456def7890
- Firebase 웹 앱:
1:1234567890:web:321abc456def7890
Play/AdMob/AdWords/BigQuery를 내 Firebase 프로젝트 또는 앱에 연결하기 위한 전제 조건은 무엇인가요?
- Google Play 계정 을 연결 하려면 다음이 필요합니다.
- 다음 Firebase 역할: 소유자 또는 Firebase 관리자
그리고 - 다음 Google Play 액세스 수준: 계정 소유자 또는 관리자
- 다음 Firebase 역할: 소유자 또는 Firebase 관리자
- AdMob 앱 을 연결하려면 Firebase 프로젝트 소유자이자 AdMob 관리자여야 합니다.
- 애드워즈 계정 을 연결하려면 Firebase 프로젝트 소유자이자 애드워즈 관리자여야 합니다.
- BigQuery 프로젝트 를 연결하려면 Firebase 프로젝트 소유자여야 합니다.
내 앱에 어떤 오픈 소스 알림을 포함해야 합니까?
Apple 플랫폼에서 Firebase 포드에는 관련 항목이 포함된 NOTICES 파일이 포함되어 있습니다. Firebase Android SDK에는 라이선스 정보를 표시하기 위한 도우미 Activity
이 포함되어 있습니다.
Firebase 프로젝트에 대한 권한 및 액세스
프로젝트 구성원에게 소유자 역할과 같은 역할을 할당하려면 어떻게 해야 합니까?
각 프로젝트 구성원에게 할당된 역할을 관리하려면 Firebase 프로젝트의 소유자이거나 resourcemanager.projects.setIamPolicy
권한이 있는 역할을 할당받아야 합니다.
역할을 할당하고 관리할 수 있는 위치는 다음과 같습니다.
- Firebase 콘솔은 settings > 프로젝트 설정 의 사용자 및 권한 탭 에서 프로젝트 구성원에게 역할을 할당하는 간단한 방법을 제공합니다. Firebase 콘솔에서 기본 역할 (소유자, 편집자, 뷰어), Firebase 관리자/뷰어 역할 또는 Firebase 사전 정의된 제품 카테고리 역할 을 할당할 수 있습니다.
- Google Cloud Console은 IAM 페이지 에서 프로젝트 구성원에게 역할을 할당하는 광범위한 도구 모음을 제공합니다. Cloud Console에서 맞춤 역할 을 만들고 관리할 수 있을 뿐만 아니라 서비스 계정에 프로젝트에 대한 액세스 권한을 부여할 수도 있습니다.
Google Cloud Console에서는 프로젝트 구성원을 주 구성원 이라고 합니다.
프로젝트 소유자가 더 이상 소유자의 작업을 수행할 수 없고(예: 퇴사한 사람) 프로젝트가 Google Cloud 조직을 통해 관리되지 않는 경우(다음 단락 참조) Firebase 지원팀에 문의 하여 임시 소유자가 할당되었습니다.
Firebase 프로젝트가 Google Cloud 조직의 일부인 경우 소유자가 없을 수 있습니다. Firebase 프로젝트의 소유자를 찾을 수 없는 경우 Google Cloud 조직을 관리하는 사람에게 연락하여 프로젝트 소유자를 할당하세요.
Firebase 프로젝트의 소유자는 어떻게 찾나요?
다음 위치에서 프로젝트 구성원과 해당 역할을 볼 수 있습니다.
- Firebase 콘솔에서 프로젝트에 액세스할 수 있는 경우 Firebase 콘솔의 사용자 및 권한 페이지 에서 소유자를 포함한 프로젝트 구성원 목록을 볼 수 있습니다.
- Firebase Console에서 프로젝트에 대한 액세스 권한이 없는 경우 Google Cloud Console에서 프로젝트에 대한 액세스 권한이 있는지 확인하세요. Google Cloud Console의 IAM 페이지 에서 소유자를 포함한 프로젝트 구성원 목록을 볼 수 있습니다.
프로젝트 소유자가 더 이상 소유자의 작업을 수행할 수 없고(예: 퇴사한 사람) 프로젝트가 Google Cloud 조직을 통해 관리되지 않는 경우(다음 단락 참조) Firebase 지원팀에 문의 하여 임시 소유자가 할당되었습니다.
Firebase 프로젝트가 Google Cloud 조직의 일부인 경우 소유자가 없을 수 있습니다. 대신 Google Cloud 조직을 관리하는 사람은 소유자가 수행할 수 있는 많은 작업을 수행할 수 있습니다. 그러나 몇 가지 소유자별 작업(예: 역할 할당 또는 Google 애널리틱스 속성 관리)을 수행하려면 관리자가 이러한 작업을 수행할 실제 소유자 역할 을 자신에게 할당해야 할 수 있습니다. Firebase 프로젝트의 소유자를 찾을 수 없는 경우 Google Cloud 조직을 관리하는 사람에게 연락하여 프로젝트 소유자를 할당하세요.
프로젝트 구성원에게 소유자 역할을 할당해야 하는 이유와 시기는 언제입니까?
Firebase 프로젝트를 제대로 관리하려면 소유자 가 있어야 합니다. 프로젝트 소유자는 몇 가지 중요한 관리 작업(예: 역할 할당 및 Google 애널리틱스 속성 관리)을 수행할 수 있는 사람이며 Firebase 지원팀은 입증된 프로젝트 소유자의 관리 요청만 처리할 수 있습니다.
Firebase 프로젝트의 소유자를 설정한 후에는 해당 할당을 최신 상태로 유지하는 것이 중요합니다.
Firebase 프로젝트가 Google Cloud 조직의 일부인 경우 Google Cloud 조직을 관리하는 사람은 소유자가 수행할 수 있는 많은 작업을 수행할 수 있습니다. 그러나 여러 소유자별 작업(예: 역할 할당 또는 Google 애널리틱스 속성 관리)의 경우 관리자가 이러한 작업을 수행하기 위해 자신에게 실제 소유자 역할 을 할당해야 할 수 있습니다.
Firebase 프로젝트가 없는 것 같은데 관련 이메일을 받았습니다. 이 프로젝트에 어떻게 액세스합니까?
받은 이메일에는 Firebase 프로젝트를 여는 링크가 포함되어 있어야 합니다. 이메일의 링크를 클릭하면 Firebase 콘솔에서 프로젝트가 열립니다.
링크에서 프로젝트를 열 수 없는 경우 프로젝트에 대한 이메일을 받은 것과 동일한 Google 계정을 사용하여 Firebase에 로그인했는지 확인하세요. 콘솔 오른쪽 상단에 있는 계정 아바타를 통해 Firebase 콘솔에 로그인 및 로그아웃할 수 있습니다.
Google Cloud 조직의 관리자인 경우 조직 내 Firebase 프로젝트의 변경사항에 대한 알림을 받을 수 있습니다. 그러나 Firebase 프로젝트를 열 수 있는 권한이 없을 수 있습니다. 이러한 경우 가장 간단한 솔루션은 실제 소유자 역할 을 할당하여 프로젝트를 열고 필요한 작업을 수행하는 것입니다. 소유자 역할을 지정해야 하는 이유와 시기 에 대해 자세히 알아보십시오.
플랫폼 및 프레임워크
더 많은 FAQ에 대한 유용한 팁과 답변을 보려면 플랫폼별 문제 해결 및 FAQ 페이지를 방문하십시오.
Firebase 콘솔
Firebase 콘솔에 액세스하기 위해 지원되는 브라우저는 무엇인가요?
Firebase 콘솔은 Chrome, Firefox, Safari 및 Edge와 같은 인기 있는 데스크톱 브라우저의 최신 버전에서 액세스할 수 있습니다. 모바일 브라우저는 현재 완전히 지원되지 않습니다.
Firebase 콘솔을 로드할 수 있지만 내 Firebase 프로젝트를 찾거나 액세스할 수 없는 이유는 무엇입니까?
이 FAQ는 다음 문제 중 하나가 발생한 경우에 적용됩니다.
- Firebase 콘솔은 프로젝트가 존재하지 않거나 프로젝트에 대한 액세스 권한이 없다는 오류 페이지를 반환합니다.
- 콘솔의 검색 필드에 프로젝트 ID나 프로젝트 이름을 입력해도 Firebase 콘솔에 프로젝트가 표시되지 않습니다.
다음 문제 해결 단계를 시도해 보세요.
- 먼저 프로젝트의 URL을 직접 방문하여 프로젝트에 액세스해 보십시오. 다음 형식을 사용하십시오.
https://console.firebase.google.com/project/ PROJECT-ID /overview
- 여전히 프로젝트에 액세스할 수 없거나 권한 오류가 발생하면 다음을 확인하십시오.
- 프로젝트에 액세스할 수 있는 동일한 Google 계정을 사용하여 Firebase에 로그인했는지 확인하세요. 콘솔 오른쪽 상단에 있는 계정 아바타를 통해 Firebase 콘솔에 로그인 및 로그아웃할 수 있습니다.
- 프로젝트에 Firebase Management API가 사용 설정 되어 있는지 확인하세요.
- 기본 IAM 역할 (소유자, 편집자, 뷰어) 중 하나 또는 Firebase 관련 권한이 있는 역할(예: Firebase 사전 정의된 역할 )이 할당되었는지 확인합니다. Google Cloud Console의 IAM 페이지 에서 역할을 볼 수 있습니다.
- 프로젝트가 Google Cloud 조직에 속한 경우 Firebase 콘솔에 나열된 프로젝트를 보려면 추가 권한이 필요할 수 있습니다. 프로젝트를 볼 수 있는 적절한 역할(예: 브라우저 역할)을 부여하려면 GCP 조직을 관리하는 사람에게 문의하세요.
위의 문제 해결 단계를 수행해도 프로젝트를 찾거나 액세스할 수 없는 경우 Firebase 지원팀 에 문의하세요.
Firebase 콘솔이 로드되지 않는 이유는 무엇인가요?
이 FAQ는 다음과 같은 문제가 발생한 경우에 적용됩니다.
- Firebase 콘솔의 페이지는 로드가 완료되지 않습니다.
- 페이지 내의 데이터가 예상대로 로드되지 않습니다.
- Firebase 콘솔을 로드할 때 브라우저 오류 메시지가 표시됩니다.
다음 문제 해결 단계를 시도해 보세요.
- 서비스 중단 가능성이 있는지 Firebase 상태 대시보드 의 콘솔 행을 확인하세요.
- 지원되는 브라우저 를 사용하고 있는지 확인하세요.
- 시크릿 또는 비공개 창에서 Firebase 콘솔을 로드해 보세요.
- 모든 브라우저 확장을 비활성화하십시오.
- 네트워크 연결이 광고 차단기, 바이러스 백신, 프록시, 방화벽 또는 기타 소프트웨어에 의해 차단되지 않았는지 확인하십시오.
- 다른 네트워크나 기기를 사용하여 Firebase 콘솔을 로드해 보세요.
- Chrome을 사용하는 경우 개발자 도구 콘솔 에서 오류 를 확인하세요.
위의 문제 해결 단계로 문제가 해결되지 않으면 Firebase 지원팀 에 문의하세요.
내 Firebase 콘솔 언어는 어떻게 결정되나요?
Firebase 콘솔의 언어 설정은 Google 계정 설정 에서 선택한 언어를 기반으로 합니다.
언어 기본 설정을 변경하려면 언어 변경 을 참조하십시오.
Firebase 콘솔은 다음 언어를 지원합니다.
- 영어
- 브라질 포르투갈어
- 프랑스 국민
- 독일 사람
- 인도네시아 인
- 일본어
- 한국인
- 러시아인
- 중국어 간체
- 스페인의
- 중국어 번체
Firebase 콘솔은 어떤 역할과 권한을 지원하나요?
Firebase Console과 Google Cloud Console은 동일한 기본 역할과 권한을 사용합니다. Firebase IAM 문서 에서 역할 및 권한에 대해 자세히 알아보세요.
Firebase는 소유자, 편집자, 뷰어의 기본(기본) 역할 을 지원합니다.
- 프로젝트 소유자 는 프로젝트에 다른 구성원을 추가하고 통합 (BigQuery 또는 Slack과 같은 서비스에 대한 프로젝트 연결)을 설정하고 프로젝트에 대한 전체 편집 액세스 권한을 가질 수 있습니다.
- 프로젝트 편집자 는 프로젝트에 대한 전체 편집 액세스 권한을 가집니다.
- 프로젝트 뷰어 는 프로젝트에 대한 읽기 권한만 가집니다. 현재 Firebase 콘솔은 프로젝트 뷰어의 편집 UI 컨트롤을 숨기거나 비활성화하지 않지만 뷰어 역할이 할당된 프로젝트 구성원의 경우 이러한 작업이 실패합니다.
Firebase는 다음도 지원합니다.
- Firebase 사전 정의된 역할 — 소유자, 편집자 및 뷰어의 기본 역할보다 더 세분화된 액세스 제어를 가능하게 하는 선별된 Firebase 관련 역할입니다.
- 사용자 지정 역할 - 조직의 특정 요구 사항을 충족하는 권한 집합을 맞춤화하기 위해 생성하는 완전히 사용자 지정된 IAM 역할입니다.
가격
어떤 상품이 지급되나요? 어떤 것이 무료인가요?
Firebase의 유료 인프라 제품은 실시간 데이터베이스, Firebase용 Cloud Storage, Cloud Functions, 호스팅, Test Lab, 전화 인증입니다. 이러한 모든 기능에 대해 무료 계층을 제공합니다.
Firebase에는 분석, 클라우드 메시징, 알림 작성기, 원격 구성, 앱 인덱싱, 동적 링크 및 오류 보고와 같은 많은 무료 제품도 있습니다. 무료 Spark 요금제를 포함하여 모든 요금제에서 이러한 제품을 무제한으로 사용할 수 있습니다. 또한 전화 인증 이외의 모든 인증 기능은 무료입니다.
Firebase는 유료 제품에 대한 무료 평가판 크레딧을 제공하나요?
Firebase 유료 서비스는 Google Cloud 무료 평가판 에서 사용할 수 있습니다. 신규 Google Cloud 및 Firebase 사용자는 $300의 무료 Cloud Billing 크레딧이 포함된 90일 평가판 기간을 활용하여 Google Cloud 및 Firebase 제품과 서비스를 살펴보고 평가할 수 있습니다.
Google Cloud 무료 평가판 기간 동안 무료 평가판 Cloud Billing 계정이 제공됩니다. 해당 결제 계정을 사용하는 모든 Firebase 프로젝트는 무료 평가판 기간 동안 Blaze 요금제를 사용하게 됩니다.
걱정하지 마세요. 이 무료 평가판 Cloud Billing 계정을 설정해도 요금이 청구되지 않습니다. 무료 평가판 Cloud Billing 계정을 유료 계정으로 업그레이드하여 명시적으로 결제를 활성화하지 않는 한 요금이 청구되지 않습니다. 평가판 기간 동안 언제든지 유료 계정으로 업그레이드할 수 있습니다. 업그레이드한 후에도 남은 크레딧을 계속 사용할 수 있습니다(90일 기간 내).
무료 평가판이 만료되면 Firebase 프로젝트를 계속 사용하려면 프로젝트를 Spark 요금제로 다운그레이드하거나 Firebase 콘솔에서 Blaze 요금제를 설정해야 합니다 .
Google Cloud 무료 평가판 에 대해 자세히 알아보세요.
나에게 적합한 요금제를 어떻게 알 수 있습니까?
스파크 요금제
Spark 플랜은 무료로 앱을 개발하기에 좋은 곳입니다. 모든 무료 Firebase 기능(Analytics, 알림 작성기, Crashlytics 등)과 충분한 양의 유료 인프라 기능을 이용할 수 있습니다. 그러나 한 달에 Spark 플랜 리소스를 초과하면 해당 월의 나머지 기간 동안 앱이 종료됩니다. 또한 Spark 요금제를 사용하는 경우 Google Cloud 기능을 사용할 수 없습니다.
블레이즈 요금제
Blaze 플랜은 프로덕션 앱용으로 설계되었습니다. Blaze 요금제를 사용하면 유료 Google Cloud 기능으로 앱을 확장할 수도 있습니다. 사용한 리소스에 대해서만 비용을 지불하면 수요에 따라 확장할 수 있습니다. 우리는 업계 최고의 클라우드 공급자와 경쟁력 있는 Blaze 요금제 가격을 만들기 위해 노력하고 있습니다.
사용량 및 청구를 모니터링하려면 어떻게 해야 합니까?
다음 대시보드에서 Firebase 콘솔의 프로젝트 리소스 사용량을 추적할 수 있습니다.
Flame 요금제는 어떻게 되었나요?
2020년 1월에 Flame 요금제($25/월 추가 할당량)가 신규 가입 옵션에서 제거되었습니다. 기존 요금제 사용자에게는 프로젝트를 Flame 요금제에서 마이그레이션할 수 있는 유예 기간이 부여되었습니다. 2022년 2월에 Flame 가격 플랜의 나머지 프로젝트는 Spark 가격 플랜으로 다운그레이드되었습니다.
따라서,
- 기존 Spark 및 Blaze 요금제 프로젝트와 새 프로젝트는 더 이상 Flame 요금제로 전환하거나 가입할 수 없습니다.
- 기존 Flame 요금제 프로젝트를 다른 요금제로 이동한 경우 해당 프로젝트를 Flame 요금제로 되돌릴 수 없습니다.
- Spark 요금제로 다운그레이드된 프로젝트는 Blaze 요금제로 업그레이드하여 추가 유료 서비스를 재개할 수 있습니다.
- Flame 계획에 대한 참조가 설명서에서 제거되었습니다.
Flame 플랜 만료에 대해 더 궁금한 점이 있습니까? 아래의 추가 FAQ 중 일부를 읽으십시오.
Firebase에서 제공하는 다른 요금제에 대해 알고 싶으신가요? Firebase 가격 책정 페이지를 방문하세요! 기존 프로젝트를 다른 요금제로 이동하려면 프로젝트의 Firebase 콘솔 에서 시작할 수 있습니다.
Flame 요금제 만료에 대한 추가 FAQ
고정 Firebase 비용에 의존하는 프로젝트나 프로세스 또는 비즈니스 모델이 있습니다. 어떻게 해야 하나요?
Blaze 요금제에 가입하고 예산 알림을 설정 하세요.
새 Flame 요금제 프로젝트를 만들 수 있는 특별한 액세스 권한을 받을 수 있나요?
아니요, Firebase는 프로젝트가 Flame 요금제로 전환하거나 가입할 수 있는 특별한 액세스 권한을 제공하지 않습니다.
내 Flame 요금제 프로젝트를 다른 요금제로 변경했습니다. 어떻게 다시 바꾸나요?
더 이상 Flame 요금제로 전환할 수 없습니다. Flame 요금제에서 제공하는 서비스에 액세스하려면 Blaze 요금제를 사용하고 있는지 확인하고 프로젝트에 대한 예산 알림 설정을 고려하세요.
내 프로젝트는 Flame 요금제 만료의 일환으로 다른 요금제로 자동 전환되었습니다. 어떻게 해야 하나요?
프로젝트에 Spark 요금제와 함께 제공되는 것보다 추가 할당량이 필요한 경우 프로젝트를 Blaze 요금제로 업그레이드해야 합니다.
Flame 요금제가 중단되는 이유는 무엇인가요?
수년에 걸쳐 Flame 요금제의 사용량이 감소했으며 요금제를 사용하는 대부분의 프로젝트에서 전체 가치를 사용하지 않고 있습니다. 이 요금제를 유지하는 것은 일반적으로 비용 효율적이지 않으며 리소스가 다른 Firebase 이니셔티브에 사용된다면 모든 사람에게 더 나은 서비스를 제공할 수 있다고 생각합니다.
Blaze 플랜의 무료 사용량은 Spark 플랜의 무료 사용량과 어떻게 다릅니까?
Blaze 요금제의 무료 사용량은 매일 계산됩니다. 사용량 한도는 Cloud Functions, 전화 인증 및 Test Lab용 Spark 요금제와도 다릅니다.
Cloud Functions의 경우 Blaze 요금제의 무료 사용량은 프로젝트 수준이 아닌 Cloud Billing 계정 수준에서 계산되며 다음과 같은 한도가 있습니다.
- 2M 호출/월
- 400K GB-초/월
- 200K CPU-초/월
- 5GB의 네트워킹 이그레스/월
전화 인증의 경우 Blaze 요금제의 무료 사용량이 매월 계산됩니다.
Test Lab의 경우 Blaze 요금제의 무료 사용에는 다음과 같은 한도가 있습니다.
- 30 물리적 장치 분/일
- 60 가상 장치 분/일
Spark에서 Blaze 요금제로 변경하면 무료 사용 할당량이 재설정되나요?
Blaze 요금제에는 Spark 요금제의 무료 사용량이 포함되어 있습니다. Blaze 요금제로 전환해도 무료 사용량은 재설정되지 않습니다.
"동시 데이터베이스 연결"이란 무엇입니까?
동시 연결은 데이터베이스에 연결된 하나의 모바일 장치, 브라우저 탭 또는 서버 앱과 동일합니다. Firebase는 앱 데이터베이스에 대한 동시 연결 수에 엄격한 제한을 적용합니다. 이러한 제한은 Firebase와 Google 사용자 모두를 남용으로부터 보호하기 위해 마련되었습니다.
Spark 플랜 한도는 100개이며 늘릴 수 없습니다. Flame 및 Blaze 요금제는 데이터베이스당 200,000개의 동시 연결로 제한됩니다.
모든 사용자가 한 번에 연결하지 않기 때문에 이 제한은 앱의 총 사용자 수와 동일하지 않습니다. 200,000개 이상의 동시 연결이 필요한 경우 Scale with Multiple Databases 를 참조하십시오.
실시간 데이터베이스에 대한 Spark 플랜 스토리지 또는 다운로드 제한을 초과하면 어떻게 됩니까?
예측 가능한 가격을 제공하기 위해 Spark 요금제에서 사용할 수 있는 리소스에는 제한이 있습니다. 즉, 어떤 달에 계획 한도를 초과하면 추가 리소스 사용 및 추가 요금을 방지하기 위해 앱이 꺼집니다.
실시간 데이터베이스에 대한 Spark 계획 동시 연결 제한을 초과하면 어떻게 됩니까?
앱이 Spark 계획의 동시성 제한에 도달하면 기존 연결 중 일부가 닫힐 때까지 모든 후속 연결이 거부됩니다. 앱은 연결된 사용자를 위해 계속 작동합니다.
Cloud Storage에 대한 Spark 요금제 업로드, 다운로드 또는 스토리지 제한을 초과하면 어떻게 됩니까?
Spark 요금제의 프로젝트에서 Cloud Storage 한도를 초과하면 초과한 한도 유형에 따라 결과가 달라집니다.
- GB 저장 한도를 초과하면 저장된 데이터 중 일부를 제거하거나 더 많은 저장 공간 또는 무제한 저장 공간을 제공하는 계획으로 업그레이드하지 않는 한 해당 프로젝트에 더 이상 데이터를 저장할 수 없습니다.
- GB 다운로드 한도를 초과하면 제한이 덜하거나 제한이 없는 플랜으로 업그레이드하지 않는 한 다음 날(미국 태평양 표준시 자정부터 시작)까지 앱에서 더 많은 데이터를 다운로드할 수 없습니다.
- 업로드 또는 다운로드 작업 제한을 초과하는 경우 제한이 덜한 계획으로 업그레이드하거나 제한이 없는 계획으로 업그레이드하지 않는 한 다음 날(미국 태평양 표준시 자정부터 시작)까지 앱에서 더 많은 데이터를 업로드하거나 다운로드할 수 없습니다. 제한.
Firebase와 Google Cloud의 통합은 어떻게 작동하나요?
Firebase는 Google Cloud 와 긴밀하게 통합되어 있습니다. 프로젝트는 Firebase와 Google Cloud 간에 공유되므로 프로젝트에 Firebase 서비스와 Google Cloud 서비스를 사용할 수 있습니다. Firebase Console 또는 Google Cloud Console에서 동일한 프로젝트에 액세스할 수 있습니다. 구체적으로:
- Firebase용 Cloud Storage와 같은 특정 Firebase 제품은 Google Cloud에서 직접 지원합니다. Google Cloud에서 지원하는 제품 목록은 시간이 지남에 따라 계속 늘어날 것입니다.
- 공동작업자 및 결제 정보를 비롯한 많은 설정이 Firebase와 Google Cloud에서 공유됩니다. Firebase와 Google Cloud의 사용량이 동일한 청구서에 표시됩니다.
또한 Blaze 요금제로 업그레이드하면 표준 Google Cloud 가격 으로 Firebase 프로젝트 내에서 Google Cloud의 세계적 수준의 IaaS(Infrastructure-as-a-Service) 및 API를 직접 사용할 수 있습니다. 분석을 위해 Google Cloud에서 BigQuery로 직접 데이터를 내보낼 수도 있습니다. 자세히 알아보려면 BigQuery와 Firebase 연결을 참조하세요.
함께 배치되지 않은 다른 클라우드 서비스에 비해 Google Cloud를 Firebase와 함께 사용하면 많은 보안 강화, 지연 시간 개선, 시간 절약 이점이 있습니다. 자세한 내용은 Google Cloud 사이트 를 확인하세요.
Google Cloud Console에서 해당 프로젝트의 결제 계정을 추가하거나 삭제하면 내 Firebase 프로젝트는 어떻게 되나요?
Cloud Billing 계정이 Google Cloud Console의 프로젝트에 추가되면 해당 프로젝트가 현재 Spark 요금제에 있는 경우 동일한 프로젝트가 자동으로 Firebase Blaze 요금제로 업그레이드됩니다.
반대로 기존 활성 Cloud Billing 계정이 Google Cloud Console의 프로젝트에서 제거되면 해당 프로젝트는 Firebase Spark 요금제로 다운그레이드됩니다.
언제든지 업그레이드, 다운그레이드 또는 취소할 수 있습니까?
예, 언제든지 업그레이드, 다운그레이드 또는 취소할 수 있습니다. 다운그레이드 또는 취소에 대해서는 일할 계산된 환불을 제공하지 않습니다. 즉, 청구 기간이 끝나기 전에 다운그레이드하거나 취소해도 남은 달에 대한 요금은 계속 지불됩니다.
어떤 종류의 지원을 받게 됩니까?
무료 요금제를 사용하는 앱을 포함한 모든 Firebase 앱에는 미국 태평양 업무 시간 동안 Firebase 직원의 이메일 지원이 제공됩니다. All accounts have unlimited support for billing-related issues, account-related issues, technical (troubleshooting) questions, and incident reports.
Can I cap usage on the Blaze plan?
No, you cannot currently cap your Blaze plan usage. We are evaluating options for supporting caps on Blaze plan usage.
Blaze users can define a budget for their project or account, and receive alerts as their spending approaches those limits. Learn how to set up budget alerts .
What are automated backups? Do you offer hourly backups?
Automated backups are an advanced feature for customers on our Blaze pricing plan that backs up your Firebase Realtime Database data once a day and uploads it to Google Cloud Storage .
We do not offer hourly backups.
Do you offer open-source, nonprofit, or educational discounts?
Our Spark plan can be used by any type of individual or organization, including nonprofits, schools, and open-source projects. Since these plans already include generous quotas, we don't offer any special discounts or plans for open-source, nonprofit, or educational projects.
Do you offer enterprise contracts, pricing, support, or dedicated infrastructure hosting?
Our Blaze plan is suitable for enterprises of all sizes, and our SLA meets or exceeds the industry standard for cloud infrastructure. However, we do not currently offer enterprise contracts, pricing, or support, nor do we offer dedicated infrastructure hosting (that is, on-premises installations) for services like our Realtime Database. We are hard at work adding some of these features.
Do you offer ad-hoc pricing? I only want pay-as-you-go for one or two features.
We offer ad-hoc pricing in the Blaze plan, where you pay only for the features you use.
How do the paid Firebase plans work with Ads? Are there no-cost advertising credits with paid plans?
The Firebase pricing plans are separate from Ads, so there are no advertising credits without cost. As a Firebase developer, you are able to "link" your Ads account to Firebase to support conversion tracking.
All ads campaigns are managed directly in Ads, and Ads billing is managed from the Ads console.
Cloud Functions pricing
Why do I need a billing account to use Cloud Functions for Firebase?
Cloud Functions for Firebase relies on some paid Google services. New function deployments with Firebase CLI 11.2.0 and higher rely on Cloud Build and Artifact Registry . Deployments to older versions use Cloud Build in the same way, but rely on Container Registry and Cloud Storage for storage instead of Artifact Registry. Usage of these services will be billed in addition to existing pricing.
Storage space for Firebase CLI 11.2.0 and newer versions
Artifact Registry provides the containers in which functions run. Artifact Registry provides the first 500MB at no cost, so your first function deployments may not incur any fees. Above that threshold, each additional GB of storage is billed at $0.10 per month.
Storage space for Firebase CLI 11.1.x and prior versions
For functions deployed to older versions, Container Registry , provides the containers in which functions run. You'll be billed for each container required to deploy a function. You may notice small charges for each container stored—for example, 1GB of storage is billed at $0.026 per month .
To understand more about how your bill might change, please review the following
- Cloud Functions pricing : existing no-cost tier is unchanged.
- Cloud Build pricing: Cloud Build provides for a no-cost tier.
- Artifact Registry pricing .
- Container Registry pricing .
Does Cloud Functions for Firebase still have no-cost usage?
Yes. On the Blaze plan, Cloud Functions provides a no-cost tier for invocations, compute time, and internet traffic. The first 2,000,000 invocations, 400,000 GB-sec, 200,000 CPU-sec, and 5 GB of Internet egress traffic is provided at no cost each month. You'll be charged only for usage above those thresholds.
After the first 500MB of no-cost storage, each deployment operation will incur small-scale charges for the storage space used for the function's container. If your development process depends on deploying functions for testing, you can further minimize costs by using the Firebase Local Emulator Suite during development.
See Firebase Pricing plans and the Cloud Functions Pricing example scenarios.
Is Firebase planning to raise the quotas and limits for Cloud Functions for Firebase?
No. There are no plans to change the quotas except for the removal of a maximum build time limit; instead of receiving errors or warnings when the daily build quota of 120 minutes is reached, you'll be billed under the terms of the Blaze pricing plan. See Quotas and limits .
Can I get the Google Cloud $300 credit?
Yes, you can create a Cloud Billing account in the Google Cloud Console to get the $300 credit, then link that Cloud Billing account to a Firebase project.
More about the Google Cloud credit here .
Note that if you do this, you have to then set up the Blaze pricing plan in the Firebase console in order for your project to continue working after the $300 credit is exhausted.
I want to follow a codelab to learn about Firebase. Can you give me a temporary billing account?
No, sorry. You can use the Firebase emulator for development without having a Cloud Billing account. Alternatively, try applying for a Google Cloud free trial . If you're still having trouble paying your bill because of this change, contact Firebase Support.
I'm worried I'm going to rack up a huge bill.
You can set up budget alerts in the Google Cloud Console to help control costs. Also, you can set limits on the number of billed instances created for each of your functions. To get an idea of costing for typical scenarios, see the Cloud Functions Pricing examples.
How can I check my current billing charges?
View the Usage and billing dashboard in the Firebase console.
I use Firebase Extensions. Do I need a billing account?
Yes. Since extensions use Cloud Functions , extensions will be subject to the same charges as other functions.
To use extensions, you will need to upgrade to the Blaze pricing plan. You will be charged a small amount (typically around $0.01 per month for the Firebase resources required by each extension you install (even if they are not used), in addition to any charges associated with your use of Firebase services.
Privacy
Where can I find information about privacy and security in Firebase?
Check out the page Privacy and Security in Firebase .
Do the Firebase SDKs log any usage/diagnostic information outside of Analytics?
Yes. This is currently iOS-only, but may change in the future. The Firebase Apple platforms SDK includes the FirebaseCoreDiagnostics
framework by default. This framework is used by Firebase to collect SDK usage and diagnostics information to help prioritize future product enhancements. FirebaseCoreDiagnostics
is optional, so if you would like to opt out of sending Firebase diagnostic logs, you can do so by unlinking the library from your application. You can browse the full source, including logged values, on GitHub
A/B Testing
A/B Testing: How many experiments can I create and run?
You are allowed up to 300 experiments per project, which could consist of up to 24 running experiments, with the rest as draft or completed.
A/B Testing: Why can't I view my experiments after unlinking and re-linking my project to Google Analytics?
Linking to a different Google Analytics property will cause you to lose access to experiments created beforehand. To regain access to a previous experiment, re-link your project to the Google Analytics property that was linked when the experiment was created.
AdMob
AdMob: Can I link my Windows apps to Firebase?
No, Windows apps are not currently supported.
AdMob: Why can't I link my app to AdMob from the Firebase console?
You can link an AdMob app to a Firebase app via the AdMob console. Learn how.
AdMob: What permissions or access do I need to link a Firebase app to an AdMob app?
In order to do this linking, you need the following access:
- AdMob : You need to be an AdMob admin.
- Firebase : You must have the
firebase.links.create
permission, which is included in the Owner role and the Firebase Admin role . - Google Analytics : You must have the Edit role or Manage Users role for the property associated with the Firebase project. Learn more.
AdMob: Can multiple users in the same AdMob account link AdMob apps and Firebase apps?
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.
AdMob: To use AdMob, should I use the Firebase SDK for AdMob or the Google Mobile Ads SDK?
- For iOS projects , use the Google Mobile Ads SDK:
pod 'Google-Mobile-Ads-SDK'
- For Android projects , use the Google Mobile Ads SDK:
implementation 'com.google.android.gms:play-services-ads:21.4.0'
Note that the Firebase Android SDKs for AdMob transitively include the Firebase SDK for Google Analytics. So, if your app calls any Google Analytics APIs and you switch to using the Google Mobile Ads SDK, make sure that you explicitly add the dependency for the Firebase SDK for Google Analytics (
) to your app'scom.google.firebase:firebase-analytics build.gradle
file. - For C++ projects and Unity projects , follow the instructions in the respective documentation.
Analytics
Analytics: Why is Google Analytics a recommended part of using Firebase products?
Google Analytics is a free and unlimited analytics solution that works with Firebase features to deliver powerful insights. It enables you to view event logs in Crashlytics, notification effectiveness in FCM, deep link performance for Dynamic Links, and in-app purchase data from Google Play. It powers advanced audience targeting in Remote Config, Remote Config personalization, and more.
Google Analytics acts as a layer of intelligence in the Firebase console to provide you with more actionable insights about how to develop a high quality app, grow your user base, and earn more money.
To get started, read the documentation .
Analytics: How do I control how my Analytics data is shared with the rest of Firebase?
By default, your Google Analytics data is used to enhance other Firebase and Google features. You can control how your Google Analytics data is shared in your project settings anytime. Learn more about Data sharing settings .
Analytics in my iOS app: Can I install Analytics without ad attribution and IDFA collection features?
Yes. See the Configure Data Collection and Usage page for more details.
Analytics: Why don't I see any data after unlinking my app from Google Analytics?
Your analytics data resides within the Google Analytics property - not within the Firebase project. If you delete or unlink the property, then your data is unlinked from your project as well. The data still resides in that property, however, and you can always relink it to your project.
Creating a new Google Analytics account (and new property) will result in having a blank analytics dashboard in the Firebase console.
Analytics: How do I segment users who have not met some criterion?
You can reframe the problem by "negatively targeting" these users. For example, reframe the problem as "Don't show ads to people who have bought something", and form an audience of those users to target.
Analytics: Are audiences and/or events defined in the Google Analytics interface also available in the Firebase console?
Your audiences and user properties will be synced. For some features, you'll need to use the Google Analytics interface, such as segmentation and closed funnels. You can access the Google Analytics interface directly via deep-links from the Firebase console.
Any changes you make from the Firebase console can also be performed in Google Analytics, and those changes will be reflected in Firebase.
Analytics: What changed in the Google Analytics section with the October 2021 update?
You can find a summary of these changes in the Firebase Help Center article New Google Analytics 4 functionality in Google Analytics for Firebase .
Upgrading your Analytics property
Analytics: What is the new fully upgraded Google Analytics account?
You can read more about the new Google Analytics upgrade in our blog post .
Analytics: How do I know if I'm using Google Analytics for Firebase or a fully upgraded Google Analytics account?
If you see a link to "View your data in Google Analytics" from the analytics dashboard in the Firebase console, then your project is using a fully upgraded Google Analytics account.
You can also check by viewing the Google Analytics card in the Firebase console (you can access this from settings > Project Settings > Integrations , then click Manage ). If you see a Linked Google Analytics account listed in the Your Google Analytics property section, your project is using the full Google Analytics experience in Firebase. If you do not see a Linked Google Analytics account , your project is using Google Analytics for Firebase.
Analytics: When must I upgrade my Google Analytics for Firebase property to retain service?
Any Firebase project created before July 31, 2019 must be upgraded to the full Google Analytics 4 experience if it hasn't already. (Banners display in the Analytics dashboard if an upgrade is required.) The associated Terms of Service must be accepted by February 15, 2022 to ensure data collection continues and by March 15, 2022 to prevent the deletion of the Analytics property and its data. If you no longer want to use Google Analytics and the associated data, no action is required and the property will be deleted on March 15, 2022.
Failure to accept the new Google Analytics Terms of Service will disrupt Firebase features, including Crash-Free Users (Crashlytics), targeted Configurations and Remote Config personalization, A/B Testing features, Targeting and Campaign Metrics (Cloud Messaging). It will also disrupt Google Analytics for Firebase Integrations , including Exporting project data to BigQuery , Google Ads Integrations , and AdMob Integrations .
If you have questions about accessing your Firebase project, including finding or assigning an Owner, review the Permissions and access to Firebase projects FAQs .
Analytics: What will happen to my data when I upgrade to the new Google Analytics for Firebase?
This will not affect your existing Firebase project analytics data in the Firebase console.
You will be able to continue using the same dashboard and workflows you are using today, and you will also have access to some advanced features in Google Analytics.
Note that if you decide to enable cross-device reporting after making the upgrade, your data will be de-duplicated using the UserID. This may decrease some user counts in the Firebase console.
Analytics: Why do I get an error when trying to upgrade my project to the new Google Analytics experience?
If you are experiencing an error when upgrading, such as:
The operation has failed (Reason: Requested entity already exists)
or
The operation has failed (Reason: Precondition check failed)
This means that there is an association between your project and an already existing Google Analytics property. You can unlink the property, delete it, or upgrade through the Google Analytics interface.
If this is still an issue, you can use the REST API to unlink by using the removeAnalytics
method , then use the addGoogleAnalytics
method to link a new property.
You can then move the data from one property to another .
Authentication
Firebase Authentication: Which countries are supported for phone authentication?
Firebase Authentication supports phone number verification across the the world, but not all networks reliably deliver our verification messages. The following countries have good rates of delivery, and should be expected to work well for phone number sign in.
Country | Code |
---|---|
AD | Andorra |
AE | United Arab Emirates |
AF | Afghanistan |
AG | Antigua and Barbuda |
AL | Albania |
AM | Armenia |
AO | Angola |
AR | Argentina |
AS | American Samoa |
AT | Austria |
AU | Australia |
AW | Aruba |
AZ | Azerbaijan |
BA | Bosnia and Herzegovina |
BB | Barbados |
BD | Bangladesh |
BE | Belgium |
BF | Burkina Faso |
BG | Bulgaria |
BJ | Benin |
BM | Bermuda |
BN | Brunei Darussalam |
BO | Bolivia |
BR | Brazil |
BS | Bahamas |
BT | Bhutan |
BW | Botswana |
BY | Belarus |
BZ | Belize |
CA | Canada |
CD | Congo, (Kinshasa) |
CF | Central African Republic |
CG | Congo (Brazzaville) |
CH | Switzerland |
CI | Côte d'Ivoire |
CK | Cook Islands |
CL | Chile |
CM | Cameroon |
CO | Colombia |
CR | Costa Rica |
CV | Cape Verde |
CW | Curaçao |
CY | Cyprus |
CZ | Czech Republic |
DE | Germany |
DJ | Djibouti |
DK | Denmark |
DM | Dominica |
DO | Dominican Republic |
DZ | Algeria |
EC | Ecuador |
EG | Egypt |
ES | Spain |
ET | Ethiopia |
FI | Finland |
FJ | Fiji |
FK | Falkland Islands (Malvinas) |
FM | Micronesia, Federated States of |
FO | Faroe Islands |
FR | France |
GA | Gabon |
GB | United Kingdom |
GD | Grenada |
GE | Georgia |
GF | French Guiana |
GG | Guernsey |
GH | Ghana |
GI | Gibraltar |
GL | Greenland |
GM | Gambia |
GP | Guadeloupe |
GQ | Equatorial Guinea |
GR | Greece |
GT | Guatemala |
GY | Guyana |
HK | Hong Kong, SAR China |
HN | Honduras |
HR | Croatia |
HT | Haiti |
HU | Hungary |
ID | Indonesia |
IE | Ireland |
IL | Israel |
IM | Isle of Man |
IN | India |
IQ | Iraq |
IT | Italy |
JE | Jersey |
JM | Jamaica |
JO | Jordan |
JP | Japan |
KE | Kenya |
KG | Kyrgyzstan |
KH | Cambodia |
KM | Comoros |
KN | Saint Kitts and Nevis |
KR | Korea (South) |
KW | Kuwait |
KY | Cayman Islands |
KZ | Kazakhstan |
LA | Lao PDR |
LB | Lebanon |
LC | Saint Lucia |
LI | Liechtenstein |
LK | Sri Lanka |
LS | Lesotho |
LT | Lithuania |
LU | Luxembourg |
LV | Latvia |
LY | Libya |
MA | Morocco |
MD | Moldova |
ME | Montenegro |
MF | Saint-Martin (French part) |
MG | Madagascar |
MK | Macedonia, Republic of |
MM | Myanmar |
MN | Mongolia |
MO | Macao, SAR China |
MS | Montserrat |
MT | Malta |
MU | Mauritius |
MW | Malawi |
MX | Mexico |
MY | Malaysia |
MZ | Mozambique |
NA | Namibia |
NC | New Caledonia |
NE | Niger |
NF | Norfolk Island |
NG | Nigeria |
NI | Nicaragua |
NL | Netherlands |
NO | Norway |
NP | Nepal |
NZ | New Zealand |
OM | Oman |
PA | Panama |
PE | Peru |
PG | Papua New Guinea |
PH | Philippines |
PK | Pakistan |
PL | Poland |
PM | Saint Pierre and Miquelon |
PR | Puerto Rico |
PS | Palestinian Territory |
PT | Portugal |
PY | Paraguay |
QA | Qatar |
RE | Réunion |
RO | Romania |
RS | Serbia |
RU | Russian Federation |
RW | Rwanda |
SA | Saudi Arabia |
SC | Seychelles |
SE | Sweden |
SG | Singapore |
SH | Saint Helena |
SI | Slovenia |
SK | Slovakia |
SL | Sierra Leone |
SN | Senegal |
SR | Suriname |
ST | Sao Tome and Principe |
SV | El Salvador |
SZ | Swaziland |
TC | Turks and Caicos Islands |
TG | Togo |
TH | Thailand |
TL | Timor-Leste |
TM | Turkmenistan |
TO | Tonga |
TR | Turkey |
TT | Trinidad and Tobago |
TW | Taiwan, Republic of China |
TZ | Tanzania, United Republic of |
UA | Ukraine |
UG | Uganda |
US | United States of America |
UY | Uruguay |
UZ | Uzbekistan |
VC | Saint Vincent and Grenadines |
VE | Venezuela (Bolivarian Republic) |
VG | British Virgin Islands |
VI | Virgin Islands, US |
VN | Viet Nam |
WS | Samoa |
YE | Yemen |
YT | Mayotte |
ZA | South Africa |
ZM | Zambia |
ZW | Zimbabwe |
Cloud Functions
Cloud Functions runtime support
How do I upgrade to the latest supported version of Node.js?
- 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.
How can I make sure I deployed my functions to a specfic Node.js runtime?
In the Firebase console, go to the functions dashboard , select a function, and check the function's language under Additional details .
I use Firebase Extensions. Will I be affected by Cloud Functions runtime updates?
Yes. Since extensions use Cloud Functions , the runtime of your extensions will need to be updated on the same timeline as Cloud Functions.
We recommend that you periodically update to the latest version of each extension installed in your project. You can upgrade your projects' extensions via the Firebase console or Firebase CLI .
Cloud Messaging
Cloud Messaging: What's the difference between the Notifications composer and Cloud Messaging?
Firebase Cloud Messaging provides a complete set of messaging capabilities through its client SDKs and HTTP and XMPP server protocols. For deployments with more complex messaging requirements, FCM is the right choice.
The Notifications composer is a lightweight, serverless messaging solution built on Firebase Cloud Messaging. With a user-friendly graphical console and reduced coding requirements, the Notifications composer lets users easily send messages to reengage and retain users, foster app growth, and support marketing campaigns.
Capabilities | Notifications composer | Cloud Messaging | |
---|---|---|---|
Target | Single device | ||
Clients subscribed to topics (ie weather) | |||
Clients in predefined user segment (app, version, language) | |||
Clients in specified analytics audiences | |||
Clients in device groups | |||
Upstream from client to server | |||
Message Type | Notifications up to 2kb | ||
Data messages up to 4kb | |||
Delivery | Immediate | ||
Future client device local time | |||
Analytics | Built-in Notifications analytics collection and funnel analytics |
Cloud Messaging: Apple announced they're deprecating the legacy binary protocol for APNs. Do I need to do anything?
No. Firebase Cloud Messaging switched to the HTTP/2-based APNs protocol in 2017. If you are using FCM to send notifications to iOS devices, there should be no action required on your part.
Cloud Messaging: Do I need to use other Firebase services in order to use FCM?
You can use Firebase Cloud Messaging as a standalone component, in the same manner as you did with GCM, without using other Firebase services.
Cloud Messaging: I am an existing Google Cloud Messaging (GCM) developer. Should I move to Firebase Cloud Messaging?
FCM is the new version of GCM under the Firebase brand. It inherits GCM's core infrastructure, with new SDKs to make Cloud Messaging development easier.
Benefits of upgrading to FCM SDK include:
- Simpler client development. You no longer have to write your own registration or subscription retry logic.
- An out-of-the-box notification solution. You can use the Notifications composer, a serverless notifications solution with a web console that lets anyone send notifications to target specific audiences based on insights from Google Analytics for Firebase.
To upgrade from GCM SDKs to FCM SDKs, see the guides for migrating Android and iOS apps.
Cloud Messaging: Why do my targeted devices apparently fail to receive messages?
When it looks like devices haven't successfully received messages, check first for these two potential causes:
Foreground message handling for notification messages . Client apps need to add message handling logic to handle notification messages when the app is in the foreground on the device. See the details for iOS and Android .
Network firewall restrictions . If your organization has a firewall that restricts the traffic to or from the Internet, you need to configure it to allow connectivity with FCM in order for your Firebase Cloud Messaging client apps to receive messages. The ports to open are:
- 5228
- 5229
- 5230
FCM usually uses 5228, but it sometimes uses 5229 and 5230. FCM does not provide specific IPs, so you should allow your firewall to accept outgoing connections to all IP addresses contained in the IP blocks listed in Google's ASN of 15169 .
Cloud Messaging: I have implemented onMessageReceived
in my Android app, but it is not being called.
When your app is in the background, notification messages are displayed in the system tray, and onMessageReceived
is not called. For notification messages with a data payload, the notification message is displayed in the system tray, and the data that was included with the notification message can be retrieved from the intent launched when the user taps on the notification.
For more information, see Receive and handle messages .
Notifications composer: What's the difference between the Notifications composer and Cloud Messaging?
The Notifications composer is a lightweight, serverless messaging solution built on Firebase Cloud Messaging. With a user-friendly graphical console and reduced coding requirements, the Notifications composer lets users easily send messages to reengage and retain users, foster app growth, and support marketing campaigns.
Firebase Cloud Messaging provides a complete set of messaging capabilities through its client SDKs and HTTP and XMPP server protocols. For deployments with more complex messaging requirements, FCM is the right choice.
Here's a comparison of the messaging capabilities provided by Firebase Cloud Messaging and the Notifications composer:
Capabilities | Notifications composer | Cloud Messaging | |
---|---|---|---|
Target | Single device | ||
Clients subscribed to topics (ie weather) | |||
Clients in predefined user segment (app, version, language) | |||
Clients in specified analytics audiences | |||
Clients in device groups | |||
Upstream from client to server | |||
Message Type | Notifications up to 2kb | ||
Data messages up to 4kb | |||
Delivery | Immediate | ||
Future client device local time | |||
Analytics | Built-in Notifications analytics collection and funnel analytics |
Notifications composer: I am an existing Google Cloud Messaging (GCM) developer, and I want to use the Notifications composer. What should I do?
The Notifications composer is an out-of-the-box solution that lets anyone send notifications to target specific audiences based on insights from Google Analytics for Firebase. Also, the Notifications composer provides funnel analysis for every message, allowing easy evaluation of notification effectiveness.
If you are an existing GCM developer, to use the Notifications composer you have to upgrade from GCM SDKs to FCM SDKs. See the guides for migrating Android and iOS apps.
Cloud Storage for Firebase
Cloud Storage for Firebase: Why can't I use Cloud Storage for Firebase?
Cloud Storage for Firebase creates a default bucket in the App Engine no-cost tier. This allows you to quickly get up and running with Firebase and Cloud Storage for Firebase, without having to put in a credit card or enable a Cloud Billing account. It also allows you to easily share data between Firebase and a Google Cloud project.
There are, however, two known cases where this bucket cannot be created and you will be unable to use Cloud Storage for Firebase:
- A project imported from Google Cloud which had a App Engine Master/Slave Datastore application.
- A project imported from Google Cloud which has domain prefixed projects. For example:
domain.com:project-1234
.
There are currently no workarounds to these issues, and we recommend that you create a new project in the Firebase console and enable Cloud Storage for Firebase in that project.
Cloud Storage for Firebase: Why do I get error code 412 responses about service account permissions and failed service account operations when using the Cloud Storage for Firebase API?
It's likely you're getting 412 error codes either because the Cloud Storage for Firebase API is not enabled for your project or a necessary service account is missing the required permissions.
See the related FAQ .
Cloud Storage for Firebase: Why do I see new service account IDs associated with my Firebase projects that use Cloud Storage for Firebase?
Firebase uses service accounts to operate and manage services without sharing user credentials. When you create a Firebase project, you might notice that a number of service accounts are already available in your project.
The service account that Cloud Storage for Firebase uses is scoped to your project and is named
service- PROJECT_NUMBER @gcp-sa-firebasestorage.iam.gserviceaccount.com
.
If you used Cloud Storage for Firebase before September 19, 2022, you may see an additional service account on previously-linked Cloud Storage buckets named firebase-storage@system.gserviceaccount.com
. As of September 19, 2022, this service account is no longer supported.
You can view all service accounts associated with your project in the Firebase console, on the Service accounts tab .
Adding the new service account
If you removed the service account previously or the service account is not present in your project, you may do one of the following to add the account.
- (Recommended) Automated: Use the AddFirebase REST endpoint to re-import your bucket into Firebase. You will only need to call this endpoint once, not once for each linked bucket.
- Manual: Follow the steps in Creating and managing service accounts . Following that guide, add a service account with the IAM role
Cloud Storage for Firebase Service Agent
, and service account name
service- PROJECT_NUMBER @gcp-sa-firebasestorage.iam.gserviceaccount.com
.
Removing the new service account
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 .
Crashlytics
Visit the Crashlytics troubleshooting & FAQ page for helpful tips and answers to more FAQs.
Dynamic Links
Dynamic Links: Why does my Android app access each Dynamic Link twice?
The getInvitation
API clears the saved Dynamic Link to prevent it from being accessed twice. Be sure to call this API with the autoLaunchDeepLink
parameter set to false
in each of the deep link activities to clear it for the case when the activity is triggered outside the main activity.
Firebase Local Emulator Suite
Why do Emulator Suite logs show an error starting with "Multiple projectIds are not recommended in single project mode"?
This message means the Emulator Suite has detected it may be running a particular product emulator using different project IDs. This may indicate a misconfiguration, and can cause issues when emulators try to communicate with one another, and when you try to interact with emulators from your code. If project IDs don't match, it often appears that data is missing, since data stored in emulators is keyed to projectID, and interoperability depends on matching project IDs.
This has been a common source of confusion among developers, so by default the Local Emulator Suite will now only allow running with a single project ID, unless you specify otherwise in the firebase.json
configuration file. If an emulator detects more than one project ID, it will log a warning and potentially throw a fatal error.
Check your project ID declaration(s) for mismatches in:
- The default project set at the command line. By default, the project ID will be taken on startup from the project selected with
firebase init
orfirebase use
. To view the list of projects (and see which one is selected) usefirebase projects:list
. - Unit tests. The project ID is often specified in calls to the Rules Unit Testing library methods
initializeTestEnvironment
orinitializeTestApp
. Other testing code may initialize withinitializeApp(config)
. - The command line
--project
flag. Passing the Firebase CLI--project
flag overrides the default project. You'll need to ensure the value of the flag matches the project ID in unit tests and app initialization.
Platform-specific places to check:
Web | The projectId property in your JavaScript firebaseConfig object, used in initializeApp . |
Android | The project_id property inside the google-services.json configuration file. |
Apple platforms | The PROJECT_ID property in the GoogleService-Info.plist configuration file. |
To disable single project mode, update firebase.json
with the singleProjectMode
key:
{ "firestore": { ... }, "functions": { ... }, "hosting": { ... }, "emulators": { "singleProjectMode": false, "auth": { "port": 9099 }, "functions": { "port": 5001 }, ... } }
Hosting
Hosting: Why does my Hosting release history table in the Firebase console show file counts that are more than what my local project actually has?
Firebase automatically adds extra files containing metadata about the Hosting site, and these files are included in the total file count for the release.
Hosting: What's the largest file size that I can deploy to Firebase Hosting?
Hosting has a maximum size limit of 2 GB for individual files.
We recommend storing larger files using Cloud Storage , which offers a maximum size limit in the terabyte range for individual objects.
Hosting: How many Hosting sites can I have per Firebase project?
The Firebase Hosting multisite feature supports a maximum of 36 sites per project.
Performance Monitoring
Visit the Performance Monitoring troubleshooting & FAQ page for helpful tips and answers to more FAQs.
Performance Monitoring: How many custom URL patterns can I create?
You can create up to 400 total custom URL patterns per app and up to 100 custom URL patterns per domain for that app.
Performance Monitoring: Why am I not seeing real time display of performance data?
To view real time performance data, make sure that your app uses a Performance Monitoring SDK version that's compatible with real time data processing.
- iOS — v7.3.0 or later
- tvOS — v8.9.0 or later
- Android — v19.0.10 or later (or Firebase Android BoM v26.1.0 or later)
- Web — v7.14.0 or later
Note that we always recommend using the latest version of SDK, but any version listed above will enable Performance Monitoring to process your data in near real time.
Realtime Database
Realtime Database: Why was my Realtime Database reported bandwidth lower than average between September 2016 and March 2017?
For our bandwidth calculations, we normally include SSL encryption overhead (based on layer 5 of the OSI model). However, in September 2016, we introduced a bug that caused our bandwidth reporting to ignore encryption overhead. This might have resulted in artificially low reported bandwidth and bills on your account for a few months.
We released a fix for the bug in late March 2017, returning bandwidth reporting and billing to their normal levels.
Realtime Database: What are the scaling limitations of the Realtime Database?
Each Realtime Database instance has limits on the number of write operations per second. For small writes, this limit is approximately 1000 write operations per second. If you are approaching this limit, batching operations using multi-path updates can help you achieve higher throughput.
In addition, each database instance has a cap on the number of simultaneous database connections . Our default limits are large enough for most applications. If you are building an app that requires additional scale, you may need to shard your application across multiple database instances for added scale. You may also consider Cloud Firestore as an alternative database.
Realtime Database: What can I do if I'm over my Realtime Database usage limits?
If you've received an email alert or notification in the Firebase console that you've exceeded your Realtime Database usage limits, you can address it based on the usage limit you've exceeded. To see your Realtime Database usage, go to the Realtime Database Usage dashboard in the Firebase console.
If you're over your download limit, you can upgrade your Firebase pricing plan or wait until your download limit resets at the start of your next billing cycle. To decrease your downloads, try the following steps:
- Add queries to limit the data that your listen operations return.
- Check for unindexed queries.
- Use listeners that only download updates to data — for example,
on()
instead ofonce()
. - Use security rules to block unauthorized downloads.
If you're over your storage limit, upgrade your pricing plan to avoid service disruptions. To reduce the amount of data in your database, try the following steps:
- Run periodic cleanup jobs.
- Reduce any duplicate data in your database.
Note that it may take some time to see any data deletions reflected in your storage allotment.
If you're over your simultaneous database connections limit, upgrade your plan to avoid any service disruptions. To manage simultaneous connections to your database, try connecting via users via the REST API if they don't require a realtime connection.
Remote Config
Remote Config: Why don't fetched values change the behavior and appearance of my app?
Unless you fetch values with fetchAndActivate()
, values are stored locally but not activated. To activate fetched values so that they can take effect, call activate
. This design lets you control when the behavior and appearance of your app changes, because you can choose when to call activate
. After you call activate
, your app source code determines when updated parameter values are used.
For example, you could fetch values and then activate them the next time a user starts your app, which removes the need to delay app startup while your app waits for fetched values from the service. Changes to your app's behavior and appearance then occur when your app uses the updated parameter values.
To learn more about the Remote Config API and usage model, see Remote Config API Overview .
Remote Config: I am making a lot of fetch requests while developing my app. Why doesn't my app always get the latest values from the service when it sends fetch requests?
During app development, you might want to fetch and activate configs very frequently (many times per hour) to let you rapidly iterate as you develop and test your app. To accommodate rapid iteration on a project with up to 10 developers, you can temporarily set a FirebaseRemoteConfigSettings
object with a low minimum fetch interval ( setMinimumFetchIntervalInSeconds
) in your app.
Remote Config: How quickly does the Remote Config service return fetched values after my app sends a fetch request?
Devices usually receive fetched values in less than a second, and often receive fetched values in milliseconds. The Remote Config service handles fetch requests within milliseconds, but the time required to complete a fetch request will depend on the network speed of the device and the latency of the network connection used by the device.
If your goal is to make fetched values take effect in your app as soon as possible, but without creating a jarring user experience, consider adding calls to fetchAndActivate
each time that your app does a full screen refresh.
Test Lab
Visit the Test Lab troubleshooting page for helpful tips and answers to FAQs.
Firebase User Segmentation Storage
What is Firebase User Segmentation Storage?
Firebase User Segmentation Storage stores Firebase installation IDs and related attributes and segments as well as audience lists you've created to provide targeting information to other Firebase services that use them, such as Crashlytics, FCM, Remote Config personalization, and more.