Firebase Apple SDK Release Notes

To review release notes for the Firebase console and for other Firebase platforms and related SDKs, refer to the Firebase Release Notes.

Release notes for 2016-2023 are in the release notes archive.

Version 13.2.0 - November 16, 2026

Firebase AI Logic

  • GeminiLanguageModel now supports image input (the vision capability). Prompts can include image attachments created from a CGImage, a CIImage, a CVPixelBuffer, or a file URL; images from remote URLs aren't supported yet. (#16895)
  • Breaking Change: Updated the Public Preview Live API voice activity types: renamed VoiceActivityType.activityStart and activityEnd to start and end, removed VoiceActivityType.unknown from the public API, and made LiveServerVoiceActivity.audioOffset a non-optional TimeInterval (defaulting to 0).
  • Fixed a crash at launch on iOS 17 and earlier, and the corresponding macOS, tvOS, watchOS, and visionOS versions, in apps built with Xcode 27 when the app or a library (such as Realm) enumerated Objective-C classes with objc_copyClassList. (#17024)
  • Fixed a crash in GeminiLanguageModel when part of a prompt was served from the Gemini Developer API's implicit cache. (#17042)
  • Fixed LanguageModelSession.streamResponse delivering a GeminiLanguageModel response all at once, after it finished, when using the Agent Platform Gemini API. (#17040)
  • Fixed GeminiLanguageModel to include reasoning tokens in the output and total token counts. (#17042)

Analytics

  • Internal code cleanup and optimizations.

App Check

  • AppCheckDebugProvider now automatically uses a debug token provisioned by the Firebase CLI (firebase appcheck:debugtokens:create) when running in a Simulator. The token is read for the app's Google App ID from ~/.config/configstore/firebase-appcheck.json on the host machine, so no manual token registration is needed. The AppCheckDebugToken and FIRAAppCheckDebugToken environment variables still take priority. (#17017)
  • When the AppCheckDebugToken or FIRAAppCheckDebugToken environment variable is set, AppCheckDebugProvider no longer generates an unused local debug token and logs registration instructions for it. (#17017)

Authentication

  • Fixed a memory leak where removed auth state and ID token listeners, and the objects they captured, stayed in memory for as long as the Auth instance existed. This also affected the authStateChanges and idTokenChanges sequences. (#16938)
  • Preserve newer in-flight token refreshes when an older refresh completes. (#16765)
  • Fixed checkActionCode returning an ActionCodeInfo whose operation was always .unknown, a regression in 11.12.0. (#16950)
  • Fixed a crash in checkActionCode for email sign-in codes, a regression in 11.0.0. ActionCodeInfo.email is empty for these codes, because the server doesn't return their email address. (#16963)
  • Fixed a data race that could crash an app that reads User.metadata or User.multiFactor while a reload, link, or profile update finishes on another thread. (#16975)
  • Fixed User.multiFactor still listing enrolled factors after a reload when all of them were unenrolled on another device, a regression in 11.0.0. (#16976)
  • Fixed a crash when enrolling or unenrolling a second factor on macOS for a user saved by a version earlier than 12.2.0. (#16976)

Crashlytics

  • Fixed an issue where Crashlytics API calls (log, setCustomValue, setUserID, recordError, recordExceptionModel, etc.) hopped onto the main thread instead of flushing off the main thread during initialization and executing on the caller's thread afterwards. (#16926)
  • Fixed a crash when processing a report whose binary image records contain a non-numeric base or size. (#16519)
  • Fixed a potential crash in the x86_64 crash handler's stack-scanning fallback when the captured stack pointer is unreadable. (#16799)
  • Improved robustness when parsing malformed settings from the server or from the on-disk settings cache. (#16728)
  • Improved robustness in Firebase Sessions when parsing malformed settings from the server, including null values that could cause a crash when caching settings. (#16728)
  • Fixed the app executable's minimum OS and SDK versions being recorded as 0.0.0 in report metadata for apps targeting iOS 12, macOS 10.14, tvOS 12, watchOS 5, or later. (#16810)

Realtime Database

  • Fixed an issue where the getData error said that the client was offline when the server rejected the request, for example because of security rules. (#11835)
  • Fixed an issue where a completing getData call marked an observed or keepSynced query inactive in the persistence cache, allowing its cached data to be pruned or triggering an assertion failure on subsequent updates. (#17009)
  • Fixed an issue where getData on a query with a limit or range could remove data from other listeners at or below the query's location, and from the disk cache. (#8286, #14137)
  • Fixed an issue where getData never completed if the connection dropped before the server responded. (#16717)
  • Fixed an issue where getData on a child of an observed location returned the data of the observed location instead of the child. (#12168)
  • Fixed an issue where the client could stay offline for hours after a connection attempt timed out, for example after the device woke from sleep. (#9682)
  • Keep Realtime Database WebSocket keepalive timers and connection state on the worker queue to avoid cross-thread access. (#16767, #16971)

Cloud Firestore

  • Pipeline Search is now Generally Available (GA). (#16945)
  • Added support for window functions in Pipelines, with the addWindowFields stage for computing aggregates such as running totals and moving averages over partitioned and sorted frames of documents, and over() for framing individual aggregates. Window functions are in preview until the backend launch is announced in the Firestore release notes. (#16715)
  • Fixed Firestore.Decoder reusing the DocumentReference from a previous decode(_:from:in:) call to populate @DocumentID properties when a later call on the same decoder has no reference. (#16789)
  • Fixed pipelines created from a query with an inclusive cursor, such as start(atDocument:) or end(at:), returning the wrong documents at the cursor boundary. (#16795)
  • Fixed a memory leak where @FirestoreQuery kept its snapshot listener active after the view that owned it went away.

Firebase In‑App Messaging

  • Improved robustness when parsing malformed in-app messaging campaign fetch responses, cached campaigns, and persisted impressions. (#16728)
  • Fixed an issue where cached In-App Messaging engagement logs from a previous app session could be dropped instead of uploaded when the SDK started. (#16803)

Installations

  • Delete both legacy Firebase Instance ID keys during IID migration cleanup, and skip key deletion when the application tag is unavailable. (#16777)

Performance Monitoring

  • Prevent races when accessing global, trace, and HTTP metric custom attributes concurrently. (#16761)
  • Improved robustness when parsing malformed Remote Config values for Performance Monitoring. Cached values of unexpected types and out-of-range rate limits, gauge frequencies and session durations now fall back to defaults. (#16728)

Remote Config

  • Fixed a crash when copying a RemoteConfigValue (FIRRemoteConfigValue). The copy now keeps the value's data and source. (#16804)
  • Fixed a crash when an array or dictionary passed to setDefaults contains values that can't be converted to JSON, such as dates or data. These defaults are now skipped and an error is logged. (#16797)
  • Remote Config real-time updates are no longer missed when an update message is split across network reads or arrives in the same read as another message. (#16793)
  • @RemoteConfigProperty now uses the in-app default value, or its fallback value, after an activation removes its key, instead of keeping the previous remote value. (#16816)

Cloud Storage

  • The async APIs data(maxSize:), putDataAsync, putFileAsync, and writeAsync now cancel the underlying download or upload and throw StorageError.cancelled when the calling Swift task is cancelled. (#11786)
  • Serialized Auth and App Check token header updates to avoid concurrent mutation of the request when using custom interop providers. (#16766)
  • Fixed a memory leak where StorageUploadTask and StorageDownloadTask objects, and the data being uploaded, were never released after cancel() or, for downloads, pause(). (#16841)
  • Prevented duplicate upload and download requests when resuming a task before its initial request setup has completed. (#16771)

Version 13.1.1 - October 22, 2026

Cloud Firestore

  • Security Update: Removed root certificates associated with compromised eMudhra intermediate CAs from the embedded trust store. (#16930)

Version 12.19.3 - October 22, 2026

Cloud Firestore

  • Security Update: Removed root certificates associated with compromised eMudhra intermediate CAs from the embedded trust store. (#16933)

Version 13.1.0 - October 21, 2026

A/⁠B Testing

  • Improved robustness when parsing malformed experiment payloads from the server. (#16728)
  • Fixed an issue where Remote Config's activate() completion could be delayed by several seconds on a busy device because A/B Testing updated experiments at background priority. (#16784)
  • Fixed an issue where LifecycleEvents.expireExperimentEventName accepted event names without the required _ prefix instead of falling back to the default name. (#16785)

Firebase AI Logic

  • Public Preview: Added SpeechMetadata support to TextPart for Gemini text-to-speech (TTS) models, enabling turn-level speaker routing in multi-speaker synthesis and sustained speech delivery styling. See the speech generation guide for more details.
  • Fixed crashes when a chat session's history contained parts with unrecognized data or code execution parts received from the server, when creating a ModelContent with an unsupported Part type, and when decoding a malformed duration from the server. Requests that include an image that fails to convert now throw a GenerateContentError instead of crashing. (#16728)
  • Fixed intermittent 400 INVALID_ARGUMENT errors from the Gemini Enterprise Agent Platform in multi-turn GeminiLanguageModel sessions, which occurred when a thought signature from a previous text response was sent back as a part containing no data. (#16886)
  • Added support for voice activity signals in the Live API. When automatic activity detection detects the start or end of user speech, Gemini 3.x Live models send a LiveServerVoiceActivity, which is surfaced as LiveServerContent.voiceActivity. (#16889)
  • Fixed an issue where LiveSession.responses finished with a LiveSessionUnsupportedMessageError when the server sent a message type that the SDK doesn't support, such as the voiceActivity messages sent by Gemini 3.x Live models for each spoken turn. Unsupported message types are now logged and ignored. (#16889)
  • Fixed a "switch must be exhaustive" compiler warning when building GeminiLanguageModel with Xcode 27.2 beta. Transcripts containing Transcript.Entry.data entries continue to throw LanguageModelError.unsupportedTranscriptContent. (#16890)
  • GeminiLanguageModel now throws GeminiLanguageModel.Error.invalidResponse instead of networkFailure when Gemini returns a response that cannot be decoded or used. (#16881)

Authentication

  • Fixed a bug in URL domain validation and improved keychain logging safety.
  • Strengthened the randomness and length of generated OAuth and reCAPTCHA session identifiers.
  • Fixed a crash by safely skipping malformed account provider entries. (#16745)
  • Fixed an issue where the first call of an auth state or ID token listener could report no user while the stored user was still loading. (#16853)
  • Improved robustness when parsing malformed reCAPTCHA config and backend error details from the server. (#16728)
  • When reCAPTCHA isn't enabled for any provider, initializeRecaptchaConfig() now only loads the configuration and returns without an error, matching the web SDK. (#16757)
  • Fixed an issue where a user could be signed out after a request was rejected with INVALID_ID_TOKEN or TOKEN_EXPIRED, even though the session was still valid. Auth now refreshes the token to check the session first. (#16854)
  • Fixed a crash loop when the backend sent a very large token lifetime (expiresIn). Token lifetimes outside of (0, 24 h] now fall back to one hour, and invalid saved expiration dates are ignored. (#16866)
  • Fixed crashes when the backend sent a multi-factor enrollment without an enrollment ID, or a TOTP enrollment response without a shared secret key. Such enrollments are now skipped, and such TOTP responses fail with an error. (#16904)
  • Fixed a data race in the APNs token manager that could leave a phone number verification waiting indefinitely, or make it fall back to reCAPTCHA unnecessarily, when it overlapped with another verification or with the APNs token arriving. (#16902)

Realtime Database

  • Fixed a race where calling childByAutoId() concurrently from multiple threads could generate duplicate push IDs. (#16768)
  • Fixed an issue where transactions could fail with a maxretry error when every child of a node had a priority. (#16769)
  • Fixed an issue where observers could miss events, and keep showing stale or reverted values, when multiple pending transactions at overlapping locations were rerun. (#16791)
  • Fixed an issue where a getData call that failed without a cached value kept its query marked as active in the persistence cache until the app restarted, which kept that location from being pruned. (#16792)
  • Fixed a potential crash at every launch after the server sent an invalid database host. Such hosts are now ignored, and a saved one is discarded. (#16863)
  • Fixed a potential crash when the server sent a data message with an error. (#16863)
  • Fixed a crash in purgeOutstandingWrites when the server had already acknowledged a write that the SDK hadn't processed yet. (#5161)
  • Fixed a crash in getData when the server returned an error without a reason. (#16718)
  • Ignore malformed realtime server push, control, and handshake messages instead of crashing when a frame or one of its fields has an unexpected JSON type. (#16750)

Cloud Firestore

  • Added support for Pipeline DML stages (delete, update, insert, upsert), literals source stage, and Pipeline.ExecuteOptions(isAtomic:). (#16859)

Cloud Functions

  • Fixed callable streams failing with "Unexpected format for streamed response." when the server sends SSE comment lines, such as the : ping heartbeat emitted during long-running streaming functions. (#16605)

Firebase In‑App Messaging

  • Released the display gate and removed unconstructable messages so a card without images no longer blocks subsequent in-app messages. (#16819)

Cloud Messaging

  • Reduced main-thread work when setting the APNs token: the APNs environment check no longer queries the App Store receipt, and the keychain is read once instead of up to twice. (#16726)
  • Fixed a potential main-thread hang during FirebaseApp.configure() caused by unused synchronous SQLite queries for outgoing RMQ IDs. (#16736)
  • Stopped writing the ID of each received message to an unused database table that grew without bound. (#16870)
  • Fixed a crash in token fetches and topic subscriptions, for up to seven days, after a malformed device checkin response. Checkin responses are now validated before they're saved, and saved values of an unexpected type are ignored. (#16867)

Remote Config

  • Fixed a crash when the Remote Config fetch response contains a non-dictionary top-level JSON object (such as a JSON array). (#16735)
  • Fixed crashes when nested fields of a fetch response (such as state, entries, personalizationMetadata, rolloutMetadata, experimentDescriptions or a server error) have unexpected JSON types. (#16800)

Cloud Storage

  • Fixed a race where an observer added while an upload or download task was completing could be called twice for the success or failure event. This could crash putDataAsync, putFileAsync, and writeAsync when called with an onProgress handler. (#16813)
  • Fixed Storage.hash depending on callbackQueue, which made equal Storage and StorageReference instances hash differently and changed their hashes when callbackQueue was set, breaking lookups in sets and dictionaries. (#16794)
  • Fixed a memory leak in StorageReference.listAll(completion:) where the completion handler, anything it captured, and partially listed results were never released after the listing failed. (#16814)

Version 13.0.0 - October 7, 2026

  • Firebase is no longer distributed through CocoaPods. Firebase 13.0.0 and later releases are distributed exclusively through Swift Package Manager and binary distributions. Existing CocoaPods releases will remain available as long as CocoaPods ecosystem support continues. For more information, see the CocoaPods deprecation guide.
  • Breaking change: Firebase's minimum supported versions have been updated for the following platforms:
    Platform Firebase 13
    iOS 15.0
    tvOS 15.0
    macOS 11.0
    watchOS 8.0
  • Breaking change: FirebaseMLModelDownloader has been removed. For more information, see the Firebase ML documentation.
  • Breaking change: GoogleSignIn is no longer included in the Firebase zip and Carthage distributions.

  • Breaking change: Removed the CocoaPods-generated umbrella headers (suffixed -umbrella.h) from the zip and Carthage artifacts, in favor of Firebase.h and framework-specific umbrella headers. (#16540)

  • Breaking change: The minimum supported version of GTMSessionFetcher is now 4.0.0 (support for 3.x has been dropped).

  • Breaking change: Bundle ID prefixes in the zip distribution are now properly scoped to com.google.firebase, instead of org.cocoapods.. (#16678)

  • Firebase now requires Swift tools version 6.2.1 and the Swift 6.2.3 compiler for the Swift Package. The package will no longer resolve in Xcode versions earlier than 26.2, which remains the minimum officially supported version for the SDK. (#16696)

  • Added support for Swift Package Traits (SE-0450) to let you opt out of unused features and prune heavy dependencies. To opt out of Firestore in Xcode, select your project > Package Dependencies, and in the Traits column for Firebase, clear default and select only the ones you want, if any (it shows None if no traits are enabled). (#16684)

Firebase AI Logic

  • Breaking change: Renamed Tool to GenerativeModel.Tool to avoid naming conflicts with Apple's Foundation Models Tool type. Calls passing array literals (for example, tools: [.googleSearch()]) continue to work unmodified. (#16700)
  • Breaking change: Removed GenerativeModelSession, SystemLanguageModel, HybridModel, and associated types and protocols that previously provided an interim integration with Apple's Foundation Models framework. Going forward, use GeminiLanguageModel via ai.geminiLanguageModel(name:) directly with Apple's native Foundation Models framework.
  • Breaking change: Removed the deprecated Backend.vertexAI() and Backend.vertexAI(location:) methods. Use Backend.agentPlatform(location:) instead. The only difference for Backend.agentPlatform is the default location for accessing the model. The default location for Backend.agentPlatform is global, whereas the default location for Backend.vertexAI was us-central1. To use us-central1 with Backend.agentPlatform, specify FirebaseAI.firebaseAI(backend: .agentPlatform(location: "us-central1")) when initializing the SDK. However, note that most new Gemini models don't support us-central1. (#16689)
  • Breaking change: Update imports to import FirebaseAILogic and use the FirebaseAILogic Swift Package dependency instead of FirebaseAI, which has now been removed. For more information, see the Swift module name change FAQ entry.
  • Public Preview: Added support for multi-turn conversations (TemplateChat) and function calling (TemplateTool) with Server Prompt Templates. For more information, see the getting started guide. (#16740)
  • Updated the default function calling mode to VALIDATED and updated guided generation to use responseJsonSchema in GeminiLanguageModel. (#16649)
  • Deprecated model tuning parameters (temperature, topP, topK, candidateCount, presencePenalty, and frequencyPenalty) in GenerationConfig and LiveGenerationConfig as they're unsupported in Gemini 3.x and later models.

Analytics

  • Fixed a potential deadlock (#13888).
  • Hardened configuration parsing to safely handle missing or empty keys, preventing potential crashes from malformed data. (Note: The specific crash reported in #16728 was fully resolved via a server-side update).
  • Internal code cleanup and optimizations.

Authentication

  • Fixed a timeout race in the APNs token manager that could leave concurrent phone authentication requests waiting indefinitely.
  • Replaced a force-unwrapped error with a safe fallback during Game Center authentication. (#16136)

Crashlytics

  • Safely validate memory reads when executing DW_OP_deref_size operations during DWARF stack unwinding (#16550).
  • Fixed an issue causing a crash while symbolicating stack frames if the binary image path is null. (#16622)

Cloud Firestore

  • Dropped C++14 support; Firestore requires C++17.
  • Updated gRPC dependency to 1.83.1.
  • Updated Abseil dependency to 1.20250512.2.
  • Prefixed internal Pipeline Objective-C bridge classes and NS_SWIFT_NAME annotations with __ to hide them from IDE autocomplete and prevent them from appearing alongside public APIs.
  • Added support for the following new types: MinKey, MaxKey, RegexValue, Int32Value, Decimal128Value, BSONObjectId, BSONTimestamp, and Blob. (#16265)
  • Added the Firestore package trait to Package.swift. Cloud Firestore support requires the trait to be enabled (it's enabled by default). You can opt out of the trait to avoid downloading Firestore's underlying dependencies (such as gRPC and Abseil). (#16684)

Firebase In‑App Messaging

  • Breaking change: Scene delegates take priority over app delegates for universal link routing. (#16083)
  • Fixed an issue where universal links were not correctly routed in apps utilizing scene delegates. (#16083)

Cloud Messaging

  • Breaking change: Scene delegates take priority over app delegates for automatic deep link routing. (#15987)
  • Fixed an issue where deep links were not correctly routed in apps utilizing scene delegates. (#15987)
  • Fixed an issue where NSSecureCoding was not enforced when archiving and unarchiving registration tokens in the keychain. (#16511)

Version 12.19.2 - September 17, 2026

This release is available via Swift Package Manager only.

Analytics

  • Swift Package Manager only: Fixed unrecognized selector (#16634).

Version 12.19.1 - September 9, 2026

  • Fixed the zip distribution artifact naming on the GitHub release page. This release contains no SDK code changes and is functionally identical to 12.19.0.

Version 12.19.0 - September 9, 2026

Firebase AI Logic

  • Public Preview: Added GeminiLanguageModel, allowing Gemini models to be used with Apple's Foundation Models framework. See the getting started guide for more details.
  • Fixed an issue with a transitive import in the logger, which could cause a build error in explicit module mode. (#16563)
  • In 12.5.0, the FirebaseAI module was renamed to FirebaseAILogic. In the upcoming Firebase 13.0.0 release, the FirebaseAI library will be removed. Ahead of the major release, imports should be changed to import FirebaseAILogic and the FirebaseAILogic Swift Package dependency should be selected. See the Swift module name change FAQ entry for more details.

Analytics

App Check

  • Fixed an issue where the reCAPTCHA provider could cause build errors in binary environments, due to unsupported platforms. (#16564)

Authentication

  • Fixed a build error in app extensions introduced in 12.18.0, where AuthNotificationManager referenced UIApplication.shared directly. (#16583)
  • Fixed a persistent crash when interacting with App Check under some Swift toolchains (like the Flutter SDK) by avoiding a compiler bug in Swift concurrency thunk generation. (#16549)
  • Fixed an issue on iOS 15+ where users were randomly logged out during prewarming while the device was locked. (#16498)
  • Fixed an issue with a transitive import in the logger, which could cause a build error in explicit module mode. (#16563)

  • Firebase 12.19.0 is the final planned minor release of 12.x and the final scheduled release published to CocoaPods. Future major versions (13.0.0+) will be distributed exclusively via Swift Package Manager and binary distributions. Existing CocoaPods releases will remain available as long as CocoaPods ecosystem support continues. See https://firebase.google.com/docs/ios/cocoapods-deprecation for details.

  • Fixed a race condition where initializing Firebase in a multi-threaded environment could temporarily corrupt Foundation's locale and calendar caches, resulting in unexpected behavior (e.g., losing the user's "First Day of Week" override). (#16542)

Realtime Database

  • Reconnect after significant system clock changes so that .info/serverTimeOffset is refreshed. (#363)

Cloud Firestore

  • Added support for minimum and maximum FieldValue operations (#16159).

Cloud Functions

  • Requests directed to the local emulator over a non-loopback HTTP connection when tokens are present will now explicitly fail with an unauthenticated error instead of silently omitting the tokens and proceeding. (#16536)
  • Added a DEBUG-only allowInsecureTokenAttachment property on Functions to allow insecure token attachment over HTTP for physical device testing. (#16536)

Firebase In‑App Messaging

  • Replaced the deprecated UIApplication.keyWindow lookup used to measure the status bar height when laying out a banner. The height is now read from the foreground window scene the banner is rendered in, which is correct in multi-scene apps. (#13068)

Cloud Messaging

  • Fix an issue where messaging:didReceiveRegistrationToken: was no longer called at app launch when a token was cached. (#16581)
  • Fix an issue where cached FCM registration tokens were falsely invalidated due to locale changes when FirebaseMessagingInstallationIdEnabled was set to YES. (#16572)
  • Fix a potential crash when parsing malformed FCM payloads with unexpected non-numeric fields. (#16533)

Performance Monitoring

  • Revert to using kFPRSlowFrameThreshold for slow frames on iOS to prevent falsely classifying 60 FPS frames as slow on ProMotion devices, while preserving dynamic frame rate support for tvOS.
  • Fixed a crash caused due to ISA swizzling weak ivars. (#16469)

Cloud Storage

  • Fixed an issue where constructing a download URL could fail or produce an invalid path if the storage bucket name contained special characters. (#16529)
  • Requests directed to the local emulator over a non-loopback HTTP connection when tokens are present will now explicitly fail with an unauthenticated error instead of silently omitting the tokens and proceeding. (#16536)
  • Added a DEBUG-only allowInsecureTokenAttachment property on Storage to allow insecure token attachment over HTTP for physical device testing. (#16536)

Version 12.18.0 - August 19, 2026

Firebase AI Logic

Analytics

  • Fixed a couple of race conditions that caused session_start events to not report consistently on app launch.
  • Internal code cleanup and optimizations.

App Check

  • Safely disable the reCAPTCHA provider when its Swift dependencies cannot be resolved to prevent unknown receiver build failures that occur in unsupported use_modular_headers! use cases. (#16477)
  • Updated the App Check debug token log message to include Firebase CLI registration commands and a link to the debug token guide.

Authentication

  • Fixed a bug in PhoneAuthProvider where the test mode logic would fail if multi-factor authentication was enabled. (#16438)
  • Fixed a bug where verifyPhoneNumber could hit an infinite recursion and crash due to a Swift concurrency compiler bug in some toolchains. (#16416)
  • Added passwordDoesNotMeetRequirements error code for handling password policy requirement errors. (#16462)

Crashlytics

  • Removes unused integration with the now deprecated ObjC MetricKit API.

Realtime Database

  • Fixed an issue where surrogate pair replacement ranges were incorrect in push ID generation. (#16415)
  • Fixed a potential crash when receiving non-text WebSocket frames. (#16414)

Cloud Messaging

  • Fix an issue where new FCM registration processing was not invoked when FirebaseMessagingInstallationIdEnabled was set to YES and a legacy token existed in cache. (#16429)
  • Deprecate token-related APIs (tokenWithCompletion:, deleteTokenWithCompletion:, retrieveFCMTokenForSenderID:completion:, deleteFCMTokenForSenderID:completion:, FCMToken, messaging:didReceiveRegistrationToken:, and FIRMessagingRegistrationTokenRefreshedNotification) in favor of the new FID-based registration APIs. (#16466)

Performance Monitoring

  • Fixed a crash in FPRMemoryGaugeCollector by collecting memory usage with task_info(TASK_VM_INFO) instead of malloc_zone_statistics(), which could abort the process inside the malloc subsystem on devices using the XZM allocator. (#16121)
  • Fixed a crash when Firebase Performance instruments NSProxy NSURLSession delegates that report a wrapped object's class. (#16254)

Cloud Storage

  • Enforced stricter transport layer security when using the emulator: Auth and App Check tokens are no longer attached to outbound requests if the connection is made over HTTP to a non-loopback host. (#16395)
  • Fixed an issue where putFile could fail on the iOS Simulator with POSIX errno 40 (EMSGSIZE) due to a QUIC bug in background sessions, and improved error formatting for NSPOSIXErrorDomain errors. (#16351)
  • Fixed a race condition in Storage task cancellation and improved Swift 6 strict concurrency compliance for StorageTask. (#16353)
  • Fixed a crash that could occur when parsing malformed gs:// URLs, and improved validation for HTTP download URLs provided to Storage.reference(forURL:). (#16243)

SQL Connect

  • Add grpc request header for platform name and sdk version to enable metrics collection in cloud monitoring.
  • Add grpc request header for SQL Connect server affinity, to improve server resource usage efficiency and performance.
  • Fixed an issue where remote queries using @refresh with long intervals (e.g., 5 minutes) would silently stop receiving updates.

Version 12.17.0 - July 28, 2026

Firebase AI Logic

  • Fixed a stream leak in the Live API where the WebSocket connection would remain open indefinitely if the consumer canceled the stream. (#16393)
  • Deprecated Backend.vertexAI in favor of Backend.agentPlatform to reflect the renaming of Vertex AI to the Agent Platform Gemini API. (#16372)

    The only difference for Backend.agentPlatform is the default location for accessing the model. The default location for Backend.agentPlatform is global, whereas the default location for Backend.vertexAI is us-central1. To use us-central1 with Backend.agentPlatform, specify FirebaseAI.firebaseAI(backend: .agentPlatform(location: "us-central1")) when initializing the SDK. However, note that most new Gemini models do not support us-central1.

Analytics

  • Internal code cleanup and optimizations.

App Check

  • The default App Check provider for iOS physical devices no longer attempts to configure the reCAPTCHA provider before falling back to DeviceCheck. This reverts a change introduced in 12.15.0.
  • Changed RecaptchaProvider and RecaptchaProviderFactory to explicitly require a siteKey parameter on initialization, rather than reading it from FirebaseOptions. Note that the reCAPTCHA provider feature is in public preview. Note: Backend support for this capability is not yet available, but it's coming soon.

Authentication

  • Fixed an array out-of-bounds access in ActionCodeURL query parsing. (#16382)
  • Fixed a bug in OAuthProvider where custom parameters containing special URL characters (such as & and =) were not being properly URL-encoded. (#16394)

  • Removed the (never activated) recaptchaSiteKey property from FirebaseOptions. This feature is part of the public preview reCAPTCHA provider.

Crashlytics

  • Fixed an issue where binary image details weren't properly initialized. (#16407)

Realtime Database

  • Fixed an issue where surrogate pair replacement ranges were incorrect in push ID generation. (#16415)
  • Fixed a potential crash when receiving non-text WebSocket frames. (#16414)

Cloud Firestore

  • Fixed a potential crash when parsing malformed bundle payloads. (#16221)
  • Added support for 16 MB documents by increasing gRPC message size limit to 17MB (#16206).

Cloud Functions

  • Resolved a concurrency resource leak in Functions stream cancellation. (#16392)
  • Enforced stricter transport layer security when using the emulator: Auth, FCM, and AppCheck tokens are no longer attached to outbound requests if the connection is made over HTTP to a non-loopback host. (#16395)

Cloud Messaging

  • Reject path separators in file extensions for downloaded image attachments. (#16387)

Remote Config

  • Fixed a memory leak in Remote Config where activateWithCompletion: retained the FIRRemoteConfig instance indefinitely (#16413).
  • Fixed an issue where Remote Config activation would stop responding indefinitely when used with a named Firebase app instance. (#16354)

Cloud Storage

  • Enforced stricter transport layer security when using the emulator: Auth and AppCheck tokens are no longer attached to outbound requests if the connection is made over HTTP to a non-loopback host. (#16395)
  • Fixed an issue where putFile could fail on the iOS Simulator with POSIX errno 40 (EMSGSIZE) due to a QUIC bug in background sessions, and improved error formatting for NSPOSIXErrorDomain errors. (#16351)
  • Fixed a race condition in Storage task cancellation and improved Swift 6 strict concurrency compliance for StorageTask. (#16353)
  • Fixed a crash that could occur when parsing malformed gs:// URLs, and improved validation for HTTP download URLs provided to Storage.reference(forURL:). (#16243)

SQL Connect

  • Improved caching performance especially for large result sets.

Version 12.16.0 - July 8, 2026

Firebase AI Logic

  • Fixed a decoding failure in GenerateContentResponse when the Vertex AI backend returns citation metadata with a missing endIndex. (#16328)
  • Fixed an issue where generateContentStream could stall indefinitely on mid-stream network drops. (#16298)
  • Fixed a resource leak where background network requests would continue downloading if the stream consumer terminated early. (#16298)

Analytics

  • CocoaPods only: Updated license type.
  • Internal code cleanup and optimizations.

App Check

  • Changed error message for missing FirebaseApp.configure() to properly articulate supported methods. (#16294)

Authentication

  • Refactored the integrated OAuth sign in UI to not rely on the deprecated UIScreen.main.bounds API for Mac Catalyst rendering. (#16274)
  • Fixed an issue where the integrated OAuth sign in UI wasn't taking up the full screen when rendered in Mac Catalyst apps. (#16274)
  • Changed error message for missing FirebaseApp.configure() to properly articulate supported methods. (#16294)

Crashlytics

  • Fix deadlock in user logging on reentrant queue access. (#16163)

Cloud Firestore

  • Migrates the network connectivity monitoring implementation for Apple platforms from the legacy SCNetworkReachability API to the modern NWPathMonitor API.

Installations

  • Changed error message for missing FirebaseApp.configure() to properly articulate supported methods. (#16294)

Cloud Messaging

  • Add support for the new FCM registration API. (#16133)

Performance Monitoring

  • Fixed a crash in FPRMemoryGaugeCollector by collecting memory usage with task_info(TASK_VM_INFO) instead of malloc_zone_statistics(), which could abort the process inside the malloc subsystem on devices using the XZM allocator. (#16121)
  • Fixed a crash when Firebase Performance instruments NSProxy NSURLSession delegates that report a wrapped object's class. (#16254)

Version 12.15.0 - June 16, 2026

  • Firebase now requires Swift tools version 6.1 for the Swift Package. The package will no longer resolve in Xcode versions older than 16.3. Note that the minimum officially supported version for the SDK remains Xcode 26.2+.

Firebase AI Logic

  • Made Firebase App Check a dependency of Firebase AI Logic to simplify App Check setup. (#16185)
  • Fixed a namespace collision with the new FoundationModels.LanguageModelSession.Error type introduced in Xcode 27 Beta. (#16252)
  • Added support for SpeechConfig in GenerationConfig, and MultiSpeakerVoiceConfig in SpeechConfig. (#16226)

Analytics

  • Fixed invalid module maps in GoogleAppMeasurement and GoogleAppMeasurementIdentitySupport (#16151).
  • Fixed a dangling pointer issue (#16021).
  • Internal code cleanup and optimizations.

App Check

  • Added a reCAPTCHA attestation provider. Using this provider requires the reCAPTCHA Enterprise SDK to be installed, enabling the reCAPTCHA provider on the Firebase App Check console, and replacing the local GoogleService-Info.plist with one redownloaded from the project settings on the Firebase console.

  • Updated AppCheckDebugProvider documentation to recommend the generic AppCheckDebugToken environment variable instead of the legacy FIRAAppCheckDebugToken. Note that FIRAAppCheckDebugToken remains supported for backwards compatibility, with AppCheckDebugToken taking priority if both are set. (#16230)

  • The default App Check provider when running on a simulator is now the debug provider; physical devices now default to reCAPTCHA if the reCAPTCHA Enterprise SDK is installed, and fall back to the DeviceCheck provider otherwise. (#16190)

  • Removed redundant debug token warning log. (#16197)

  • Log an actionable warning when debug token exchange fails. (#16232)

Cloud Firestore

  • Remove use of designated initializers for forceIndex [#16229].

Performance Monitoring

  • Fixed a race condition crash in FPRConfigurations by making remoteConfigFlags atomic and explicitly nullable. (#16144)
  • Added an Info.plist array key firebase_performance_swizzle_denylist listing class names to skip when registering swizzling instrumentors. (#8277)

Version 12.14.0 - May 26, 2026

  • Remove extra comma in Package.swift that caused SPM resolution failures for some configurations.
  • New versions of the Firebase Apple SDK will no longer be published to CocoaPods after October 2026. Existing CocoaPods versions will remain available and installations will remain functional. See the migration guide for more information.

A/⁠B Testing

  • Fixed a race condition that could lead to a crash in ABTesting when updating experiments. (#16145)

Firebase AI Logic

  • Fixed an issue in GenerativeModelSession where String generation used the wrong overload for respond(to:) and streamResponse(to:), resulting in occasional prompt refusals. (#16165)

Analytics

  • Internal code cleanup, optimizations, and bug fixes.

App Check

  • Added AppAttestProviderFactory to simplify App Check setup when using the App Attest provider. (#16182)

Performance Monitoring

  • Fixed a race condition crash in FPRConfigurations by making remoteConfigFlags atomic and explicitly nullable. (#16144)
  • Added an Info.plist array key firebase_performance_swizzle_denylist listing class names to skip when registering swizzling instrumentors. (#8277)

Version 12.13.0 - May 5, 2026

Firebase AI Logic

  • Public Preview: Added support for hybrid inference, enabling fallback between on-device (Foundation Models) and cloud (Gemini) models. (#16111)
  • Added support for session resumption in the Live API via the resumeSession method on LiveSession. (#15904)
  • Added support for context window compression in the Live API via ContextWindowCompressionConfig. (#15904)
  • Breaking Change: Added a new Live API payload field for LiveSessionResumptionUpdate to support the new session resumption feature. (#15904)
  • Adds support for configuring image generation properties, such as aspect ratio and image size, through the new ImageConfig struct and its integration with GenerationConfig. (#15923)
  • Added support for GoogleMaps grounding, including for Server Prompt Templates.
  • Fix unfound file warnings from swift build. (#16012)
  • Fixed a no member 'autoFunctionDeclaration' compilation error on unofficially supported Xcode versions older than 26.2. (#16037)
  • Fixed missing thought summary output in GenerativeModelSession.streamResponse. (#16075)
  • Removed unnecessary log statements related to retrieving text parts during automatic function calling. (#16087, #16122)
  • Adds support for configuring image generation properties, such as aspect ratio and image size, through the new ImageConfig struct and its integration with GenerationConfig. (#15923)
  • Adds support for new FinishReason values including image-related reasons like imageSafety, noImage, and others for tool-use, language, and malformed responses. (#15931)

Cloud Firestore

  • Added search stage support for languageCode, offset, limit, and retrievalDepth.
  • Added support for Pipeline expressions arraySlice, arrayFilter, arrayTransform and arrayTransformWithIndex. (#16001)
  • Add missing noexcept specifiers to move, hash, swap operations [#16117].

Cloud Functions

  • Fixed a release-build crash in HTTPSCallable.call() when using Xcode 26.4 (Swift 6.3) that was caused by a Swift regression in async let teardown. (#15974)

Performance Monitoring

  • Fixed NSURLSession delegate instrumentation for NSProxy delegates. (#14478)
  • Address crash by deferring class disposal in FPRObjectSwizzler. (#14473)
  • Prevent race condition crashes in FPRScreenTraceTracker by replacing NSMapTable with thread-safe NSMutableDictionary and locking.

Remote Config

  • Remote Config Realtime updates now trigger when a parameter's experiment or variant assignment changes, ensuring more accurate A/B test analytics and consistent user experiences.

Cloud Storage

  • Fixed InstanceCache keying by bucket only, which caused named apps sharing a storage bucket with the default app to use the wrong auth context. (#16039)

Version 12.12.1 - April 16, 2026

This release is available via Swift Package Manager and CocoaPods only.

Analytics

  • Internal code cleanup, optimizations, and bug fixes.

Crashlytics

  • Updated upload-symbols to version 3.21, updated error logging in upload-symbols and started reading the DEVELOPER_DIR environment variable for the path to Xcode for CoreSymbolication (#15896).

Cloud Storage

  • Fixed InstanceCache keying by bucket only, which caused named apps sharing a storage bucket with the default app to use the wrong auth context. (#16039)

Version 12.12.0 - April 6, 2026

  • Firebase now requires at least Xcode 26.2 and the Swift 6.2.3+ toolchain. This update allows Firebase to leverage new Swift features like Extensible Enums to build more resilient APIs. Note that Xcode 26.2 continues to be supported on macOS 15. See Apple's Upcoming SDK minimum requirements for more info.

Firebase AI Logic

  • Added support for automatic function calling in GenerativeModelSession. You can create Gemini-compatible function declarations by providing types conforming to the FoundationModels.Tool protocol when initializing a session. (#15915)
  • Updated GenerativeModelSession to handle intermediate JSON decoding failures when streaming structured data. (#15960)
  • Breaking Change: GenerativeModelSession.GenerationError is now marked @nonexhaustive to support additional cases in a non-breaking manner. If switching on GenerativeModelSession.GenerationError, you must add an @unknown default: case to your switch statement. (#16011)
  • All Imagen models are deprecated and will shut down as early as June 2026. As a replacement, you can migrate your apps to use Gemini Image models (the "Nano Banana" models).

Authentication

  • Added AsyncSequence support to Auth.authStateChanges and Auth.idTokenChanges, providing a modern, structured-concurrency alternative to addStateDidChangeListener and addIDTokenDidChangeListener.
  • Fix a race condition with User.providerData getter. (#15950)
  • Fixed a release-build crash in networking code when using Xcode 26.4 (Swift 6.3) that was caused by a Swift regression in async let teardown. (#15974)

SQL Connect

  • Update cache identifier format to match Dart.
  • Support for bidirectional streaming for subscriptions and operation execution.

Cloud Firestore

  • Added support for the parent Pipeline expression. (#16010)
  • Added support for timestampTruncate, timestampDiff, and timestampExtract Pipeline expressions. (#15984)
  • Added support for Firestore Pipeline Subqueries and scope bridging with Subcollection, define(), toArrayExpression(), toScalarExpression(), Variable, and CurrentDocument APIs.
  • Added support for Pipeline expressions ltrim, rtrim, stringIndexOf, stringReplaceOne, stringReplaceAll, and stringRepeat.
  • Add preview support for full-text search and geo search.
  • Added support for Pipeline expressions nor and switchOn. (#15943)
  • Added support for Pipeline expressions ifNull and coalesce. (#15989)
  • Added support for Pipeline expression isType.
  • Added support for Pipeline expressions mapSet, mapKeys, mapEntries, mapValues.

Cloud Functions

  • Fixed a release-build crash in HTTPSCallable.call() when using Xcode 26.4 (Swift 6.3) that was caused by a Swift regression in async let teardown. (#15974)

Performance Monitoring

  • Fix app_start trace not firing in SwiftUI apps using @UIApplicationDelegateAdaptor. (#15802)

Remote Config

  • Introduced a new configUpdates property to RemoteConfig that provides an AsyncSequence for consuming real-time config updates. This offers a modern, Swift Concurrency-native alternative to the existing closure-based listener.

Version 12.11.0 - March 16, 2026

Firebase AI Logic

  • Public Preview: Introduces GenerativeModelSession providing APIs for generating structured data from Gemini via the same @Generable and @Guide macros that are used with Foundation Models.

Analytics

Crashlytics

  • Fixed an issue where Crashlytics API calls were silently dropped if invoked immediately after Firebase initialization.

Cloud Firestore

  • Minor refactor to avoid using an absl internal function. (#15889)

Version 12.10.0 - February 25, 2026

Analytics

Crashlytics

  • Fixed a deadlock in Firebase Sessions where the main thread could block waiting for a lock held by a background thread during settings updates. (#15394)

SQL Connect

  • Added support for client-side caching and offline reads.
  • Fixed an issue where LocalDate's date value wasn't accessible.

Cloud Firestore

  • Added support for regexFind and regexFindAll Pipeline expressions.

Performance Monitoring

  • Fix a race condition by replacing mstats() with malloc_zone_statistics(). (#15501)
  • Fixed a deadlock in Firebase Sessions where the main thread could block waiting for a lock held by a background thread during settings updates. (#15394)

Remote Config

  • A workaround to restore service if Remote Config data remains empty after a device restore is to publish a new version of your Remote Config template in the Firebase console to force a full synchronization. This issue can occur if the app was opened with an older SDK version (< 12.6.0) before upgrading. An automatic fix for this scenario is currently under development. (#15764)

Version 12.9.0 - February 3, 2026

Firebase AI Logic

  • The URL context tool APIs are now GA.
  • Added support for implicit caching (context caching) metadata in GenerateContentResponse. You can now access cachedContentTokenCount and cacheTokensDetails in UsageMetadata to see savings from cached content. See the caching documentation for more details.

Authentication

  • Stop doing unnecessary AppCheck token refreshes. Introduced in 11.0.0. (#15372)

Crashlytics

  • Conformed to Mach IPC security restrictions. (#15393)

Cloud Firestore

  • Fix crash while fetching Auth and App Check tokens. (#15281)
  • Pipeline support is now available for the Enterprise edition as a public preview feature. (#15625)
  • Fixed an issue where the returned object in transaction blocks could not pass across actor boundaries in Swift 6 (#15467).

Cloud Storage

  • Fix "weak never mutated" build warning introduced in Xcode 26.2.

Version 12.8.0 - January 13, 2026

Analytics

  • Fixed an issue related to __SwiftValue that was blocking iOS app submission (#15639).
  • Internal code cleanup and optimizations.

Firebase AI Logic

  • Added support for configuring thinking levels with Gemini 3 series models and onwards. (#15557)

Cloud Firestore

  • Fix crash while fetching Auth and App Check tokens. (#15281)
  • Pipeline support is now available for the Enterprise edition as a public preview feature. (#15625)
  • Fixed an issue where the returned object in transaction blocks could not pass across actor boundaries in Swift 6 (#15467).

Cloud Messaging

  • Fix missing database crash on launch. (#14880)

FirebaseMLModelDownloader

  • Remove unused legacy telemetry along with the large swift-protobuf dependency.

Performance Monitoring

  • Use UIScreen.maximumFramesPerSecond for dynamic slow frame threshold. (#10220)

Version 12.7.0 - December 10, 2025

  • CocoaPods only: Enabled module map generation for Firebase pods. This resolves build failures when using static linking (use_frameworks! :linkage => :static) in projects using frameworks like React Native (#15506).

Firebase AI Logic

Authentication

  • Add a mechanism to prevent concurrent token refreshes (#15474).
  • Fix "weak never mutated" build warning introduced in Xcode 26.2.

Realtime Database

  • Fixed Fatal Exception: FirebaseDatabasePersistenceFailure (#4493).
  • Fixed a concurrency crash in FView (#15514).

Version 12.6.0 - November 13, 2025

Firebase AI Logic

Remote Config

  • Fixed a bug where Remote Config does not work after a restore of a previous backup of the device (#14459).
  • Fixed a data race condition on the global database status flag by synchronizing all read and write operations (#14715).

Version 12.5.0 - October 28, 2025

Firebase AI Logic

  • Renamed the FirebaseAI module to FirebaseAILogic. This is a non-breaking change. FirebaseAI references will continue to work until a future breaking change release. Going forward, imports should be changed to import FirebaseAILogic and the FirebaseAILogic Swift Package dependency should be selected. See the Swift module name change FAQ entry for more details.
  • Fixed a nanoseconds parsing issue in the Live API when receiving a LiveServerGoingAwayNotice message. (#15410)
  • Added support for sending video frames with the Live API via the sendVideoRealtime method on LiveSession. (#15432)

Analytics

  • Added support for manually logging in-app purchases with logEvent(_:parameters:).
  • Fixed an issue to properly attribute Organic Search traffic in GA reporting for iOS apps.
  • Fixed an issue with session_start events not consistently being reported on app foreground if the app was initially launched in the background.
  • Fixed an issue that caused the average session duration to increase for some apps (#15146).
  • Internal code cleanup and optimizations.

Performance Monitoring

  • Prevent race condition crash in FPRTraceBackgroundActivityTracker. (#14273)
  • Fix app start trace outliers from network delays. (#10733)

Version 12.4.0 - October 7, 2025

Firebase AI Logic

  • Added support for the URL context tool, which allows the model to access content from provided public web URLs to inform and enhance its responses. (#15221)
  • Using Firebase AI Logic with the Gemini Developer API is now Generally Available (GA).
  • Using Firebase AI Logic with the Imagen generation APIs is now Generally Available (GA).
  • Added support for the Live API, which allows bidirectional communication with the model in real time.

    • Note: Potential future additions to the LiveServerMessage.Payload enum may not trigger a semantic versioning major version update. To ensure forward compatibility, client code should avoid exhaustive switch statements over this enum by adding a default case.

    To get started with the Live API, see the Firebase docs on Bidirectional streaming using the Gemini Live API. (#15309)

Analytics

Crashlytics

  • Make set development platform APIs to chain on Crashlytics context init promise.

Cloud Firestore

Version 12.3.0 - September 15, 2025

Firebase AI Logic

  • Added support for the code execution tool. Enabling this tool lets the model generate and run Python code to help it perform complex tasks like solving mathematical equations or visualizing data. (#15280)
  • Fixed a decoding error when generating images with the gemini-2.5-flash-image-preview model using generateContentStream or sendMessageStream with the Gemini Developer API. (#15262)

Analytics

  • Internal code cleanup and optimizations.

Crashlytics

  • Add missing nanopb dependency to fix SwiftPM builds when building dynamically linked libraries. (#15276)

Performance Monitoring

  • Add missing nanopb dependency to fix SwiftPM builds when building dynamically linked libraries. (#15276)

Remote Config

  • Add missing GoogleUtilities dependency to fix SwiftPM builds when building dynamically linked libraries. (#15276)

Version 12.2.0 - August 27, 2025

Firebase AI Logic

  • Added support for returning thought summaries, which are synthesized versions of a model's internal reasoning process (#15096).
  • Added support for limited-use tokens with Firebase App Check. These limited-use tokens are required for an upcoming optional feature called replay protection. We recommend enabling the usage of limited-use tokens now so that when replay protection becomes available, you can enable it sooner because more of your users will be on versions of your app that send limited-use tokens. (#15099)

Analytics

  • Fixed a code signing issue by depending on GoogleAdsOnDeviceConversion 2.3.0 (#15052).
  • Fixed another issue that can cause slow launches (#14619).
  • Internal code cleanup and optimizations.

App Check

  • Fixed a missing symbol error for FIRGetLoggerLevel (#12899).

Authentication

  • Added TOTP support for macOS.

SQL Connect

  • Starting FDC Tools from Xcode sets up a template Firebase Data Connect project in the Xcode project folder. See the README.md for an updated Getting Started section.

Remote Config

  • Fixed a race condition that could lead to a crash during network session recreation (#15087).

Version 12.1.0 - August 4, 2025

Analytics

  • Improved on-device conversion measurement for first-party data to work with web to app campaigns. See the updated Best Practices section to ensure you receive the full benefits of this improvement.
  • Fixed an issue that can cause slow launches (#14619).
  • Internal code cleanup and optimizations.

Authentication

  • Fix a formatting issue with generated TOTP URLs that prevented them from working with the Google Authenticator app (#15128).

Crashlytics

  • Crashlytics no longer logs using raw print in an internal class (#15138).

SQL Connect

Cloud Firestore

  • Fixed accidental removal of pod "Firebase/Firestore" for tvOS in 12.0.0.

Firebase In‑App Messaging

  • Fixed an Xcode 26 crash caused by a missing NSUserActivityTypeBrowsingWeb symbol. Note that this fix isn't in the 12.1.0 zip and Carthage distributions, but will be included from 12.2.0 onwards (#15159).

Cloud Messaging

  • Fix Xcode 26 crash from missing NSUserActivityTypeBrowsingWeb symbol. Note that this fix isn't in the 12.1.0 zip and Carthage distributions, but will be included from 12.2.0 onwards (#15159).

Version 12.0.0 - July 15, 2025

  • Breaking change: Firebase's minimum supported versions have updated for the following platforms:
    Platform Firebase 12
    iOS 15.0
    tvOS 15.0
    macOS 10.15
    watchOS 7.0
  • Breaking change: FirebaseDynamicLinks has been removed. See the Dynamic Links Deprecation FAQ for more info.
  • Breaking change: Removed the Options.deepLinkURLScheme property. This API was exclusively used by the Dynamic Links SDK, which has been removed.
  • Breaking change: Removed the following unused API.
    • Options.androidClientID
    • Options.trackingID
  • Breaking change: Firebase's zip and Carthage distributions of the Google Mobile Ads SDK have been removed. Instead, access the Google Mobile Ads SDK binary distribution from the AdMob website. All pre-existing versions of the Firebase zip or Carthage distributions will continue to be available and functional. Learn more about this change in the FAQ (#14408).
  • Breaking change: The deprecated Vertex AI in Firebase SDK (FirebaseVertexAI) has been removed. It has been replaced by the Firebase AI Logic SDK (FirebaseAI) to accommodate the evolving set of supported features and services. To start using the new SDK, import the FirebaseAI module and use the top-level FirebaseAI class. See details in the migration guide.
  • Breaking change: The Firebase Swift package now requires the Swift 6.0 toolchain (Xcode 16.2+).
  • Update GTMSessionFetcher dependency specifications to enable support for the compatible GTMSessionFetcher 5.x versions.

Firebase AI Logic

  • Added support for Grounding with Google Search (#15014).
  • Breaking Change: Removed CountTokensResponse.totalBillableCharacters which was deprecated in 11.15.0. Use totalTokens instead (#15056).

Analytics

  • Breaking change: The deprecated AdIdSupport and WithoutAdIdSupport subspecs, FirebaseAnalyticsOnDeviceConversion, and GoogleAppMeasurementOnDeviceConversion pods and equivalent Swift Package Manager targets have been removed. See our migration guide.
  • Added support for opting out of On-Device Conversion Measurement (Event Data). To opt-out of this feature, add the key GOOGLE_ADS_ON_DEVICE_CONVERSION_EVENT_DATA_ENABLED with Boolean value NO to your app's Info.plist file.
  • Internal code cleanup and optimizations.

Authentication

  • Breaking Change: Removed the following Dynamic Links related APIs:
    • ActionCodeSettings.dynamicLinkDomain
    • AuthErrorCode.dynamicLinkNotActivated
    • AuthErrorCode.invalidDynamicLinkDomain
  • Breaking Change: Remove deprecated Swift APIs using String-typed productIDs that were in favor of API that leverages the AuthProviderID enum. Note, this only affects Swift clients.
  • Breaking Change: TOTPSecret.openInOTPApp(withQRCodeURL:) is now labeled with @MainActor and requires the await keyword when called off of the main actor or main thread.
  • Simplified completion handler memory management in Auth interop (#14962).

Crashlytics

  • Resolved compiler warnings related to constant definitions (#15059).

SQL Connect

  • DataConnectOperationError now includes underlying server error messages in the debug description instead of a generic decoding error #14945.
  • Breaking change: FirebaseDynamicLinks has been removed. See https://firebase.google.com/support/dynamic-links-faq for more info.

Cloud Functions

  • Breaking Change: Mark HTTPSCallable and HTTPSCallableOptions as final classes for Swift clients. This was to achieve Swift 6 checked Sendable support.

Remote Config

  • Improved how the SDK handles real-time requests when a Firebase project has exceeded its available quota for real-time services. Released in anticipation of future quota enforcement, this change is designed to fetch the latest template even when the quota is exhausted.

Version 11.15.0 - June 23, 2025

  • Remove c99 as the required C language standard. (#14950)
  • Deprecated the Options.deepLinkURLScheme property. This property will be removed in a future release. This is related to the overall Firebase Dynamic Links deprecation. For more details, see the Dynamic Links deprecation FAQ.

Firebase AI Logic

  • Fixed Sendable warnings introduced in the Xcode 26 beta. (#14947)
  • Added support for setting title in string, number and array Schema types. (#14971)
  • Added support for configuring the "thinking" budget when using Gemini 2.5 series models. (#14909)
  • Deprecated CountTokensResponse.totalBillableCharacters; use totalTokens instead. Gemini 2.0 series models and newer are always billed by token count. (#14934)

Analytics

  • Fixed an issue that caused high CPU usage (#14891).
  • Fixed an issue that prevented Analytics from being configured with FirebaseApp.configure(options:) (#230).
  • Internal code cleanup and optimizations.

Authentication

  • Fixed Sendable warnings introduced in the Xcode 26 beta. (#14996)

Version 11.14.0 - June 3, 2025

Analytics

  • Improved the structure of the Google Analytics for Firebase SDK, with some components marked as deprecated to be removed in a future release (details).

Authentication

  • Synchronize internal AuthKeychainServices class to prevent crashes from concurrent access (#14835).

Cloud Messaging

  • Fix a potential SQL injection issue (#14846).

Remote Config

  • Fix build warning from comparison of different enumeration types.

Version 11.13.0 - May 20, 2025

Firebase AI Logic

  • Initial release of the Firebase AI Logic SDK (FirebaseAI). This SDK replaces the previous Vertex AI in Firebase SDK (FirebaseVertexAI) to accommodate the evolving set of supported features and services.
    • The new Firebase AI Logic SDK provides public preview support for the Gemini Developer API, including its free tier offering.
    • Using the Firebase AI Logic SDK with the Vertex AI Gemini API is still generally available (GA).

      To start using the new SDK, import the FirebaseAI module and use the top-level FirebaseAI class. See details in the migration guide.
  • Fixed ModalityTokenCount decoding when the tokenCount field is omitted; this occurs when the count is 0 (#14745).
  • Fixed Candidate decoding when SafetyRating values are missing a category or probability; this may occur when using Gemini for image generation (#14817).

Crashlytics

  • Improved startup time by putting some initialization steps on a background (#13675, #13232).

Analytics

  • Fixed limit of distinctly named events for Google Analytics 360 properties.
  • Internal code cleanup and optimizations.

Remote Config

  • Fix an issue where network requests would fail in the iOS 18.4 simulator due to a URLSession bug introduced in Xcode 16.3 (#14728).

Cloud Storage

  • putFile now works in App Clips. Similarly to app extensions, background session configurations are not used in App Clips (#14794).

Vertex AI in Firebase

  • Renamed: Vertex AI in Firebase (FirebaseVertexAI) has been renamed and replaced by the new Firebase AI SDK (FirebaseAI). Please migrate to the new FirebaseAI module. See the Firebase AI release notes for migration details and new changes.

    Note: Existing Vertex AI in Firebase users may continue to use import FirebaseVertexAI and the VertexAI top-level class, though these will be removed in a future release.
  • Fixed ModalityTokenCount decoding when the tokenCount field is omitted; this occurs when the count is 0 (#14745).

Version 11.12.0 - April 21, 2025

Authentication

  • Fix a fatalError unenrolling from MFA. An invalid user token now throws an invalidUserToken error instead of crashing (#14663).
  • Fix the parameter from "languageCode" to "lang" in ActionCodeURL (#14664).
  • Fix the parameters for requestType in ActionCodeOperation (#14665).

Analytics

  • Internal code cleanup and optimizations.

SQL Connect

  • AnyValue type fixes to support decoding values fetched using PostgreSQL jsonb_build_object. AnyValue now internally stores data as a JSON value / dictionary instead of Swift.Data.
  • Firebase Data Connect has exited beta and is now generally available for use.
  • Breaking Change: Refactored the base DataConnectError error type to be a protocol instead of an enum and introduced concrete error types DataConnectInitError, DataConnectCodecError, DataConnectOperationError. Note that if you have code using a switch on the previous error enum, you will need to update that code. See the PR for a usage example and DataConnectError.swift for implementation details.
  • Support for partial errors via the above mentioned DataConnectOperationError.

Cloud Firestore

  • Fixed the null value handling in isNotEqualTo and notIn filters.

Cloud Functions

  • Fix regression from 11.6.0 where HTTPSCallable did not invoke completion block on main thread (#14653).

Vertex AI in Firebase

  • Public Preview: Added support for specifying response modalities in GenerationConfig. This includes public experimental support for image generation using Gemini 2.0 Flash (gemini-2.0-flash-exp) (#14658).

    Note: This feature is in Public Preview and relies on experimental models, which means that it is not subject to any SLA or deprecation policy and could change in backwards-incompatible ways.
  • Added support for more Schema fields: minItems/maxItems (array size limits), title (schema name), minimum/maximum (numeric ranges), anyOf (select from sub-schemas), and propertyOrdering (JSON key order) (#14647).
  • Fixed an issue where network requests would fail in the iOS 18.4 simulator due to a URLSession bug introduced in Xcode 16.3 (#14677).

Version 11.11.0 - March 31, 2025

Analytics

  • Fixed an issue with the Analytics background task running longer than expected (#14541).
  • Fixed an issue with uploading large ecommerce events.
  • Internal code cleanup and optimizations.

Cloud Firestore

  • Fixed a crash in the customized priority queue compare function used in the cache index manager (#14496).

Vertex AI in Firebase

  • VertexAI now emits a warning when attempting to use an incompatible model with GenerativeModel or ImagenModel (#14610).

Version 11.10.0 - March 17, 2025

Analytics

  • Internal changes to improve new customer acquisition measurement.
  • Internal code cleanup and optimizations.

SQL Connect

  • Dependency on Firebase iOS SDK changed to 'minimum version required' instead of an 'exact version'. This lets apps use the latest version of the Firebase iOS SDK.

Cloud Functions

  • Streaming callable functions are now supported.

Remote Config

  • Fix intermittent RCNConfigRealtime crash due to incorrect parsing of fragmented JSON (#14518).

Vertex AI in Firebase

  • The Vertex AI SDK no longer requires @preconcurrency when imported in Swift 6.
  • The Vertex AI Sample App now includes an image generation example.
  • The Vertex AI Sample App is now part of the quickstart-ios repo.
  • The role in system instructions is now ignored; no code changes are required. (#14558)

Version 11.9.0 - February 25, 2025

Analytics

  • Fixed an issue with session_start events being reported when the app is launched in the background (#12219, #12347).
  • Fixed unresponsiveness at first startup (#13961).
  • Internal code cleanup and optimizations.

Authentication

  • Using reCAPTCHA Enterprise and Firebase Auth requires reCAPTCHA Enterprise 18.7.0 or later.

Crashlytics

  • Made on-demand fatal recording thread suspension configurable through settings to improve performance and avoid an audio glitch on Unity.

Realtime Database

  • Fix connection failure issue introduced in 10.27.0 by restoring the Socket Rocket implementation instead of NSURLSessionWebSocket. Note that this may expose a Thread Performance Checker Warning (#12883). (#14188, #13877, #13855, #13529)
  • Added Sendable conformance to DataSnapshot (#14369).

Cloud Firestore

  • Fixed memory leak in Query.whereField() (#13978).

Cloud Functions

Cloud Messaging

  • Migrate FCM codebase to new NSKeyedUnarchiver APIs (#14424).

Remote Config

  • Mark internal fetchSession property as atomic to prevent a concurrency related crash (#14449).

Vertex AI in Firebase

  • Public Preview: Added support for generating images using the Imagen 3 models.

  • Added support for modality-based token count (#14406).

Version 11.8.1 - February 4, 2025

Authentication

  • Suppress deprecation build warning introduced in 11.8.0.

Version 11.8.0 - February 3, 2025

  • The zip and Carthage distributions of the Google Mobile Ads SDK with Firebase are deprecated and will be removed in the next major release. Instead, the Google Mobile Ads SDK binary distribution should be accessed from the AdMob documentation. Note that any existing versions of the Firebase zip or Carthage distributions will continue to be available and functional. Learn more about this change in our FAQ: https://firebase.google.com/docs/admob/faq-and-troubleshooting#admob-which-sdk (#14408).

Authentication

  • Added ActionCodeSettings.linkDomain to customize the Firebase Hosting link domain that is used in out-of-band email action flows.
  • Deprecated ActionCodeSettings.dynamicLinkDomain.

Cloud Firestore

  • Fixed use-after-free bug when internally formatting strings (#14306).

Cloud Messaging

  • Don't cache FCM registration token operations (#14352).

Remote Config

  • Mark completion handlers as Sendable in the RemoteConfig class. Some completions handlers were missed in the 11.7.0 update (#14257).

Version 11.7.0 - January 13, 2025

Analytics

  • Fixed verification issue with StoreKit 2 in_app_purchase events.
  • Internal code cleanup and optimizations.

Authentication

  • Fix Multi-factor session crash on second Firebase app (#14238).
  • Updated most decoders to be consistent with Firebase 10's behavior for decoding nil values (#14212).
  • Address Xcode 16.2 concurrency compile time issues (#14279).
  • Fix handling of cloud blocking function errors (#14052).
  • Fix phone auth flow to skip RCE verification if appVerificationDisabledForTesting is set (#14242).
  • Avoid over release crash by making concurrently-accessed properties atomic (#14308).

Crashlytics

  • Updated upload-symbols to version 3.20, wait for debug.dylib DWARF content getting generated when build with --build-phase option. Added debug.dylib DWARF content to run script input file list for user who enabled user script sandboxing (#14054).
  • Updated all memory allocation from malloc() to calloc() (#14209).

Cloud Firestore

  • Fixed use-after-free bug when internally formatting strings (#14306).

Remote Config

  • Mark ConfigUpdateListenerRegistration Sendable (#14215).
  • Mark completion handlers as Sendable in RemoteConfig class (#14257).
  • Added support for custom signal targeting in Remote Config. Use setCustomSignals API for setting custom signals and use them to build custom targeting conditions in Remote Config (#13976).

Version 11.6.0 - December 3, 2024

Authentication

  • Added reCAPTCHA Enterprise support for app verification during phone authentication for Firebase Authentication (#14114).
  • Restore Firebase 10 behavior by synchronizing access to the Auth.currentUser API. This resolves some Firebase 11 issues where the current user is unexpectedly nil at startup.
  • Restore Firebase 10 decoding behavior to prevent user provider data from always being decoded as nil . Note that this fix was only needed for cases where Firebase 11 was reading data written by Firebase 10 (#14011.
  • Restore Firebase 10 decoding behavior to prevent user provider data from being decoded as nil when a user has multiple linked providers. Note that this fix was only needed for cases where Firebase 11 was reading data written by Firebase 10. Note that this fix will not be in the 11.6.0 zip and Carthage distributions, but will be included from 11.6.0 onwards (#14011).

SQL Connect

  • FriendlyFlix - a comprehensive SwiftUI sample app.
  • Switched to using AppCheckInterop APIs to remove hard dependency on FirebaseAppCheck library.

Cloud Firestore

  • Add conditional Sendable conformance so ServerTimestamp<T> is Sendable if T is Sendable (#14042).

Performance Monitoring

  • Fix a crash related to registering for notifications when the app is between foreground or background states (#13174).

Vertex AI in Firebase

  • The token counts from GenerativeModel.countTokens(...) now include tokens from the schema for JSON output and function calling; reported token counts will now be higher if using these features.

Version 11.5.0 - November 12, 2024

Authentication

  • Restore pre-Firebase 11 decoding behavior to prevent users getting logged out when upgrading from Firebase 8.10.0 or earlier to Firebase 11. Note that this fix will not be in the 11.5.0 zip and Carthage distributions, but will be included from 11.6.0 onwards (#14011).
  • Restore Firebase 10 keychain error handling behavior when retrieving Firebase Auth tokens, potentially causing user sign-out on Firebase 11. Note that this fix will not be in the 11.5.0 zip and Carthage distributions, but will be included from 11.6.0 onwards (#14067).

Crashlytics

  • Updated upload-symbols to version 3.19, removed all methods requiring CFRelease and switched to modern classes (#13420).

SQL Connect

  • Support for Swift 6 strict concurrency.
  • Logging within SDKs.
  • SDK will throw errors if partial GraphQL errors are detected during operation execution.

Cloud Messaging

  • Improve token-fetch failure logging with detailed error info (#13997).

Remote Config

  • Mark two internal properties as atomic to prevent concurrency related crash (#13898).

Performance Monitoring

  • Replaced usage of the deprecated UIApplication.keyWindow property with UIWindow.isKeyWindow; this API is also available on visionOS. Note that this fix will not be in the 11.5.0 zip and Carthage distributions, but will be included from 11.6.0 onwards (#14048).

Vertex AI in Firebase

  • Fixed an issue where VertexAI.vertexAI(app: app1) and VertexAI.vertexAI(app: app2) would return the same instance if their location was the same, including the default us-central1 (#14007).
  • Removed format: "double" in Schema.double() since double-precision accuracy isn't enforced by the model; continue using the Swift Double type when decoding data produced with this schema (#13990).

Version 11.4.2 - October 23, 2024

  • CocoaPods-only release to fix iOS 12 build failure resulting from incomplete implementation in the FirebaseCoreInternal CocoaPod.

Version 11.4.1 - October 22, 2024

  • CocoaPods-only release to revert breaking change in FirebaseCoreExtension SDK (#13942).

Version 11.4.0 - October 21, 2024

  • Fixed an issue building documentation with some Firebase products (#13756).

Analytics

  • Added support for Server-side Tag Manager.
  • Fixed an issue with setDefaultEventParameters API not consistently applying default event parameters to automatic events such as first_open and session_start events.
  • Internal code cleanup and optimizations.

Authentication

  • Restored Firebase 10 behavior by ignoring nil display names used during multi factor enrollment (#13856).
  • Fixed crash when enrolling account with time-based one-time password multifactor auth (#13880).

Crashlytics

  • Updated upload-symbols to version 3.18 with support for uploading multiple DWARF contents in a dSYM bundle (#13543).

Cloud Firestore

  • Prepared Firestore cache to support session token (#13648).

Performance Monitoring

  • Fixed a crash related to thread sanitization on FPRNetworkTrace class (#13581).

Vertex AI in Firebase

  • Vertex AI in Firebase is now Generally Available (GA) and can be used in production apps (#13725).

    Use the Vertex AI in Firebase library to call the Vertex AI Gemini API directly from your app. This client library is built specifically for use with Swift apps, offering security options against unauthorized clients as well as integrations with other Firebase services.

    Note: Vertex AI in Firebase is currently only available in Swift Package Manager and CocoaPods. Stay tuned for the next release for the Zip and Carthage distributions.

  • Breaking Change: The HarmCategory enum is no longer nested inside the SafetySetting struct and the unspecified case has been removed (#13686).
  • Breaking Change: The BlockThreshold enum in SafetySetting has been renamed to HarmBlockThreshold (#13696).
  • Breaking Change: The unspecified case has been removed from the FinishReason, BlockReason and HarmProbability enums; this scenario is now handled by the existing unknown case (#13699).
  • Breaking Change: The property citationSources of CitationMetadata has been renamed to citations (#13702).
  • Breaking Change: The initializer for Schema is now internal; use the new type methods Schema.string(...), Schema.object(...), etc., instead (#13852).
  • Breaking Change: The initializer for FunctionDeclaration now accepts an array of optional parameters instead of a list of required parameters; if a parameter is not listed as optional it is assumed to be required (#13616).
  • Breaking Change: CountTokensResponse.totalBillableCharacters is now optional (Int?); it may be null in cases such as when a GenerateContentRequest contains only images or other non-text content (#13721).
  • Breaking Change: The ImageConversionError enum is no longer public; image conversion errors are still reported as GenerateContentError.promptImageContentError (#13735).
  • Breaking Change: The CountTokensError enum has been removed; errors occurring in GenerativeModel.countTokens(...) are now thrown directly instead of being wrapped in a CountTokensError.internalError (#13736).
  • Breaking Change: The enum ModelContent.Part has been replaced with a protocol named Part to avoid future breaking changes with new part types. The new types TextPart and FunctionCallPart may be received when generating content; additionally the types InlineDataPart, FileDataPart and FunctionResponsePart may be provided as input (#13767).
  • Breaking Change: All initializers for ModelContent now require the label parts: (#13832).
  • Breaking Change: HarmCategory, HarmProbability, and FinishReason are now structs instead of enums types and the unknown cases have been removed; in a switch statement, use the default: case to cover unknown or unhandled values (#13728, #13854, #13860).
  • Breaking Change: The Tool initializer is now internal; use the new type method functionDeclarations(_:) to create a Tool for function calling (#13873).
  • Breaking Change: The FunctionCallingConfig initializer and Mode enum are now internal; use one of the new type methods auto(), any(allowedFunctionNames:), or none() to create a config (#13873).
  • Breaking Change: The CandidateResponse type is now named Candidate. (#13897)
  • Breaking Change: The minimum deployment target for the SDK is now macOS 12.0; all other platform minimums remain the same at iOS 15.0, macCatalyst 15.0, tvOS 15.0, and watchOS 8.0 (#13903).
  • Breaking Change: All of the public properties of GenerationConfig are now internal; they all remain configurable in the initializer (#13904).
  • The default request timeout is now 180 seconds instead of the platform-default value of 60 seconds for a URLRequest; this timeout may still be customized in RequestOptions (#13722).
  • The response from GenerativeModel.countTokens(...) now includes systemInstruction, tools and generationConfig in the totalTokens and totalBillableCharacters counts, where applicable (#13813).
  • Added a new HarmCategory .civicIntegrity for filtering content that may be used to harm civic integrity. (#13728)
  • Added probabilityScore, severity and severityScore in SafetyRating to provide more fine-grained detail on blocked responses (#13875).
  • Added a new HarmBlockThreshold .off, which turns off the safety filter (#13863).
  • Added an optional HarmBlockMethod parameter method in SafetySetting that configures whether responses are blocked based on the probability and/or severity of content being in a HarmCategory (#13876).
  • Added new FinishReason values .blocklist, .prohibitedContent, .spii and .malformedFunctionCall that may be reported (#13860).
  • Added new BlockReason values .blocklist and .prohibitedContent that may be reported when a prompt is blocked (#13861).
  • Added the PromptFeedback property blockReasonMessage that may be provided alongside the blockReason (#13891).
  • Added an optional publicationDate property that may be provided in Citation (#13893).
  • Added presencePenalty and frequencyPenalty parameters to GenerationConfig (#13899).

Version 11.3.0 - September 30, 2024

Analytics

  • Fixed an issue with the Crashlytics integration that prevented automatic screen_view events from being sent as breadcrumb logs.
  • Internal code cleanup and optimizations.

Authentication

  • Restore Firebase 10 behavior by querying with the kSecAttrSynchronizable key when auth state is set to be shared across devices (#13584).
  • Prevent a bad memory access crash by using non-ObjC Swift types in the SDK's networking layer, and moving synchronous work off of the shared Swift concurrency queue (#13650).
  • Restore Firebase 10 behavior by forwarding errors from interrupted reCAPTCHA or OIDC login flows (#13645).

SQL Connect

  • Initial public preview release of the SDK. For more information see the Firebase Data Connect documentation.

Cloud Firestore

  • Improve efficiency of memory persistence when processing a large number of writes (#13572).

Version 11.2.0 - September 10, 2024

Authentication

  • Fixed crashes that could occur in Swift continuation blocks running in the Xcode 16 betas (#13480).
  • Fixed Phone Auth using Sandbox APNS tokens that broke in 11.0.0 (#13479).
  • Fixed crash when fetching sign in methods due to unexpected nil. Previously, fetching sign in methods could return both a nil array of sign in methods and a nil error. In such cases, an empty array is instead returned with the nil error (#13550).
  • Fixed user session persistence in multi tenant projects. Introduced in 11.0.0 (#13565).
  • Fixed encoding crash that occurs when using TOTP multi-factor authentication. Note that this fix isn't in the 11.2.0 zip and Carthage distributions, but will be included from 11.3.0 onwards (#13591).

Realtime Database

  • Fix temporary disconnects when the app goes inactive. The issue was introduced in 10.27.0 (#13529).

Cloud Firestore

  • Marked all public classes with only readonly properties as Sendable to address Swift Concurrency Check warning (#12666).

Vertex AI in Firebase

  • Resolved a decoding error for citations without a uri and added support for decoding title fields, which were previously ignored (#13518).
  • Breaking Change: The methods for starting streaming requests (generateContentStream and sendMessageStream) are now throwing and asynchronous and must be called with try await (#13545, #13573).
  • Breaking Change: Creating a chat instance (startChat) is now asynchronous and must be called with await (#13545).
  • Breaking Change: The source image in the ImageConversionError.couldNotConvertToJPEG error case is now an enum value instead of the Any type (#13575).
  • Added support for specifying a JSON responseSchema in GenerationConfig; see control generated output for more details (#13576).

Version 11.1.0 - August 19, 2024

Analytics

  • Fixed an issue related to the enforcement of event parameter value character limits during an app's first open.
  • Internal code cleanup and optimizations.

Authentication

  • Fixed Swift.error conformance for AuthErrorCode (#13430).
  • Added custom provider support to AuthProviderID. Note that this change will be breaking to any code that implemented an exhaustive switch on AuthProviderID in 11.0.0 - the switch will need expansion (#13429).
  • Fix crash introduced in 11.0.0 in phone authentication flow from implicitly unwrapping nil error after a token timeout (#13470).
  • Objective-C only: [OAuthProvider getCredentialWithUIDelegate] was not calling its completion handler in the main thread. Regressed in 11.0.0. The fix is only for CocoaPods and Swift Package Manager. The zip and Carthage fix will roll out in 11.2.0 (firebase/FirebaseUI-iOS#1199).

Cloud Firestore

  • Add VectorValue type support.

Cloud Storage

  • Fix a potential data race in Storage initialization (#13369).

Version 11.0.0 - July 30, 2024

  • Breaking change: Firebase's minimum supported versions have updated for the following platforms:
    • PlatformFirebase 11
      iOS13.0
      tvOS13.0
      macOS10.15
      watchOS7.0
    • FirebaseAnalytics and FirebaseCrashlytics also continue to support iOS 12.0.
  • Breaking change: The deprecated Swift extension SDKs for Analytics, Firestore, Database, Remote Config and In App Messaging have been removed. See our migration guide.
  • Update underlying FIRLogger implementation from asl to os_log.
  • Remove FIRLoggerForceSTDERR configuration option.
  • Move Timestamp class into FirebaseCore. FirebaseFirestore.Timestamp was changed to FirebaseCore.Timestamp (#13221).

Analytics

  • Breaking change: The deprecated FirebaseAnalyticsSwift module has been removed. See our migration guide.
  • Internal code cleanup and optimizations.

Authentication

  • Fixed auth domain matching code to prioritize matching firebaseapp.com over web.app even if the server returns the web.app domain listed first (#7992).
  • Introduced the Swift enum AuthProviderID for the Auth Provider IDs (#9236).
  • Swift APIs using String-typed productIDs have been deprecated in favor of newly added API that leverages the AuthProviderID enum.
  • Breaking change: The email property in ActionCodeInfo is now non-optional.

Realtime Database

  • Breaking change: The deprecated FirebaseDatabaseSwift module has been removed. See our migration guide.
  • Socket Rocket has been removed from the implementation. There should be no impact on functionality (#13100).

Cloud Firestore

  • Breaking change: The deprecated FirebaseFirestoreSwift module has been removed. See our migration guide.
  • Breaking change: LRU Garbage Collector is now the default GC for memory cache, eager GC is now opt-in (via MemoryCacheSettings(garbageCollectorSettings: MemoryEagerGCSettings())) instead of the default one.
  • Move Timestamp class into FirebaseCore. FirebaseFirestore.Timestamp was changed to FirebaseCore.Timestamp (#13221).
  • Update gRPC dependency to 1.65.

Firebase In‑App Messaging

  • Breaking change: The deprecated FirebaseInAppMessagingSwift module has been removed. See our migration guide.
  • Breaking Change: The following Swift API have been renamed:
    • FIRInAppMessagingDismissType → InAppMessagingDismissType
    • FIRInAppMessagingDisplayMessageType → InAppMessagingDisplayMessageType
    • FIRInAppMessagingDisplayTriggerType → InAppMessagingDisplayTriggerType
    • FIAMDisplayRenderErrorType → InAppMessagingDisplayRenderError Note that InAppMessagingDisplayRenderError is now a native Swift error and can be directly caught (instead of catching an NSError and checking the error code).

Cloud Messaging

  • Completed Messaging's transition to NSSecureCoding (#12343).

Remote Config

  • RemoteConfigValue.stringValue is now nonnull. This may break some builds (#10870).
  • Breaking change: The deprecated FirebaseRemoteConfigSwift module has been removed. See our migration guide.

Cloud Storage

  • Updated error handling to support both Swift error enum handling and NSError error handling. Some of the Swift enums have additional parameters which may be a breaking change. There are additional NSError's for completeness, but nothing related to NSError handling is breaking. (#13071, #10889, #13114)

Version 10.29.0 - July 8, 2024

Cloud Messaging

  • Renamed "initWithFileName" internal method that was causing submission issues for some users (#13134).
  • Fixed the APS Environment key on visionOS (#13173).

Vertex AI in Firebase

  • Added community support for watchOS (#13215).

Version 10.28.1 - June 24, 2024

Crashlytics

  • Reverted "Add SIGTERM support (#12881)" introduced in version 10.27.0 (#13117).

Version 10.28.0 - June 17, 2024

Analytics

  • Added a new default consent state ("eu_consent_policy") for ad_user_data and ad_personalization consent types.

Crashlytics

  • Created a new queue for rollouts persistence writes and made sure rollouts logging queue is not nil while dispatching (#12913).

Performance Monitoring

  • Fix Crash from InstrumentUploadTaskWithStreamedRequest (#12983).
  • Replace SystemConfiguration with a more recent network monitoring API by Apple (#13079).

Vertex AI in Firebase

  • Removed uses of the gemini-1.5-flash-preview-0514 model in docs and samples. Developers should now use the auto-updated versions, gemini-1.5-pro or gemini-1.5-flash, or a specific stable version; see available model names for more details (#13099).
  • Added community support for tvOS and visionOS (#13090, #13092).

Version 10.27.0 - May 29, 2024

App Check

  • CocoaPods: missing symbol error for FIRGetLoggerLevel (#12899).

Analytics

  • Fixed an issue that prevented manually-logged ad impression events from activating Firebase A/B Testing experiments.
  • Internal code cleanup.

Crashlytics

  • Added support for catching the SIGTERM signal (#12881).
  • Fixed a thread blocking when persisting Remote Config Rollouts to disk (#12913).

Realtime Database

  • Update internal socket implementation to use NSURLSessionWebSocket where available (#12883).

Firebase In‑App Messaging

  • Fixed crash at app start that affected CocoaPods users using static frameworks (#12882).

Cloud Messaging

  • Fixed bug preventing Messaging from working with a custom sqlite3 dependency (#12900).

Vertex AI in Firebase

  • Removed uses of the gemini-1.5-pro-preview-0409 model in docs and samples. Developers should now use gemini-1.5-pro-preview-0514 or gemini-1.5-flash-preview-0514; see available model names for more details (#12979).
  • Logged additional details when required APIs for Vertex AI are not enabled or response payloads when requests fail (#13007, #13009).

Version 10.26.0 - May 13, 2024

This release is available via Swift Package Manager only.

Firebase In‑App Messaging

  • Fixed crash at app start that affected SwiftPM users (#12882).

Vertex AI in Firebase

  • Initial release of the Vertex AI in Firebase SDK (public preview). Learn how to get started with the SDK in your app.

Version 10.25.0 - April 30, 2024

  • Firebase now requires at least Xcode 15.2. See Apple's website for more info.
  • [Zip Distribution] Update zip integration instructions with tips for preserving symlinks and protecting code signatures.

Analytics

App Check

  • Removed usages of user defaults API to eliminate required reason impact.

Crashlytics

  • Removed usages of user defaults API from internal Firebase Sessions dependency to eliminate required reason impact.

Realtime Database

  • Removed usages of user defaults API to eliminate required reason impact.

Cloud Firestore

  • Allow blob of data with zero length (#11773, #12620).
  • Passing a non-nil value to the @DocumentID property wrapper's setter no longer logs a warning since it discouraged valid patterns, e.g., updating the document ID after the document is created in Firestore (#12756).

Firebase In‑App Messaging

  • Removed usages of user defaults API to eliminate required reason impact.
  • When installing In App Messaging via the zip distribution, its UI resource bundle is now embedded within the In App Messaging framework. Choose Embed & Sign when integrating the framework. See the zip distribution's README.md for more instructions.

Performance Monitoring

  • Removed usages of user defaults API to eliminate required reason impact.

Remote Config

  • Fixed bug preventing Remote Config from working with a custom sqlite3 dependency (#10884).

Version 10.24.0 - April 9, 2024

  • Fixed validation issue for macOS and macCatalyst XCFrameworks related to framework directory structure (#12587).
  • Extend community watchOS support to zip and Carthage distributions. See our platform documentation for more details for the Firebase products included (#8731).
  • Added code signatures to all of Firebase's binary artifacts (#12238).

Analytics

  • Internal code cleanup.

Crashlytics

  • Fixed 'FirebaseCrashlytics/FirebaseCrashlytics-Swift.h' file not found errors (#12611).
  • Removed usages of mach_absolute_time to reduce required reason impact.

Cloud Firestore

  • Enabled queries with range & inequality filters on multiple fields (#12416).

Cloud Storage

  • putFile and putFileAsync now work in app extensions. A background session configuration is not used when uploading from an app extension (#12579).

Version 10.23.1 - March 28, 2024

  • [Swift Package Manager / CocoaPods] Fixed the macOS/Catalyst xcframework structure issue in Firebase Analytics blocking submission via Xcode 15.3.

Analytics

  • Fixed crash in NSString(Bit) isBitEnabledAtIndex (#12614).
  • Fixed missing symbols in GoogleAppMeasurementOnDeviceConversion (regression introduced by 10.22.1).

Version 10.23.0 - March 19, 2024

  • Fixed an app validation issue for macOS and macCatalyst XCFrameworks (#12505).

Analytics

Crashlytics

  • Updated upload-symbols to 13.7 with Vision Pro build phase support (#12306).
  • Added support for Crashlytics to report metadata about Remote Config keys and values.

Cloud Firestore

  • Enable snapshot listener option to retrieve data from local cache only (#12370).
  • Update gRPC dependency to 1.62.* (#12098, #12021).
  • Firestore's binary Swift Package Manager distribution now uses XCFrameworks with code signatures (#12238).

Cloud Messaging

  • CocoaPods only: Fixed "no rule" warning when running pod install (#12511).

Remote Config

  • Added support for other Firebase products to integrate with Remote Config.

Version 10.22.1 - March 7, 2024

  • Swift Package Manager and CocoaPods only: Fixed app validation issues on Xcode 15.3 for those using the FirebaseAnalyticsOnDeviceConversion SDK. This issue was caused by embedding an incomplete Info.plist from a dependency of the SDK (#12441).

Version 10.22.0 - March 4, 2024

  • Added privacy manifests for Firebase SDKs named in https://developer.apple.com/support/third-party-SDK-requirements/. Review https://firebase.google.com/docs/ios/app-store-data-collection for updated guidance on interpreting Firebase's privacy manifests and completing app Privacy Nutrition Labels (#11490).
  • Revert Firebase 10.20.0 change that removed Info.plist files from static xcframeworks (#12390).
  • Fixed validation issues in Xcode 15.3 that affected binary distributions including Analytics, Firestore (SwiftPM binary distribution), and the Firebase zip distribution (#12441).

Swift Package Manager

  • Firebase now enforces a Swift 5.7.1 minimum version, which is aligned with the Xcode 14.1 minimum (#12350).

Zip Distribution

  • The manual integration instructions found in the Firebase.zip have been updated for Xcode 15 users. The updated instructions call for embedding SDKs dragged in from the Firebase.zip. This will enable Xcode's tooling to detect privacy manifests bundled within the xcframework.
  • Several xcframeworks have been renamed to resolve the Xcode 15.3 validation issues. Ensure that the following renamed xcframeworks are removed from your project when upgrading (#12437, #12447):
    • abseil.xcframework to absl.xcframework
    • BoringSSL-GRPC.xcframework to openssl_grpc.xcframework
    • gRPC-Core.xcframework to grpc.xcframework
    • gRPC-C++.xcframework to grpcpp.xcframework
    • leveldb-library.xcframework to leveldb.xcframework
    • PromisesSwift.xcframework to Promises.xcframework

Analytics

  • Added on-device conversion measurement support for hashed email address or hashed phone numbers with initiateOnDeviceConversionMeasurement(hashedEmailAddress:) and initiateOnDeviceConversionMeasurement(hashedPhoneNumber:) API, respectively.
  • Fixed a memory leak (#11071).

Crashlytics

  • Crashlytics now forces validation or rotation of FIDs for FirebaseSessions.
  • Removed calls to statfs in the Crashlytics SDK to comply with Apple Privacy Manifests. This change removes support for collecting Disk Space Free in Crashlytics reports.
  • Fixed FirebaseSessions crash on startup that occurs in release mode in Xcode 15.3 and other build configurations (#11403).

Cloud Firestore

  • Fixed flaky offline behavior when using arrayRemove on Map objects (#12378).

Firebase In‑App Messaging

  • Fixed an objc_retain crash (#12393).

Version 10.21.0 - February 6, 2024

Firebase now requires at least CocoaPods version 1.12.0 to enable privacy manifest support.

Analytics

  • Internal code cleanup.

Authentication

  • Fixed multifactor resolver to use the correct Auth instance instead of always using the default (#12265).

Cloud Firestore

  • Added an error when trying to build Firestore's binary SPM distribution for visionOS (#12279). See Firestore's 10.12.0 release note for a supported workaround.

Version 10.20.0 - January 16, 2024

The following change only applies to those using a binary distribution of a Firebase SDK(s): In preparation for supporting Privacy Manifests, each platform framework directory within a static xcframework no longer contains an Info.plist file (#12243).

Analytics

  • Increased parameter value character limit for Google Analytics 360 properties.
  • Updated module map of GoogleAppMeasurementOnDeviceConversion.

Cloud Messaging

  • Fixed a 10.19.0 regression where the FCM registration token was nil at first app start after update from 10.19.0 or earlier (#12245).

Archived release notes

Release notes for 2016-2023 are in the release notes archive. The following list links to each archived entry.