diff --git a/Android/firebase_dependencies.gradle b/Android/firebase_dependencies.gradle
index 7f2f1efed..7244bf805 100644
--- a/Android/firebase_dependencies.gradle
+++ b/Android/firebase_dependencies.gradle
@@ -20,7 +20,7 @@ def firebaseDependenciesMap = [
'app_check' : ['com.google.firebase:firebase-appcheck',
'com.google.firebase:firebase-appcheck-debug',
'com.google.firebase:firebase-appcheck-playintegrity'],
- 'play_services' : ['com.google.android.gms:play-services-base:18.7.2'],
+ 'play_services' : ['com.google.android.gms:play-services-base:18.9.0'],
'analytics' : ['com.google.firebase:firebase-analytics'],
'auth' : ['com.google.firebase:firebase-auth'],
'database' : ['com.google.firebase:firebase-database'],
@@ -149,7 +149,7 @@ project.afterEvaluate {
// Add the bill-of-materials
project.dependencies {
- implementation platform('com.google.firebase:firebase-bom:34.2.0')
+ implementation platform('com.google.firebase:firebase-bom:34.4.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 fa3aaf3c8..3b58b422e 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.2.0'
+ pod 'Firebase/Analytics', '12.4.0'
end
target 'integration_test_tvos' do
platform :tvos, '15.0'
- pod 'Firebase/Analytics', '12.2.0'
+ pod 'Firebase/Analytics', '12.4.0'
end
post_install do |installer|
diff --git a/analytics/ios_headers/FIREventNames.h b/analytics/ios_headers/FIREventNames.h
index d66b6fdef..e09addf36 100644
--- a/analytics/ios_headers/FIREventNames.h
+++ b/analytics/ios_headers/FIREventNames.h
@@ -1,6 +1,6 @@
// Copyright 2025 Google LLC
-// Copied from Firebase Analytics iOS SDK 12.2.0.
+// Copied from Firebase Analytics iOS SDK 12.4.0.
/// @file FIREventNames.h
///
diff --git a/analytics/ios_headers/FIRParameterNames.h b/analytics/ios_headers/FIRParameterNames.h
index a8521243e..605087c2e 100644
--- a/analytics/ios_headers/FIRParameterNames.h
+++ b/analytics/ios_headers/FIRParameterNames.h
@@ -1,6 +1,6 @@
// Copyright 2025 Google LLC
-// Copied from Firebase Analytics iOS SDK 12.2.0.
+// Copied from Firebase Analytics iOS SDK 12.4.0.
/// @file FIRParameterNames.h
///
diff --git a/analytics/ios_headers/FIRUserPropertyNames.h b/analytics/ios_headers/FIRUserPropertyNames.h
index 96b24ddcc..472a67098 100644
--- a/analytics/ios_headers/FIRUserPropertyNames.h
+++ b/analytics/ios_headers/FIRUserPropertyNames.h
@@ -1,6 +1,6 @@
// Copyright 2025 Google LLC
-// Copied from Firebase Analytics iOS SDK 12.2.0.
+// Copied from Firebase Analytics iOS SDK 12.4.0.
/// @file FIRUserPropertyNames.h
///
diff --git a/app/app_resources/build.gradle b/app/app_resources/build.gradle
index 778fe577f..b86200ada 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.2.0')
+ implementation platform('com.google.firebase:firebase-bom:34.4.0')
implementation 'com.google.firebase:firebase-analytics'
}
diff --git a/app/google_api_resources/build.gradle b/app/google_api_resources/build.gradle
index 1a523d473..ca3fc6385 100644
--- a/app/google_api_resources/build.gradle
+++ b/app/google_api_resources/build.gradle
@@ -59,9 +59,9 @@ android {
}
dependencies {
- implementation platform('com.google.firebase:firebase-bom:34.2.0')
+ implementation platform('com.google.firebase:firebase-bom:34.4.0')
implementation 'com.google.firebase:firebase-analytics'
- implementation 'com.google.android.gms:play-services-base:18.7.2'
+ implementation 'com.google.android.gms:play-services-base:18.9.0'
implementation project(':app:app_resources')
}
diff --git a/app/integration_test/Podfile b/app/integration_test/Podfile
index 486cdb5a7..55543107a 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.2.0'
+ pod 'Firebase/Analytics', '12.4.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 16d26448b..a37670040 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.2.0')
+ implementation platform('com.google.firebase:firebase-bom:34.4.0')
implementation 'com.google.firebase:firebase-appcheck'
}
diff --git a/app_check/integration_test/Podfile b/app_check/integration_test/Podfile
index 15668478f..116d307e9 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.2.0'
- pod 'Firebase/Database', '12.2.0'
- pod 'Firebase/Auth', '12.2.0'
- pod 'Firebase/Storage', '12.2.0'
- pod 'Firebase/Functions', '12.2.0'
+ pod 'Firebase/AppCheck', '12.4.0'
+ pod 'Firebase/Database', '12.4.0'
+ pod 'Firebase/Auth', '12.4.0'
+ pod 'Firebase/Storage', '12.4.0'
+ pod 'Firebase/Functions', '12.4.0'
end
target 'integration_test_tvos' do
platform :tvos, '15.0'
- pod 'Firebase/AppCheck', '12.2.0'
- pod 'Firebase/Database', '12.2.0'
- pod 'Firebase/Auth', '12.2.0'
- pod 'Firebase/Storage', '12.2.0'
- pod 'Firebase/Functions', '12.2.0'
+ pod 'Firebase/AppCheck', '12.4.0'
+ pod 'Firebase/Database', '12.4.0'
+ pod 'Firebase/Auth', '12.4.0'
+ pod 'Firebase/Storage', '12.4.0'
+ pod 'Firebase/Functions', '12.4.0'
end
post_install do |installer|
diff --git a/auth/auth_resources/build.gradle b/auth/auth_resources/build.gradle
index 0afac5d23..741545796 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.2.0')
+ implementation platform('com.google.firebase:firebase-bom:34.4.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 a6ab2b3e2..3953b60cf 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.2.0'
+ pod 'Firebase/Auth', '12.4.0'
end
target 'integration_test_tvos' do
platform :tvos, '15.0'
- pod 'Firebase/Auth', '12.2.0'
+ pod 'Firebase/Auth', '12.4.0'
end
post_install do |installer|
diff --git a/cmake/external/firestore.cmake b/cmake/external/firestore.cmake
index 855b0b25f..aab233d1a 100644
--- a/cmake/external/firestore.cmake
+++ b/cmake/external/firestore.cmake
@@ -21,7 +21,7 @@ endif()
# If the format of the line below changes, then be sure to update
# https://github.com/firebase/firebase-cpp-sdk/blob/fd054fa016/.github/workflows/update-dependencies.yml#L81
#set(version CocoaPods-11.8.1)
-set(version CocoaPods-12.2.0)
+set(version CocoaPods-12.4.0)
function(GetReleasedDep)
message("Getting released firebase-ios-sdk @ ${version}")
diff --git a/cpp_sdk_version.json b/cpp_sdk_version.json
index 2269b8e97..c967b5673 100644
--- a/cpp_sdk_version.json
+++ b/cpp_sdk_version.json
@@ -1,5 +1,5 @@
{
- "released": "13.1.0",
- "stable": "13.1.0",
- "head": "13.1.0"
+ "released": "13.2.0",
+ "stable": "13.2.0",
+ "head": "13.2.0"
}
diff --git a/database/database_resources/build.gradle b/database/database_resources/build.gradle
index eecb9a13b..8a22e791a 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.2.0')
+ implementation platform('com.google.firebase:firebase-bom:34.4.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 d52004e1c..0c6340a75 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.2.0'
- pod 'Firebase/Auth', '12.2.0'
+ pod 'Firebase/Database', '12.4.0'
+ pod 'Firebase/Auth', '12.4.0'
end
target 'integration_test_tvos' do
platform :tvos, '15.0'
- pod 'Firebase/Database', '12.2.0'
- pod 'Firebase/Auth', '12.2.0'
+ pod 'Firebase/Database', '12.4.0'
+ pod 'Firebase/Auth', '12.4.0'
end
post_install do |installer|
diff --git a/firestore/firestore_resources/build.gradle b/firestore/firestore_resources/build.gradle
index c9626182a..68c2435c4 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.2.0')
+ implementation platform('com.google.firebase:firebase-bom:34.4.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 33a3fa3fc..364bd41cc 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.2.0'
- pod 'Firebase/Auth', '12.2.0'
+ pod 'Firebase/Firestore', '12.4.0'
+ pod 'Firebase/Auth', '12.4.0'
end
target 'integration_test_tvos' do
platform :tvos, '15.0'
- pod 'FirebaseFirestore', '12.2.0'
- pod 'Firebase/Auth', '12.2.0'
+ pod 'FirebaseFirestore', '12.4.0'
+ pod 'Firebase/Auth', '12.4.0'
end
post_install do |installer|
diff --git a/firestore/integration_test_internal/Podfile b/firestore/integration_test_internal/Podfile
index 2e0f9d4b8..885f82ba8 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.2.0'
- pod 'Firebase/Auth', '12.2.0'
+ pod 'Firebase/Firestore', '12.4.0'
+ pod 'Firebase/Auth', '12.4.0'
end
target 'integration_test_tvos' do
platform :tvos, '15.0'
- pod 'FirebaseFirestore', '12.2.0'
- pod 'Firebase/Auth', '12.2.0'
+ pod 'FirebaseFirestore', '12.4.0'
+ pod 'Firebase/Auth', '12.4.0'
end
post_install do |installer|
diff --git a/functions/integration_test/Podfile b/functions/integration_test/Podfile
index 8cd2383e9..ddc7ec115 100644
--- a/functions/integration_test/Podfile
+++ b/functions/integration_test/Podfile
@@ -4,14 +4,14 @@ use_frameworks! :linkage => :static
target 'integration_test' do
platform :ios, '15.0'
- pod 'Firebase/Functions', '12.2.0'
- pod 'Firebase/Auth', '12.2.0'
+ pod 'Firebase/Functions', '12.4.0'
+ pod 'Firebase/Auth', '12.4.0'
end
target 'integration_test_tvos' do
platform :tvos, '15.0'
- pod 'Firebase/Functions', '12.2.0'
- pod 'Firebase/Auth', '12.2.0'
+ pod 'Firebase/Functions', '12.4.0'
+ pod 'Firebase/Auth', '12.4.0'
end
post_install do |installer|
diff --git a/installations/integration_test/Podfile b/installations/integration_test/Podfile
index c996e7f92..7d949cbef 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.2.0'
- pod 'Firebase/Installations', '12.2.0'
+ pod 'Firebase/Analytics', '12.4.0'
+ pod 'Firebase/Installations', '12.4.0'
end
post_install do |installer|
diff --git a/ios_pod/Podfile b/ios_pod/Podfile
index 4eb03b8b5..e788cc5a0 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.2.0'
+ pod 'Firebase/Core', '12.4.0'
pod 'GoogleUserMessagingPlatform', '2.3.0'
- pod 'Firebase/Analytics', '12.2.0'
- pod 'Firebase/AppCheck', '12.2.0'
- pod 'Firebase/Auth', '12.2.0'
- pod 'Firebase/Crashlytics', '12.2.0'
- pod 'Firebase/Database', '12.2.0'
- pod 'Firebase/Firestore', '12.2.0'
- pod 'Firebase/Functions', '12.2.0'
- pod 'Firebase/Installations', '12.2.0'
- pod 'Firebase/Messaging', '12.2.0'
- pod 'Firebase/RemoteConfig', '12.2.0'
- pod 'Firebase/Storage', '12.2.0'
+ pod 'Firebase/Analytics', '12.4.0'
+ pod 'Firebase/AppCheck', '12.4.0'
+ pod 'Firebase/Auth', '12.4.0'
+ pod 'Firebase/Crashlytics', '12.4.0'
+ pod 'Firebase/Database', '12.4.0'
+ pod 'Firebase/Firestore', '12.4.0'
+ pod 'Firebase/Functions', '12.4.0'
+ pod 'Firebase/Installations', '12.4.0'
+ pod 'Firebase/Messaging', '12.4.0'
+ pod 'Firebase/RemoteConfig', '12.4.0'
+ pod 'Firebase/Storage', '12.4.0'
end
diff --git a/ios_pod/swift_headers/FirebaseAnalytics-Swift.h b/ios_pod/swift_headers/FirebaseAnalytics-Swift.h
index e95d9e1e9..7d4e6c081 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 2025 Google LLC
-// Copied from Firebase iOS SDK 12.2.0.
+// Copied from Firebase iOS SDK 12.4.0.
// Generated by Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10
// clang-1600.0.30.1)
@@ -342,7 +342,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#elif defined(__x86_64__) && __x86_64__
// Copyright 2025 Google LLC
-// Copied from Firebase iOS SDK 12.2.0.
+// Copied from Firebase iOS SDK 12.4.0.
// Generated by Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10
// clang-1600.0.30.1)
diff --git a/ios_pod/swift_headers/FirebaseAuth-Swift.h b/ios_pod/swift_headers/FirebaseAuth-Swift.h
index e276c018b..ab7502222 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 2025 Google LLC
-// Copied from Firebase iOS SDK 12.2.0.
+// Copied from Firebase iOS SDK 12.4.0.
// Generated by Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10
// clang-1600.0.30.1)
@@ -344,10 +344,10 @@ SWIFT_CLASS_NAMED("ActionCodeInfo")
@property(nonatomic, readonly) enum FIRActionCodeOperation operation;
/// The email address to which the code was sent. The new email address in the
/// case of ActionCodeOperation.recoverEmail
.
-@property(nonatomic, readonly, copy) NSString *_Nonnull email;
+@property(nonatomic, readonly, copy) NSString* _Nonnull email;
/// The email that is being recovered in the case of
/// ActionCodeOperation.recoverEmail
.
-@property(nonatomic, readonly, copy) NSString *_Nullable previousEmail;
+@property(nonatomic, readonly, copy) NSString* _Nullable previousEmail;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@@ -380,22 +380,22 @@ SWIFT_CLASS_NAMED("ActionCodeSettings")
/// This URL can should be constructed as a universal link that would either
/// directly open the app where the action code would be handled or continue to
/// the app after the action code is handled by Firebase.
-@property(nonatomic, copy) NSURL *_Nullable URL;
+@property(nonatomic, copy) NSURL* _Nullable URL;
/// Indicates whether the action code link will open the app directly or after
/// being redirected from a Firebase owned web widget.
@property(nonatomic) BOOL handleCodeInApp;
/// The iOS bundle ID, if available. The default value is the current app’s
/// bundle ID.
-@property(nonatomic, copy) NSString *_Nullable iOSBundleID;
+@property(nonatomic, copy) NSString* _Nullable iOSBundleID;
/// The Android package name, if available.
-@property(nonatomic, copy) NSString *_Nullable androidPackageName;
+@property(nonatomic, copy) NSString* _Nullable androidPackageName;
/// The minimum Android version supported, if available.
-@property(nonatomic, copy) NSString *_Nullable androidMinimumVersion;
+@property(nonatomic, copy) NSString* _Nullable androidMinimumVersion;
/// Indicates whether the Android app should be installed on a device where it
/// is not available.
@property(nonatomic) BOOL androidInstallIfNotAvailable;
/// The out of band custom domain for handling code in app.
-@property(nonatomic, copy) NSString *_Nullable linkDomain;
+@property(nonatomic, copy) NSString* _Nullable linkDomain;
/// Sets the iOS bundle ID.
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
/// Sets the Android package name, the flag to indicate whether or not to
@@ -410,9 +410,9 @@ SWIFT_CLASS_NAMED("ActionCodeSettings")
///
/// \param minimumVersion The minimum version of Android supported.
///
-- (void)setAndroidPackageName:(NSString *_Nonnull)androidPackageName
+- (void)setAndroidPackageName:(NSString* _Nonnull)androidPackageName
installIfNotAvailable:(BOOL)installIfNotAvailable
- minimumVersion:(NSString *_Nullable)minimumVersion;
+ minimumVersion:(NSString* _Nullable)minimumVersion;
@end
/// This class will allow developers to easily extract information about out of
@@ -420,17 +420,17 @@ SWIFT_CLASS_NAMED("ActionCodeSettings")
SWIFT_CLASS_NAMED("ActionCodeURL")
@interface FIRActionCodeURL : NSObject
/// Returns the API key from the link. nil, if not provided.
-@property(nonatomic, readonly, copy) NSString *_Nullable APIKey;
+@property(nonatomic, readonly, copy) NSString* _Nullable APIKey;
/// Returns the mode of oob action.
/// The property will be of ActionCodeOperation
type.
/// It will return .unknown
if no oob action is provided.
@property(nonatomic, readonly) enum FIRActionCodeOperation operation;
/// Returns the email action code from the link. nil, if not provided.
-@property(nonatomic, readonly, copy) NSString *_Nullable code;
+@property(nonatomic, readonly, copy) NSString* _Nullable code;
/// Returns the continue URL from the link. nil, if not provided.
-@property(nonatomic, readonly, copy) NSURL *_Nullable continueURL;
+@property(nonatomic, readonly, copy) NSURL* _Nullable continueURL;
/// Returns the language code from the link. nil, if not provided.
-@property(nonatomic, readonly, copy) NSString *_Nullable languageCode;
+@property(nonatomic, readonly, copy) NSString* _Nullable languageCode;
/// Construct an ActionCodeURL
from an out of band link (e.g. email
/// link).
/// \param link The oob link string used to construct the action code URL.
@@ -438,7 +438,7 @@ SWIFT_CLASS_NAMED("ActionCodeURL")
///
/// returns:
/// The ActionCodeURL object constructed based on the oob link provided.
-- (nullable instancetype)actionCodeURLWithLink:(NSString *_Nonnull)link
+- (nullable instancetype)actionCodeURLWithLink:(NSString* _Nonnull)link
OBJC_DESIGNATED_INITIALIZER SWIFT_METHOD_FAMILY(init);
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@@ -449,12 +449,12 @@ SWIFT_CLASS_NAMED("ActionCodeURL")
SWIFT_CLASS_NAMED("AdditionalUserInfo")
@interface FIRAdditionalUserInfo : NSObject
/// The provider identifier.
-@property(nonatomic, readonly, copy) NSString *_Nonnull providerID;
+@property(nonatomic, readonly, copy) NSString* _Nonnull providerID;
/// Dictionary containing the additional IdP specific information.
@property(nonatomic, readonly, copy)
- NSDictionary *_Nullable profile;
+ NSDictionary* _Nullable profile;
/// The name of the user.
-@property(nonatomic, readonly, copy) NSString *_Nullable username;
+@property(nonatomic, readonly, copy) NSString* _Nullable username;
/// Indicates whether or not the current user was signed in for the first time.
@property(nonatomic, readonly) BOOL isNewUser;
/// Indicates whether or not the current user was signed in for the first time.
@@ -462,9 +462,9 @@ SWIFT_CLASS_NAMED("AdditionalUserInfo")
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly)
BOOL supportsSecureCoding;)
+ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT;
-- (nullable instancetype)initWithCoder:(NSCoder *_Nonnull)aDecoder
+- (nullable instancetype)initWithCoder:(NSCoder* _Nonnull)aDecoder
OBJC_DESIGNATED_INITIALIZER;
-- (void)encodeWithCoder:(NSCoder *_Nonnull)aCoder;
+- (void)encodeWithCoder:(NSCoder* _Nonnull)aCoder;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@@ -497,7 +497,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// Gets the auth object for the default Firebase app.
/// The default Firebase app must have already been configured or an exception
/// will be raised.
-+ (FIRAuth *_Nonnull)auth SWIFT_WARN_UNUSED_RESULT;
++ (FIRAuth* _Nonnull)auth SWIFT_WARN_UNUSED_RESULT;
/// Gets the auth object for a FirebaseApp
.
/// \param app The app for which to retrieve the associated Auth
/// instance.
@@ -505,35 +505,35 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
///
/// returns:
/// The Auth
instance associated with the given app.
-+ (FIRAuth *_Nonnull)authWithApp:(FIRApp *_Nonnull)app SWIFT_WARN_UNUSED_RESULT;
++ (FIRAuth* _Nonnull)authWithApp:(FIRApp* _Nonnull)app SWIFT_WARN_UNUSED_RESULT;
/// Gets the FirebaseApp
object that this auth object is connected
/// to.
-@property(nonatomic, readonly, weak) FIRApp *_Nullable app;
+@property(nonatomic, readonly, weak) FIRApp* _Nullable app;
/// Synchronously gets the cached current user, or null if there is none.
-@property(nonatomic, readonly, strong) FIRUser *_Nullable currentUser;
+@property(nonatomic, readonly, strong) FIRUser* _Nullable currentUser;
/// The current user language code.
/// This property can be set to the app’s current language by
/// calling useAppLanguage()
.
/// The string used to set this property must be a language code that follows
/// BCP 47.
-@property(nonatomic, copy) NSString *_Nullable languageCode;
+@property(nonatomic, copy) NSString* _Nullable languageCode;
/// Contains settings related to the auth object.
-@property(nonatomic, strong) FIRAuthSettings *_Nullable settings;
+@property(nonatomic, strong) FIRAuthSettings* _Nullable settings;
/// The current user access group that the Auth instance is using.
/// Default is nil
.
-@property(nonatomic, readonly, copy) NSString *_Nullable userAccessGroup;
+@property(nonatomic, readonly, copy) NSString* _Nullable userAccessGroup;
/// Contains shareAuthStateAcrossDevices setting related to the auth object.
/// If userAccessGroup is not set, setting shareAuthStateAcrossDevices will
/// have no effect. You should set shareAuthStateAcrossDevices to its desired
/// state and then set the userAccessGroup after.
@property(nonatomic) BOOL shareAuthStateAcrossDevices;
/// The tenant ID of the auth instance. nil
if none is available.
-@property(nonatomic, copy) NSString *_Nullable tenantID;
+@property(nonatomic, copy) NSString* _Nullable tenantID;
/// The custom authentication domain used to handle all sign-in redirects.
/// End-users will see
/// this domain when signing in. This domain must be allowlisted in the Firebase
/// Console.
-@property(nonatomic, copy) NSString *_Nullable customAuthDomain;
+@property(nonatomic, copy) NSString* _Nullable customAuthDomain;
/// Sets the currentUser
on the receiver to the provided user
/// object.
/// \param user The user object to be set as the current user of the calling
@@ -542,8 +542,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// \param completion Optionally; a block invoked after the user of the calling
/// Auth instance has been updated or an error was encountered.
///
-- (void)updateCurrentUser:(FIRUser *_Nullable)user
- completion:(void (^_Nullable)(NSError *_Nullable))completion;
+- (void)updateCurrentUser:(FIRUser* _Nullable)user
+ completion:(void (^_Nullable)(NSError* _Nullable))completion;
/// [Deprecated] Fetches the list of all sign-in methods previously used for the
/// provided email address. This method returns an empty list when Email
@@ -558,10 +558,10 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// in methods for the specified email address is ready or an error was
/// encountered. Invoked asynchronously on the main thread in the future.
///
-- (void)fetchSignInMethodsForEmail:(NSString *_Nonnull)email
+- (void)fetchSignInMethodsForEmail:(NSString* _Nonnull)email
completion:
- (void (^_Nullable)(NSArray *_Nullable,
- NSError *_Nullable))completion
+ (void (^_Nullable)(NSArray* _Nullable,
+ NSError* _Nullable))completion
SWIFT_DEPRECATED_MSG(
"`fetchSignInMethods` is deprecated and will be removed in a future "
"release. This method returns an empty list when Email Enumeration "
@@ -597,10 +597,10 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// finishes, or is canceled. Invoked asynchronously on the main thread in the
/// future.
///
-- (void)signInWithEmail:(NSString *_Nonnull)email
- password:(NSString *_Nonnull)password
- completion:(void (^_Nullable)(FIRAuthDataResult *_Nullable,
- NSError *_Nullable))completion;
+- (void)signInWithEmail:(NSString* _Nonnull)email
+ password:(NSString* _Nonnull)password
+ completion:(void (^_Nullable)(FIRAuthDataResult* _Nullable,
+ NSError* _Nullable))completion;
/// Signs in using an email address and email sign-in link.
/// Possible error codes:
///
@@ -630,10 +630,10 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// finishes, or is canceled. Invoked asynchronously on the main thread in the
/// future.
///
-- (void)signInWithEmail:(NSString *_Nonnull)email
- link:(NSString *_Nonnull)link
- completion:(void (^_Nullable)(FIRAuthDataResult *_Nullable,
- NSError *_Nullable))completion;
+- (void)signInWithEmail:(NSString* _Nonnull)email
+ link:(NSString* _Nonnull)link
+ completion:(void (^_Nullable)(FIRAuthDataResult* _Nullable,
+ NSError* _Nullable))completion;
/// Signs in using the provided auth provider instance.
/// Possible error codes:
///
@@ -695,8 +695,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
///
- (void)signInWithProvider:(id _Nonnull)provider
UIDelegate:(id _Nullable)uiDelegate
- completion:(void (^_Nullable)(FIRAuthDataResult *_Nullable,
- NSError *_Nullable))completion
+ completion:(void (^_Nullable)(FIRAuthDataResult* _Nullable,
+ NSError* _Nullable))completion
SWIFT_AVAILABILITY(watchos, unavailable)
SWIFT_AVAILABILITY(macos, unavailable)
SWIFT_AVAILABILITY(tvos, unavailable);
@@ -764,9 +764,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// finishes, or is canceled. Invoked asynchronously on the main thread in the
/// future.
///
-- (void)signInWithCredential:(FIRAuthCredential *_Nonnull)credential
- completion:(void (^_Nullable)(FIRAuthDataResult *_Nullable,
- NSError *_Nullable))completion;
+- (void)signInWithCredential:(FIRAuthCredential* _Nonnull)credential
+ completion:(void (^_Nullable)(FIRAuthDataResult* _Nullable,
+ NSError* _Nullable))completion;
/// Asynchronously creates and becomes an anonymous user.
/// If there is already an anonymous user signed in, that user will be returned
/// instead. If there is any other existing user signed in, that user will be
@@ -782,8 +782,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// future.
///
- (void)signInAnonymouslyWithCompletion:
- (void (^_Nullable)(FIRAuthDataResult *_Nullable,
- NSError *_Nullable))completion;
+ (void (^_Nullable)(FIRAuthDataResult* _Nullable,
+ NSError* _Nullable))completion;
/// Asynchronously creates and becomes an anonymous user.
/// If there is already an anonymous user signed in, that user will be returned
/// instead. If there is any other existing user signed in, that user will be
@@ -798,8 +798,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// returns:
/// The AuthDataResult
after the successful signin.
- (void)signInAnonymouslyWithCompletionHandler:
- (void (^_Nonnull)(FIRAuthDataResult *_Nullable,
- NSError *_Nullable))completionHandler
+ (void (^_Nonnull)(FIRAuthDataResult* _Nullable,
+ NSError* _Nullable))completionHandler
SWIFT_AVAILABILITY(watchos, introduced = 7)
SWIFT_AVAILABILITY(maccatalyst, introduced = 13)
SWIFT_AVAILABILITY(macos, introduced = 10.15)
@@ -823,9 +823,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// finishes, or is canceled. Invoked asynchronously on the main thread in the
/// future.
///
-- (void)signInWithCustomToken:(NSString *_Nonnull)token
- completion:(void (^_Nullable)(FIRAuthDataResult *_Nullable,
- NSError *_Nullable))completion;
+- (void)signInWithCustomToken:(NSString* _Nonnull)token
+ completion:(void (^_Nullable)(FIRAuthDataResult* _Nullable,
+ NSError* _Nullable))completion;
/// Creates and, on success, signs in a user with the given email address and
/// password. Possible error codes:
/// -
@@ -859,10 +859,10 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// finishes, or is canceled. Invoked asynchronously on the main thread in the
/// future.
///
-- (void)createUserWithEmail:(NSString *_Nonnull)email
- password:(NSString *_Nonnull)password
- completion:(void (^_Nullable)(FIRAuthDataResult *_Nullable,
- NSError *_Nullable))completion;
+- (void)createUserWithEmail:(NSString* _Nonnull)email
+ password:(NSString* _Nonnull)password
+ completion:(void (^_Nullable)(FIRAuthDataResult* _Nullable,
+ NSError* _Nullable))completion;
/// Resets the password given a code sent to the user outside of the app and a
/// new password for the user. Possible error codes:
/// -
@@ -889,29 +889,29 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// \param completion Optionally; a block which is invoked when the request
/// finishes. Invoked asynchronously on the main thread in the future.
///
-- (void)confirmPasswordResetWithCode:(NSString *_Nonnull)code
- newPassword:(NSString *_Nonnull)newPassword
+- (void)confirmPasswordResetWithCode:(NSString* _Nonnull)code
+ newPassword:(NSString* _Nonnull)newPassword
completion:
- (void (^_Nonnull)(NSError *_Nullable))completion;
+ (void (^_Nonnull)(NSError* _Nullable))completion;
/// Checks the validity of an out of band code.
/// \param code The out of band code to check validity.
///
/// \param completion Optionally; a block which is invoked when the request
/// finishes. Invoked asynchronously on the main thread in the future.
///
-- (void)checkActionCode:(NSString *_Nonnull)code
- completion:(void (^_Nonnull)(FIRActionCodeInfo *_Nullable,
- NSError *_Nullable))completion;
+- (void)checkActionCode:(NSString* _Nonnull)code
+ completion:(void (^_Nonnull)(FIRActionCodeInfo* _Nullable,
+ NSError* _Nullable))completion;
/// Checks the validity of a verify password reset code.
/// \param code The password reset code to be verified.
///
/// \param completion Optionally; a block which is invoked when the request
/// finishes. Invoked asynchronously on the main thread in the future.
///
-- (void)verifyPasswordResetCode:(NSString *_Nonnull)code
+- (void)verifyPasswordResetCode:(NSString* _Nonnull)code
completion:
- (void (^_Nonnull)(NSString *_Nullable,
- NSError *_Nullable))completion;
+ (void (^_Nonnull)(NSString* _Nullable,
+ NSError* _Nullable))completion;
/// Applies out of band code.
/// This method will not work for out of band codes which require an additional
/// parameter, such as password reset code.
@@ -920,8 +920,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// \param completion Optionally; a block which is invoked when the request
/// finishes. Invoked asynchronously on the main thread in the future.
///
-- (void)applyActionCode:(NSString *_Nonnull)code
- completion:(void (^_Nonnull)(NSError *_Nullable))completion;
+- (void)applyActionCode:(NSString* _Nonnull)code
+ completion:(void (^_Nonnull)(NSError* _Nullable))completion;
/// Initiates a password reset for the given email address.
/// This method does not throw an
/// error when there’s no user account with the given email address and ActionCodeSettings object. This method does not throw an error
/// when there’s no user account with the given email address and
@@ -1021,7 +1021,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// error encountered.
///
///
-- (BOOL)signOut:(NSError *_Nullable *_Nullable)error;
+- (BOOL)signOut:(NSError* _Nullable* _Nullable)error;
/// Checks if link is an email sign-in link.
/// \param link The email sign-in link.
///
@@ -1029,12 +1029,12 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// returns:
/// true
when the link passed matches the expected format of an
/// email sign-in link.
-- (BOOL)isSignInWithEmailLink:(NSString *_Nonnull)link SWIFT_WARN_UNUSED_RESULT;
+- (BOOL)isSignInWithEmailLink:(NSString* _Nonnull)link SWIFT_WARN_UNUSED_RESULT;
/// Initializes reCAPTCHA using the settings configured for the project or
/// tenant. If you change the tenant ID of the Auth
instance, the
/// configuration will be reloaded.
- (void)initializeRecaptchaConfigWithCompletion:
- (void (^_Nullable)(NSError *_Nullable))completion;
+ (void (^_Nullable)(NSError* _Nullable))completion;
/// Registers a block as an “auth state did change” listener.
/// To be invoked when:
///
@@ -1062,7 +1062,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// returns:
/// A handle useful for manually unregistering the block as a listener.
- (id _Nonnull)addAuthStateDidChangeListener:
- (void (^_Nonnull)(FIRAuth *_Nonnull, FIRUser *_Nullable))listener
+ (void (^_Nonnull)(FIRAuth* _Nonnull, FIRUser* _Nullable))listener
SWIFT_WARN_UNUSED_RESULT;
/// Unregisters a block as an “auth state did change” listener.
/// \param listenerHandle The handle for the listener.
@@ -1098,7 +1098,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// returns:
/// A handle useful for manually unregistering the block as a listener.
- (id _Nonnull)addIDTokenDidChangeListener:
- (void (^_Nonnull)(FIRAuth *_Nonnull, FIRUser *_Nullable))listener
+ (void (^_Nonnull)(FIRAuth* _Nonnull, FIRUser* _Nullable))listener
SWIFT_WARN_UNUSED_RESULT;
/// Unregisters a block as an “ID token did change” listener.
/// \param listenerHandle The handle for the listener.
@@ -1108,7 +1108,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
- (void)useAppLanguage;
/// Configures Firebase Auth to connect to an emulated host instead of the
/// remote backend.
-- (void)useEmulatorWithHost:(NSString *_Nonnull)host port:(NSInteger)port;
+- (void)useEmulatorWithHost:(NSString* _Nonnull)host port:(NSInteger)port;
/// Revoke the users token with authorization code.
/// \param authorizationCode The authorization code used to perform the
/// revocation.
@@ -1117,21 +1117,21 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// the token is complete, or fails. Invoked asynchronously on the main thread
/// in the future.
///
-- (void)revokeTokenWithAuthorizationCode:(NSString *_Nonnull)authorizationCode
- completion:(void (^_Nullable)(NSError *_Nullable))
+- (void)revokeTokenWithAuthorizationCode:(NSString* _Nonnull)authorizationCode
+ completion:(void (^_Nullable)(NSError* _Nullable))
completion;
/// Switch userAccessGroup and current user to the given accessGroup and the
/// user stored in it.
-- (BOOL)useUserAccessGroup:(NSString *_Nullable)accessGroup
- error:(NSError *_Nullable *_Nullable)error;
+- (BOOL)useUserAccessGroup:(NSString* _Nullable)accessGroup
+ error:(NSError* _Nullable* _Nullable)error;
/// Get the stored user in the given accessGroup.
/// This API is not supported on tvOS when
/// shareAuthStateAcrossDevices
is set to true
. and
/// will return nil
. Please refer to
/// https://github.com/firebase/firebase-ios-sdk/issues/8878 for details.
-- (FIRUser *_Nullable)
- getStoredUserForAccessGroup:(NSString *_Nullable)accessGroup
- error:(NSError *_Nullable *_Nullable)outError
+- (FIRUser* _Nullable)
+ getStoredUserForAccessGroup:(NSString* _Nullable)accessGroup
+ error:(NSError* _Nullable* _Nullable)outError
SWIFT_WARN_UNUSED_RESULT;
/// The APNs token used for phone number authentication.
/// The type of the token (production or sandbox) will be automatically
@@ -1140,13 +1140,13 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// If swizzling is disabled, the APNs Token must be set for phone number auth
/// to work, by either setting this property or by calling
/// setAPNSToken(_:type:)
.
-@property(nonatomic, readonly, copy) NSData *_Nullable APNSToken;
+@property(nonatomic, readonly, copy) NSData* _Nullable APNSToken;
/// Sets the APNs token along with its type.
/// This method is available on iOS only.
/// If swizzling is disabled, the APNs Token must be set for phone number auth
/// to work, by either setting calling this method or by setting the
/// APNSToken
property.
-- (void)setAPNSToken:(NSData *_Nonnull)token
+- (void)setAPNSToken:(NSData* _Nonnull)token
type:(enum FIRAuthAPNSTokenType)type;
/// Whether the specific remote notification is handled by Auth
.
/// This method is available on iOS only.
@@ -1162,7 +1162,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// notification from further processing, and false
means the
/// notification is for the app (or another library) so the caller should
/// continue handling this notification as usual.
-- (BOOL)canHandleNotification:(NSDictionary *_Nonnull)userInfo
+- (BOOL)canHandleNotification:(NSDictionary* _Nonnull)userInfo
SWIFT_WARN_UNUSED_RESULT;
/// Whether the specific URL is handled by Auth
.
/// This method is available on iOS only.
@@ -1177,7 +1177,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// Firebase Auth so the caller should ignore the URL from further processing,
/// and false
means the the URL is for the app (or another library)
/// so the caller should continue handling this URL as usual.
-- (BOOL)canHandleURL:(NSURL *_Nonnull)url SWIFT_WARN_UNUSED_RESULT;
+- (BOOL)canHandleURL:(NSURL* _Nonnull)url SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@@ -1187,8 +1187,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
SWIFT_AVAILABILITY(ios, introduced = 13.0)
@interface FIRAuth (SWIFT_EXTENSION (FirebaseAuth))
-- (void)scene:(UIScene *_Nonnull)scene
- openURLContexts:(NSSet *_Nonnull)URLContexts;
+- (void)scene:(UIScene* _Nonnull)scene
+ openURLContexts:(NSSet* _Nonnull)URLContexts;
@end
SWIFT_AVAILABILITY(watchos, introduced = 7)
@@ -1202,30 +1202,30 @@ SWIFT_AVAILABILITY(maccatalyst, introduced = 13)
/// has expired. This method is not for public use. It is for Firebase clients
/// of AuthInterop.
- (void)getTokenForcingRefresh:(BOOL)forceRefresh
- withCallback:(void (^_Nonnull)(NSString *_Nullable,
- NSError *_Nullable))callback;
+ withCallback:(void (^_Nonnull)(NSString* _Nullable,
+ NSError* _Nullable))callback;
/// Get the current Auth user’s UID. Returns nil if there is no user signed in.
/// This method is not for public use. It is for Firebase clients of
/// AuthInterop.
-- (NSString *_Nullable)getUserID SWIFT_WARN_UNUSED_RESULT;
+- (NSString* _Nullable)getUserID SWIFT_WARN_UNUSED_RESULT;
@end
@class UIApplication;
SWIFT_AVAILABILITY(ios, introduced = 13.0)
@interface FIRAuth (SWIFT_EXTENSION (FirebaseAuth))
-- (void)application:(UIApplication *_Nonnull)application
+- (void)application:(UIApplication* _Nonnull)application
didRegisterForRemoteNotificationsWithDeviceToken:
- (NSData *_Nonnull)deviceToken;
-- (void)application:(UIApplication *_Nonnull)application
- didFailToRegisterForRemoteNotificationsWithError:(NSError *_Nonnull)error;
-- (void)application:(UIApplication *_Nonnull)application
- didReceiveRemoteNotification:(NSDictionary *_Nonnull)userInfo
+ (NSData* _Nonnull)deviceToken;
+- (void)application:(UIApplication* _Nonnull)application
+ didFailToRegisterForRemoteNotificationsWithError:(NSError* _Nonnull)error;
+- (void)application:(UIApplication* _Nonnull)application
+ didReceiveRemoteNotification:(NSDictionary* _Nonnull)userInfo
fetchCompletionHandler:
(void (^_Nonnull)(UIBackgroundFetchResult))completionHandler;
-- (BOOL)application:(UIApplication *_Nonnull)application
- openURL:(NSURL *_Nonnull)url
- options:(NSDictionary *_Nonnull)
+- (BOOL)application:(UIApplication* _Nonnull)application
+ openURL:(NSURL* _Nonnull)url
+ options:(NSDictionary* _Nonnull)
options SWIFT_WARN_UNUSED_RESULT;
@end
@@ -1252,7 +1252,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
SWIFT_AVAILABILITY(ios, introduced = 13)
@interface FIRAuthCredential : NSObject
/// The name of the identity provider for the credential.
-@property(nonatomic, readonly, copy) NSString *_Nonnull provider;
+@property(nonatomic, readonly, copy) NSString* _Nonnull provider;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@@ -1270,21 +1270,21 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
SWIFT_AVAILABILITY(ios, introduced = 13)
@interface FIRAuthDataResult : NSObject
/// The signed in user.
-@property(nonatomic, readonly, strong) FIRUser *_Nonnull user;
+@property(nonatomic, readonly, strong) FIRUser* _Nonnull user;
/// If available, contains the additional IdP specific information about signed
/// in user.
@property(nonatomic, readonly, strong)
- FIRAdditionalUserInfo *_Nullable additionalUserInfo;
+ FIRAdditionalUserInfo* _Nullable additionalUserInfo;
/// This property will be non-nil after a successful headful-lite sign-in via
/// signIn(with:uiDelegate:completion:)
.
/// May be used to obtain the accessToken and/or IDToken
/// pertaining to a recently signed-in user.
-@property(nonatomic, readonly, strong) FIROAuthCredential *_Nullable credential;
+@property(nonatomic, readonly, strong) FIROAuthCredential* _Nullable credential;
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly)
BOOL supportsSecureCoding;)
+ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT;
-- (void)encodeWithCoder:(NSCoder *_Nonnull)coder;
-- (nullable instancetype)initWithCoder:(NSCoder *_Nonnull)coder
+- (void)encodeWithCoder:(NSCoder* _Nonnull)coder;
+- (nullable instancetype)initWithCoder:(NSCoder* _Nonnull)coder
OBJC_DESIGNATED_INITIALIZER;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@@ -1548,7 +1548,7 @@ typedef SWIFT_ENUM_NAMED(NSInteger, FIRAuthErrorCode, "AuthErrorCode", open){
/// describing which step of the JWT parsing process failed.
FIRAuthErrorCodeMalformedJWT = 18000,
};
-static NSString *_Nonnull const FIRAuthErrorCodeDomain =
+static NSString* _Nonnull const FIRAuthErrorCodeDomain =
@"FirebaseAuth.AuthErrorCode";
/// Error Codes common to all API Methods:
@@ -1556,12 +1556,12 @@ SWIFT_CLASS_NAMED("AuthErrors")
@interface FIRAuthErrors : NSObject
/// The Firebase Auth error domain.
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
- NSString *_Nonnull domain;)
-+ (NSString *_Nonnull)domain SWIFT_WARN_UNUSED_RESULT;
+ NSString* _Nonnull domain;)
++ (NSString* _Nonnull)domain SWIFT_WARN_UNUSED_RESULT;
/// The name of the key for the error short string of an error code.
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
- NSString *_Nonnull userInfoNameKey;)
-+ (NSString *_Nonnull)userInfoNameKey SWIFT_WARN_UNUSED_RESULT;
+ NSString* _Nonnull userInfoNameKey;)
++ (NSString* _Nonnull)userInfoNameKey SWIFT_WARN_UNUSED_RESULT;
/// Error codes for Email operations
/// Errors with one of the following three codes:
///
@@ -1579,20 +1579,20 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
/// contains this key. The value associated with this key is an NSString of the
/// email address of the account that already exists.
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
- NSString *_Nonnull userInfoEmailKey;)
-+ (NSString *_Nonnull)userInfoEmailKey SWIFT_WARN_UNUSED_RESULT;
+ NSString* _Nonnull userInfoEmailKey;)
++ (NSString* _Nonnull)userInfoEmailKey SWIFT_WARN_UNUSED_RESULT;
/// The key used to read the updated Auth credential from the userInfo
/// dictionary of the NSError object returned. This is the updated auth
/// credential the developer should use for recovery if applicable.
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
- NSString *_Nonnull userInfoUpdatedCredentialKey;)
-+ (NSString *_Nonnull)userInfoUpdatedCredentialKey SWIFT_WARN_UNUSED_RESULT;
+ NSString* _Nonnull userInfoUpdatedCredentialKey;)
++ (NSString* _Nonnull)userInfoUpdatedCredentialKey SWIFT_WARN_UNUSED_RESULT;
/// The key used to read the MFA resolver from the userInfo dictionary of the
/// NSError object returned when 2FA is required for sign-incompletion.
SWIFT_CLASS_PROPERTY(
@property(nonatomic, class, readonly, copy)
- NSString *_Nonnull FIRAuthErrorUserInfoMultiFactorResolverKey;)
-+ (NSString *_Nonnull)
+ NSString* _Nonnull FIRAuthErrorUserInfoMultiFactorResolverKey;)
++ (NSString* _Nonnull)
FIRAuthErrorUserInfoMultiFactorResolverKey SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
@@ -1608,7 +1608,7 @@ SWIFT_CLASS_NAMED("AuthSettings")
@property(nonatomic) BOOL isAppVerificationDisabledForTesting;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
-- (id _Nonnull)copyWithZone:(struct _NSZone *_Nullable)zone
+- (id _Nonnull)copyWithZone:(struct _NSZone* _Nullable)zone
SWIFT_WARN_UNUSED_RESULT;
@end
@@ -1624,30 +1624,30 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
SWIFT_AVAILABILITY(ios, introduced = 13)
@interface FIRAuthTokenResult : NSObject
/// Stores the JWT string of the ID token.
-@property(nonatomic, copy) NSString *_Nonnull token;
+@property(nonatomic, copy) NSString* _Nonnull token;
/// Stores the ID token’s expiration date.
-@property(nonatomic, copy) NSDate *_Nonnull expirationDate;
+@property(nonatomic, copy) NSDate* _Nonnull expirationDate;
/// Stores the ID token’s authentication date.
/// This is the date the user was signed in and NOT the date the token was
/// refreshed.
-@property(nonatomic, copy) NSDate *_Nonnull authDate;
+@property(nonatomic, copy) NSDate* _Nonnull authDate;
/// Stores the date that the ID token was issued.
/// This is the date last refreshed and NOT the last authentication date.
-@property(nonatomic, copy) NSDate *_Nonnull issuedAtDate;
+@property(nonatomic, copy) NSDate* _Nonnull issuedAtDate;
/// Stores sign-in provider through which the token was obtained.
-@property(nonatomic, copy) NSString *_Nonnull signInProvider;
+@property(nonatomic, copy) NSString* _Nonnull signInProvider;
/// Stores sign-in second factor through which the token was obtained.
-@property(nonatomic, copy) NSString *_Nonnull signInSecondFactor;
+@property(nonatomic, copy) NSString* _Nonnull signInSecondFactor;
/// Stores the entire payload of claims found on the ID token.
/// This includes the standard
/// reserved claims as well as custom claims set by the developer via the Admin
/// SDK.
-@property(nonatomic, copy) NSDictionary *_Nonnull claims;
+@property(nonatomic, copy) NSDictionary* _Nonnull claims;
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly)
BOOL supportsSecureCoding;)
+ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT;
-- (void)encodeWithCoder:(NSCoder *_Nonnull)coder;
-- (nullable instancetype)initWithCoder:(NSCoder *_Nonnull)coder;
+- (void)encodeWithCoder:(NSCoder* _Nonnull)coder;
+- (nullable instancetype)initWithCoder:(NSCoder* _Nonnull)coder;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@@ -1678,7 +1678,7 @@ SWIFT_PROTOCOL_NAMED("AuthUIDelegate")
/// This block has no return value and takes no parameters.
///
- (void)presentViewController:
- (UIViewController *_Nonnull)viewControllerToPresent
+ (UIViewController* _Nonnull)viewControllerToPresent
animated:(BOOL)flag
completion:(void (^_Nullable)(void))completion;
/// If implemented, this method will be invoked when Firebase Auth needs to
@@ -1704,8 +1704,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
@interface FIREmailAuthProvider : NSObject
/// A string constant identifying the email & password identity provider.
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
- NSString *_Nonnull id;)
-+ (NSString *_Nonnull)id SWIFT_WARN_UNUSED_RESULT;
+ NSString* _Nonnull id;)
++ (NSString* _Nonnull)id SWIFT_WARN_UNUSED_RESULT;
/// Creates an AuthCredential
for an email & password sign in
/// \param email The user’s email address.
///
@@ -1714,8 +1714,8 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
///
/// returns:
/// An AuthCredential
containing the email & password credential.
-+ (FIRAuthCredential *_Nonnull)credentialWithEmail:(NSString *_Nonnull)email
- password:(NSString *_Nonnull)password
++ (FIRAuthCredential* _Nonnull)credentialWithEmail:(NSString* _Nonnull)email
+ password:(NSString* _Nonnull)password
SWIFT_WARN_UNUSED_RESULT;
/// Creates an AuthCredential
for an email & link sign in.
/// \param email The user’s email address.
@@ -1725,8 +1725,8 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
///
/// returns:
/// An AuthCredential
containing the email & link credential.
-+ (FIRAuthCredential *_Nonnull)credentialWithEmail:(NSString *_Nonnull)email
- link:(NSString *_Nonnull)link
++ (FIRAuthCredential* _Nonnull)credentialWithEmail:(NSString* _Nonnull)email
+ link:(NSString* _Nonnull)link
SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
@@ -1741,16 +1741,16 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
@interface FIRFacebookAuthProvider : NSObject
/// A string constant identifying the Facebook identity provider.
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
- NSString *_Nonnull id;)
-+ (NSString *_Nonnull)id SWIFT_WARN_UNUSED_RESULT;
+ NSString* _Nonnull id;)
++ (NSString* _Nonnull)id SWIFT_WARN_UNUSED_RESULT;
/// Creates an AuthCredential
for a Facebook sign in.
/// \param accessToken The Access Token from Facebook.
///
///
/// returns:
/// An AuthCredential
containing the Facebook credentials.
-+ (FIRAuthCredential *_Nonnull)credentialWithAccessToken:
- (NSString *_Nonnull)accessToken SWIFT_WARN_UNUSED_RESULT;
++ (FIRAuthCredential* _Nonnull)credentialWithAccessToken:
+ (NSString* _Nonnull)accessToken SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER SWIFT_UNAVAILABLE;
@end
@@ -1773,8 +1773,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
///
- (void)getCredentialWithUIDelegate:(id _Nullable)uiDelegate
completion:(void (^_Nonnull)(
- FIRAuthCredential *_Nullable,
- NSError *_Nullable))completionHandler
+ FIRAuthCredential* _Nullable,
+ NSError* _Nullable))completionHandler
SWIFT_AVAILABILITY(watchos, introduced = 8)
SWIFT_AVAILABILITY(macos, introduced = 10.15)
SWIFT_AVAILABILITY(tvos, introduced = 13)
@@ -1792,12 +1792,12 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
@interface FIRGameCenterAuthProvider : NSObject
/// A string constant identifying the Game Center identity provider.
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
- NSString *_Nonnull id;)
-+ (NSString *_Nonnull)id SWIFT_WARN_UNUSED_RESULT;
+ NSString* _Nonnull id;)
++ (NSString* _Nonnull)id SWIFT_WARN_UNUSED_RESULT;
/// Creates an AuthCredential
for a Game Center sign in.
+ (void)getCredentialWithCompletion:
- (void (^_Nonnull)(FIRAuthCredential *_Nullable,
- NSError *_Nullable))completion;
+ (void (^_Nonnull)(FIRAuthCredential* _Nullable,
+ NSError* _Nullable))completion;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER SWIFT_UNAVAILABLE;
@end
@@ -1811,15 +1811,15 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
@interface FIRGitHubAuthProvider : NSObject
/// A string constant identifying the GitHub identity provider.
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
- NSString *_Nonnull id;)
-+ (NSString *_Nonnull)id SWIFT_WARN_UNUSED_RESULT;
+ NSString* _Nonnull id;)
++ (NSString* _Nonnull)id SWIFT_WARN_UNUSED_RESULT;
/// Creates an AuthCredential
for a GitHub sign in.
/// \param token The GitHub OAuth access token.
///
///
/// returns:
/// An AuthCredential containing the GitHub credentials.
-+ (FIRAuthCredential *_Nonnull)credentialWithToken:(NSString *_Nonnull)token
++ (FIRAuthCredential* _Nonnull)credentialWithToken:(NSString* _Nonnull)token
SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER SWIFT_UNAVAILABLE;
@end
@@ -1834,8 +1834,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
@interface FIRGoogleAuthProvider : NSObject
/// A string constant identifying the Google identity provider.
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
- NSString *_Nonnull id;)
-+ (NSString *_Nonnull)id SWIFT_WARN_UNUSED_RESULT;
+ NSString* _Nonnull id;)
++ (NSString* _Nonnull)id SWIFT_WARN_UNUSED_RESULT;
/// Creates an AuthCredential
for a Google sign in.
/// \param idToken The ID Token from Google.
///
@@ -1844,9 +1844,9 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
///
/// returns:
/// An AuthCredential containing the Google credentials.
-+ (FIRAuthCredential *_Nonnull)credentialWithIDToken:(NSString *_Nonnull)idToken
++ (FIRAuthCredential* _Nonnull)credentialWithIDToken:(NSString* _Nonnull)idToken
accessToken:
- (NSString *_Nonnull)accessToken
+ (NSString* _Nonnull)accessToken
SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER SWIFT_UNAVAILABLE;
@end
@@ -1865,15 +1865,15 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
SWIFT_AVAILABILITY(ios, introduced = 13)
@interface FIRMultiFactor : NSObject
@property(nonatomic, copy)
- NSArray *_Nonnull enrolledFactors;
+ NSArray* _Nonnull enrolledFactors;
/// Get a session for a second factor enrollment operation.
/// This is used to identify the current user trying to enroll a second factor.
/// \param completion A block with the session identifier for a second factor
/// enrollment operation.
///
- (void)getSessionWithCompletion:
- (void (^_Nullable)(FIRMultiFactorSession *_Nullable,
- NSError *_Nullable))completion;
+ (void (^_Nullable)(FIRMultiFactorSession* _Nullable,
+ NSError* _Nullable))completion;
/// Enrolls a second factor as identified by the
/// MultiFactorAssertion
parameter for the current user.
/// \param assertion The MultiFactorAssertion
.
@@ -1883,17 +1883,17 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
///
/// \param completion The block invoked when the request is complete, or fails.
///
-- (void)enrollWithAssertion:(FIRMultiFactorAssertion *_Nonnull)assertion
- displayName:(NSString *_Nullable)displayName
- completion:(void (^_Nullable)(NSError *_Nullable))completion;
+- (void)enrollWithAssertion:(FIRMultiFactorAssertion* _Nonnull)assertion
+ displayName:(NSString* _Nullable)displayName
+ completion:(void (^_Nullable)(NSError* _Nullable))completion;
/// Unenroll the given multi factor.
/// \param factorInfo The second factor instance to unenroll.
///
/// \param completion The block invoked when the request to send the
/// verification email is complete, or fails.
///
-- (void)unenrollWithInfo:(FIRMultiFactorInfo *_Nonnull)factorInfo
- completion:(void (^_Nullable)(NSError *_Nullable))completion;
+- (void)unenrollWithInfo:(FIRMultiFactorInfo* _Nonnull)factorInfo
+ completion:(void (^_Nullable)(NSError* _Nullable))completion;
/// Unenroll the given multi factor.
/// \param factorUID The unique identifier corresponding to the
/// second factor being unenrolled.
@@ -1901,15 +1901,15 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// \param completion The block invoked when the request to send the
/// verification email is complete, or fails.
///
-- (void)unenrollWithFactorUID:(NSString *_Nonnull)factorUID
- completion:(void (^_Nullable)(NSError *_Nullable))completion;
+- (void)unenrollWithFactorUID:(NSString* _Nonnull)factorUID
+ completion:(void (^_Nullable)(NSError* _Nullable))completion;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly)
BOOL supportsSecureCoding;)
+ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT;
-- (void)encodeWithCoder:(NSCoder *_Nonnull)coder;
-- (nullable instancetype)initWithCoder:(NSCoder *_Nonnull)coder
+- (void)encodeWithCoder:(NSCoder* _Nonnull)coder;
+- (nullable instancetype)initWithCoder:(NSCoder* _Nonnull)coder
OBJC_DESIGNATED_INITIALIZER;
@end
@@ -1927,7 +1927,7 @@ SWIFT_CLASS_NAMED("MultiFactorAssertion")
@interface FIRMultiFactorAssertion : NSObject
/// The second factor identifier for this opaque object asserting a second
/// factor.
-@property(nonatomic, copy) NSString *_Nonnull factorID;
+@property(nonatomic, copy) NSString* _Nonnull factorID;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@@ -1937,18 +1937,18 @@ SWIFT_CLASS_NAMED("MultiFactorAssertion")
SWIFT_CLASS_NAMED("MultiFactorInfo")
@interface FIRMultiFactorInfo : NSObject
/// The multi-factor enrollment ID.
-@property(nonatomic, readonly, copy) NSString *_Nonnull UID;
+@property(nonatomic, readonly, copy) NSString* _Nonnull UID;
/// The user friendly name of the current second factor.
-@property(nonatomic, readonly, copy) NSString *_Nullable displayName;
+@property(nonatomic, readonly, copy) NSString* _Nullable displayName;
/// The second factor enrollment date.
-@property(nonatomic, readonly, copy) NSDate *_Nonnull enrollmentDate;
+@property(nonatomic, readonly, copy) NSDate* _Nonnull enrollmentDate;
/// The identifier of the second factor.
-@property(nonatomic, readonly, copy) NSString *_Nonnull factorID;
+@property(nonatomic, readonly, copy) NSString* _Nonnull factorID;
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly)
BOOL supportsSecureCoding;)
+ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT;
-- (void)encodeWithCoder:(NSCoder *_Nonnull)coder;
-- (nullable instancetype)initWithCoder:(NSCoder *_Nonnull)coder
+- (void)encodeWithCoder:(NSCoder* _Nonnull)coder;
+- (nullable instancetype)initWithCoder:(NSCoder* _Nonnull)coder
OBJC_DESIGNATED_INITIALIZER;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@@ -1968,13 +1968,13 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
SWIFT_AVAILABILITY(ios, introduced = 13)
@interface FIRMultiFactorResolver : NSObject
/// The opaque session identifier for the current sign-in flow.
-@property(nonatomic, readonly, strong) FIRMultiFactorSession *_Nonnull session;
+@property(nonatomic, readonly, strong) FIRMultiFactorSession* _Nonnull session;
/// The list of hints for the second factors needed to complete the sign-in for
/// the current session.
@property(nonatomic, readonly, copy)
- NSArray *_Nonnull hints;
+ NSArray* _Nonnull hints;
/// The Auth reference for the current MultiResolver
.
-@property(nonatomic, readonly, strong) FIRAuth *_Nonnull auth;
+@property(nonatomic, readonly, strong) FIRAuth* _Nonnull auth;
/// A helper function to help users complete sign in with a second factor using
/// a
/// \param assertion The assertion confirming the user successfully
@@ -1982,10 +1982,10 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
///
/// \param completion The block invoked when the request is complete, or fails.
///
-- (void)resolveSignInWithAssertion:(FIRMultiFactorAssertion *_Nonnull)assertion
+- (void)resolveSignInWithAssertion:(FIRMultiFactorAssertion* _Nonnull)assertion
completion:
- (void (^_Nullable)(FIRAuthDataResult *_Nullable,
- NSError *_Nullable))completion;
+ (void (^_Nullable)(FIRAuthDataResult* _Nullable,
+ NSError* _Nullable))completion;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@@ -2018,19 +2018,19 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
@interface FIROAuthCredential
: FIRAuthCredential
/// The ID Token associated with this credential.
-@property(nonatomic, readonly, copy) NSString *_Nullable IDToken;
+@property(nonatomic, readonly, copy) NSString* _Nullable IDToken;
/// The access token associated with this credential.
-@property(nonatomic, readonly, copy) NSString *_Nullable accessToken;
+@property(nonatomic, readonly, copy) NSString* _Nullable accessToken;
/// The secret associated with this credential. This will be nil for OAuth 2.0
/// providers. OAuthCredential already exposes a provider
getter.
/// This will help the developer determine whether an access token / secret pair
/// is needed.
-@property(nonatomic, readonly, copy) NSString *_Nullable secret;
+@property(nonatomic, readonly, copy) NSString* _Nullable secret;
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly)
BOOL supportsSecureCoding;)
+ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT;
-- (void)encodeWithCoder:(NSCoder *_Nonnull)coder;
-- (nullable instancetype)initWithCoder:(NSCoder *_Nonnull)coder
+- (void)encodeWithCoder:(NSCoder* _Nonnull)coder;
+- (nullable instancetype)initWithCoder:(NSCoder* _Nonnull)coder
OBJC_DESIGNATED_INITIALIZER;
@end
@@ -2046,16 +2046,16 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
@interface FIROAuthProvider
: NSObject
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
- NSString *_Nonnull id;)
-+ (NSString *_Nonnull)id SWIFT_WARN_UNUSED_RESULT;
+ NSString* _Nonnull id;)
++ (NSString* _Nonnull)id SWIFT_WARN_UNUSED_RESULT;
/// Array used to configure the OAuth scopes.
-@property(nonatomic, copy) NSArray *_Nullable scopes;
+@property(nonatomic, copy) NSArray* _Nullable scopes;
/// Dictionary used to configure the OAuth custom parameters.
@property(nonatomic, copy)
- NSDictionary *_Nullable customParameters;
+ NSDictionary* _Nullable customParameters;
/// The provider ID indicating the specific OAuth provider this OAuthProvider
/// instance represents.
-@property(nonatomic, readonly, copy) NSString *_Nonnull providerID;
+@property(nonatomic, readonly, copy) NSString* _Nonnull providerID;
/// An instance of OAuthProvider corresponding to the given provider ID.
/// \param providerID The provider ID of the IDP for which this auth provider
/// instance will be configured.
@@ -2063,8 +2063,8 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
///
/// returns:
/// An instance of OAuthProvider corresponding to the specified provider ID.
-+ (FIROAuthProvider *_Nonnull)providerWithProviderID:
- (NSString *_Nonnull)providerID SWIFT_WARN_UNUSED_RESULT;
++ (FIROAuthProvider* _Nonnull)providerWithProviderID:
+ (NSString* _Nonnull)providerID SWIFT_WARN_UNUSED_RESULT;
/// An instance of OAuthProvider corresponding to the given provider ID and auth
/// instance.
/// \param providerID The provider ID of the IDP for which this auth provider
@@ -2076,9 +2076,9 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
///
/// returns:
/// An instance of OAuthProvider corresponding to the specified provider ID.
-+ (FIROAuthProvider *_Nonnull)providerWithProviderID:
- (NSString *_Nonnull)providerID
- auth:(FIRAuth *_Nonnull)auth
++ (FIROAuthProvider* _Nonnull)providerWithProviderID:
+ (NSString* _Nonnull)providerID
+ auth:(FIRAuth* _Nonnull)auth
SWIFT_WARN_UNUSED_RESULT;
/// Creates an AuthCredential
for the OAuth 2 provider identified
/// by provider ID, ID token, and access token.
@@ -2094,10 +2094,10 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
///
/// returns:
/// An AuthCredential for the specified provider ID, ID token and access token.
-+ (FIROAuthCredential *_Nonnull)
- credentialWithProviderID:(NSString *_Nonnull)providerID
- IDToken:(NSString *_Nonnull)idToken
- accessToken:(NSString *_Nullable)accessToken
++ (FIROAuthCredential* _Nonnull)
+ credentialWithProviderID:(NSString* _Nonnull)providerID
+ IDToken:(NSString* _Nonnull)idToken
+ accessToken:(NSString* _Nullable)accessToken
SWIFT_WARN_UNUSED_RESULT;
/// Creates an AuthCredential
for the OAuth 2 provider identified
/// by provider ID, ID token, and access token.
@@ -2110,9 +2110,9 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
///
/// returns:
/// An AuthCredential for the specified provider ID, ID token and access token.
-+ (FIROAuthCredential *_Nonnull)
- credentialWithProviderID:(NSString *_Nonnull)providerID
- accessToken:(NSString *_Nonnull)accessToken
++ (FIROAuthCredential* _Nonnull)
+ credentialWithProviderID:(NSString* _Nonnull)providerID
+ accessToken:(NSString* _Nonnull)accessToken
SWIFT_WARN_UNUSED_RESULT;
/// Creates an AuthCredential
for that OAuth 2 provider identified
/// by provider ID, ID token, raw nonce, and access token.
@@ -2131,11 +2131,11 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
///
/// returns:
/// An AuthCredential for the specified provider ID, ID token and access token.
-+ (FIROAuthCredential *_Nonnull)
- credentialWithProviderID:(NSString *_Nonnull)providerID
- IDToken:(NSString *_Nonnull)idToken
- rawNonce:(NSString *_Nonnull)rawNonce
- accessToken:(NSString *_Nonnull)accessToken
++ (FIROAuthCredential* _Nonnull)
+ credentialWithProviderID:(NSString* _Nonnull)providerID
+ IDToken:(NSString* _Nonnull)idToken
+ rawNonce:(NSString* _Nonnull)rawNonce
+ accessToken:(NSString* _Nonnull)accessToken
SWIFT_WARN_UNUSED_RESULT;
/// Creates an AuthCredential
for that OAuth 2 provider identified
/// by providerID using an ID token and raw nonce.
@@ -2151,10 +2151,10 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
///
/// returns:
/// An AuthCredential.
-+ (FIROAuthCredential *_Nonnull)
- credentialWithProviderID:(NSString *_Nonnull)providerID
- IDToken:(NSString *_Nonnull)idToken
- rawNonce:(NSString *_Nonnull)rawNonce
++ (FIROAuthCredential* _Nonnull)
+ credentialWithProviderID:(NSString* _Nonnull)providerID
+ IDToken:(NSString* _Nonnull)idToken
+ rawNonce:(NSString* _Nonnull)rawNonce
SWIFT_WARN_UNUSED_RESULT;
/// Used to obtain an auth credential via a mobile web flow.
/// This method is available on iOS only.
@@ -2167,8 +2167,8 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
///
- (void)getCredentialWithUIDelegate:(id _Nullable)uiDelegate
completion:(void (^_Nonnull)(
- FIRAuthCredential *_Nullable,
- NSError *_Nullable))completionHandler
+ FIRAuthCredential* _Nullable,
+ NSError* _Nullable))completionHandler
SWIFT_AVAILABILITY(watchos, introduced = 8)
SWIFT_AVAILABILITY(macos, introduced = 10.15)
SWIFT_AVAILABILITY(tvos, introduced = 13)
@@ -2189,10 +2189,10 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
///
/// returns:
/// An AuthCredential.
-+ (FIROAuthCredential *_Nonnull)
- appleCredentialWithIDToken:(NSString *_Nonnull)idToken
- rawNonce:(NSString *_Nullable)rawNonce
- fullName:(NSPersonNameComponents *_Nullable)fullName
++ (FIROAuthCredential* _Nonnull)
+ appleCredentialWithIDToken:(NSString* _Nonnull)idToken
+ rawNonce:(NSString* _Nullable)rawNonce
+ fullName:(NSPersonNameComponents* _Nullable)fullName
SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@@ -2211,8 +2211,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly)
BOOL supportsSecureCoding;)
+ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT;
-- (void)encodeWithCoder:(NSCoder *_Nonnull)coder;
-- (nullable instancetype)initWithCoder:(NSCoder *_Nonnull)coder
+- (void)encodeWithCoder:(NSCoder* _Nonnull)coder;
+- (nullable instancetype)initWithCoder:(NSCoder* _Nonnull)coder
OBJC_DESIGNATED_INITIALIZER;
@end
@@ -2229,17 +2229,17 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
@interface FIRPhoneAuthProvider : NSObject
/// A string constant identifying the phone identity provider.
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
- NSString *_Nonnull id;)
-+ (NSString *_Nonnull)id SWIFT_WARN_UNUSED_RESULT;
+ NSString* _Nonnull id;)
++ (NSString* _Nonnull)id SWIFT_WARN_UNUSED_RESULT;
/// Returns an instance of PhoneAuthProvider
for the default
/// Auth
object.
-+ (FIRPhoneAuthProvider *_Nonnull)provider SWIFT_WARN_UNUSED_RESULT;
++ (FIRPhoneAuthProvider* _Nonnull)provider SWIFT_WARN_UNUSED_RESULT;
/// Returns an instance of PhoneAuthProvider
for the provided
/// Auth
object.
/// \param auth The auth object to associate with the phone auth provider
/// instance.
///
-+ (FIRPhoneAuthProvider *_Nonnull)providerWithAuth:(FIRAuth *_Nonnull)auth
++ (FIRPhoneAuthProvider* _Nonnull)providerWithAuth:(FIRAuth* _Nonnull)auth
SWIFT_WARN_UNUSED_RESULT;
/// Starts the phone number authentication flow by sending a verification code
/// to the specified phone number. Possible error codes:
@@ -2268,10 +2268,10 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
/// \param completion The callback to be invoked when the verification flow is
/// finished.
///
-- (void)verifyPhoneNumber:(NSString *_Nonnull)phoneNumber
+- (void)verifyPhoneNumber:(NSString* _Nonnull)phoneNumber
UIDelegate:(id _Nullable)uiDelegate
- completion:(void (^_Nullable)(NSString *_Nullable,
- NSError *_Nullable))completion;
+ completion:(void (^_Nullable)(NSString* _Nullable,
+ NSError* _Nullable))completion;
/// Verify ownership of the second factor phone number by the current user.
/// \param phoneNumber The phone number to be verified.
///
@@ -2285,11 +2285,11 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
/// \param completion The callback to be invoked when the verification flow is
/// finished.
///
-- (void)verifyPhoneNumber:(NSString *_Nonnull)phoneNumber
+- (void)verifyPhoneNumber:(NSString* _Nonnull)phoneNumber
UIDelegate:(id _Nullable)uiDelegate
- multiFactorSession:(FIRMultiFactorSession *_Nullable)multiFactorSession
- completion:(void (^_Nullable)(NSString *_Nullable,
- NSError *_Nullable))completion;
+ multiFactorSession:(FIRMultiFactorSession* _Nullable)multiFactorSession
+ completion:(void (^_Nullable)(NSString* _Nullable,
+ NSError* _Nullable))completion;
/// Verify ownership of the second factor phone number by the current user.
/// \param multiFactorInfo The phone multi factor whose number need to be
/// verified.
@@ -2306,13 +2306,13 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
///
- (void)
verifyPhoneNumberWithMultiFactorInfo:
- (FIRPhoneMultiFactorInfo *_Nonnull)multiFactorInfo
+ (FIRPhoneMultiFactorInfo* _Nonnull)multiFactorInfo
UIDelegate:
(id _Nullable)uiDelegate
multiFactorSession:
- (FIRMultiFactorSession *_Nullable)multiFactorSession
- completion:(void (^_Nullable)(NSString *_Nullable,
- NSError *_Nullable))
+ (FIRMultiFactorSession* _Nullable)multiFactorSession
+ completion:(void (^_Nullable)(NSString* _Nullable,
+ NSError* _Nullable))
completion;
/// Creates an AuthCredential
for the phone number provider
/// identified by the verification ID and verification code.
@@ -2325,9 +2325,9 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
/// returns:
/// The corresponding phone auth credential for the verification ID and
/// verification code provided.
-- (FIRPhoneAuthCredential *_Nonnull)
- credentialWithVerificationID:(NSString *_Nonnull)verificationID
- verificationCode:(NSString *_Nonnull)verificationCode
+- (FIRPhoneAuthCredential* _Nonnull)
+ credentialWithVerificationID:(NSString* _Nonnull)verificationID
+ verificationCode:(NSString* _Nonnull)verificationCode
SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@@ -2362,8 +2362,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// \param phoneAuthCredential The phone auth credential used for multi factor
/// flows.
///
-+ (FIRPhoneMultiFactorAssertion *_Nonnull)assertionWithCredential:
- (FIRPhoneAuthCredential *_Nonnull)phoneAuthCredential
++ (FIRPhoneMultiFactorAssertion* _Nonnull)assertionWithCredential:
+ (FIRPhoneAuthCredential* _Nonnull)phoneAuthCredential
SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
@@ -2375,20 +2375,20 @@ SWIFT_CLASS_NAMED("PhoneMultiFactorInfo")
@interface FIRPhoneMultiFactorInfo : FIRMultiFactorInfo
/// The string identifier for using phone as a second factor.
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
- NSString *_Nonnull FIRPhoneMultiFactorID;)
-+ (NSString *_Nonnull)FIRPhoneMultiFactorID SWIFT_WARN_UNUSED_RESULT;
+ NSString* _Nonnull FIRPhoneMultiFactorID;)
++ (NSString* _Nonnull)FIRPhoneMultiFactorID SWIFT_WARN_UNUSED_RESULT;
/// The string identifier for using TOTP as a second factor.
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
- NSString *_Nonnull FIRTOTPMultiFactorID;)
-+ (NSString *_Nonnull)FIRTOTPMultiFactorID SWIFT_WARN_UNUSED_RESULT;
+ NSString* _Nonnull FIRTOTPMultiFactorID;)
++ (NSString* _Nonnull)FIRTOTPMultiFactorID SWIFT_WARN_UNUSED_RESULT;
/// This is the phone number associated with the current second factor.
-@property(nonatomic, copy) NSString *_Nonnull phoneNumber;
+@property(nonatomic, copy) NSString* _Nonnull phoneNumber;
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly)
BOOL supportsSecureCoding;)
+ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT;
-- (nullable instancetype)initWithCoder:(NSCoder *_Nonnull)coder
+- (nullable instancetype)initWithCoder:(NSCoder* _Nonnull)coder
OBJC_DESIGNATED_INITIALIZER;
-- (void)encodeWithCoder:(NSCoder *_Nonnull)coder;
+- (void)encodeWithCoder:(NSCoder* _Nonnull)coder;
@end
/// The subclass of base class MultiFactorAssertion, used to assert ownership of
@@ -2419,10 +2419,10 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// \param completion Completion block
///
+ (void)generateSecretWithMultiFactorSession:
- (FIRMultiFactorSession *_Nonnull)session
+ (FIRMultiFactorSession* _Nonnull)session
completion:(void (^_Nonnull)(
- FIRTOTPSecret *_Nullable,
- NSError *_Nullable))completion;
+ FIRTOTPSecret* _Nullable,
+ NSError* _Nullable))completion;
/// Initializes the MFA assertion to confirm ownership of the TOTP second
/// factor. This assertion is used to complete enrollment of TOTP as a second
/// factor.
@@ -2433,9 +2433,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
///
/// returns:
/// The MFA assertion.
-+ (FIRTOTPMultiFactorAssertion *_Nonnull)
- assertionForEnrollmentWithSecret:(FIRTOTPSecret *_Nonnull)secret
- oneTimePassword:(NSString *_Nonnull)oneTimePassword
++ (FIRTOTPMultiFactorAssertion* _Nonnull)
+ assertionForEnrollmentWithSecret:(FIRTOTPSecret* _Nonnull)secret
+ oneTimePassword:(NSString* _Nonnull)oneTimePassword
SWIFT_WARN_UNUSED_RESULT;
/// Initializes the MFA assertion to confirm ownership of the TOTP second
/// factor. This assertion is used to complete signIn with TOTP as a second
@@ -2447,9 +2447,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
///
/// returns:
/// The MFA assertion.
-+ (FIRTOTPMultiFactorAssertion *_Nonnull)
- assertionForSignInWithEnrollmentID:(NSString *_Nonnull)enrollmentID
- oneTimePassword:(NSString *_Nonnull)oneTimePassword
++ (FIRTOTPMultiFactorAssertion* _Nonnull)
+ assertionForSignInWithEnrollmentID:(NSString* _Nonnull)enrollmentID
+ oneTimePassword:(NSString* _Nonnull)oneTimePassword
SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
@@ -2461,7 +2461,7 @@ SWIFT_CLASS_NAMED("TOTPSecret")
@interface FIRTOTPSecret : NSObject
/// Returns the shared secret key/seed used to generate time-based one-time
/// passwords.
-- (NSString *_Nonnull)sharedSecretKey SWIFT_WARN_UNUSED_RESULT;
+- (NSString* _Nonnull)sharedSecretKey SWIFT_WARN_UNUSED_RESULT;
/// Returns a QRCode URL as described in
/// https://github.com/google/google-authenticator/wiki/Key-Uri-Format.
/// This can be displayed to the user as a QRCode to be scanned into a TOTP app
@@ -2473,15 +2473,15 @@ SWIFT_CLASS_NAMED("TOTPSecret")
///
/// returns:
/// A QRCode URL string.
-- (NSString *_Nonnull)
- generateQRCodeURLWithAccountName:(NSString *_Nonnull)accountName
- issuer:(NSString *_Nonnull)issuer
+- (NSString* _Nonnull)
+ generateQRCodeURLWithAccountName:(NSString* _Nonnull)accountName
+ issuer:(NSString* _Nonnull)issuer
SWIFT_WARN_UNUSED_RESULT;
/// Opens the specified QR Code URL in a password manager like iCloud Keychain.
/// See more details
/// here
-- (void)openInOTPAppWithQRCodeURL:(NSString *_Nonnull)qrCodeURL;
+- (void)openInOTPAppWithQRCodeURL:(NSString* _Nonnull)qrCodeURL;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@@ -2496,8 +2496,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
@interface FIRTwitterAuthProvider : NSObject
/// A string constant identifying the Twitter identity provider.
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
- NSString *_Nonnull id;)
-+ (NSString *_Nonnull)id SWIFT_WARN_UNUSED_RESULT;
+ NSString* _Nonnull id;)
++ (NSString* _Nonnull)id SWIFT_WARN_UNUSED_RESULT;
/// Creates an AuthCredential
for a Twitter sign in.
/// \param token The Twitter OAuth token.
///
@@ -2506,8 +2506,8 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
///
/// returns:
/// An AuthCredential containing the Twitter credentials.
-+ (FIRAuthCredential *_Nonnull)credentialWithToken:(NSString *_Nonnull)token
- secret:(NSString *_Nonnull)secret
++ (FIRAuthCredential* _Nonnull)credentialWithToken:(NSString* _Nonnull)token
+ secret:(NSString* _Nonnull)secret
SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER SWIFT_UNAVAILABLE;
@end
@@ -2516,19 +2516,19 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
SWIFT_PROTOCOL_NAMED("UserInfo")
@protocol FIRUserInfo
/// The provider identifier.
-@property(nonatomic, readonly, copy) NSString *_Nonnull providerID;
+@property(nonatomic, readonly, copy) NSString* _Nonnull providerID;
/// The provider’s user ID for the user.
-@property(nonatomic, readonly, copy) NSString *_Nonnull uid;
+@property(nonatomic, readonly, copy) NSString* _Nonnull uid;
/// The name of the user.
-@property(nonatomic, readonly, copy) NSString *_Nullable displayName;
+@property(nonatomic, readonly, copy) NSString* _Nullable displayName;
/// The URL of the user’s profile photo.
-@property(nonatomic, readonly, copy) NSURL *_Nullable photoURL;
+@property(nonatomic, readonly, copy) NSURL* _Nullable photoURL;
/// The user’s email address.
-@property(nonatomic, readonly, copy) NSString *_Nullable email;
+@property(nonatomic, readonly, copy) NSString* _Nullable email;
/// A phone number associated with the user.
/// This property is only available for users authenticated via phone number
/// auth.
-@property(nonatomic, readonly, copy) NSString *_Nullable phoneNumber;
+@property(nonatomic, readonly, copy) NSString* _Nullable phoneNumber;
@end
@class FIRUserMetadata;
@@ -2559,14 +2559,14 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// Profile data for each identity provider, if any.
/// This data is cached on sign-in and updated when linking or unlinking.
@property(nonatomic, readonly, copy)
- NSArray> *_Nonnull providerData;
+ NSArray>* _Nonnull providerData;
/// Metadata associated with the Firebase user in question.
-@property(nonatomic, readonly, strong) FIRUserMetadata *_Nonnull metadata;
+@property(nonatomic, readonly, strong) FIRUserMetadata* _Nonnull metadata;
/// The tenant ID of the current user. nil
if none is available.
-@property(nonatomic, readonly, copy) NSString *_Nullable tenantID;
+@property(nonatomic, readonly, copy) NSString* _Nullable tenantID;
/// Multi factor object associated with the user.
/// This property is available on iOS and macOS.
-@property(nonatomic, readonly, strong) FIRMultiFactor *_Nonnull multiFactor;
+@property(nonatomic, readonly, strong) FIRMultiFactor* _Nonnull multiFactor;
/// [Deprecated] Updates the email address for the user.
/// On success, the cached user profile data is updated. Returns an error when
/// UserProfileChangeRequest.commitChanges() to perform the updates
@@ -2674,12 +2674,12 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
///
/// returns:
/// An object which may be used to change the user’s profile data atomically.
-- (FIRUserProfileChangeRequest *_Nonnull)
+- (FIRUserProfileChangeRequest* _Nonnull)
profileChangeRequest SWIFT_WARN_UNUSED_RESULT;
/// A refresh token; useful for obtaining new access tokens independently.
/// This property should only be used for advanced scenarios, and is not
/// typically needed.
-@property(nonatomic, readonly, copy) NSString *_Nullable refreshToken;
+@property(nonatomic, readonly, copy) NSString* _Nullable refreshToken;
/// Reloads the user’s profile data from the server.
/// May fail with an AuthErrorCodeRequiresRecentLogin
error code.
/// In this case you should call reauthenticate(with:)
before
@@ -2687,7 +2687,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// \param completion Optionally; the block invoked when the reload has
/// finished. Invoked asynchronously on the main thread in the future.
///
-- (void)reloadWithCompletion:(void (^_Nullable)(NSError *_Nullable))completion;
+- (void)reloadWithCompletion:(void (^_Nullable)(NSError* _Nullable))completion;
/// Renews the user’s authentication tokens by validating a fresh set of
/// credentials supplied by the user and returns additional identity provider
/// data. If the user associated with the supplied credential is different from
@@ -2739,10 +2739,10 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// operation has finished. Invoked asynchronously on the main thread in the
/// future.
///
-- (void)reauthenticateWithCredential:(FIRAuthCredential *_Nonnull)credential
+- (void)reauthenticateWithCredential:(FIRAuthCredential* _Nonnull)credential
completion:
- (void (^_Nullable)(FIRAuthDataResult *_Nullable,
- NSError *_Nullable))completion;
+ (void (^_Nullable)(FIRAuthDataResult* _Nullable,
+ NSError* _Nullable))completion;
/// Renews the user’s authentication using the provided auth provider instance.
/// This method is available on iOS only.
/// \param provider An instance of an auth provider used to initiate the
@@ -2760,15 +2760,15 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
(id _Nonnull)provider
UIDelegate:(id _Nullable)uiDelegate
completion:
- (void (^_Nullable)(FIRAuthDataResult *_Nullable,
- NSError *_Nullable))completion;
+ (void (^_Nullable)(FIRAuthDataResult* _Nullable,
+ NSError* _Nullable))completion;
/// Retrieves the Firebase authentication token, possibly refreshing it if it
/// has expired.
/// \param completion Optionally; the block invoked when the token is available.
/// Invoked asynchronously on the main thread in the future.
///
- (void)getIDTokenWithCompletion:
- (void (^_Nullable)(NSString *_Nullable, NSError *_Nullable))completion;
+ (void (^_Nullable)(NSString* _Nullable, NSError* _Nullable))completion;
/// Retrieves the Firebase authentication token, possibly refreshing it if it
/// has expired. The authentication token will be refreshed (by making a network
/// request) if it has expired, or if forceRefresh
is
@@ -2781,16 +2781,16 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
///
- (void)getIDTokenForcingRefresh:(BOOL)forceRefresh
completion:
- (void (^_Nullable)(NSString *_Nullable,
- NSError *_Nullable))completion;
+ (void (^_Nullable)(NSString* _Nullable,
+ NSError* _Nullable))completion;
/// Retrieves the Firebase authentication token, possibly refreshing it if it
/// has expired.
/// \param completion Optionally; the block invoked when the token is available.
/// Invoked asynchronously on the main thread in the future.
///
- (void)getIDTokenResultWithCompletion:
- (void (^_Nullable)(FIRAuthTokenResult *_Nullable,
- NSError *_Nullable))completion;
+ (void (^_Nullable)(FIRAuthTokenResult* _Nullable,
+ NSError* _Nullable))completion;
/// Retrieves the Firebase authentication token, possibly refreshing it if it
/// has expired. The authentication token will be refreshed (by making a network
/// request) if it has expired, or if forcingRefresh
is
@@ -2803,8 +2803,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
///
- (void)getIDTokenResultForcingRefresh:(BOOL)forcingRefresh
completion:(void (^_Nullable)(
- FIRAuthTokenResult *_Nullable,
- NSError *_Nullable))completion;
+ FIRAuthTokenResult* _Nullable,
+ NSError* _Nullable))completion;
/// Associates a user account from a third-party identity provider with this
/// user and returns additional identity provider data. Invoked asynchronously
/// on the main thread in the future. Possible error codes:
@@ -2831,9 +2831,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// \param completion Optionally; the block invoked when the unlinking is
/// complete, or fails.
///
-- (void)linkWithCredential:(FIRAuthCredential *_Nonnull)credential
- completion:(void (^_Nullable)(FIRAuthDataResult *_Nullable,
- NSError *_Nullable))completion;
+- (void)linkWithCredential:(FIRAuthCredential* _Nonnull)credential
+ completion:(void (^_Nullable)(FIRAuthDataResult* _Nullable,
+ NSError* _Nullable))completion;
/// Link the user with the provided auth provider instance.
/// This method is available on iOSonly.
/// \param provider An instance of an auth provider used to initiate the link
@@ -2849,8 +2849,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
///
- (void)linkWithProvider:(id _Nonnull)provider
UIDelegate:(id _Nullable)uiDelegate
- completion:(void (^_Nullable)(FIRAuthDataResult *_Nullable,
- NSError *_Nullable))completion;
+ completion:(void (^_Nullable)(FIRAuthDataResult* _Nullable,
+ NSError* _Nullable))completion;
/// Disassociates a user account from a third-party identity provider with this
/// user. Invoked asynchronously on the main thread in the future. Possible
/// error codes:
@@ -2871,9 +2871,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// \param completion Optionally; the block invoked when the unlinking is
/// complete, or fails.
///
-- (void)unlinkFromProvider:(NSString *_Nonnull)provider
- completion:(void (^_Nullable)(FIRUser *_Nullable,
- NSError *_Nullable))completion;
+- (void)unlinkFromProvider:(NSString* _Nonnull)provider
+ completion:(void (^_Nullable)(FIRUser* _Nullable,
+ NSError* _Nullable))completion;
/// Initiates email verification for the user.
/// Possible error codes:
///
@@ -2899,7 +2899,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// thread in the future.
///
- (void)sendEmailVerificationWithCompletion:
- (void (^_Nullable)(NSError *_Nullable))completion;
+ (void (^_Nullable)(NSError* _Nullable))completion;
/// Initiates email verification for the user.
/// Possible error codes:
///
@@ -2928,10 +2928,10 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// thread in the future.
///
- (void)sendEmailVerificationWithActionCodeSettings:
- (FIRActionCodeSettings *_Nullable)actionCodeSettings
+ (FIRActionCodeSettings* _Nullable)actionCodeSettings
completion:
(void (^_Nullable)(
- NSError *_Nullable))completion;
+ NSError* _Nullable))completion;
/// Deletes the user account (also signs out the user, if this was the current
/// user). Possible error codes:
/// -
@@ -2946,7 +2946,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// the account is complete, or fails. Invoked asynchronously on the main thread
/// in the future.
///
-- (void)deleteWithCompletion:(void (^_Nullable)(NSError *_Nullable))completion;
+- (void)deleteWithCompletion:(void (^_Nullable)(NSError* _Nullable))completion;
/// Send an email to verify the ownership of the account then update to the new
/// email.
/// \param email The email to be updated to.
@@ -2954,10 +2954,10 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// \param completion Optionally; the block invoked when the request to send the
/// verification email is complete, or fails.
///
-- (void)sendEmailVerificationBeforeUpdatingEmail:(NSString *_Nonnull)email
+- (void)sendEmailVerificationBeforeUpdatingEmail:(NSString* _Nonnull)email
completion:
(void (^_Nullable)(
- NSError *_Nullable))completion;
+ NSError* _Nullable))completion;
/// Send an email to verify the ownership of the account then update to the new
/// email.
/// \param email The email to be updated to.
@@ -2969,29 +2969,29 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// verification email is complete, or fails.
///
- (void)
- sendEmailVerificationBeforeUpdatingEmail:(NSString *_Nonnull)email
- actionCodeSettings:(FIRActionCodeSettings *_Nullable)
+ sendEmailVerificationBeforeUpdatingEmail:(NSString* _Nonnull)email
+ actionCodeSettings:(FIRActionCodeSettings* _Nullable)
actionCodeSettings
completion:(void (^_Nullable)(
- NSError *_Nullable))completion;
-@property(nonatomic, readonly, copy) NSString *_Nonnull providerID;
+ NSError* _Nullable))completion;
+@property(nonatomic, readonly, copy) NSString* _Nonnull providerID;
/// The provider’s user ID for the user.
-@property(nonatomic, copy) NSString *_Nonnull uid;
+@property(nonatomic, copy) NSString* _Nonnull uid;
/// The name of the user.
-@property(nonatomic, copy) NSString *_Nullable displayName;
+@property(nonatomic, copy) NSString* _Nullable displayName;
/// The URL of the user’s profile photo.
-@property(nonatomic, copy) NSURL *_Nullable photoURL;
+@property(nonatomic, copy) NSURL* _Nullable photoURL;
/// The user’s email address.
-@property(nonatomic, copy) NSString *_Nullable email;
+@property(nonatomic, copy) NSString* _Nullable email;
/// A phone number associated with the user.
/// This property is only available for users authenticated via phone number
/// auth.
-@property(nonatomic, copy) NSString *_Nullable phoneNumber;
+@property(nonatomic, copy) NSString* _Nullable phoneNumber;
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly)
BOOL supportsSecureCoding;)
+ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT;
-- (void)encodeWithCoder:(NSCoder *_Nonnull)coder;
-- (nullable instancetype)initWithCoder:(NSCoder *_Nonnull)coder
+- (void)encodeWithCoder:(NSCoder* _Nonnull)coder;
+- (nullable instancetype)initWithCoder:(NSCoder* _Nonnull)coder
OBJC_DESIGNATED_INITIALIZER;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@@ -3015,14 +3015,14 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
SWIFT_AVAILABILITY(ios, introduced = 13)
@interface FIRUserMetadata : NSObject
/// Stores the last sign in date for the corresponding Firebase user.
-@property(nonatomic, readonly, copy) NSDate *_Nullable lastSignInDate;
+@property(nonatomic, readonly, copy) NSDate* _Nullable lastSignInDate;
/// Stores the creation date for the corresponding Firebase user.
-@property(nonatomic, readonly, copy) NSDate *_Nullable creationDate;
+@property(nonatomic, readonly, copy) NSDate* _Nullable creationDate;
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly)
BOOL supportsSecureCoding;)
+ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT;
-- (void)encodeWithCoder:(NSCoder *_Nonnull)coder;
-- (nullable instancetype)initWithCoder:(NSCoder *_Nonnull)coder;
+- (void)encodeWithCoder:(NSCoder* _Nonnull)coder;
+- (nullable instancetype)initWithCoder:(NSCoder* _Nonnull)coder;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@@ -3047,9 +3047,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
SWIFT_AVAILABILITY(ios, introduced = 13)
@interface FIRUserProfileChangeRequest : NSObject
/// The name of the user.
-@property(nonatomic, copy) NSString *_Nullable displayName;
+@property(nonatomic, copy) NSString* _Nullable displayName;
/// The URL of the user’s profile photo.
-@property(nonatomic, copy) NSURL *_Nullable photoURL;
+@property(nonatomic, copy) NSURL* _Nullable photoURL;
/// Commits any pending changes.
/// Invoked asynchronously on the main thread in the future.
/// This method should only be called once.Once called, property values should
@@ -3058,7 +3058,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// has been applied.
///
- (void)commitChangesWithCompletion:
- (void (^_Nullable)(NSError *_Nullable))completion;
+ (void (^_Nullable)(NSError* _Nullable))completion;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@@ -3074,7 +3074,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
#elif defined(__x86_64__) && __x86_64__
// Copyright 2025 Google LLC
-// Copied from Firebase iOS SDK 12.2.0.
+// Copied from Firebase iOS SDK 12.4.0.
// Generated by Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10
// clang-1600.0.30.1)
@@ -3417,10 +3417,10 @@ SWIFT_CLASS_NAMED("ActionCodeInfo")
@property(nonatomic, readonly) enum FIRActionCodeOperation operation;
/// The email address to which the code was sent. The new email address in the
/// case of
ActionCodeOperation.recoverEmail
.
-@property(nonatomic, readonly, copy) NSString *_Nonnull email;
+@property(nonatomic, readonly, copy) NSString* _Nonnull email;
/// The email that is being recovered in the case of
/// ActionCodeOperation.recoverEmail
.
-@property(nonatomic, readonly, copy) NSString *_Nullable previousEmail;
+@property(nonatomic, readonly, copy) NSString* _Nullable previousEmail;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@@ -3453,22 +3453,22 @@ SWIFT_CLASS_NAMED("ActionCodeSettings")
/// This URL can should be constructed as a universal link that would either
/// directly open the app where the action code would be handled or continue to
/// the app after the action code is handled by Firebase.
-@property(nonatomic, copy) NSURL *_Nullable URL;
+@property(nonatomic, copy) NSURL* _Nullable URL;
/// Indicates whether the action code link will open the app directly or after
/// being redirected from a Firebase owned web widget.
@property(nonatomic) BOOL handleCodeInApp;
/// The iOS bundle ID, if available. The default value is the current app’s
/// bundle ID.
-@property(nonatomic, copy) NSString *_Nullable iOSBundleID;
+@property(nonatomic, copy) NSString* _Nullable iOSBundleID;
/// The Android package name, if available.
-@property(nonatomic, copy) NSString *_Nullable androidPackageName;
+@property(nonatomic, copy) NSString* _Nullable androidPackageName;
/// The minimum Android version supported, if available.
-@property(nonatomic, copy) NSString *_Nullable androidMinimumVersion;
+@property(nonatomic, copy) NSString* _Nullable androidMinimumVersion;
/// Indicates whether the Android app should be installed on a device where it
/// is not available.
@property(nonatomic) BOOL androidInstallIfNotAvailable;
/// The out of band custom domain for handling code in app.
-@property(nonatomic, copy) NSString *_Nullable linkDomain;
+@property(nonatomic, copy) NSString* _Nullable linkDomain;
/// Sets the iOS bundle ID.
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
/// Sets the Android package name, the flag to indicate whether or not to
@@ -3483,9 +3483,9 @@ SWIFT_CLASS_NAMED("ActionCodeSettings")
///
/// \param minimumVersion The minimum version of Android supported.
///
-- (void)setAndroidPackageName:(NSString *_Nonnull)androidPackageName
+- (void)setAndroidPackageName:(NSString* _Nonnull)androidPackageName
installIfNotAvailable:(BOOL)installIfNotAvailable
- minimumVersion:(NSString *_Nullable)minimumVersion;
+ minimumVersion:(NSString* _Nullable)minimumVersion;
@end
/// This class will allow developers to easily extract information about out of
@@ -3493,17 +3493,17 @@ SWIFT_CLASS_NAMED("ActionCodeSettings")
SWIFT_CLASS_NAMED("ActionCodeURL")
@interface FIRActionCodeURL : NSObject
/// Returns the API key from the link. nil, if not provided.
-@property(nonatomic, readonly, copy) NSString *_Nullable APIKey;
+@property(nonatomic, readonly, copy) NSString* _Nullable APIKey;
/// Returns the mode of oob action.
/// The property will be of ActionCodeOperation
type.
/// It will return .unknown
if no oob action is provided.
@property(nonatomic, readonly) enum FIRActionCodeOperation operation;
/// Returns the email action code from the link. nil, if not provided.
-@property(nonatomic, readonly, copy) NSString *_Nullable code;
+@property(nonatomic, readonly, copy) NSString* _Nullable code;
/// Returns the continue URL from the link. nil, if not provided.
-@property(nonatomic, readonly, copy) NSURL *_Nullable continueURL;
+@property(nonatomic, readonly, copy) NSURL* _Nullable continueURL;
/// Returns the language code from the link. nil, if not provided.
-@property(nonatomic, readonly, copy) NSString *_Nullable languageCode;
+@property(nonatomic, readonly, copy) NSString* _Nullable languageCode;
/// Construct an ActionCodeURL
from an out of band link (e.g. email
/// link).
/// \param link The oob link string used to construct the action code URL.
@@ -3511,7 +3511,7 @@ SWIFT_CLASS_NAMED("ActionCodeURL")
///
/// returns:
/// The ActionCodeURL object constructed based on the oob link provided.
-- (nullable instancetype)actionCodeURLWithLink:(NSString *_Nonnull)link
+- (nullable instancetype)actionCodeURLWithLink:(NSString* _Nonnull)link
OBJC_DESIGNATED_INITIALIZER SWIFT_METHOD_FAMILY(init);
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@@ -3522,12 +3522,12 @@ SWIFT_CLASS_NAMED("ActionCodeURL")
SWIFT_CLASS_NAMED("AdditionalUserInfo")
@interface FIRAdditionalUserInfo : NSObject
/// The provider identifier.
-@property(nonatomic, readonly, copy) NSString *_Nonnull providerID;
+@property(nonatomic, readonly, copy) NSString* _Nonnull providerID;
/// Dictionary containing the additional IdP specific information.
@property(nonatomic, readonly, copy)
- NSDictionary *_Nullable profile;
+ NSDictionary* _Nullable profile;
/// The name of the user.
-@property(nonatomic, readonly, copy) NSString *_Nullable username;
+@property(nonatomic, readonly, copy) NSString* _Nullable username;
/// Indicates whether or not the current user was signed in for the first time.
@property(nonatomic, readonly) BOOL isNewUser;
/// Indicates whether or not the current user was signed in for the first time.
@@ -3535,9 +3535,9 @@ SWIFT_CLASS_NAMED("AdditionalUserInfo")
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly)
BOOL supportsSecureCoding;)
+ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT;
-- (nullable instancetype)initWithCoder:(NSCoder *_Nonnull)aDecoder
+- (nullable instancetype)initWithCoder:(NSCoder* _Nonnull)aDecoder
OBJC_DESIGNATED_INITIALIZER;
-- (void)encodeWithCoder:(NSCoder *_Nonnull)aCoder;
+- (void)encodeWithCoder:(NSCoder* _Nonnull)aCoder;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@@ -3570,7 +3570,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// Gets the auth object for the default Firebase app.
/// The default Firebase app must have already been configured or an exception
/// will be raised.
-+ (FIRAuth *_Nonnull)auth SWIFT_WARN_UNUSED_RESULT;
++ (FIRAuth* _Nonnull)auth SWIFT_WARN_UNUSED_RESULT;
/// Gets the auth object for a FirebaseApp
.
/// \param app The app for which to retrieve the associated Auth
/// instance.
@@ -3578,35 +3578,35 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
///
/// returns:
/// The Auth
instance associated with the given app.
-+ (FIRAuth *_Nonnull)authWithApp:(FIRApp *_Nonnull)app SWIFT_WARN_UNUSED_RESULT;
++ (FIRAuth* _Nonnull)authWithApp:(FIRApp* _Nonnull)app SWIFT_WARN_UNUSED_RESULT;
/// Gets the FirebaseApp
object that this auth object is connected
/// to.
-@property(nonatomic, readonly, weak) FIRApp *_Nullable app;
+@property(nonatomic, readonly, weak) FIRApp* _Nullable app;
/// Synchronously gets the cached current user, or null if there is none.
-@property(nonatomic, readonly, strong) FIRUser *_Nullable currentUser;
+@property(nonatomic, readonly, strong) FIRUser* _Nullable currentUser;
/// The current user language code.
/// This property can be set to the app’s current language by
/// calling useAppLanguage()
.
/// The string used to set this property must be a language code that follows
/// BCP 47.
-@property(nonatomic, copy) NSString *_Nullable languageCode;
+@property(nonatomic, copy) NSString* _Nullable languageCode;
/// Contains settings related to the auth object.
-@property(nonatomic, strong) FIRAuthSettings *_Nullable settings;
+@property(nonatomic, strong) FIRAuthSettings* _Nullable settings;
/// The current user access group that the Auth instance is using.
/// Default is nil
.
-@property(nonatomic, readonly, copy) NSString *_Nullable userAccessGroup;
+@property(nonatomic, readonly, copy) NSString* _Nullable userAccessGroup;
/// Contains shareAuthStateAcrossDevices setting related to the auth object.
/// If userAccessGroup is not set, setting shareAuthStateAcrossDevices will
/// have no effect. You should set shareAuthStateAcrossDevices to its desired
/// state and then set the userAccessGroup after.
@property(nonatomic) BOOL shareAuthStateAcrossDevices;
/// The tenant ID of the auth instance. nil
if none is available.
-@property(nonatomic, copy) NSString *_Nullable tenantID;
+@property(nonatomic, copy) NSString* _Nullable tenantID;
/// The custom authentication domain used to handle all sign-in redirects.
/// End-users will see
/// this domain when signing in. This domain must be allowlisted in the Firebase
/// Console.
-@property(nonatomic, copy) NSString *_Nullable customAuthDomain;
+@property(nonatomic, copy) NSString* _Nullable customAuthDomain;
/// Sets the currentUser
on the receiver to the provided user
/// object.
/// \param user The user object to be set as the current user of the calling
@@ -3615,8 +3615,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// \param completion Optionally; a block invoked after the user of the calling
/// Auth instance has been updated or an error was encountered.
///
-- (void)updateCurrentUser:(FIRUser *_Nullable)user
- completion:(void (^_Nullable)(NSError *_Nullable))completion;
+- (void)updateCurrentUser:(FIRUser* _Nullable)user
+ completion:(void (^_Nullable)(NSError* _Nullable))completion;
/// [Deprecated] Fetches the list of all sign-in methods previously used for the
/// provided email address. This method returns an empty list when Email
@@ -3631,10 +3631,10 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// in methods for the specified email address is ready or an error was
/// encountered. Invoked asynchronously on the main thread in the future.
///
-- (void)fetchSignInMethodsForEmail:(NSString *_Nonnull)email
+- (void)fetchSignInMethodsForEmail:(NSString* _Nonnull)email
completion:
- (void (^_Nullable)(NSArray *_Nullable,
- NSError *_Nullable))completion
+ (void (^_Nullable)(NSArray* _Nullable,
+ NSError* _Nullable))completion
SWIFT_DEPRECATED_MSG(
"`fetchSignInMethods` is deprecated and will be removed in a future "
"release. This method returns an empty list when Email Enumeration "
@@ -3670,10 +3670,10 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// finishes, or is canceled. Invoked asynchronously on the main thread in the
/// future.
///
-- (void)signInWithEmail:(NSString *_Nonnull)email
- password:(NSString *_Nonnull)password
- completion:(void (^_Nullable)(FIRAuthDataResult *_Nullable,
- NSError *_Nullable))completion;
+- (void)signInWithEmail:(NSString* _Nonnull)email
+ password:(NSString* _Nonnull)password
+ completion:(void (^_Nullable)(FIRAuthDataResult* _Nullable,
+ NSError* _Nullable))completion;
/// Signs in using an email address and email sign-in link.
/// Possible error codes:
///
@@ -3703,10 +3703,10 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// finishes, or is canceled. Invoked asynchronously on the main thread in the
/// future.
///
-- (void)signInWithEmail:(NSString *_Nonnull)email
- link:(NSString *_Nonnull)link
- completion:(void (^_Nullable)(FIRAuthDataResult *_Nullable,
- NSError *_Nullable))completion;
+- (void)signInWithEmail:(NSString* _Nonnull)email
+ link:(NSString* _Nonnull)link
+ completion:(void (^_Nullable)(FIRAuthDataResult* _Nullable,
+ NSError* _Nullable))completion;
/// Signs in using the provided auth provider instance.
/// Possible error codes:
///
@@ -3768,8 +3768,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
///
- (void)signInWithProvider:(id _Nonnull)provider
UIDelegate:(id _Nullable)uiDelegate
- completion:(void (^_Nullable)(FIRAuthDataResult *_Nullable,
- NSError *_Nullable))completion
+ completion:(void (^_Nullable)(FIRAuthDataResult* _Nullable,
+ NSError* _Nullable))completion
SWIFT_AVAILABILITY(watchos, unavailable)
SWIFT_AVAILABILITY(macos, unavailable)
SWIFT_AVAILABILITY(tvos, unavailable);
@@ -3837,9 +3837,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// finishes, or is canceled. Invoked asynchronously on the main thread in the
/// future.
///
-- (void)signInWithCredential:(FIRAuthCredential *_Nonnull)credential
- completion:(void (^_Nullable)(FIRAuthDataResult *_Nullable,
- NSError *_Nullable))completion;
+- (void)signInWithCredential:(FIRAuthCredential* _Nonnull)credential
+ completion:(void (^_Nullable)(FIRAuthDataResult* _Nullable,
+ NSError* _Nullable))completion;
/// Asynchronously creates and becomes an anonymous user.
/// If there is already an anonymous user signed in, that user will be returned
/// instead. If there is any other existing user signed in, that user will be
@@ -3855,8 +3855,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// future.
///
- (void)signInAnonymouslyWithCompletion:
- (void (^_Nullable)(FIRAuthDataResult *_Nullable,
- NSError *_Nullable))completion;
+ (void (^_Nullable)(FIRAuthDataResult* _Nullable,
+ NSError* _Nullable))completion;
/// Asynchronously creates and becomes an anonymous user.
/// If there is already an anonymous user signed in, that user will be returned
/// instead. If there is any other existing user signed in, that user will be
@@ -3871,8 +3871,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// returns:
/// The AuthDataResult
after the successful signin.
- (void)signInAnonymouslyWithCompletionHandler:
- (void (^_Nonnull)(FIRAuthDataResult *_Nullable,
- NSError *_Nullable))completionHandler
+ (void (^_Nonnull)(FIRAuthDataResult* _Nullable,
+ NSError* _Nullable))completionHandler
SWIFT_AVAILABILITY(watchos, introduced = 7)
SWIFT_AVAILABILITY(maccatalyst, introduced = 13)
SWIFT_AVAILABILITY(macos, introduced = 10.15)
@@ -3896,9 +3896,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// finishes, or is canceled. Invoked asynchronously on the main thread in the
/// future.
///
-- (void)signInWithCustomToken:(NSString *_Nonnull)token
- completion:(void (^_Nullable)(FIRAuthDataResult *_Nullable,
- NSError *_Nullable))completion;
+- (void)signInWithCustomToken:(NSString* _Nonnull)token
+ completion:(void (^_Nullable)(FIRAuthDataResult* _Nullable,
+ NSError* _Nullable))completion;
/// Creates and, on success, signs in a user with the given email address and
/// password. Possible error codes:
/// -
@@ -3932,10 +3932,10 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// finishes, or is canceled. Invoked asynchronously on the main thread in the
/// future.
///
-- (void)createUserWithEmail:(NSString *_Nonnull)email
- password:(NSString *_Nonnull)password
- completion:(void (^_Nullable)(FIRAuthDataResult *_Nullable,
- NSError *_Nullable))completion;
+- (void)createUserWithEmail:(NSString* _Nonnull)email
+ password:(NSString* _Nonnull)password
+ completion:(void (^_Nullable)(FIRAuthDataResult* _Nullable,
+ NSError* _Nullable))completion;
/// Resets the password given a code sent to the user outside of the app and a
/// new password for the user. Possible error codes:
/// -
@@ -3962,29 +3962,29 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// \param completion Optionally; a block which is invoked when the request
/// finishes. Invoked asynchronously on the main thread in the future.
///
-- (void)confirmPasswordResetWithCode:(NSString *_Nonnull)code
- newPassword:(NSString *_Nonnull)newPassword
+- (void)confirmPasswordResetWithCode:(NSString* _Nonnull)code
+ newPassword:(NSString* _Nonnull)newPassword
completion:
- (void (^_Nonnull)(NSError *_Nullable))completion;
+ (void (^_Nonnull)(NSError* _Nullable))completion;
/// Checks the validity of an out of band code.
/// \param code The out of band code to check validity.
///
/// \param completion Optionally; a block which is invoked when the request
/// finishes. Invoked asynchronously on the main thread in the future.
///
-- (void)checkActionCode:(NSString *_Nonnull)code
- completion:(void (^_Nonnull)(FIRActionCodeInfo *_Nullable,
- NSError *_Nullable))completion;
+- (void)checkActionCode:(NSString* _Nonnull)code
+ completion:(void (^_Nonnull)(FIRActionCodeInfo* _Nullable,
+ NSError* _Nullable))completion;
/// Checks the validity of a verify password reset code.
/// \param code The password reset code to be verified.
///
/// \param completion Optionally; a block which is invoked when the request
/// finishes. Invoked asynchronously on the main thread in the future.
///
-- (void)verifyPasswordResetCode:(NSString *_Nonnull)code
+- (void)verifyPasswordResetCode:(NSString* _Nonnull)code
completion:
- (void (^_Nonnull)(NSString *_Nullable,
- NSError *_Nullable))completion;
+ (void (^_Nonnull)(NSString* _Nullable,
+ NSError* _Nullable))completion;
/// Applies out of band code.
/// This method will not work for out of band codes which require an additional
/// parameter, such as password reset code.
@@ -3993,8 +3993,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// \param completion Optionally; a block which is invoked when the request
/// finishes. Invoked asynchronously on the main thread in the future.
///
-- (void)applyActionCode:(NSString *_Nonnull)code
- completion:(void (^_Nonnull)(NSError *_Nullable))completion;
+- (void)applyActionCode:(NSString* _Nonnull)code
+ completion:(void (^_Nonnull)(NSError* _Nullable))completion;
/// Initiates a password reset for the given email address.
/// This method does not throw an
/// error when there’s no user account with the given email address and ActionCodeSettings object. This method does not throw an error
/// when there’s no user account with the given email address and
@@ -4094,7 +4094,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// error encountered.
///
///
-- (BOOL)signOut:(NSError *_Nullable *_Nullable)error;
+- (BOOL)signOut:(NSError* _Nullable* _Nullable)error;
/// Checks if link is an email sign-in link.
/// \param link The email sign-in link.
///
@@ -4102,12 +4102,12 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// returns:
/// true
when the link passed matches the expected format of an
/// email sign-in link.
-- (BOOL)isSignInWithEmailLink:(NSString *_Nonnull)link SWIFT_WARN_UNUSED_RESULT;
+- (BOOL)isSignInWithEmailLink:(NSString* _Nonnull)link SWIFT_WARN_UNUSED_RESULT;
/// Initializes reCAPTCHA using the settings configured for the project or
/// tenant. If you change the tenant ID of the Auth
instance, the
/// configuration will be reloaded.
- (void)initializeRecaptchaConfigWithCompletion:
- (void (^_Nullable)(NSError *_Nullable))completion;
+ (void (^_Nullable)(NSError* _Nullable))completion;
/// Registers a block as an “auth state did change” listener.
/// To be invoked when:
///
@@ -4135,7 +4135,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// returns:
/// A handle useful for manually unregistering the block as a listener.
- (id _Nonnull)addAuthStateDidChangeListener:
- (void (^_Nonnull)(FIRAuth *_Nonnull, FIRUser *_Nullable))listener
+ (void (^_Nonnull)(FIRAuth* _Nonnull, FIRUser* _Nullable))listener
SWIFT_WARN_UNUSED_RESULT;
/// Unregisters a block as an “auth state did change” listener.
/// \param listenerHandle The handle for the listener.
@@ -4171,7 +4171,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// returns:
/// A handle useful for manually unregistering the block as a listener.
- (id _Nonnull)addIDTokenDidChangeListener:
- (void (^_Nonnull)(FIRAuth *_Nonnull, FIRUser *_Nullable))listener
+ (void (^_Nonnull)(FIRAuth* _Nonnull, FIRUser* _Nullable))listener
SWIFT_WARN_UNUSED_RESULT;
/// Unregisters a block as an “ID token did change” listener.
/// \param listenerHandle The handle for the listener.
@@ -4181,7 +4181,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
- (void)useAppLanguage;
/// Configures Firebase Auth to connect to an emulated host instead of the
/// remote backend.
-- (void)useEmulatorWithHost:(NSString *_Nonnull)host port:(NSInteger)port;
+- (void)useEmulatorWithHost:(NSString* _Nonnull)host port:(NSInteger)port;
/// Revoke the users token with authorization code.
/// \param authorizationCode The authorization code used to perform the
/// revocation.
@@ -4190,21 +4190,21 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// the token is complete, or fails. Invoked asynchronously on the main thread
/// in the future.
///
-- (void)revokeTokenWithAuthorizationCode:(NSString *_Nonnull)authorizationCode
- completion:(void (^_Nullable)(NSError *_Nullable))
+- (void)revokeTokenWithAuthorizationCode:(NSString* _Nonnull)authorizationCode
+ completion:(void (^_Nullable)(NSError* _Nullable))
completion;
/// Switch userAccessGroup and current user to the given accessGroup and the
/// user stored in it.
-- (BOOL)useUserAccessGroup:(NSString *_Nullable)accessGroup
- error:(NSError *_Nullable *_Nullable)error;
+- (BOOL)useUserAccessGroup:(NSString* _Nullable)accessGroup
+ error:(NSError* _Nullable* _Nullable)error;
/// Get the stored user in the given accessGroup.
/// This API is not supported on tvOS when
/// shareAuthStateAcrossDevices
is set to true
. and
/// will return nil
. Please refer to
/// https://github.com/firebase/firebase-ios-sdk/issues/8878 for details.
-- (FIRUser *_Nullable)
- getStoredUserForAccessGroup:(NSString *_Nullable)accessGroup
- error:(NSError *_Nullable *_Nullable)outError
+- (FIRUser* _Nullable)
+ getStoredUserForAccessGroup:(NSString* _Nullable)accessGroup
+ error:(NSError* _Nullable* _Nullable)outError
SWIFT_WARN_UNUSED_RESULT;
/// The APNs token used for phone number authentication.
/// The type of the token (production or sandbox) will be automatically
@@ -4213,13 +4213,13 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// If swizzling is disabled, the APNs Token must be set for phone number auth
/// to work, by either setting this property or by calling
/// setAPNSToken(_:type:)
.
-@property(nonatomic, readonly, copy) NSData *_Nullable APNSToken;
+@property(nonatomic, readonly, copy) NSData* _Nullable APNSToken;
/// Sets the APNs token along with its type.
/// This method is available on iOS only.
/// If swizzling is disabled, the APNs Token must be set for phone number auth
/// to work, by either setting calling this method or by setting the
/// APNSToken
property.
-- (void)setAPNSToken:(NSData *_Nonnull)token
+- (void)setAPNSToken:(NSData* _Nonnull)token
type:(enum FIRAuthAPNSTokenType)type;
/// Whether the specific remote notification is handled by Auth
.
/// This method is available on iOS only.
@@ -4235,7 +4235,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// notification from further processing, and false
means the
/// notification is for the app (or another library) so the caller should
/// continue handling this notification as usual.
-- (BOOL)canHandleNotification:(NSDictionary *_Nonnull)userInfo
+- (BOOL)canHandleNotification:(NSDictionary* _Nonnull)userInfo
SWIFT_WARN_UNUSED_RESULT;
/// Whether the specific URL is handled by Auth
.
/// This method is available on iOS only.
@@ -4250,7 +4250,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// Firebase Auth so the caller should ignore the URL from further processing,
/// and false
means the the URL is for the app (or another library)
/// so the caller should continue handling this URL as usual.
-- (BOOL)canHandleURL:(NSURL *_Nonnull)url SWIFT_WARN_UNUSED_RESULT;
+- (BOOL)canHandleURL:(NSURL* _Nonnull)url SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@@ -4260,8 +4260,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
SWIFT_AVAILABILITY(ios, introduced = 13.0)
@interface FIRAuth (SWIFT_EXTENSION (FirebaseAuth))
-- (void)scene:(UIScene *_Nonnull)scene
- openURLContexts:(NSSet *_Nonnull)URLContexts;
+- (void)scene:(UIScene* _Nonnull)scene
+ openURLContexts:(NSSet* _Nonnull)URLContexts;
@end
SWIFT_AVAILABILITY(watchos, introduced = 7)
@@ -4275,30 +4275,30 @@ SWIFT_AVAILABILITY(maccatalyst, introduced = 13)
/// has expired. This method is not for public use. It is for Firebase clients
/// of AuthInterop.
- (void)getTokenForcingRefresh:(BOOL)forceRefresh
- withCallback:(void (^_Nonnull)(NSString *_Nullable,
- NSError *_Nullable))callback;
+ withCallback:(void (^_Nonnull)(NSString* _Nullable,
+ NSError* _Nullable))callback;
/// Get the current Auth user’s UID. Returns nil if there is no user signed in.
/// This method is not for public use. It is for Firebase clients of
/// AuthInterop.
-- (NSString *_Nullable)getUserID SWIFT_WARN_UNUSED_RESULT;
+- (NSString* _Nullable)getUserID SWIFT_WARN_UNUSED_RESULT;
@end
@class UIApplication;
SWIFT_AVAILABILITY(ios, introduced = 13.0)
@interface FIRAuth (SWIFT_EXTENSION (FirebaseAuth))
-- (void)application:(UIApplication *_Nonnull)application
+- (void)application:(UIApplication* _Nonnull)application
didRegisterForRemoteNotificationsWithDeviceToken:
- (NSData *_Nonnull)deviceToken;
-- (void)application:(UIApplication *_Nonnull)application
- didFailToRegisterForRemoteNotificationsWithError:(NSError *_Nonnull)error;
-- (void)application:(UIApplication *_Nonnull)application
- didReceiveRemoteNotification:(NSDictionary *_Nonnull)userInfo
+ (NSData* _Nonnull)deviceToken;
+- (void)application:(UIApplication* _Nonnull)application
+ didFailToRegisterForRemoteNotificationsWithError:(NSError* _Nonnull)error;
+- (void)application:(UIApplication* _Nonnull)application
+ didReceiveRemoteNotification:(NSDictionary* _Nonnull)userInfo
fetchCompletionHandler:
(void (^_Nonnull)(UIBackgroundFetchResult))completionHandler;
-- (BOOL)application:(UIApplication *_Nonnull)application
- openURL:(NSURL *_Nonnull)url
- options:(NSDictionary *_Nonnull)
+- (BOOL)application:(UIApplication* _Nonnull)application
+ openURL:(NSURL* _Nonnull)url
+ options:(NSDictionary* _Nonnull)
options SWIFT_WARN_UNUSED_RESULT;
@end
@@ -4325,7 +4325,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
SWIFT_AVAILABILITY(ios, introduced = 13)
@interface FIRAuthCredential : NSObject
/// The name of the identity provider for the credential.
-@property(nonatomic, readonly, copy) NSString *_Nonnull provider;
+@property(nonatomic, readonly, copy) NSString* _Nonnull provider;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@@ -4343,21 +4343,21 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
SWIFT_AVAILABILITY(ios, introduced = 13)
@interface FIRAuthDataResult : NSObject
/// The signed in user.
-@property(nonatomic, readonly, strong) FIRUser *_Nonnull user;
+@property(nonatomic, readonly, strong) FIRUser* _Nonnull user;
/// If available, contains the additional IdP specific information about signed
/// in user.
@property(nonatomic, readonly, strong)
- FIRAdditionalUserInfo *_Nullable additionalUserInfo;
+ FIRAdditionalUserInfo* _Nullable additionalUserInfo;
/// This property will be non-nil after a successful headful-lite sign-in via
/// signIn(with:uiDelegate:completion:)
.
/// May be used to obtain the accessToken and/or IDToken
/// pertaining to a recently signed-in user.
-@property(nonatomic, readonly, strong) FIROAuthCredential *_Nullable credential;
+@property(nonatomic, readonly, strong) FIROAuthCredential* _Nullable credential;
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly)
BOOL supportsSecureCoding;)
+ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT;
-- (void)encodeWithCoder:(NSCoder *_Nonnull)coder;
-- (nullable instancetype)initWithCoder:(NSCoder *_Nonnull)coder
+- (void)encodeWithCoder:(NSCoder* _Nonnull)coder;
+- (nullable instancetype)initWithCoder:(NSCoder* _Nonnull)coder
OBJC_DESIGNATED_INITIALIZER;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@@ -4621,7 +4621,7 @@ typedef SWIFT_ENUM_NAMED(NSInteger, FIRAuthErrorCode, "AuthErrorCode", open){
/// describing which step of the JWT parsing process failed.
FIRAuthErrorCodeMalformedJWT = 18000,
};
-static NSString *_Nonnull const FIRAuthErrorCodeDomain =
+static NSString* _Nonnull const FIRAuthErrorCodeDomain =
@"FirebaseAuth.AuthErrorCode";
/// Error Codes common to all API Methods:
@@ -4629,12 +4629,12 @@ SWIFT_CLASS_NAMED("AuthErrors")
@interface FIRAuthErrors : NSObject
/// The Firebase Auth error domain.
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
- NSString *_Nonnull domain;)
-+ (NSString *_Nonnull)domain SWIFT_WARN_UNUSED_RESULT;
+ NSString* _Nonnull domain;)
++ (NSString* _Nonnull)domain SWIFT_WARN_UNUSED_RESULT;
/// The name of the key for the error short string of an error code.
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
- NSString *_Nonnull userInfoNameKey;)
-+ (NSString *_Nonnull)userInfoNameKey SWIFT_WARN_UNUSED_RESULT;
+ NSString* _Nonnull userInfoNameKey;)
++ (NSString* _Nonnull)userInfoNameKey SWIFT_WARN_UNUSED_RESULT;
/// Error codes for Email operations
/// Errors with one of the following three codes:
///
@@ -4652,20 +4652,20 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
/// contains this key. The value associated with this key is an NSString of the
/// email address of the account that already exists.
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
- NSString *_Nonnull userInfoEmailKey;)
-+ (NSString *_Nonnull)userInfoEmailKey SWIFT_WARN_UNUSED_RESULT;
+ NSString* _Nonnull userInfoEmailKey;)
++ (NSString* _Nonnull)userInfoEmailKey SWIFT_WARN_UNUSED_RESULT;
/// The key used to read the updated Auth credential from the userInfo
/// dictionary of the NSError object returned. This is the updated auth
/// credential the developer should use for recovery if applicable.
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
- NSString *_Nonnull userInfoUpdatedCredentialKey;)
-+ (NSString *_Nonnull)userInfoUpdatedCredentialKey SWIFT_WARN_UNUSED_RESULT;
+ NSString* _Nonnull userInfoUpdatedCredentialKey;)
++ (NSString* _Nonnull)userInfoUpdatedCredentialKey SWIFT_WARN_UNUSED_RESULT;
/// The key used to read the MFA resolver from the userInfo dictionary of the
/// NSError object returned when 2FA is required for sign-incompletion.
SWIFT_CLASS_PROPERTY(
@property(nonatomic, class, readonly, copy)
- NSString *_Nonnull FIRAuthErrorUserInfoMultiFactorResolverKey;)
-+ (NSString *_Nonnull)
+ NSString* _Nonnull FIRAuthErrorUserInfoMultiFactorResolverKey;)
++ (NSString* _Nonnull)
FIRAuthErrorUserInfoMultiFactorResolverKey SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
@@ -4681,7 +4681,7 @@ SWIFT_CLASS_NAMED("AuthSettings")
@property(nonatomic) BOOL isAppVerificationDisabledForTesting;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
-- (id _Nonnull)copyWithZone:(struct _NSZone *_Nullable)zone
+- (id _Nonnull)copyWithZone:(struct _NSZone* _Nullable)zone
SWIFT_WARN_UNUSED_RESULT;
@end
@@ -4697,30 +4697,30 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
SWIFT_AVAILABILITY(ios, introduced = 13)
@interface FIRAuthTokenResult : NSObject
/// Stores the JWT string of the ID token.
-@property(nonatomic, copy) NSString *_Nonnull token;
+@property(nonatomic, copy) NSString* _Nonnull token;
/// Stores the ID token’s expiration date.
-@property(nonatomic, copy) NSDate *_Nonnull expirationDate;
+@property(nonatomic, copy) NSDate* _Nonnull expirationDate;
/// Stores the ID token’s authentication date.
/// This is the date the user was signed in and NOT the date the token was
/// refreshed.
-@property(nonatomic, copy) NSDate *_Nonnull authDate;
+@property(nonatomic, copy) NSDate* _Nonnull authDate;
/// Stores the date that the ID token was issued.
/// This is the date last refreshed and NOT the last authentication date.
-@property(nonatomic, copy) NSDate *_Nonnull issuedAtDate;
+@property(nonatomic, copy) NSDate* _Nonnull issuedAtDate;
/// Stores sign-in provider through which the token was obtained.
-@property(nonatomic, copy) NSString *_Nonnull signInProvider;
+@property(nonatomic, copy) NSString* _Nonnull signInProvider;
/// Stores sign-in second factor through which the token was obtained.
-@property(nonatomic, copy) NSString *_Nonnull signInSecondFactor;
+@property(nonatomic, copy) NSString* _Nonnull signInSecondFactor;
/// Stores the entire payload of claims found on the ID token.
/// This includes the standard
/// reserved claims as well as custom claims set by the developer via the Admin
/// SDK.
-@property(nonatomic, copy) NSDictionary *_Nonnull claims;
+@property(nonatomic, copy) NSDictionary* _Nonnull claims;
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly)
BOOL supportsSecureCoding;)
+ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT;
-- (void)encodeWithCoder:(NSCoder *_Nonnull)coder;
-- (nullable instancetype)initWithCoder:(NSCoder *_Nonnull)coder;
+- (void)encodeWithCoder:(NSCoder* _Nonnull)coder;
+- (nullable instancetype)initWithCoder:(NSCoder* _Nonnull)coder;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@@ -4751,7 +4751,7 @@ SWIFT_PROTOCOL_NAMED("AuthUIDelegate")
/// This block has no return value and takes no parameters.
///
- (void)presentViewController:
- (UIViewController *_Nonnull)viewControllerToPresent
+ (UIViewController* _Nonnull)viewControllerToPresent
animated:(BOOL)flag
completion:(void (^_Nullable)(void))completion;
/// If implemented, this method will be invoked when Firebase Auth needs to
@@ -4777,8 +4777,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
@interface FIREmailAuthProvider : NSObject
/// A string constant identifying the email & password identity provider.
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
- NSString *_Nonnull id;)
-+ (NSString *_Nonnull)id SWIFT_WARN_UNUSED_RESULT;
+ NSString* _Nonnull id;)
++ (NSString* _Nonnull)id SWIFT_WARN_UNUSED_RESULT;
/// Creates an AuthCredential
for an email & password sign in
/// \param email The user’s email address.
///
@@ -4787,8 +4787,8 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
///
/// returns:
/// An AuthCredential
containing the email & password credential.
-+ (FIRAuthCredential *_Nonnull)credentialWithEmail:(NSString *_Nonnull)email
- password:(NSString *_Nonnull)password
++ (FIRAuthCredential* _Nonnull)credentialWithEmail:(NSString* _Nonnull)email
+ password:(NSString* _Nonnull)password
SWIFT_WARN_UNUSED_RESULT;
/// Creates an AuthCredential
for an email & link sign in.
/// \param email The user’s email address.
@@ -4798,8 +4798,8 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
///
/// returns:
/// An AuthCredential
containing the email & link credential.
-+ (FIRAuthCredential *_Nonnull)credentialWithEmail:(NSString *_Nonnull)email
- link:(NSString *_Nonnull)link
++ (FIRAuthCredential* _Nonnull)credentialWithEmail:(NSString* _Nonnull)email
+ link:(NSString* _Nonnull)link
SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
@@ -4814,16 +4814,16 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
@interface FIRFacebookAuthProvider : NSObject
/// A string constant identifying the Facebook identity provider.
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
- NSString *_Nonnull id;)
-+ (NSString *_Nonnull)id SWIFT_WARN_UNUSED_RESULT;
+ NSString* _Nonnull id;)
++ (NSString* _Nonnull)id SWIFT_WARN_UNUSED_RESULT;
/// Creates an AuthCredential
for a Facebook sign in.
/// \param accessToken The Access Token from Facebook.
///
///
/// returns:
/// An AuthCredential
containing the Facebook credentials.
-+ (FIRAuthCredential *_Nonnull)credentialWithAccessToken:
- (NSString *_Nonnull)accessToken SWIFT_WARN_UNUSED_RESULT;
++ (FIRAuthCredential* _Nonnull)credentialWithAccessToken:
+ (NSString* _Nonnull)accessToken SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER SWIFT_UNAVAILABLE;
@end
@@ -4846,8 +4846,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
///
- (void)getCredentialWithUIDelegate:(id _Nullable)uiDelegate
completion:(void (^_Nonnull)(
- FIRAuthCredential *_Nullable,
- NSError *_Nullable))completionHandler
+ FIRAuthCredential* _Nullable,
+ NSError* _Nullable))completionHandler
SWIFT_AVAILABILITY(watchos, introduced = 8)
SWIFT_AVAILABILITY(macos, introduced = 10.15)
SWIFT_AVAILABILITY(tvos, introduced = 13)
@@ -4865,12 +4865,12 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
@interface FIRGameCenterAuthProvider : NSObject
/// A string constant identifying the Game Center identity provider.
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
- NSString *_Nonnull id;)
-+ (NSString *_Nonnull)id SWIFT_WARN_UNUSED_RESULT;
+ NSString* _Nonnull id;)
++ (NSString* _Nonnull)id SWIFT_WARN_UNUSED_RESULT;
/// Creates an AuthCredential
for a Game Center sign in.
+ (void)getCredentialWithCompletion:
- (void (^_Nonnull)(FIRAuthCredential *_Nullable,
- NSError *_Nullable))completion;
+ (void (^_Nonnull)(FIRAuthCredential* _Nullable,
+ NSError* _Nullable))completion;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER SWIFT_UNAVAILABLE;
@end
@@ -4884,15 +4884,15 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
@interface FIRGitHubAuthProvider : NSObject
/// A string constant identifying the GitHub identity provider.
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
- NSString *_Nonnull id;)
-+ (NSString *_Nonnull)id SWIFT_WARN_UNUSED_RESULT;
+ NSString* _Nonnull id;)
++ (NSString* _Nonnull)id SWIFT_WARN_UNUSED_RESULT;
/// Creates an AuthCredential
for a GitHub sign in.
/// \param token The GitHub OAuth access token.
///
///
/// returns:
/// An AuthCredential containing the GitHub credentials.
-+ (FIRAuthCredential *_Nonnull)credentialWithToken:(NSString *_Nonnull)token
++ (FIRAuthCredential* _Nonnull)credentialWithToken:(NSString* _Nonnull)token
SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER SWIFT_UNAVAILABLE;
@end
@@ -4907,8 +4907,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
@interface FIRGoogleAuthProvider : NSObject
/// A string constant identifying the Google identity provider.
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
- NSString *_Nonnull id;)
-+ (NSString *_Nonnull)id SWIFT_WARN_UNUSED_RESULT;
+ NSString* _Nonnull id;)
++ (NSString* _Nonnull)id SWIFT_WARN_UNUSED_RESULT;
/// Creates an AuthCredential
for a Google sign in.
/// \param idToken The ID Token from Google.
///
@@ -4917,9 +4917,9 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
///
/// returns:
/// An AuthCredential containing the Google credentials.
-+ (FIRAuthCredential *_Nonnull)credentialWithIDToken:(NSString *_Nonnull)idToken
++ (FIRAuthCredential* _Nonnull)credentialWithIDToken:(NSString* _Nonnull)idToken
accessToken:
- (NSString *_Nonnull)accessToken
+ (NSString* _Nonnull)accessToken
SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER SWIFT_UNAVAILABLE;
@end
@@ -4938,15 +4938,15 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
SWIFT_AVAILABILITY(ios, introduced = 13)
@interface FIRMultiFactor : NSObject
@property(nonatomic, copy)
- NSArray *_Nonnull enrolledFactors;
+ NSArray* _Nonnull enrolledFactors;
/// Get a session for a second factor enrollment operation.
/// This is used to identify the current user trying to enroll a second factor.
/// \param completion A block with the session identifier for a second factor
/// enrollment operation.
///
- (void)getSessionWithCompletion:
- (void (^_Nullable)(FIRMultiFactorSession *_Nullable,
- NSError *_Nullable))completion;
+ (void (^_Nullable)(FIRMultiFactorSession* _Nullable,
+ NSError* _Nullable))completion;
/// Enrolls a second factor as identified by the
/// MultiFactorAssertion
parameter for the current user.
/// \param assertion The MultiFactorAssertion
.
@@ -4956,17 +4956,17 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
///
/// \param completion The block invoked when the request is complete, or fails.
///
-- (void)enrollWithAssertion:(FIRMultiFactorAssertion *_Nonnull)assertion
- displayName:(NSString *_Nullable)displayName
- completion:(void (^_Nullable)(NSError *_Nullable))completion;
+- (void)enrollWithAssertion:(FIRMultiFactorAssertion* _Nonnull)assertion
+ displayName:(NSString* _Nullable)displayName
+ completion:(void (^_Nullable)(NSError* _Nullable))completion;
/// Unenroll the given multi factor.
/// \param factorInfo The second factor instance to unenroll.
///
/// \param completion The block invoked when the request to send the
/// verification email is complete, or fails.
///
-- (void)unenrollWithInfo:(FIRMultiFactorInfo *_Nonnull)factorInfo
- completion:(void (^_Nullable)(NSError *_Nullable))completion;
+- (void)unenrollWithInfo:(FIRMultiFactorInfo* _Nonnull)factorInfo
+ completion:(void (^_Nullable)(NSError* _Nullable))completion;
/// Unenroll the given multi factor.
/// \param factorUID The unique identifier corresponding to the
/// second factor being unenrolled.
@@ -4974,15 +4974,15 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// \param completion The block invoked when the request to send the
/// verification email is complete, or fails.
///
-- (void)unenrollWithFactorUID:(NSString *_Nonnull)factorUID
- completion:(void (^_Nullable)(NSError *_Nullable))completion;
+- (void)unenrollWithFactorUID:(NSString* _Nonnull)factorUID
+ completion:(void (^_Nullable)(NSError* _Nullable))completion;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly)
BOOL supportsSecureCoding;)
+ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT;
-- (void)encodeWithCoder:(NSCoder *_Nonnull)coder;
-- (nullable instancetype)initWithCoder:(NSCoder *_Nonnull)coder
+- (void)encodeWithCoder:(NSCoder* _Nonnull)coder;
+- (nullable instancetype)initWithCoder:(NSCoder* _Nonnull)coder
OBJC_DESIGNATED_INITIALIZER;
@end
@@ -5000,7 +5000,7 @@ SWIFT_CLASS_NAMED("MultiFactorAssertion")
@interface FIRMultiFactorAssertion : NSObject
/// The second factor identifier for this opaque object asserting a second
/// factor.
-@property(nonatomic, copy) NSString *_Nonnull factorID;
+@property(nonatomic, copy) NSString* _Nonnull factorID;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@@ -5010,18 +5010,18 @@ SWIFT_CLASS_NAMED("MultiFactorAssertion")
SWIFT_CLASS_NAMED("MultiFactorInfo")
@interface FIRMultiFactorInfo : NSObject
/// The multi-factor enrollment ID.
-@property(nonatomic, readonly, copy) NSString *_Nonnull UID;
+@property(nonatomic, readonly, copy) NSString* _Nonnull UID;
/// The user friendly name of the current second factor.
-@property(nonatomic, readonly, copy) NSString *_Nullable displayName;
+@property(nonatomic, readonly, copy) NSString* _Nullable displayName;
/// The second factor enrollment date.
-@property(nonatomic, readonly, copy) NSDate *_Nonnull enrollmentDate;
+@property(nonatomic, readonly, copy) NSDate* _Nonnull enrollmentDate;
/// The identifier of the second factor.
-@property(nonatomic, readonly, copy) NSString *_Nonnull factorID;
+@property(nonatomic, readonly, copy) NSString* _Nonnull factorID;
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly)
BOOL supportsSecureCoding;)
+ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT;
-- (void)encodeWithCoder:(NSCoder *_Nonnull)coder;
-- (nullable instancetype)initWithCoder:(NSCoder *_Nonnull)coder
+- (void)encodeWithCoder:(NSCoder* _Nonnull)coder;
+- (nullable instancetype)initWithCoder:(NSCoder* _Nonnull)coder
OBJC_DESIGNATED_INITIALIZER;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@@ -5041,13 +5041,13 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
SWIFT_AVAILABILITY(ios, introduced = 13)
@interface FIRMultiFactorResolver : NSObject
/// The opaque session identifier for the current sign-in flow.
-@property(nonatomic, readonly, strong) FIRMultiFactorSession *_Nonnull session;
+@property(nonatomic, readonly, strong) FIRMultiFactorSession* _Nonnull session;
/// The list of hints for the second factors needed to complete the sign-in for
/// the current session.
@property(nonatomic, readonly, copy)
- NSArray *_Nonnull hints;
+ NSArray* _Nonnull hints;
/// The Auth reference for the current MultiResolver
.
-@property(nonatomic, readonly, strong) FIRAuth *_Nonnull auth;
+@property(nonatomic, readonly, strong) FIRAuth* _Nonnull auth;
/// A helper function to help users complete sign in with a second factor using
/// a
/// \param assertion The assertion confirming the user successfully
@@ -5055,10 +5055,10 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
///
/// \param completion The block invoked when the request is complete, or fails.
///
-- (void)resolveSignInWithAssertion:(FIRMultiFactorAssertion *_Nonnull)assertion
+- (void)resolveSignInWithAssertion:(FIRMultiFactorAssertion* _Nonnull)assertion
completion:
- (void (^_Nullable)(FIRAuthDataResult *_Nullable,
- NSError *_Nullable))completion;
+ (void (^_Nullable)(FIRAuthDataResult* _Nullable,
+ NSError* _Nullable))completion;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@@ -5091,19 +5091,19 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
@interface FIROAuthCredential
: FIRAuthCredential
/// The ID Token associated with this credential.
-@property(nonatomic, readonly, copy) NSString *_Nullable IDToken;
+@property(nonatomic, readonly, copy) NSString* _Nullable IDToken;
/// The access token associated with this credential.
-@property(nonatomic, readonly, copy) NSString *_Nullable accessToken;
+@property(nonatomic, readonly, copy) NSString* _Nullable accessToken;
/// The secret associated with this credential. This will be nil for OAuth 2.0
/// providers. OAuthCredential already exposes a provider
getter.
/// This will help the developer determine whether an access token / secret pair
/// is needed.
-@property(nonatomic, readonly, copy) NSString *_Nullable secret;
+@property(nonatomic, readonly, copy) NSString* _Nullable secret;
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly)
BOOL supportsSecureCoding;)
+ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT;
-- (void)encodeWithCoder:(NSCoder *_Nonnull)coder;
-- (nullable instancetype)initWithCoder:(NSCoder *_Nonnull)coder
+- (void)encodeWithCoder:(NSCoder* _Nonnull)coder;
+- (nullable instancetype)initWithCoder:(NSCoder* _Nonnull)coder
OBJC_DESIGNATED_INITIALIZER;
@end
@@ -5119,16 +5119,16 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
@interface FIROAuthProvider
: NSObject
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
- NSString *_Nonnull id;)
-+ (NSString *_Nonnull)id SWIFT_WARN_UNUSED_RESULT;
+ NSString* _Nonnull id;)
++ (NSString* _Nonnull)id SWIFT_WARN_UNUSED_RESULT;
/// Array used to configure the OAuth scopes.
-@property(nonatomic, copy) NSArray *_Nullable scopes;
+@property(nonatomic, copy) NSArray* _Nullable scopes;
/// Dictionary used to configure the OAuth custom parameters.
@property(nonatomic, copy)
- NSDictionary *_Nullable customParameters;
+ NSDictionary* _Nullable customParameters;
/// The provider ID indicating the specific OAuth provider this OAuthProvider
/// instance represents.
-@property(nonatomic, readonly, copy) NSString *_Nonnull providerID;
+@property(nonatomic, readonly, copy) NSString* _Nonnull providerID;
/// An instance of OAuthProvider corresponding to the given provider ID.
/// \param providerID The provider ID of the IDP for which this auth provider
/// instance will be configured.
@@ -5136,8 +5136,8 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
///
/// returns:
/// An instance of OAuthProvider corresponding to the specified provider ID.
-+ (FIROAuthProvider *_Nonnull)providerWithProviderID:
- (NSString *_Nonnull)providerID SWIFT_WARN_UNUSED_RESULT;
++ (FIROAuthProvider* _Nonnull)providerWithProviderID:
+ (NSString* _Nonnull)providerID SWIFT_WARN_UNUSED_RESULT;
/// An instance of OAuthProvider corresponding to the given provider ID and auth
/// instance.
/// \param providerID The provider ID of the IDP for which this auth provider
@@ -5149,9 +5149,9 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
///
/// returns:
/// An instance of OAuthProvider corresponding to the specified provider ID.
-+ (FIROAuthProvider *_Nonnull)providerWithProviderID:
- (NSString *_Nonnull)providerID
- auth:(FIRAuth *_Nonnull)auth
++ (FIROAuthProvider* _Nonnull)providerWithProviderID:
+ (NSString* _Nonnull)providerID
+ auth:(FIRAuth* _Nonnull)auth
SWIFT_WARN_UNUSED_RESULT;
/// Creates an AuthCredential
for the OAuth 2 provider identified
/// by provider ID, ID token, and access token.
@@ -5167,10 +5167,10 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
///
/// returns:
/// An AuthCredential for the specified provider ID, ID token and access token.
-+ (FIROAuthCredential *_Nonnull)
- credentialWithProviderID:(NSString *_Nonnull)providerID
- IDToken:(NSString *_Nonnull)idToken
- accessToken:(NSString *_Nullable)accessToken
++ (FIROAuthCredential* _Nonnull)
+ credentialWithProviderID:(NSString* _Nonnull)providerID
+ IDToken:(NSString* _Nonnull)idToken
+ accessToken:(NSString* _Nullable)accessToken
SWIFT_WARN_UNUSED_RESULT;
/// Creates an AuthCredential
for the OAuth 2 provider identified
/// by provider ID, ID token, and access token.
@@ -5183,9 +5183,9 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
///
/// returns:
/// An AuthCredential for the specified provider ID, ID token and access token.
-+ (FIROAuthCredential *_Nonnull)
- credentialWithProviderID:(NSString *_Nonnull)providerID
- accessToken:(NSString *_Nonnull)accessToken
++ (FIROAuthCredential* _Nonnull)
+ credentialWithProviderID:(NSString* _Nonnull)providerID
+ accessToken:(NSString* _Nonnull)accessToken
SWIFT_WARN_UNUSED_RESULT;
/// Creates an AuthCredential
for that OAuth 2 provider identified
/// by provider ID, ID token, raw nonce, and access token.
@@ -5204,11 +5204,11 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
///
/// returns:
/// An AuthCredential for the specified provider ID, ID token and access token.
-+ (FIROAuthCredential *_Nonnull)
- credentialWithProviderID:(NSString *_Nonnull)providerID
- IDToken:(NSString *_Nonnull)idToken
- rawNonce:(NSString *_Nonnull)rawNonce
- accessToken:(NSString *_Nonnull)accessToken
++ (FIROAuthCredential* _Nonnull)
+ credentialWithProviderID:(NSString* _Nonnull)providerID
+ IDToken:(NSString* _Nonnull)idToken
+ rawNonce:(NSString* _Nonnull)rawNonce
+ accessToken:(NSString* _Nonnull)accessToken
SWIFT_WARN_UNUSED_RESULT;
/// Creates an AuthCredential
for that OAuth 2 provider identified
/// by providerID using an ID token and raw nonce.
@@ -5224,10 +5224,10 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
///
/// returns:
/// An AuthCredential.
-+ (FIROAuthCredential *_Nonnull)
- credentialWithProviderID:(NSString *_Nonnull)providerID
- IDToken:(NSString *_Nonnull)idToken
- rawNonce:(NSString *_Nonnull)rawNonce
++ (FIROAuthCredential* _Nonnull)
+ credentialWithProviderID:(NSString* _Nonnull)providerID
+ IDToken:(NSString* _Nonnull)idToken
+ rawNonce:(NSString* _Nonnull)rawNonce
SWIFT_WARN_UNUSED_RESULT;
/// Used to obtain an auth credential via a mobile web flow.
/// This method is available on iOS only.
@@ -5240,8 +5240,8 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
///
- (void)getCredentialWithUIDelegate:(id _Nullable)uiDelegate
completion:(void (^_Nonnull)(
- FIRAuthCredential *_Nullable,
- NSError *_Nullable))completionHandler
+ FIRAuthCredential* _Nullable,
+ NSError* _Nullable))completionHandler
SWIFT_AVAILABILITY(watchos, introduced = 8)
SWIFT_AVAILABILITY(macos, introduced = 10.15)
SWIFT_AVAILABILITY(tvos, introduced = 13)
@@ -5262,10 +5262,10 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
///
/// returns:
/// An AuthCredential.
-+ (FIROAuthCredential *_Nonnull)
- appleCredentialWithIDToken:(NSString *_Nonnull)idToken
- rawNonce:(NSString *_Nullable)rawNonce
- fullName:(NSPersonNameComponents *_Nullable)fullName
++ (FIROAuthCredential* _Nonnull)
+ appleCredentialWithIDToken:(NSString* _Nonnull)idToken
+ rawNonce:(NSString* _Nullable)rawNonce
+ fullName:(NSPersonNameComponents* _Nullable)fullName
SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@@ -5284,8 +5284,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly)
BOOL supportsSecureCoding;)
+ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT;
-- (void)encodeWithCoder:(NSCoder *_Nonnull)coder;
-- (nullable instancetype)initWithCoder:(NSCoder *_Nonnull)coder
+- (void)encodeWithCoder:(NSCoder* _Nonnull)coder;
+- (nullable instancetype)initWithCoder:(NSCoder* _Nonnull)coder
OBJC_DESIGNATED_INITIALIZER;
@end
@@ -5302,17 +5302,17 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
@interface FIRPhoneAuthProvider : NSObject
/// A string constant identifying the phone identity provider.
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
- NSString *_Nonnull id;)
-+ (NSString *_Nonnull)id SWIFT_WARN_UNUSED_RESULT;
+ NSString* _Nonnull id;)
++ (NSString* _Nonnull)id SWIFT_WARN_UNUSED_RESULT;
/// Returns an instance of PhoneAuthProvider
for the default
/// Auth
object.
-+ (FIRPhoneAuthProvider *_Nonnull)provider SWIFT_WARN_UNUSED_RESULT;
++ (FIRPhoneAuthProvider* _Nonnull)provider SWIFT_WARN_UNUSED_RESULT;
/// Returns an instance of PhoneAuthProvider
for the provided
/// Auth
object.
/// \param auth The auth object to associate with the phone auth provider
/// instance.
///
-+ (FIRPhoneAuthProvider *_Nonnull)providerWithAuth:(FIRAuth *_Nonnull)auth
++ (FIRPhoneAuthProvider* _Nonnull)providerWithAuth:(FIRAuth* _Nonnull)auth
SWIFT_WARN_UNUSED_RESULT;
/// Starts the phone number authentication flow by sending a verification code
/// to the specified phone number. Possible error codes:
@@ -5341,10 +5341,10 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
/// \param completion The callback to be invoked when the verification flow is
/// finished.
///
-- (void)verifyPhoneNumber:(NSString *_Nonnull)phoneNumber
+- (void)verifyPhoneNumber:(NSString* _Nonnull)phoneNumber
UIDelegate:(id _Nullable)uiDelegate
- completion:(void (^_Nullable)(NSString *_Nullable,
- NSError *_Nullable))completion;
+ completion:(void (^_Nullable)(NSString* _Nullable,
+ NSError* _Nullable))completion;
/// Verify ownership of the second factor phone number by the current user.
/// \param phoneNumber The phone number to be verified.
///
@@ -5358,11 +5358,11 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
/// \param completion The callback to be invoked when the verification flow is
/// finished.
///
-- (void)verifyPhoneNumber:(NSString *_Nonnull)phoneNumber
+- (void)verifyPhoneNumber:(NSString* _Nonnull)phoneNumber
UIDelegate:(id _Nullable)uiDelegate
- multiFactorSession:(FIRMultiFactorSession *_Nullable)multiFactorSession
- completion:(void (^_Nullable)(NSString *_Nullable,
- NSError *_Nullable))completion;
+ multiFactorSession:(FIRMultiFactorSession* _Nullable)multiFactorSession
+ completion:(void (^_Nullable)(NSString* _Nullable,
+ NSError* _Nullable))completion;
/// Verify ownership of the second factor phone number by the current user.
/// \param multiFactorInfo The phone multi factor whose number need to be
/// verified.
@@ -5379,13 +5379,13 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
///
- (void)
verifyPhoneNumberWithMultiFactorInfo:
- (FIRPhoneMultiFactorInfo *_Nonnull)multiFactorInfo
+ (FIRPhoneMultiFactorInfo* _Nonnull)multiFactorInfo
UIDelegate:
(id _Nullable)uiDelegate
multiFactorSession:
- (FIRMultiFactorSession *_Nullable)multiFactorSession
- completion:(void (^_Nullable)(NSString *_Nullable,
- NSError *_Nullable))
+ (FIRMultiFactorSession* _Nullable)multiFactorSession
+ completion:(void (^_Nullable)(NSString* _Nullable,
+ NSError* _Nullable))
completion;
/// Creates an AuthCredential
for the phone number provider
/// identified by the verification ID and verification code.
@@ -5398,9 +5398,9 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
/// returns:
/// The corresponding phone auth credential for the verification ID and
/// verification code provided.
-- (FIRPhoneAuthCredential *_Nonnull)
- credentialWithVerificationID:(NSString *_Nonnull)verificationID
- verificationCode:(NSString *_Nonnull)verificationCode
+- (FIRPhoneAuthCredential* _Nonnull)
+ credentialWithVerificationID:(NSString* _Nonnull)verificationID
+ verificationCode:(NSString* _Nonnull)verificationCode
SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@@ -5435,8 +5435,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// \param phoneAuthCredential The phone auth credential used for multi factor
/// flows.
///
-+ (FIRPhoneMultiFactorAssertion *_Nonnull)assertionWithCredential:
- (FIRPhoneAuthCredential *_Nonnull)phoneAuthCredential
++ (FIRPhoneMultiFactorAssertion* _Nonnull)assertionWithCredential:
+ (FIRPhoneAuthCredential* _Nonnull)phoneAuthCredential
SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
@@ -5448,20 +5448,20 @@ SWIFT_CLASS_NAMED("PhoneMultiFactorInfo")
@interface FIRPhoneMultiFactorInfo : FIRMultiFactorInfo
/// The string identifier for using phone as a second factor.
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
- NSString *_Nonnull FIRPhoneMultiFactorID;)
-+ (NSString *_Nonnull)FIRPhoneMultiFactorID SWIFT_WARN_UNUSED_RESULT;
+ NSString* _Nonnull FIRPhoneMultiFactorID;)
++ (NSString* _Nonnull)FIRPhoneMultiFactorID SWIFT_WARN_UNUSED_RESULT;
/// The string identifier for using TOTP as a second factor.
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
- NSString *_Nonnull FIRTOTPMultiFactorID;)
-+ (NSString *_Nonnull)FIRTOTPMultiFactorID SWIFT_WARN_UNUSED_RESULT;
+ NSString* _Nonnull FIRTOTPMultiFactorID;)
++ (NSString* _Nonnull)FIRTOTPMultiFactorID SWIFT_WARN_UNUSED_RESULT;
/// This is the phone number associated with the current second factor.
-@property(nonatomic, copy) NSString *_Nonnull phoneNumber;
+@property(nonatomic, copy) NSString* _Nonnull phoneNumber;
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly)
BOOL supportsSecureCoding;)
+ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT;
-- (nullable instancetype)initWithCoder:(NSCoder *_Nonnull)coder
+- (nullable instancetype)initWithCoder:(NSCoder* _Nonnull)coder
OBJC_DESIGNATED_INITIALIZER;
-- (void)encodeWithCoder:(NSCoder *_Nonnull)coder;
+- (void)encodeWithCoder:(NSCoder* _Nonnull)coder;
@end
/// The subclass of base class MultiFactorAssertion, used to assert ownership of
@@ -5492,10 +5492,10 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// \param completion Completion block
///
+ (void)generateSecretWithMultiFactorSession:
- (FIRMultiFactorSession *_Nonnull)session
+ (FIRMultiFactorSession* _Nonnull)session
completion:(void (^_Nonnull)(
- FIRTOTPSecret *_Nullable,
- NSError *_Nullable))completion;
+ FIRTOTPSecret* _Nullable,
+ NSError* _Nullable))completion;
/// Initializes the MFA assertion to confirm ownership of the TOTP second
/// factor. This assertion is used to complete enrollment of TOTP as a second
/// factor.
@@ -5506,9 +5506,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
///
/// returns:
/// The MFA assertion.
-+ (FIRTOTPMultiFactorAssertion *_Nonnull)
- assertionForEnrollmentWithSecret:(FIRTOTPSecret *_Nonnull)secret
- oneTimePassword:(NSString *_Nonnull)oneTimePassword
++ (FIRTOTPMultiFactorAssertion* _Nonnull)
+ assertionForEnrollmentWithSecret:(FIRTOTPSecret* _Nonnull)secret
+ oneTimePassword:(NSString* _Nonnull)oneTimePassword
SWIFT_WARN_UNUSED_RESULT;
/// Initializes the MFA assertion to confirm ownership of the TOTP second
/// factor. This assertion is used to complete signIn with TOTP as a second
@@ -5520,9 +5520,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
///
/// returns:
/// The MFA assertion.
-+ (FIRTOTPMultiFactorAssertion *_Nonnull)
- assertionForSignInWithEnrollmentID:(NSString *_Nonnull)enrollmentID
- oneTimePassword:(NSString *_Nonnull)oneTimePassword
++ (FIRTOTPMultiFactorAssertion* _Nonnull)
+ assertionForSignInWithEnrollmentID:(NSString* _Nonnull)enrollmentID
+ oneTimePassword:(NSString* _Nonnull)oneTimePassword
SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
@@ -5534,7 +5534,7 @@ SWIFT_CLASS_NAMED("TOTPSecret")
@interface FIRTOTPSecret : NSObject
/// Returns the shared secret key/seed used to generate time-based one-time
/// passwords.
-- (NSString *_Nonnull)sharedSecretKey SWIFT_WARN_UNUSED_RESULT;
+- (NSString* _Nonnull)sharedSecretKey SWIFT_WARN_UNUSED_RESULT;
/// Returns a QRCode URL as described in
/// https://github.com/google/google-authenticator/wiki/Key-Uri-Format.
/// This can be displayed to the user as a QRCode to be scanned into a TOTP app
@@ -5546,15 +5546,15 @@ SWIFT_CLASS_NAMED("TOTPSecret")
///
/// returns:
/// A QRCode URL string.
-- (NSString *_Nonnull)
- generateQRCodeURLWithAccountName:(NSString *_Nonnull)accountName
- issuer:(NSString *_Nonnull)issuer
+- (NSString* _Nonnull)
+ generateQRCodeURLWithAccountName:(NSString* _Nonnull)accountName
+ issuer:(NSString* _Nonnull)issuer
SWIFT_WARN_UNUSED_RESULT;
/// Opens the specified QR Code URL in a password manager like iCloud Keychain.
/// See more details
/// here
-- (void)openInOTPAppWithQRCodeURL:(NSString *_Nonnull)qrCodeURL;
+- (void)openInOTPAppWithQRCodeURL:(NSString* _Nonnull)qrCodeURL;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@@ -5569,8 +5569,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
@interface FIRTwitterAuthProvider : NSObject
/// A string constant identifying the Twitter identity provider.
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
- NSString *_Nonnull id;)
-+ (NSString *_Nonnull)id SWIFT_WARN_UNUSED_RESULT;
+ NSString* _Nonnull id;)
++ (NSString* _Nonnull)id SWIFT_WARN_UNUSED_RESULT;
/// Creates an AuthCredential
for a Twitter sign in.
/// \param token The Twitter OAuth token.
///
@@ -5579,8 +5579,8 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
///
/// returns:
/// An AuthCredential containing the Twitter credentials.
-+ (FIRAuthCredential *_Nonnull)credentialWithToken:(NSString *_Nonnull)token
- secret:(NSString *_Nonnull)secret
++ (FIRAuthCredential* _Nonnull)credentialWithToken:(NSString* _Nonnull)token
+ secret:(NSString* _Nonnull)secret
SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER SWIFT_UNAVAILABLE;
@end
@@ -5589,19 +5589,19 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly, copy)
SWIFT_PROTOCOL_NAMED("UserInfo")
@protocol FIRUserInfo
/// The provider identifier.
-@property(nonatomic, readonly, copy) NSString *_Nonnull providerID;
+@property(nonatomic, readonly, copy) NSString* _Nonnull providerID;
/// The provider’s user ID for the user.
-@property(nonatomic, readonly, copy) NSString *_Nonnull uid;
+@property(nonatomic, readonly, copy) NSString* _Nonnull uid;
/// The name of the user.
-@property(nonatomic, readonly, copy) NSString *_Nullable displayName;
+@property(nonatomic, readonly, copy) NSString* _Nullable displayName;
/// The URL of the user’s profile photo.
-@property(nonatomic, readonly, copy) NSURL *_Nullable photoURL;
+@property(nonatomic, readonly, copy) NSURL* _Nullable photoURL;
/// The user’s email address.
-@property(nonatomic, readonly, copy) NSString *_Nullable email;
+@property(nonatomic, readonly, copy) NSString* _Nullable email;
/// A phone number associated with the user.
/// This property is only available for users authenticated via phone number
/// auth.
-@property(nonatomic, readonly, copy) NSString *_Nullable phoneNumber;
+@property(nonatomic, readonly, copy) NSString* _Nullable phoneNumber;
@end
@class FIRUserMetadata;
@@ -5632,14 +5632,14 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// Profile data for each identity provider, if any.
/// This data is cached on sign-in and updated when linking or unlinking.
@property(nonatomic, readonly, copy)
- NSArray> *_Nonnull providerData;
+ NSArray>* _Nonnull providerData;
/// Metadata associated with the Firebase user in question.
-@property(nonatomic, readonly, strong) FIRUserMetadata *_Nonnull metadata;
+@property(nonatomic, readonly, strong) FIRUserMetadata* _Nonnull metadata;
/// The tenant ID of the current user. nil
if none is available.
-@property(nonatomic, readonly, copy) NSString *_Nullable tenantID;
+@property(nonatomic, readonly, copy) NSString* _Nullable tenantID;
/// Multi factor object associated with the user.
/// This property is available on iOS and macOS.
-@property(nonatomic, readonly, strong) FIRMultiFactor *_Nonnull multiFactor;
+@property(nonatomic, readonly, strong) FIRMultiFactor* _Nonnull multiFactor;
/// [Deprecated] Updates the email address for the user.
/// On success, the cached user profile data is updated. Returns an error when
/// UserProfileChangeRequest.commitChanges() to perform the updates
@@ -5747,12 +5747,12 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
///
/// returns:
/// An object which may be used to change the user’s profile data atomically.
-- (FIRUserProfileChangeRequest *_Nonnull)
+- (FIRUserProfileChangeRequest* _Nonnull)
profileChangeRequest SWIFT_WARN_UNUSED_RESULT;
/// A refresh token; useful for obtaining new access tokens independently.
/// This property should only be used for advanced scenarios, and is not
/// typically needed.
-@property(nonatomic, readonly, copy) NSString *_Nullable refreshToken;
+@property(nonatomic, readonly, copy) NSString* _Nullable refreshToken;
/// Reloads the user’s profile data from the server.
/// May fail with an AuthErrorCodeRequiresRecentLogin
error code.
/// In this case you should call reauthenticate(with:)
before
@@ -5760,7 +5760,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// \param completion Optionally; the block invoked when the reload has
/// finished. Invoked asynchronously on the main thread in the future.
///
-- (void)reloadWithCompletion:(void (^_Nullable)(NSError *_Nullable))completion;
+- (void)reloadWithCompletion:(void (^_Nullable)(NSError* _Nullable))completion;
/// Renews the user’s authentication tokens by validating a fresh set of
/// credentials supplied by the user and returns additional identity provider
/// data. If the user associated with the supplied credential is different from
@@ -5812,10 +5812,10 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// operation has finished. Invoked asynchronously on the main thread in the
/// future.
///
-- (void)reauthenticateWithCredential:(FIRAuthCredential *_Nonnull)credential
+- (void)reauthenticateWithCredential:(FIRAuthCredential* _Nonnull)credential
completion:
- (void (^_Nullable)(FIRAuthDataResult *_Nullable,
- NSError *_Nullable))completion;
+ (void (^_Nullable)(FIRAuthDataResult* _Nullable,
+ NSError* _Nullable))completion;
/// Renews the user’s authentication using the provided auth provider instance.
/// This method is available on iOS only.
/// \param provider An instance of an auth provider used to initiate the
@@ -5833,15 +5833,15 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
(id _Nonnull)provider
UIDelegate:(id _Nullable)uiDelegate
completion:
- (void (^_Nullable)(FIRAuthDataResult *_Nullable,
- NSError *_Nullable))completion;
+ (void (^_Nullable)(FIRAuthDataResult* _Nullable,
+ NSError* _Nullable))completion;
/// Retrieves the Firebase authentication token, possibly refreshing it if it
/// has expired.
/// \param completion Optionally; the block invoked when the token is available.
/// Invoked asynchronously on the main thread in the future.
///
- (void)getIDTokenWithCompletion:
- (void (^_Nullable)(NSString *_Nullable, NSError *_Nullable))completion;
+ (void (^_Nullable)(NSString* _Nullable, NSError* _Nullable))completion;
/// Retrieves the Firebase authentication token, possibly refreshing it if it
/// has expired. The authentication token will be refreshed (by making a network
/// request) if it has expired, or if forceRefresh
is
@@ -5854,16 +5854,16 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
///
- (void)getIDTokenForcingRefresh:(BOOL)forceRefresh
completion:
- (void (^_Nullable)(NSString *_Nullable,
- NSError *_Nullable))completion;
+ (void (^_Nullable)(NSString* _Nullable,
+ NSError* _Nullable))completion;
/// Retrieves the Firebase authentication token, possibly refreshing it if it
/// has expired.
/// \param completion Optionally; the block invoked when the token is available.
/// Invoked asynchronously on the main thread in the future.
///
- (void)getIDTokenResultWithCompletion:
- (void (^_Nullable)(FIRAuthTokenResult *_Nullable,
- NSError *_Nullable))completion;
+ (void (^_Nullable)(FIRAuthTokenResult* _Nullable,
+ NSError* _Nullable))completion;
/// Retrieves the Firebase authentication token, possibly refreshing it if it
/// has expired. The authentication token will be refreshed (by making a network
/// request) if it has expired, or if forcingRefresh
is
@@ -5876,8 +5876,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
///
- (void)getIDTokenResultForcingRefresh:(BOOL)forcingRefresh
completion:(void (^_Nullable)(
- FIRAuthTokenResult *_Nullable,
- NSError *_Nullable))completion;
+ FIRAuthTokenResult* _Nullable,
+ NSError* _Nullable))completion;
/// Associates a user account from a third-party identity provider with this
/// user and returns additional identity provider data. Invoked asynchronously
/// on the main thread in the future. Possible error codes:
@@ -5904,9 +5904,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// \param completion Optionally; the block invoked when the unlinking is
/// complete, or fails.
///
-- (void)linkWithCredential:(FIRAuthCredential *_Nonnull)credential
- completion:(void (^_Nullable)(FIRAuthDataResult *_Nullable,
- NSError *_Nullable))completion;
+- (void)linkWithCredential:(FIRAuthCredential* _Nonnull)credential
+ completion:(void (^_Nullable)(FIRAuthDataResult* _Nullable,
+ NSError* _Nullable))completion;
/// Link the user with the provided auth provider instance.
/// This method is available on iOSonly.
/// \param provider An instance of an auth provider used to initiate the link
@@ -5922,8 +5922,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
///
- (void)linkWithProvider:(id _Nonnull)provider
UIDelegate:(id _Nullable)uiDelegate
- completion:(void (^_Nullable)(FIRAuthDataResult *_Nullable,
- NSError *_Nullable))completion;
+ completion:(void (^_Nullable)(FIRAuthDataResult* _Nullable,
+ NSError* _Nullable))completion;
/// Disassociates a user account from a third-party identity provider with this
/// user. Invoked asynchronously on the main thread in the future. Possible
/// error codes:
@@ -5944,9 +5944,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// \param completion Optionally; the block invoked when the unlinking is
/// complete, or fails.
///
-- (void)unlinkFromProvider:(NSString *_Nonnull)provider
- completion:(void (^_Nullable)(FIRUser *_Nullable,
- NSError *_Nullable))completion;
+- (void)unlinkFromProvider:(NSString* _Nonnull)provider
+ completion:(void (^_Nullable)(FIRUser* _Nullable,
+ NSError* _Nullable))completion;
/// Initiates email verification for the user.
/// Possible error codes:
///
@@ -5972,7 +5972,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// thread in the future.
///
- (void)sendEmailVerificationWithCompletion:
- (void (^_Nullable)(NSError *_Nullable))completion;
+ (void (^_Nullable)(NSError* _Nullable))completion;
/// Initiates email verification for the user.
/// Possible error codes:
///
@@ -6001,10 +6001,10 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// thread in the future.
///
- (void)sendEmailVerificationWithActionCodeSettings:
- (FIRActionCodeSettings *_Nullable)actionCodeSettings
+ (FIRActionCodeSettings* _Nullable)actionCodeSettings
completion:
(void (^_Nullable)(
- NSError *_Nullable))completion;
+ NSError* _Nullable))completion;
/// Deletes the user account (also signs out the user, if this was the current
/// user). Possible error codes:
/// -
@@ -6019,7 +6019,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// the account is complete, or fails. Invoked asynchronously on the main thread
/// in the future.
///
-- (void)deleteWithCompletion:(void (^_Nullable)(NSError *_Nullable))completion;
+- (void)deleteWithCompletion:(void (^_Nullable)(NSError* _Nullable))completion;
/// Send an email to verify the ownership of the account then update to the new
/// email.
/// \param email The email to be updated to.
@@ -6027,10 +6027,10 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// \param completion Optionally; the block invoked when the request to send the
/// verification email is complete, or fails.
///
-- (void)sendEmailVerificationBeforeUpdatingEmail:(NSString *_Nonnull)email
+- (void)sendEmailVerificationBeforeUpdatingEmail:(NSString* _Nonnull)email
completion:
(void (^_Nullable)(
- NSError *_Nullable))completion;
+ NSError* _Nullable))completion;
/// Send an email to verify the ownership of the account then update to the new
/// email.
/// \param email The email to be updated to.
@@ -6042,29 +6042,29 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// verification email is complete, or fails.
///
- (void)
- sendEmailVerificationBeforeUpdatingEmail:(NSString *_Nonnull)email
- actionCodeSettings:(FIRActionCodeSettings *_Nullable)
+ sendEmailVerificationBeforeUpdatingEmail:(NSString* _Nonnull)email
+ actionCodeSettings:(FIRActionCodeSettings* _Nullable)
actionCodeSettings
completion:(void (^_Nullable)(
- NSError *_Nullable))completion;
-@property(nonatomic, readonly, copy) NSString *_Nonnull providerID;
+ NSError* _Nullable))completion;
+@property(nonatomic, readonly, copy) NSString* _Nonnull providerID;
/// The provider’s user ID for the user.
-@property(nonatomic, copy) NSString *_Nonnull uid;
+@property(nonatomic, copy) NSString* _Nonnull uid;
/// The name of the user.
-@property(nonatomic, copy) NSString *_Nullable displayName;
+@property(nonatomic, copy) NSString* _Nullable displayName;
/// The URL of the user’s profile photo.
-@property(nonatomic, copy) NSURL *_Nullable photoURL;
+@property(nonatomic, copy) NSURL* _Nullable photoURL;
/// The user’s email address.
-@property(nonatomic, copy) NSString *_Nullable email;
+@property(nonatomic, copy) NSString* _Nullable email;
/// A phone number associated with the user.
/// This property is only available for users authenticated via phone number
/// auth.
-@property(nonatomic, copy) NSString *_Nullable phoneNumber;
+@property(nonatomic, copy) NSString* _Nullable phoneNumber;
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly)
BOOL supportsSecureCoding;)
+ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT;
-- (void)encodeWithCoder:(NSCoder *_Nonnull)coder;
-- (nullable instancetype)initWithCoder:(NSCoder *_Nonnull)coder
+- (void)encodeWithCoder:(NSCoder* _Nonnull)coder;
+- (nullable instancetype)initWithCoder:(NSCoder* _Nonnull)coder
OBJC_DESIGNATED_INITIALIZER;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@@ -6088,14 +6088,14 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
SWIFT_AVAILABILITY(ios, introduced = 13)
@interface FIRUserMetadata : NSObject
/// Stores the last sign in date for the corresponding Firebase user.
-@property(nonatomic, readonly, copy) NSDate *_Nullable lastSignInDate;
+@property(nonatomic, readonly, copy) NSDate* _Nullable lastSignInDate;
/// Stores the creation date for the corresponding Firebase user.
-@property(nonatomic, readonly, copy) NSDate *_Nullable creationDate;
+@property(nonatomic, readonly, copy) NSDate* _Nullable creationDate;
SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly)
BOOL supportsSecureCoding;)
+ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT;
-- (void)encodeWithCoder:(NSCoder *_Nonnull)coder;
-- (nullable instancetype)initWithCoder:(NSCoder *_Nonnull)coder;
+- (void)encodeWithCoder:(NSCoder* _Nonnull)coder;
+- (nullable instancetype)initWithCoder:(NSCoder* _Nonnull)coder;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@@ -6120,9 +6120,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
SWIFT_AVAILABILITY(ios, introduced = 13)
@interface FIRUserProfileChangeRequest : NSObject
/// The name of the user.
-@property(nonatomic, copy) NSString *_Nullable displayName;
+@property(nonatomic, copy) NSString* _Nullable displayName;
/// The URL of the user’s profile photo.
-@property(nonatomic, copy) NSURL *_Nullable photoURL;
+@property(nonatomic, copy) NSURL* _Nullable photoURL;
/// Commits any pending changes.
/// Invoked asynchronously on the main thread in the future.
/// This method should only be called once.Once called, property values should
@@ -6131,7 +6131,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// has been applied.
///
- (void)commitChangesWithCompletion:
- (void (^_Nullable)(NSError *_Nullable))completion;
+ (void (^_Nullable)(NSError* _Nullable))completion;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
diff --git a/ios_pod/swift_headers/FirebaseCoreInternal-Swift.h b/ios_pod/swift_headers/FirebaseCoreInternal-Swift.h
index 2ed7847fc..6782a96e3 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 2025 Google LLC
-// Copied from Firebase iOS SDK 12.2.0.
+// Copied from Firebase iOS SDK 12.4.0.
// Generated by Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10
// clang-1600.0.30.1)
@@ -406,7 +406,7 @@ SWIFT_CLASS_NAMED("_ObjC_HeartbeatsPayload")
#elif defined(__x86_64__) && __x86_64__
// Copyright 2025 Google LLC
-// Copied from Firebase iOS SDK 12.2.0.
+// Copied from Firebase iOS SDK 12.4.0.
// Generated by Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10
// clang-1600.0.30.1)
diff --git a/ios_pod/swift_headers/FirebaseDatabase-Swift.h b/ios_pod/swift_headers/FirebaseDatabase-Swift.h
index a4120790f..66889c4bb 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 2025 Google LLC
-// Copied from Firebase iOS SDK 12.2.0.
+// Copied from Firebase iOS SDK 12.4.0.
// Generated by Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10
// clang-1600.0.30.1)
@@ -342,7 +342,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#elif defined(__x86_64__) && __x86_64__
// Copyright 2025 Google LLC
-// Copied from Firebase iOS SDK 12.2.0.
+// Copied from Firebase iOS SDK 12.4.0.
// Generated by Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10
// clang-1600.0.30.1)
diff --git a/ios_pod/swift_headers/FirebaseFirestore-Swift.h b/ios_pod/swift_headers/FirebaseFirestore-Swift.h
index 6e1749918..f496498a2 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 2025 Google LLC
-// Copied from Firebase iOS SDK 12.2.0.
+// Copied from Firebase iOS SDK 12.4.0.
// Generated by Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10
// clang-1600.0.30.1)
@@ -350,7 +350,7 @@ SWIFT_CLASS_PROPERTY(@property(nonatomic, class, readonly,
#elif defined(__x86_64__) && __x86_64__
// Copyright 2025 Google LLC
-// Copied from Firebase iOS SDK 12.2.0.
+// Copied from Firebase iOS SDK 12.4.0.
// Generated by Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10
// clang-1600.0.30.1)
diff --git a/ios_pod/swift_headers/FirebaseFunctions-Swift.h b/ios_pod/swift_headers/FirebaseFunctions-Swift.h
index 58f582678..c0696e576 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 2025 Google LLC
-// Copied from Firebase iOS SDK 12.2.0.
+// Copied from Firebase iOS SDK 12.4.0.
// Generated by Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10
// clang-1600.0.30.1)
@@ -626,7 +626,7 @@ SWIFT_CLASS_NAMED("HTTPSCallableResult")
#elif defined(__x86_64__) && __x86_64__
// Copyright 2025 Google LLC
-// Copied from Firebase iOS SDK 12.2.0.
+// Copied from Firebase iOS SDK 12.4.0.
// Generated by Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10
// clang-1600.0.30.1)
diff --git a/ios_pod/swift_headers/FirebaseInAppMessaging-Swift.h b/ios_pod/swift_headers/FirebaseInAppMessaging-Swift.h
index 238d362b8..3678fd457 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 2025 Google LLC
-// Copied from Firebase iOS SDK 12.2.0.
+// Copied from Firebase iOS SDK 12.4.0.
// Generated by Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10
// clang-1600.0.30.1)
@@ -341,7 +341,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#elif defined(__x86_64__) && __x86_64__
// Copyright 2025 Google LLC
-// Copied from Firebase iOS SDK 12.2.0.
+// Copied from Firebase iOS SDK 12.4.0.
// Generated by Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10
// clang-1600.0.30.1)
diff --git a/ios_pod/swift_headers/FirebaseMLModelDownloader-Swift.h b/ios_pod/swift_headers/FirebaseMLModelDownloader-Swift.h
index 3dc9b4eab..67ef07f70 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 2025 Google LLC
-// Copied from Firebase iOS SDK 12.2.0.
+// Copied from Firebase iOS SDK 12.4.0.
// Generated by Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10
// clang-1600.0.30.1)
@@ -342,7 +342,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#elif defined(__x86_64__) && __x86_64__
// Copyright 2025 Google LLC
-// Copied from Firebase iOS SDK 12.2.0.
+// Copied from Firebase iOS SDK 12.4.0.
// Generated by Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10
// clang-1600.0.30.1)
diff --git a/ios_pod/swift_headers/FirebaseRemoteConfig-Swift.h b/ios_pod/swift_headers/FirebaseRemoteConfig-Swift.h
index 118ada933..af5417624 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 2025 Google LLC
-// Copied from Firebase iOS SDK 12.2.0.
+// Copied from Firebase iOS SDK 12.4.0.
// Generated by Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10
// clang-1600.0.30.1)
@@ -342,7 +342,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#elif defined(__x86_64__) && __x86_64__
// Copyright 2025 Google LLC
-// Copied from Firebase iOS SDK 12.2.0.
+// Copied from Firebase iOS SDK 12.4.0.
// Generated by Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10
// clang-1600.0.30.1)
diff --git a/ios_pod/swift_headers/FirebaseSessions-Swift.h b/ios_pod/swift_headers/FirebaseSessions-Swift.h
index f34d0a3ea..acf2c14aa 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 2025 Google LLC
-// Copied from Firebase iOS SDK 12.2.0.
+// Copied from Firebase iOS SDK 12.4.0.
// Generated by Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10
// clang-1600.0.30.1)
@@ -393,7 +393,7 @@ typedef SWIFT_ENUM_NAMED(NSInteger, FIRSessionsSubscriberName,
#elif defined(__x86_64__) && __x86_64__
// Copyright 2025 Google LLC
-// Copied from Firebase iOS SDK 12.2.0.
+// Copied from Firebase iOS SDK 12.4.0.
// Generated by Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10
// clang-1600.0.30.1)
diff --git a/ios_pod/swift_headers/FirebaseSharedSwift-Swift.h b/ios_pod/swift_headers/FirebaseSharedSwift-Swift.h
index dc1a1ecd8..9eba1b2ac 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 2025 Google LLC
-// Copied from Firebase iOS SDK 12.2.0.
+// Copied from Firebase iOS SDK 12.4.0.
// Generated by Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10
// clang-1600.0.30.1)
@@ -341,7 +341,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#elif defined(__x86_64__) && __x86_64__
// Copyright 2025 Google LLC
-// Copied from Firebase iOS SDK 12.2.0.
+// Copied from Firebase iOS SDK 12.4.0.
// Generated by Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10
// clang-1600.0.30.1)
diff --git a/ios_pod/swift_headers/FirebaseStorage-Swift.h b/ios_pod/swift_headers/FirebaseStorage-Swift.h
index 383118603..b9f81f114 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 2025 Google LLC
-// Copied from Firebase iOS SDK 12.2.0.
+// Copied from Firebase iOS SDK 12.4.0.
// Generated by Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10
// clang-1600.0.30.1)
@@ -358,7 +358,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// returns:
/// An instance of
Storage
, configured with the default
/// FirebaseApp
.
-+ (FIRStorage *_Nonnull)storage SWIFT_WARN_UNUSED_RESULT;
++ (FIRStorage* _Nonnull)storage SWIFT_WARN_UNUSED_RESULT;
/// A method used to create Storage
instances initialized with a
/// custom storage bucket URL. Any StorageReferences
generated from
/// this instance of Storage
will reference files and directories
@@ -368,7 +368,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
///
/// returns:
/// A Storage
instance, configured with the custom storage bucket.
-+ (FIRStorage *_Nonnull)storageWithURL:(NSString *_Nonnull)url
++ (FIRStorage* _Nonnull)storageWithURL:(NSString* _Nonnull)url
SWIFT_WARN_UNUSED_RESULT;
/// Creates an instance of Storage
, configured with a custom
/// FirebaseApp
. StorageReference
s generated from a
@@ -380,7 +380,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// returns:
/// A Storage
instance, configured with the custom
/// FirebaseApp
.
-+ (FIRStorage *_Nonnull)storageForApp:(FIRApp *_Nonnull)app
++ (FIRStorage* _Nonnull)storageForApp:(FIRApp* _Nonnull)app
SWIFT_WARN_UNUSED_RESULT;
/// Creates an instance of Storage
, configured with a custom
/// FirebaseApp
and a custom storage bucket URL.
@@ -392,11 +392,11 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// returns:
/// The Storage
instance, configured with the custom
/// FirebaseApp
and storage bucket URL.
-+ (FIRStorage *_Nonnull)storageForApp:(FIRApp *_Nonnull)app
- URL:(NSString *_Nonnull)url
++ (FIRStorage* _Nonnull)storageForApp:(FIRApp* _Nonnull)app
+ URL:(NSString* _Nonnull)url
SWIFT_WARN_UNUSED_RESULT;
/// The FirebaseApp
associated with this Storage instance.
-@property(nonatomic, readonly, strong) FIRApp *_Nonnull app;
+@property(nonatomic, readonly, strong) FIRApp* _Nonnull app;
/// The maximum time in seconds to retry an upload if a failure occurs.
/// Defaults to 10 minutes (600 seconds).
@property(nonatomic) NSTimeInterval maxUploadRetryTime;
@@ -419,7 +419,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
+- (FIRStorageReference* _Nonnull)reference SWIFT_WARN_UNUSED_RESULT
SWIFT_AVAILABILITY(watchos, introduced = 7)
SWIFT_AVAILABILITY(maccatalyst, introduced = 13)
SWIFT_AVAILABILITY(macos, introduced = 10.15)
@@ -439,7 +439,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
///
/// returns:
/// An instance of StorageReference at the given child path.
-- (FIRStorageReference *_Nonnull)referenceForURL:(NSString *_Nonnull)url
+- (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)
@@ -453,7 +453,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
///
/// returns:
/// An instance of StorageReference
pointing to the given path.
-- (FIRStorageReference *_Nonnull)referenceWithPath:(NSString *_Nonnull)path
+- (FIRStorageReference* _Nonnull)referenceWithPath:(NSString* _Nonnull)path
SWIFT_WARN_UNUSED_RESULT;
/// Configures the Storage SDK to use an emulated backend instead of the default
/// remote backend. This method should be called before invoking any other
@@ -462,7 +462,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
///
/// \param port The port specified as an Int
.
///
-- (void)useEmulatorWithHost:(NSString *_Nonnull)host port:(NSInteger)port;
+- (void)useEmulatorWithHost:(NSString* _Nonnull)host port:(NSInteger)port;
- (id _Nonnull)copy SWIFT_WARN_UNUSED_RESULT;
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
@property(nonatomic, readonly) NSUInteger hash;
@@ -503,7 +503,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
@interface FIRStorageTask : NSObject
/// An immutable view of the task and associated metadata, progress, error, etc.
@property(nonatomic, readonly, strong)
- FIRStorageTaskSnapshot *_Nonnull snapshot;
+ FIRStorageTaskSnapshot* _Nonnull snapshot;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@@ -531,13 +531,13 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
///
/// returns:
/// A task handle that can be used to remove the observer at a later date.
-- (NSString *_Nonnull)
+- (NSString* _Nonnull)
observeStatus:(enum FIRStorageTaskStatus)status
- handler:(void (^_Nonnull)(FIRStorageTaskSnapshot *_Nonnull))handler;
+ handler:(void (^_Nonnull)(FIRStorageTaskSnapshot* _Nonnull))handler;
/// Removes the single observer with the provided handle.
/// \param handle The handle of the task to remove.
///
-- (void)removeObserverWithHandle:(NSString *_Nonnull)handle;
+- (void)removeObserverWithHandle:(NSString* _Nonnull)handle;
/// Removes all observers for a single status.
/// \param status A StorageTaskStatus
to remove all listeners for.
///
@@ -597,7 +597,7 @@ typedef SWIFT_ENUM_NAMED(NSInteger, FIRStorageErrorCode, "StorageErrorCode",
FIRStorageErrorCodeInternalError = -13052,
FIRStorageErrorCodePathError = -13053,
};
-static NSString *_Nonnull const FIRStorageErrorCodeDomain =
+static NSString* _Nonnull const FIRStorageErrorCodeDomain =
@"FirebaseStorage.StorageErrorCode";
/// Contains the prefixes and items returned by a
@@ -611,13 +611,13 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
@interface FIRStorageListResult : NSObject
/// The prefixes (folders) returned by a list()
operation.
@property(nonatomic, readonly, copy)
- NSArray *_Nonnull prefixes;
+ NSArray* _Nonnull prefixes;
/// The objects (files) returned by a list()
operation.
@property(nonatomic, readonly, copy)
- NSArray *_Nonnull items;
+ NSArray* _Nonnull items;
/// A token that can be used to resume a previous list()
operation.
/// nil
indicates that there are no more results.
-@property(nonatomic, readonly, copy) NSString *_Nullable pageToken;
+@property(nonatomic, readonly, copy) NSString* _Nullable pageToken;
- (id _Nonnull)copy SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@@ -640,24 +640,24 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
SWIFT_AVAILABILITY(ios, introduced = 13)
@interface FIRStorageMetadata : NSObject
/// The name of the bucket containing this object.
-@property(nonatomic, readonly, copy) NSString *_Nonnull bucket;
+@property(nonatomic, readonly, copy) NSString* _Nonnull bucket;
/// Cache-Control directive for the object data.
-@property(nonatomic, copy) NSString *_Nullable cacheControl;
+@property(nonatomic, copy) NSString* _Nullable cacheControl;
/// Content-Disposition of the object data.
-@property(nonatomic, copy) NSString *_Nullable contentDisposition;
+@property(nonatomic, copy) NSString* _Nullable contentDisposition;
/// Content-Encoding of the object data.
-@property(nonatomic, copy) NSString *_Nullable contentEncoding;
+@property(nonatomic, copy) NSString* _Nullable contentEncoding;
/// Content-Language of the object data.
-@property(nonatomic, copy) NSString *_Nullable contentLanguage;
+@property(nonatomic, copy) NSString* _Nullable contentLanguage;
/// Content-Type of the object data.
-@property(nonatomic, copy) NSString *_Nullable contentType;
+@property(nonatomic, copy) NSString* _Nullable contentType;
/// MD5 hash of the data; encoded using base64.
-@property(nonatomic, readonly, copy) NSString *_Nullable md5Hash;
+@property(nonatomic, readonly, copy) NSString* _Nullable md5Hash;
/// The content generation of this object. Used for object versioning.
@property(nonatomic, readonly) int64_t generation;
/// User-provided metadata, in key/value pairs.
@property(nonatomic, copy)
- NSDictionary *_Nullable customMetadata;
+ NSDictionary* _Nullable customMetadata;
/// The version of the metadata for this object at this generation. Used
/// for preconditions and for detecting changes in metadata. A metageneration
/// number is only meaningful in the context of a particular generation of a
@@ -665,19 +665,19 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
@property(nonatomic, readonly) int64_t metageneration;
/// The name of this object, in gs://bucket/path/to/object.txt, this is
/// object.txt.
-@property(nonatomic, readonly, copy) NSString *_Nullable name;
+@property(nonatomic, readonly, copy) NSString* _Nullable name;
/// The full path of this object, in gs://bucket/path/to/object.txt, this is
/// path/to/object.txt.
-@property(nonatomic, readonly, copy) NSString *_Nullable path;
+@property(nonatomic, readonly, copy) NSString* _Nullable path;
/// Content-Length of the data in bytes.
@property(nonatomic, readonly) int64_t size;
/// The creation time of the object in RFC 3339 format.
-@property(nonatomic, readonly, copy) NSDate *_Nullable timeCreated;
+@property(nonatomic, readonly, copy) NSDate* _Nullable timeCreated;
/// The modification time of the object metadata in RFC 3339 format.
-@property(nonatomic, readonly, copy) NSDate *_Nullable updated;
+@property(nonatomic, readonly, copy) NSDate* _Nullable updated;
/// Creates a Dictionary from the contents of the metadata.
/// @return A Dictionary that represents the contents of the metadata.
-- (NSDictionary *_Nonnull)
+- (NSDictionary* _Nonnull)
dictionaryRepresentation SWIFT_WARN_UNUSED_RESULT;
/// Determines if the current metadata represents a “file”.
@property(nonatomic, readonly) BOOL isFile;
@@ -690,12 +690,12 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// @return An instance of StorageMetadata that represents the contents of a
/// dictionary.
- (nonnull instancetype)initWithDictionary:
- (NSDictionary *_Nonnull)dictionary
+ (NSDictionary* _Nonnull)dictionary
OBJC_DESIGNATED_INITIALIZER;
- (id _Nonnull)copy SWIFT_WARN_UNUSED_RESULT;
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
@property(nonatomic, readonly) NSUInteger hash;
-@property(nonatomic, readonly, copy) NSString *_Nonnull description;
+@property(nonatomic, readonly, copy) NSString* _Nonnull description;
@end
@class NSData;
@@ -714,24 +714,24 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
SWIFT_AVAILABILITY(ios, introduced = 13)
@interface FIRStorageReference : NSObject
/// The Storage
service object which created this reference.
-@property(nonatomic, readonly, strong) FIRStorage *_Nonnull storage;
+@property(nonatomic, readonly, strong) FIRStorage* _Nonnull storage;
/// The name of the Google Cloud Storage bucket associated with this reference.
/// For example, in gs://bucket/path/to/object.txt
, the bucket
/// would be ‘bucket’.
-@property(nonatomic, readonly, copy) NSString *_Nonnull bucket;
+@property(nonatomic, readonly, copy) NSString* _Nonnull bucket;
/// The full path to this object, not including the Google Cloud Storage bucket.
/// In gs://bucket/path/to/object.txt
, the full path would be:
/// path/to/object.txt
.
-@property(nonatomic, readonly, copy) NSString *_Nonnull fullPath;
+@property(nonatomic, readonly, copy) NSString* _Nonnull fullPath;
/// The short name of the object associated with this reference.
/// In gs://bucket/path/to/object.txt
, the name of the object would
/// be object.txt
.
-@property(nonatomic, readonly, copy) NSString *_Nonnull name;
+@property(nonatomic, readonly, copy) NSString* _Nonnull name;
/// Creates a new StorageReference
pointing to the root object.
///
/// returns:
/// A new StorageReference
pointing to the root object.
-- (FIRStorageReference *_Nonnull)root SWIFT_WARN_UNUSED_RESULT;
+- (FIRStorageReference* _Nonnull)root SWIFT_WARN_UNUSED_RESULT;
/// Creates a new StorageReference
pointing to the parent of the
/// current reference or nil
if this instance references the root
/// location.
@@ -745,7 +745,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// returns:
/// A new StorageReference
pointing to the parent of the current
/// reference.
-- (FIRStorageReference *_Nullable)parent SWIFT_WARN_UNUSED_RESULT;
+- (FIRStorageReference* _Nullable)parent SWIFT_WARN_UNUSED_RESULT;
/// Creates a new StorageReference
pointing to a child object of
/// the current reference.
/// \code
@@ -763,7 +763,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// returns:
/// A new StorageReference
pointing to a child location of the
/// current reference.
-- (FIRStorageReference *_Nonnull)child:(NSString *_Nonnull)path
+- (FIRStorageReference* _Nonnull)child:(NSString* _Nonnull)path
SWIFT_WARN_UNUSED_RESULT;
/// Asynchronously uploads data to the currently specified
/// StorageReference
, without additional metadata. This is not
@@ -777,9 +777,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// returns:
/// An instance of StorageUploadTask
, which can be used to monitor
/// or manage the upload.
-- (FIRStorageUploadTask *_Nonnull)putData:(NSData *_Nonnull)uploadData
+- (FIRStorageUploadTask* _Nonnull)putData:(NSData* _Nonnull)uploadData
metadata:
- (FIRStorageMetadata *_Nullable)metadata;
+ (FIRStorageMetadata* _Nullable)metadata;
/// Asynchronously uploads data to the currently specified
/// StorageReference
. This is not recommended for large files, and
/// one should instead upload a file from disk.
@@ -789,7 +789,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// returns:
/// An instance of StorageUploadTask
, which can be used to monitor
/// or manage the upload.
-- (FIRStorageUploadTask *_Nonnull)putData:(NSData *_Nonnull)uploadData;
+- (FIRStorageUploadTask* _Nonnull)putData:(NSData* _Nonnull)uploadData;
/// Asynchronously uploads data to the currently specified
/// StorageReference
. This is not recommended for large files, and
/// one should instead upload a file from disk.
@@ -805,11 +805,11 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// returns:
/// An instance of StorageUploadTask
, which can be used to monitor
/// or manage the upload.
-- (FIRStorageUploadTask *_Nonnull)
- putData:(NSData *_Nonnull)uploadData
- metadata:(FIRStorageMetadata *_Nullable)metadata
- completion:(void (^_Nullable)(FIRStorageMetadata *_Nullable,
- NSError *_Nullable))completion;
+- (FIRStorageUploadTask* _Nonnull)
+ putData:(NSData* _Nonnull)uploadData
+ metadata:(FIRStorageMetadata* _Nullable)metadata
+ completion:(void (^_Nullable)(FIRStorageMetadata* _Nullable,
+ NSError* _Nullable))completion;
/// Asynchronously uploads a file to the currently specified
/// StorageReference
.
/// \param fileURL A URL representing the system file path of the object to be
@@ -822,16 +822,16 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// returns:
/// An instance of StorageUploadTask
, which can be used to monitor
/// or manage the upload.
-- (FIRStorageUploadTask *_Nonnull)putFile:(NSURL *_Nonnull)fileURL
+- (FIRStorageUploadTask* _Nonnull)putFile:(NSURL* _Nonnull)fileURL
metadata:
- (FIRStorageMetadata *_Nullable)metadata;
+ (FIRStorageMetadata* _Nullable)metadata;
/// Asynchronously uploads a file to the currently specified
/// StorageReference
, without additional metadata.
/// @param fileURL A URL representing the system file path of the object to be
/// uploaded.
/// @return An instance of StorageUploadTask, which can be used to monitor or
/// manage the upload.
-- (FIRStorageUploadTask *_Nonnull)putFile:(NSURL *_Nonnull)fileURL;
+- (FIRStorageUploadTask* _Nonnull)putFile:(NSURL* _Nonnull)fileURL;
/// Asynchronously uploads a file to the currently specified
/// StorageReference
.
/// \param fileURL A URL representing the system file path of the object to be
@@ -847,11 +847,11 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// returns:
/// An instance of StorageUploadTask
, which can be used to monitor
/// or manage the upload.
-- (FIRStorageUploadTask *_Nonnull)
- putFile:(NSURL *_Nonnull)fileURL
- metadata:(FIRStorageMetadata *_Nullable)metadata
- completion:(void (^_Nullable)(FIRStorageMetadata *_Nullable,
- NSError *_Nullable))completion;
+- (FIRStorageUploadTask* _Nonnull)
+ putFile:(NSURL* _Nonnull)fileURL
+ metadata:(FIRStorageMetadata* _Nullable)metadata
+ completion:(void (^_Nullable)(FIRStorageMetadata* _Nullable,
+ NSError* _Nullable))completion;
/// Asynchronously downloads the object at the StorageReference
to
/// a Data
instance in memory. A Data
buffer of the
/// provided max size will be allocated, so ensure that the device has enough
@@ -867,10 +867,10 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// returns:
/// A StorageDownloadTask
that can be used to monitor or manage the
/// download.
-- (FIRStorageDownloadTask *_Nonnull)
+- (FIRStorageDownloadTask* _Nonnull)
dataWithMaxSize:(int64_t)maxSize
- completion:(void (^_Nonnull)(NSData *_Nullable,
- NSError *_Nullable))completion;
+ completion:(void (^_Nonnull)(NSData* _Nullable,
+ NSError* _Nullable))completion;
/// Asynchronously retrieves a long lived download URL with a revokable token.
/// This can be used to share the file with others, but can be revoked by a
/// developer in the Firebase Console.
@@ -878,7 +878,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// or an error on failure.
///
- (void)downloadURLWithCompletion:
- (void (^_Nonnull)(NSURL *_Nullable, NSError *_Nullable))completion;
+ (void (^_Nonnull)(NSURL* _Nullable, NSError* _Nullable))completion;
/// Asynchronously downloads the object at the current path to a specified
/// system filepath.
/// -
@@ -889,7 +889,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// \param fileURL A file system URL representing the path the object should be
/// downloaded to.
///
-- (FIRStorageDownloadTask *_Nonnull)writeToFile:(NSURL *_Nonnull)fileURL;
+- (FIRStorageDownloadTask* _Nonnull)writeToFile:(NSURL* _Nonnull)fileURL;
/// Asynchronously downloads the object at the current path to a specified
/// system filepath.
/// \param fileURL A file system URL representing the path the object should be
@@ -903,10 +903,10 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// returns:
/// A
StorageDownloadTask
that can be used to monitor or manage the
/// download.
-- (FIRStorageDownloadTask *_Nonnull)
- writeToFile:(NSURL *_Nonnull)fileURL
+- (FIRStorageDownloadTask* _Nonnull)
+ writeToFile:(NSURL* _Nonnull)fileURL
completion:
- (void (^_Nullable)(NSURL *_Nullable, NSError *_Nullable))completion;
+ (void (^_Nullable)(NSURL* _Nullable, NSError* _Nullable))completion;
/// Lists all items (files) and prefixes (folders) under this
/// StorageReference
. This is a helper method for calling
/// list()
repeatedly until there are no more results. Consistency
@@ -917,8 +917,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// \param completion A completion handler that will be invoked with all items
/// and prefixes under the current StorageReference
.
///
-- (void)listAllWithCompletion:(void (^_Nonnull)(FIRStorageListResult *_Nullable,
- NSError *_Nullable))completion;
+- (void)listAllWithCompletion:(void (^_Nonnull)(FIRStorageListResult* _Nullable,
+ NSError* _Nullable))completion;
/// List up to maxResults
items (files) and prefixes (folders)
/// under this StorageReference. “/” is treated as a path delimiter. Firebase
/// Storage does not support unsupported object paths that end with “/” or
@@ -932,8 +932,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// StorageReference
.
///
- (void)listWithMaxResults:(int64_t)maxResults
- completion:(void (^_Nonnull)(FIRStorageListResult *_Nullable,
- NSError *_Nullable))completion;
+ completion:(void (^_Nonnull)(FIRStorageListResult* _Nullable,
+ NSError* _Nullable))completion;
/// Resumes a previous call to list(maxResults:completion:)
,
/// starting after a pagination token. Returns the next set of items (files) and
/// prefixes (folders) under this StorageReference
. “/” is treated
@@ -950,15 +950,15 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// items and prefixes under the current StorageReference.
///
- (void)listWithMaxResults:(int64_t)maxResults
- pageToken:(NSString *_Nonnull)pageToken
- completion:(void (^_Nonnull)(FIRStorageListResult *_Nullable,
- NSError *_Nullable))completion;
+ pageToken:(NSString* _Nonnull)pageToken
+ completion:(void (^_Nonnull)(FIRStorageListResult* _Nullable,
+ NSError* _Nullable))completion;
/// Retrieves metadata associated with an object at the current path.
/// \param completion A completion block which returns the object metadata on
/// success, or an error on failure.
///
-- (void)metadataWithCompletion:(void (^_Nonnull)(FIRStorageMetadata *_Nullable,
- NSError *_Nullable))completion;
+- (void)metadataWithCompletion:(void (^_Nonnull)(FIRStorageMetadata* _Nullable,
+ NSError* _Nullable))completion;
/// Updates the metadata associated with an object at the current path.
/// \param metadata A StorageMetadata
object with the metadata to
/// update.
@@ -966,14 +966,14 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// \param completion A completion block which returns the
/// StorageMetadata
on success, or an error on failure.
///
-- (void)updateMetadata:(FIRStorageMetadata *_Nonnull)metadata
- completion:(void (^_Nullable)(FIRStorageMetadata *_Nullable,
- NSError *_Nullable))completion;
+- (void)updateMetadata:(FIRStorageMetadata* _Nonnull)metadata
+ completion:(void (^_Nullable)(FIRStorageMetadata* _Nullable,
+ NSError* _Nullable))completion;
/// Deletes the object at the current path.
/// \param completion A completion block which returns a nonnull error on
/// failure.
///
-- (void)deleteWithCompletion:(void (^_Nullable)(NSError *_Nullable))completion;
+- (void)deleteWithCompletion:(void (^_Nullable)(NSError* _Nullable))completion;
/// NSObject override
- (id _Nonnull)copy SWIFT_WARN_UNUSED_RESULT;
/// NSObject override
@@ -981,7 +981,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// NSObject override
@property(nonatomic, readonly) NSUInteger hash;
/// NSObject override
-@property(nonatomic, readonly, copy) NSString *_Nonnull description;
+@property(nonatomic, readonly, copy) NSString* _Nonnull description;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@@ -999,19 +999,19 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
SWIFT_AVAILABILITY(ios, introduced = 13)
@interface FIRStorageTaskSnapshot : NSObject
/// The task this snapshot represents.
-@property(nonatomic, readonly, strong) FIRStorageTask *_Nonnull task;
+@property(nonatomic, readonly, strong) FIRStorageTask* _Nonnull task;
/// Metadata returned by the task, or nil
if no metadata returned.
-@property(nonatomic, readonly, strong) FIRStorageMetadata *_Nullable metadata;
+@property(nonatomic, readonly, strong) FIRStorageMetadata* _Nullable metadata;
/// The StorageReference
this task operates on.
-@property(nonatomic, readonly, strong) FIRStorageReference *_Nonnull reference;
+@property(nonatomic, readonly, strong) FIRStorageReference* _Nonnull reference;
/// An object which tracks the progress of an upload or download.
-@property(nonatomic, readonly, strong) NSProgress *_Nullable progress;
+@property(nonatomic, readonly, strong) NSProgress* _Nullable progress;
/// An error raised during task execution, or nil
if no error
/// occurred.
-@property(nonatomic, readonly) NSError *_Nullable error;
+@property(nonatomic, readonly) NSError* _Nullable error;
/// The status of the task.
@property(nonatomic, readonly) enum FIRStorageTaskStatus status;
-@property(nonatomic, readonly, copy) NSString *_Nonnull description;
+@property(nonatomic, readonly, copy) NSString* _Nonnull description;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@@ -1060,7 +1060,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
#elif defined(__x86_64__) && __x86_64__
// Copyright 2025 Google LLC
-// Copied from Firebase iOS SDK 12.2.0.
+// Copied from Firebase iOS SDK 12.4.0.
// Generated by Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10
// clang-1600.0.30.1)
@@ -1417,7 +1417,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// returns:
/// An instance of Storage
, configured with the default
/// FirebaseApp
.
-+ (FIRStorage *_Nonnull)storage SWIFT_WARN_UNUSED_RESULT;
++ (FIRStorage* _Nonnull)storage SWIFT_WARN_UNUSED_RESULT;
/// A method used to create Storage
instances initialized with a
/// custom storage bucket URL. Any StorageReferences
generated from
/// this instance of Storage
will reference files and directories
@@ -1427,7 +1427,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
///
/// returns:
/// A Storage
instance, configured with the custom storage bucket.
-+ (FIRStorage *_Nonnull)storageWithURL:(NSString *_Nonnull)url
++ (FIRStorage* _Nonnull)storageWithURL:(NSString* _Nonnull)url
SWIFT_WARN_UNUSED_RESULT;
/// Creates an instance of Storage
, configured with a custom
/// FirebaseApp
. StorageReference
s generated from a
@@ -1439,7 +1439,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// returns:
/// A Storage
instance, configured with the custom
/// FirebaseApp
.
-+ (FIRStorage *_Nonnull)storageForApp:(FIRApp *_Nonnull)app
++ (FIRStorage* _Nonnull)storageForApp:(FIRApp* _Nonnull)app
SWIFT_WARN_UNUSED_RESULT;
/// Creates an instance of Storage
, configured with a custom
/// FirebaseApp
and a custom storage bucket URL.
@@ -1451,11 +1451,11 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// returns:
/// The Storage
instance, configured with the custom
/// FirebaseApp
and storage bucket URL.
-+ (FIRStorage *_Nonnull)storageForApp:(FIRApp *_Nonnull)app
- URL:(NSString *_Nonnull)url
++ (FIRStorage* _Nonnull)storageForApp:(FIRApp* _Nonnull)app
+ URL:(NSString* _Nonnull)url
SWIFT_WARN_UNUSED_RESULT;
/// The FirebaseApp
associated with this Storage instance.
-@property(nonatomic, readonly, strong) FIRApp *_Nonnull app;
+@property(nonatomic, readonly, strong) FIRApp* _Nonnull app;
/// The maximum time in seconds to retry an upload if a failure occurs.
/// Defaults to 10 minutes (600 seconds).
@property(nonatomic) NSTimeInterval maxUploadRetryTime;
@@ -1478,7 +1478,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
+- (FIRStorageReference* _Nonnull)reference SWIFT_WARN_UNUSED_RESULT
SWIFT_AVAILABILITY(watchos, introduced = 7)
SWIFT_AVAILABILITY(maccatalyst, introduced = 13)
SWIFT_AVAILABILITY(macos, introduced = 10.15)
@@ -1498,7 +1498,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
///
/// returns:
/// An instance of StorageReference at the given child path.
-- (FIRStorageReference *_Nonnull)referenceForURL:(NSString *_Nonnull)url
+- (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)
@@ -1512,7 +1512,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
///
/// returns:
/// An instance of StorageReference
pointing to the given path.
-- (FIRStorageReference *_Nonnull)referenceWithPath:(NSString *_Nonnull)path
+- (FIRStorageReference* _Nonnull)referenceWithPath:(NSString* _Nonnull)path
SWIFT_WARN_UNUSED_RESULT;
/// Configures the Storage SDK to use an emulated backend instead of the default
/// remote backend. This method should be called before invoking any other
@@ -1521,7 +1521,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
///
/// \param port The port specified as an Int
.
///
-- (void)useEmulatorWithHost:(NSString *_Nonnull)host port:(NSInteger)port;
+- (void)useEmulatorWithHost:(NSString* _Nonnull)host port:(NSInteger)port;
- (id _Nonnull)copy SWIFT_WARN_UNUSED_RESULT;
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
@property(nonatomic, readonly) NSUInteger hash;
@@ -1562,7 +1562,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
@interface FIRStorageTask : NSObject
/// An immutable view of the task and associated metadata, progress, error, etc.
@property(nonatomic, readonly, strong)
- FIRStorageTaskSnapshot *_Nonnull snapshot;
+ FIRStorageTaskSnapshot* _Nonnull snapshot;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@@ -1590,13 +1590,13 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
///
/// returns:
/// A task handle that can be used to remove the observer at a later date.
-- (NSString *_Nonnull)
+- (NSString* _Nonnull)
observeStatus:(enum FIRStorageTaskStatus)status
- handler:(void (^_Nonnull)(FIRStorageTaskSnapshot *_Nonnull))handler;
+ handler:(void (^_Nonnull)(FIRStorageTaskSnapshot* _Nonnull))handler;
/// Removes the single observer with the provided handle.
/// \param handle The handle of the task to remove.
///
-- (void)removeObserverWithHandle:(NSString *_Nonnull)handle;
+- (void)removeObserverWithHandle:(NSString* _Nonnull)handle;
/// Removes all observers for a single status.
/// \param status A StorageTaskStatus
to remove all listeners for.
///
@@ -1656,7 +1656,7 @@ typedef SWIFT_ENUM_NAMED(NSInteger, FIRStorageErrorCode, "StorageErrorCode",
FIRStorageErrorCodeInternalError = -13052,
FIRStorageErrorCodePathError = -13053,
};
-static NSString *_Nonnull const FIRStorageErrorCodeDomain =
+static NSString* _Nonnull const FIRStorageErrorCodeDomain =
@"FirebaseStorage.StorageErrorCode";
/// Contains the prefixes and items returned by a
@@ -1670,13 +1670,13 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
@interface FIRStorageListResult : NSObject
/// The prefixes (folders) returned by a list()
operation.
@property(nonatomic, readonly, copy)
- NSArray *_Nonnull prefixes;
+ NSArray* _Nonnull prefixes;
/// The objects (files) returned by a list()
operation.
@property(nonatomic, readonly, copy)
- NSArray *_Nonnull items;
+ NSArray* _Nonnull items;
/// A token that can be used to resume a previous list()
operation.
/// nil
indicates that there are no more results.
-@property(nonatomic, readonly, copy) NSString *_Nullable pageToken;
+@property(nonatomic, readonly, copy) NSString* _Nullable pageToken;
- (id _Nonnull)copy SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@@ -1699,24 +1699,24 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
SWIFT_AVAILABILITY(ios, introduced = 13)
@interface FIRStorageMetadata : NSObject
/// The name of the bucket containing this object.
-@property(nonatomic, readonly, copy) NSString *_Nonnull bucket;
+@property(nonatomic, readonly, copy) NSString* _Nonnull bucket;
/// Cache-Control directive for the object data.
-@property(nonatomic, copy) NSString *_Nullable cacheControl;
+@property(nonatomic, copy) NSString* _Nullable cacheControl;
/// Content-Disposition of the object data.
-@property(nonatomic, copy) NSString *_Nullable contentDisposition;
+@property(nonatomic, copy) NSString* _Nullable contentDisposition;
/// Content-Encoding of the object data.
-@property(nonatomic, copy) NSString *_Nullable contentEncoding;
+@property(nonatomic, copy) NSString* _Nullable contentEncoding;
/// Content-Language of the object data.
-@property(nonatomic, copy) NSString *_Nullable contentLanguage;
+@property(nonatomic, copy) NSString* _Nullable contentLanguage;
/// Content-Type of the object data.
-@property(nonatomic, copy) NSString *_Nullable contentType;
+@property(nonatomic, copy) NSString* _Nullable contentType;
/// MD5 hash of the data; encoded using base64.
-@property(nonatomic, readonly, copy) NSString *_Nullable md5Hash;
+@property(nonatomic, readonly, copy) NSString* _Nullable md5Hash;
/// The content generation of this object. Used for object versioning.
@property(nonatomic, readonly) int64_t generation;
/// User-provided metadata, in key/value pairs.
@property(nonatomic, copy)
- NSDictionary *_Nullable customMetadata;
+ NSDictionary* _Nullable customMetadata;
/// The version of the metadata for this object at this generation. Used
/// for preconditions and for detecting changes in metadata. A metageneration
/// number is only meaningful in the context of a particular generation of a
@@ -1724,19 +1724,19 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
@property(nonatomic, readonly) int64_t metageneration;
/// The name of this object, in gs://bucket/path/to/object.txt, this is
/// object.txt.
-@property(nonatomic, readonly, copy) NSString *_Nullable name;
+@property(nonatomic, readonly, copy) NSString* _Nullable name;
/// The full path of this object, in gs://bucket/path/to/object.txt, this is
/// path/to/object.txt.
-@property(nonatomic, readonly, copy) NSString *_Nullable path;
+@property(nonatomic, readonly, copy) NSString* _Nullable path;
/// Content-Length of the data in bytes.
@property(nonatomic, readonly) int64_t size;
/// The creation time of the object in RFC 3339 format.
-@property(nonatomic, readonly, copy) NSDate *_Nullable timeCreated;
+@property(nonatomic, readonly, copy) NSDate* _Nullable timeCreated;
/// The modification time of the object metadata in RFC 3339 format.
-@property(nonatomic, readonly, copy) NSDate *_Nullable updated;
+@property(nonatomic, readonly, copy) NSDate* _Nullable updated;
/// Creates a Dictionary from the contents of the metadata.
/// @return A Dictionary that represents the contents of the metadata.
-- (NSDictionary *_Nonnull)
+- (NSDictionary* _Nonnull)
dictionaryRepresentation SWIFT_WARN_UNUSED_RESULT;
/// Determines if the current metadata represents a “file”.
@property(nonatomic, readonly) BOOL isFile;
@@ -1749,12 +1749,12 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// @return An instance of StorageMetadata that represents the contents of a
/// dictionary.
- (nonnull instancetype)initWithDictionary:
- (NSDictionary *_Nonnull)dictionary
+ (NSDictionary* _Nonnull)dictionary
OBJC_DESIGNATED_INITIALIZER;
- (id _Nonnull)copy SWIFT_WARN_UNUSED_RESULT;
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
@property(nonatomic, readonly) NSUInteger hash;
-@property(nonatomic, readonly, copy) NSString *_Nonnull description;
+@property(nonatomic, readonly, copy) NSString* _Nonnull description;
@end
@class NSData;
@@ -1773,24 +1773,24 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
SWIFT_AVAILABILITY(ios, introduced = 13)
@interface FIRStorageReference : NSObject
/// The Storage
service object which created this reference.
-@property(nonatomic, readonly, strong) FIRStorage *_Nonnull storage;
+@property(nonatomic, readonly, strong) FIRStorage* _Nonnull storage;
/// The name of the Google Cloud Storage bucket associated with this reference.
/// For example, in gs://bucket/path/to/object.txt
, the bucket
/// would be ‘bucket’.
-@property(nonatomic, readonly, copy) NSString *_Nonnull bucket;
+@property(nonatomic, readonly, copy) NSString* _Nonnull bucket;
/// The full path to this object, not including the Google Cloud Storage bucket.
/// In gs://bucket/path/to/object.txt
, the full path would be:
/// path/to/object.txt
.
-@property(nonatomic, readonly, copy) NSString *_Nonnull fullPath;
+@property(nonatomic, readonly, copy) NSString* _Nonnull fullPath;
/// The short name of the object associated with this reference.
/// In gs://bucket/path/to/object.txt
, the name of the object would
/// be object.txt
.
-@property(nonatomic, readonly, copy) NSString *_Nonnull name;
+@property(nonatomic, readonly, copy) NSString* _Nonnull name;
/// Creates a new StorageReference
pointing to the root object.
///
/// returns:
/// A new StorageReference
pointing to the root object.
-- (FIRStorageReference *_Nonnull)root SWIFT_WARN_UNUSED_RESULT;
+- (FIRStorageReference* _Nonnull)root SWIFT_WARN_UNUSED_RESULT;
/// Creates a new StorageReference
pointing to the parent of the
/// current reference or nil
if this instance references the root
/// location.
@@ -1804,7 +1804,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// returns:
/// A new StorageReference
pointing to the parent of the current
/// reference.
-- (FIRStorageReference *_Nullable)parent SWIFT_WARN_UNUSED_RESULT;
+- (FIRStorageReference* _Nullable)parent SWIFT_WARN_UNUSED_RESULT;
/// Creates a new StorageReference
pointing to a child object of
/// the current reference.
/// \code
@@ -1822,7 +1822,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// returns:
/// A new StorageReference
pointing to a child location of the
/// current reference.
-- (FIRStorageReference *_Nonnull)child:(NSString *_Nonnull)path
+- (FIRStorageReference* _Nonnull)child:(NSString* _Nonnull)path
SWIFT_WARN_UNUSED_RESULT;
/// Asynchronously uploads data to the currently specified
/// StorageReference
, without additional metadata. This is not
@@ -1836,9 +1836,9 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// returns:
/// An instance of StorageUploadTask
, which can be used to monitor
/// or manage the upload.
-- (FIRStorageUploadTask *_Nonnull)putData:(NSData *_Nonnull)uploadData
+- (FIRStorageUploadTask* _Nonnull)putData:(NSData* _Nonnull)uploadData
metadata:
- (FIRStorageMetadata *_Nullable)metadata;
+ (FIRStorageMetadata* _Nullable)metadata;
/// Asynchronously uploads data to the currently specified
/// StorageReference
. This is not recommended for large files, and
/// one should instead upload a file from disk.
@@ -1848,7 +1848,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// returns:
/// An instance of StorageUploadTask
, which can be used to monitor
/// or manage the upload.
-- (FIRStorageUploadTask *_Nonnull)putData:(NSData *_Nonnull)uploadData;
+- (FIRStorageUploadTask* _Nonnull)putData:(NSData* _Nonnull)uploadData;
/// Asynchronously uploads data to the currently specified
/// StorageReference
. This is not recommended for large files, and
/// one should instead upload a file from disk.
@@ -1864,11 +1864,11 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// returns:
/// An instance of StorageUploadTask
, which can be used to monitor
/// or manage the upload.
-- (FIRStorageUploadTask *_Nonnull)
- putData:(NSData *_Nonnull)uploadData
- metadata:(FIRStorageMetadata *_Nullable)metadata
- completion:(void (^_Nullable)(FIRStorageMetadata *_Nullable,
- NSError *_Nullable))completion;
+- (FIRStorageUploadTask* _Nonnull)
+ putData:(NSData* _Nonnull)uploadData
+ metadata:(FIRStorageMetadata* _Nullable)metadata
+ completion:(void (^_Nullable)(FIRStorageMetadata* _Nullable,
+ NSError* _Nullable))completion;
/// Asynchronously uploads a file to the currently specified
/// StorageReference
.
/// \param fileURL A URL representing the system file path of the object to be
@@ -1881,16 +1881,16 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// returns:
/// An instance of StorageUploadTask
, which can be used to monitor
/// or manage the upload.
-- (FIRStorageUploadTask *_Nonnull)putFile:(NSURL *_Nonnull)fileURL
+- (FIRStorageUploadTask* _Nonnull)putFile:(NSURL* _Nonnull)fileURL
metadata:
- (FIRStorageMetadata *_Nullable)metadata;
+ (FIRStorageMetadata* _Nullable)metadata;
/// Asynchronously uploads a file to the currently specified
/// StorageReference
, without additional metadata.
/// @param fileURL A URL representing the system file path of the object to be
/// uploaded.
/// @return An instance of StorageUploadTask, which can be used to monitor or
/// manage the upload.
-- (FIRStorageUploadTask *_Nonnull)putFile:(NSURL *_Nonnull)fileURL;
+- (FIRStorageUploadTask* _Nonnull)putFile:(NSURL* _Nonnull)fileURL;
/// Asynchronously uploads a file to the currently specified
/// StorageReference
.
/// \param fileURL A URL representing the system file path of the object to be
@@ -1906,11 +1906,11 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// returns:
/// An instance of StorageUploadTask
, which can be used to monitor
/// or manage the upload.
-- (FIRStorageUploadTask *_Nonnull)
- putFile:(NSURL *_Nonnull)fileURL
- metadata:(FIRStorageMetadata *_Nullable)metadata
- completion:(void (^_Nullable)(FIRStorageMetadata *_Nullable,
- NSError *_Nullable))completion;
+- (FIRStorageUploadTask* _Nonnull)
+ putFile:(NSURL* _Nonnull)fileURL
+ metadata:(FIRStorageMetadata* _Nullable)metadata
+ completion:(void (^_Nullable)(FIRStorageMetadata* _Nullable,
+ NSError* _Nullable))completion;
/// Asynchronously downloads the object at the StorageReference
to
/// a Data
instance in memory. A Data
buffer of the
/// provided max size will be allocated, so ensure that the device has enough
@@ -1926,10 +1926,10 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// returns:
/// A StorageDownloadTask
that can be used to monitor or manage the
/// download.
-- (FIRStorageDownloadTask *_Nonnull)
+- (FIRStorageDownloadTask* _Nonnull)
dataWithMaxSize:(int64_t)maxSize
- completion:(void (^_Nonnull)(NSData *_Nullable,
- NSError *_Nullable))completion;
+ completion:(void (^_Nonnull)(NSData* _Nullable,
+ NSError* _Nullable))completion;
/// Asynchronously retrieves a long lived download URL with a revokable token.
/// This can be used to share the file with others, but can be revoked by a
/// developer in the Firebase Console.
@@ -1937,7 +1937,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// or an error on failure.
///
- (void)downloadURLWithCompletion:
- (void (^_Nonnull)(NSURL *_Nullable, NSError *_Nullable))completion;
+ (void (^_Nonnull)(NSURL* _Nullable, NSError* _Nullable))completion;
/// Asynchronously downloads the object at the current path to a specified
/// system filepath.
/// -
@@ -1948,7 +1948,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// \param fileURL A file system URL representing the path the object should be
/// downloaded to.
///
-- (FIRStorageDownloadTask *_Nonnull)writeToFile:(NSURL *_Nonnull)fileURL;
+- (FIRStorageDownloadTask* _Nonnull)writeToFile:(NSURL* _Nonnull)fileURL;
/// Asynchronously downloads the object at the current path to a specified
/// system filepath.
/// \param fileURL A file system URL representing the path the object should be
@@ -1962,10 +1962,10 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// returns:
/// A
StorageDownloadTask
that can be used to monitor or manage the
/// download.
-- (FIRStorageDownloadTask *_Nonnull)
- writeToFile:(NSURL *_Nonnull)fileURL
+- (FIRStorageDownloadTask* _Nonnull)
+ writeToFile:(NSURL* _Nonnull)fileURL
completion:
- (void (^_Nullable)(NSURL *_Nullable, NSError *_Nullable))completion;
+ (void (^_Nullable)(NSURL* _Nullable, NSError* _Nullable))completion;
/// Lists all items (files) and prefixes (folders) under this
/// StorageReference
. This is a helper method for calling
/// list()
repeatedly until there are no more results. Consistency
@@ -1976,8 +1976,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// \param completion A completion handler that will be invoked with all items
/// and prefixes under the current StorageReference
.
///
-- (void)listAllWithCompletion:(void (^_Nonnull)(FIRStorageListResult *_Nullable,
- NSError *_Nullable))completion;
+- (void)listAllWithCompletion:(void (^_Nonnull)(FIRStorageListResult* _Nullable,
+ NSError* _Nullable))completion;
/// List up to maxResults
items (files) and prefixes (folders)
/// under this StorageReference. “/” is treated as a path delimiter. Firebase
/// Storage does not support unsupported object paths that end with “/” or
@@ -1991,8 +1991,8 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// StorageReference
.
///
- (void)listWithMaxResults:(int64_t)maxResults
- completion:(void (^_Nonnull)(FIRStorageListResult *_Nullable,
- NSError *_Nullable))completion;
+ completion:(void (^_Nonnull)(FIRStorageListResult* _Nullable,
+ NSError* _Nullable))completion;
/// Resumes a previous call to list(maxResults:completion:)
,
/// starting after a pagination token. Returns the next set of items (files) and
/// prefixes (folders) under this StorageReference
. “/” is treated
@@ -2009,15 +2009,15 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// items and prefixes under the current StorageReference.
///
- (void)listWithMaxResults:(int64_t)maxResults
- pageToken:(NSString *_Nonnull)pageToken
- completion:(void (^_Nonnull)(FIRStorageListResult *_Nullable,
- NSError *_Nullable))completion;
+ pageToken:(NSString* _Nonnull)pageToken
+ completion:(void (^_Nonnull)(FIRStorageListResult* _Nullable,
+ NSError* _Nullable))completion;
/// Retrieves metadata associated with an object at the current path.
/// \param completion A completion block which returns the object metadata on
/// success, or an error on failure.
///
-- (void)metadataWithCompletion:(void (^_Nonnull)(FIRStorageMetadata *_Nullable,
- NSError *_Nullable))completion;
+- (void)metadataWithCompletion:(void (^_Nonnull)(FIRStorageMetadata* _Nullable,
+ NSError* _Nullable))completion;
/// Updates the metadata associated with an object at the current path.
/// \param metadata A StorageMetadata
object with the metadata to
/// update.
@@ -2025,14 +2025,14 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// \param completion A completion block which returns the
/// StorageMetadata
on success, or an error on failure.
///
-- (void)updateMetadata:(FIRStorageMetadata *_Nonnull)metadata
- completion:(void (^_Nullable)(FIRStorageMetadata *_Nullable,
- NSError *_Nullable))completion;
+- (void)updateMetadata:(FIRStorageMetadata* _Nonnull)metadata
+ completion:(void (^_Nullable)(FIRStorageMetadata* _Nullable,
+ NSError* _Nullable))completion;
/// Deletes the object at the current path.
/// \param completion A completion block which returns a nonnull error on
/// failure.
///
-- (void)deleteWithCompletion:(void (^_Nullable)(NSError *_Nullable))completion;
+- (void)deleteWithCompletion:(void (^_Nullable)(NSError* _Nullable))completion;
/// NSObject override
- (id _Nonnull)copy SWIFT_WARN_UNUSED_RESULT;
/// NSObject override
@@ -2040,7 +2040,7 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
/// NSObject override
@property(nonatomic, readonly) NSUInteger hash;
/// NSObject override
-@property(nonatomic, readonly, copy) NSString *_Nonnull description;
+@property(nonatomic, readonly, copy) NSString* _Nonnull description;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@@ -2058,19 +2058,19 @@ SWIFT_AVAILABILITY(watchos, introduced = 7)
SWIFT_AVAILABILITY(ios, introduced = 13)
@interface FIRStorageTaskSnapshot : NSObject
/// The task this snapshot represents.
-@property(nonatomic, readonly, strong) FIRStorageTask *_Nonnull task;
+@property(nonatomic, readonly, strong) FIRStorageTask* _Nonnull task;
/// Metadata returned by the task, or nil
if no metadata returned.
-@property(nonatomic, readonly, strong) FIRStorageMetadata *_Nullable metadata;
+@property(nonatomic, readonly, strong) FIRStorageMetadata* _Nullable metadata;
/// The StorageReference
this task operates on.
-@property(nonatomic, readonly, strong) FIRStorageReference *_Nonnull reference;
+@property(nonatomic, readonly, strong) FIRStorageReference* _Nonnull reference;
/// An object which tracks the progress of an upload or download.
-@property(nonatomic, readonly, strong) NSProgress *_Nullable progress;
+@property(nonatomic, readonly, strong) NSProgress* _Nullable progress;
/// An error raised during task execution, or nil
if no error
/// occurred.
-@property(nonatomic, readonly) NSError *_Nullable error;
+@property(nonatomic, readonly) NSError* _Nullable error;
/// The status of the task.
@property(nonatomic, readonly) enum FIRStorageTaskStatus status;
-@property(nonatomic, readonly, copy) NSString *_Nonnull description;
+@property(nonatomic, readonly, copy) NSString* _Nonnull description;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
diff --git a/ios_pod/swift_headers/Promises-Swift.h b/ios_pod/swift_headers/Promises-Swift.h
index 1e4dcf3b4..8d78bb361 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 2025 Google LLC
-// Copied from Firebase iOS SDK 12.2.0.
+// Copied from Firebase iOS SDK 12.4.0.
// Generated by Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10
// clang-1600.0.30.1)
@@ -340,7 +340,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#elif defined(__x86_64__) && __x86_64__
// Copyright 2025 Google LLC
-// Copied from Firebase iOS SDK 12.2.0.
+// Copied from Firebase iOS SDK 12.4.0.
// Generated by Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10
// clang-1600.0.30.1)
diff --git a/ios_pod/swift_headers/SwiftProtobuf-Swift.h b/ios_pod/swift_headers/SwiftProtobuf-Swift.h
index eec865a25..9602030a1 100644
--- a/ios_pod/swift_headers/SwiftProtobuf-Swift.h
+++ b/ios_pod/swift_headers/SwiftProtobuf-Swift.h
@@ -1,7 +1,7 @@
#if 0
#elif defined(__arm64__) && __arm64__
// Copyright 2025 Google LLC
-// Copied from Firebase iOS SDK 12.2.0.
+// Copied from Firebase iOS SDK 12.4.0.
// Generated by Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10
// clang-1600.0.30.1)
@@ -341,7 +341,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#elif defined(__x86_64__) && __x86_64__
// Copyright 2025 Google LLC
-// Copied from Firebase iOS SDK 12.2.0.
+// Copied from Firebase iOS SDK 12.4.0.
// Generated by Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10
// clang-1600.0.30.1)
diff --git a/messaging/integration_test/Podfile b/messaging/integration_test/Podfile
index 9519454b3..408277b91 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.2.0'
- pod 'Firebase/Functions', '12.2.0'
+ pod 'Firebase/Messaging', '12.4.0'
+ pod 'Firebase/Functions', '12.4.0'
end
target 'integration_test_tvos' do
platform :tvos, '15.0'
- pod 'Firebase/Messaging', '12.2.0'
- pod 'Firebase/Functions', '12.2.0'
+ pod 'Firebase/Messaging', '12.4.0'
+ pod 'Firebase/Functions', '12.4.0'
end
post_install do |installer|
diff --git a/messaging/messaging_java/build.gradle b/messaging/messaging_java/build.gradle
index 7080de4a2..1699c70a2 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.2.0')
+ implementation platform('com.google.firebase:firebase-bom:34.4.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 62c3158e2..a87c019a4 100644
--- a/release_build_files/Android/firebase_dependencies.gradle
+++ b/release_build_files/Android/firebase_dependencies.gradle
@@ -20,7 +20,7 @@ def firebaseDependenciesMap = [
'app_check' : ['com.google.firebase:firebase-appcheck',
'com.google.firebase:firebase-appcheck-debug',
'com.google.firebase:firebase-appcheck-playintegrity'],
- 'play_services' : ['com.google.android.gms:play-services-base:18.7.2'],
+ 'play_services' : ['com.google.android.gms:play-services-base:18.9.0'],
'analytics' : ['com.google.firebase:firebase-analytics'],
'auth' : ['com.google.firebase:firebase-auth'],
'database' : ['com.google.firebase:firebase-database'],
@@ -123,7 +123,7 @@ project.afterEvaluate {
// Add the bill-of-materials
project.dependencies {
- implementation platform('com.google.firebase:firebase-bom:34.2.0')
+ implementation platform('com.google.firebase:firebase-bom:34.4.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 2f051dfcc..04fd0cbf6 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.2.0)
+All Firebase SDKs | platform(com.google.firebase:firebase-bom:34.4.0)
| | (Android Bill of Materials)
Firebase Analytics | libfirebase_analytics.a
| | libfirebase_app.a
@@ -164,7 +164,7 @@ User Messaging Platform | libfirebase_ump.a
| | (Maven package)
| | com.google.android.ump:user-messaging-platform:3.2.0
| | (Maven package)
-Google Play services module| com.google.android.gms:play-services-base:18.7.2
+Google Play services module| com.google.android.gms:play-services-base:18.9.0
| | (Maven package)
The Firebase C++ SDK uses an Android BoM (Bill of Materials) to specify a single
@@ -219,45 +219,45 @@ Feature | Required Frameworks and Cocoapods
-------------------------- | ---------------------------------------
Firebase Analytics | firebase_analytics.xcframework
| | firebase.xcframework
-| | Firebase/Analytics Cocoapod (12.2.0)
+| | Firebase/Analytics Cocoapod (12.4.0)
Firebase App Check | firebase_app_check.xcframework
| | firebase.xcframework
-| | Firebase/AppCheck Cocoapod (12.2.0)
+| | Firebase/AppCheck Cocoapod (12.4.0)
Firebase Authentication | firebase_auth.xcframework
| | firebase.xcframework
-| | Firebase/Auth Cocoapod (12.2.0)
+| | Firebase/Auth Cocoapod (12.4.0)
Cloud Firestore | firebase_firestore.xcframework
| | firebase_auth.xcframework
| | firebase.xcframework
-| | Firebase/Firestore Cocoapod (12.2.0)
-| | Firebase/Auth Cocoapod (12.2.0)
+| | Firebase/Firestore Cocoapod (12.4.0)
+| | Firebase/Auth Cocoapod (12.4.0)
Firebase Functions | firebase_functions.xcframework
| | firebase_auth.xcframework (optional)
| | firebase.xcframework
-| | Firebase/Functions Cocoapod (12.2.0)
-| | Firebase/Auth Cocoapod (12.2.0)
+| | Firebase/Functions Cocoapod (12.4.0)
+| | Firebase/Auth Cocoapod (12.4.0)
Firebase Installations | firebase_installations.xcframework
| | firebase.xcframework
-| | FirebaseInstallations Cocoapod (12.2.0)
+| | FirebaseInstallations Cocoapod (12.4.0)
Firebase Cloud Messaging | firebase_messaging.xcframework
| | firebase.xcframework
-| | Firebase/Messaging Cocoapod (12.2.0)
+| | Firebase/Messaging Cocoapod (12.4.0)
Firebase Realtime Database | firebase_database.xcframework
| | firebase_auth.xcframework
| | firebase.xcframework
-| | Firebase/Database Cocoapod (12.2.0)
-| | Firebase/Auth Cocoapod (12.2.0)
+| | Firebase/Database Cocoapod (12.4.0)
+| | Firebase/Auth Cocoapod (12.4.0)
Firebase Remote Config | firebase_remote_config.xcframework
| | firebase.xcframework
-| | Firebase/RemoteConfig Cocoapod (12.2.0)
+| | Firebase/RemoteConfig Cocoapod (12.4.0)
Firebase Storage | firebase_storage.xcframework
| | firebase_auth.xcframework
| | firebase.xcframework
-| | Firebase/Storage Cocoapod (12.2.0)
-| | Firebase/Auth Cocoapod (12.2.0)
+| | Firebase/Storage Cocoapod (12.4.0)
+| | Firebase/Auth Cocoapod (12.4.0)
User Messaging Platform | firebase_ump.xcframework
| | firebase.xcframework
-| | Firebase/CoreOnly Cocoapod (12.2.0)
+| | Firebase/CoreOnly Cocoapod (12.4.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.2.0)
+| | Firebase/Analytics Cocoapod (12.4.0)
Firebase App Check | firebase_app_check.xcframework
| | firebase.xcframework
-| | Firebase/AppCheck Cocoapod (12.2.0)
+| | Firebase/AppCheck Cocoapod (12.4.0)
Firebase Authentication | libfirebase_auth.a
| | libfirebase_app.a
-| | Firebase/Auth Cocoapod (12.2.0)
+| | Firebase/Auth Cocoapod (12.4.0)
Cloud Firestore | libfirebase_firestore.a
| | libfirebase_app.a
| | libfirebase_auth.a
-| | Firebase/Firestore Cocoapod (12.2.0)
-| | Firebase/Auth Cocoapod (12.2.0)
+| | Firebase/Firestore Cocoapod (12.4.0)
+| | Firebase/Auth Cocoapod (12.4.0)
Firebase Functions | libfirebase_functions.a
| | libfirebase_app.a
| | libfirebase_auth.a (optional)
-| | Firebase/Functions Cocoapod (12.2.0)
-| | Firebase/Auth Cocoapod (12.2.0)
+| | Firebase/Functions Cocoapod (12.4.0)
+| | Firebase/Auth Cocoapod (12.4.0)
Firebase Installations | libfirebase_installations.a
| | libfirebase_app.a
-| | FirebaseInstallations Cocoapod (12.2.0)
+| | FirebaseInstallations Cocoapod (12.4.0)
Firebase Cloud Messaging | libfirebase_messaging.a
| | libfirebase_app.a
-| | Firebase/CloudMessaging Cocoapod (12.2.0)
+| | Firebase/CloudMessaging Cocoapod (12.4.0)
Firebase Realtime Database | libfirebase_database.a
| | libfirebase_app.a
| | libfirebase_auth.a
-| | Firebase/Database Cocoapod (12.2.0)
-| | Firebase/Auth Cocoapod (12.2.0)
+| | Firebase/Database Cocoapod (12.4.0)
+| | Firebase/Auth Cocoapod (12.4.0)
Firebase Remote Config | libfirebase_remote_config.a
| | libfirebase_app.a
-| | Firebase/RemoteConfig Cocoapod (12.2.0)
+| | Firebase/RemoteConfig Cocoapod (12.4.0)
Firebase Storage | libfirebase_storage.a
| | libfirebase_app.a
| | libfirebase_auth.a
-| | Firebase/Storage Cocoapod (12.2.0)
-| | Firebase/Auth Cocoapod (12.2.0)
+| | Firebase/Storage Cocoapod (12.4.0)
+| | Firebase/Auth Cocoapod (12.4.0)
User Messaging Platform | libfirebase_ump.a
| | libfirebase_app.a
-| | Firebase/CoreOnly Cocoapod (12.2.0)
+| | Firebase/CoreOnly Cocoapod (12.4.0)
| | GoogleUserMessagingPlatform Cocoapod (2.3.0)
Important: Each version of the Firebase C++ SDK supports a specific version of
@@ -613,6 +613,11 @@ workflow use only during the development of your app, not for publicly shipping
code.
## Release Notes
+### 13.2.0
+- Changes
+ - General (Android): Update to Firebase Android BoM version 34.4.0.
+ - General (iOS): Update to Firebase Cocoapods version 12.4.0.
+
### 13.1.0
- Changes
- General (Android): Update to Firebase Android BoM version 34.2.0.
diff --git a/remote_config/integration_test/Podfile b/remote_config/integration_test/Podfile
index 0d63f000f..f13984209 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.2.0'
+ pod 'Firebase/RemoteConfig', '12.4.0'
end
target 'integration_test_tvos' do
platform :tvos, '15.0'
- pod 'Firebase/RemoteConfig', '12.2.0'
+ pod 'Firebase/RemoteConfig', '12.4.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 91ec6fddd..f2842ee92 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.2.0')
+ implementation platform('com.google.firebase:firebase-bom:34.4.0')
implementation 'com.google.firebase:firebase-config'
}
diff --git a/storage/integration_test/Podfile b/storage/integration_test/Podfile
index e73e207f9..2bcea2e7d 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.2.0'
- pod 'Firebase/Auth', '12.2.0'
+ pod 'Firebase/Storage', '12.4.0'
+ pod 'Firebase/Auth', '12.4.0'
end
target 'integration_test_tvos' do
platform :tvos, '15.0'
- pod 'Firebase/Storage', '12.2.0'
- pod 'Firebase/Auth', '12.2.0'
+ pod 'Firebase/Storage', '12.4.0'
+ pod 'Firebase/Auth', '12.4.0'
end
post_install do |installer|
diff --git a/storage/storage_resources/build.gradle b/storage/storage_resources/build.gradle
index 8a407f3bd..4a3c09e59 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.2.0')
+ implementation platform('com.google.firebase:firebase-bom:34.4.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 f694431a7..5784fb73f 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.2.0'
+ pod 'Firebase/CoreOnly', '12.4.0'
pod 'GoogleUserMessagingPlatform', '2.3.0'
end
diff --git a/ump/ump_resources/build.gradle b/ump/ump_resources/build.gradle
index 482f6fb78..b12f44575 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.2.0')
+ implementation platform('com.google.firebase:firebase-bom:34.4.0')
implementation 'com.google.firebase:firebase-analytics'
implementation 'com.google.android.ump:user-messaging-platform:3.2.0'
}