Skip to main content
Build
Build
Get to market quickly and securely with products that can scale globally
Go to Build
Build Products
App Check
App Hosting
Authentication
Cloud Functions
Cloud Storage
Data Connect
Extensions
Firebase ML
Firestore
Genkit
Hosting
Phone Number Verification
Realtime Database
Firebase AI Logic client SDKs
Generative AI
Run
Run
Run your app with confidence and deliver the best experience for your users
Go to Run
Run Products
A/B Testing
App Distribution
Cloud Messaging
Crashlytics
Google Analytics
In-App Messaging
Performance Monitoring
Remote Config
Test Lab
Solutions
Pricing
Docs
Overview
Fundamentals
AI
Build
Run
Reference
Samples
Support
/
English
Español – América Latina
Indonesia
Português – Brasil
中文 – 简体
日本語
한국어
Blog
Studio
Go to console
Sign in
Documentation
Overview
Fundamentals
Add Firebase - Apple platforms (iOS+)
Add Firebase - Android
Add Firebase - Web
Add Firebase - Flutter
Add Firebase - C++
Add Firebase - Unity
Add Firebase - Server environments
Manage Firebase projects
Supported platforms & frameworks
AI
Develop with AI assistance
Overview
Firebase Studio
Build and ship full-stack AI-infused apps right from your browser.
Gemini in Firebase
Streamline development with an AI-powered assistant in Firebase interfaces and tools.
MCP, Gemini CLI, & agents
Access agentive development tools, like our MCP server and Gemini CLI extension.
Build AI-powered apps
Firebase AI Logic
Build AI-powered mobile and web apps and features with the Gemini and Imagen models using Firebase AI Logic.
Genkit
Build full-stack AI-powered applications using this open-source framework.
Build
Authentication
Simplify user authentication and sign-in on a secure, all-in-one identity platform.
Phone Number Verification
Obtain the phone number of a device directly from the carrier, without SMS.
App Check
Protect your backend resources from abuse and unauthorized access.
Security Rules
Define granular, server-enforced rules to protect your database and storage data.
Data Connect
Build and scale your apps using a fully-managed PostgreSQL relational database service.
Firestore
Store and sync data using a scalable NoSQL cloud database with rich data models and queryability.
Realtime Database
Store and sync data in realtime with a NoSQL cloud database.
Storage
Store and serve content like images, audio, video with a secure cloud-hosted solution.
App Hosting
Deploy your modern, full-stack web apps with server-side rendering and AI features.
Hosting
Deploy your static and single-page web apps to a global CDN with a single command.
Cloud Functions
Run backend code in response to events without provisioning or managing a server.
Extensions
Deploy pre-built integrations and solutions for common tasks.
Emulator Suite
Test your app in real-world conditions without affecting live data.
Run
Test Lab
Test your Android and iOS apps on a wide range of real and virtual devices, all in the cloud.
App Distribution
Streamline delivery of pre-release Android and iOS apps to trusted testers.
Crashlytics
Track, prioritize, and fix app stability issues.
Performance Monitoring
Gain real-time insight into your app's performance and fix issues.
Remote Config
Instantly change your app's behavior and appearance, without publishing an update.
A/B Testing
Test variants to make data-driven decisions about changes, features, and campaigns.
Cloud Messaging
Send notifications and messages to your users on Android, iOS, and the Web.
In-App Messaging
Engage your active users with targeted, contextual messages within your app.
Google Analytics
Gain insights into user behavior, and optimize your app's marketing and performance.
Google Admob
Monetize your app, gain user insights, and tailor the ad experience.
Google Ads
Run smarter campaigns, find high-value users, and measure in-app conversions.
Reference
Samples
Build
More
Run
More
Solutions
Pricing
Docs
More
Overview
Fundamentals
More
AI
More
Build
More
Run
More
Reference
Samples
Support
Blog
Studio
Go to console
API Reference
CLI reference
Overview
auth:import and auth:export
Firebase Realtime Database Operation Types
Deploy Targets
Cloud Firestore Index Definition Format
Emulator Suite UI Log Query Syntax
Emulator Suite Security Rules Unit Testing Library
Overview
HostAndPort
RulesTestContext
RulesTestEnvironment
TestEnvironmentConfig
iOS — Swift
Module Index
FirebaseCore
Classes
Overview
FirebaseApp
FirebaseConfiguration
FirebaseOptions
Timestamp
Enumerations
Overview
FIRLoggerLevel
Type Definitions
Overview
FIRAppVoidBoolCallback
Functions
Overview
FirebaseVersion()
FirebaseABTesting
Classes
Overview
ExperimentController
LifecycleEvents
Constants
Overview
DefaultActivateExperimentEventName
DefaultClearExperimentEventName
DefaultExpireExperimentEventName
DefaultSetExperimentEventName
DefaultTimeoutExperimentEventName
FIRDefaultExperimentOverflowPolicy
Enumerations
Overview
ABTExperimentPayloadExperimentOverflowPolicy
FirebaseAILogic
Classes
Overview
Chat
FirebaseAI
GenerativeModel
ImagenModel
LiveGenerativeModel
LiveSession
Schema
– StringFormat
– IntegerFormat
TemplateGenerativeModel
TemplateImagenModel
Enumerations
Overview
GenerateContentError
JSONValue
Extensions
Overview
CGImage
CIImage
String
UIImage
Protocols
Overview
Part
PartsRepresentable
Structures
Overview
AudioTranscriptionConfig
Backend
Candidate
Citation
CitationMetadata
CodeExecution
CodeExecutionResultPart
– Outcome
ContentModality
CountTokensResponse
ExecutableCodePart
– Language
FileDataPart
FinishReason
FunctionCallPart
FunctionCallingConfig
FunctionDeclaration
FunctionResponsePart
GenerateContentResponse
– UsageMetadata
GenerationConfig
GoogleSearch
GroundingMetadata
– SearchEntryPoint
– GroundingChunk
– WebGroundingChunk
– GroundingSupport
HarmCategory
ImagenAspectRatio
ImagenGenerationConfig
ImagenGenerationResponse
ImagenImageFormat
ImagenImagesBlockedError
ImagenInlineImage
ImagenPersonFilterLevel
ImagenSafetyFilterLevel
ImagenSafetySettings
InlineDataPart
LiveAudioTranscription
LiveGenerationConfig
LiveServerContent
LiveServerGoingAwayNotice
LiveServerMessage
– Payload
LiveServerToolCall
LiveServerToolCallCancellation
LiveSessionLostConnectionError
LiveSessionSetupError
LiveSessionUnexpectedClosureError
LiveSessionUnsupportedMessageError
ModalityTokenCount
ModelContent
PromptFeedback
– BlockReason
RequestOptions
ResponseModality
SafetyRating
– HarmProbability
– HarmSeverity
SafetySetting
– HarmBlockThreshold
– HarmBlockMethod
Segment
SpeechConfig
TextPart
ThinkingConfig
Tool
ToolConfig
URLContextMetadata
URLMetadata
– URLRetrievalStatus
Type Aliases
Overview
JSONObject
FirebaseAnalytics
Categories
Overview
FIRAnalytics(AppDelegate)
FIRAnalytics(Consent)
FIRAnalytics(OnDevice)
Classes
Overview
Analytics
Constants
Overview
AnalyticsEventAdImpression
AnalyticsEventAddPaymentInfo
AnalyticsEventAddShippingInfo
AnalyticsEventAddToCart
AnalyticsEventAddToWishlist
AnalyticsEventAppOpen
AnalyticsEventBeginCheckout
AnalyticsEventCampaignDetails
AnalyticsEventEarnVirtualCurrency
AnalyticsEventGenerateLead
AnalyticsEventInAppPurchase
AnalyticsEventJoinGroup
AnalyticsEventLevelEnd
AnalyticsEventLevelStart
AnalyticsEventLevelUp
AnalyticsEventLogin
AnalyticsEventPostScore
AnalyticsEventPurchase
AnalyticsEventRefund
AnalyticsEventRemoveFromCart
AnalyticsEventScreenView
AnalyticsEventSearch
AnalyticsEventSelectContent
AnalyticsEventSelectItem
AnalyticsEventSelectPromotion
AnalyticsEventShare
AnalyticsEventSignUp
AnalyticsEventSpendVirtualCurrency
AnalyticsEventTutorialBegin
AnalyticsEventTutorialComplete
AnalyticsEventUnlockAchievement
AnalyticsEventViewCart
AnalyticsEventViewItem
AnalyticsEventViewItemList
AnalyticsEventViewPromotion
AnalyticsEventViewSearchResults
AnalyticsParameterAchievementID
AnalyticsParameterAdFormat
AnalyticsParameterAdNetworkClickID
AnalyticsParameterAdPlatform
AnalyticsParameterAdSource
AnalyticsParameterAdUnitName
AnalyticsParameterAffiliation
AnalyticsParameterCP1
AnalyticsParameterCampaign
AnalyticsParameterCampaignID
AnalyticsParameterCharacter
AnalyticsParameterContent
AnalyticsParameterContentType
AnalyticsParameterCoupon
AnalyticsParameterCreativeFormat
AnalyticsParameterCreativeName