diff --git a/README.md b/README.md index 0ca802a1..32f89689 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ v1.44.0 - in development | [Charts](charts/) | 5.1.0 | | [ClearAds](cleverads/) | 3.9.3 | | [Facebook](facebook/) | 17.1.0 | -| [Firebase](firebase/) | 11.1.0 | +| [Firebase](firebase/) | 11.2.0 | | [Fyber](fyber/) | 8.3.1 | | [HelpShiftX](helpshift/) | 10.3.1 | | [InMobi](inmobi/) | 10.7.5 | diff --git a/firebase/README.md b/firebase/README.md index a520ab39..46babb2a 100644 --- a/firebase/README.md +++ b/firebase/README.md @@ -6,29 +6,29 @@ Firebase gives you functionality like analytics, databases, messaging and crash | RoboPod | Description | Version | |----------------------------------------------------------------------------------|------------------------------------------------|---------| -| [ios-analytics](ios-analytics/) | Firebase iOS Analytics | 11.1.0 | -| [ios-auth](ios-auth/) | Firebase iOS Authentication | 11.1.0 | -| [ios-core](ios-core/) | Firebase iOS Core | 11.1.0 | -| [ios-crashlytics](ios-crashlytics/) | Firebase iOS Crashlytics | 11.1.0 | -| [ios-database](ios-database/) | Firebase iOS DataBase | 11.1.0 | -| [ios-dylinks](ios-dylinks/) | Firebase iOS Dynamic Links | 11.1.0 | -| [ios-firestore](ios-firestore/) | Firebase iOS Firestore | 11.1.0 | +| [ios-analytics](ios-analytics/) | Firebase iOS Analytics | 11.2.0 | +| [ios-auth](ios-auth/) | Firebase iOS Authentication | 11.2.0 | +| [ios-core](ios-core/) | Firebase iOS Core | 11.2.0 | +| [ios-crashlytics](ios-crashlytics/) | Firebase iOS Crashlytics | 11.2.0 | +| [ios-database](ios-database/) | Firebase iOS DataBase | 11.2.0 | +| [ios-dylinks](ios-dylinks/) | Firebase iOS Dynamic Links | 11.2.0 | +| [ios-firestore](ios-firestore/) | Firebase iOS Firestore | 11.2.0 | | [ios-mobile ads](ios-google-mobile-ads/) | Firebase iOS Google Mobile Ads | 11.8.0 | | [ios-mobile ads-adapters](ios-google-mobile-ads-adapters/) | Firebase iOS AdMob Adapters | | | [ios-mobile ads-mediation-testsuite](ios-google-mobile-ads-mediation-testsuite/) | Firebase iOS Google AdMob Mediation Test Suite | 2.0.0 | -| [ios-google-sign-in](ios-google-sign-in/) | Firebase iOS Google Sign In | 7.1.0 | +| [ios-google-sign-in](ios-google-sign-in/) | Firebase iOS Google Sign In | 8.0.0 | | [ios-google-ump](ios-google-ump/) | Firebase iOS Google UMP | 2.5.0 | -| [ios-messaging](ios-messaging/) | Firebase iOS Messaging | 11.1.0 | -| [ios-installations](ios-installations/) | Firebase iOS Installations | 11.1.0 | -| [ios-remoteconfig](ios-remoteconfig/) | Firebase iOS Remote Config | 11.1.0 | -| [ios-storage](ios-storage/) | Firebase iOS Storage | 11.1.0 | -| [ios-appcheck](ios-appcheck/) | Firebase iOS App Check | 11.1.0 | +| [ios-messaging](ios-messaging/) | Firebase iOS Messaging | 11.2.0 | +| [ios-installations](ios-installations/) | Firebase iOS Installations | 11.2.0 | +| [ios-remoteconfig](ios-remoteconfig/) | Firebase iOS Remote Config | 11.2.0 | +| [ios-storage](ios-storage/) | Firebase iOS Storage | 11.2.0 | +| [ios-appcheck](ios-appcheck/) | Firebase iOS App Check | 11.2.0 | ## Versions | RoboPods Version | Firebase Version | |------------------|------------------| -| 1.44.0 | 11.1.0 | +| 1.44.0 | 11.2.0 | | 1.43.0 | 11.0.0 | | 1.42.0 | 10.28.0 | | 1.41.0 | 10.27.0 | diff --git a/firebase/ios-analytics/pom.xml b/firebase/ios-analytics/pom.xml index b69c853f..f935ba03 100644 --- a/firebase/ios-analytics/pom.xml +++ b/firebase/ios-analytics/pom.xml @@ -7,7 +7,7 @@ robopods-firebase-analytics-ios - RoboPods FireBase Analytics iOS v11.1.0 + RoboPods FireBase Analytics iOS v11.2.0 jar diff --git a/firebase/ios-appcheck/pom.xml b/firebase/ios-appcheck/pom.xml index dfb90c3c..442f3dc5 100644 --- a/firebase/ios-appcheck/pom.xml +++ b/firebase/ios-appcheck/pom.xml @@ -7,7 +7,7 @@ robopods-firebase-app-check-ios - RoboPods FireBase App Check iOS v11.1.0 + RoboPods FireBase App Check iOS v11.2.0 jar diff --git a/firebase/ios-auth/pom.xml b/firebase/ios-auth/pom.xml index 21acc0c6..1d3b631f 100644 --- a/firebase/ios-auth/pom.xml +++ b/firebase/ios-auth/pom.xml @@ -7,7 +7,7 @@ robopods-firebase-auth-ios - RoboPods FireBase Auth iOS v11.1.0 + RoboPods FireBase Auth iOS v11.2.0 jar diff --git a/firebase/ios-core/pom.xml b/firebase/ios-core/pom.xml index 0e610a11..acf54b4d 100644 --- a/firebase/ios-core/pom.xml +++ b/firebase/ios-core/pom.xml @@ -7,7 +7,7 @@ robopods-firebase-core-ios - RoboPods FireBase Core iOS v11.1.0 + RoboPods FireBase Core iOS v11.2.0 jar diff --git a/firebase/ios-crashlytics/pom.xml b/firebase/ios-crashlytics/pom.xml index 1c243eb2..e4888b34 100644 --- a/firebase/ios-crashlytics/pom.xml +++ b/firebase/ios-crashlytics/pom.xml @@ -7,7 +7,7 @@ robopods-firebase-crashlytics-ios - RoboPods FireBase Crashlytics iOS v11.1.0 + RoboPods FireBase Crashlytics iOS v11.2.0 jar diff --git a/firebase/ios-database/pom.xml b/firebase/ios-database/pom.xml index 3af38634..1811f3ba 100644 --- a/firebase/ios-database/pom.xml +++ b/firebase/ios-database/pom.xml @@ -7,7 +7,7 @@ robopods-firebase-database-ios - RoboPods FireBase Realtime Database iOS v11.1.0 + RoboPods FireBase Realtime Database iOS v11.2.0 jar diff --git a/firebase/ios-dylinks/pom.xml b/firebase/ios-dylinks/pom.xml index 3a466163..be3f1c73 100644 --- a/firebase/ios-dylinks/pom.xml +++ b/firebase/ios-dylinks/pom.xml @@ -7,7 +7,7 @@ robopods-firebase-dynamic-links-ios - RoboPods FireBase Dynamic Links iOS v11.1.0 + RoboPods FireBase Dynamic Links iOS v11.2.0 jar diff --git a/firebase/ios-firestore/pom.xml b/firebase/ios-firestore/pom.xml index b7839251..fb8f74ca 100644 --- a/firebase/ios-firestore/pom.xml +++ b/firebase/ios-firestore/pom.xml @@ -7,7 +7,7 @@ robopods-firebase-firestore-ios - RoboPods Cloud Firestore flexible, scalable NoSQL cloud database iOS v11.1.0 + RoboPods Cloud Firestore flexible, scalable NoSQL cloud database iOS v11.2.0 jar diff --git a/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRAggregateField.h b/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRAggregateField.h index be782648..36706d6c 100644 --- a/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRAggregateField.h +++ b/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRAggregateField.h @@ -23,6 +23,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Represents an aggregation that can be performed by Firestore. */ +NS_SWIFT_SENDABLE NS_SWIFT_NAME(AggregateField) @interface FIRAggregateField : NSObject diff --git a/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRAggregateQuery.h b/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRAggregateQuery.h index 8170d5ca..764d395f 100644 --- a/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRAggregateQuery.h +++ b/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRAggregateQuery.h @@ -26,6 +26,7 @@ NS_ASSUME_NONNULL_BEGIN /** * A query that calculates aggregations over an underlying query. */ +NS_SWIFT_SENDABLE NS_SWIFT_NAME(AggregateQuery) @interface FIRAggregateQuery : NSObject diff --git a/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRAggregateQuerySnapshot.h b/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRAggregateQuerySnapshot.h index 9a558beb..220a09ce 100644 --- a/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRAggregateQuerySnapshot.h +++ b/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRAggregateQuerySnapshot.h @@ -24,6 +24,7 @@ NS_ASSUME_NONNULL_BEGIN /** * The results of executing an `AggregateQuery`. */ +NS_SWIFT_SENDABLE NS_SWIFT_NAME(AggregateQuerySnapshot) @interface FIRAggregateQuerySnapshot : NSObject diff --git a/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRCollectionReference.h b/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRCollectionReference.h index 40ece263..e0ad1305 100644 --- a/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRCollectionReference.h +++ b/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRCollectionReference.h @@ -26,6 +26,7 @@ NS_ASSUME_NONNULL_BEGIN * A `CollectionReference` object can be used for adding documents, getting document references, * and querying for documents (using the methods inherited from `Query`). */ +NS_SWIFT_SENDABLE NS_SWIFT_NAME(CollectionReference) @interface FIRCollectionReference : FIRQuery diff --git a/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRDocumentChange.h b/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRDocumentChange.h index e36f7738..c33166f4 100644 --- a/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRDocumentChange.h +++ b/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRDocumentChange.h @@ -43,6 +43,7 @@ typedef NS_ENUM(NSInteger, FIRDocumentChangeType) * A `DocumentChange` represents a change to the documents matching a query. It contains the * document affected and the type of change that occurred (added, modified, or removed). */ +NS_SWIFT_SENDABLE NS_SWIFT_NAME(DocumentChange) @interface FIRDocumentChange : NSObject diff --git a/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRDocumentReference.h b/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRDocumentReference.h index b6f87450..e340057d 100644 --- a/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRDocumentReference.h +++ b/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRDocumentReference.h @@ -39,6 +39,7 @@ typedef void (^FIRDocumentSnapshotBlock)(FIRDocumentSnapshot *_Nullable snapshot * may or may not exist. A `DocumentReference` can also be used to create a `CollectionReference` to * a subcollection. */ +NS_SWIFT_SENDABLE NS_SWIFT_NAME(DocumentReference) @interface FIRDocumentReference : NSObject diff --git a/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRDocumentSnapshot.h b/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRDocumentSnapshot.h index ef6e0118..72a69987 100644 --- a/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRDocumentSnapshot.h +++ b/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRDocumentSnapshot.h @@ -55,6 +55,7 @@ typedef NS_ENUM(NSInteger, FIRServerTimestampBehavior) { * For a `DocumentSnapshot` that points to a non-existing document, any data access will return * `nil`. You can use the `exists` property to explicitly verify a documents existence. */ +NS_SWIFT_SENDABLE NS_SWIFT_NAME(DocumentSnapshot) @interface FIRDocumentSnapshot : NSObject diff --git a/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRFieldPath.h b/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRFieldPath.h index 9f64fbdc..e64bd4e9 100644 --- a/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRFieldPath.h +++ b/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRFieldPath.h @@ -23,6 +23,7 @@ NS_ASSUME_NONNULL_BEGIN * (referring to a top level field in the document), or a list of field names (referring to a nested * field in the document). */ +NS_SWIFT_SENDABLE NS_SWIFT_NAME(FieldPath) @interface FIRFieldPath : NSObject diff --git a/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRFieldValue.h b/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRFieldValue.h index 8add3dec..9defa3a0 100644 --- a/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRFieldValue.h +++ b/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRFieldValue.h @@ -22,6 +22,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Sentinel values that can be used when writing document fields with `setData()` or `updateData()`. */ +NS_SWIFT_SENDABLE NS_SWIFT_NAME(FieldValue) @interface FIRFieldValue : NSObject diff --git a/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRFilter.h b/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRFilter.h index ef5946ed..788ecda2 100644 --- a/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRFilter.h +++ b/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRFilter.h @@ -24,6 +24,7 @@ NS_ASSUME_NONNULL_BEGIN * A Filter represents a restriction on one or more field values and can be used to refine * the results of a Query. */ +NS_SWIFT_SENDABLE NS_SWIFT_NAME(Filter) @interface FIRFilter : NSObject diff --git a/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRGeoPoint.h b/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRGeoPoint.h index 4454225c..05d864f8 100644 --- a/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRGeoPoint.h +++ b/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRGeoPoint.h @@ -25,6 +25,7 @@ NS_ASSUME_NONNULL_BEGIN * Latitude values are in the range of [-90, 90]. * Longitude values are in the range of [-180, 180]. */ +NS_SWIFT_SENDABLE NS_SWIFT_NAME(GeoPoint) @interface FIRGeoPoint : NSObject diff --git a/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRLoadBundleTask.h b/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRLoadBundleTask.h index ff237f3a..aa241895 100644 --- a/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRLoadBundleTask.h +++ b/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRLoadBundleTask.h @@ -36,6 +36,7 @@ typedef NS_ENUM(NSInteger, FIRLoadBundleTaskState) { /** Represents a progress update or a final state from loading bundles. */ NS_SWIFT_NAME(LoadBundleTaskProgress) +NS_SWIFT_SENDABLE @interface FIRLoadBundleTaskProgress : NSObject /** How many documents have been loaded. */ diff --git a/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRQuery.h b/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRQuery.h index c7595287..dad8bbd1 100644 --- a/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRQuery.h +++ b/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRQuery.h @@ -41,6 +41,7 @@ typedef void (^FIRQuerySnapshotBlock)(FIRQuerySnapshot *_Nullable snapshot, * A `Query` refers to a query which you can read or listen to. You can also construct * refined `Query` objects by adding filters and ordering. */ +NS_SWIFT_SENDABLE NS_SWIFT_NAME(Query) @interface FIRQuery : NSObject /** :nodoc: */ diff --git a/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRQuerySnapshot.h b/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRQuerySnapshot.h index f3e80b94..8c649755 100644 --- a/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRQuerySnapshot.h +++ b/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRQuerySnapshot.h @@ -28,6 +28,7 @@ NS_ASSUME_NONNULL_BEGIN * using the `documents` property and its size can be inspected with `isEmpty` and * `count`. */ +NS_SWIFT_SENDABLE NS_SWIFT_NAME(QuerySnapshot) @interface FIRQuerySnapshot : NSObject diff --git a/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRSnapshotListenOptions.h b/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRSnapshotListenOptions.h index c1ef6a3a..b866a114 100644 --- a/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRSnapshotListenOptions.h +++ b/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRSnapshotListenOptions.h @@ -44,6 +44,7 @@ typedef NS_ENUM(NSUInteger, FIRListenSource) { * of this class control settings like whether metadata-only changes trigger events and the * preferred data source. */ +NS_SWIFT_SENDABLE NS_SWIFT_NAME(SnapshotListenOptions) @interface FIRSnapshotListenOptions : NSObject diff --git a/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRSnapshotMetadata.h b/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRSnapshotMetadata.h index 04e19c1b..ad26df21 100644 --- a/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRSnapshotMetadata.h +++ b/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRSnapshotMetadata.h @@ -19,6 +19,7 @@ NS_ASSUME_NONNULL_BEGIN /** Metadata about a snapshot, describing the state of the snapshot. */ +NS_SWIFT_SENDABLE NS_SWIFT_NAME(SnapshotMetadata) @interface FIRSnapshotMetadata : NSObject diff --git a/firebase/ios-google-sign-in/pom.xml b/firebase/ios-google-sign-in/pom.xml index 356971ff..02f11e6e 100644 --- a/firebase/ios-google-sign-in/pom.xml +++ b/firebase/ios-google-sign-in/pom.xml @@ -7,7 +7,7 @@ robopods-firebase-google-signin-ios - RoboPods FireBase Google Sign iOS v7.1.0 + RoboPods FireBase Google Sign iOS v8.0.0 jar diff --git a/firebase/ios-google-sign-in/src/main/bro-gen/GoogleSignIn.framework/Headers/GIDAppCheckError.h b/firebase/ios-google-sign-in/src/main/bro-gen/GoogleSignIn.framework/Headers/GIDAppCheckError.h new file mode 100644 index 00000000..cd443e40 --- /dev/null +++ b/firebase/ios-google-sign-in/src/main/bro-gen/GoogleSignIn.framework/Headers/GIDAppCheckError.h @@ -0,0 +1,35 @@ +/* + * Copyright 2023 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 + +#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// The error domain for `NSError`s returned by the Google Sign-In SDK related to App Check. +extern NSErrorDomain const kGIDAppCheckErrorDomain; + +/// A list of potential error codes returned from the Google Sign-In SDK during App Check. +typedef NS_ERROR_ENUM(kGIDAppCheckErrorDomain, GIDAppCheckErrorCode) { + /// An unexpected error was encountered. + kGIDAppCheckUnexpectedError = 1, +}; +NS_ASSUME_NONNULL_END + +#endif // TARGET_OS_IOS && !TARGET_OS_MACCATALYST diff --git a/firebase/ios-google-sign-in/src/main/bro-gen/GoogleSignIn.framework/Headers/GIDGoogleUser.h b/firebase/ios-google-sign-in/src/main/bro-gen/GoogleSignIn.framework/Headers/GIDGoogleUser.h index 94590e00..a7026366 100644 --- a/firebase/ios-google-sign-in/src/main/bro-gen/GoogleSignIn.framework/Headers/GIDGoogleUser.h +++ b/firebase/ios-google-sign-in/src/main/bro-gen/GoogleSignIn.framework/Headers/GIDGoogleUser.h @@ -23,11 +23,7 @@ #import #endif -#ifdef SWIFT_PACKAGE -@import GTMSessionFetcherCore; -#else #import -#endif @class GIDConfiguration; @class GIDSignInResult; diff --git a/firebase/ios-google-sign-in/src/main/bro-gen/GoogleSignIn.framework/Headers/GIDSignIn.h b/firebase/ios-google-sign-in/src/main/bro-gen/GoogleSignIn.framework/Headers/GIDSignIn.h index 2576b13d..2cdcbe24 100644 --- a/firebase/ios-google-sign-in/src/main/bro-gen/GoogleSignIn.framework/Headers/GIDSignIn.h +++ b/firebase/ios-google-sign-in/src/main/bro-gen/GoogleSignIn.framework/Headers/GIDSignIn.h @@ -66,6 +66,35 @@ typedef NS_ERROR_ENUM(kGIDSignInErrorDomain, GIDSignInErrorCode) { /// The active configuration for this instance of `GIDSignIn`. @property(nonatomic, nullable) GIDConfiguration *configuration; +#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST + +/// Configures `GIDSignIn` for use. +/// +/// @param completion A nullable callback block passing back any error arising from the +/// configuration process if any exists. +/// +/// Call this method on `GIDSignIn` prior to use and as early as possible. This method generates App +/// Attest key IDs and the attestation object eagerly to minimize latency later on during the sign +/// in or add scopes flows. +- (void)configureWithCompletion:(nullable void (^)(NSError * _Nullable error))completion +NS_SWIFT_NAME(configure(completion:)); + +/// Configures `GIDSignIn` for use in debug or test environments. +/// +/// @param APIKey The API Key to use during configuration of the App Check debug provider. +/// @param completion A nullable callback block passing back any error arising from the +/// configuration process if any exists. +/// +/// Call this method on `GIDSignIn` prior to use and as early as possible. This method generates App +/// Attest key IDs and the attestation object eagerly to minimize latency later on during the sign +/// in or add scopes flows. +- (void)configureDebugProviderWithAPIKey:(NSString *)APIKey + completion:(nullable void (^)(NSError * _Nullable error))completion +API_AVAILABLE(ios(14)) +NS_SWIFT_NAME(configureDebugProvider(withAPIKey:completion:)); + +#endif // TARGET_OS_IOS && !TARGET_OS_MACCATALYST + /// Unavailable. Use the `sharedInstance` property to instantiate `GIDSignIn`. /// :nodoc: + (instancetype)new NS_UNAVAILABLE; @@ -141,9 +170,9 @@ typedef NS_ERROR_ENUM(kGIDSignInErrorDomain, GIDSignInErrorCode) { - (void)signInWithPresentingViewController:(UIViewController *)presentingViewController hint:(nullable NSString *)hint completion: - (nullable void (^)(GIDSignInResult *_Nullable signInResult, - NSError *_Nullable error))completion - NS_EXTENSION_UNAVAILABLE("The sign-in flow is not supported in App Extensions."); +(nullable void (^)(GIDSignInResult *_Nullable signInResult, + NSError *_Nullable error))completion +NS_EXTENSION_UNAVAILABLE("The sign-in flow is not supported in App Extensions."); /// Starts an interactive sign-in flow on iOS using the provided hint and additional scopes. /// @@ -163,9 +192,9 @@ typedef NS_ERROR_ENUM(kGIDSignInErrorDomain, GIDSignInErrorCode) { hint:(nullable NSString *)hint additionalScopes:(nullable NSArray *)additionalScopes completion: - (nullable void (^)(GIDSignInResult *_Nullable signInResult, - NSError *_Nullable error))completion - NS_EXTENSION_UNAVAILABLE("The sign-in flow is not supported in App Extensions."); +(nullable void (^)(GIDSignInResult *_Nullable signInResult, + NSError *_Nullable error))completion +NS_EXTENSION_UNAVAILABLE("The sign-in flow is not supported in App Extensions."); #elif TARGET_OS_OSX diff --git a/firebase/ios-google-sign-in/src/main/bro-gen/GoogleSignIn.framework/Headers/GIDSignInButton.h b/firebase/ios-google-sign-in/src/main/bro-gen/GoogleSignIn.framework/Headers/GIDSignInButton.h index f27488fb..af7ec99a 100644 --- a/firebase/ios-google-sign-in/src/main/bro-gen/GoogleSignIn.framework/Headers/GIDSignInButton.h +++ b/firebase/ios-google-sign-in/src/main/bro-gen/GoogleSignIn.framework/Headers/GIDSignInButton.h @@ -46,7 +46,7 @@ typedef NS_ENUM(NSInteger, GIDSignInButtonColorScheme) { /// control to an `IBAction`, or something similar, that calls /// signInWithPresentingViewController:completion: on `GIDSignIn` and add it to your view /// hierarchy. -@interface GIDSignInButton : UIControl +@interface GIDSignInButton : UIControl /// The layout style for the sign-in button. /// Possible values: diff --git a/firebase/ios-google-sign-in/src/main/bro-gen/GoogleSignIn.framework/Headers/GoogleSignIn-umbrella.h b/firebase/ios-google-sign-in/src/main/bro-gen/GoogleSignIn.framework/Headers/GoogleSignIn-umbrella.h index f4222061..a1946779 100644 --- a/firebase/ios-google-sign-in/src/main/bro-gen/GoogleSignIn.framework/Headers/GoogleSignIn-umbrella.h +++ b/firebase/ios-google-sign-in/src/main/bro-gen/GoogleSignIn.framework/Headers/GoogleSignIn-umbrella.h @@ -10,6 +10,7 @@ #endif #endif +#import "GIDAppCheckError.h" #import "GIDConfiguration.h" #import "GIDGoogleUser.h" #import "GIDProfileData.h" diff --git a/firebase/ios-google-sign-in/src/main/bro-gen/GoogleSignIn.framework/Headers/GoogleSignIn.h b/firebase/ios-google-sign-in/src/main/bro-gen/GoogleSignIn.framework/Headers/GoogleSignIn.h index 5923329d..4fd17ede 100644 --- a/firebase/ios-google-sign-in/src/main/bro-gen/GoogleSignIn.framework/Headers/GoogleSignIn.h +++ b/firebase/ios-google-sign-in/src/main/bro-gen/GoogleSignIn.framework/Headers/GoogleSignIn.h @@ -15,6 +15,9 @@ */ #import +#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST +#import "GIDAppCheckError.h" +#endif #import "GIDConfiguration.h" #import "GIDGoogleUser.h" #import "GIDProfileData.h" diff --git a/firebase/ios-google-sign-in/src/main/bro-gen/firebase-google-sign-in.yaml b/firebase/ios-google-sign-in/src/main/bro-gen/firebase-google-sign-in.yaml index 76eb5e0b..03a2d4c8 100644 --- a/firebase/ios-google-sign-in/src/main/bro-gen/firebase-google-sign-in.yaml +++ b/firebase/ios-google-sign-in/src/main/bro-gen/firebase-google-sign-in.yaml @@ -16,6 +16,7 @@ enums: # GTMSessionFetcher GTMSessionFetcherError: {nserror: true} GTMSessionFetcherStatus: {} + GIDAppCheckErrorCode: {} classes: GIDAuthentication: methods: @@ -64,6 +65,10 @@ classes: name: signIn '-signInWithPresentingViewController:hint:additionalScopes:completion:': name: signIn + '-configureWithCompletion:': + name: configure + '-configureDebugProviderWithAPIKey:completion:': + name: configureDebug GIDSignInButton: {} GIDConfiguration: methods: @@ -208,6 +213,9 @@ values: kGIDSignInErrorDomain: class: GIDSignInErrorCode name: getClassDomain + kGIDAppCheckErrorDomain: + class: GIDAppCheckErrorCode + name: getClassDomain # GTMSessionFetcher kGTMSessionFetcherErrorDomain: diff --git a/firebase/ios-google-sign-in/src/main/java/org/robovm/pods/firebase/googlesignin/GIDAppCheckErrorCode.java b/firebase/ios-google-sign-in/src/main/java/org/robovm/pods/firebase/googlesignin/GIDAppCheckErrorCode.java new file mode 100644 index 00000000..d3414bbd --- /dev/null +++ b/firebase/ios-google-sign-in/src/main/java/org/robovm/pods/firebase/googlesignin/GIDAppCheckErrorCode.java @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2013-2015 RoboVM AB + * + * 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. + */ +package org.robovm.pods.firebase.googlesignin; + +/**/ +import java.io.*; +import java.nio.*; +import java.util.*; +import org.robovm.objc.*; +import org.robovm.objc.annotation.*; +import org.robovm.objc.block.*; +import org.robovm.rt.*; +import org.robovm.rt.annotation.*; +import org.robovm.rt.bro.*; +import org.robovm.rt.bro.annotation.*; +import org.robovm.rt.bro.ptr.*; +import org.robovm.apple.foundation.*; +import org.robovm.apple.uikit.*; +import org.robovm.apple.coregraphics.*; +import org.robovm.apple.dispatch.*; +import org.robovm.apple.coreanimation.*; +/**/ + +/**/ + +/**/ +/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class) @Library(Library.INTERNAL)/**/ +public enum /**/GIDAppCheckErrorCode/**/ implements ValuedEnum { + /**/ + kGIDAppCheckUnexpectedError(1L); + /**/ + + /**/static { Bro.bind(GIDAppCheckErrorCode.class); }/**/ + /**//**/ + /**/ + @GlobalValue(symbol="kGIDAppCheckErrorDomain", optional=true) + public static native String getClassDomain(); + /**/ + + private final long n; + + private /**/GIDAppCheckErrorCode/**/(long n) { this.n = n; } + public long value() { return n; } + public static /**/GIDAppCheckErrorCode/**/ valueOf(long n) { + for (/**/GIDAppCheckErrorCode/**/ v : values()) { + if (v.n == n) { + return v; + } + } + throw new IllegalArgumentException("No constant with value " + n + " found in " + + /**/GIDAppCheckErrorCode/**/.class.getName()); + } +} diff --git a/firebase/ios-google-sign-in/src/main/java/org/robovm/pods/firebase/googlesignin/GIDSignIn.java b/firebase/ios-google-sign-in/src/main/java/org/robovm/pods/firebase/googlesignin/GIDSignIn.java index 3a9f62a8..0f760432 100644 --- a/firebase/ios-google-sign-in/src/main/java/org/robovm/pods/firebase/googlesignin/GIDSignIn.java +++ b/firebase/ios-google-sign-in/src/main/java/org/robovm/pods/firebase/googlesignin/GIDSignIn.java @@ -62,6 +62,13 @@ protected GIDSignIn() {} /**/ /**//**/ /**/ + @Method(selector = "configureWithCompletion:") + public native void configure(@Block VoidBlock1 completion); + /** + * @since Available in iOS 14.0 and later. + */ + @Method(selector = "configureDebugProviderWithAPIKey:completion:") + public native void configureDebug(String APIKey, @Block VoidBlock1 completion); @Method(selector = "handleURL:") public native boolean handleURL(NSURL url); @Method(selector = "hasPreviousSignIn") diff --git a/firebase/ios-google-sign-in/src/main/java/org/robovm/pods/firebase/googlesignin/GIDSignInButton.java b/firebase/ios-google-sign-in/src/main/java/org/robovm/pods/firebase/googlesignin/GIDSignInButton.java index fc771a55..5b53e687 100644 --- a/firebase/ios-google-sign-in/src/main/java/org/robovm/pods/firebase/googlesignin/GIDSignInButton.java +++ b/firebase/ios-google-sign-in/src/main/java/org/robovm/pods/firebase/googlesignin/GIDSignInButton.java @@ -40,7 +40,7 @@ /**/@Library(Library.INTERNAL) @NativeClass/**/ /**/public/**/ class /**/GIDSignInButton/**/ extends /**/UIControl/**/ - /**//**/ { + /**/implements NSSecureCoding/**/ { /**/public static class GIDSignInButtonPtr extends Ptr {}/**/ /**/static { ObjCRuntime.bind(GIDSignInButton.class); }/**/ @@ -71,6 +71,8 @@ public GIDSignInButton() {} @WeaklyLinked @Property(selector = "layerClass") public static native Class getLayerClass(); + @Property(selector = "supportsSecureCoding") + public static native boolean supportsSecureCoding(); /**/ /**//**/ /**/ diff --git a/firebase/ios-installations/pom.xml b/firebase/ios-installations/pom.xml index 61a1246c..23f7e119 100644 --- a/firebase/ios-installations/pom.xml +++ b/firebase/ios-installations/pom.xml @@ -7,7 +7,7 @@ robopods-firebase-installations-ios - RoboPods FireBase Installations iOS v11.1.0 + RoboPods FireBase Installations iOS v11.2.0 jar diff --git a/firebase/ios-messaging/pom.xml b/firebase/ios-messaging/pom.xml index 1780ece1..f8bd712b 100644 --- a/firebase/ios-messaging/pom.xml +++ b/firebase/ios-messaging/pom.xml @@ -7,7 +7,7 @@ robopods-firebase-messaging-ios - RoboPods FireBase Messaging iOS v11.1.0 + RoboPods FireBase Messaging iOS v11.2.0 jar diff --git a/firebase/ios-remoteconfig/pom.xml b/firebase/ios-remoteconfig/pom.xml index c6518710..95b99a60 100644 --- a/firebase/ios-remoteconfig/pom.xml +++ b/firebase/ios-remoteconfig/pom.xml @@ -7,7 +7,7 @@ robopods-firebase-remote-config-ios - RoboPods FireBase RemoteConfig iOS v11.1.0 + RoboPods FireBase RemoteConfig iOS v11.2.0 jar diff --git a/firebase/ios-storage/pom.xml b/firebase/ios-storage/pom.xml index 653bc6c0..a60c2699 100644 --- a/firebase/ios-storage/pom.xml +++ b/firebase/ios-storage/pom.xml @@ -7,7 +7,7 @@ robopods-firebase-storage-ios - RoboPods Cloud Storage iOS v11.1.0 + RoboPods Cloud Storage iOS v11.2.0 jar