diff --git a/Android/firebase_dependencies.gradle b/Android/firebase_dependencies.gradle index 08b7b45510..1c7e1dc341 100644 --- a/Android/firebase_dependencies.gradle +++ b/Android/firebase_dependencies.gradle @@ -149,7 +149,7 @@ project.afterEvaluate { // Add the bill-of-materials project.dependencies { - implementation platform('com.google.firebase:firebase-bom:34.13.0') + implementation platform('com.google.firebase:firebase-bom:34.14.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 0f92c5397e..5845cf2719 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, '15.0' - pod 'Firebase/Analytics', '12.13.0' + pod 'Firebase/Analytics', '12.14.0' end target 'integration_test_tvos' do platform :tvos, '15.0' - pod 'Firebase/Analytics', '12.13.0' + pod 'Firebase/Analytics', '12.14.0' end post_install do |installer| diff --git a/analytics/ios_headers/FIREventNames.h b/analytics/ios_headers/FIREventNames.h index 7173e2f647..046df3a07f 100644 --- a/analytics/ios_headers/FIREventNames.h +++ b/analytics/ios_headers/FIREventNames.h @@ -1,6 +1,6 @@ // Copyright 2026 Google LLC -// Copied from Firebase Analytics iOS SDK 12.13.0. +// Copied from Firebase Analytics iOS SDK 12.14.0. /// @file FIREventNames.h /// diff --git a/analytics/ios_headers/FIRParameterNames.h b/analytics/ios_headers/FIRParameterNames.h index f5768ad0c3..4abda2fbf9 100644 --- a/analytics/ios_headers/FIRParameterNames.h +++ b/analytics/ios_headers/FIRParameterNames.h @@ -1,6 +1,6 @@ // Copyright 2026 Google LLC -// Copied from Firebase Analytics iOS SDK 12.13.0. +// Copied from Firebase Analytics iOS SDK 12.14.0. /// @file FIRParameterNames.h /// diff --git a/analytics/ios_headers/FIRUserPropertyNames.h b/analytics/ios_headers/FIRUserPropertyNames.h index ef64f92e1c..651334006b 100644 --- a/analytics/ios_headers/FIRUserPropertyNames.h +++ b/analytics/ios_headers/FIRUserPropertyNames.h @@ -1,6 +1,6 @@ // Copyright 2026 Google LLC -// Copied from Firebase Analytics iOS SDK 12.13.0. +// Copied from Firebase Analytics iOS SDK 12.14.0. /// @file FIRUserPropertyNames.h /// diff --git a/app/app_resources/build.gradle b/app/app_resources/build.gradle index 1395f51fe3..215002c7b7 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:34.13.0') + implementation platform('com.google.firebase:firebase-bom:34.14.0') implementation 'com.google.firebase:firebase-analytics' } diff --git a/app/google_api_resources/build.gradle b/app/google_api_resources/build.gradle index c3e57bab4f..1d9a7c8e75 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:34.13.0') + implementation platform('com.google.firebase:firebase-bom:34.14.0') implementation 'com.google.firebase:firebase-analytics' implementation 'com.google.android.gms:play-services-base:18.10.0' implementation project(':app:app_resources') diff --git a/app/integration_test/Podfile b/app/integration_test/Podfile index 4ab4449e54..f8327dda45 100644 --- a/app/integration_test/Podfile +++ b/app/integration_test/Podfile @@ -4,7 +4,7 @@ platform :ios, '15.0' use_frameworks! :linkage => :static target 'integration_test' do - pod 'Firebase/Analytics', '12.13.0' + pod 'Firebase/Analytics', '12.14.0' end post_install do |installer| diff --git a/app_check/app_check_resources/build.gradle b/app_check/app_check_resources/build.gradle index b5c992958f..088382a7a3 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:34.13.0') + implementation platform('com.google.firebase:firebase-bom:34.14.0') implementation 'com.google.firebase:firebase-appcheck' } diff --git a/app_check/integration_test/Podfile b/app_check/integration_test/Podfile index a4dd4db85e..b64b9bdffa 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, '15.0' - pod 'Firebase/AppCheck', '12.13.0' - pod 'Firebase/Database', '12.13.0' - pod 'Firebase/Auth', '12.13.0' - pod 'Firebase/Storage', '12.13.0' - pod 'Firebase/Functions', '12.13.0' + pod 'Firebase/AppCheck', '12.14.0' + pod 'Firebase/Database', '12.14.0' + pod 'Firebase/Auth', '12.14.0' + pod 'Firebase/Storage', '12.14.0' + pod 'Firebase/Functions', '12.14.0' end target 'integration_test_tvos' do platform :tvos, '15.0' - pod 'Firebase/AppCheck', '12.13.0' - pod 'Firebase/Database', '12.13.0' - pod 'Firebase/Auth', '12.13.0' - pod 'Firebase/Storage', '12.13.0' - pod 'Firebase/Functions', '12.13.0' + pod 'Firebase/AppCheck', '12.14.0' + pod 'Firebase/Database', '12.14.0' + pod 'Firebase/Auth', '12.14.0' + pod 'Firebase/Storage', '12.14.0' + pod 'Firebase/Functions', '12.14.0' end post_install do |installer| diff --git a/app_check/src/android/app_check_android.cc b/app_check/src/android/app_check_android.cc index 843d13d4d3..f8f0f76d93 100644 --- a/app_check/src/android/app_check_android.cc +++ b/app_check/src/android/app_check_android.cc @@ -110,11 +110,17 @@ METHOD_LOOKUP_DEFINITION( JNIEXPORT void JNICALL JniAppCheckProvider_nativeGetToken( JNIEnv* env, jobject j_provider, jlong c_provider, jobject task_completion_source); +JNIEXPORT void JNICALL JniAppCheckProvider_nativeGetLimitedUseToken( + JNIEnv* env, jobject j_provider, jlong c_provider, + jobject task_completion_source); static const JNINativeMethod kNativeJniAppCheckProviderMethods[] = { {"nativeGetToken", "(JLcom/google/android/gms/tasks/TaskCompletionSource;)V", - reinterpret_cast(JniAppCheckProvider_nativeGetToken)}}; + reinterpret_cast(JniAppCheckProvider_nativeGetToken)}, + {"nativeGetLimitedUseToken", + "(JLcom/google/android/gms/tasks/TaskCompletionSource;)V", + reinterpret_cast(JniAppCheckProvider_nativeGetLimitedUseToken)}}; // clang-format off #define JNI_APP_CHECK_LISTENER_METHODS(X) \ @@ -267,6 +273,39 @@ JNIEXPORT void JNICALL JniAppCheckProvider_nativeGetToken( provider->GetToken(token_callback); } +JNIEXPORT void JNICALL JniAppCheckProvider_nativeGetLimitedUseToken( + JNIEnv* env, jobject j_provider, jlong c_provider, + jobject task_completion_source) { + // Create GlobalReferences to the provider and task. These references will be + // deleted in the completion callback. + jobject j_provider_global = env->NewGlobalRef(j_provider); + jobject task_completion_source_global = + env->NewGlobalRef(task_completion_source); + + // Defines a C++ callback method to call + // JniAppCheckProvider.HandleGetTokenResult with the resulting token + auto token_callback{[j_provider_global, task_completion_source_global]( + firebase::app_check::AppCheckToken token, + int error_code, const std::string& error_message) { + // util::GetJNIEnvFromApp returns a threadsafe instance of JNIEnv. + JNIEnv* env = firebase::util::GetJNIEnvFromApp(); + jstring error_string = env->NewStringUTF(error_message.c_str()); + jstring token_string = env->NewStringUTF(token.token.c_str()); + env->CallVoidMethod( + j_provider_global, + jni_provider::GetMethodId(jni_provider::kHandleGetTokenResult), + task_completion_source_global, token_string, token.expire_time_millis, + error_code, error_string); + FIREBASE_ASSERT(!util::CheckAndClearJniExceptions(env)); + env->DeleteLocalRef(token_string); + env->DeleteLocalRef(error_string); + env->DeleteGlobalRef(j_provider_global); + env->DeleteGlobalRef(task_completion_source_global); + }}; + AppCheckProvider* provider = reinterpret_cast(c_provider); + provider->GetLimitedUseToken(token_callback); +} + JNIEXPORT void JNICALL JniAppCheckListener_nativeOnAppCheckTokenChanged( JNIEnv* env, jobject clazz, jlong c_app_check, jobject token) { auto app_check_internal = reinterpret_cast(c_app_check); diff --git a/app_check/src/android/common_android.cc b/app_check/src/android/common_android.cc index 095c1f3c03..dc570a6e7d 100644 --- a/app_check/src/android/common_android.cc +++ b/app_check/src/android/common_android.cc @@ -164,11 +164,25 @@ void AndroidAppCheckProvider::GetToken( void AndroidAppCheckProvider::GetLimitedUseToken( std::function completion_callback) { - LogWarning( - "GetLimitedUseToken() was called, but the AppCheckProvider interface on " - "Android does not yet support limited-use tokens. Falling back to " - "GetToken()."); - GetToken(completion_callback); + JNIEnv* env = GetJniEnv(); + + jobject j_task = env->CallObjectMethod( + android_provider_, + app_check_provider::GetMethodId(app_check_provider::kGetLimitedUseToken)); + std::string error = util::GetAndClearExceptionMessage(env); + if (error.empty()) { + // Create an object to wrap the callback function + TokenResultCallbackData* completion_callback_data = + new TokenResultCallbackData(completion_callback); + util::RegisterCallbackOnTask( + env, j_task, TokenResultCallback, + reinterpret_cast(completion_callback_data), + jni_task_id_.c_str()); + } else { + AppCheckToken empty_token; + completion_callback(empty_token, kAppCheckErrorUnknown, error.c_str()); + } + env->DeleteLocalRef(j_task); } } // namespace internal diff --git a/app_check/src/android/common_android.h b/app_check/src/android/common_android.h index 89984772e7..5e36250bf9 100644 --- a/app_check/src/android/common_android.h +++ b/app_check/src/android/common_android.h @@ -31,8 +31,10 @@ namespace internal { // Used to setup the cache of AppCheckProvider interface method IDs to reduce // time spent looking up methods by string. // clang-format off -#define APP_CHECK_PROVIDER_METHODS(X) \ - X(GetToken, "getToken", \ +#define APP_CHECK_PROVIDER_METHODS(X) \ + X(GetToken, "getToken", \ + "()Lcom/google/android/gms/tasks/Task;"), \ + X(GetLimitedUseToken, "getLimitedUseToken", \ "()Lcom/google/android/gms/tasks/Task;") // clang-format on diff --git a/app_check/src_java/com/google/firebase/appcheck/internal/cpp/JniAppCheckProvider.java b/app_check/src_java/com/google/firebase/appcheck/internal/cpp/JniAppCheckProvider.java index 365c61c823..16f142285b 100644 --- a/app_check/src_java/com/google/firebase/appcheck/internal/cpp/JniAppCheckProvider.java +++ b/app_check/src_java/com/google/firebase/appcheck/internal/cpp/JniAppCheckProvider.java @@ -41,6 +41,16 @@ public Task getToken() { return taskCompletionSource.getTask(); } + @Override + public Task getLimitedUseToken() { + TaskCompletionSource taskCompletionSource = + new TaskCompletionSource(); + // Call the C++ provider to get an AppCheckToken and set the task result. + // The C++ code will call handleGetTokenResult with the resulting token. + nativeGetLimitedUseToken(cProvider, taskCompletionSource); + return taskCompletionSource.getTask(); + } + /** * Called by C++ with a token in order to complete the java task. */ @@ -58,4 +68,6 @@ public void handleGetTokenResult(TaskCompletionSource taskComplet */ private native void nativeGetToken( long cProvider, TaskCompletionSource task_completion_source); + private native void nativeGetLimitedUseToken( + long cProvider, TaskCompletionSource task_completion_source); } diff --git a/auth/auth_resources/build.gradle b/auth/auth_resources/build.gradle index 6e7d03930c..11008bdf0d 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:34.13.0') + implementation platform('com.google.firebase:firebase-bom:34.14.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 ce93a60b98..20f1542651 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, '15.0' - pod 'Firebase/Auth', '12.13.0' + pod 'Firebase/Auth', '12.14.0' end target 'integration_test_tvos' do platform :tvos, '15.0' - pod 'Firebase/Auth', '12.13.0' + pod 'Firebase/Auth', '12.14.0' end post_install do |installer| diff --git a/cpp_sdk_version.json b/cpp_sdk_version.json index fd18678881..93340efc1a 100644 --- a/cpp_sdk_version.json +++ b/cpp_sdk_version.json @@ -1,5 +1,5 @@ { - "released": "13.7.0", - "stable": "13.7.0", - "head": "13.7.0" + "released": "13.8.0", + "stable": "13.8.0", + "head": "13.8.0" } diff --git a/database/database_resources/build.gradle b/database/database_resources/build.gradle index b928986290..726faab113 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:34.13.0') + implementation platform('com.google.firebase:firebase-bom:34.14.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 137ce84298..784ba4c143 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, '15.0' - pod 'Firebase/Database', '12.13.0' - pod 'Firebase/Auth', '12.13.0' + pod 'Firebase/Database', '12.14.0' + pod 'Firebase/Auth', '12.14.0' end target 'integration_test_tvos' do platform :tvos, '15.0' - pod 'Firebase/Database', '12.13.0' - pod 'Firebase/Auth', '12.13.0' + pod 'Firebase/Database', '12.14.0' + pod 'Firebase/Auth', '12.14.0' end post_install do |installer| diff --git a/firestore/firestore_resources/build.gradle b/firestore/firestore_resources/build.gradle index 8c82181856..9fa5bb5758 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:34.13.0') + implementation platform('com.google.firebase:firebase-bom:34.14.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 21f5fb9649..02ec88b4f9 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, '15.0' - pod 'Firebase/Firestore', '12.13.0' - pod 'Firebase/Auth', '12.13.0' + pod 'Firebase/Firestore', '12.14.0' + pod 'Firebase/Auth', '12.14.0' end target 'integration_test_tvos' do platform :tvos, '15.0' - pod 'FirebaseFirestore', '12.13.0' - pod 'Firebase/Auth', '12.13.0' + pod 'FirebaseFirestore', '12.14.0' + pod 'Firebase/Auth', '12.14.0' end post_install do |installer| diff --git a/firestore/integration_test_internal/Podfile b/firestore/integration_test_internal/Podfile index f622fdaaf1..db1314068c 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, '15.0' - pod 'Firebase/Firestore', '12.13.0' - pod 'Firebase/Auth', '12.13.0' + pod 'Firebase/Firestore', '12.14.0' + pod 'Firebase/Auth', '12.14.0' end target 'integration_test_tvos' do platform :tvos, '15.0' - pod 'FirebaseFirestore', '12.13.0' - pod 'Firebase/Auth', '12.13.0' + pod 'FirebaseFirestore', '12.14.0' + pod 'Firebase/Auth', '12.14.0' end post_install do |installer| diff --git a/functions/integration_test/Podfile b/functions/integration_test/Podfile index 72459dfe57..59cf00aab7 100644 --- a/functions/integration_test/Podfile +++ b/functions/integration_test/Podfile @@ -4,16 +4,16 @@ use_frameworks! :linkage => :static target 'integration_test' do platform :ios, '15.0' - pod 'Firebase/AppCheck', '12.13.0' - pod 'Firebase/Functions', '12.13.0' - pod 'Firebase/Auth', '12.13.0' + pod 'Firebase/AppCheck', '12.14.0' + pod 'Firebase/Functions', '12.14.0' + pod 'Firebase/Auth', '12.14.0' end target 'integration_test_tvos' do platform :tvos, '15.0' - pod 'Firebase/AppCheck', '12.13.0' - pod 'Firebase/Functions', '12.13.0' - pod 'Firebase/Auth', '12.13.0' + pod 'Firebase/AppCheck', '12.14.0' + pod 'Firebase/Functions', '12.14.0' + pod 'Firebase/Auth', '12.14.0' end post_install do |installer| diff --git a/installations/integration_test/Podfile b/installations/integration_test/Podfile index 95b9e6396c..633d5a039a 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, '15.0' - pod 'Firebase/Analytics', '12.13.0' - pod 'Firebase/Installations', '12.13.0' + pod 'Firebase/Analytics', '12.14.0' + pod 'Firebase/Installations', '12.14.0' end post_install do |installer| diff --git a/ios_pod/Podfile b/ios_pod/Podfile index 8a88188381..63d3c26847 100644 --- a/ios_pod/Podfile +++ b/ios_pod/Podfile @@ -3,20 +3,20 @@ platform :ios, '15.0' use_frameworks! target 'GetPods' do - pod 'Firebase/Core', '12.13.0' + pod 'Firebase/Core', '12.14.0' pod 'GoogleUserMessagingPlatform', '2.3.0' - pod 'Firebase/Analytics', '12.13.0' - pod 'Firebase/AppCheck', '12.13.0' - pod 'Firebase/Auth', '12.13.0' - pod 'Firebase/Crashlytics', '12.13.0' - pod 'Firebase/Database', '12.13.0' - pod 'Firebase/Firestore', '12.13.0' - pod 'Firebase/Functions', '12.13.0' - pod 'Firebase/Installations', '12.13.0' - pod 'Firebase/Messaging', '12.13.0' - pod 'Firebase/RemoteConfig', '12.13.0' - pod 'Firebase/Storage', '12.13.0' + pod 'Firebase/Analytics', '12.14.0' + pod 'Firebase/AppCheck', '12.14.0' + pod 'Firebase/Auth', '12.14.0' + pod 'Firebase/Crashlytics', '12.14.0' + pod 'Firebase/Database', '12.14.0' + pod 'Firebase/Firestore', '12.14.0' + pod 'Firebase/Functions', '12.14.0' + pod 'Firebase/Installations', '12.14.0' + pod 'Firebase/Messaging', '12.14.0' + pod 'Firebase/RemoteConfig', '12.14.0' + pod 'Firebase/Storage', '12.14.0' end diff --git a/ios_pod/swift_headers/FirebaseAnalytics-Swift.h b/ios_pod/swift_headers/FirebaseAnalytics-Swift.h index 87fe10b937..50530c3c32 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 2026 Google LLC -// Copied from Firebase iOS SDK 12.13.0. +// Copied from Firebase iOS SDK 12.14.0. // Generated by Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 // clang-1700.6.3.2) @@ -343,7 +343,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #elif defined(__x86_64__) && __x86_64__ // Copyright 2026 Google LLC -// Copied from Firebase iOS SDK 12.13.0. +// Copied from Firebase iOS SDK 12.14.0. // Generated by Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 // clang-1700.6.3.2) diff --git a/ios_pod/swift_headers/FirebaseAuth-Swift.h b/ios_pod/swift_headers/FirebaseAuth-Swift.h index f20712ec32..833f8ec687 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 2026 Google LLC -// Copied from Firebase iOS SDK 12.13.0. +// Copied from Firebase iOS SDK 12.14.0. // Generated by Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 // clang-1700.6.3.2) @@ -486,12 +486,7 @@ enum FIRAuthAPNSTokenType : NSInteger; /// Manages authentication for Firebase apps. /// This class is thread-safe. SWIFT_CLASS_NAMED("Auth") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) @interface FIRAuth - : NSObject +@interface FIRAuth : NSObject /// Gets the auth object for the default Firebase app. /// The default Firebase app must have already been configured or an exception /// will be raised. @@ -797,12 +792,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// The AuthDataResult after the successful signin. - (void)signInAnonymouslyWithCompletionHandler: (void (^_Nonnull)(FIRAuthDataResult* _Nullable, - NSError* _Nullable))completionHandler - SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13); + NSError* _Nullable))completionHandler; /// Asynchronously signs in to Firebase with the given Auth token. /// Possible error codes: ///
    @@ -1188,13 +1178,7 @@ SWIFT_AVAILABILITY(ios, introduced = 13.0) openURLContexts:(NSSet* _Nonnull)URLContexts; @end -SWIFT_AVAILABILITY(watchos, introduced = 7) -SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, - introduced = 13) SWIFT_AVAILABILITY(ios, - introduced = 13) - @interface FIRAuth(SWIFT_EXTENSION(FirebaseAuth)) +@interface FIRAuth (SWIFT_EXTENSION (FirebaseAuth)) /// Retrieves the Firebase authentication token, possibly refreshing it if it /// has expired. This method is not for public use. It is for Firebase clients /// of AuthInterop. @@ -1241,12 +1225,7 @@ typedef SWIFT_ENUM_NAMED(NSInteger, FIRAuthAPNSTokenType, "AuthAPNSTokenType", /// Public representation of a credential. SWIFT_CLASS_NAMED("AuthCredential") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRAuthCredential : NSObject +@interface FIRAuthCredential : NSObject /// The name of the identity provider for the credential. @property(nonatomic, readonly, copy) NSString* _Nonnull provider; - (nonnull instancetype)init SWIFT_UNAVAILABLE; @@ -1258,12 +1237,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// reauthenticate action. It contains references to a User /// instance and an AdditionalUserInfo instance. SWIFT_CLASS_NAMED("AuthDataResult") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRAuthDataResult : NSObject +@interface FIRAuthDataResult : NSObject /// The signed in user. @property(nonatomic, readonly, strong) FIRUser* _Nonnull user; /// If available, contains the additional IdP specific information about signed @@ -1285,13 +1259,7 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly) + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); @end -SWIFT_AVAILABILITY(watchos, introduced = 7) -SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRAuthDataResult( - SWIFT_EXTENSION(FirebaseAuth)) +@interface FIRAuthDataResult (SWIFT_EXTENSION (FirebaseAuth)) @end /// Error codes used by Firebase Auth. @@ -1611,12 +1579,7 @@ SWIFT_CLASS_NAMED("AuthSettings") /// A data class containing the ID token JWT string and other properties /// associated with the token including the decoded payload claims. SWIFT_CLASS_NAMED("AuthTokenResult") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRAuthTokenResult : NSObject +@interface FIRAuthTokenResult : NSObject /// Stores the JWT string of the ID token. @property(nonatomic, copy) NSString* _Nonnull token; /// Stores the ID token’s expiration date. @@ -1646,13 +1609,7 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly) + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); @end -SWIFT_AVAILABILITY(watchos, introduced = 7) -SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRAuthTokenResult( - SWIFT_EXTENSION(FirebaseAuth)) +@interface FIRAuthTokenResult (SWIFT_EXTENSION (FirebaseAuth)) @end @class UIViewController; @@ -1689,12 +1646,7 @@ SWIFT_PROTOCOL_NAMED("AuthUIDelegate") /// A concrete implementation of AuthProvider for Email & Password /// Sign In. SWIFT_CLASS_NAMED("EmailAuthProvider") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIREmailAuthProvider : NSObject +@interface FIREmailAuthProvider : NSObject /// A string constant identifying the email & password identity provider. SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) NSString* _Nonnull id;) @@ -1726,12 +1678,7 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) /// Utility class for constructing Facebook Sign In credentials. SWIFT_CLASS_NAMED("FacebookAuthProvider") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRFacebookAuthProvider : NSObject +@interface FIRFacebookAuthProvider : NSObject /// A string constant identifying the Facebook identity provider. SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) NSString* _Nonnull id;) @@ -1749,12 +1696,7 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) /// Utility type for constructing federated auth provider credentials. SWIFT_PROTOCOL_NAMED("FederatedAuthProvider") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @protocol FIRFederatedAuthProvider +@protocol FIRFederatedAuthProvider /// Used to obtain an auth credential via a mobile web flow. /// This method is available on iOS only. /// \param uiDelegate An optional UI delegate used to present the mobile web @@ -1777,12 +1719,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// A concrete implementation of AuthProvider for Game Center Sign /// In. Not available on watchOS. SWIFT_CLASS_NAMED("GameCenterAuthProvider") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRGameCenterAuthProvider : NSObject +@interface FIRGameCenterAuthProvider : NSObject /// A string constant identifying the Game Center identity provider. SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) NSString* _Nonnull id;) @@ -1796,12 +1733,7 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) /// Utility class for constructing GitHub Sign In credentials. SWIFT_CLASS_NAMED("GitHubAuthProvider") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRGitHubAuthProvider : NSObject +@interface FIRGitHubAuthProvider : NSObject /// A string constant identifying the GitHub identity provider. SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) NSString* _Nonnull id;) @@ -1819,12 +1751,7 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) /// Utility class for constructing Google Sign In credentials. SWIFT_CLASS_NAMED("GoogleAuthProvider") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRGoogleAuthProvider : NSObject +@interface FIRGoogleAuthProvider : NSObject /// A string constant identifying the Google identity provider. SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) NSString* _Nonnull id;) @@ -1850,12 +1777,7 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) /// The interface defining the multi factor related properties and operations /// pertaining to a user. This class is available on iOS and macOS. SWIFT_CLASS_NAMED("MultiFactor") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRMultiFactor : NSObject +@interface FIRMultiFactor : NSObject @property(nonatomic, copy) NSArray* _Nonnull enrolledFactors; /// Get a session for a second factor enrollment operation. @@ -1905,11 +1827,7 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly) OBJC_DESIGNATED_INITIALIZER; @end -SWIFT_AVAILABILITY(watchos, introduced = 7) -SWIFT_AVAILABILITY(maccatalyst, introduced = 13) SWIFT_AVAILABILITY( - macos, introduced = 10.15) SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRMultiFactor(SWIFT_EXTENSION(FirebaseAuth)) +@interface FIRMultiFactor (SWIFT_EXTENSION (FirebaseAuth)) @end /// The base class for asserting ownership of a second factor. This is @@ -1953,12 +1871,7 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly) /// ownership of a phone second factor. This class is available on iOS and /// macOS. SWIFT_CLASS_NAMED("MultiFactorResolver") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRMultiFactorResolver : NSObject +@interface FIRMultiFactorResolver : NSObject /// The opaque session identifier for the current sign-in flow. @property(nonatomic, readonly, strong) FIRMultiFactorSession* _Nonnull session; /// The list of hints for the second factors needed to complete the sign-in for @@ -1989,12 +1902,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// confirmation that the user passed the first factor challenge. This class is /// available on iOS and macOS. SWIFT_CLASS_NAMED("MultiFactorSession") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRMultiFactorSession : NSObject +@interface FIRMultiFactorSession : NSObject - (nonnull instancetype)init SWIFT_UNAVAILABLE; + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); @end @@ -2002,13 +1910,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// Internal implementation of AuthCredential for generic /// credentials. SWIFT_CLASS_NAMED("OAuthCredential") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIROAuthCredential - : FIRAuthCredential +@interface FIROAuthCredential : FIRAuthCredential /// The ID Token associated with this credential. @property(nonatomic, readonly, copy) NSString* _Nullable IDToken; /// The access token associated with this credential. @@ -2029,13 +1931,7 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly) @class NSPersonNameComponents; /// Utility class for constructing OAuth Sign In credentials. SWIFT_CLASS_NAMED("OAuthProvider") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIROAuthProvider - : NSObject +@interface FIROAuthProvider : NSObject SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) NSString* _Nonnull id;) + (NSString* _Nonnull)id SWIFT_WARN_UNUSED_RESULT; @@ -2192,13 +2088,7 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) /// Implementation of AuthCredential for Phone Auth credentials. /// This class is available on iOS only. SWIFT_CLASS_NAMED("PhoneAuthCredential") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRPhoneAuthCredential - : FIRAuthCredential +@interface FIRPhoneAuthCredential : FIRAuthCredential SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly) BOOL supportsSecureCoding;) + (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT; @@ -2211,12 +2101,7 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly) /// A concrete implementation of AuthProvider for phone auth /// providers. This class is available on iOS only. SWIFT_CLASS_NAMED("PhoneAuthProvider") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRPhoneAuthProvider : NSObject +@interface FIRPhoneAuthProvider : NSObject /// A string constant identifying the phone identity provider. SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) NSString* _Nonnull id;) @@ -2326,13 +2211,7 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) /// The subclass of base class FIRMultiFactorAssertion, used to assert ownership /// of a phone second factor. This class is available on iOS and macOS. SWIFT_CLASS_NAMED("PhoneMultiFactorAssertion") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRPhoneMultiFactorAssertion - : FIRMultiFactorAssertion +@interface FIRPhoneMultiFactorAssertion : FIRMultiFactorAssertion @end /// The data structure used to help initialize an assertion for a second factor @@ -2340,12 +2219,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// factor, this will help generate the assertion. This class is available on /// iOS and macOS. SWIFT_CLASS_NAMED("PhoneMultiFactorGenerator") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRPhoneMultiFactorGenerator : NSObject +@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. @@ -2394,12 +2268,7 @@ SWIFT_CLASS_NAMED("TOTPMultiFactorAssertion") /// factor, this will help generate the assertion. This class is available on /// iOS and macOS. SWIFT_CLASS_NAMED("TOTPMultiFactorGenerator") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRTOTPMultiFactorGenerator : NSObject +@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. @@ -2477,12 +2346,7 @@ SWIFT_CLASS_NAMED("TOTPSecret") /// Utility class for constructing Twitter Sign In credentials. SWIFT_CLASS_NAMED("TwitterAuthProvider") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRTwitterAuthProvider : NSObject +@interface FIRTwitterAuthProvider : NSObject /// A string constant identifying the Twitter identity provider. SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) NSString* _Nonnull id;) @@ -2530,12 +2394,7 @@ SWIFT_PROTOCOL_NAMED("UserInfo") /// ID token is automatically refreshed. /// This class is thread-safe. SWIFT_CLASS_NAMED("User") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) @interface FIRUser - : NSObject +@interface FIRUser : NSObject /// Indicates the user represents an anonymous user. @property(nonatomic, readonly) BOOL isAnonymous; /// Indicates the user represents an anonymous user. @@ -2985,23 +2844,12 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly) + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); @end -SWIFT_AVAILABILITY(watchos, introduced = 7) -SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, - introduced = 13) SWIFT_AVAILABILITY(ios, - introduced = 13) - @interface FIRUser(SWIFT_EXTENSION(FirebaseAuth)) +@interface FIRUser (SWIFT_EXTENSION (FirebaseAuth)) @end /// A data class representing the metadata corresponding to a Firebase user. SWIFT_CLASS_NAMED("UserMetadata") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRUserMetadata : NSObject +@interface FIRUserMetadata : NSObject /// Stores the last sign in date for the corresponding Firebase user. @property(nonatomic, readonly, copy) NSDate* _Nullable lastSignInDate; /// Stores the creation date for the corresponding Firebase user. @@ -3015,12 +2863,7 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly) + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); @end -SWIFT_AVAILABILITY(watchos, introduced = 7) -SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) @interface FIRUserMetadata( - SWIFT_EXTENSION(FirebaseAuth)) +@interface FIRUserMetadata (SWIFT_EXTENSION (FirebaseAuth)) @end /// Represents an object capable of updating a user’s profile data. @@ -3028,12 +2871,7 @@ SWIFT_AVAILABILITY(maccatalyst, introduced = 13) /// Setting a property value to nil is not the same as leaving the property /// unassigned. SWIFT_CLASS_NAMED("UserProfileChangeRequest") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRUserProfileChangeRequest : NSObject +@interface FIRUserProfileChangeRequest : NSObject /// The name of the user. @property(nonatomic, copy) NSString* _Nullable displayName; /// The URL of the user’s profile photo. @@ -3062,7 +2900,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) #elif defined(__x86_64__) && __x86_64__ // Copyright 2026 Google LLC -// Copied from Firebase iOS SDK 12.13.0. +// Copied from Firebase iOS SDK 12.14.0. // Generated by Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 // clang-1700.6.3.2) @@ -3547,12 +3385,7 @@ enum FIRAuthAPNSTokenType : NSInteger; /// Manages authentication for Firebase apps. /// This class is thread-safe. SWIFT_CLASS_NAMED("Auth") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) @interface FIRAuth - : NSObject +@interface FIRAuth : NSObject /// Gets the auth object for the default Firebase app. /// The default Firebase app must have already been configured or an exception /// will be raised. @@ -3858,12 +3691,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// The AuthDataResult after the successful signin. - (void)signInAnonymouslyWithCompletionHandler: (void (^_Nonnull)(FIRAuthDataResult* _Nullable, - NSError* _Nullable))completionHandler - SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13); + NSError* _Nullable))completionHandler; /// Asynchronously signs in to Firebase with the given Auth token. /// Possible error codes: ///
      @@ -4249,13 +4077,7 @@ SWIFT_AVAILABILITY(ios, introduced = 13.0) openURLContexts:(NSSet* _Nonnull)URLContexts; @end -SWIFT_AVAILABILITY(watchos, introduced = 7) -SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, - introduced = 13) SWIFT_AVAILABILITY(ios, - introduced = 13) - @interface FIRAuth(SWIFT_EXTENSION(FirebaseAuth)) +@interface FIRAuth (SWIFT_EXTENSION (FirebaseAuth)) /// Retrieves the Firebase authentication token, possibly refreshing it if it /// has expired. This method is not for public use. It is for Firebase clients /// of AuthInterop. @@ -4302,12 +4124,7 @@ typedef SWIFT_ENUM_NAMED(NSInteger, FIRAuthAPNSTokenType, "AuthAPNSTokenType", /// Public representation of a credential. SWIFT_CLASS_NAMED("AuthCredential") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRAuthCredential : NSObject +@interface FIRAuthCredential : NSObject /// The name of the identity provider for the credential. @property(nonatomic, readonly, copy) NSString* _Nonnull provider; - (nonnull instancetype)init SWIFT_UNAVAILABLE; @@ -4319,12 +4136,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// reauthenticate action. It contains references to a User /// instance and an AdditionalUserInfo instance. SWIFT_CLASS_NAMED("AuthDataResult") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRAuthDataResult : NSObject +@interface FIRAuthDataResult : NSObject /// The signed in user. @property(nonatomic, readonly, strong) FIRUser* _Nonnull user; /// If available, contains the additional IdP specific information about signed @@ -4346,13 +4158,7 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly) + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); @end -SWIFT_AVAILABILITY(watchos, introduced = 7) -SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRAuthDataResult( - SWIFT_EXTENSION(FirebaseAuth)) +@interface FIRAuthDataResult (SWIFT_EXTENSION (FirebaseAuth)) @end /// Error codes used by Firebase Auth. @@ -4672,12 +4478,7 @@ SWIFT_CLASS_NAMED("AuthSettings") /// A data class containing the ID token JWT string and other properties /// associated with the token including the decoded payload claims. SWIFT_CLASS_NAMED("AuthTokenResult") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRAuthTokenResult : NSObject +@interface FIRAuthTokenResult : NSObject /// Stores the JWT string of the ID token. @property(nonatomic, copy) NSString* _Nonnull token; /// Stores the ID token’s expiration date. @@ -4707,13 +4508,7 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly) + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); @end -SWIFT_AVAILABILITY(watchos, introduced = 7) -SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRAuthTokenResult( - SWIFT_EXTENSION(FirebaseAuth)) +@interface FIRAuthTokenResult (SWIFT_EXTENSION (FirebaseAuth)) @end @class UIViewController; @@ -4750,12 +4545,7 @@ SWIFT_PROTOCOL_NAMED("AuthUIDelegate") /// A concrete implementation of AuthProvider for Email & Password /// Sign In. SWIFT_CLASS_NAMED("EmailAuthProvider") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIREmailAuthProvider : NSObject +@interface FIREmailAuthProvider : NSObject /// A string constant identifying the email & password identity provider. SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) NSString* _Nonnull id;) @@ -4787,12 +4577,7 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) /// Utility class for constructing Facebook Sign In credentials. SWIFT_CLASS_NAMED("FacebookAuthProvider") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRFacebookAuthProvider : NSObject +@interface FIRFacebookAuthProvider : NSObject /// A string constant identifying the Facebook identity provider. SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) NSString* _Nonnull id;) @@ -4810,12 +4595,7 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) /// Utility type for constructing federated auth provider credentials. SWIFT_PROTOCOL_NAMED("FederatedAuthProvider") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @protocol FIRFederatedAuthProvider +@protocol FIRFederatedAuthProvider /// Used to obtain an auth credential via a mobile web flow. /// This method is available on iOS only. /// \param uiDelegate An optional UI delegate used to present the mobile web @@ -4838,12 +4618,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// A concrete implementation of AuthProvider for Game Center Sign /// In. Not available on watchOS. SWIFT_CLASS_NAMED("GameCenterAuthProvider") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRGameCenterAuthProvider : NSObject +@interface FIRGameCenterAuthProvider : NSObject /// A string constant identifying the Game Center identity provider. SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) NSString* _Nonnull id;) @@ -4857,12 +4632,7 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) /// Utility class for constructing GitHub Sign In credentials. SWIFT_CLASS_NAMED("GitHubAuthProvider") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRGitHubAuthProvider : NSObject +@interface FIRGitHubAuthProvider : NSObject /// A string constant identifying the GitHub identity provider. SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) NSString* _Nonnull id;) @@ -4880,12 +4650,7 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) /// Utility class for constructing Google Sign In credentials. SWIFT_CLASS_NAMED("GoogleAuthProvider") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRGoogleAuthProvider : NSObject +@interface FIRGoogleAuthProvider : NSObject /// A string constant identifying the Google identity provider. SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) NSString* _Nonnull id;) @@ -4911,12 +4676,7 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) /// The interface defining the multi factor related properties and operations /// pertaining to a user. This class is available on iOS and macOS. SWIFT_CLASS_NAMED("MultiFactor") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRMultiFactor : NSObject +@interface FIRMultiFactor : NSObject @property(nonatomic, copy) NSArray* _Nonnull enrolledFactors; /// Get a session for a second factor enrollment operation. @@ -4966,11 +4726,7 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly) OBJC_DESIGNATED_INITIALIZER; @end -SWIFT_AVAILABILITY(watchos, introduced = 7) -SWIFT_AVAILABILITY(maccatalyst, introduced = 13) SWIFT_AVAILABILITY( - macos, introduced = 10.15) SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRMultiFactor(SWIFT_EXTENSION(FirebaseAuth)) +@interface FIRMultiFactor (SWIFT_EXTENSION (FirebaseAuth)) @end /// The base class for asserting ownership of a second factor. This is @@ -5014,12 +4770,7 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly) /// ownership of a phone second factor. This class is available on iOS and /// macOS. SWIFT_CLASS_NAMED("MultiFactorResolver") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRMultiFactorResolver : NSObject +@interface FIRMultiFactorResolver : NSObject /// The opaque session identifier for the current sign-in flow. @property(nonatomic, readonly, strong) FIRMultiFactorSession* _Nonnull session; /// The list of hints for the second factors needed to complete the sign-in for @@ -5050,12 +4801,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// confirmation that the user passed the first factor challenge. This class is /// available on iOS and macOS. SWIFT_CLASS_NAMED("MultiFactorSession") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRMultiFactorSession : NSObject +@interface FIRMultiFactorSession : NSObject - (nonnull instancetype)init SWIFT_UNAVAILABLE; + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); @end @@ -5063,13 +4809,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// Internal implementation of AuthCredential for generic /// credentials. SWIFT_CLASS_NAMED("OAuthCredential") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIROAuthCredential - : FIRAuthCredential +@interface FIROAuthCredential : FIRAuthCredential /// The ID Token associated with this credential. @property(nonatomic, readonly, copy) NSString* _Nullable IDToken; /// The access token associated with this credential. @@ -5090,13 +4830,7 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly) @class NSPersonNameComponents; /// Utility class for constructing OAuth Sign In credentials. SWIFT_CLASS_NAMED("OAuthProvider") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIROAuthProvider - : NSObject +@interface FIROAuthProvider : NSObject SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) NSString* _Nonnull id;) + (NSString* _Nonnull)id SWIFT_WARN_UNUSED_RESULT; @@ -5253,13 +4987,7 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) /// Implementation of AuthCredential for Phone Auth credentials. /// This class is available on iOS only. SWIFT_CLASS_NAMED("PhoneAuthCredential") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRPhoneAuthCredential - : FIRAuthCredential +@interface FIRPhoneAuthCredential : FIRAuthCredential SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly) BOOL supportsSecureCoding;) + (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT; @@ -5272,12 +5000,7 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly) /// A concrete implementation of AuthProvider for phone auth /// providers. This class is available on iOS only. SWIFT_CLASS_NAMED("PhoneAuthProvider") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRPhoneAuthProvider : NSObject +@interface FIRPhoneAuthProvider : NSObject /// A string constant identifying the phone identity provider. SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) NSString* _Nonnull id;) @@ -5387,13 +5110,7 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) /// The subclass of base class FIRMultiFactorAssertion, used to assert ownership /// of a phone second factor. This class is available on iOS and macOS. SWIFT_CLASS_NAMED("PhoneMultiFactorAssertion") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRPhoneMultiFactorAssertion - : FIRMultiFactorAssertion +@interface FIRPhoneMultiFactorAssertion : FIRMultiFactorAssertion @end /// The data structure used to help initialize an assertion for a second factor @@ -5401,12 +5118,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// factor, this will help generate the assertion. This class is available on /// iOS and macOS. SWIFT_CLASS_NAMED("PhoneMultiFactorGenerator") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRPhoneMultiFactorGenerator : NSObject +@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. @@ -5455,12 +5167,7 @@ SWIFT_CLASS_NAMED("TOTPMultiFactorAssertion") /// factor, this will help generate the assertion. This class is available on /// iOS and macOS. SWIFT_CLASS_NAMED("TOTPMultiFactorGenerator") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRTOTPMultiFactorGenerator : NSObject +@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. @@ -5538,12 +5245,7 @@ SWIFT_CLASS_NAMED("TOTPSecret") /// Utility class for constructing Twitter Sign In credentials. SWIFT_CLASS_NAMED("TwitterAuthProvider") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRTwitterAuthProvider : NSObject +@interface FIRTwitterAuthProvider : NSObject /// A string constant identifying the Twitter identity provider. SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy) NSString* _Nonnull id;) @@ -5591,12 +5293,7 @@ SWIFT_PROTOCOL_NAMED("UserInfo") /// ID token is automatically refreshed. /// This class is thread-safe. SWIFT_CLASS_NAMED("User") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) @interface FIRUser - : NSObject +@interface FIRUser : NSObject /// Indicates the user represents an anonymous user. @property(nonatomic, readonly) BOOL isAnonymous; /// Indicates the user represents an anonymous user. @@ -6046,23 +5743,12 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly) + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); @end -SWIFT_AVAILABILITY(watchos, introduced = 7) -SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, - introduced = 13) SWIFT_AVAILABILITY(ios, - introduced = 13) - @interface FIRUser(SWIFT_EXTENSION(FirebaseAuth)) +@interface FIRUser (SWIFT_EXTENSION (FirebaseAuth)) @end /// A data class representing the metadata corresponding to a Firebase user. SWIFT_CLASS_NAMED("UserMetadata") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRUserMetadata : NSObject +@interface FIRUserMetadata : NSObject /// Stores the last sign in date for the corresponding Firebase user. @property(nonatomic, readonly, copy) NSDate* _Nullable lastSignInDate; /// Stores the creation date for the corresponding Firebase user. @@ -6076,12 +5762,7 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly) + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); @end -SWIFT_AVAILABILITY(watchos, introduced = 7) -SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) @interface FIRUserMetadata( - SWIFT_EXTENSION(FirebaseAuth)) +@interface FIRUserMetadata (SWIFT_EXTENSION (FirebaseAuth)) @end /// Represents an object capable of updating a user’s profile data. @@ -6089,12 +5770,7 @@ SWIFT_AVAILABILITY(maccatalyst, introduced = 13) /// Setting a property value to nil is not the same as leaving the property /// unassigned. SWIFT_CLASS_NAMED("UserProfileChangeRequest") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRUserProfileChangeRequest : NSObject +@interface FIRUserProfileChangeRequest : NSObject /// The name of the user. @property(nonatomic, copy) NSString* _Nullable displayName; /// The URL of the user’s profile photo. diff --git a/ios_pod/swift_headers/FirebaseCoreInternal-Swift.h b/ios_pod/swift_headers/FirebaseCoreInternal-Swift.h index 2e04336fc6..ff00799c0c 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 2026 Google LLC -// Copied from Firebase iOS SDK 12.13.0. +// Copied from Firebase iOS SDK 12.14.0. // Generated by Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 // clang-1700.6.3.2) @@ -406,7 +406,7 @@ SWIFT_CLASS_NAMED("_ObjC_HeartbeatsPayload") #elif defined(__x86_64__) && __x86_64__ // Copyright 2026 Google LLC -// Copied from Firebase iOS SDK 12.13.0. +// Copied from Firebase iOS SDK 12.14.0. // Generated by Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 // clang-1700.6.3.2) diff --git a/ios_pod/swift_headers/FirebaseDatabase-Swift.h b/ios_pod/swift_headers/FirebaseDatabase-Swift.h index 5a2c6d47e0..fe22d3241e 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 2026 Google LLC -// Copied from Firebase iOS SDK 12.13.0. +// Copied from Firebase iOS SDK 12.14.0. // Generated by Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 // clang-1700.6.3.2) @@ -343,7 +343,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #elif defined(__x86_64__) && __x86_64__ // Copyright 2026 Google LLC -// Copied from Firebase iOS SDK 12.13.0. +// Copied from Firebase iOS SDK 12.14.0. // Generated by Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 // clang-1700.6.3.2) diff --git a/ios_pod/swift_headers/FirebaseFirestore-Swift.h b/ios_pod/swift_headers/FirebaseFirestore-Swift.h index c886e9c77a..c8e8458a0a 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 2026 Google LLC -// Copied from Firebase iOS SDK 12.13.0. +// Copied from Firebase iOS SDK 12.14.0. // Generated by Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 // clang-1700.6.3.2) @@ -351,7 +351,7 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, #elif defined(__x86_64__) && __x86_64__ // Copyright 2026 Google LLC -// Copied from Firebase iOS SDK 12.13.0. +// Copied from Firebase iOS SDK 12.14.0. // Generated by Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 // clang-1700.6.3.2) diff --git a/ios_pod/swift_headers/FirebaseFunctions-Swift.h b/ios_pod/swift_headers/FirebaseFunctions-Swift.h index 7ffe28ff78..e904eebebe 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 2026 Google LLC -// Copied from Firebase iOS SDK 12.13.0. +// Copied from Firebase iOS SDK 12.14.0. // Generated by Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 // clang-1700.6.3.2) @@ -626,7 +626,7 @@ SWIFT_CLASS_NAMED("HTTPSCallableResult") #elif defined(__x86_64__) && __x86_64__ // Copyright 2026 Google LLC -// Copied from Firebase iOS SDK 12.13.0. +// Copied from Firebase iOS SDK 12.14.0. // Generated by Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 // clang-1700.6.3.2) diff --git a/ios_pod/swift_headers/FirebaseInAppMessaging-Swift.h b/ios_pod/swift_headers/FirebaseInAppMessaging-Swift.h index 346fff0184..dceff3cf7e 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 2026 Google LLC -// Copied from Firebase iOS SDK 12.13.0. +// Copied from Firebase iOS SDK 12.14.0. // Generated by Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 // clang-1700.6.3.2) @@ -343,7 +343,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #elif defined(__x86_64__) && __x86_64__ // Copyright 2026 Google LLC -// Copied from Firebase iOS SDK 12.13.0. +// Copied from Firebase iOS SDK 12.14.0. // Generated by Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 // clang-1700.6.3.2) diff --git a/ios_pod/swift_headers/FirebaseMLModelDownloader-Swift.h b/ios_pod/swift_headers/FirebaseMLModelDownloader-Swift.h index 512517e35d..b4dfdb8328 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 2026 Google LLC -// Copied from Firebase iOS SDK 12.13.0. +// Copied from Firebase iOS SDK 12.14.0. // Generated by Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 // clang-1700.6.3.2) @@ -343,7 +343,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #elif defined(__x86_64__) && __x86_64__ // Copyright 2026 Google LLC -// Copied from Firebase iOS SDK 12.13.0. +// Copied from Firebase iOS SDK 12.14.0. // Generated by Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 // clang-1700.6.3.2) diff --git a/ios_pod/swift_headers/FirebaseRemoteConfig-Swift.h b/ios_pod/swift_headers/FirebaseRemoteConfig-Swift.h index 4056470233..20fedf2ea1 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 2026 Google LLC -// Copied from Firebase iOS SDK 12.13.0. +// Copied from Firebase iOS SDK 12.14.0. // Generated by Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 // clang-1700.6.3.2) @@ -343,7 +343,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #elif defined(__x86_64__) && __x86_64__ // Copyright 2026 Google LLC -// Copied from Firebase iOS SDK 12.13.0. +// Copied from Firebase iOS SDK 12.14.0. // Generated by Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 // clang-1700.6.3.2) diff --git a/ios_pod/swift_headers/FirebaseSessions-Swift.h b/ios_pod/swift_headers/FirebaseSessions-Swift.h index 667b89e035..da0caea15d 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 2026 Google LLC -// Copied from Firebase iOS SDK 12.13.0. +// Copied from Firebase iOS SDK 12.14.0. // Generated by Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 // clang-1700.6.3.2) @@ -391,7 +391,7 @@ typedef SWIFT_ENUM_NAMED(NSInteger, FIRSessionsSubscriberName, #elif defined(__x86_64__) && __x86_64__ // Copyright 2026 Google LLC -// Copied from Firebase iOS SDK 12.13.0. +// Copied from Firebase iOS SDK 12.14.0. // Generated by Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 // clang-1700.6.3.2) diff --git a/ios_pod/swift_headers/FirebaseSharedSwift-Swift.h b/ios_pod/swift_headers/FirebaseSharedSwift-Swift.h index 9c83ef604b..56d6095ec2 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 2026 Google LLC -// Copied from Firebase iOS SDK 12.13.0. +// Copied from Firebase iOS SDK 12.14.0. // Generated by Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 // clang-1700.6.3.2) @@ -343,7 +343,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #elif defined(__x86_64__) && __x86_64__ // Copyright 2026 Google LLC -// Copied from Firebase iOS SDK 12.13.0. +// Copied from Firebase iOS SDK 12.14.0. // Generated by Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 // clang-1700.6.3.2) diff --git a/ios_pod/swift_headers/FirebaseStorage-Swift.h b/ios_pod/swift_headers/FirebaseStorage-Swift.h index 8b634590ac..4f6d4c8e2c 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 2026 Google LLC -// Copied from Firebase iOS SDK 12.13.0. +// Copied from Firebase iOS SDK 12.14.0. // Generated by Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 // clang-1700.6.3.2) @@ -348,12 +348,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); /// instance of FirebaseApp, the storage location will be specified /// via the FirebaseOptions.storageBucket property. SWIFT_CLASS_NAMED("Storage") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) @interface FIRStorage - : NSObject +@interface FIRStorage : NSObject /// The default Storage instance. /// /// returns: @@ -420,12 +415,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// returns: /// An instance of StorageReference referencing the root of the /// storage bucket. -- (FIRStorageReference* _Nonnull)reference SWIFT_WARN_UNUSED_RESULT - SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13); +- (FIRStorageReference* _Nonnull)reference SWIFT_WARN_UNUSED_RESULT; /// Creates a StorageReference given a gs://, http://, /// or https:// URL pointing to a Firebase Storage location. For /// example, you can pass in an https:// download URL retrieved @@ -441,11 +431,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// returns: /// An instance of StorageReference at the given child path. - (FIRStorageReference* _Nonnull)referenceForURL:(NSString* _Nonnull)url - SWIFT_WARN_UNUSED_RESULT SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13); + SWIFT_WARN_UNUSED_RESULT; /// Creates a StorageReference initialized at a location specified /// by the path parameter. /// \param path A relative path from the root of the storage bucket, @@ -495,12 +481,7 @@ SWIFT_PROTOCOL_NAMED("StorageTaskManagement") /// fired on the developer-specified callback queue. If no queue is specified, /// it defaults to the main queue. This class is thread-safe. SWIFT_CLASS_NAMED("StorageTask") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRStorageTask : NSObject +@interface FIRStorageTask : NSObject /// An immutable view of the task and associated metadata, progress, error, etc. @property(nonatomic, readonly, strong) FIRStorageTaskSnapshot* _Nonnull snapshot; @@ -514,12 +495,7 @@ enum FIRStorageTaskStatus : NSInteger; /// StorageHandle, which is used to keep track of and remove /// specific observers at a later date. SWIFT_CLASS_NAMED("StorageObservableTask") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRStorageObservableTask : FIRStorageTask +@interface FIRStorageObservableTask : FIRStorageTask /// Observes changes in the upload status: Resume, Pause, Progress, Success, and /// Failure. /// \param status The StorageTaskStatus change to observe. @@ -555,13 +531,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// the developer specified callbackQueue in Storage, or the main /// queue if left unspecified. SWIFT_CLASS_NAMED("StorageDownloadTask") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRStorageDownloadTask - : FIRStorageObservableTask +@interface FIRStorageDownloadTask + : FIRStorageObservableTask /// Prepares a task and begins execution. - (void)enqueue; /// Pauses a task currently in progress. Calling this on a paused task has no @@ -602,12 +573,7 @@ static NSString* _Nonnull const FIRStorageErrorCodeDomain = /// Contains the prefixes and items returned by a /// StorageReference.list() call. SWIFT_CLASS_NAMED("StorageListResult") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRStorageListResult : NSObject +@interface FIRStorageListResult : NSObject /// The prefixes (folders) returned by a list() operation. @property(nonatomic, readonly, copy) NSArray* _Nonnull prefixes; @@ -631,12 +597,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// href="https://cloud.google.com/storage/docs/json_api/v1/objects#resource">GCS /// documentation SWIFT_CLASS_NAMED("StorageMetadata") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRStorageMetadata : NSObject +@interface FIRStorageMetadata : NSObject /// The name of the bucket containing this object. @property(nonatomic, readonly, copy) NSString* _Nonnull bucket; /// Cache-Control directive for the object data. @@ -704,12 +665,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// get/set object metadata, and delete an object at the path. See the Cloud docs for more details. SWIFT_CLASS_NAMED("StorageReference") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRStorageReference : NSObject +@interface FIRStorageReference : NSObject /// The Storage service object which created this reference. @property(nonatomic, readonly, strong) FIRStorage* _Nonnull storage; /// The name of the Google Cloud Storage bucket associated with this reference. @@ -988,12 +944,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// A snapshot contains a task, storage reference, metadata (if it exists), /// progress, and an error (if one occurred). SWIFT_CLASS_NAMED("StorageTaskSnapshot") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRStorageTaskSnapshot : NSObject +@interface FIRStorageTaskSnapshot : NSObject /// The task this snapshot represents. @property(nonatomic, readonly, strong) FIRStorageTask* _Nonnull task; /// Metadata returned by the task, or nil if no metadata returned. @@ -1028,13 +979,8 @@ typedef SWIFT_ENUM_NAMED(NSInteger, FIRStorageTaskStatus, "StorageTaskStatus", /// queue, and callbacks are raised on the developer specified /// callbackQueue in Storage, or the main queue if unspecified. SWIFT_CLASS_NAMED("StorageUploadTask") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRStorageUploadTask - : FIRStorageObservableTask +@interface FIRStorageUploadTask + : FIRStorageObservableTask /// Prepares a task and begins execution. - (void)enqueue; /// Pauses a task currently in progress. @@ -1056,7 +1002,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) #elif defined(__x86_64__) && __x86_64__ // Copyright 2026 Google LLC -// Copied from Firebase iOS SDK 12.13.0. +// Copied from Firebase iOS SDK 12.14.0. // Generated by Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 // clang-1700.6.3.2) @@ -1403,12 +1349,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); /// instance of FirebaseApp, the storage location will be specified /// via the FirebaseOptions.storageBucket property. SWIFT_CLASS_NAMED("Storage") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) @interface FIRStorage - : NSObject +@interface FIRStorage : NSObject /// The default Storage instance. /// /// returns: @@ -1475,12 +1416,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// returns: /// An instance of StorageReference referencing the root of the /// storage bucket. -- (FIRStorageReference* _Nonnull)reference SWIFT_WARN_UNUSED_RESULT - SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13); +- (FIRStorageReference* _Nonnull)reference SWIFT_WARN_UNUSED_RESULT; /// Creates a StorageReference given a gs://, http://, /// or https:// URL pointing to a Firebase Storage location. For /// example, you can pass in an https:// download URL retrieved @@ -1496,11 +1432,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// returns: /// An instance of StorageReference at the given child path. - (FIRStorageReference* _Nonnull)referenceForURL:(NSString* _Nonnull)url - SWIFT_WARN_UNUSED_RESULT SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13); + SWIFT_WARN_UNUSED_RESULT; /// Creates a StorageReference initialized at a location specified /// by the path parameter. /// \param path A relative path from the root of the storage bucket, @@ -1550,12 +1482,7 @@ SWIFT_PROTOCOL_NAMED("StorageTaskManagement") /// fired on the developer-specified callback queue. If no queue is specified, /// it defaults to the main queue. This class is thread-safe. SWIFT_CLASS_NAMED("StorageTask") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRStorageTask : NSObject +@interface FIRStorageTask : NSObject /// An immutable view of the task and associated metadata, progress, error, etc. @property(nonatomic, readonly, strong) FIRStorageTaskSnapshot* _Nonnull snapshot; @@ -1569,12 +1496,7 @@ enum FIRStorageTaskStatus : NSInteger; /// StorageHandle, which is used to keep track of and remove /// specific observers at a later date. SWIFT_CLASS_NAMED("StorageObservableTask") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRStorageObservableTask : FIRStorageTask +@interface FIRStorageObservableTask : FIRStorageTask /// Observes changes in the upload status: Resume, Pause, Progress, Success, and /// Failure. /// \param status The StorageTaskStatus change to observe. @@ -1610,13 +1532,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// the developer specified callbackQueue in Storage, or the main /// queue if left unspecified. SWIFT_CLASS_NAMED("StorageDownloadTask") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRStorageDownloadTask - : FIRStorageObservableTask +@interface FIRStorageDownloadTask + : FIRStorageObservableTask /// Prepares a task and begins execution. - (void)enqueue; /// Pauses a task currently in progress. Calling this on a paused task has no @@ -1657,12 +1574,7 @@ static NSString* _Nonnull const FIRStorageErrorCodeDomain = /// Contains the prefixes and items returned by a /// StorageReference.list() call. SWIFT_CLASS_NAMED("StorageListResult") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRStorageListResult : NSObject +@interface FIRStorageListResult : NSObject /// The prefixes (folders) returned by a list() operation. @property(nonatomic, readonly, copy) NSArray* _Nonnull prefixes; @@ -1686,12 +1598,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// href="https://cloud.google.com/storage/docs/json_api/v1/objects#resource">GCS /// documentation SWIFT_CLASS_NAMED("StorageMetadata") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRStorageMetadata : NSObject +@interface FIRStorageMetadata : NSObject /// The name of the bucket containing this object. @property(nonatomic, readonly, copy) NSString* _Nonnull bucket; /// Cache-Control directive for the object data. @@ -1759,12 +1666,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// get/set object metadata, and delete an object at the path. See the Cloud docs for more details. SWIFT_CLASS_NAMED("StorageReference") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRStorageReference : NSObject +@interface FIRStorageReference : NSObject /// The Storage service object which created this reference. @property(nonatomic, readonly, strong) FIRStorage* _Nonnull storage; /// The name of the Google Cloud Storage bucket associated with this reference. @@ -2043,12 +1945,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7) /// A snapshot contains a task, storage reference, metadata (if it exists), /// progress, and an error (if one occurred). SWIFT_CLASS_NAMED("StorageTaskSnapshot") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRStorageTaskSnapshot : NSObject +@interface FIRStorageTaskSnapshot : NSObject /// The task this snapshot represents. @property(nonatomic, readonly, strong) FIRStorageTask* _Nonnull task; /// Metadata returned by the task, or nil if no metadata returned. @@ -2083,13 +1980,8 @@ typedef SWIFT_ENUM_NAMED(NSInteger, FIRStorageTaskStatus, "StorageTaskStatus", /// queue, and callbacks are raised on the developer specified /// callbackQueue in Storage, or the main queue if unspecified. SWIFT_CLASS_NAMED("StorageUploadTask") -SWIFT_AVAILABILITY(watchos, introduced = 7) - SWIFT_AVAILABILITY(maccatalyst, introduced = 13) - SWIFT_AVAILABILITY(macos, introduced = 10.15) - SWIFT_AVAILABILITY(tvos, introduced = 13) - SWIFT_AVAILABILITY(ios, introduced = 13) - @interface FIRStorageUploadTask - : FIRStorageObservableTask +@interface FIRStorageUploadTask + : FIRStorageObservableTask /// Prepares a task and begins execution. - (void)enqueue; /// Pauses a task currently in progress. diff --git a/ios_pod/swift_headers/Promises-Swift.h b/ios_pod/swift_headers/Promises-Swift.h index 9a2de5d4c2..89697776c9 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 2026 Google LLC -// Copied from Firebase iOS SDK 12.13.0. +// Copied from Firebase iOS SDK 12.14.0. // Generated by Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 // clang-1700.6.3.2) @@ -342,7 +342,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #elif defined(__x86_64__) && __x86_64__ // Copyright 2026 Google LLC -// Copied from Firebase iOS SDK 12.13.0. +// Copied from Firebase iOS SDK 12.14.0. // Generated by Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 // clang-1700.6.3.2) diff --git a/messaging/integration_test/Podfile b/messaging/integration_test/Podfile index 50d7ca1ec1..df76c38bd5 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, '15.0' - pod 'Firebase/Messaging', '12.13.0' - pod 'Firebase/Functions', '12.13.0' + pod 'Firebase/Messaging', '12.14.0' + pod 'Firebase/Functions', '12.14.0' end target 'integration_test_tvos' do platform :tvos, '15.0' - pod 'Firebase/Messaging', '12.13.0' - pod 'Firebase/Functions', '12.13.0' + pod 'Firebase/Messaging', '12.14.0' + pod 'Firebase/Functions', '12.14.0' end post_install do |installer| diff --git a/messaging/messaging_java/build.gradle b/messaging/messaging_java/build.gradle index 959fbaaa52..dccda3dfbd 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:34.13.0') + implementation platform('com.google.firebase:firebase-bom:34.14.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 797efdb49f..7b8e8525fe 100644 --- a/release_build_files/Android/firebase_dependencies.gradle +++ b/release_build_files/Android/firebase_dependencies.gradle @@ -123,7 +123,7 @@ project.afterEvaluate { // Add the bill-of-materials project.dependencies { - implementation platform('com.google.firebase:firebase-bom:34.13.0') + implementation platform('com.google.firebase:firebase-bom:34.14.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 c63c527a5e..d1b1263b87 100644 --- a/release_build_files/readme.md +++ b/release_build_files/readme.md @@ -84,7 +84,7 @@ distributed as part of the core Firebase Feature | Required Libraries and Gradle Packages -------------------------- | -------------------------------------- -All Firebase SDKs | platform(com.google.firebase:firebase-bom:34.13.0) +All Firebase SDKs | platform(com.google.firebase:firebase-bom:34.14.0) | | (Android Bill of Materials) Firebase Analytics | libfirebase_analytics.a | | libfirebase_app.a @@ -219,45 +219,45 @@ Feature | Required Frameworks and Cocoapods -------------------------- | --------------------------------------- Firebase Analytics | firebase_analytics.xcframework | | firebase.xcframework -| | Firebase/Analytics Cocoapod (12.13.0) +| | Firebase/Analytics Cocoapod (12.14.0) Firebase App Check | firebase_app_check.xcframework | | firebase.xcframework -| | Firebase/AppCheck Cocoapod (12.13.0) +| | Firebase/AppCheck Cocoapod (12.14.0) Firebase Authentication | firebase_auth.xcframework | | firebase.xcframework -| | Firebase/Auth Cocoapod (12.13.0) +| | Firebase/Auth Cocoapod (12.14.0) Cloud Firestore | firebase_firestore.xcframework | | firebase_auth.xcframework | | firebase.xcframework -| | Firebase/Firestore Cocoapod (12.13.0) -| | Firebase/Auth Cocoapod (12.13.0) +| | Firebase/Firestore Cocoapod (12.14.0) +| | Firebase/Auth Cocoapod (12.14.0) Firebase Functions | firebase_functions.xcframework | | firebase_auth.xcframework (optional) | | firebase.xcframework -| | Firebase/Functions Cocoapod (12.13.0) -| | Firebase/Auth Cocoapod (12.13.0) +| | Firebase/Functions Cocoapod (12.14.0) +| | Firebase/Auth Cocoapod (12.14.0) Firebase Installations | firebase_installations.xcframework | | firebase.xcframework -| | FirebaseInstallations Cocoapod (12.13.0) +| | FirebaseInstallations Cocoapod (12.14.0) Firebase Cloud Messaging | firebase_messaging.xcframework | | firebase.xcframework -| | Firebase/Messaging Cocoapod (12.13.0) +| | Firebase/Messaging Cocoapod (12.14.0) Firebase Realtime Database | firebase_database.xcframework | | firebase_auth.xcframework | | firebase.xcframework -| | Firebase/Database Cocoapod (12.13.0) -| | Firebase/Auth Cocoapod (12.13.0) +| | Firebase/Database Cocoapod (12.14.0) +| | Firebase/Auth Cocoapod (12.14.0) Firebase Remote Config | firebase_remote_config.xcframework | | firebase.xcframework -| | Firebase/RemoteConfig Cocoapod (12.13.0) +| | Firebase/RemoteConfig Cocoapod (12.14.0) Firebase Storage | firebase_storage.xcframework | | firebase_auth.xcframework | | firebase.xcframework -| | Firebase/Storage Cocoapod (12.13.0) -| | Firebase/Auth Cocoapod (12.13.0) +| | Firebase/Storage Cocoapod (12.14.0) +| | Firebase/Auth Cocoapod (12.14.0) User Messaging Platform | firebase_ump.xcframework | | firebase.xcframework -| | Firebase/CoreOnly Cocoapod (12.13.0) +| | Firebase/CoreOnly Cocoapod (12.14.0) | | GoogleUserMessagingPlatform Cocoapod (2.3.0) Important: Each version of the Firebase C++ SDK supports a specific version of @@ -278,45 +278,45 @@ Feature | Required Libraries and Cocoapods -------------------------- | ----------------------------------------- Firebase Analytics | libfirebase_analytics.a | | libfirebase_app.a -| | Firebase/Analytics Cocoapod (12.13.0) +| | Firebase/Analytics Cocoapod (12.14.0) Firebase App Check | firebase_app_check.xcframework | | firebase.xcframework -| | Firebase/AppCheck Cocoapod (12.13.0) +| | Firebase/AppCheck Cocoapod (12.14.0) Firebase Authentication | libfirebase_auth.a | | libfirebase_app.a -| | Firebase/Auth Cocoapod (12.13.0) +| | Firebase/Auth Cocoapod (12.14.0) Cloud Firestore | libfirebase_firestore.a | | libfirebase_app.a | | libfirebase_auth.a -| | Firebase/Firestore Cocoapod (12.13.0) -| | Firebase/Auth Cocoapod (12.13.0) +| | Firebase/Firestore Cocoapod (12.14.0) +| | Firebase/Auth Cocoapod (12.14.0) Firebase Functions | libfirebase_functions.a | | libfirebase_app.a | | libfirebase_auth.a (optional) -| | Firebase/Functions Cocoapod (12.13.0) -| | Firebase/Auth Cocoapod (12.13.0) +| | Firebase/Functions Cocoapod (12.14.0) +| | Firebase/Auth Cocoapod (12.14.0) Firebase Installations | libfirebase_installations.a | | libfirebase_app.a -| | FirebaseInstallations Cocoapod (12.13.0) +| | FirebaseInstallations Cocoapod (12.14.0) Firebase Cloud Messaging | libfirebase_messaging.a | | libfirebase_app.a -| | Firebase/CloudMessaging Cocoapod (12.13.0) +| | Firebase/CloudMessaging Cocoapod (12.14.0) Firebase Realtime Database | libfirebase_database.a | | libfirebase_app.a | | libfirebase_auth.a -| | Firebase/Database Cocoapod (12.13.0) -| | Firebase/Auth Cocoapod (12.13.0) +| | Firebase/Database Cocoapod (12.14.0) +| | Firebase/Auth Cocoapod (12.14.0) Firebase Remote Config | libfirebase_remote_config.a | | libfirebase_app.a -| | Firebase/RemoteConfig Cocoapod (12.13.0) +| | Firebase/RemoteConfig Cocoapod (12.14.0) Firebase Storage | libfirebase_storage.a | | libfirebase_app.a | | libfirebase_auth.a -| | Firebase/Storage Cocoapod (12.13.0) -| | Firebase/Auth Cocoapod (12.13.0) +| | Firebase/Storage Cocoapod (12.14.0) +| | Firebase/Auth Cocoapod (12.14.0) User Messaging Platform | libfirebase_ump.a | | libfirebase_app.a -| | Firebase/CoreOnly Cocoapod (12.13.0) +| | Firebase/CoreOnly Cocoapod (12.14.0) | | GoogleUserMessagingPlatform Cocoapod (2.3.0) Important: Each version of the Firebase C++ SDK supports a specific version of @@ -613,8 +613,10 @@ workflow use only during the development of your app, not for publicly shipping code. ## Release Notes -### Upcoming +### 13.8.0 - Changes + - General (Android): Update to Firebase Android BoM version 34.14.0. + - General (iOS): Update to Firebase Cocoapods version 12.14.0. - General (iOS, tvOS, Desktop): iOS, tvOS, and macOS SDKs are now built using Xcode 26.2. diff --git a/remote_config/integration_test/Podfile b/remote_config/integration_test/Podfile index d9871a500b..0a05c827ae 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, '15.0' - pod 'Firebase/RemoteConfig', '12.13.0' + pod 'Firebase/RemoteConfig', '12.14.0' end target 'integration_test_tvos' do platform :tvos, '15.0' - pod 'Firebase/RemoteConfig', '12.13.0' + pod 'Firebase/RemoteConfig', '12.14.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 48161b32eb..c94b7651cc 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:34.13.0') + implementation platform('com.google.firebase:firebase-bom:34.14.0') implementation 'com.google.firebase:firebase-config' } diff --git a/storage/integration_test/Podfile b/storage/integration_test/Podfile index 22eee36c66..c767802e4c 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, '15.0' - pod 'Firebase/Storage', '12.13.0' - pod 'Firebase/Auth', '12.13.0' + pod 'Firebase/Storage', '12.14.0' + pod 'Firebase/Auth', '12.14.0' end target 'integration_test_tvos' do platform :tvos, '15.0' - pod 'Firebase/Storage', '12.13.0' - pod 'Firebase/Auth', '12.13.0' + pod 'Firebase/Storage', '12.14.0' + pod 'Firebase/Auth', '12.14.0' end post_install do |installer| diff --git a/storage/storage_resources/build.gradle b/storage/storage_resources/build.gradle index c0729c384f..d3d4f25dc0 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:34.13.0') + implementation platform('com.google.firebase:firebase-bom:34.14.0') implementation 'com.google.firebase:firebase-analytics' implementation 'com.google.firebase:firebase-storage' } diff --git a/ump/integration_test/Podfile b/ump/integration_test/Podfile index 57690a3fbb..4077c4fec5 100644 --- a/ump/integration_test/Podfile +++ b/ump/integration_test/Podfile @@ -5,7 +5,7 @@ use_frameworks! :linkage => :static target 'integration_test' do platform :ios, '15.0' - pod 'Firebase/CoreOnly', '12.13.0' + pod 'Firebase/CoreOnly', '12.14.0' pod 'GoogleUserMessagingPlatform', '2.3.0' end diff --git a/ump/ump_resources/build.gradle b/ump/ump_resources/build.gradle index 60b5272cc0..6fbed72ba4 100644 --- a/ump/ump_resources/build.gradle +++ b/ump/ump_resources/build.gradle @@ -56,7 +56,7 @@ android { } dependencies { - implementation platform('com.google.firebase:firebase-bom:34.13.0') + implementation platform('com.google.firebase:firebase-bom:34.14.0') implementation 'com.google.firebase:firebase-analytics' implementation 'com.google.android.ump:user-messaging-platform:4.0.0' }