Skip to content

Commit

Permalink
* Firebase updated to v11.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dkimitsa committed Sep 10, 2024
1 parent 2a112c9 commit cfd1811
Show file tree
Hide file tree
Showing 41 changed files with 203 additions and 40 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
28 changes: 14 additions & 14 deletions firebase/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
2 changes: 1 addition & 1 deletion firebase/ios-analytics/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</parent>

<artifactId>robopods-firebase-analytics-ios</artifactId>
<name>RoboPods FireBase Analytics iOS v11.1.0</name>
<name>RoboPods FireBase Analytics iOS v11.2.0</name>
<packaging>jar</packaging>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion firebase/ios-appcheck/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</parent>

<artifactId>robopods-firebase-app-check-ios</artifactId>
<name>RoboPods FireBase App Check iOS v11.1.0</name>
<name>RoboPods FireBase App Check iOS v11.2.0</name>
<packaging>jar</packaging>

<licenses>
Expand Down
2 changes: 1 addition & 1 deletion firebase/ios-auth/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</parent>

<artifactId>robopods-firebase-auth-ios</artifactId>
<name>RoboPods FireBase Auth iOS v11.1.0</name>
<name>RoboPods FireBase Auth iOS v11.2.0</name>
<packaging>jar</packaging>

<licenses>
Expand Down
2 changes: 1 addition & 1 deletion firebase/ios-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</parent>

<artifactId>robopods-firebase-core-ios</artifactId>
<name>RoboPods FireBase Core iOS v11.1.0</name>
<name>RoboPods FireBase Core iOS v11.2.0</name>
<packaging>jar</packaging>

<licenses>
Expand Down
2 changes: 1 addition & 1 deletion firebase/ios-crashlytics/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</parent>

<artifactId>robopods-firebase-crashlytics-ios</artifactId>
<name>RoboPods FireBase Crashlytics iOS v11.1.0</name>
<name>RoboPods FireBase Crashlytics iOS v11.2.0</name>
<packaging>jar</packaging>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion firebase/ios-database/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</parent>

<artifactId>robopods-firebase-database-ios</artifactId>
<name>RoboPods FireBase Realtime Database iOS v11.1.0</name>
<name>RoboPods FireBase Realtime Database iOS v11.2.0</name>
<packaging>jar</packaging>

<licenses>
Expand Down
2 changes: 1 addition & 1 deletion firebase/ios-dylinks/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</parent>

<artifactId>robopods-firebase-dynamic-links-ios</artifactId>
<name>RoboPods FireBase Dynamic Links iOS v11.1.0</name>
<name>RoboPods FireBase Dynamic Links iOS v11.2.0</name>
<packaging>jar</packaging>

<licenses>
Expand Down
2 changes: 1 addition & 1 deletion firebase/ios-firestore/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</parent>

<artifactId>robopods-firebase-firestore-ios</artifactId>
<name>RoboPods Cloud Firestore flexible, scalable NoSQL cloud database iOS v11.1.0</name>
<name>RoboPods Cloud Firestore flexible, scalable NoSQL cloud database iOS v11.2.0</name>
<packaging>jar</packaging>

<licenses>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ NS_ASSUME_NONNULL_BEGIN
/**
* The results of executing an `AggregateQuery`.
*/
NS_SWIFT_SENDABLE
NS_SWIFT_NAME(AggregateQuerySnapshot)
@interface FIRAggregateQuerySnapshot : NSObject

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 <NSCopying>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 <NSCopying>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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: */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion firebase/ios-google-sign-in/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</parent>

<artifactId>robopods-firebase-google-signin-ios</artifactId>
<name>RoboPods FireBase Google Sign iOS v7.1.0</name>
<name>RoboPods FireBase Google Sign iOS v8.0.0</name>
<packaging>jar</packaging>

<licenses>
Expand Down
Original file line number Diff line number Diff line change
@@ -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 <TargetConditionals.h>

#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST

#import <Foundation/Foundation.h>

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
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,7 @@
#import <AppKit/AppKit.h>
#endif

#ifdef SWIFT_PACKAGE
@import GTMSessionFetcherCore;
#else
#import <GTMSessionFetcher/GTMSessionFetcher.h>
#endif

@class GIDConfiguration;
@class GIDSignInResult;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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.
///
Expand All @@ -163,9 +192,9 @@ typedef NS_ERROR_ENUM(kGIDSignInErrorDomain, GIDSignInErrorCode) {
hint:(nullable NSString *)hint
additionalScopes:(nullable NSArray<NSString *> *)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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 <NSSecureCoding>

/// The layout style for the sign-in button.
/// Possible values:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#endif
#endif

#import "GIDAppCheckError.h"
#import "GIDConfiguration.h"
#import "GIDGoogleUser.h"
#import "GIDProfileData.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
*/
#import <TargetConditionals.h>

#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST
#import "GIDAppCheckError.h"
#endif
#import "GIDConfiguration.h"
#import "GIDGoogleUser.h"
#import "GIDProfileData.h"
Expand Down
Loading

0 comments on commit cfd1811

Please sign in to comment.