-
-
Notifications
You must be signed in to change notification settings - Fork 18
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 #66 from hansemannn/feature/ios-10.12.0
feat(ios): update Firebase iOS SDK to 10.12.0
- Loading branch information
Showing
90 changed files
with
5,180 additions
and
19 deletions.
There are no files selected for viewing
Binary file not shown.
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
-2.02 MB
(38%)
...rebaseCrashlytics.xcframework/ios-arm64/FirebaseCrashlytics.framework/FirebaseCrashlytics
Binary file not shown.
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
+44.3 KB
(100%)
...cframework/ios-arm64_x86_64-maccatalyst/FirebaseCrashlytics.framework/FirebaseCrashlytics
Binary file not shown.
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
+43.9 KB
(100%)
....xcframework/ios-arm64_x86_64-simulator/FirebaseCrashlytics.framework/FirebaseCrashlytics
Binary file not shown.
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
+44.2 KB
(100%)
...shlytics.xcframework/macos-arm64_x86_64/FirebaseCrashlytics.framework/FirebaseCrashlytics
Binary file not shown.
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
-1.86 MB
(38%)
...ebaseCrashlytics.xcframework/tvos-arm64/FirebaseCrashlytics.framework/FirebaseCrashlytics
Binary file not shown.
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
+44.3 KB
(100%)
...xcframework/tvos-arm64_x86_64-simulator/FirebaseCrashlytics.framework/FirebaseCrashlytics
Binary file not shown.
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
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>ios-arm64</string> | ||
<key>LibraryPath</key> | ||
<string>FirebaseSessions.framework</string> | ||
<key>SupportedArchitectures</key> | ||
<array> | ||
<string>arm64</string> | ||
</array> | ||
<key>SupportedPlatform</key> | ||
<string>ios</string> | ||
</dict> | ||
<dict> | ||
<key>LibraryIdentifier</key> | ||
<string>tvos-arm64_x86_64-simulator</string> | ||
<key>LibraryPath</key> | ||
<string>FirebaseSessions.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-maccatalyst</string> | ||
<key>LibraryPath</key> | ||
<string>FirebaseSessions.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>macos-arm64_x86_64</string> | ||
<key>LibraryPath</key> | ||
<string>FirebaseSessions.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>FirebaseSessions.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-simulator</string> | ||
<key>LibraryPath</key> | ||
<string>FirebaseSessions.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
+618 KB
...atform/FirebaseSessions.xcframework/ios-arm64/FirebaseSessions.framework/FirebaseSessions
Binary file not shown.
96 changes: 96 additions & 0 deletions
96
...seSessions.xcframework/ios-arm64/FirebaseSessions.framework/Headers/FIRSESNanoPBHelpers.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,96 @@ | ||
// | ||
// Copyright 2022 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. | ||
|
||
#ifndef FIRSESNanoPBHelpers_h | ||
#define FIRSESNanoPBHelpers_h | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
#import <TargetConditionals.h> | ||
#if __has_include("CoreTelephony/CTTelephonyNetworkInfo.h") && !TARGET_OS_MACCATALYST && \ | ||
!TARGET_OS_OSX && !TARGET_OS_TV | ||
#define TARGET_HAS_MOBILE_CONNECTIVITY | ||
#import <CoreTelephony/CTCarrier.h> | ||
#import <CoreTelephony/CTTelephonyNetworkInfo.h> | ||
#endif | ||
|
||
#import <nanopb/pb.h> | ||
#import <nanopb/pb_decode.h> | ||
#import <nanopb/pb_encode.h> | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
/// Deinitializes a nanopb struct. Rewritten here to expose to Swift, since `pb_free` is a macro. | ||
void nanopb_free(void* _Nullable); | ||
|
||
/// Returns an error associated with the istream. Written in Objective-C because Swift does not | ||
/// support C language macros | ||
NSString* FIRSESPBGetError(pb_istream_t istream); | ||
|
||
// It seems impossible to specify the nullability of the `fields` parameter below, | ||
// yet the compiler complains that it's missing a nullability specifier. Google | ||
// yields no results at this time. | ||
#pragma clang diagnostic push | ||
#pragma clang diagnostic ignored "-Wnullability-completeness" | ||
NSData* _Nullable FIRSESEncodeProto(const pb_field_t fields[], | ||
const void* _Nonnull proto, | ||
NSError** error); | ||
#pragma clang diagnostic pop | ||
|
||
/// Mallocs a pb_bytes_array and copies the given NSData bytes into the bytes array. | ||
/// @note Memory needs to be freed manually, through pb_free or pb_release. | ||
/// @param data The data to copy into the new bytes array. | ||
pb_bytes_array_t* _Nullable FIRSESEncodeData(NSData* _Nullable data); | ||
|
||
/// Mallocs a pb_bytes_array and copies the given NSString's bytes into the bytes array. | ||
/// @note Memory needs to be freed manually, through pb_free or pb_release. | ||
/// @param string The string to encode as pb_bytes. | ||
pb_bytes_array_t* _Nullable FIRSESEncodeString(NSString* _Nullable string); | ||
|
||
/// Decodes an array of nanopb bytes into an NSData object | ||
/// @param pbData nanopb data | ||
NSData* FIRSESDecodeData(pb_bytes_array_t* pbData); | ||
|
||
/// Decodes an array of nanopb bytes into an NSString object | ||
/// @param pbData nanopb data | ||
NSString* FIRSESDecodeString(pb_bytes_array_t* pbData); | ||
|
||
/// Checks if 2 nanopb arrays are equal | ||
/// @param array array to check | ||
/// @param expected expected value of the array | ||
BOOL FIRSESIsPBArrayEqual(pb_bytes_array_t* _Nullable array, pb_bytes_array_t* _Nullable expected); | ||
|
||
/// Checks if a nanopb string is equal to an NSString | ||
/// @param pbString nanopb string to check | ||
/// @param str NSString that's expected | ||
BOOL FIRSESIsPBStringEqual(pb_bytes_array_t* _Nullable pbString, NSString* _Nullable str); | ||
|
||
/// Checks if a nanopb array is equal to NSData | ||
/// @param pbArray nanopb array to check | ||
/// @param data NSData that's expected | ||
BOOL FIRSESIsPBDataEqual(pb_bytes_array_t* _Nullable pbArray, NSData* _Nullable data); | ||
|
||
/// Returns the protobuf tag number. Use this to specify which oneof message type we are | ||
/// using for the platform\_info field. This function is required to be in Objective-C because | ||
/// Swift does not support c-style macros. | ||
pb_size_t FIRSESGetAppleApplicationInfoTag(void); | ||
|
||
/// Returns sysctl entry, useful for obtaining OS build version from the kernel. Copied from a | ||
/// private method in GULAppEnvironmentUtil. | ||
NSString* _Nullable FIRSESGetSysctlEntry(const char* sysctlKey); | ||
|
||
NS_ASSUME_NONNULL_END | ||
|
||
#endif /* FIRSESNanoPBHelpers_h */ |
Oops, something went wrong.