-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from hansemannn/fetaure/ios-10.12.0
feat(ios): update Firebase iOS SDK to 10.12.0
- Loading branch information
Showing
151 changed files
with
2,639 additions
and
586 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
95 changes: 95 additions & 0 deletions
95
ios/platform/FirebaseAppCheckInterop.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>FirebaseAppCheckInterop.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>FirebaseAppCheckInterop.framework</string> | ||
<key>SupportedArchitectures</key> | ||
<array> | ||
<string>arm64</string> | ||
</array> | ||
<key>SupportedPlatform</key> | ||
<string>tvos</string> | ||
</dict> | ||
<dict> | ||
<key>LibraryIdentifier</key> | ||
<string>ios-arm64_x86_64-maccatalyst</string> | ||
<key>LibraryPath</key> | ||
<string>FirebaseAppCheckInterop.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>FirebaseAppCheckInterop.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</string> | ||
<key>LibraryPath</key> | ||
<string>FirebaseAppCheckInterop.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-simulator</string> | ||
<key>LibraryPath</key> | ||
<string>FirebaseAppCheckInterop.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
+4.38 KB
...ckInterop.xcframework/ios-arm64/FirebaseAppCheckInterop.framework/FirebaseAppCheckInterop
Binary file not shown.
56 changes: 56 additions & 0 deletions
56
...erop.xcframework/ios-arm64/FirebaseAppCheckInterop.framework/Headers/FIRAppCheckInterop.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,56 @@ | ||
/* | ||
* Copyright 2020 Google LLC | ||
* | ||
* 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 <Foundation/Foundation.h> | ||
|
||
@protocol FIRAppCheckTokenResultInterop; | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
NS_SWIFT_NAME(AppCheckTokenHandlerInterop) | ||
typedef void (^FIRAppCheckTokenHandlerInterop)(id<FIRAppCheckTokenResultInterop> tokenResult); | ||
|
||
NS_SWIFT_NAME(AppCheckInterop) @protocol FIRAppCheckInterop | ||
|
||
/// Retrieve a cached or generate a new FAA Token. If forcingRefresh == YES always generates a new | ||
/// token and updates the cache. | ||
- (void)getTokenForcingRefresh:(BOOL)forcingRefresh | ||
completion:(FIRAppCheckTokenHandlerInterop)handler | ||
NS_SWIFT_NAME(getToken(forcingRefresh:completion:)); | ||
|
||
/// A notification with the specified name is sent to the default notification center | ||
/// (`NotificationCenter.default`) each time a Firebase app check token is refreshed. | ||
/// The user info dictionary contains `-[self notificationTokenKey]` and | ||
/// `-[self notificationAppNameKey]` keys. | ||
- (NSString *)tokenDidChangeNotificationName; | ||
|
||
/// `userInfo` key for the FAC token in a notification for `tokenDidChangeNotificationName`. | ||
- (NSString *)notificationTokenKey; | ||
/// `userInfo` key for the `FirebaseApp.name` in a notification for | ||
/// `tokenDidChangeNotificationName`. | ||
- (NSString *)notificationAppNameKey; | ||
|
||
// MARK: - Optional API | ||
|
||
@optional | ||
|
||
/// Retrieve a new limited-use Firebase App Check token | ||
- (void)getLimitedUseTokenWithCompletion:(FIRAppCheckTokenHandlerInterop)handler | ||
NS_SWIFT_NAME(getLimitedUseToken(completion:)); | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
32 changes: 32 additions & 0 deletions
32
...ework/ios-arm64/FirebaseAppCheckInterop.framework/Headers/FIRAppCheckTokenResultInterop.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,32 @@ | ||
/* | ||
* Copyright 2020 Google LLC | ||
* | ||
* 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 <Foundation/Foundation.h> | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
@protocol FIRAppCheckTokenResultInterop <NSObject> | ||
|
||
/// App Check token in the case of success or a dummy token in the case of a failure. | ||
/// In general, the value of the token should always be set to the request header. | ||
@property(nonatomic, readonly) NSString *token; | ||
|
||
/// A token fetch error in the case of a failure or `nil` in the case of success. | ||
@property(nonatomic, readonly, nullable) NSError *error; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
18 changes: 18 additions & 0 deletions
18
...rk/ios-arm64/FirebaseAppCheckInterop.framework/Headers/FirebaseAppCheckInterop-umbrella.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,18 @@ | ||
#ifdef __OBJC__ | ||
#import <UIKit/UIKit.h> | ||
#else | ||
#ifndef FOUNDATION_EXPORT | ||
#if defined(__cplusplus) | ||
#define FOUNDATION_EXPORT extern "C" | ||
#else | ||
#define FOUNDATION_EXPORT extern | ||
#endif | ||
#endif | ||
#endif | ||
|
||
#import "FIRAppCheckInterop.h" | ||
#import "FIRAppCheckTokenResultInterop.h" | ||
|
||
FOUNDATION_EXPORT double FirebaseAppCheckInteropVersionNumber; | ||
FOUNDATION_EXPORT const unsigned char FirebaseAppCheckInteropVersionString[]; | ||
|
20 changes: 20 additions & 0 deletions
20
...irebaseAppCheckInterop.xcframework/ios-arm64/FirebaseAppCheckInterop.framework/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,20 @@ | ||
<?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>CFBundleExecutable</key> | ||
<string>FirebaseAppCheckInterop</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>com.firebase.Firebase-FirebaseAppCheckInterop</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundleName</key> | ||
<string>FirebaseAppCheckInterop</string> | ||
<key>CFBundlePackageType</key> | ||
<string>FMWK</string> | ||
<key>CFBundleVersion</key> | ||
<string>10.12.0</string> | ||
<key>DTSDKName</key> | ||
<string>iphonesimulator11.2</string> | ||
</dict> | ||
</plist> |
5 changes: 5 additions & 0 deletions
5
...kInterop.xcframework/ios-arm64/FirebaseAppCheckInterop.framework/Modules/module.modulemap
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,5 @@ | ||
framework module FirebaseAppCheckInterop { | ||
umbrella header "FirebaseAppCheckInterop-umbrella.h" | ||
export * | ||
module * { export * } | ||
} |
Binary file added
BIN
+9.81 KB
...rk/ios-arm64_x86_64-maccatalyst/FirebaseAppCheckInterop.framework/FirebaseAppCheckInterop
Binary file not shown.
56 changes: 56 additions & 0 deletions
56
...s-arm64_x86_64-maccatalyst/FirebaseAppCheckInterop.framework/Headers/FIRAppCheckInterop.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,56 @@ | ||
/* | ||
* Copyright 2020 Google LLC | ||
* | ||
* 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 <Foundation/Foundation.h> | ||
|
||
@protocol FIRAppCheckTokenResultInterop; | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
NS_SWIFT_NAME(AppCheckTokenHandlerInterop) | ||
typedef void (^FIRAppCheckTokenHandlerInterop)(id<FIRAppCheckTokenResultInterop> tokenResult); | ||
|
||
NS_SWIFT_NAME(AppCheckInterop) @protocol FIRAppCheckInterop | ||
|
||
/// Retrieve a cached or generate a new FAA Token. If forcingRefresh == YES always generates a new | ||
/// token and updates the cache. | ||
- (void)getTokenForcingRefresh:(BOOL)forcingRefresh | ||
completion:(FIRAppCheckTokenHandlerInterop)handler | ||
NS_SWIFT_NAME(getToken(forcingRefresh:completion:)); | ||
|
||
/// A notification with the specified name is sent to the default notification center | ||
/// (`NotificationCenter.default`) each time a Firebase app check token is refreshed. | ||
/// The user info dictionary contains `-[self notificationTokenKey]` and | ||
/// `-[self notificationAppNameKey]` keys. | ||
- (NSString *)tokenDidChangeNotificationName; | ||
|
||
/// `userInfo` key for the FAC token in a notification for `tokenDidChangeNotificationName`. | ||
- (NSString *)notificationTokenKey; | ||
/// `userInfo` key for the `FirebaseApp.name` in a notification for | ||
/// `tokenDidChangeNotificationName`. | ||
- (NSString *)notificationAppNameKey; | ||
|
||
// MARK: - Optional API | ||
|
||
@optional | ||
|
||
/// Retrieve a new limited-use Firebase App Check token | ||
- (void)getLimitedUseTokenWithCompletion:(FIRAppCheckTokenHandlerInterop)handler | ||
NS_SWIFT_NAME(getLimitedUseToken(completion:)); | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
32 changes: 32 additions & 0 deletions
32
..._64-maccatalyst/FirebaseAppCheckInterop.framework/Headers/FIRAppCheckTokenResultInterop.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,32 @@ | ||
/* | ||
* Copyright 2020 Google LLC | ||
* | ||
* 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 <Foundation/Foundation.h> | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
@protocol FIRAppCheckTokenResultInterop <NSObject> | ||
|
||
/// App Check token in the case of success or a dummy token in the case of a failure. | ||
/// In general, the value of the token should always be set to the request header. | ||
@property(nonatomic, readonly) NSString *token; | ||
|
||
/// A token fetch error in the case of a failure or `nil` in the case of success. | ||
@property(nonatomic, readonly, nullable) NSError *error; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
18 changes: 18 additions & 0 deletions
18
...-maccatalyst/FirebaseAppCheckInterop.framework/Headers/FirebaseAppCheckInterop-umbrella.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,18 @@ | ||
#ifdef __OBJC__ | ||
#import <UIKit/UIKit.h> | ||
#else | ||
#ifndef FOUNDATION_EXPORT | ||
#if defined(__cplusplus) | ||
#define FOUNDATION_EXPORT extern "C" | ||
#else | ||
#define FOUNDATION_EXPORT extern | ||
#endif | ||
#endif | ||
#endif | ||
|
||
#import "FIRAppCheckInterop.h" | ||
#import "FIRAppCheckTokenResultInterop.h" | ||
|
||
FOUNDATION_EXPORT double FirebaseAppCheckInteropVersionNumber; | ||
FOUNDATION_EXPORT const unsigned char FirebaseAppCheckInteropVersionString[]; | ||
|
20 changes: 20 additions & 0 deletions
20
...rop.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAppCheckInterop.framework/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,20 @@ | ||
<?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>CFBundleExecutable</key> | ||
<string>FirebaseAppCheckInterop</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>com.firebase.Firebase-FirebaseAppCheckInterop</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundleName</key> | ||
<string>FirebaseAppCheckInterop</string> | ||
<key>CFBundlePackageType</key> | ||
<string>FMWK</string> | ||
<key>CFBundleVersion</key> | ||
<string>10.12.0</string> | ||
<key>DTSDKName</key> | ||
<string>iphonesimulator11.2</string> | ||
</dict> | ||
</plist> |
5 changes: 5 additions & 0 deletions
5
...k/ios-arm64_x86_64-maccatalyst/FirebaseAppCheckInterop.framework/Modules/module.modulemap
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,5 @@ | ||
framework module FirebaseAppCheckInterop { | ||
umbrella header "FirebaseAppCheckInterop-umbrella.h" | ||
export * | ||
module * { export * } | ||
} |
Binary file added
BIN
+8.48 KB
...work/ios-arm64_x86_64-simulator/FirebaseAppCheckInterop.framework/FirebaseAppCheckInterop
Binary file not shown.
Oops, something went wrong.