From aca600212ff84587e15aad341babd5eb2faf69a5 Mon Sep 17 00:00:00 2001
From: lpw
Date: Sat, 03 Jun 2023 09:15:01 +0800
Subject: [PATCH] 3.15.0
---
frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Headers/FIROptions.h | 49 +++++++++++++++++++++++++++----------------------
1 files changed, 27 insertions(+), 22 deletions(-)
diff --git a/frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Headers/FIROptions.h b/frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Headers/FIROptions.h
index afabbf1..8f8d945 100644
--- a/frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Headers/FIROptions.h
+++ b/frameworks/FirebaseCore.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCore.framework/Headers/FIROptions.h
@@ -31,31 +31,32 @@
+ (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.
+ * Unused.
*/
-@property(nonatomic, copy, nullable) NSString *trackingID;
+@property(nonatomic, copy, nullable) NSString *trackingID DEPRECATED_ATTRIBUTE;
/**
* 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);
@@ -65,10 +66,9 @@
@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".
+ * Unused.
*/
-@property(nonatomic, copy, nullable) NSString *androidClientID;
+@property(nonatomic, copy, nullable) NSString *androidClientID DEPRECATED_ATTRIBUTE;
/**
* The Google App ID that is used to uniquely identify an instance of an app.
@@ -98,25 +98,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:"GoogleServices-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 `GoogleServices-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