diff --git a/Android/firebase_dependencies.gradle b/Android/firebase_dependencies.gradle index b5d28e275..4e6ee35ce 100644 --- a/Android/firebase_dependencies.gradle +++ b/Android/firebase_dependencies.gradle @@ -159,7 +159,7 @@ project.afterEvaluate { // Add the bill-of-materials project.dependencies { - implementation platform('com.google.firebase:firebase-bom:33.5.1') + implementation platform('com.google.firebase:firebase-bom:33.7.0') } for (String lib : firebaseCpp.dependencies.libSet) { // Generate and include the proguard file diff --git a/analytics/integration_test/Podfile b/analytics/integration_test/Podfile index 83b48e29d..a34900507 100644 --- a/analytics/integration_test/Podfile +++ b/analytics/integration_test/Podfile @@ -5,12 +5,12 @@ use_frameworks! :linkage => :static target 'integration_test' do platform :ios, '13.0' - pod 'Firebase/Analytics', '11.4.2' + pod 'Firebase/Analytics', '11.6.0' end target 'integration_test_tvos' do platform :tvos, '13.0' - pod 'Firebase/Analytics', '11.4.2' + pod 'Firebase/Analytics', '11.6.0' end post_install do |installer| diff --git a/analytics/ios_headers/FIREventNames.h b/analytics/ios_headers/FIREventNames.h index 503d00ca9..a5e3b209a 100644 --- a/analytics/ios_headers/FIREventNames.h +++ b/analytics/ios_headers/FIREventNames.h @@ -1,6 +1,6 @@ // Copyright 2024 Google LLC -// Copied from Firebase Analytics iOS SDK 11.4.2. +// Copied from Firebase Analytics iOS SDK 11.6.0. /// @file FIREventNames.h /// diff --git a/analytics/ios_headers/FIRParameterNames.h b/analytics/ios_headers/FIRParameterNames.h index a9cf4b1b3..abecd0c5d 100644 --- a/analytics/ios_headers/FIRParameterNames.h +++ b/analytics/ios_headers/FIRParameterNames.h @@ -1,6 +1,6 @@ // Copyright 2024 Google LLC -// Copied from Firebase Analytics iOS SDK 11.4.2. +// Copied from Firebase Analytics iOS SDK 11.6.0. /// @file FIRParameterNames.h /// diff --git a/analytics/ios_headers/FIRUserPropertyNames.h b/analytics/ios_headers/FIRUserPropertyNames.h index 31afa2832..64ce75a35 100644 --- a/analytics/ios_headers/FIRUserPropertyNames.h +++ b/analytics/ios_headers/FIRUserPropertyNames.h @@ -1,6 +1,6 @@ // Copyright 2024 Google LLC -// Copied from Firebase Analytics iOS SDK 11.4.2. +// Copied from Firebase Analytics iOS SDK 11.6.0. /// @file FIRUserPropertyNames.h /// diff --git a/app/app_resources/build.gradle b/app/app_resources/build.gradle index 0856f18af..e7e1b054b 100644 --- a/app/app_resources/build.gradle +++ b/app/app_resources/build.gradle @@ -56,7 +56,7 @@ android { } dependencies { - implementation platform('com.google.firebase:firebase-bom:33.5.1') + implementation platform('com.google.firebase:firebase-bom:33.7.0') implementation 'com.google.firebase:firebase-analytics' } diff --git a/app/google_api_resources/build.gradle b/app/google_api_resources/build.gradle index 3b78edcfd..044feb23b 100644 --- a/app/google_api_resources/build.gradle +++ b/app/google_api_resources/build.gradle @@ -59,7 +59,7 @@ android { } dependencies { - implementation platform('com.google.firebase:firebase-bom:33.5.1') + implementation platform('com.google.firebase:firebase-bom:33.7.0') implementation 'com.google.firebase:firebase-analytics' implementation 'com.google.android.gms:play-services-base:18.5.0' implementation project(':app:app_resources') diff --git a/app/integration_test/Podfile b/app/integration_test/Podfile index fec257183..155f359d7 100644 --- a/app/integration_test/Podfile +++ b/app/integration_test/Podfile @@ -4,7 +4,7 @@ platform :ios, '13.0' use_frameworks! :linkage => :static target 'integration_test' do - pod 'Firebase/Analytics', '11.4.2' + pod 'Firebase/Analytics', '11.6.0' end post_install do |installer| diff --git a/app/invites_resources/build.gradle b/app/invites_resources/build.gradle index 0d5b80f4d..62510412b 100644 --- a/app/invites_resources/build.gradle +++ b/app/invites_resources/build.gradle @@ -55,7 +55,7 @@ android { } dependencies { - implementation platform('com.google.firebase:firebase-bom:33.5.1') + implementation platform('com.google.firebase:firebase-bom:33.7.0') implementation 'com.google.firebase:firebase-analytics' implementation 'com.google.firebase:firebase-dynamic-links' implementation project(':app:app_resources') diff --git a/app_check/app_check_resources/build.gradle b/app_check/app_check_resources/build.gradle index 74190cb92..51de09b1c 100644 --- a/app_check/app_check_resources/build.gradle +++ b/app_check/app_check_resources/build.gradle @@ -55,7 +55,7 @@ android { } dependencies { - implementation platform('com.google.firebase:firebase-bom:33.5.1') + implementation platform('com.google.firebase:firebase-bom:33.7.0') implementation 'com.google.firebase:firebase-appcheck' } diff --git a/app_check/integration_test/Podfile b/app_check/integration_test/Podfile index 6cabf78af..d5b164283 100644 --- a/app_check/integration_test/Podfile +++ b/app_check/integration_test/Podfile @@ -4,20 +4,20 @@ use_frameworks! :linkage => :static target 'integration_test' do platform :ios, '13.0' - pod 'Firebase/AppCheck', '11.4.2' - pod 'Firebase/Database', '11.4.2' - pod 'Firebase/Auth', '11.4.2' - pod 'Firebase/Storage', '11.4.2' - pod 'Firebase/Functions', '11.4.2' + pod 'Firebase/AppCheck', '11.6.0' + pod 'Firebase/Database', '11.6.0' + pod 'Firebase/Auth', '11.6.0' + pod 'Firebase/Storage', '11.6.0' + pod 'Firebase/Functions', '11.6.0' end target 'integration_test_tvos' do platform :tvos, '13.0' - pod 'Firebase/AppCheck', '11.4.2' - pod 'Firebase/Database', '11.4.2' - pod 'Firebase/Auth', '11.4.2' - pod 'Firebase/Storage', '11.4.2' - pod 'Firebase/Functions', '11.4.2' + pod 'Firebase/AppCheck', '11.6.0' + pod 'Firebase/Database', '11.6.0' + pod 'Firebase/Auth', '11.6.0' + pod 'Firebase/Storage', '11.6.0' + pod 'Firebase/Functions', '11.6.0' end post_install do |installer| diff --git a/auth/auth_resources/build.gradle b/auth/auth_resources/build.gradle index 6ee4c212d..89664f17b 100644 --- a/auth/auth_resources/build.gradle +++ b/auth/auth_resources/build.gradle @@ -55,7 +55,7 @@ android { } dependencies { - implementation platform('com.google.firebase:firebase-bom:33.5.1') + implementation platform('com.google.firebase:firebase-bom:33.7.0') implementation 'com.google.firebase:firebase-analytics' implementation 'com.google.firebase:firebase-auth' implementation project(':app:app_resources') diff --git a/auth/integration_test/Podfile b/auth/integration_test/Podfile index 2ae115c43..970a6842c 100644 --- a/auth/integration_test/Podfile +++ b/auth/integration_test/Podfile @@ -4,12 +4,12 @@ use_frameworks! :linkage => :static target 'integration_test' do platform :ios, '13.0' - pod 'Firebase/Auth', '11.4.2' + pod 'Firebase/Auth', '11.6.0' end target 'integration_test_tvos' do platform :tvos, '13.0' - pod 'Firebase/Auth', '11.4.2' + pod 'Firebase/Auth', '11.6.0' end post_install do |installer| diff --git a/cmake/external/firestore.cmake b/cmake/external/firestore.cmake index 04ea88653..ba73012c8 100644 --- a/cmake/external/firestore.cmake +++ b/cmake/external/firestore.cmake @@ -20,7 +20,7 @@ endif() # If the format of the line below changes, then be sure to update # https://github.com/firebase/firebase-cpp-sdk/blob/fd054fa016/.github/workflows/update-dependencies.yml#L81 -set(version CocoaPods-11.4.2) +set(version CocoaPods-11.6.0) function(GetReleasedDep) message("Getting released firebase-ios-sdk @ ${version}") diff --git a/cpp_sdk_version.json b/cpp_sdk_version.json index 874c94002..f0d0f01c8 100644 --- a/cpp_sdk_version.json +++ b/cpp_sdk_version.json @@ -1,5 +1,5 @@ { - "released": "12.4.0", - "stable": "12.4.0", - "head": "12.4.0" + "released": "12.5.0", + "stable": "12.5.0", + "head": "12.5.0" } diff --git a/database/database_resources/build.gradle b/database/database_resources/build.gradle index 561e2645b..609199c89 100644 --- a/database/database_resources/build.gradle +++ b/database/database_resources/build.gradle @@ -51,7 +51,7 @@ android { } dependencies { - implementation platform('com.google.firebase:firebase-bom:33.5.1') + implementation platform('com.google.firebase:firebase-bom:33.7.0') implementation 'com.google.firebase:firebase-analytics' implementation 'com.google.firebase:firebase-database' //implementation project(':app:app_resources') diff --git a/database/integration_test/Podfile b/database/integration_test/Podfile index 8c3e617db..0c67e8295 100644 --- a/database/integration_test/Podfile +++ b/database/integration_test/Podfile @@ -4,14 +4,14 @@ use_frameworks! :linkage => :static target 'integration_test' do platform :ios, '13.0' - pod 'Firebase/Database', '11.4.2' - pod 'Firebase/Auth', '11.4.2' + pod 'Firebase/Database', '11.6.0' + pod 'Firebase/Auth', '11.6.0' end target 'integration_test_tvos' do platform :tvos, '13.0' - pod 'Firebase/Database', '11.4.2' - pod 'Firebase/Auth', '11.4.2' + pod 'Firebase/Database', '11.6.0' + pod 'Firebase/Auth', '11.6.0' end post_install do |installer| diff --git a/dynamic_links/integration_test/Podfile b/dynamic_links/integration_test/Podfile index 700dc5c80..152996160 100644 --- a/dynamic_links/integration_test/Podfile +++ b/dynamic_links/integration_test/Podfile @@ -5,7 +5,7 @@ use_frameworks! :linkage => :static target 'integration_test' do platform :ios, '13.0' - pod 'Firebase/DynamicLinks', '11.4.2' + pod 'Firebase/DynamicLinks', '11.6.0' end post_install do |installer| diff --git a/firestore/firestore_resources/build.gradle b/firestore/firestore_resources/build.gradle index ac7406eac..8e4bfd44f 100644 --- a/firestore/firestore_resources/build.gradle +++ b/firestore/firestore_resources/build.gradle @@ -59,7 +59,7 @@ android { } dependencies { - implementation platform('com.google.firebase:firebase-bom:33.5.1') + implementation platform('com.google.firebase:firebase-bom:33.7.0') implementation 'com.google.firebase:firebase-analytics' implementation 'com.google.firebase:firebase-firestore' } diff --git a/firestore/integration_test/Podfile b/firestore/integration_test/Podfile index 59dca3a1f..793525be1 100644 --- a/firestore/integration_test/Podfile +++ b/firestore/integration_test/Podfile @@ -4,14 +4,14 @@ use_frameworks! :linkage => :static target 'integration_test' do platform :ios, '13.0' - pod 'Firebase/Firestore', '11.4.2' - pod 'Firebase/Auth', '11.4.2' + pod 'Firebase/Firestore', '11.6.0' + pod 'Firebase/Auth', '11.6.0' end target 'integration_test_tvos' do platform :tvos, '13.0' - pod 'Firebase/Firestore', '11.4.2' - pod 'Firebase/Auth', '11.4.2' + pod 'Firebase/Firestore', '11.6.0' + pod 'Firebase/Auth', '11.6.0' end post_install do |installer| diff --git a/firestore/integration_test_internal/Podfile b/firestore/integration_test_internal/Podfile index 1690d43f2..bd0be435c 100644 --- a/firestore/integration_test_internal/Podfile +++ b/firestore/integration_test_internal/Podfile @@ -4,14 +4,14 @@ use_frameworks! :linkage => :static target 'integration_test' do platform :ios, '13.0' - pod 'Firebase/Firestore', '11.4.2' - pod 'Firebase/Auth', '11.4.2' + pod 'Firebase/Firestore', '11.6.0' + pod 'Firebase/Auth', '11.6.0' end target 'integration_test_tvos' do platform :tvos, '13.0' - pod 'Firebase/Firestore', '11.4.2' - pod 'Firebase/Auth', '11.4.2' + pod 'Firebase/Firestore', '11.6.0' + pod 'Firebase/Auth', '11.6.0' end post_install do |installer| diff --git a/functions/integration_test/Podfile b/functions/integration_test/Podfile index 757757c29..2edf6d83d 100644 --- a/functions/integration_test/Podfile +++ b/functions/integration_test/Podfile @@ -4,14 +4,14 @@ use_frameworks! :linkage => :static target 'integration_test' do platform :ios, '13.0' - pod 'Firebase/Functions', '11.4.2' - pod 'Firebase/Auth', '11.4.2' + pod 'Firebase/Functions', '11.6.0' + pod 'Firebase/Auth', '11.6.0' end target 'integration_test_tvos' do platform :tvos, '13.0' - pod 'Firebase/Functions', '11.4.2' - pod 'Firebase/Auth', '11.4.2' + pod 'Firebase/Functions', '11.6.0' + pod 'Firebase/Auth', '11.6.0' end post_install do |installer| diff --git a/gma/gma_resources/build.gradle b/gma/gma_resources/build.gradle index c2d573138..fab9d20e9 100644 --- a/gma/gma_resources/build.gradle +++ b/gma/gma_resources/build.gradle @@ -56,7 +56,7 @@ android { } dependencies { - implementation platform('com.google.firebase:firebase-bom:33.5.1') + implementation platform('com.google.firebase:firebase-bom:33.7.0') implementation 'com.google.firebase:firebase-analytics' implementation 'com.google.android.gms:play-services-ads:23.0.0' implementation 'com.google.android.ump:user-messaging-platform:2.2.0' diff --git a/gma/integration_test/Podfile b/gma/integration_test/Podfile index c888e005d..23b9a3dee 100644 --- a/gma/integration_test/Podfile +++ b/gma/integration_test/Podfile @@ -5,7 +5,7 @@ use_frameworks! :linkage => :static target 'integration_test' do platform :ios, '13.0' - pod 'Firebase/CoreOnly', '11.4.2' + pod 'Firebase/CoreOnly', '11.6.0' pod 'Google-Mobile-Ads-SDK', '11.2.0' pod 'GoogleUserMessagingPlatform', '2.3.0' end diff --git a/installations/integration_test/Podfile b/installations/integration_test/Podfile index 636df8347..6ff4d2168 100644 --- a/installations/integration_test/Podfile +++ b/installations/integration_test/Podfile @@ -5,8 +5,8 @@ use_frameworks! :linkage => :static target 'integration_test' do platform :ios, '13.0' - pod 'Firebase/Analytics', '11.4.2' - pod 'Firebase/Installations', '11.4.2' + pod 'Firebase/Analytics', '11.6.0' + pod 'Firebase/Installations', '11.6.0' end post_install do |installer| diff --git a/ios_pod/Podfile b/ios_pod/Podfile index 3bb1b4156..6f5603b8b 100644 --- a/ios_pod/Podfile +++ b/ios_pod/Podfile @@ -3,22 +3,22 @@ platform :ios, '13.0' use_frameworks! target 'GetPods' do - pod 'Firebase/Core', '11.4.2' + pod 'Firebase/Core', '11.6.0' pod 'Google-Mobile-Ads-SDK', '11.2.0' pod 'GoogleUserMessagingPlatform', '2.3.0' - pod 'Firebase/Analytics', '11.4.2' - pod 'Firebase/AppCheck', '11.4.2' - pod 'Firebase/Auth', '11.4.2' - pod 'Firebase/Crashlytics', '11.4.2' - pod 'Firebase/Database', '11.4.2' - pod 'Firebase/DynamicLinks', '11.4.2' - pod 'Firebase/Firestore', '11.4.2' - pod 'Firebase/Functions', '11.4.2' - pod 'Firebase/Installations', '11.4.2' - pod 'Firebase/Messaging', '11.4.2' - pod 'Firebase/RemoteConfig', '11.4.2' - pod 'Firebase/Storage', '11.4.2' + pod 'Firebase/Analytics', '11.6.0' + pod 'Firebase/AppCheck', '11.6.0' + pod 'Firebase/Auth', '11.6.0' + pod 'Firebase/Crashlytics', '11.6.0' + pod 'Firebase/Database', '11.6.0' + pod 'Firebase/DynamicLinks', '11.6.0' + pod 'Firebase/Firestore', '11.6.0' + pod 'Firebase/Functions', '11.6.0' + pod 'Firebase/Installations', '11.6.0' + pod 'Firebase/Messaging', '11.6.0' + pod 'Firebase/RemoteConfig', '11.6.0' + pod 'Firebase/Storage', '11.6.0' end diff --git a/ios_pod/swift_headers/FirebaseAnalytics-Swift.h b/ios_pod/swift_headers/FirebaseAnalytics-Swift.h index 62044c512..1d56fc3a1 100644 --- a/ios_pod/swift_headers/FirebaseAnalytics-Swift.h +++ b/ios_pod/swift_headers/FirebaseAnalytics-Swift.h @@ -1,7 +1,7 @@ #if 0 #elif defined(__arm64__) && __arm64__ // Copyright 2024 Google LLC -// Copied from Firebase iOS SDK 11.2.0. +// Copied from Firebase iOS SDK 11.6.0. // Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 // clang-1500.1.0.2.5) @@ -338,7 +338,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #elif defined(__x86_64__) && __x86_64__ // Copyright 2024 Google LLC -// Copied from Firebase iOS SDK 11.2.0. +// Copied from Firebase iOS SDK 11.6.0. // Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 // clang-1500.1.0.2.5) diff --git a/ios_pod/swift_headers/FirebaseAuth-Swift.h b/ios_pod/swift_headers/FirebaseAuth-Swift.h index 3acf4d0fd..1056048cf 100644 --- a/ios_pod/swift_headers/FirebaseAuth-Swift.h +++ b/ios_pod/swift_headers/FirebaseAuth-Swift.h @@ -1,7 +1,7 @@ #if 0 #elif defined(__arm64__) && __arm64__ // Copyright 2024 Google LLC -// Copied from Firebase iOS SDK 11.2.0. +// Copied from Firebase iOS SDK 11.6.0. // Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 // clang-1500.1.0.2.5) @@ -398,8 +398,8 @@ SWIFT_CLASS_NAMED("ActionCodeSettings") /// install the app, and the minimum Android version supported. If /// installIfNotAvailable is set to true and the link /// is opened on an android device, it will try to install the app if not -/// already available. Otherwise the web URL is used. \param androidPackageName -/// The Android package name. +/// already available. Otherwise the web URL is used. +/// \param androidPackageName The Android package name. /// /// \param installIfNotAvailable Indicates whether or not the app should be /// installed if not available. @@ -428,8 +428,8 @@ SWIFT_CLASS_NAMED("ActionCodeURL") /// Returns the language code from the link. nil, if not provided. @property(nonatomic, readonly, copy) NSString *_Nullable languageCode; /// Construct an ActionCodeURL from an out of band link (e.g. email -/// link). \param link The oob link string used to construct the action code -/// URL. +/// link). +/// \param link The oob link string used to construct the action code URL. /// /// /// returns: @@ -531,8 +531,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// Console. @property(nonatomic, copy) NSString *_Nullable customAuthDomain; /// Sets the currentUser on the receiver to the provided user -/// object. \param user The user object to be set as the current user of the -/// calling Auth instance. +/// object. +/// \param user The user object to be set as the current user of the calling +/// Auth instance. /// /// \param completion Optionally; a block invoked after the user of the calling /// Auth instance has been updated or an error was encountered. @@ -545,8 +546,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// Enumeration Protection is enabled, irrespective of the number of /// authentication methods available for the given email. Possible error codes: /// AuthErrorCodeInvalidEmail - Indicates the email address is -/// malformed. \param email The email address for which to obtain a list of -/// sign-in methods. +/// malformed. +/// \param email The email address for which to obtain a list of sign-in +/// methods. /// /// \param completion Optionally; a block which is invoked when the list of sign /// in methods for the specified email address is ready or an error was @@ -908,8 +910,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) NSError *_Nullable))completion; /// Applies out of band code. /// This method will not work for out of band codes which require an additional -/// parameter, such as password reset code. \param code The out of band code to -/// be applied. +/// parameter, such as password reset code. +/// \param code The out of band code to be applied. /// /// \param completion Optionally; a block which is invoked when the request /// finishes. Invoked asynchronously on the main thread in the future. @@ -1047,10 +1049,10 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// special attention to making sure the block does not inadvertently retain /// objects which should not be retained by the long-lived block. The block /// itself will be retained by Auth until it is unregistered or -/// until the Auth instance is otherwise deallocated. \param -/// listener The block to be invoked. The block is always invoked asynchronously -/// on the main thread, even for it’s initial invocation after having been added -/// as a listener. +/// until the Auth instance is otherwise deallocated. +/// \param listener The block to be invoked. The block is always invoked +/// asynchronously on the main thread, even for it’s initial invocation after +/// having been added as a listener. /// /// /// returns: @@ -1083,10 +1085,10 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// special attention to making sure the block does not inadvertently retain /// objects which should not be retained by the long-lived block. The block /// itself will be retained by Auth until it is unregistered or -/// until the Auth instance is otherwise deallocated. \param -/// listener The block to be invoked. The block is always invoked asynchronously -/// on the main thread, even for it’s initial invocation after having been added -/// as a listener. +/// until the Auth instance is otherwise deallocated. +/// \param listener The block to be invoked. The block is always invoked +/// asynchronously on the main thread, even for it’s initial invocation after +/// having been added as a listener. /// /// /// returns: @@ -1104,6 +1106,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// remote backend. - (void)useEmulatorWithHost:(NSString *_Nonnull)host port:(NSInteger)port; /// Revoke the users token with authorization code. +/// \param authorizationCode The authorization code used to perform the +/// revocation. +/// /// \param completion (Optional) the block invoked when the request to revoke /// the token is complete, or fails. Invoked asynchronously on the main thread /// in the future. @@ -1142,8 +1147,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// Whether the specific remote notification is handled by Auth . /// This method is available on iOS only. /// If swizzling is disabled, related remote notifications must be forwarded to -/// this method for phone number auth to work. \param userInfo A dictionary that -/// contains information related to the notification in question. +/// this method for phone number auth to work. +/// \param userInfo A dictionary that contains information related to the +/// notification in question. /// /// /// returns: @@ -1157,8 +1163,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// Whether the specific URL is handled by Auth . /// This method is available on iOS only. /// If swizzling is disabled, URLs received by the application delegate must be -/// forwarded to this method for phone number auth to work. \param url The URL -/// received by the application delegate from any of the openURL method. +/// forwarded to this method for phone number auth to work. +/// \param url The URL received by the application delegate from any of the +/// openURL method. /// /// /// returns: @@ -1269,9 +1276,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// May be used to obtain the accessToken and/or IDToken /// pertaining to a recently signed-in user. @property(nonatomic, readonly, strong) FIROAuthCredential *_Nullable credential; -SWIFT_CLASS_PROPERTY(@property(nonatomic, class) BOOL supportsSecureCoding;) +SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly) + BOOL supportsSecureCoding;) + (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT; -+ (void)setSupportsSecureCoding:(BOOL)value; - (void)encodeWithCoder:(NSCoder *_Nonnull)coder; - (nullable instancetype)initWithCoder:(NSCoder *_Nonnull)coder OBJC_DESIGNATED_INITIALIZER; @@ -1660,8 +1667,8 @@ SWIFT_AVAILABILITY(maccatalyst, introduced = 13) SWIFT_PROTOCOL_NAMED("AuthUIDelegate") @protocol FIRAuthUIDelegate /// If implemented, this method will be invoked when Firebase Auth needs to -/// display a view controller. \param viewControllerToPresent The view -/// controller to be presented. +/// display a view controller. +/// \param viewControllerToPresent The view controller to be presented. /// /// \param flag Decides whether the view controller presentation should be /// animated. @@ -1674,8 +1681,9 @@ SWIFT_PROTOCOL_NAMED("AuthUIDelegate") animated:(BOOL)flag completion:(void (^_Nullable)(void))completion; /// If implemented, this method will be invoked when Firebase Auth needs to -/// display a view controller. \param flag Decides whether removing the view -/// controller should be animated or not. +/// display a view controller. +/// \param flag Decides whether removing the view controller should be animated +/// or not. /// /// \param completion The block to execute after the presentation finishes. /// This block has no return value and takes no parameters. @@ -1758,6 +1766,10 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// \param uiDelegate An optional UI delegate used to present the mobile web /// flow. /// +/// \param completionHandler Optionally; a block which is invoked +/// asynchronously on the main thread when the mobile web flow is +/// completed. +/// - (void)getCredentialWithUIDelegate:(id _Nullable)uiDelegate completion:(void (^_Nonnull)( FIRAuthCredential *_Nullable, @@ -1862,8 +1874,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) (void (^_Nullable)(FIRMultiFactorSession *_Nullable, NSError *_Nullable))completion; /// Enrolls a second factor as identified by the -/// MultiFactorAssertion parameter for the current user. \param -/// assertion The MultiFactorAssertion. +/// MultiFactorAssertion parameter for the current user. +/// \param assertion The MultiFactorAssertion. /// /// \param displayName An optional display name associated with the multi factor /// to enroll. @@ -1874,12 +1886,17 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) displayName:(NSString *_Nullable)displayName completion:(void (^_Nullable)(NSError *_Nullable))completion; /// Unenroll the given multi factor. +/// \param factorInfo The second factor instance to unenroll. +/// /// \param completion The block invoked when the request to send the /// verification email is complete, or fails. /// - (void)unenrollWithInfo:(FIRMultiFactorInfo *_Nonnull)factorInfo completion:(void (^_Nullable)(NSError *_Nullable))completion; /// Unenroll the given multi factor. +/// \param factorUID The unique identifier corresponding to the +/// second factor being unenrolled. +/// /// \param completion The block invoked when the request to send the /// verification email is complete, or fails. /// @@ -1956,9 +1973,11 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// The Auth reference for the current MultiResolver. @property(nonatomic, readonly, strong) FIRAuth *_Nonnull auth; /// A helper function to help users complete sign in with a second factor using -/// a MultiFactorAssertion confirming the user successfully -/// completed the second factor challenge. \param completion The block invoked -/// when the request is complete, or fails. +/// a +/// \param assertion The assertion confirming the user successfully +/// completed the second factor challenge. +/// +/// \param completion The block invoked when the request is complete, or fails. /// - (void)resolveSignInWithAssertion:(FIRMultiFactorAssertion *_Nonnull)assertion completion: @@ -2004,9 +2023,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// This will help the developer determine whether an access token / secret pair /// is needed. @property(nonatomic, readonly, copy) NSString *_Nullable secret; -SWIFT_CLASS_PROPERTY(@property(nonatomic, class) BOOL supportsSecureCoding;) +SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly) + BOOL supportsSecureCoding;) + (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT; -+ (void)setSupportsSecureCoding:(BOOL)value; - (void)encodeWithCoder:(NSCoder *_Nonnull)coder; - (nullable instancetype)initWithCoder:(NSCoder *_Nonnull)coder OBJC_DESIGNATED_INITIALIZER; @@ -2044,8 +2063,9 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) + (FIROAuthProvider *_Nonnull)providerWithProviderID: (NSString *_Nonnull)providerID SWIFT_WARN_UNUSED_RESULT; /// An instance of OAuthProvider corresponding to the given provider ID and auth -/// instance. \param providerID The provider ID of the IDP for which this auth -/// provider instance will be configured. +/// instance. +/// \param providerID The provider ID of the IDP for which this auth provider +/// instance will be configured. /// /// \param auth The auth instance to be associated with the OAuthProvider /// instance. @@ -2058,8 +2078,9 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) auth:(FIRAuth *_Nonnull)auth SWIFT_WARN_UNUSED_RESULT; /// Creates an AuthCredential for the OAuth 2 provider identified -/// by provider ID, ID token, and access token. \param providerID The provider -/// ID associated with the Auth credential being created. +/// by provider ID, ID token, and access token. +/// \param providerID The provider ID associated with the Auth credential being +/// created. /// /// \param idToken The IDToken associated with the Auth credential being /// created. @@ -2076,8 +2097,9 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) accessToken:(NSString *_Nullable)accessToken SWIFT_WARN_UNUSED_RESULT; /// Creates an AuthCredential for the OAuth 2 provider identified -/// by provider ID, ID token, and access token. \param providerID The provider -/// ID associated with the Auth credential being created. +/// by provider ID, ID token, and access token. +/// \param providerID The provider ID associated with the Auth credential being +/// created. /// /// \param accessToken The access token associated with the Auth credential be /// created, if available. @@ -2090,8 +2112,9 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) accessToken:(NSString *_Nonnull)accessToken SWIFT_WARN_UNUSED_RESULT; /// Creates an AuthCredential for that OAuth 2 provider identified -/// by provider ID, ID token, raw nonce, and access token. \param providerID The -/// provider ID associated with the Auth credential being created. +/// by provider ID, ID token, raw nonce, and access token. +/// \param providerID The provider ID associated with the Auth credential being +/// created. /// /// \param idToken The IDToken associated with the Auth credential being /// created. @@ -2112,8 +2135,9 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) accessToken:(NSString *_Nonnull)accessToken SWIFT_WARN_UNUSED_RESULT; /// Creates an AuthCredential for that OAuth 2 provider identified -/// by providerID using an ID token and raw nonce. \param providerID The -/// provider ID associated with the Auth credential being created. +/// by providerID using an ID token and raw nonce. +/// \param providerID The provider ID associated with the Auth credential being +/// created. /// /// \param idToken The IDToken associated with the Auth credential being /// created. @@ -2134,6 +2158,10 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) /// \param uiDelegate An optional UI delegate used to present the mobile web /// flow. /// +/// \param completionHandler Optionally; a block which is invoked +/// asynchronously on the main thread when the mobile web flow is +/// completed. +/// - (void)getCredentialWithUIDelegate:(id _Nullable)uiDelegate completion:(void (^_Nonnull)( FIRAuthCredential *_Nullable, @@ -2145,8 +2173,9 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) /// Creates an AuthCredential for the Sign in with Apple OAuth 2 /// provider identified by ID token, raw nonce, and full name.This method is /// specific to the Sign in with Apple OAuth 2 provider as this provider -/// requires the full name to be passed explicitly. \param idToken The IDToken -/// associated with the Sign in with Apple Auth credential being created. +/// requires the full name to be passed explicitly. +/// \param idToken The IDToken associated with the Sign in with Apple Auth +/// credential being created. /// /// \param rawNonce The raw nonce associated with the Sign in with Apple Auth /// credential being created. @@ -2176,9 +2205,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) SWIFT_AVAILABILITY(ios, introduced = 13) @interface FIRPhoneAuthCredential : FIRAuthCredential -SWIFT_CLASS_PROPERTY(@property(nonatomic, class) BOOL supportsSecureCoding;) +SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly) + BOOL supportsSecureCoding;) + (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT; -+ (void)setSupportsSecureCoding:(BOOL)value; - (void)encodeWithCoder:(NSCoder *_Nonnull)coder; - (nullable instancetype)initWithCoder:(NSCoder *_Nonnull)coder OBJC_DESIGNATED_INITIALIZER; @@ -2203,8 +2232,9 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) /// Auth object. + (FIRPhoneAuthProvider *_Nonnull)provider SWIFT_WARN_UNUSED_RESULT; /// Returns an instance of PhoneAuthProvider for the provided -/// Auth object. \param auth The auth object to associate with the -/// phone auth provider instance. +/// Auth object. +/// \param auth The auth object to associate with the phone auth provider +/// instance. /// + (FIRPhoneAuthProvider *_Nonnull)providerWithAuth:(FIRAuth *_Nonnull)auth SWIFT_WARN_UNUSED_RESULT; @@ -2282,8 +2312,8 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) NSError *_Nullable)) completion; /// Creates an AuthCredential for the phone number provider -/// identified by the verification ID and verification code. \param -/// verificationID The verification ID obtained from invoking +/// identified by the verification ID and verification code. +/// \param verificationID The verification ID obtained from invoking /// verifyPhoneNumber:completion: /// /// \param verificationCode The verification code obtained from the user. @@ -2325,8 +2355,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) @interface FIRPhoneMultiFactorGenerator : NSObject /// Initializes the MFA assertion to confirm ownership of the phone second /// factor. Note that this API is used for both enrolling and signing in with a -/// phone second factor. \param phoneAuthCredential The phone auth credential -/// used for multi factor flows. +/// phone second factor. +/// \param phoneAuthCredential The phone auth credential used for multi factor +/// flows. /// + (FIRPhoneMultiFactorAssertion *_Nonnull)assertionWithCredential: (FIRPhoneAuthCredential *_Nonnull)phoneAuthCredential @@ -2379,8 +2410,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) @interface FIRTOTPMultiFactorGenerator : NSObject /// Creates a TOTP secret as part of enrolling a TOTP second factor. Used for /// generating a QR code URL or inputting into a TOTP app. This method uses the -/// auth instance corresponding to the user in the multiFactorSession. \param -/// session The multiFactorSession instance. +/// auth instance corresponding to the user in the multiFactorSession. +/// \param session The multiFactorSession instance. /// /// \param completion Completion block /// @@ -2391,7 +2422,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) NSError *_Nullable))completion; /// Initializes the MFA assertion to confirm ownership of the TOTP second /// factor. This assertion is used to complete enrollment of TOTP as a second -/// factor. \param secret The TOTP secret. +/// factor. +/// \param secret The TOTP secret. /// /// \param oneTimePassword One time password string. /// @@ -2404,8 +2436,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) SWIFT_WARN_UNUSED_RESULT; /// Initializes the MFA assertion to confirm ownership of the TOTP second /// factor. This assertion is used to complete signIn with TOTP as a second -/// factor. \param enrollmentID The ID that identifies the enrolled TOTP second /// factor. +/// \param enrollmentID The ID that identifies the enrolled TOTP second factor. /// /// \param oneTimePassword one time password string. /// @@ -2430,7 +2462,8 @@ SWIFT_CLASS_NAMED("TOTPSecret") /// Returns a QRCode URL as described in /// https://github.com/google/google-authenticator/wiki/Key-Uri-Format. /// This can be displayed to the user as a QRCode to be scanned into a TOTP app -/// like Google Authenticator. \param accountName The name of the account/app. +/// like Google Authenticator. +/// \param accountName The name of the account/app. /// /// \param issuer Issuer of the TOTP(likely the app name). /// @@ -2647,9 +2680,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// Reloads the user’s profile data from the server. /// May fail with an AuthErrorCodeRequiresRecentLogin error code. /// In this case you should call reauthenticate(with:) before -/// re-invoking updateEmail(to:). \param completion Optionally; the -/// block invoked when the reload has finished. Invoked asynchronously on the -/// main thread in the future. +/// re-invoking updateEmail(to:). +/// \param completion Optionally; the block invoked when the reload has +/// finished. Invoked asynchronously on the main thread in the future. /// - (void)reloadWithCompletion:(void (^_Nullable)(NSError *_Nullable))completion; /// Renews the user’s authentication tokens by validating a fresh set of @@ -2727,16 +2760,18 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) (void (^_Nullable)(FIRAuthDataResult *_Nullable, NSError *_Nullable))completion; /// Retrieves the Firebase authentication token, possibly refreshing it if it -/// has expired. \param completion Optionally; the block invoked when the token -/// is available. Invoked asynchronously on the main thread in the future. +/// has expired. +/// \param completion Optionally; the block invoked when the token is available. +/// Invoked asynchronously on the main thread in the future. /// - (void)getIDTokenWithCompletion: (void (^_Nullable)(NSString *_Nullable, NSError *_Nullable))completion; /// Retrieves the Firebase authentication token, possibly refreshing it if it /// has expired. The authentication token will be refreshed (by making a network /// request) if it has expired, or if forceRefresh is -/// true. \param forceRefresh Forces a token refresh. Useful if the -/// token becomes invalid for some reason other than an expiration. +/// true. +/// \param forceRefresh Forces a token refresh. Useful if the token becomes +/// invalid for some reason other than an expiration. /// /// \param completion Optionally; the block invoked when the token is available. /// Invoked asynchronously on the main thread in the future. @@ -2746,8 +2781,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) (void (^_Nullable)(NSString *_Nullable, NSError *_Nullable))completion; /// Retrieves the Firebase authentication token, possibly refreshing it if it -/// has expired. \param completion Optionally; the block invoked when the token -/// is available. Invoked asynchronously on the main thread in the future. +/// has expired. +/// \param completion Optionally; the block invoked when the token is available. +/// Invoked asynchronously on the main thread in the future. /// - (void)getIDTokenResultWithCompletion: (void (^_Nullable)(FIRAuthTokenResult *_Nullable, @@ -2755,8 +2791,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// Retrieves the Firebase authentication token, possibly refreshing it if it /// has expired. The authentication token will be refreshed (by making a network /// request) if it has expired, or if forcingRefresh is -/// true. \param forcingRefresh Forces a token refresh. Useful if -/// the token becomes invalid for some reason other than an expiration. +/// true. +/// \param forcingRefresh Forces a token refresh. Useful if the token becomes +/// invalid for some reason other than an expiration. /// /// \param completion Optionally; the block invoked when the token is available. /// Invoked asynchronously on the main thread in the future. @@ -2785,8 +2822,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// /// This method may also return error codes associated with /// updateEmail(to:) and updatePassword(to:) on -/// User. \param credential The credential for the identity -/// provider. +/// User. +/// \param credential The credential for the identity provider. /// /// \param completion Optionally; the block invoked when the unlinking is /// complete, or fails. @@ -2908,7 +2945,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// - (void)deleteWithCompletion:(void (^_Nullable)(NSError *_Nullable))completion; /// Send an email to verify the ownership of the account then update to the new -/// email. \param email The email to be updated to. +/// email. +/// \param email The email to be updated to. /// /// \param completion Optionally; the block invoked when the request to send the /// verification email is complete, or fails. @@ -2918,7 +2956,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) (void (^_Nullable)( NSError *_Nullable))completion; /// Send an email to verify the ownership of the account then update to the new -/// email. \param email The email to be updated to. +/// email. +/// \param email The email to be updated to. /// /// \param actionCodeSettings An ActionCodeSettings object /// containing settings related to handling action codes. @@ -3011,8 +3050,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// Commits any pending changes. /// Invoked asynchronously on the main thread in the future. /// This method should only be called once.Once called, property values should -/// not be changed. \param completion Optionally; the block invoked when the -/// user profile change has been applied. +/// not be changed. +/// \param completion Optionally; the block invoked when the user profile change +/// has been applied. /// - (void)commitChangesWithCompletion: (void (^_Nullable)(NSError *_Nullable))completion; @@ -3031,7 +3071,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) #elif defined(__x86_64__) && __x86_64__ // Copyright 2024 Google LLC -// Copied from Firebase iOS SDK 11.2.0. +// Copied from Firebase iOS SDK 11.6.0. // Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 // clang-1500.1.0.2.5) @@ -3428,8 +3468,8 @@ SWIFT_CLASS_NAMED("ActionCodeSettings") /// install the app, and the minimum Android version supported. If /// installIfNotAvailable is set to true and the link /// is opened on an android device, it will try to install the app if not -/// already available. Otherwise the web URL is used. \param androidPackageName -/// The Android package name. +/// already available. Otherwise the web URL is used. +/// \param androidPackageName The Android package name. /// /// \param installIfNotAvailable Indicates whether or not the app should be /// installed if not available. @@ -3458,8 +3498,8 @@ SWIFT_CLASS_NAMED("ActionCodeURL") /// Returns the language code from the link. nil, if not provided. @property(nonatomic, readonly, copy) NSString *_Nullable languageCode; /// Construct an ActionCodeURL from an out of band link (e.g. email -/// link). \param link The oob link string used to construct the action code -/// URL. +/// link). +/// \param link The oob link string used to construct the action code URL. /// /// /// returns: @@ -3561,8 +3601,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// Console. @property(nonatomic, copy) NSString *_Nullable customAuthDomain; /// Sets the currentUser on the receiver to the provided user -/// object. \param user The user object to be set as the current user of the -/// calling Auth instance. +/// object. +/// \param user The user object to be set as the current user of the calling +/// Auth instance. /// /// \param completion Optionally; a block invoked after the user of the calling /// Auth instance has been updated or an error was encountered. @@ -3575,8 +3616,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// Enumeration Protection is enabled, irrespective of the number of /// authentication methods available for the given email. Possible error codes: /// AuthErrorCodeInvalidEmail - Indicates the email address is -/// malformed. \param email The email address for which to obtain a list of -/// sign-in methods. +/// malformed. +/// \param email The email address for which to obtain a list of sign-in +/// methods. /// /// \param completion Optionally; a block which is invoked when the list of sign /// in methods for the specified email address is ready or an error was @@ -3938,8 +3980,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) NSError *_Nullable))completion; /// Applies out of band code. /// This method will not work for out of band codes which require an additional -/// parameter, such as password reset code. \param code The out of band code to -/// be applied. +/// parameter, such as password reset code. +/// \param code The out of band code to be applied. /// /// \param completion Optionally; a block which is invoked when the request /// finishes. Invoked asynchronously on the main thread in the future. @@ -4077,10 +4119,10 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// special attention to making sure the block does not inadvertently retain /// objects which should not be retained by the long-lived block. The block /// itself will be retained by Auth until it is unregistered or -/// until the Auth instance is otherwise deallocated. \param -/// listener The block to be invoked. The block is always invoked asynchronously -/// on the main thread, even for it’s initial invocation after having been added -/// as a listener. +/// until the Auth instance is otherwise deallocated. +/// \param listener The block to be invoked. The block is always invoked +/// asynchronously on the main thread, even for it’s initial invocation after +/// having been added as a listener. /// /// /// returns: @@ -4113,10 +4155,10 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// special attention to making sure the block does not inadvertently retain /// objects which should not be retained by the long-lived block. The block /// itself will be retained by Auth until it is unregistered or -/// until the Auth instance is otherwise deallocated. \param -/// listener The block to be invoked. The block is always invoked asynchronously -/// on the main thread, even for it’s initial invocation after having been added -/// as a listener. +/// until the Auth instance is otherwise deallocated. +/// \param listener The block to be invoked. The block is always invoked +/// asynchronously on the main thread, even for it’s initial invocation after +/// having been added as a listener. /// /// /// returns: @@ -4134,6 +4176,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// remote backend. - (void)useEmulatorWithHost:(NSString *_Nonnull)host port:(NSInteger)port; /// Revoke the users token with authorization code. +/// \param authorizationCode The authorization code used to perform the +/// revocation. +/// /// \param completion (Optional) the block invoked when the request to revoke /// the token is complete, or fails. Invoked asynchronously on the main thread /// in the future. @@ -4172,8 +4217,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// Whether the specific remote notification is handled by Auth . /// This method is available on iOS only. /// If swizzling is disabled, related remote notifications must be forwarded to -/// this method for phone number auth to work. \param userInfo A dictionary that -/// contains information related to the notification in question. +/// this method for phone number auth to work. +/// \param userInfo A dictionary that contains information related to the +/// notification in question. /// /// /// returns: @@ -4187,8 +4233,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// Whether the specific URL is handled by Auth . /// This method is available on iOS only. /// If swizzling is disabled, URLs received by the application delegate must be -/// forwarded to this method for phone number auth to work. \param url The URL -/// received by the application delegate from any of the openURL method. +/// forwarded to this method for phone number auth to work. +/// \param url The URL received by the application delegate from any of the +/// openURL method. /// /// /// returns: @@ -4299,9 +4346,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// May be used to obtain the accessToken and/or IDToken /// pertaining to a recently signed-in user. @property(nonatomic, readonly, strong) FIROAuthCredential *_Nullable credential; -SWIFT_CLASS_PROPERTY(@property(nonatomic, class) BOOL supportsSecureCoding;) +SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly) + BOOL supportsSecureCoding;) + (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT; -+ (void)setSupportsSecureCoding:(BOOL)value; - (void)encodeWithCoder:(NSCoder *_Nonnull)coder; - (nullable instancetype)initWithCoder:(NSCoder *_Nonnull)coder OBJC_DESIGNATED_INITIALIZER; @@ -4690,8 +4737,8 @@ SWIFT_AVAILABILITY(maccatalyst, introduced = 13) SWIFT_PROTOCOL_NAMED("AuthUIDelegate") @protocol FIRAuthUIDelegate /// If implemented, this method will be invoked when Firebase Auth needs to -/// display a view controller. \param viewControllerToPresent The view -/// controller to be presented. +/// display a view controller. +/// \param viewControllerToPresent The view controller to be presented. /// /// \param flag Decides whether the view controller presentation should be /// animated. @@ -4704,8 +4751,9 @@ SWIFT_PROTOCOL_NAMED("AuthUIDelegate") animated:(BOOL)flag completion:(void (^_Nullable)(void))completion; /// If implemented, this method will be invoked when Firebase Auth needs to -/// display a view controller. \param flag Decides whether removing the view -/// controller should be animated or not. +/// display a view controller. +/// \param flag Decides whether removing the view controller should be animated +/// or not. /// /// \param completion The block to execute after the presentation finishes. /// This block has no return value and takes no parameters. @@ -4788,6 +4836,10 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// \param uiDelegate An optional UI delegate used to present the mobile web /// flow. /// +/// \param completionHandler Optionally; a block which is invoked +/// asynchronously on the main thread when the mobile web flow is +/// completed. +/// - (void)getCredentialWithUIDelegate:(id _Nullable)uiDelegate completion:(void (^_Nonnull)( FIRAuthCredential *_Nullable, @@ -4892,8 +4944,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) (void (^_Nullable)(FIRMultiFactorSession *_Nullable, NSError *_Nullable))completion; /// Enrolls a second factor as identified by the -/// MultiFactorAssertion parameter for the current user. \param -/// assertion The MultiFactorAssertion. +/// MultiFactorAssertion parameter for the current user. +/// \param assertion The MultiFactorAssertion. /// /// \param displayName An optional display name associated with the multi factor /// to enroll. @@ -4904,12 +4956,17 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) displayName:(NSString *_Nullable)displayName completion:(void (^_Nullable)(NSError *_Nullable))completion; /// Unenroll the given multi factor. +/// \param factorInfo The second factor instance to unenroll. +/// /// \param completion The block invoked when the request to send the /// verification email is complete, or fails. /// - (void)unenrollWithInfo:(FIRMultiFactorInfo *_Nonnull)factorInfo completion:(void (^_Nullable)(NSError *_Nullable))completion; /// Unenroll the given multi factor. +/// \param factorUID The unique identifier corresponding to the +/// second factor being unenrolled. +/// /// \param completion The block invoked when the request to send the /// verification email is complete, or fails. /// @@ -4986,9 +5043,11 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// The Auth reference for the current MultiResolver. @property(nonatomic, readonly, strong) FIRAuth *_Nonnull auth; /// A helper function to help users complete sign in with a second factor using -/// a MultiFactorAssertion confirming the user successfully -/// completed the second factor challenge. \param completion The block invoked -/// when the request is complete, or fails. +/// a +/// \param assertion The assertion confirming the user successfully +/// completed the second factor challenge. +/// +/// \param completion The block invoked when the request is complete, or fails. /// - (void)resolveSignInWithAssertion:(FIRMultiFactorAssertion *_Nonnull)assertion completion: @@ -5034,9 +5093,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// This will help the developer determine whether an access token / secret pair /// is needed. @property(nonatomic, readonly, copy) NSString *_Nullable secret; -SWIFT_CLASS_PROPERTY(@property(nonatomic, class) BOOL supportsSecureCoding;) +SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly) + BOOL supportsSecureCoding;) + (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT; -+ (void)setSupportsSecureCoding:(BOOL)value; - (void)encodeWithCoder:(NSCoder *_Nonnull)coder; - (nullable instancetype)initWithCoder:(NSCoder *_Nonnull)coder OBJC_DESIGNATED_INITIALIZER; @@ -5074,8 +5133,9 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) + (FIROAuthProvider *_Nonnull)providerWithProviderID: (NSString *_Nonnull)providerID SWIFT_WARN_UNUSED_RESULT; /// An instance of OAuthProvider corresponding to the given provider ID and auth -/// instance. \param providerID The provider ID of the IDP for which this auth -/// provider instance will be configured. +/// instance. +/// \param providerID The provider ID of the IDP for which this auth provider +/// instance will be configured. /// /// \param auth The auth instance to be associated with the OAuthProvider /// instance. @@ -5088,8 +5148,9 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) auth:(FIRAuth *_Nonnull)auth SWIFT_WARN_UNUSED_RESULT; /// Creates an AuthCredential for the OAuth 2 provider identified -/// by provider ID, ID token, and access token. \param providerID The provider -/// ID associated with the Auth credential being created. +/// by provider ID, ID token, and access token. +/// \param providerID The provider ID associated with the Auth credential being +/// created. /// /// \param idToken The IDToken associated with the Auth credential being /// created. @@ -5106,8 +5167,9 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) accessToken:(NSString *_Nullable)accessToken SWIFT_WARN_UNUSED_RESULT; /// Creates an AuthCredential for the OAuth 2 provider identified -/// by provider ID, ID token, and access token. \param providerID The provider -/// ID associated with the Auth credential being created. +/// by provider ID, ID token, and access token. +/// \param providerID The provider ID associated with the Auth credential being +/// created. /// /// \param accessToken The access token associated with the Auth credential be /// created, if available. @@ -5120,8 +5182,9 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) accessToken:(NSString *_Nonnull)accessToken SWIFT_WARN_UNUSED_RESULT; /// Creates an AuthCredential for that OAuth 2 provider identified -/// by provider ID, ID token, raw nonce, and access token. \param providerID The -/// provider ID associated with the Auth credential being created. +/// by provider ID, ID token, raw nonce, and access token. +/// \param providerID The provider ID associated with the Auth credential being +/// created. /// /// \param idToken The IDToken associated with the Auth credential being /// created. @@ -5142,8 +5205,9 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) accessToken:(NSString *_Nonnull)accessToken SWIFT_WARN_UNUSED_RESULT; /// Creates an AuthCredential for that OAuth 2 provider identified -/// by providerID using an ID token and raw nonce. \param providerID The -/// provider ID associated with the Auth credential being created. +/// by providerID using an ID token and raw nonce. +/// \param providerID The provider ID associated with the Auth credential being +/// created. /// /// \param idToken The IDToken associated with the Auth credential being /// created. @@ -5164,6 +5228,10 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) /// \param uiDelegate An optional UI delegate used to present the mobile web /// flow. /// +/// \param completionHandler Optionally; a block which is invoked +/// asynchronously on the main thread when the mobile web flow is +/// completed. +/// - (void)getCredentialWithUIDelegate:(id _Nullable)uiDelegate completion:(void (^_Nonnull)( FIRAuthCredential *_Nullable, @@ -5175,8 +5243,9 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) /// Creates an AuthCredential for the Sign in with Apple OAuth 2 /// provider identified by ID token, raw nonce, and full name.This method is /// specific to the Sign in with Apple OAuth 2 provider as this provider -/// requires the full name to be passed explicitly. \param idToken The IDToken -/// associated with the Sign in with Apple Auth credential being created. +/// requires the full name to be passed explicitly. +/// \param idToken The IDToken associated with the Sign in with Apple Auth +/// credential being created. /// /// \param rawNonce The raw nonce associated with the Sign in with Apple Auth /// credential being created. @@ -5206,9 +5275,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) SWIFT_AVAILABILITY(ios, introduced = 13) @interface FIRPhoneAuthCredential : FIRAuthCredential -SWIFT_CLASS_PROPERTY(@property(nonatomic, class) BOOL supportsSecureCoding;) +SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly) + BOOL supportsSecureCoding;) + (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT; -+ (void)setSupportsSecureCoding:(BOOL)value; - (void)encodeWithCoder:(NSCoder *_Nonnull)coder; - (nullable instancetype)initWithCoder:(NSCoder *_Nonnull)coder OBJC_DESIGNATED_INITIALIZER; @@ -5233,8 +5302,9 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) /// Auth object. + (FIRPhoneAuthProvider *_Nonnull)provider SWIFT_WARN_UNUSED_RESULT; /// Returns an instance of PhoneAuthProvider for the provided -/// Auth object. \param auth The auth object to associate with the -/// phone auth provider instance. +/// Auth object. +/// \param auth The auth object to associate with the phone auth provider +/// instance. /// + (FIRPhoneAuthProvider *_Nonnull)providerWithAuth:(FIRAuth *_Nonnull)auth SWIFT_WARN_UNUSED_RESULT; @@ -5312,8 +5382,8 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) NSError *_Nullable)) completion; /// Creates an AuthCredential for the phone number provider -/// identified by the verification ID and verification code. \param -/// verificationID The verification ID obtained from invoking +/// identified by the verification ID and verification code. +/// \param verificationID The verification ID obtained from invoking /// verifyPhoneNumber:completion: /// /// \param verificationCode The verification code obtained from the user. @@ -5355,8 +5425,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) @interface FIRPhoneMultiFactorGenerator : NSObject /// Initializes the MFA assertion to confirm ownership of the phone second /// factor. Note that this API is used for both enrolling and signing in with a -/// phone second factor. \param phoneAuthCredential The phone auth credential -/// used for multi factor flows. +/// phone second factor. +/// \param phoneAuthCredential The phone auth credential used for multi factor +/// flows. /// + (FIRPhoneMultiFactorAssertion *_Nonnull)assertionWithCredential: (FIRPhoneAuthCredential *_Nonnull)phoneAuthCredential @@ -5409,8 +5480,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) @interface FIRTOTPMultiFactorGenerator : NSObject /// Creates a TOTP secret as part of enrolling a TOTP second factor. Used for /// generating a QR code URL or inputting into a TOTP app. This method uses the -/// auth instance corresponding to the user in the multiFactorSession. \param -/// session The multiFactorSession instance. +/// auth instance corresponding to the user in the multiFactorSession. +/// \param session The multiFactorSession instance. /// /// \param completion Completion block /// @@ -5421,7 +5492,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) NSError *_Nullable))completion; /// Initializes the MFA assertion to confirm ownership of the TOTP second /// factor. This assertion is used to complete enrollment of TOTP as a second -/// factor. \param secret The TOTP secret. +/// factor. +/// \param secret The TOTP secret. /// /// \param oneTimePassword One time password string. /// @@ -5434,8 +5506,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) SWIFT_WARN_UNUSED_RESULT; /// Initializes the MFA assertion to confirm ownership of the TOTP second /// factor. This assertion is used to complete signIn with TOTP as a second -/// factor. \param enrollmentID The ID that identifies the enrolled TOTP second /// factor. +/// \param enrollmentID The ID that identifies the enrolled TOTP second factor. /// /// \param oneTimePassword one time password string. /// @@ -5460,7 +5532,8 @@ SWIFT_CLASS_NAMED("TOTPSecret") /// Returns a QRCode URL as described in /// https://github.com/google/google-authenticator/wiki/Key-Uri-Format. /// This can be displayed to the user as a QRCode to be scanned into a TOTP app -/// like Google Authenticator. \param accountName The name of the account/app. +/// like Google Authenticator. +/// \param accountName The name of the account/app. /// /// \param issuer Issuer of the TOTP(likely the app name). /// @@ -5677,9 +5750,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// Reloads the user’s profile data from the server. /// May fail with an AuthErrorCodeRequiresRecentLogin error code. /// In this case you should call reauthenticate(with:) before -/// re-invoking updateEmail(to:). \param completion Optionally; the -/// block invoked when the reload has finished. Invoked asynchronously on the -/// main thread in the future. +/// re-invoking updateEmail(to:). +/// \param completion Optionally; the block invoked when the reload has +/// finished. Invoked asynchronously on the main thread in the future. /// - (void)reloadWithCompletion:(void (^_Nullable)(NSError *_Nullable))completion; /// Renews the user’s authentication tokens by validating a fresh set of @@ -5757,16 +5830,18 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) (void (^_Nullable)(FIRAuthDataResult *_Nullable, NSError *_Nullable))completion; /// Retrieves the Firebase authentication token, possibly refreshing it if it -/// has expired. \param completion Optionally; the block invoked when the token -/// is available. Invoked asynchronously on the main thread in the future. +/// has expired. +/// \param completion Optionally; the block invoked when the token is available. +/// Invoked asynchronously on the main thread in the future. /// - (void)getIDTokenWithCompletion: (void (^_Nullable)(NSString *_Nullable, NSError *_Nullable))completion; /// Retrieves the Firebase authentication token, possibly refreshing it if it /// has expired. The authentication token will be refreshed (by making a network /// request) if it has expired, or if forceRefresh is -/// true. \param forceRefresh Forces a token refresh. Useful if the -/// token becomes invalid for some reason other than an expiration. +/// true. +/// \param forceRefresh Forces a token refresh. Useful if the token becomes +/// invalid for some reason other than an expiration. /// /// \param completion Optionally; the block invoked when the token is available. /// Invoked asynchronously on the main thread in the future. @@ -5776,8 +5851,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) (void (^_Nullable)(NSString *_Nullable, NSError *_Nullable))completion; /// Retrieves the Firebase authentication token, possibly refreshing it if it -/// has expired. \param completion Optionally; the block invoked when the token -/// is available. Invoked asynchronously on the main thread in the future. +/// has expired. +/// \param completion Optionally; the block invoked when the token is available. +/// Invoked asynchronously on the main thread in the future. /// - (void)getIDTokenResultWithCompletion: (void (^_Nullable)(FIRAuthTokenResult *_Nullable, @@ -5785,8 +5861,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// Retrieves the Firebase authentication token, possibly refreshing it if it /// has expired. The authentication token will be refreshed (by making a network /// request) if it has expired, or if forcingRefresh is -/// true. \param forcingRefresh Forces a token refresh. Useful if -/// the token becomes invalid for some reason other than an expiration. +/// true. +/// \param forcingRefresh Forces a token refresh. Useful if the token becomes +/// invalid for some reason other than an expiration. /// /// \param completion Optionally; the block invoked when the token is available. /// Invoked asynchronously on the main thread in the future. @@ -5815,8 +5892,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// /// This method may also return error codes associated with /// updateEmail(to:) and updatePassword(to:) on -/// User. \param credential The credential for the identity -/// provider. +/// User. +/// \param credential The credential for the identity provider. /// /// \param completion Optionally; the block invoked when the unlinking is /// complete, or fails. @@ -5938,7 +6015,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// - (void)deleteWithCompletion:(void (^_Nullable)(NSError *_Nullable))completion; /// Send an email to verify the ownership of the account then update to the new -/// email. \param email The email to be updated to. +/// email. +/// \param email The email to be updated to. /// /// \param completion Optionally; the block invoked when the request to send the /// verification email is complete, or fails. @@ -5948,7 +6026,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) (void (^_Nullable)( NSError *_Nullable))completion; /// Send an email to verify the ownership of the account then update to the new -/// email. \param email The email to be updated to. +/// email. +/// \param email The email to be updated to. /// /// \param actionCodeSettings An ActionCodeSettings object /// containing settings related to handling action codes. @@ -6041,8 +6120,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// Commits any pending changes. /// Invoked asynchronously on the main thread in the future. /// This method should only be called once.Once called, property values should -/// not be changed. \param completion Optionally; the block invoked when the -/// user profile change has been applied. +/// not be changed. +/// \param completion Optionally; the block invoked when the user profile change +/// has been applied. /// - (void)commitChangesWithCompletion: (void (^_Nullable)(NSError *_Nullable))completion; diff --git a/ios_pod/swift_headers/FirebaseCoreInternal-Swift.h b/ios_pod/swift_headers/FirebaseCoreInternal-Swift.h index db063dc7a..74c384618 100644 --- a/ios_pod/swift_headers/FirebaseCoreInternal-Swift.h +++ b/ios_pod/swift_headers/FirebaseCoreInternal-Swift.h @@ -1,7 +1,7 @@ #if 0 #elif defined(__arm64__) && __arm64__ // Copyright 2024 Google LLC -// Copied from Firebase iOS SDK 11.2.0. +// Copied from Firebase iOS SDK 11.6.0. // Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 // clang-1500.1.0.2.5) @@ -355,6 +355,14 @@ SWIFT_CLASS_NAMED("_ObjC_HeartbeatController") /// returns: /// A heartbeats payload for the flushed heartbeat(s). - (FIRHeartbeatsPayload* _Nonnull)flush SWIFT_WARN_UNUSED_RESULT; +/// Asynchronously flushes heartbeats from storage into a heartbeats payload. +/// note: +/// This API is thread-safe. +/// +/// returns: +/// A heartbeats payload for the flushed heartbeat(s). +- (void)flushAsyncWithCompletionHandler: + (void (^_Nonnull)(FIRHeartbeatsPayload* _Nonnull))completionHandler; /// Synchronously flushes the heartbeat for today. /// If no heartbeat was logged today, the returned payload is empty. /// note: @@ -394,7 +402,7 @@ SWIFT_CLASS_NAMED("_ObjC_HeartbeatsPayload") #elif defined(__x86_64__) && __x86_64__ // Copyright 2024 Google LLC -// Copied from Firebase iOS SDK 11.2.0. +// Copied from Firebase iOS SDK 11.6.0. // Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 // clang-1500.1.0.2.5) @@ -748,6 +756,14 @@ SWIFT_CLASS_NAMED("_ObjC_HeartbeatController") /// returns: /// A heartbeats payload for the flushed heartbeat(s). - (FIRHeartbeatsPayload* _Nonnull)flush SWIFT_WARN_UNUSED_RESULT; +/// Asynchronously flushes heartbeats from storage into a heartbeats payload. +/// note: +/// This API is thread-safe. +/// +/// returns: +/// A heartbeats payload for the flushed heartbeat(s). +- (void)flushAsyncWithCompletionHandler: + (void (^_Nonnull)(FIRHeartbeatsPayload* _Nonnull))completionHandler; /// Synchronously flushes the heartbeat for today. /// If no heartbeat was logged today, the returned payload is empty. /// note: diff --git a/ios_pod/swift_headers/FirebaseDatabase-Swift.h b/ios_pod/swift_headers/FirebaseDatabase-Swift.h index 205b5c77c..0e7da41c1 100644 --- a/ios_pod/swift_headers/FirebaseDatabase-Swift.h +++ b/ios_pod/swift_headers/FirebaseDatabase-Swift.h @@ -1,7 +1,7 @@ #if 0 #elif defined(__arm64__) && __arm64__ // Copyright 2024 Google LLC -// Copied from Firebase iOS SDK 11.2.0. +// Copied from Firebase iOS SDK 11.6.0. // Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 // clang-1500.1.0.2.5) @@ -338,7 +338,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #elif defined(__x86_64__) && __x86_64__ // Copyright 2024 Google LLC -// Copied from Firebase iOS SDK 11.2.0. +// Copied from Firebase iOS SDK 11.6.0. // Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 // clang-1500.1.0.2.5) diff --git a/ios_pod/swift_headers/FirebaseFirestore-Swift.h b/ios_pod/swift_headers/FirebaseFirestore-Swift.h index 6958c0922..3c3f6d07f 100644 --- a/ios_pod/swift_headers/FirebaseFirestore-Swift.h +++ b/ios_pod/swift_headers/FirebaseFirestore-Swift.h @@ -1,7 +1,7 @@ #if 0 #elif defined(__arm64__) && __arm64__ // Copyright 2024 Google LLC -// Copied from Firebase iOS SDK 11.2.0. +// Copied from Firebase iOS SDK 11.6.0. // Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 // clang-1500.1.0.2.5) @@ -346,7 +346,7 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, #elif defined(__x86_64__) && __x86_64__ // Copyright 2024 Google LLC -// Copied from Firebase iOS SDK 11.2.0. +// Copied from Firebase iOS SDK 11.6.0. // Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 // clang-1500.1.0.2.5) diff --git a/ios_pod/swift_headers/FirebaseFunctions-Swift.h b/ios_pod/swift_headers/FirebaseFunctions-Swift.h index f859e931b..18213c930 100644 --- a/ios_pod/swift_headers/FirebaseFunctions-Swift.h +++ b/ios_pod/swift_headers/FirebaseFunctions-Swift.h @@ -1,7 +1,7 @@ #if 0 #elif defined(__arm64__) && __arm64__ // Copyright 2024 Google LLC -// Copied from Firebase iOS SDK 11.2.0. +// Copied from Firebase iOS SDK 11.6.0. // Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 // clang-1500.1.0.2.5) @@ -346,8 +346,8 @@ SWIFT_CLASS_NAMED("Functions") /// FirebaseApp. + (FIRFunctions* _Nonnull)functions SWIFT_WARN_UNUSED_RESULT; /// Creates a Cloud Functions client with the given app, or returns a -/// pre-existing instance if one already exists. \param app The app for the -/// Firebase project. +/// pre-existing instance if one already exists. +/// \param app The app for the Firebase project. /// /// /// returns: @@ -366,8 +366,9 @@ SWIFT_CLASS_NAMED("Functions") + (FIRFunctions* _Nonnull)functionsForRegion:(NSString* _Nonnull)region SWIFT_WARN_UNUSED_RESULT; /// Creates a Cloud Functions client with the given custom domain or returns a -/// pre-existing instance if one already exists. \param customDomain A custom -/// domain for the HTTP trigger, such as “https://mydomain.com”. +/// pre-existing instance if one already exists. +/// \param customDomain A custom domain for the HTTP trigger, such as +/// “https://mydomain.com”. /// /// /// returns: @@ -376,8 +377,8 @@ SWIFT_CLASS_NAMED("Functions") + (FIRFunctions* _Nonnull)functionsForCustomDomain: (NSString* _Nonnull)customDomain SWIFT_WARN_UNUSED_RESULT; /// Creates a Cloud Functions client with the given app and region, or returns a -/// pre-existing instance if one already exists. \param app The app for the -/// Firebase project. +/// pre-existing instance if one already exists. +/// \param app The app for the Firebase project. /// /// \param region The region for the HTTP trigger, such as /// us-central1. @@ -389,8 +390,8 @@ SWIFT_CLASS_NAMED("Functions") region:(NSString* _Nonnull)region SWIFT_WARN_UNUSED_RESULT; /// Creates a Cloud Functions client with the given app and custom domain, or -/// returns a pre-existing instance if one already exists. \param app The app -/// for the Firebase project. +/// returns a pre-existing instance if one already exists. +/// \param app The app for the Firebase project. /// /// \param customDomain A custom domain for the HTTP trigger, such as /// https://mydomain.com. @@ -411,7 +412,8 @@ SWIFT_CLASS_NAMED("Functions") - (FIRHTTPSCallable* _Nonnull)HTTPSCallableWithName:(NSString* _Nonnull)name SWIFT_WARN_UNUSED_RESULT; /// Creates a reference to the Callable HTTPS trigger with the given name and -/// configuration options. \param name The name of the Callable HTTPS trigger. +/// configuration options. +/// \param name The name of the Callable HTTPS trigger. /// /// \param options The options with which to customize the Callable HTTPS /// trigger. @@ -432,7 +434,8 @@ SWIFT_CLASS_NAMED("Functions") - (FIRHTTPSCallable* _Nonnull)HTTPSCallableWithURL:(NSURL* _Nonnull)url SWIFT_WARN_UNUSED_RESULT; /// Creates a reference to the Callable HTTPS trigger with the given name and -/// configuration options. \param url The URL of the Callable HTTPS trigger. +/// configuration options. +/// \param url The URL of the Callable HTTPS trigger. /// /// \param options The options with which to customize the Callable HTTPS /// trigger. @@ -552,8 +555,8 @@ SWIFT_CLASS_NAMED("HTTPSCallable") /// also automatically included. Firebase Cloud Messaging sends data to the /// Firebase backend periodically to collect information regarding the app /// instance. To stop this, see Messaging.deleteData(). It resumes -/// with a new FCM Token the next time you call this method. \param data -/// Parameters to pass to the trigger. +/// with a new FCM Token the next time you call this method. +/// \param data Parameters to pass to the trigger. /// /// \param completion The block to call when the HTTPS request has completed. /// @@ -569,8 +572,8 @@ SWIFT_CLASS_NAMED("HTTPSCallable") /// information /// regarding the app instance. To stop this, see /// Messaging.deleteData(). It resumes with a new FCM Token the -/// next time you call this method. \param completion The block to call when the -/// HTTPS request has completed. +/// next time you call this method. +/// \param completion The block to call when the HTTPS request has completed. /// - (void)callWithCompletion:(void (^_Nonnull)(FIRHTTPSCallableResult* _Nullable, NSError* _Nullable))completion; @@ -619,7 +622,7 @@ SWIFT_CLASS_NAMED("HTTPSCallableResult") #elif defined(__x86_64__) && __x86_64__ // Copyright 2024 Google LLC -// Copied from Firebase iOS SDK 11.2.0. +// Copied from Firebase iOS SDK 11.6.0. // Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 // clang-1500.1.0.2.5) @@ -964,8 +967,8 @@ SWIFT_CLASS_NAMED("Functions") /// FirebaseApp. + (FIRFunctions* _Nonnull)functions SWIFT_WARN_UNUSED_RESULT; /// Creates a Cloud Functions client with the given app, or returns a -/// pre-existing instance if one already exists. \param app The app for the -/// Firebase project. +/// pre-existing instance if one already exists. +/// \param app The app for the Firebase project. /// /// /// returns: @@ -984,8 +987,9 @@ SWIFT_CLASS_NAMED("Functions") + (FIRFunctions* _Nonnull)functionsForRegion:(NSString* _Nonnull)region SWIFT_WARN_UNUSED_RESULT; /// Creates a Cloud Functions client with the given custom domain or returns a -/// pre-existing instance if one already exists. \param customDomain A custom -/// domain for the HTTP trigger, such as “https://mydomain.com”. +/// pre-existing instance if one already exists. +/// \param customDomain A custom domain for the HTTP trigger, such as +/// “https://mydomain.com”. /// /// /// returns: @@ -994,8 +998,8 @@ SWIFT_CLASS_NAMED("Functions") + (FIRFunctions* _Nonnull)functionsForCustomDomain: (NSString* _Nonnull)customDomain SWIFT_WARN_UNUSED_RESULT; /// Creates a Cloud Functions client with the given app and region, or returns a -/// pre-existing instance if one already exists. \param app The app for the -/// Firebase project. +/// pre-existing instance if one already exists. +/// \param app The app for the Firebase project. /// /// \param region The region for the HTTP trigger, such as /// us-central1. @@ -1007,8 +1011,8 @@ SWIFT_CLASS_NAMED("Functions") region:(NSString* _Nonnull)region SWIFT_WARN_UNUSED_RESULT; /// Creates a Cloud Functions client with the given app and custom domain, or -/// returns a pre-existing instance if one already exists. \param app The app -/// for the Firebase project. +/// returns a pre-existing instance if one already exists. +/// \param app The app for the Firebase project. /// /// \param customDomain A custom domain for the HTTP trigger, such as /// https://mydomain.com. @@ -1029,7 +1033,8 @@ SWIFT_CLASS_NAMED("Functions") - (FIRHTTPSCallable* _Nonnull)HTTPSCallableWithName:(NSString* _Nonnull)name SWIFT_WARN_UNUSED_RESULT; /// Creates a reference to the Callable HTTPS trigger with the given name and -/// configuration options. \param name The name of the Callable HTTPS trigger. +/// configuration options. +/// \param name The name of the Callable HTTPS trigger. /// /// \param options The options with which to customize the Callable HTTPS /// trigger. @@ -1050,7 +1055,8 @@ SWIFT_CLASS_NAMED("Functions") - (FIRHTTPSCallable* _Nonnull)HTTPSCallableWithURL:(NSURL* _Nonnull)url SWIFT_WARN_UNUSED_RESULT; /// Creates a reference to the Callable HTTPS trigger with the given name and -/// configuration options. \param url The URL of the Callable HTTPS trigger. +/// configuration options. +/// \param url The URL of the Callable HTTPS trigger. /// /// \param options The options with which to customize the Callable HTTPS /// trigger. @@ -1170,8 +1176,8 @@ SWIFT_CLASS_NAMED("HTTPSCallable") /// also automatically included. Firebase Cloud Messaging sends data to the /// Firebase backend periodically to collect information regarding the app /// instance. To stop this, see Messaging.deleteData(). It resumes -/// with a new FCM Token the next time you call this method. \param data -/// Parameters to pass to the trigger. +/// with a new FCM Token the next time you call this method. +/// \param data Parameters to pass to the trigger. /// /// \param completion The block to call when the HTTPS request has completed. /// @@ -1187,8 +1193,8 @@ SWIFT_CLASS_NAMED("HTTPSCallable") /// information /// regarding the app instance. To stop this, see /// Messaging.deleteData(). It resumes with a new FCM Token the -/// next time you call this method. \param completion The block to call when the -/// HTTPS request has completed. +/// next time you call this method. +/// \param completion The block to call when the HTTPS request has completed. /// - (void)callWithCompletion:(void (^_Nonnull)(FIRHTTPSCallableResult* _Nullable, NSError* _Nullable))completion; diff --git a/ios_pod/swift_headers/FirebaseInAppMessaging-Swift.h b/ios_pod/swift_headers/FirebaseInAppMessaging-Swift.h index 5c5068d1c..1297fb613 100644 --- a/ios_pod/swift_headers/FirebaseInAppMessaging-Swift.h +++ b/ios_pod/swift_headers/FirebaseInAppMessaging-Swift.h @@ -1,7 +1,7 @@ #if 0 #elif defined(__arm64__) && __arm64__ // Copyright 2024 Google LLC -// Copied from Firebase iOS SDK 11.2.0. +// Copied from Firebase iOS SDK 11.6.0. // Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 // clang-1500.1.0.2.5) @@ -337,7 +337,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #elif defined(__x86_64__) && __x86_64__ // Copyright 2024 Google LLC -// Copied from Firebase iOS SDK 11.2.0. +// Copied from Firebase iOS SDK 11.6.0. // Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 // clang-1500.1.0.2.5) diff --git a/ios_pod/swift_headers/FirebaseMLModelDownloader-Swift.h b/ios_pod/swift_headers/FirebaseMLModelDownloader-Swift.h index d8fa7da60..cbdf58338 100644 --- a/ios_pod/swift_headers/FirebaseMLModelDownloader-Swift.h +++ b/ios_pod/swift_headers/FirebaseMLModelDownloader-Swift.h @@ -1,7 +1,7 @@ #if 0 #elif defined(__arm64__) && __arm64__ // Copyright 2024 Google LLC -// Copied from Firebase iOS SDK 11.2.0. +// Copied from Firebase iOS SDK 11.6.0. // Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 // clang-1500.1.0.2.5) @@ -338,7 +338,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #elif defined(__x86_64__) && __x86_64__ // Copyright 2024 Google LLC -// Copied from Firebase iOS SDK 11.2.0. +// Copied from Firebase iOS SDK 11.6.0. // Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 // clang-1500.1.0.2.5) diff --git a/ios_pod/swift_headers/FirebaseRemoteConfig-Swift.h b/ios_pod/swift_headers/FirebaseRemoteConfig-Swift.h index f25767e18..88701f47c 100644 --- a/ios_pod/swift_headers/FirebaseRemoteConfig-Swift.h +++ b/ios_pod/swift_headers/FirebaseRemoteConfig-Swift.h @@ -1,7 +1,7 @@ #if 0 #elif defined(__arm64__) && __arm64__ // Copyright 2024 Google LLC -// Copied from Firebase iOS SDK 11.2.0. +// Copied from Firebase iOS SDK 11.6.0. // Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 // clang-1500.1.0.2.5) @@ -338,7 +338,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #elif defined(__x86_64__) && __x86_64__ // Copyright 2024 Google LLC -// Copied from Firebase iOS SDK 11.2.0. +// Copied from Firebase iOS SDK 11.6.0. // Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 // clang-1500.1.0.2.5) diff --git a/ios_pod/swift_headers/FirebaseSessions-Swift.h b/ios_pod/swift_headers/FirebaseSessions-Swift.h index 54742b819..489a2cb6d 100644 --- a/ios_pod/swift_headers/FirebaseSessions-Swift.h +++ b/ios_pod/swift_headers/FirebaseSessions-Swift.h @@ -1,7 +1,7 @@ #if 0 #elif defined(__arm64__) && __arm64__ // Copyright 2024 Google LLC -// Copied from Firebase iOS SDK 11.2.0. +// Copied from Firebase iOS SDK 11.6.0. // Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 // clang-1500.1.0.2.5) @@ -383,7 +383,7 @@ typedef SWIFT_ENUM_NAMED(NSInteger, FIRSessionsSubscriberName, #elif defined(__x86_64__) && __x86_64__ // Copyright 2024 Google LLC -// Copied from Firebase iOS SDK 11.2.0. +// Copied from Firebase iOS SDK 11.6.0. // Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 // clang-1500.1.0.2.5) diff --git a/ios_pod/swift_headers/FirebaseSharedSwift-Swift.h b/ios_pod/swift_headers/FirebaseSharedSwift-Swift.h index 0a7e8797b..305e5cd5f 100644 --- a/ios_pod/swift_headers/FirebaseSharedSwift-Swift.h +++ b/ios_pod/swift_headers/FirebaseSharedSwift-Swift.h @@ -1,7 +1,7 @@ #if 0 #elif defined(__arm64__) && __arm64__ // Copyright 2024 Google LLC -// Copied from Firebase iOS SDK 11.2.0. +// Copied from Firebase iOS SDK 11.6.0. // Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 // clang-1500.1.0.2.5) @@ -337,7 +337,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #elif defined(__x86_64__) && __x86_64__ // Copyright 2024 Google LLC -// Copied from Firebase iOS SDK 11.2.0. +// Copied from Firebase iOS SDK 11.6.0. // Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 // clang-1500.1.0.2.5) diff --git a/ios_pod/swift_headers/FirebaseStorage-Swift.h b/ios_pod/swift_headers/FirebaseStorage-Swift.h index d3adea86e..06f5e0fd5 100644 --- a/ios_pod/swift_headers/FirebaseStorage-Swift.h +++ b/ios_pod/swift_headers/FirebaseStorage-Swift.h @@ -1,7 +1,7 @@ #if 0 #elif defined(__arm64__) && __arm64__ // Copyright 2024 Google LLC -// Copied from Firebase iOS SDK 11.2.0. +// Copied from Firebase iOS SDK 11.6.0. // Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 // clang-1500.1.0.2.5) @@ -358,8 +358,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// A method used to create Storage instances initialized with a /// custom storage bucket URL. Any StorageReferences generated from /// this instance of Storage will reference files and directories -/// within the specified bucket. \param url The gs:// URL to your -/// Firebase Storage bucket. +/// within the specified bucket. +/// \param url The gs:// URL to your Firebase Storage bucket. /// /// /// returns: @@ -369,8 +369,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// Creates an instance of Storage, configured with a custom /// FirebaseApp. StorageReferences generated from a /// resulting instance will reference files in the Firebase project associated -/// with custom FirebaseApp. \param app The custom -/// FirebaseApp used for initialization. +/// with custom FirebaseApp. +/// \param app The custom FirebaseApp used for initialization. /// /// /// returns: @@ -379,8 +379,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) + (FIRStorage *_Nonnull)storageForApp:(FIRApp *_Nonnull)app SWIFT_WARN_UNUSED_RESULT; /// Creates an instance of Storage, configured with a custom -/// FirebaseApp and a custom storage bucket URL. \param app The -/// custom FirebaseApp used for initialization. +/// FirebaseApp and a custom storage bucket URL. +/// \param app The custom FirebaseApp used for initialization. /// /// \param url The gs:// url to your Firebase Storage bucket. /// @@ -442,8 +442,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) SWIFT_AVAILABILITY(tvos, introduced = 13) SWIFT_AVAILABILITY(ios, introduced = 13); /// Creates a StorageReference initialized at a location specified -/// by the path parameter. \param path A relative path from the -/// root of the storage bucket, for instance @“path/to/object”. +/// by the path parameter. +/// \param path A relative path from the root of the storage bucket, +/// for instance @“path/to/object”. /// /// /// returns: @@ -452,8 +453,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) SWIFT_WARN_UNUSED_RESULT; /// Configures the Storage SDK to use an emulated backend instead of the default /// remote backend. This method should be called before invoking any other -/// methods on a new instance of Storage. \param host A string -/// specifying the host. +/// methods on a new instance of Storage. +/// \param host A string specifying the host. /// /// \param port The port specified as an Int. /// @@ -517,7 +518,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) SWIFT_AVAILABILITY(ios, introduced = 13) @interface FIRStorageObservableTask : FIRStorageTask /// Observes changes in the upload status: Resume, Pause, Progress, Success, and -/// Failure. \param status The StorageTaskStatus change to observe. +/// Failure. +/// \param status The StorageTaskStatus change to observe. /// /// \param handler A callback that fires every time the status event occurs, /// containing a StorageTaskSnapshot describing task state. @@ -731,7 +733,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) - (FIRStorageReference *_Nonnull)root SWIFT_WARN_UNUSED_RESULT; /// Creates a new StorageReference pointing to the parent of the /// current reference or nil if this instance references the root -/// location. \code For example: +/// location. +/// \code +/// For example: /// path = foo/bar/baz parent = foo/bar /// path = foo parent = (root) /// path = (root) parent = nil @@ -742,7 +746,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// reference. - (FIRStorageReference *_Nullable)parent SWIFT_WARN_UNUSED_RESULT; /// Creates a new StorageReference pointing to a child object of -/// the current reference. \code +/// the current reference. +/// \code /// path = foo child = bar newPath = foo/bar /// path = foo/bar child = baz ntask.impl.snapshotwPath = foo/bar/baz /// All leading and trailing slashes will be removed, and consecutive slashes @@ -776,8 +781,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) (FIRStorageMetadata *_Nullable)metadata; /// Asynchronously uploads data to the currently specified /// StorageReference. This is not recommended for large files, and -/// one should instead upload a file from disk. \param uploadData The data to -/// upload. +/// one should instead upload a file from disk. +/// \param uploadData The data to upload. /// /// /// returns: @@ -786,8 +791,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) - (FIRStorageUploadTask *_Nonnull)putData:(NSData *_Nonnull)uploadData; /// Asynchronously uploads data to the currently specified /// StorageReference. This is not recommended for large files, and -/// one should instead upload a file from disk. \param uploadData The data to -/// upload. +/// one should instead upload a file from disk. +/// \param uploadData The data to upload. /// /// \param metadata StorageMetadata containing additional /// information (MIME type, etc.) about the object being uploaded. @@ -805,8 +810,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) completion:(void (^_Nullable)(FIRStorageMetadata *_Nullable, NSError *_Nullable))completion; /// Asynchronously uploads a file to the currently specified -/// StorageReference. \param fileURL A URL representing the system -/// file path of the object to be uploaded. +/// StorageReference. +/// \param fileURL A URL representing the system file path of the object to be +/// uploaded. /// /// \param metadata StorageMetadata containing additional /// information (MIME type, etc.) about the object being uploaded. @@ -826,8 +832,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// manage the upload. - (FIRStorageUploadTask *_Nonnull)putFile:(NSURL *_Nonnull)fileURL; /// Asynchronously uploads a file to the currently specified -/// StorageReference. \param fileURL A URL representing the system -/// file path of the object to be uploaded. +/// StorageReference. +/// \param fileURL A URL representing the system file path of the object to be +/// uploaded. /// /// \param metadata StorageMetadata containing additional /// information (MIME type, etc.) about the object being uploaded. @@ -848,9 +855,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// a Data instance in memory. A Data buffer of the /// provided max size will be allocated, so ensure that the device has enough /// free memory to complete the download. For downloading large files, -/// write(toFile:) may be a better option. \param maxSize The -/// maximum size in bytes to download. If the download exceeds this size, the -/// task will be cancelled and an error will be returned. +/// write(toFile:) may be a better option. +/// \param maxSize The maximum size in bytes to download. If the download +/// exceeds this size, the task will be cancelled and an error will be returned. /// /// \param completion A completion block that either returns the object data on /// success, or an error on failure. @@ -865,8 +872,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) NSError *_Nullable))completion; /// Asynchronously retrieves a long lived download URL with a revokable token. /// This can be used to share the file with others, but can be revoked by a -/// developer in the Firebase Console. \param completion A completion block that -/// either returns the URL on success, or an error on failure. +/// developer in the Firebase Console. +/// \param completion A completion block that either returns the URL on success, +/// or an error on failure. /// - (void)downloadURLWithCompletion: (void (^_Nonnull)(NSURL *_Nullable, NSError *_Nullable))completion; @@ -882,8 +890,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// - (FIRStorageDownloadTask *_Nonnull)writeToFile:(NSURL *_Nonnull)fileURL; /// Asynchronously downloads the object at the current path to a specified -/// system filepath. \param fileURL A file system URL representing the path the -/// object should be downloaded to. +/// system filepath. +/// \param fileURL A file system URL representing the path the object should be +/// downloaded to. /// /// \param completion A closure that fires when the file download completes, /// passed either a URL pointing to the file path of the downloaded file on @@ -903,9 +912,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// of the result is not guaranteed if objects are inserted or removed while /// this operation is executing. All results are buffered in memory. /// listAll(completion:) is only available for projects using -/// Firebase Rules Version 2. \param completion A completion handler that will -/// be invoked with all items and prefixes under the current -/// StorageReference. +/// Firebase Rules Version 2. +/// \param completion A completion handler that will be invoked with all items +/// and prefixes under the current StorageReference. /// - (void)listAllWithCompletion:(void (^_Nonnull)(FIRStorageListResult *_Nullable, NSError *_Nullable))completion; @@ -930,9 +939,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// as a path delimiter. Storage does not support unsupported object paths that /// end with “/” or contain two consecutive “/“s. All invalid objects in GCS /// will be filtered. list(maxResults:pageToken:completion:)is only -/// available for projects using Firebase Rules Version 2. \param maxResults The -/// maximum number of results to return in a single page. Must be greater than 0 -/// and at most 1000. +/// available for projects using Firebase Rules Version 2. +/// \param maxResults The maximum number of results to return in a single page. +/// Must be greater than 0 and at most 1000. /// /// \param pageToken A page token from a previous call to list. /// @@ -1050,7 +1059,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) #elif defined(__x86_64__) && __x86_64__ // Copyright 2024 Google LLC -// Copied from Firebase iOS SDK 11.2.0. +// Copied from Firebase iOS SDK 11.6.0. // Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 // clang-1500.1.0.2.5) @@ -1407,8 +1416,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// A method used to create Storage instances initialized with a /// custom storage bucket URL. Any StorageReferences generated from /// this instance of Storage will reference files and directories -/// within the specified bucket. \param url The gs:// URL to your -/// Firebase Storage bucket. +/// within the specified bucket. +/// \param url The gs:// URL to your Firebase Storage bucket. /// /// /// returns: @@ -1418,8 +1427,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// Creates an instance of Storage, configured with a custom /// FirebaseApp. StorageReferences generated from a /// resulting instance will reference files in the Firebase project associated -/// with custom FirebaseApp. \param app The custom -/// FirebaseApp used for initialization. +/// with custom FirebaseApp. +/// \param app The custom FirebaseApp used for initialization. /// /// /// returns: @@ -1428,8 +1437,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) + (FIRStorage *_Nonnull)storageForApp:(FIRApp *_Nonnull)app SWIFT_WARN_UNUSED_RESULT; /// Creates an instance of Storage, configured with a custom -/// FirebaseApp and a custom storage bucket URL. \param app The -/// custom FirebaseApp used for initialization. +/// FirebaseApp and a custom storage bucket URL. +/// \param app The custom FirebaseApp used for initialization. /// /// \param url The gs:// url to your Firebase Storage bucket. /// @@ -1491,8 +1500,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) SWIFT_AVAILABILITY(tvos, introduced = 13) SWIFT_AVAILABILITY(ios, introduced = 13); /// Creates a StorageReference initialized at a location specified -/// by the path parameter. \param path A relative path from the -/// root of the storage bucket, for instance @“path/to/object”. +/// by the path parameter. +/// \param path A relative path from the root of the storage bucket, +/// for instance @“path/to/object”. /// /// /// returns: @@ -1501,8 +1511,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) SWIFT_WARN_UNUSED_RESULT; /// Configures the Storage SDK to use an emulated backend instead of the default /// remote backend. This method should be called before invoking any other -/// methods on a new instance of Storage. \param host A string -/// specifying the host. +/// methods on a new instance of Storage. +/// \param host A string specifying the host. /// /// \param port The port specified as an Int. /// @@ -1566,7 +1576,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) SWIFT_AVAILABILITY(ios, introduced = 13) @interface FIRStorageObservableTask : FIRStorageTask /// Observes changes in the upload status: Resume, Pause, Progress, Success, and -/// Failure. \param status The StorageTaskStatus change to observe. +/// Failure. +/// \param status The StorageTaskStatus change to observe. /// /// \param handler A callback that fires every time the status event occurs, /// containing a StorageTaskSnapshot describing task state. @@ -1780,7 +1791,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) - (FIRStorageReference *_Nonnull)root SWIFT_WARN_UNUSED_RESULT; /// Creates a new StorageReference pointing to the parent of the /// current reference or nil if this instance references the root -/// location. \code For example: +/// location. +/// \code +/// For example: /// path = foo/bar/baz parent = foo/bar /// path = foo parent = (root) /// path = (root) parent = nil @@ -1791,7 +1804,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// reference. - (FIRStorageReference *_Nullable)parent SWIFT_WARN_UNUSED_RESULT; /// Creates a new StorageReference pointing to a child object of -/// the current reference. \code +/// the current reference. +/// \code /// path = foo child = bar newPath = foo/bar /// path = foo/bar child = baz ntask.impl.snapshotwPath = foo/bar/baz /// All leading and trailing slashes will be removed, and consecutive slashes @@ -1825,8 +1839,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) (FIRStorageMetadata *_Nullable)metadata; /// Asynchronously uploads data to the currently specified /// StorageReference. This is not recommended for large files, and -/// one should instead upload a file from disk. \param uploadData The data to -/// upload. +/// one should instead upload a file from disk. +/// \param uploadData The data to upload. /// /// /// returns: @@ -1835,8 +1849,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) - (FIRStorageUploadTask *_Nonnull)putData:(NSData *_Nonnull)uploadData; /// Asynchronously uploads data to the currently specified /// StorageReference. This is not recommended for large files, and -/// one should instead upload a file from disk. \param uploadData The data to -/// upload. +/// one should instead upload a file from disk. +/// \param uploadData The data to upload. /// /// \param metadata StorageMetadata containing additional /// information (MIME type, etc.) about the object being uploaded. @@ -1854,8 +1868,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) completion:(void (^_Nullable)(FIRStorageMetadata *_Nullable, NSError *_Nullable))completion; /// Asynchronously uploads a file to the currently specified -/// StorageReference. \param fileURL A URL representing the system -/// file path of the object to be uploaded. +/// StorageReference. +/// \param fileURL A URL representing the system file path of the object to be +/// uploaded. /// /// \param metadata StorageMetadata containing additional /// information (MIME type, etc.) about the object being uploaded. @@ -1875,8 +1890,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// manage the upload. - (FIRStorageUploadTask *_Nonnull)putFile:(NSURL *_Nonnull)fileURL; /// Asynchronously uploads a file to the currently specified -/// StorageReference. \param fileURL A URL representing the system -/// file path of the object to be uploaded. +/// StorageReference. +/// \param fileURL A URL representing the system file path of the object to be +/// uploaded. /// /// \param metadata StorageMetadata containing additional /// information (MIME type, etc.) about the object being uploaded. @@ -1897,9 +1913,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// a Data instance in memory. A Data buffer of the /// provided max size will be allocated, so ensure that the device has enough /// free memory to complete the download. For downloading large files, -/// write(toFile:) may be a better option. \param maxSize The -/// maximum size in bytes to download. If the download exceeds this size, the -/// task will be cancelled and an error will be returned. +/// write(toFile:) may be a better option. +/// \param maxSize The maximum size in bytes to download. If the download +/// exceeds this size, the task will be cancelled and an error will be returned. /// /// \param completion A completion block that either returns the object data on /// success, or an error on failure. @@ -1914,8 +1930,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) NSError *_Nullable))completion; /// Asynchronously retrieves a long lived download URL with a revokable token. /// This can be used to share the file with others, but can be revoked by a -/// developer in the Firebase Console. \param completion A completion block that -/// either returns the URL on success, or an error on failure. +/// developer in the Firebase Console. +/// \param completion A completion block that either returns the URL on success, +/// or an error on failure. /// - (void)downloadURLWithCompletion: (void (^_Nonnull)(NSURL *_Nullable, NSError *_Nullable))completion; @@ -1931,8 +1948,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// - (FIRStorageDownloadTask *_Nonnull)writeToFile:(NSURL *_Nonnull)fileURL; /// Asynchronously downloads the object at the current path to a specified -/// system filepath. \param fileURL A file system URL representing the path the -/// object should be downloaded to. +/// system filepath. +/// \param fileURL A file system URL representing the path the object should be +/// downloaded to. /// /// \param completion A closure that fires when the file download completes, /// passed either a URL pointing to the file path of the downloaded file on @@ -1952,9 +1970,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// of the result is not guaranteed if objects are inserted or removed while /// this operation is executing. All results are buffered in memory. /// listAll(completion:) is only available for projects using -/// Firebase Rules Version 2. \param completion A completion handler that will -/// be invoked with all items and prefixes under the current -/// StorageReference. +/// Firebase Rules Version 2. +/// \param completion A completion handler that will be invoked with all items +/// and prefixes under the current StorageReference. /// - (void)listAllWithCompletion:(void (^_Nonnull)(FIRStorageListResult *_Nullable, NSError *_Nullable))completion; @@ -1979,9 +1997,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// as a path delimiter. Storage does not support unsupported object paths that /// end with “/” or contain two consecutive “/“s. All invalid objects in GCS /// will be filtered. list(maxResults:pageToken:completion:)is only -/// available for projects using Firebase Rules Version 2. \param maxResults The -/// maximum number of results to return in a single page. Must be greater than 0 -/// and at most 1000. +/// available for projects using Firebase Rules Version 2. +/// \param maxResults The maximum number of results to return in a single page. +/// Must be greater than 0 and at most 1000. /// /// \param pageToken A page token from a previous call to list. /// diff --git a/ios_pod/swift_headers/Promises-Swift.h b/ios_pod/swift_headers/Promises-Swift.h index c729d60da..5d3f38f3b 100644 --- a/ios_pod/swift_headers/Promises-Swift.h +++ b/ios_pod/swift_headers/Promises-Swift.h @@ -1,7 +1,7 @@ #if 0 #elif defined(__arm64__) && __arm64__ // Copyright 2024 Google LLC -// Copied from Firebase iOS SDK 11.2.0. +// Copied from Firebase iOS SDK 11.6.0. // Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 // clang-1500.1.0.2.5) @@ -336,7 +336,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #elif defined(__x86_64__) && __x86_64__ // Copyright 2024 Google LLC -// Copied from Firebase iOS SDK 11.2.0. +// Copied from Firebase iOS SDK 11.6.0. // Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 // clang-1500.1.0.2.5) diff --git a/ios_pod/swift_headers/SwiftProtobuf-Swift.h b/ios_pod/swift_headers/SwiftProtobuf-Swift.h index ff89de94f..d4c4dcbf4 100644 --- a/ios_pod/swift_headers/SwiftProtobuf-Swift.h +++ b/ios_pod/swift_headers/SwiftProtobuf-Swift.h @@ -1,7 +1,7 @@ #if 0 #elif defined(__arm64__) && __arm64__ // Copyright 2024 Google LLC -// Copied from Firebase iOS SDK 11.2.0. +// Copied from Firebase iOS SDK 11.6.0. // Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 // clang-1500.1.0.2.5) @@ -337,7 +337,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #elif defined(__x86_64__) && __x86_64__ // Copyright 2024 Google LLC -// Copied from Firebase iOS SDK 11.2.0. +// Copied from Firebase iOS SDK 11.6.0. // Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 // clang-1500.1.0.2.5) diff --git a/messaging/integration_test/Podfile b/messaging/integration_test/Podfile index 025bd16fa..86721eb76 100644 --- a/messaging/integration_test/Podfile +++ b/messaging/integration_test/Podfile @@ -4,14 +4,14 @@ use_frameworks! :linkage => :static target 'integration_test' do platform :ios, '13.0' - pod 'Firebase/Messaging', '11.4.2' - pod 'Firebase/Functions', '11.4.2' + pod 'Firebase/Messaging', '11.6.0' + pod 'Firebase/Functions', '11.6.0' end target 'integration_test_tvos' do platform :tvos, '13.0' - pod 'Firebase/Messaging', '11.4.2' - pod 'Firebase/Functions', '11.4.2' + pod 'Firebase/Messaging', '11.6.0' + pod 'Firebase/Functions', '11.6.0' end post_install do |installer| diff --git a/messaging/messaging_java/build.gradle b/messaging/messaging_java/build.gradle index 46c7ad790..f48cfa1b8 100644 --- a/messaging/messaging_java/build.gradle +++ b/messaging/messaging_java/build.gradle @@ -61,7 +61,7 @@ android { } dependencies { - implementation platform('com.google.firebase:firebase-bom:33.5.1') + implementation platform('com.google.firebase:firebase-bom:33.7.0') implementation 'com.google.firebase:firebase-analytics' implementation 'com.google.firebase:firebase-messaging' implementation 'com.google.flatbuffers:flatbuffers-java:1.12.0' diff --git a/release_build_files/Android/firebase_dependencies.gradle b/release_build_files/Android/firebase_dependencies.gradle index aaf7d9453..66967593e 100644 --- a/release_build_files/Android/firebase_dependencies.gradle +++ b/release_build_files/Android/firebase_dependencies.gradle @@ -132,7 +132,7 @@ project.afterEvaluate { // Add the bill-of-materials project.dependencies { - implementation platform('com.google.firebase:firebase-bom:33.5.1') + implementation platform('com.google.firebase:firebase-bom:33.7.0') } for (String lib : firebaseCpp.dependencies.libSet) { // Messaging includes an aar, which to be depended on properly requires diff --git a/release_build_files/readme.md b/release_build_files/readme.md index 1863d4c4a..46a6e69c4 100644 --- a/release_build_files/readme.md +++ b/release_build_files/readme.md @@ -86,7 +86,7 @@ distributed as part of the core Firebase Feature | Required Libraries and Gradle Packages -------------------------- | -------------------------------------- -All Firebase SDKs | platform(com.google.firebase:firebase-bom:33.5.1) +All Firebase SDKs | platform(com.google.firebase:firebase-bom:33.7.0) | | (Android Bill of Materials) Firebase Analytics | libfirebase_analytics.a | | libfirebase_app.a @@ -149,7 +149,7 @@ Firebase Messaging | libfirebase_messaging.a | | com.google.firebase:firebase-messaging | | (Maven package) | | libmessaging_java.jar (Android service) -| | androidx.core:core:1.13.1 (Maven package) +| | androidx.core:core:1.15.0 (Maven package) Firebase Realtime Database | libfirebase_database.a | | libfirebase_auth.a | | libfirebase_app.a @@ -230,50 +230,50 @@ Feature | Required Frameworks and Cocoapods -------------------------- | --------------------------------------- Firebase Analytics | firebase_analytics.xcframework | | firebase.xcframework -| | Firebase/Analytics Cocoapod (11.4.2) +| | Firebase/Analytics Cocoapod (11.6.0) Firebase App Check | firebase_app_check.xcframework | | firebase.xcframework -| | Firebase/AppCheck Cocoapod (11.4.2) +| | Firebase/AppCheck Cocoapod (11.6.0) Firebase Authentication | firebase_auth.xcframework | | firebase.xcframework -| | Firebase/Auth Cocoapod (11.4.2) +| | Firebase/Auth Cocoapod (11.6.0) Firebase Dynamic Links | firebase_dynamic_links.xcframework | | firebase.xcframework -| | Firebase/DynamicLinks Cocoapod (11.4.2) +| | Firebase/DynamicLinks Cocoapod (11.6.0) Cloud Firestore | firebase_firestore.xcframework | | firebase_auth.xcframework | | firebase.xcframework -| | Firebase/Firestore Cocoapod (11.4.2) -| | Firebase/Auth Cocoapod (11.4.2) +| | Firebase/Firestore Cocoapod (11.6.0) +| | Firebase/Auth Cocoapod (11.6.0) Firebase Functions | firebase_functions.xcframework | | firebase_auth.xcframework (optional) | | firebase.xcframework -| | Firebase/Functions Cocoapod (11.4.2) -| | Firebase/Auth Cocoapod (11.4.2) +| | Firebase/Functions Cocoapod (11.6.0) +| | Firebase/Auth Cocoapod (11.6.0) Google Mobile Ads | firebase_gma.xcframework | | firebase.xcframework -| | Firebase/CoreOnly Cocoapod (11.4.2) +| | Firebase/CoreOnly Cocoapod (11.6.0) | | Google-Mobile-Ads-SDK Cocoapod (11.2.0) | | GoogleUserMessagingPlatform Cocoapod (2.3.0) Firebase Installations | firebase_installations.xcframework | | firebase.xcframework -| | FirebaseInstallations Cocoapod (11.4.0) +| | FirebaseInstallations Cocoapod (11.6.0) Firebase Cloud Messaging | firebase_messaging.xcframework | | firebase.xcframework -| | Firebase/Messaging Cocoapod (11.4.2) +| | Firebase/Messaging Cocoapod (11.6.0) Firebase Realtime Database | firebase_database.xcframework | | firebase_auth.xcframework | | firebase.xcframework -| | Firebase/Database Cocoapod (11.4.2) -| | Firebase/Auth Cocoapod (11.4.2) +| | Firebase/Database Cocoapod (11.6.0) +| | Firebase/Auth Cocoapod (11.6.0) Firebase Remote Config | firebase_remote_config.xcframework | | firebase.xcframework -| | Firebase/RemoteConfig Cocoapod (11.4.2) +| | Firebase/RemoteConfig Cocoapod (11.6.0) Firebase Storage | firebase_storage.xcframework | | firebase_auth.xcframework | | firebase.xcframework -| | Firebase/Storage Cocoapod (11.4.2) -| | Firebase/Auth Cocoapod (11.4.2) +| | Firebase/Storage Cocoapod (11.6.0) +| | Firebase/Auth Cocoapod (11.6.0) Important: Each version of the Firebase C++ SDK supports a specific version of the Firebase iOS SDK. Please ensure that you reference the Cocoapod versions @@ -293,50 +293,50 @@ Feature | Required Libraries and Cocoapods -------------------------- | ----------------------------------------- Firebase Analytics | libfirebase_analytics.a | | libfirebase_app.a -| | Firebase/Analytics Cocoapod (11.4.2) +| | Firebase/Analytics Cocoapod (11.6.0) Firebase App Check | firebase_app_check.xcframework | | firebase.xcframework -| | Firebase/AppCheck Cocoapod (11.4.2) +| | Firebase/AppCheck Cocoapod (11.6.0) Firebase Authentication | libfirebase_auth.a | | libfirebase_app.a -| | Firebase/Auth Cocoapod (11.4.2) +| | Firebase/Auth Cocoapod (11.6.0) Firebase Dynamic Links | libfirebase_dynamic_links.a | | libfirebase_app.a -| | Firebase/DynamicLinks Cocoapod (11.4.2) +| | Firebase/DynamicLinks Cocoapod (11.6.0) Cloud Firestore | libfirebase_firestore.a | | libfirebase_app.a | | libfirebase_auth.a -| | Firebase/Firestore Cocoapod (11.4.2) -| | Firebase/Auth Cocoapod (11.4.2) +| | Firebase/Firestore Cocoapod (11.6.0) +| | Firebase/Auth Cocoapod (11.6.0) Firebase Functions | libfirebase_functions.a | | libfirebase_app.a | | libfirebase_auth.a (optional) -| | Firebase/Functions Cocoapod (11.4.2) -| | Firebase/Auth Cocoapod (11.4.2) +| | Firebase/Functions Cocoapod (11.6.0) +| | Firebase/Auth Cocoapod (11.6.0) Google Mobile Ads | libfirebase_gma.a | | libfirebase_app.a -| | Firebase/CoreOnly Cocoapod (11.4.2) +| | Firebase/CoreOnly Cocoapod (11.6.0) | | Google-Mobile-Ads-SDK Cocoapod (11.2.0) | | GoogleUserMessagingPlatform Cocoapod (2.3.0) Firebase Installations | libfirebase_installations.a | | libfirebase_app.a -| | FirebaseInstallations Cocoapod (11.4.0) +| | FirebaseInstallations Cocoapod (11.6.0) Firebase Cloud Messaging | libfirebase_messaging.a | | libfirebase_app.a -| | Firebase/CloudMessaging Cocoapod (11.4.2) +| | Firebase/CloudMessaging Cocoapod (11.6.0) Firebase Realtime Database | libfirebase_database.a | | libfirebase_app.a | | libfirebase_auth.a -| | Firebase/Database Cocoapod (11.4.2) -| | Firebase/Auth Cocoapod (11.4.2) +| | Firebase/Database Cocoapod (11.6.0) +| | Firebase/Auth Cocoapod (11.6.0) Firebase Remote Config | libfirebase_remote_config.a | | libfirebase_app.a -| | Firebase/RemoteConfig Cocoapod (11.4.2) +| | Firebase/RemoteConfig Cocoapod (11.6.0) Firebase Storage | libfirebase_storage.a | | libfirebase_app.a | | libfirebase_auth.a -| | Firebase/Storage Cocoapod (11.4.2) -| | Firebase/Auth Cocoapod (11.4.2) +| | Firebase/Storage Cocoapod (11.6.0) +| | Firebase/Auth Cocoapod (11.6.0) Important: Each version of the Firebase C++ SDK supports a specific version of the Firebase iOS SDK. Please ensure that you reference the Cocoapod versions @@ -631,6 +631,11 @@ workflow use only during the development of your app, not for publicly shipping code. ## Release Notes +### 12.5.0 +- Changes + - General (iOS): Update to Firebase Cocoapods version 11.6.0. + - General (Android): Update to Firebase Android BoM version 33.7.0. + ### 12.4.0 - Changes - General (iOS): Update to Firebase Cocoapods version 11.4.2. diff --git a/remote_config/integration_test/Podfile b/remote_config/integration_test/Podfile index cb67d9617..be82f00dd 100644 --- a/remote_config/integration_test/Podfile +++ b/remote_config/integration_test/Podfile @@ -4,12 +4,12 @@ use_frameworks! :linkage => :static target 'integration_test' do platform :ios, '13.0' - pod 'Firebase/RemoteConfig', '11.4.2' + pod 'Firebase/RemoteConfig', '11.6.0' end target 'integration_test_tvos' do platform :tvos, '13.0' - pod 'Firebase/RemoteConfig', '11.4.2' + pod 'Firebase/RemoteConfig', '11.6.0' end post_install do |installer| diff --git a/remote_config/remote_config_resources/build.gradle b/remote_config/remote_config_resources/build.gradle index 504894d63..0ec2a1e96 100644 --- a/remote_config/remote_config_resources/build.gradle +++ b/remote_config/remote_config_resources/build.gradle @@ -55,7 +55,7 @@ android { } dependencies { - implementation platform('com.google.firebase:firebase-bom:33.5.1') + implementation platform('com.google.firebase:firebase-bom:33.7.0') implementation 'com.google.firebase:firebase-config' } diff --git a/storage/integration_test/Podfile b/storage/integration_test/Podfile index e26d0d810..281a14cad 100644 --- a/storage/integration_test/Podfile +++ b/storage/integration_test/Podfile @@ -4,14 +4,14 @@ use_frameworks! :linkage => :static target 'integration_test' do platform :ios, '13.0' - pod 'Firebase/Storage', '11.4.2' - pod 'Firebase/Auth', '11.4.2' + pod 'Firebase/Storage', '11.6.0' + pod 'Firebase/Auth', '11.6.0' end target 'integration_test_tvos' do platform :tvos, '13.0' - pod 'Firebase/Storage', '11.4.2' - pod 'Firebase/Auth', '11.4.2' + pod 'Firebase/Storage', '11.6.0' + pod 'Firebase/Auth', '11.6.0' end post_install do |installer| diff --git a/storage/storage_resources/build.gradle b/storage/storage_resources/build.gradle index 5a4ad39d8..109dbe805 100644 --- a/storage/storage_resources/build.gradle +++ b/storage/storage_resources/build.gradle @@ -54,7 +54,7 @@ android { } dependencies { - implementation platform('com.google.firebase:firebase-bom:33.5.1') + implementation platform('com.google.firebase:firebase-bom:33.7.0') implementation 'com.google.firebase:firebase-analytics' implementation 'com.google.firebase:firebase-storage' }