From 541d8329b68d841dd35946f0a4df5b9ec4766f86 Mon Sep 17 00:00:00 2001 From: lpw <812862340@qq.com> Date: Thu, 11 Sep 2025 09:04:28 +0800 Subject: [PATCH] 提交版本 4.7.0 --- frameworks/FirebaseCore.xcframework/tvos-arm64/FirebaseCore.framework/Headers/FIROptions.h | 56 +++++++++++++++++++++++--------------------------------- 1 files changed, 23 insertions(+), 33 deletions(-) diff --git a/frameworks/FirebaseCore.xcframework/tvos-arm64/FirebaseCore.framework/Headers/FIROptions.h b/frameworks/FirebaseCore.xcframework/tvos-arm64/FirebaseCore.framework/Headers/FIROptions.h index afabbf1..4e9f885 100644 --- a/frameworks/FirebaseCore.xcframework/tvos-arm64/FirebaseCore.framework/Headers/FIROptions.h +++ b/frameworks/FirebaseCore.xcframework/tvos-arm64/FirebaseCore.framework/Headers/FIROptions.h @@ -31,31 +31,27 @@ + (nullable FIROptions *)defaultOptions NS_SWIFT_NAME(defaultOptions()); /** - * An iOS API key used for authenticating requests from your app, e.g. - * @"AIzaSyDdVgKwhZl0sTTTLZ7iTmt1r3N2cJLnaDk", used to identify your app to Google servers. + * An API key used for authenticating requests from your Apple app, e.g. + * The key must begin with "A" and contain exactly 39 alphanumeric characters, used to identify your + * app to Google servers. */ @property(nonatomic, copy, nullable) NSString *APIKey NS_SWIFT_NAME(apiKey); /** - * The bundle ID for the application. Defaults to `[[NSBundle mainBundle] bundleID]` when not set + * The bundle ID for the application. Defaults to `Bundle.main.bundleIdentifier` when not set * manually or in a plist. */ @property(nonatomic, copy) NSString *bundleID; /** - * The OAuth2 client ID for iOS application used to authenticate Google users, for example + * The OAuth2 client ID for Apple applications used to authenticate Google users, for example * @"12345.apps.googleusercontent.com", used for signing in with Google. */ @property(nonatomic, copy, nullable) NSString *clientID; /** - * The tracking ID for Google Analytics, e.g. @"UA-12345678-1", used to configure Google Analytics. - */ -@property(nonatomic, copy, nullable) NSString *trackingID; - -/** * The Project Number from the Google Developer's console, for example @"012345678901", used to - * configure Google Cloud Messaging. + * configure Firebase Cloud Messaging. */ @property(nonatomic, copy) NSString *GCMSenderID NS_SWIFT_NAME(gcmSenderID); @@ -63,12 +59,6 @@ * The Project ID from the Firebase console, for example @"abc-xyz-123". */ @property(nonatomic, copy, nullable) NSString *projectID; - -/** - * The Android client ID used in Google AppInvite when an iOS app has its Android version, for - * example @"12345.apps.googleusercontent.com". - */ -@property(nonatomic, copy, nullable) NSString *androidClientID; /** * The Google App ID that is used to uniquely identify an instance of an app. @@ -79,11 +69,6 @@ * The database root URL, e.g. @"http://abc-xyz-123.firebaseio.com". */ @property(nonatomic, copy, nullable) NSString *databaseURL; - -/** - * The URL scheme used to set up Durable Deep Link service. - */ -@property(nonatomic, copy, nullable) NSString *deepLinkURLScheme; /** * The Google Cloud Storage bucket name, e.g. @"abc-xyz-123.storage.firebase.com". @@ -98,25 +83,30 @@ @property(nonatomic, copy, nullable) NSString *appGroupID; /** - * Initializes a customized instance of FIROptions from the file at the given plist file path. This - * will read the file synchronously from disk. - * For example, - * NSString *filePath = - * [[NSBundle mainBundle] pathForResource:@"GoogleService-Info" ofType:@"plist"]; - * FIROptions *options = [[FIROptions alloc] initWithContentsOfFile:filePath]; - * Returns nil if the plist file does not exist or is invalid. + * Initializes a customized instance of FirebaseOptions from the file at the given plist file path. + * This will read the file synchronously from disk. + * For example: + * ```swift + * if let path = Bundle.main.path(forResource:"GoogleService-Info", ofType:"plist") { + * let options = FirebaseOptions(contentsOfFile: path) + * } + * ``` + * Note that it is not possible to customize `FirebaseOptions` for Firebase Analytics which expects + * a static file named `GoogleService-Info.plist` - + * https://github.com/firebase/firebase-ios-sdk/issues/230. + * Returns `nil` if the plist file does not exist or is invalid. */ - (nullable instancetype)initWithContentsOfFile:(NSString *)plistPath NS_DESIGNATED_INITIALIZER; /** - * Initializes a customized instance of FIROptions with required fields. Use the mutable properties - * to modify fields for configuring specific services. + * Initializes a customized instance of `FirebaseOptions` with required fields. Use the mutable + * properties to modify fields for configuring specific services. Note that it is not possible to + * customize `FirebaseOptions` for Firebase Analytics which expects a static file named + * `GoogleServices-Info.plist` - https://github.com/firebase/firebase-ios-sdk/issues/230. */ -// clang-format off - (instancetype)initWithGoogleAppID:(NSString *)googleAppID GCMSenderID:(NSString *)GCMSenderID - NS_SWIFT_NAME(init(googleAppID:gcmSenderID:)) NS_DESIGNATED_INITIALIZER; -// clang-format on + NS_SWIFT_NAME(init(googleAppID:gcmSenderID:))NS_DESIGNATED_INITIALIZER; /** Unavailable. Please use `init(contentsOfFile:)` or `init(googleAppID:gcmSenderID:)` instead. */ - (instancetype)init NS_UNAVAILABLE; -- Gitblit v1.8.0