Skip to content

Commit

Permalink
* Firebase updated to v10.22.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dkimitsa committed Mar 6, 2024
1 parent c64b7e3 commit 740c13b
Show file tree
Hide file tree
Showing 51 changed files with 177 additions and 324 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.38.0 - in development
| [Charts](charts/) | 5.1.0 |
| [ClearAds](clearads/) | 3.5.6 |
| [Facebook](facebook/) | 16.3.1 |
| [Firebase](firebase/) | 10.21.0 |
| [Firebase](firebase/) | 10.22.0 |
| [Fyber](fyber/) | 8.2.2 |
| [HelpShiftX](helpshift/) | 10.3.0 |
| [InMobi](inmobi/) | 10.6.4 |
Expand Down
29 changes: 15 additions & 14 deletions firebase/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,29 @@ Firebase gives you functionality like analytics, databases, messaging and crash

| RoboPod | Description | Version |
|----------------------------------------------------------------------------------|------------------------------------------------|---------|
| [ios-analytics](ios-analytics/) | Firebase iOS Analytics | 10.21.0 |
| [ios-auth](ios-auth/) | Firebase iOS Authentication | 10.21.0 |
| [ios-core](ios-core/) | Firebase iOS Core | 10.21.0 |
| [ios-crashlytics](ios-crashlytics/) | Firebase iOS Crashlytics | 10.21.0 |
| [ios-database](ios-database/) | Firebase iOS DataBase | 10.21.0 |
| [ios-dylinks](ios-dylinks/) | Firebase iOS Dynamic Links | 10.21.0 |
| [ios-firestore](ios-firestore/) | Firebase iOS Firestore | 10.21.0 |
| [ios-mobile ads](ios-google-mobile-ads/) | Firebase iOS Google Mobile Ads | 10.14.0 |
| [ios-analytics](ios-analytics/) | Firebase iOS Analytics | 10.22.0 |
| [ios-auth](ios-auth/) | Firebase iOS Authentication | 10.22.0 |
| [ios-core](ios-core/) | Firebase iOS Core | 10.22.0 |
| [ios-crashlytics](ios-crashlytics/) | Firebase iOS Crashlytics | 10.22.0 |
| [ios-database](ios-database/) | Firebase iOS DataBase | 10.22.0 |
| [ios-dylinks](ios-dylinks/) | Firebase iOS Dynamic Links | 10.22.0 |
| [ios-firestore](ios-firestore/) | Firebase iOS Firestore | 10.22.0 |
| [ios-mobile ads](ios-google-mobile-ads/) | Firebase iOS Google Mobile Ads | 11.0.1 |
| [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.0.0 |
| [ios-google-ump](ios-google-ump/) | Firebase iOS Google UMP | 2.1.0 |
| [ios-messaging](ios-messaging/) | Firebase iOS Messaging | 10.21.0 |
| [ios-installations](ios-installations/) | Firebase iOS Installations | 10.21.0 |
| [ios-remoteconfig](ios-remoteconfig/) | Firebase iOS Remote Config | 10.21.0 |
| [ios-storage](ios-storage/) | Firebase iOS Storage | 10.21.0 |
| [ios-appcheck](ios-appcheck/) | Firebase iOS App Check | 10.21.0 |
| [ios-google-ump](ios-google-ump/) | Firebase iOS Google UMP | 2.2.0 |
| [ios-messaging](ios-messaging/) | Firebase iOS Messaging | 10.22.0 |
| [ios-installations](ios-installations/) | Firebase iOS Installations | 10.22.0 |
| [ios-remoteconfig](ios-remoteconfig/) | Firebase iOS Remote Config | 10.22.0 |
| [ios-storage](ios-storage/) | Firebase iOS Storage | 10.22.0 |
| [ios-appcheck](ios-appcheck/) | Firebase iOS App Check | 10.22.0 |

## Versions

| RoboPods Version | Firebase Version |
|------------------|------------------|
| 1.38.0 | 10.22.0 |
| 1.37.0 | 10.21.0 |
| 1.36.0 | 10.19.0 |
| 1.35.0 | 10.18.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 v10.21.0</name>
<name>RoboPods FireBase Analytics iOS v10.22.0</name>
<packaging>jar</packaging>

<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,23 @@ API_UNAVAILABLE(macCatalyst, macos, tvos, watchos)
+ (void)initiateOnDeviceConversionMeasurementWithPhoneNumber:(NSString *)phoneNumber
NS_SWIFT_NAME(initiateOnDeviceConversionMeasurement(phoneNumber:));

/// Initiates on-device conversion measurement given a sha256-hashed user email address. Requires
/// dependency GoogleAppMeasurementOnDeviceConversion to be linked in, otherwise it is a no-op.
/// @param hashedEmailAddress User email address as a UTF8-encoded string normalized and hashed
/// according to the instructions at
/// https://firebase.google.com/docs/tutorials/ads-ios-on-device-measurement/step-3.
+ (void)initiateOnDeviceConversionMeasurementWithHashedEmailAddress:(NSData *)hashedEmailAddress
NS_SWIFT_NAME(initiateOnDeviceConversionMeasurement(hashedEmailAddress:));

/// Initiates on-device conversion measurement given a sha256-hashed phone number in E.164 format.
/// Requires dependency GoogleAppMeasurementOnDeviceConversion to be linked in, otherwise it is a
/// no-op.
/// @param hashedPhoneNumber UTF8-encoded user phone number in E.164 format and then hashed
/// according to the instructions at
/// https://firebase.google.com/docs/tutorials/ads-ios-on-device-measurement/step-3.
+ (void)initiateOnDeviceConversionMeasurementWithHashedPhoneNumber:(NSData *)hashedPhoneNumber
NS_SWIFT_NAME(initiateOnDeviceConversionMeasurement(hashedPhoneNumber:));

@end

NS_ASSUME_NONNULL_END
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ classes:
name: sessionID
'+initiateOnDeviceConversionMeasurementWithPhoneNumber:':
name: initiateOnDeviceConversionMeasurementWithPhoneNumber
'+initiateOnDeviceConversionMeasurementWithHashedEmailAddress:':
name: initiateOnDeviceConversionMeasurementWithHashedEmailAddress
'+initiateOnDeviceConversionMeasurementWithHashedPhoneNumber:':
name: initiateOnDeviceConversionMeasurementWithHashedPhoneNumber
protocols: {}

functions:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,5 +105,9 @@ public static class ConsentType {
public static native void initiateOnDeviceConversionMeasurement(String emailAddress);
@Method(selector = "initiateOnDeviceConversionMeasurementWithPhoneNumber:")
public static native void initiateOnDeviceConversionMeasurementWithPhoneNumber(String phoneNumber);
@Method(selector = "initiateOnDeviceConversionMeasurementWithHashedEmailAddress:")
public static native void initiateOnDeviceConversionMeasurementWithHashedEmailAddress(NSData hashedEmailAddress);
@Method(selector = "initiateOnDeviceConversionMeasurementWithHashedPhoneNumber:")
public static native void initiateOnDeviceConversionMeasurementWithHashedPhoneNumber(NSData hashedPhoneNumber);
/*</methods>*/
}
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 v10.21.0</name>
<name>RoboPods FireBase App Check iOS v10.22.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 v10.21.0</name>
<name>RoboPods FireBase Auth iOS v10.22.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 v10.21.0</name>
<name>RoboPods FireBase Core iOS v10.22.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 v10.21.0</name>
<name>RoboPods FireBase Crashlytics iOS v10.22.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 v10.21.0</name>
<name>RoboPods FireBase Realtime Database iOS v10.22.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 v10.21.0</name>
<name>RoboPods FireBase Dynamic Links iOS v10.22.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 v10.21.0</name>
<name>RoboPods Cloud Firestore flexible, scalable NoSQL cloud database iOS v10.22.0</name>
<packaging>jar</packaging>

<licenses>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ NS_ASSUME_NONNULL_BEGIN
* 9999-12-31T23:59:59.999999999Z. By restricting to that range, we ensure that we can convert to
* and from RFC 3339 date strings.
*
* @see https://github.com/google/protobuf/blob/master/src/google/protobuf/timestamp.proto for the
* @see https://github.com/google/protobuf/blob/main/src/google/protobuf/timestamp.proto for the
* reference timestamp definition.
*/
NS_SWIFT_NAME(Timestamp)
Expand Down
2 changes: 1 addition & 1 deletion firebase/ios-google-mobile-ads/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</parent>

<artifactId>robopods-firebase-google-mobile-ads-ios</artifactId>
<name>RoboPods Google Mobile Ads iOS v10.14.0</name>
<name>RoboPods Google Mobile Ads iOS v11.0.1</name>
<packaging>jar</packaging>

<licenses>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//
// GADNativeAdViewAdOptions.h
// Google Mobile Ads SDK
//
// Copyright 2023 Google LLC. All rights reserved.
//

#import <Foundation/Foundation.h>

/// Position of the AdChoices icon in the containing ad.
typedef NS_ENUM(NSInteger, GADAdChoicesPosition) {
GADAdChoicesPositionTopRightCorner, ///< Top right corner.
GADAdChoicesPositionTopLeftCorner, ///< Top left corner.
GADAdChoicesPositionBottomRightCorner, ///< Bottom right corner.
GADAdChoicesPositionBottomLeftCorner ///< Bottom Left Corner.
};
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,5 @@ typedef NS_ENUM(NSInteger, GADAdFormat) {
GADAdFormatRewarded = 2, ///< Rewarded.
GADAdFormatNative = 3, ///< Native.
GADAdFormatRewardedInterstitial = 4, ///< Rewarded interstitial.
GADAdFormatUnknown GAD_DEPRECATED_MSG_ATTRIBUTE("Deprecated. No replacement.") = 5, ///< Unknown.
GADAdFormatAppOpen = 6, ///< App open.
};
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
@interface GADAdLoader : NSObject

/// Object notified when an ad request succeeds or fails. Must conform to requested ad types'
/// delegate protocols.
/// delegate protocol. This property must be set before initiating ad requests.
@property(nonatomic, weak, nullable) id<GADAdLoaderDelegate> delegate;

/// The ad loader's ad unit ID.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,14 @@ typedef void (^GADAppOpenAdLoadCompletionHandler)(GADAppOpenAd *_Nullable appOpe

/// Returns whether the app open ad can be presented from the provided root view controller. Sets
/// the error out parameter if the app open ad can't be presented. Must be called on the main
/// thread.
- (BOOL)canPresentFromRootViewController:(nonnull UIViewController *)rootViewController
/// thread. If rootViewController is nil, uses the top view controller of the application's main
/// window.
- (BOOL)canPresentFromRootViewController:(nullable UIViewController *)rootViewController
error:(NSError *_Nullable __autoreleasing *_Nullable)error;

/// Presents the app open ad with the provided view controller. Must be called on the main thread.
- (void)presentFromRootViewController:(nonnull UIViewController *)rootViewController;

#pragma mark - Deprecated
/// Deprecated. Use +loadWithAdUnitID:request:completionHandler instead.
+ (void)loadWithAdUnitID:(nonnull NSString *)adUnitID
request:(nullable GADRequest *)request
orientation:(UIInterfaceOrientation)orientation
completionHandler:(nonnull GADAppOpenAdLoadCompletionHandler)completionHandler;
/// If rootViewController is nil, attempts to present from the top view controller of the
/// application's main window.
- (void)presentFromRootViewController:(nullable UIViewController *)rootViewController;

@end
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
/// Example AdMob ad unit ID: @"ca-app-pub-0123456789012345/0123456789"
@property(nonatomic, copy, nullable) IBInspectable NSString *adUnitID;

/// Required reference to a root view controller that is used by the banner to present full screen
/// content after the user interacts with the ad. The root view controller is most commonly the view
/// controller displaying the banner.
/// Reference to a root view controller that is used by the banner to present full screen
/// content after the user interacts with the ad. If this is nil, the view controller containing the
/// banner view is used.
@property(nonatomic, weak, nullable) IBOutlet UIViewController *rootViewController;

/// Required to set this banner view to a proper size. Never create your own GADAdSize directly.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,15 @@ typedef void (^GADInterstitialAdLoadCompletionHandler)(GADInterstitialAd *_Nulla

/// Returns whether the interstitial ad can be presented from the provided root view
/// controller. Sets the error out parameter if the ad can't be presented. Must be called on the
/// main thread.
- (BOOL)canPresentFromRootViewController:(nonnull UIViewController *)rootViewController
/// main thread. If rootViewController is nil, uses the top view controller of the application's
/// main window.
- (BOOL)canPresentFromRootViewController:(nullable UIViewController *)rootViewController
error:(NSError *_Nullable __autoreleasing *_Nullable)error;

/// Presents the interstitial ad. Must be called on the main thread.
///
/// @param rootViewController A view controller to present the ad.
- (void)presentFromRootViewController:(nonnull UIViewController *)rootViewController;
/// @param rootViewController A view controller to present the ad. If nil, attempts to present from
/// the top view controller of the application's main window.
- (void)presentFromRootViewController:(nullable UIViewController *)rootViewController;

@end
Original file line number Diff line number Diff line change
Expand Up @@ -89,20 +89,15 @@ typedef void (^GADAdInspectorCompletionHandler)(NSError *_Nullable error);
/// to launch Ad Inspector. Set
/// GADMobileAds.sharedInstance.requestConfiguration.testDeviceIdentifiers to enable test mode on
/// this device.
/// @param viewController A view controller to present Ad Inspector.
/// @param viewController A view controller to present Ad Inspector. If nil, uses the top view
/// controller of the app's main window.
/// @param completionHandler A handler to execute when Ad Inspector is closed.
- (void)presentAdInspectorFromViewController:(nonnull UIViewController *)viewController
- (void)presentAdInspectorFromViewController:(nullable UIViewController *)viewController
completionHandler:
(nullable GADAdInspectorCompletionHandler)completionHandler;

/// Registers a web view with the Google Mobile Ads SDK to improve in-app ad monetization of ads
/// within this web view.
- (void)registerWebView:(nonnull WKWebView *)webView;

#pragma mark Deprecated

/// Returns the version of the SDK.
@property(nonatomic, nonnull, readonly)
NSString *sdkVersion GAD_DEPRECATED_MSG_ATTRIBUTE("Use versionNumber property instead.");

@end
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,9 @@
// Copyright 2016 Google LLC. All rights reserved.
//

#import <GoogleMobileAds/GADAdChoicesPosition.h>
#import <GoogleMobileAds/GADAdLoader.h>

/// Position of the AdChoices icon in the containing ad.
typedef NS_ENUM(NSInteger, GADAdChoicesPosition) {
GADAdChoicesPositionTopRightCorner, ///< Top right corner.
GADAdChoicesPositionTopLeftCorner, ///< Top left corner.
GADAdChoicesPositionBottomRightCorner, ///< Bottom right corner.
GADAdChoicesPositionBottomLeftCorner ///< Bottom Left Corner.
};

/// Ad loader options for configuring the view of native ads.
@interface GADNativeAdViewAdOptions : GADAdLoaderOptions

Expand Down
Loading

0 comments on commit 740c13b

Please sign in to comment.