-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
299 changed files
with
9,676 additions
and
283 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+0 Bytes
(100%)
...aseFirestore/BoringSSL-GRPC.xcframework/ios-arm64/BoringSSL-GRPC.framework/BoringSSL-GRPC
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...SSL-GRPC.xcframework/ios-arm64_x86_64-maccatalyst/BoringSSL-GRPC.framework/BoringSSL-GRPC
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...ngSSL-GRPC.xcframework/ios-arm64_x86_64-simulator/BoringSSL-GRPC.framework/BoringSSL-GRPC
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...ore/BoringSSL-GRPC.xcframework/macos-arm64_x86_64/BoringSSL-GRPC.framework/BoringSSL-GRPC
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...seFirestore/BoringSSL-GRPC.xcframework/tvos-arm64/BoringSSL-GRPC.framework/BoringSSL-GRPC
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...gSSL-GRPC.xcframework/tvos-arm64_x86_64-simulator/BoringSSL-GRPC.framework/BoringSSL-GRPC
Binary file not shown.
95 changes: 95 additions & 0 deletions
95
FirebaseFirestore/FirebaseCoreExtension.xcframework/Info.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>AvailableLibraries</key> | ||
<array> | ||
<dict> | ||
<key>LibraryIdentifier</key> | ||
<string>macos-arm64_x86_64</string> | ||
<key>LibraryPath</key> | ||
<string>FirebaseCoreExtension.framework</string> | ||
<key>SupportedArchitectures</key> | ||
<array> | ||
<string>arm64</string> | ||
<string>x86_64</string> | ||
</array> | ||
<key>SupportedPlatform</key> | ||
<string>macos</string> | ||
</dict> | ||
<dict> | ||
<key>LibraryIdentifier</key> | ||
<string>tvos-arm64</string> | ||
<key>LibraryPath</key> | ||
<string>FirebaseCoreExtension.framework</string> | ||
<key>SupportedArchitectures</key> | ||
<array> | ||
<string>arm64</string> | ||
</array> | ||
<key>SupportedPlatform</key> | ||
<string>tvos</string> | ||
</dict> | ||
<dict> | ||
<key>LibraryIdentifier</key> | ||
<string>ios-arm64</string> | ||
<key>LibraryPath</key> | ||
<string>FirebaseCoreExtension.framework</string> | ||
<key>SupportedArchitectures</key> | ||
<array> | ||
<string>arm64</string> | ||
</array> | ||
<key>SupportedPlatform</key> | ||
<string>ios</string> | ||
</dict> | ||
<dict> | ||
<key>LibraryIdentifier</key> | ||
<string>ios-arm64_x86_64-maccatalyst</string> | ||
<key>LibraryPath</key> | ||
<string>FirebaseCoreExtension.framework</string> | ||
<key>SupportedArchitectures</key> | ||
<array> | ||
<string>arm64</string> | ||
<string>x86_64</string> | ||
</array> | ||
<key>SupportedPlatform</key> | ||
<string>ios</string> | ||
<key>SupportedPlatformVariant</key> | ||
<string>maccatalyst</string> | ||
</dict> | ||
<dict> | ||
<key>LibraryIdentifier</key> | ||
<string>tvos-arm64_x86_64-simulator</string> | ||
<key>LibraryPath</key> | ||
<string>FirebaseCoreExtension.framework</string> | ||
<key>SupportedArchitectures</key> | ||
<array> | ||
<string>arm64</string> | ||
<string>x86_64</string> | ||
</array> | ||
<key>SupportedPlatform</key> | ||
<string>tvos</string> | ||
<key>SupportedPlatformVariant</key> | ||
<string>simulator</string> | ||
</dict> | ||
<dict> | ||
<key>LibraryIdentifier</key> | ||
<string>ios-arm64_x86_64-simulator</string> | ||
<key>LibraryPath</key> | ||
<string>FirebaseCoreExtension.framework</string> | ||
<key>SupportedArchitectures</key> | ||
<array> | ||
<string>arm64</string> | ||
<string>x86_64</string> | ||
</array> | ||
<key>SupportedPlatform</key> | ||
<string>ios</string> | ||
<key>SupportedPlatformVariant</key> | ||
<string>simulator</string> | ||
</dict> | ||
</array> | ||
<key>CFBundlePackageType</key> | ||
<string>XFWK</string> | ||
<key>XCFrameworkFormatVersion</key> | ||
<string>1.0</string> | ||
</dict> | ||
</plist> |
Binary file added
BIN
+15.3 KB
...CoreExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/FirebaseCoreExtension
Binary file not shown.
159 changes: 159 additions & 0 deletions
159
...eExtension.xcframework/ios-arm64/FirebaseCoreExtension.framework/Headers/FIRAppInternal.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,159 @@ | ||
/* | ||
* Copyright 2017 Google | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
#import <FirebaseCore/FIRApp.h> | ||
|
||
@class FIRComponentContainer; | ||
@class FIRHeartbeatLogger; | ||
@protocol FIRLibrary; | ||
|
||
/** | ||
* The internal interface to `FirebaseApp`. This is meant for first-party integrators, who need to | ||
* receive `FirebaseApp` notifications, log info about the success or failure of their | ||
* configuration, and access other internal functionality of `FirebaseApp`. | ||
*/ | ||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
typedef NS_ENUM(NSInteger, FIRConfigType) { | ||
FIRConfigTypeCore = 1, | ||
FIRConfigTypeSDK = 2, | ||
}; | ||
|
||
extern NSString *const kFIRDefaultAppName; | ||
extern NSString *const kFIRAppReadyToConfigureSDKNotification; | ||
extern NSString *const kFIRAppDeleteNotification; | ||
extern NSString *const kFIRAppIsDefaultAppKey; | ||
extern NSString *const kFIRAppNameKey; | ||
extern NSString *const kFIRGoogleAppIDKey; | ||
extern NSString *const kFirebaseCoreErrorDomain; | ||
|
||
/** The `UserDefaults` suite name for `FirebaseCore`, for those storage locations that use it. */ | ||
extern NSString *const kFirebaseCoreDefaultsSuiteName; | ||
|
||
/** | ||
* The format string for the `UserDefaults` key used for storing the data collection enabled flag. | ||
* This includes formatting to append the `FirebaseApp`'s name. | ||
*/ | ||
extern NSString *const kFIRGlobalAppDataCollectionEnabledDefaultsKeyFormat; | ||
|
||
/** | ||
* The plist key used for storing the data collection enabled flag. | ||
*/ | ||
extern NSString *const kFIRGlobalAppDataCollectionEnabledPlistKey; | ||
|
||
/** @var FirebaseAuthStateDidChangeInternalNotification | ||
@brief The name of the @c NotificationCenter notification which is posted when the auth state | ||
changes (e.g. a new token has been produced, a user logs in or out). The object parameter of | ||
the notification is a dictionary possibly containing the key: | ||
@c FirebaseAuthStateDidChangeInternalNotificationTokenKey (the new access token.) If it does not | ||
contain this key it indicates a sign-out event took place. | ||
*/ | ||
extern NSString *const FIRAuthStateDidChangeInternalNotification; | ||
|
||
/** @var FirebaseAuthStateDidChangeInternalNotificationTokenKey | ||
@brief A key present in the dictionary object parameter of the | ||
@c FirebaseAuthStateDidChangeInternalNotification notification. The value associated with this | ||
key will contain the new access token. | ||
*/ | ||
extern NSString *const FIRAuthStateDidChangeInternalNotificationTokenKey; | ||
|
||
/** @var FirebaseAuthStateDidChangeInternalNotificationAppKey | ||
@brief A key present in the dictionary object parameter of the | ||
@c FirebaseAuthStateDidChangeInternalNotification notification. The value associated with this | ||
key will contain the FirebaseApp associated with the auth instance. | ||
*/ | ||
extern NSString *const FIRAuthStateDidChangeInternalNotificationAppKey; | ||
|
||
/** @var FirebaseAuthStateDidChangeInternalNotificationUIDKey | ||
@brief A key present in the dictionary object parameter of the | ||
@c FirebaseAuthStateDidChangeInternalNotification notification. The value associated with this | ||
key will contain the new user's UID (or nil if there is no longer a user signed in). | ||
*/ | ||
extern NSString *const FIRAuthStateDidChangeInternalNotificationUIDKey; | ||
|
||
@interface FIRApp () | ||
|
||
/** | ||
* A flag indicating if this is the default app (has the default app name). | ||
*/ | ||
@property(nonatomic, readonly) BOOL isDefaultApp; | ||
|
||
/** | ||
* The container of interop SDKs for this app. | ||
*/ | ||
@property(nonatomic) FIRComponentContainer *container; | ||
|
||
/** | ||
* The heartbeat logger associated with this app. | ||
* | ||
* Firebase apps have a 1:1 relationship with heartbeat loggers. | ||
*/ | ||
@property(readonly) FIRHeartbeatLogger *heartbeatLogger; | ||
|
||
/** | ||
* Checks if the default app is configured without trying to configure it. | ||
*/ | ||
+ (BOOL)isDefaultAppConfigured; | ||
|
||
/** | ||
* Registers a given third-party library with the given version number to be reported for | ||
* analytics. | ||
* | ||
* @param name Name of the library. | ||
* @param version Version of the library. | ||
*/ | ||
+ (void)registerLibrary:(nonnull NSString *)name withVersion:(nonnull NSString *)version; | ||
|
||
/** | ||
* Registers a given internal library to be reported for analytics. | ||
* | ||
* @param library Optional parameter for component registration. | ||
* @param name Name of the library. | ||
*/ | ||
+ (void)registerInternalLibrary:(nonnull Class<FIRLibrary>)library | ||
withName:(nonnull NSString *)name; | ||
|
||
/** | ||
* Registers a given internal library with the given version number to be reported for | ||
* analytics. This should only be used for non-Firebase libraries that have their own versioning | ||
* scheme. | ||
* | ||
* @param library Optional parameter for component registration. | ||
* @param name Name of the library. | ||
* @param version Version of the library. | ||
*/ | ||
+ (void)registerInternalLibrary:(nonnull Class<FIRLibrary>)library | ||
withName:(nonnull NSString *)name | ||
withVersion:(nonnull NSString *)version; | ||
|
||
/** | ||
* A concatenated string representing all the third-party libraries and version numbers. | ||
*/ | ||
+ (NSString *)firebaseUserAgent; | ||
|
||
/** | ||
* Can be used by the unit tests in each SDK to reset `FirebaseApp`. This method is thread unsafe. | ||
*/ | ||
+ (void)resetApps; | ||
|
||
/** | ||
* Can be used by the unit tests in each SDK to set customized options. | ||
*/ | ||
- (instancetype)initInstanceWithName:(NSString *)name options:(FIROptions *)options; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
Oops, something went wrong.