diff --git a/README.md b/README.md
index ad4eee672..10f4f463a 100644
--- a/README.md
+++ b/README.md
@@ -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 |
diff --git a/firebase/README.md b/firebase/README.md
index c4bf3634f..8841a9c33 100644
--- a/firebase/README.md
+++ b/firebase/README.md
@@ -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 |
diff --git a/firebase/ios-analytics/pom.xml b/firebase/ios-analytics/pom.xml
index 97b9858c2..6bdbb2cc2 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 v10.21.0
+ RoboPods FireBase Analytics iOS v10.22.0
jar
diff --git a/firebase/ios-analytics/src/main/bro-gen/FirebaseAnalytics.framework/Headers/FIRAnalytics+OnDevice.h b/firebase/ios-analytics/src/main/bro-gen/FirebaseAnalytics.framework/Headers/FIRAnalytics+OnDevice.h
index bb4be4281..0bfec8883 100644
--- a/firebase/ios-analytics/src/main/bro-gen/FirebaseAnalytics.framework/Headers/FIRAnalytics+OnDevice.h
+++ b/firebase/ios-analytics/src/main/bro-gen/FirebaseAnalytics.framework/Headers/FIRAnalytics+OnDevice.h
@@ -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
diff --git a/firebase/ios-analytics/src/main/bro-gen/firebase-analytics.yaml b/firebase/ios-analytics/src/main/bro-gen/firebase-analytics.yaml
index f1f9755fb..95f4f96aa 100644
--- a/firebase/ios-analytics/src/main/bro-gen/firebase-analytics.yaml
+++ b/firebase/ios-analytics/src/main/bro-gen/firebase-analytics.yaml
@@ -24,6 +24,10 @@ classes:
name: sessionID
'+initiateOnDeviceConversionMeasurementWithPhoneNumber:':
name: initiateOnDeviceConversionMeasurementWithPhoneNumber
+ '+initiateOnDeviceConversionMeasurementWithHashedEmailAddress:':
+ name: initiateOnDeviceConversionMeasurementWithHashedEmailAddress
+ '+initiateOnDeviceConversionMeasurementWithHashedPhoneNumber:':
+ name: initiateOnDeviceConversionMeasurementWithHashedPhoneNumber
protocols: {}
functions:
diff --git a/firebase/ios-analytics/src/main/java/org/robovm/pods/firebase/analytics/FIRAnalytics.java b/firebase/ios-analytics/src/main/java/org/robovm/pods/firebase/analytics/FIRAnalytics.java
index d04d0cefd..bcb02635d 100644
--- a/firebase/ios-analytics/src/main/java/org/robovm/pods/firebase/analytics/FIRAnalytics.java
+++ b/firebase/ios-analytics/src/main/java/org/robovm/pods/firebase/analytics/FIRAnalytics.java
@@ -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);
/**/
}
diff --git a/firebase/ios-appcheck/pom.xml b/firebase/ios-appcheck/pom.xml
index 1a0598daa..4bac697e0 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 v10.21.0
+ RoboPods FireBase App Check iOS v10.22.0
jar
diff --git a/firebase/ios-auth/pom.xml b/firebase/ios-auth/pom.xml
index 4bd926c8e..6f40dac1d 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 v10.21.0
+ RoboPods FireBase Auth iOS v10.22.0
jar
diff --git a/firebase/ios-core/pom.xml b/firebase/ios-core/pom.xml
index a4c69bd6d..5eb194703 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 v10.21.0
+ RoboPods FireBase Core iOS v10.22.0
jar
diff --git a/firebase/ios-crashlytics/pom.xml b/firebase/ios-crashlytics/pom.xml
index 4eab7761f..b391bfcc9 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 v10.21.0
+ RoboPods FireBase Crashlytics iOS v10.22.0
jar
diff --git a/firebase/ios-database/pom.xml b/firebase/ios-database/pom.xml
index 53bd3330d..1b409cdcb 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 v10.21.0
+ RoboPods FireBase Realtime Database iOS v10.22.0
jar
diff --git a/firebase/ios-dylinks/pom.xml b/firebase/ios-dylinks/pom.xml
index b34332755..96889e756 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 v10.21.0
+ RoboPods FireBase Dynamic Links iOS v10.22.0
jar
diff --git a/firebase/ios-firestore/pom.xml b/firebase/ios-firestore/pom.xml
index 05f90d8e5..72ab39ee2 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 v10.21.0
+ RoboPods Cloud Firestore flexible, scalable NoSQL cloud database iOS v10.22.0
jar
diff --git a/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRTimestamp.h b/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRTimestamp.h
index 8ba13a3a1..375f69733 100644
--- a/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRTimestamp.h
+++ b/firebase/ios-firestore/src/main/bro-gen/FirebaseFirestoreInternal.framework/Headers/FIRTimestamp.h
@@ -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)
diff --git a/firebase/ios-google-mobile-ads/pom.xml b/firebase/ios-google-mobile-ads/pom.xml
index d239d2f0e..45f67eaa4 100644
--- a/firebase/ios-google-mobile-ads/pom.xml
+++ b/firebase/ios-google-mobile-ads/pom.xml
@@ -7,7 +7,7 @@
robopods-firebase-google-mobile-ads-ios
- RoboPods Google Mobile Ads iOS v10.14.0
+ RoboPods Google Mobile Ads iOS v11.0.1
jar
diff --git a/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADAdChoicesPosition.h b/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADAdChoicesPosition.h
new file mode 100644
index 000000000..66ed89f43
--- /dev/null
+++ b/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADAdChoicesPosition.h
@@ -0,0 +1,16 @@
+//
+// GADNativeAdViewAdOptions.h
+// Google Mobile Ads SDK
+//
+// Copyright 2023 Google LLC. All rights reserved.
+//
+
+#import
+
+/// 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.
+};
diff --git a/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADAdFormat.h b/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADAdFormat.h
index 39c6a109d..5495734b1 100644
--- a/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADAdFormat.h
+++ b/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADAdFormat.h
@@ -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.
};
diff --git a/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADAdLoader.h b/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADAdLoader.h
index aaadacd65..8a8d9d56e 100644
--- a/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADAdLoader.h
+++ b/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADAdLoader.h
@@ -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 delegate;
/// The ad loader's ad unit ID.
diff --git a/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADAppOpenAd.h b/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADAppOpenAd.h
index 28e81b8c6..8886292fc 100644
--- a/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADAppOpenAd.h
+++ b/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADAppOpenAd.h
@@ -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
diff --git a/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADBannerView.h b/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADBannerView.h
index f60ade052..bcee6fd72 100644
--- a/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADBannerView.h
+++ b/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADBannerView.h
@@ -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.
diff --git a/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADInterstitialAd.h b/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADInterstitialAd.h
index d9f0ff80a..1e6df07b2 100644
--- a/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADInterstitialAd.h
+++ b/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADInterstitialAd.h
@@ -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
diff --git a/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADMobileAds.h b/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADMobileAds.h
index cec707e70..24bdd2cc1 100644
--- a/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADMobileAds.h
+++ b/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADMobileAds.h
@@ -89,9 +89,10 @@ 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;
@@ -99,10 +100,4 @@ typedef void (^GADAdInspectorCompletionHandler)(NSError *_Nullable error);
/// 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
diff --git a/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADNativeAdViewAdOptions.h b/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADNativeAdViewAdOptions.h
index 8c0c0c621..4df65bcb8 100644
--- a/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADNativeAdViewAdOptions.h
+++ b/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADNativeAdViewAdOptions.h
@@ -5,16 +5,9 @@
// Copyright 2016 Google LLC. All rights reserved.
//
+#import
#import
-/// 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
diff --git a/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADRequestConfiguration.h b/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADRequestConfiguration.h
index a91c35171..e6e6f63ef 100644
--- a/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADRequestConfiguration.h
+++ b/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADRequestConfiguration.h
@@ -90,43 +90,4 @@ typedef NS_ENUM(NSInteger, GADPublisherPrivacyPersonalizationState) {
/// requests.
@property(nonatomic) GADPublisherPrivacyPersonalizationState publisherPrivacyPersonalizationState;
-#pragma mark - Deprecated
-
-/// Controls whether the Google Mobile Ads SDK Same App Key is enabled. The value set persists
-/// across app sessions. The key is enabled by default.
-- (void)setSameAppKeyEnabled:(BOOL)enabled
- GAD_DEPRECATED_MSG_ATTRIBUTE(
- "This method is deprecated. Use the setPublisherFirstPartyIDEnabled: method instead.");
-
-/// This method lets you specify whether the user is under the age of consent.
-/// https://developers.google.com/admob/ios/targeting#users_under_the_age_of_consent.
-///
-/// If you call this method with YES, a TFUA parameter will be included in all ad requests. This
-/// parameter disables personalized advertising, including remarketing, for all ad requests. It also
-/// disables requests to third-party ad vendors, such as ad measurement pixels and third-party ad
-/// servers.
-- (void)tagForUnderAgeOfConsent:(BOOL)underAgeOfConsent
- GAD_DEPRECATED_MSG_ATTRIBUTE(
- "This method is deprecated. Use the tagForUnderAgeOfConsent property instead. Calling this "
- "method internally sets the property.");
-
-/// [Optional] This method lets you specify whether you would like your app to be treated as
-/// child-directed for purposes of the Children’s Online Privacy Protection Act (COPPA),
-/// https://www.ftc.gov/business-guidance/privacy-security/childrens-privacy.
-///
-/// If you call this method with YES, you are indicating that your app should be treated as
-/// child-directed for purposes of the Children’s Online Privacy Protection Act (COPPA). If you call
-/// this method with NO, you are indicating that your app should not be treated as child-directed
-/// for purposes of the Children’s Online Privacy Protection Act (COPPA). If you do not call this
-/// method, ad requests will include no indication of how you would like your app treated with
-/// respect to COPPA.
-///
-/// By setting this method, you certify that this notification is accurate and you are authorized to
-/// act on behalf of the owner of the app. You understand that abuse of this setting may result in
-/// termination of your Google account.
-- (void)tagForChildDirectedTreatment:(BOOL)childDirectedTreatment
- GAD_DEPRECATED_MSG_ATTRIBUTE(
- "This method is deprecated. Use the tagForChildDirectedTreatment property instead. Calling "
- "this method internally sets the property.");
-
@end
diff --git a/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADResponseInfo.h b/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADResponseInfo.h
index 783293917..4c4840253 100644
--- a/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADResponseInfo.h
+++ b/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADResponseInfo.h
@@ -74,10 +74,4 @@ FOUNDATION_EXPORT NSString *_Nonnull GADErrorUserInfoKeyResponseInfo;
/// JSON-safe dictionary representation of the response info.
@property(nonatomic, readonly, nonnull) NSDictionary *dictionaryRepresentation;
-#pragma mark - Deprecated
-
-/// Deprecated. Use loadedAdNetworkResponseInfo.adNetworkClassName instead.
-@property(nonatomic, readonly, nullable) NSString *adNetworkClassName GAD_DEPRECATED_MSG_ATTRIBUTE(
- "Deprecated. Use loadedAdNetworkResponseInfo.adNetworkClassName instead.");
-
@end
diff --git a/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADRewardedAd.h b/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADRewardedAd.h
index 89ef59c81..558531d6f 100644
--- a/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADRewardedAd.h
+++ b/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADRewardedAd.h
@@ -59,15 +59,17 @@ typedef void (^GADRewardedAdLoadCompletionHandler)(GADRewardedAd *_Nullable rewa
/// Returns whether the rewarded 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 rewarded ad. Must be called on the main thread.
///
-/// @param rootViewController A view controller to present the ad.
+/// @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.
/// @param userDidEarnRewardHandler A handler to execute when the user earns a reward.
-- (void)presentFromRootViewController:(nonnull UIViewController *)rootViewController
+- (void)presentFromRootViewController:(nullable UIViewController *)rootViewController
userDidEarnRewardHandler:(nonnull GADUserDidEarnRewardHandler)userDidEarnRewardHandler;
@end
diff --git a/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADRewardedInterstitialAd.h b/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADRewardedInterstitialAd.h
index 242d8fac1..da8cdec57 100644
--- a/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADRewardedInterstitialAd.h
+++ b/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GADRewardedInterstitialAd.h
@@ -59,16 +59,18 @@ typedef void (^GADRewardedInterstitialAdLoadCompletionHandler)(
/// Returns whether the rewarded 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 rewarded interstitial ad. Must be called on the main thread.
///
-/// @param viewController A view controller to present the ad.
+/// @param viewController A view controller to present the ad. If nil, attempts to present from the
+/// top view controller of the application's main window.
/// @param userDidEarnRewardHandler A handler to execute when the user earns a reward. adReward
/// contains the reward information.
-- (void)presentFromRootViewController:(nonnull UIViewController *)viewController
+- (void)presentFromRootViewController:(nullable UIViewController *)viewController
userDidEarnRewardHandler:(nonnull GADUserDidEarnRewardHandler)userDidEarnRewardHandler;
@end
diff --git a/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GoogleMobileAds.h b/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GoogleMobileAds.h
index cb4fa9b74..4be1c83f5 100644
--- a/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GoogleMobileAds.h
+++ b/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/GoogleMobileAds.h
@@ -11,6 +11,7 @@
FOUNDATION_EXPORT const unsigned char GoogleMobileAdsVersionString[];
// Header files.
+#import
#import
#import
#import
diff --git a/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/Mediation/GADMediatedUnifiedNativeAdNotificationSource.h b/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/Mediation/GADMediatedUnifiedNativeAdNotificationSource.h
index 9469b71ee..75fd00b1c 100644
--- a/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/Mediation/GADMediatedUnifiedNativeAdNotificationSource.h
+++ b/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/Mediation/GADMediatedUnifiedNativeAdNotificationSource.h
@@ -46,11 +46,4 @@
+ (void)mediatedNativeAdDidEndVideoPlayback:
(nonnull id)mediatedNativeAd;
-#pragma mark - Deprecated
-
-/// Deprecated. No replacement.
-+ (void)mediatedNativeAdWillLeaveApplication:
- (nonnull id)mediatedNativeAd
- GAD_DEPRECATED_MSG_ATTRIBUTE("Deprecated. No replacement.");
-
@end
diff --git a/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/Mediation/GADMediationAdConfiguration.h b/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/Mediation/GADMediationAdConfiguration.h
index 75f52517a..391521080 100644
--- a/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/Mediation/GADMediationAdConfiguration.h
+++ b/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/Mediation/GADMediationAdConfiguration.h
@@ -33,29 +33,4 @@
/// Indicates whether the publisher is requesting test ads.
@property(nonatomic, readonly) BOOL isTestRequest;
-#pragma mark - Deprecated
-
-/// Deprecated and unsupported. Always returns NO.
-@property(nonatomic, readonly) BOOL hasUserLocation GAD_DEPRECATED_MSG_ATTRIBUTE(
- "Deprecated and unsupported. Always returns NO.");
-
-/// Deprecated and unsupported. Always returns 0.
-@property(nonatomic, readonly) CGFloat userLatitude GAD_DEPRECATED_MSG_ATTRIBUTE(
- "Deprecated and unsupported. Always returns 0.");
-
-/// Deprecated and unsupported. Always returns 0.
-@property(nonatomic, readonly) CGFloat userLongitude GAD_DEPRECATED_MSG_ATTRIBUTE(
- "Deprecated and unsupported. Always returns 0.");
-
-/// Deprecated and unsupported. Always returns 0.
-@property(nonatomic, readonly) CGFloat userLocationAccuracyInMeters GAD_DEPRECATED_MSG_ATTRIBUTE(
- "Deprecated and unsupported. Always returns 0.");
-
-/// The value of childDirectedTreatment supplied by the publisher. Is nil if the publisher hasn't
-/// specified child directed treatment. Is @YES if child directed treatment is enabled.
-@property(nonatomic, readonly, nullable)
- NSNumber *childDirectedTreatment GAD_DEPRECATED_MSG_ATTRIBUTE(
- "Deprecated. Use "
- "GADMobileAds.sharedInstance.requestConfiguration.tagForChildDirectedTreatment instead.");
-
@end
diff --git a/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/Mediation/GADMediationAdEventDelegate.h b/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/Mediation/GADMediationAdEventDelegate.h
index a318e3702..e7957677a 100644
--- a/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/Mediation/GADMediationAdEventDelegate.h
+++ b/firebase/ios-google-mobile-ads/src/main/bro-gen/GoogleMobileAds.framework/Headers/Mediation/GADMediationAdEventDelegate.h
@@ -39,17 +39,11 @@
/// Reports banner related information to the Google Mobile Ads SDK from the adapter.
@protocol GADMediationBannerAdEventDelegate
-/// Deprecated. No replacement.
-- (void)willBackgroundApplication GAD_DEPRECATED_MSG_ATTRIBUTE("Deprecated. No replacement.");
-
@end
/// Reports interstitial related information to the Google Mobile Ads SDK from the adapter.
@protocol GADMediationInterstitialAdEventDelegate
-/// Deprecated. No replacement.
-- (void)willBackgroundApplication GAD_DEPRECATED_MSG_ATTRIBUTE("Deprecated. No replacement.");
-
@end
/// Reports native related information to the Google Mobile Ads SDK from the adapter.
@@ -70,9 +64,6 @@
/// Notifies Google Mobile Ads SDK that the GADMediationAd unmuted video playback.
- (void)didUnmuteVideo;
-/// Deprecated. No replacement.
-- (void)willBackgroundApplication GAD_DEPRECATED_MSG_ATTRIBUTE("Deprecated. No replacement.");
-
@end
/// Reports rewarded related information to the Google Mobile Ads SDK from the adapter.
@@ -87,11 +78,6 @@
/// Notifies Google Mobile Ads SDK that the GADMediationAd's video playback finished.
- (void)didEndVideo;
-#pragma mark - Deprecated
-/// Deprecated. Use -didRewardUser.
-- (void)didRewardUserWithReward:(nonnull GADAdReward *)reward
- GAD_DEPRECATED_MSG_ATTRIBUTE("Deprecated. Use -didRewardUser.");
-
@end
/// Reports app open related information to the Google Mobile Ads SDK from the adapter.
diff --git a/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADAdFormat.java b/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADAdFormat.java
index 8740a4ce5..2943ce987 100644
--- a/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADAdFormat.java
+++ b/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADAdFormat.java
@@ -46,11 +46,6 @@ public enum /**/GADAdFormat/**/ implements ValuedEnum {
Rewarded(2L),
Native(3L),
RewardedInterstitial(4L),
- /**
- * @deprecated Deprecated. No replacement.
- */
- @Deprecated
- Unknown(5L),
AppOpen(6L);
/**/
diff --git a/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADAppOpenAd.java b/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADAppOpenAd.java
index 563297080..9ca2588fa 100644
--- a/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADAppOpenAd.java
+++ b/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADAppOpenAd.java
@@ -71,7 +71,5 @@ public GADAppOpenAd() {}
public native void presentFromRootViewController(UIViewController rootViewController);
@Method(selector = "loadWithAdUnitID:request:completionHandler:")
public static native void load(String adUnitID, GADRequest request, @Block VoidBlock2 completionHandler);
- @Method(selector = "loadWithAdUnitID:request:orientation:completionHandler:")
- public static native void load(String adUnitID, GADRequest request, UIInterfaceOrientation orientation, @Block VoidBlock2 completionHandler);
/**/
}
diff --git a/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADMediatedUnifiedNativeAdNotificationSource.java b/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADMediatedUnifiedNativeAdNotificationSource.java
index 56f90a0a7..96e621d55 100644
--- a/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADMediatedUnifiedNativeAdNotificationSource.java
+++ b/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADMediatedUnifiedNativeAdNotificationSource.java
@@ -72,11 +72,5 @@ public GADMediatedUnifiedNativeAdNotificationSource() {}
public static native void mediatedNativeAdDidPauseVideo(GADMediatedUnifiedNativeAd mediatedNativeAd);
@Method(selector = "mediatedNativeAdDidEndVideoPlayback:")
public static native void mediatedNativeAdDidEndVideoPlayback(GADMediatedUnifiedNativeAd mediatedNativeAd);
- /**
- * @deprecated Deprecated. No replacement.
- */
- @Deprecated
- @Method(selector = "mediatedNativeAdWillLeaveApplication:")
- public static native void mediatedNativeAdWillLeaveApplication(GADMediatedUnifiedNativeAd mediatedNativeAd);
/**/
}
diff --git a/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADMediationAdConfiguration.java b/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADMediationAdConfiguration.java
index bfbc4a355..f24fa69ba 100644
--- a/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADMediationAdConfiguration.java
+++ b/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADMediationAdConfiguration.java
@@ -64,36 +64,6 @@ public GADMediationAdConfiguration() {}
public native GADAdNetworkExtras getExtras();
@Property(selector = "isTestRequest")
public native boolean isTestRequest();
- /**
- * @deprecated Deprecated and unsupported. Always returns NO.
- */
- @Deprecated
- @Property(selector = "hasUserLocation")
- public native boolean hasUserLocation();
- /**
- * @deprecated Deprecated and unsupported. Always returns 0.
- */
- @Deprecated
- @Property(selector = "userLatitude")
- public native @MachineSizedFloat double getUserLatitude();
- /**
- * @deprecated Deprecated and unsupported. Always returns 0.
- */
- @Deprecated
- @Property(selector = "userLongitude")
- public native @MachineSizedFloat double getUserLongitude();
- /**
- * @deprecated Deprecated and unsupported. Always returns 0.
- */
- @Deprecated
- @Property(selector = "userLocationAccuracyInMeters")
- public native @MachineSizedFloat double getUserLocationAccuracyInMeters();
- /**
- * @deprecated Deprecated. Use GADMobileAds.sharedInstance.requestConfiguration.tagForChildDirectedTreatment instead.
- */
- @Deprecated
- @Property(selector = "childDirectedTreatment")
- public native NSNumber getChildDirectedTreatment();
/**/
/**//**/
/**/
diff --git a/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADMediationBannerAdEventDelegate.java b/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADMediationBannerAdEventDelegate.java
index 404812c6b..39139c637 100644
--- a/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADMediationBannerAdEventDelegate.java
+++ b/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADMediationBannerAdEventDelegate.java
@@ -51,12 +51,7 @@
/**/
/**/
- /**
- * @deprecated Deprecated. No replacement.
- */
- @Deprecated
- @Method(selector = "willBackgroundApplication")
- void willBackgroundApplication();
+
/**/
/**/
/**/
diff --git a/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADMediationInterstitialAdEventDelegate.java b/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADMediationInterstitialAdEventDelegate.java
index cb1bf40b7..a47dd5f97 100644
--- a/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADMediationInterstitialAdEventDelegate.java
+++ b/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADMediationInterstitialAdEventDelegate.java
@@ -51,12 +51,7 @@
/**/
/**/
- /**
- * @deprecated Deprecated. No replacement.
- */
- @Deprecated
- @Method(selector = "willBackgroundApplication")
- void willBackgroundApplication();
+
/**/
/**/
/**/
diff --git a/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADMediationNativeAdEventDelegate.java b/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADMediationNativeAdEventDelegate.java
index f821c8e87..6f1ced337 100644
--- a/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADMediationNativeAdEventDelegate.java
+++ b/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADMediationNativeAdEventDelegate.java
@@ -61,12 +61,6 @@
void didMuteVideo();
@Method(selector = "didUnmuteVideo")
void didUnmuteVideo();
- /**
- * @deprecated Deprecated. No replacement.
- */
- @Deprecated
- @Method(selector = "willBackgroundApplication")
- void willBackgroundApplication();
/**/
/**/
/**/
diff --git a/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADMediationNativeAdEventDelegateAdapter.java b/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADMediationNativeAdEventDelegateAdapter.java
index c0d26d9ed..d3bbb3ccd 100644
--- a/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADMediationNativeAdEventDelegateAdapter.java
+++ b/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADMediationNativeAdEventDelegateAdapter.java
@@ -63,11 +63,5 @@ public void didEndVideo() {}
public void didMuteVideo() {}
@NotImplemented("didUnmuteVideo")
public void didUnmuteVideo() {}
- /**
- * @deprecated Deprecated. No replacement.
- */
- @Deprecated
- @NotImplemented("willBackgroundApplication")
- public void willBackgroundApplication() {}
/**/
}
diff --git a/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADMediationRewardedAdEventDelegate.java b/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADMediationRewardedAdEventDelegate.java
index c90935ee0..f012fbce6 100644
--- a/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADMediationRewardedAdEventDelegate.java
+++ b/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADMediationRewardedAdEventDelegate.java
@@ -57,12 +57,6 @@
void didStartVideo();
@Method(selector = "didEndVideo")
void didEndVideo();
- /**
- * @deprecated Deprecated. Use -didRewardUser.
- */
- @Deprecated
- @Method(selector = "didRewardUserWithReward:")
- void didRewardUser(GADAdReward reward);
/**/
/**/
/**/
diff --git a/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADMediationRewardedAdEventDelegateAdapter.java b/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADMediationRewardedAdEventDelegateAdapter.java
index dd96fae64..abc49802b 100644
--- a/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADMediationRewardedAdEventDelegateAdapter.java
+++ b/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADMediationRewardedAdEventDelegateAdapter.java
@@ -59,11 +59,5 @@ public void didRewardUser() {}
public void didStartVideo() {}
@NotImplemented("didEndVideo")
public void didEndVideo() {}
- /**
- * @deprecated Deprecated. Use -didRewardUser.
- */
- @Deprecated
- @NotImplemented("didRewardUserWithReward:")
- public void didRewardUser(GADAdReward reward) {}
/**/
}
diff --git a/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADMobileAds.java b/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADMobileAds.java
index 7975f5d93..44bc7796b 100644
--- a/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADMobileAds.java
+++ b/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADMobileAds.java
@@ -68,12 +68,6 @@ public GADMobileAds() {}
public native GADRequestConfiguration getRequestConfiguration();
@Property(selector = "initializationStatus")
public native GADInitializationStatus getInitializationStatus();
- /**
- * @deprecated Use versionNumber property instead.
- */
- @Deprecated
- @Property(selector = "sdkVersion")
- public native String getSdkVersion();
/**/
/**//**/
/**/
diff --git a/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADRequestConfiguration.java b/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADRequestConfiguration.java
index f730e875f..f9a63b491 100644
--- a/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADRequestConfiguration.java
+++ b/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADRequestConfiguration.java
@@ -77,23 +77,5 @@ public GADRequestConfiguration() {}
/**/
@Method(selector = "setPublisherFirstPartyIDEnabled:")
public native void setPublisherFirstPartyIDEnabled(boolean enabled);
- /**
- * @deprecated This method is deprecated. Use the setPublisherFirstPartyIDEnabled: method instead.
- */
- @Deprecated
- @Method(selector = "setSameAppKeyEnabled:")
- public native void setSameAppKeyEnabled(boolean enabled);
- /**
- * @deprecated This method is deprecated. Use the tagForUnderAgeOfConsent property instead. Calling this method internally sets the property.
- */
- @Deprecated
- @Method(selector = "tagForUnderAgeOfConsent:")
- public native void tagForUnderAgeOfConsent(boolean underAgeOfConsent);
- /**
- * @deprecated This method is deprecated. Use the tagForChildDirectedTreatment property instead. Calling this method internally sets the property.
- */
- @Deprecated
- @Method(selector = "tagForChildDirectedTreatment:")
- public native void tagForChildDirectedTreatment(boolean childDirectedTreatment);
/**/
}
diff --git a/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADResponseInfo.java b/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADResponseInfo.java
index e5429790f..af0b5d0c4 100644
--- a/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADResponseInfo.java
+++ b/firebase/ios-google-mobile-ads/src/main/java/org/robovm/pods/google/mobileads/GADResponseInfo.java
@@ -62,12 +62,6 @@ public GADResponseInfo() {}
public native NSArray getAdNetworkInfoArray();
@Property(selector = "dictionaryRepresentation")
public native NSDictionary getDictionaryRepresentation();
- /**
- * @deprecated Deprecated. Use loadedAdNetworkResponseInfo.adNetworkClassName instead.
- */
- @Deprecated
- @Property(selector = "adNetworkClassName")
- public native String getAdNetworkClassName();
/**/
/**//**/
/**/
diff --git a/firebase/ios-google-ump/pom.xml b/firebase/ios-google-ump/pom.xml
index e7675f87d..0dcbfc89c 100644
--- a/firebase/ios-google-ump/pom.xml
+++ b/firebase/ios-google-ump/pom.xml
@@ -7,7 +7,7 @@
robopods-firebase-google-ump-ios
- RoboPods Google User Messaging Platform iOS v2.1.0
+ RoboPods Google User Messaging Platform iOS v2.2.0
jar
diff --git a/firebase/ios-google-ump/src/main/bro-gen/UserMessagingPlatform.framework/Headers/UMPDebugSettings.h b/firebase/ios-google-ump/src/main/bro-gen/UserMessagingPlatform.framework/Headers/UMPDebugSettings.h
index a1399ec8f..ed59af02a 100644
--- a/firebase/ios-google-ump/src/main/bro-gen/UserMessagingPlatform.framework/Headers/UMPDebugSettings.h
+++ b/firebase/ios-google-ump/src/main/bro-gen/UserMessagingPlatform.framework/Headers/UMPDebugSettings.h
@@ -12,7 +12,7 @@ typedef NS_ENUM(NSInteger, UMPDebugGeography) {
/// Array of device identifier strings. Debug features are enabled for devices with these
/// identifiers. Debug features are always enabled for simulators.
-@property(nonatomic, nullable) NSArray *testDeviceIdentifiers;
+@property(nonatomic, copy, nullable) NSArray *testDeviceIdentifiers;
/// Debug geography.
@property(nonatomic) UMPDebugGeography geography;
diff --git a/firebase/ios-installations/pom.xml b/firebase/ios-installations/pom.xml
index a9a83a264..c3b0ccbc0 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 v10.21.0
+ RoboPods FireBase Installations iOS v10.22.0
jar
diff --git a/firebase/ios-messaging/pom.xml b/firebase/ios-messaging/pom.xml
index d6d0de991..23e2b6ff4 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 v10.21.0
+ RoboPods FireBase Messaging iOS v10.22.0
jar
diff --git a/firebase/ios-remoteconfig/pom.xml b/firebase/ios-remoteconfig/pom.xml
index 6e4b9ef62..b5dd59488 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 v10.21.0
+ RoboPods FireBase RemoteConfig iOS v10.22.0
jar
diff --git a/firebase/ios-storage/pom.xml b/firebase/ios-storage/pom.xml
index 79d7296da..a1a8d0207 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 v10.21.0
+ RoboPods Cloud Storage iOS v10.22.0
jar
diff --git a/firebase/ios-storage/src/main/bro-gen/FirebaseStorage.framework/Headers/FirebaseStorage-Swift.h b/firebase/ios-storage/src/main/bro-gen/FirebaseStorage.framework/Headers/FirebaseStorage-Swift.h
index 7e424f5f2..7285f64c5 100644
--- a/firebase/ios-storage/src/main/bro-gen/FirebaseStorage.framework/Headers/FirebaseStorage-Swift.h
+++ b/firebase/ios-storage/src/main/bro-gen/FirebaseStorage.framework/Headers/FirebaseStorage-Swift.h
@@ -298,7 +298,8 @@ SWIFT_CLASS_NAMED("Storage")
///
///
/// returns:
-/// the Storage
instance, configured with the custom FirebaseApp
and storage bucket URL.
+/// The Storage
instance, configured with the custom FirebaseApp
and storage bucket
+/// URL.
+ (FIRStorage * _Nonnull)storageForApp:(FIRApp * _Nonnull)app URL:(NSString * _Nonnull)url SWIFT_WARN_UNUSED_RESULT;
/// The FirebaseApp
associated with this Storage instance.
@property (nonatomic, readonly, strong) FIRApp * _Nonnull app;
@@ -308,10 +309,12 @@ SWIFT_CLASS_NAMED("Storage")
/// The maximum time in seconds to retry a download if a failure occurs.
/// Defaults to 10 minutes (600 seconds).
@property (nonatomic) NSTimeInterval maxDownloadRetryTime;
-/// The maximum time in seconds to retry operations other than upload and download if a failure occurs.
+/// The maximum time in seconds to retry operations other than upload and download if a failure
+/// occurs.
/// Defaults to 2 minutes (120 seconds).
@property (nonatomic) NSTimeInterval maxOperationRetryTime;
-/// Specify the maximum upload chunk size. Values less than 256K (262144) will be rounded up to 256K. Values
+/// Specify the maximum upload chunk size. Values less than 256K (262144) will be rounded up to
+/// 256K. Values
/// above 256K will be rounded down to the nearest 256K multiple. The default is no maximum.
@property (nonatomic) int64_t uploadChunkSizeBytes;
/// A DispatchQueue
that all developer callbacks are fired on. Defaults to the main queue.
@@ -322,21 +325,23 @@ SWIFT_CLASS_NAMED("Storage")
/// An instance of StorageReference
referencing the root of the storage bucket.
- (FIRStorageReference * _Nonnull)reference SWIFT_WARN_UNUSED_RESULT;
/// Creates a StorageReference given a gs://
, http://
, or https://
URL pointing to a
-/// Firebase Storage location. For example, you can pass in an https://
download URL retrieved from
+/// Firebase Storage location.
+/// For example, you can pass in an https://
download URL retrieved from
/// StorageReference.downloadURL(completion:)
or the gs://
URL from
/// StorageReference.description
.
-/// \param url A gs // or https:// URL to initialize the reference with.
+/// \param url A gs:// or https:// URL to initialize the reference with.
///
///
/// throws:
-/// Throws a fatal error if url
is not associated with the FirebaseApp
used to initialize
+/// Throws a fatal error if url
is not associated with the FirebaseApp
used to
+/// initialize
/// this Storage instance.
///
/// returns:
/// An instance of StorageReference at the given child path.
- (FIRStorageReference * _Nonnull)referenceForURL:(NSString * _Nonnull)url SWIFT_WARN_UNUSED_RESULT;
/// Creates a StorageReference
initialized at a location specified by the path
parameter.
-/// \param path A relative path from the root of the storage bucket,
+/// \param path A relative path from the root of the storage bucket,
/// for instance @“path/to/object”.
///
///
@@ -345,6 +350,10 @@ SWIFT_CLASS_NAMED("Storage")
- (FIRStorageReference * _Nonnull)referenceWithPath:(NSString * _Nonnull)path SWIFT_WARN_UNUSED_RESULT;
/// Configures the Storage SDK to use an emulated backend instead of the default remote backend.
/// This method should be called before invoking any other methods on a new instance of Storage
.
+/// \param host A string specifying the host.
+///
+/// \param port The port specified as an Int
.
+///
- (void)useEmulatorWithHost:(NSString * _Nonnull)host port:(NSInteger)port;
- (id _Nonnull)copy SWIFT_WARN_UNUSED_RESULT;
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
@@ -406,7 +415,7 @@ SWIFT_CLASS_NAMED("StorageObservableTask")
/// A task handle that can be used to remove the observer at a later date.
- (NSString * _Nonnull)observeStatus:(enum FIRStorageTaskStatus)status handler:(void (^ _Nonnull)(FIRStorageTaskSnapshot * _Nonnull))handler;
/// Removes the single observer with the provided handle.
-/// \param handle The handle of the task to remove.
+/// \param handle The handle of the task to remove.
///
- (void)removeObserverWithHandle:(NSString * _Nonnull)handle;
/// Removes all observers for a single status.
@@ -462,20 +471,11 @@ static NSString * _Nonnull const FIRStorageErrorCodeDomain = @"FirebaseStorage.S
SWIFT_CLASS_NAMED("StorageListResult")
@interface FIRStorageListResult : NSObject
/// The prefixes (folders) returned by a list()
operation.
-///
-/// returns:
-/// A list of prefixes (folders).
@property (nonatomic, readonly, copy) NSArray * _Nonnull prefixes;
/// The objects (files) returned by a list()
operation.
-///
-/// returns:
-/// A page token if more results are available.
@property (nonatomic, readonly, copy) NSArray * _Nonnull items;
-/// Returns a token that can be used to resume a previous list()
operation. nil
+/// A token that can be used to resume a previous list()
operation. nil
/// indicates that there are no more results.
-///
-/// returns:
-/// A page token if more results are available.
@property (nonatomic, readonly, copy) NSString * _Nullable pageToken;
- (id _Nonnull)copy SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
@@ -484,11 +484,11 @@ SWIFT_CLASS_NAMED("StorageListResult")
@class NSDate;
-/// Class which represents the metadata on an object in Firebase Storage. This metadata is
+/// Class which represents the metadata on an object in Firebase Storage.
+/// This metadata is
/// returned on successful operations, and can be used to retrieve download URLs, content types,
-/// and a Storage reference to the object in question. Full documentation can be found at the GCS
-/// Objects#resource docs.
-/// @see https://cloud.google.com/storage/docs/json_api/v1/objects#resource
+/// and a Storage reference to the object in question. Full documentation can be found in the
+/// GCS documentation
SWIFT_CLASS_NAMED("StorageMetadata")
@interface FIRStorageMetadata : NSObject
/// The name of the bucket containing this object.
@@ -532,6 +532,8 @@ SWIFT_CLASS_NAMED("StorageMetadata")
@property (nonatomic, readonly) BOOL isFile;
/// Determines if the current metadata represents a “folder”.
@property (nonatomic, readonly) BOOL isFolder;
+/// Creates an empty instance of StorageMetadata.
+/// @return An empty instance of StorageMetadata.
- (nonnull instancetype)init;
/// Creates an instance of StorageMetadata from the contents of a dictionary.
/// @return An instance of StorageMetadata that represents the contents of a dictionary.
@@ -549,7 +551,7 @@ SWIFT_CLASS_NAMED("StorageMetadata")
/// StorageReference
represents a reference to a Google Cloud Storage object. Developers can
/// upload and download objects, as well as get/set object metadata, and delete an object at the
-/// path. See the Cloud docs for more details: https://cloud.google.com/storage/
+/// path. See the Cloud docs for more details.
SWIFT_CLASS_NAMED("StorageReference")
@interface FIRStorageReference : NSObject
/// The Storage
service object which created this reference.
@@ -558,7 +560,7 @@ SWIFT_CLASS_NAMED("StorageReference")
/// For example, in gs://bucket/path/to/object.txt
, the bucket would be ‘bucket’.
@property (nonatomic, readonly, copy) NSString * _Nonnull bucket;
/// The full path to this object, not including the Google Cloud Storage bucket.
-/// In gs://bucket/path/to/object.txt
, the full path would be: path/to/object.txt
+/// In gs://bucket/path/to/object.txt
, the full path would be: path/to/object.txt
.
@property (nonatomic, readonly, copy) NSString * _Nonnull fullPath;
/// The short name of the object associated with this reference.
/// In gs://bucket/path/to/object.txt
, the name of the object would be object.txt
.
@@ -570,23 +572,27 @@ SWIFT_CLASS_NAMED("StorageReference")
- (FIRStorageReference * _Nonnull)root SWIFT_WARN_UNUSED_RESULT;
/// Creates a new StorageReference
pointing to the parent of the current reference
/// or nil
if this instance references the root location.
+/// \code
/// For example:
-/// path = foo/bar/baz parent = foo/bar
-/// path = foo parent = (root)
-/// path = (root) parent = nil
+/// path = foo/bar/baz parent = foo/bar
+/// path = foo parent = (root)
+/// path = (root) parent = nil
///
+/// \endcode
/// returns:
/// A new StorageReference
pointing to the parent of the current reference.
- (FIRStorageReference * _Nullable)parent SWIFT_WARN_UNUSED_RESULT;
/// Creates a new StorageReference
pointing to a child object of the current reference.
-/// path = foo child = bar newPath = foo/bar
-/// path = foo/bar child = baz ntask.impl.snapshotwPath = foo/bar/baz
+/// \code
+/// path = foo child = bar newPath = foo/bar
+/// path = foo/bar child = baz ntask.impl.snapshotwPath = foo/bar/baz
/// All leading and trailing slashes will be removed, and consecutive slashes will be
/// compressed to single slashes. For example:
-/// child = /foo/bar newPath = foo/bar
-/// child = foo/bar/ newPath = foo/bar
-/// child = foo///bar newPath = foo/bar
-/// \param path The path to append to the current path.
+/// child = /foo/bar newPath = foo/bar
+/// child = foo/bar/ newPath = foo/bar
+/// child = foo///bar newPath = foo/bar
+///
+/// \endcode\param path The path to append to the current path.
///
///
/// returns:
@@ -602,7 +608,8 @@ SWIFT_CLASS_NAMED("StorageReference")
///
///
/// returns:
-/// An instance of StorageUploadTask
, which can be used to monitor or manage the upload.
+/// An instance of StorageUploadTask
, which can be used to monitor or manage the
+/// upload.
- (FIRStorageUploadTask * _Nonnull)putData:(NSData * _Nonnull)uploadData metadata:(FIRStorageMetadata * _Nullable)metadata;
/// Asynchronously uploads data to the currently specified StorageReference
.
/// This is not recommended for large files, and one should instead upload a file from disk.
@@ -610,7 +617,8 @@ SWIFT_CLASS_NAMED("StorageReference")
///
///
/// returns:
-/// An instance of StorageUploadTask
, which can be used to monitor or manage the upload.
+/// An instance of StorageUploadTask
, which can be used to monitor or manage the
+/// upload.
- (FIRStorageUploadTask * _Nonnull)putData:(NSData * _Nonnull)uploadData;
/// Asynchronously uploads data to the currently specified StorageReference
.
/// This is not recommended for large files, and one should instead upload a file from disk.
@@ -624,7 +632,8 @@ SWIFT_CLASS_NAMED("StorageReference")
///
///
/// returns:
-/// An instance of StorageUploadTask
, which can be used to monitor or manage the upload.
+/// An instance of StorageUploadTask
, which can be used to monitor or manage the
+/// upload.
- (FIRStorageUploadTask * _Nonnull)putData:(NSData * _Nonnull)uploadData metadata:(FIRStorageMetadata * _Nullable)metadata completion:(void (^ _Nullable)(FIRStorageMetadata * _Nullable, NSError * _Nullable))completion;
/// Asynchronously uploads a file to the currently specified StorageReference
.
/// putData
should be used instead of putFile
in Extensions.
@@ -635,7 +644,8 @@ SWIFT_CLASS_NAMED("StorageReference")
///
///
/// returns:
-/// An instance of StorageUploadTask
, which can be used to monitor or manage the upload.
+/// An instance of StorageUploadTask
, which can be used to monitor or manage the
+/// upload.
- (FIRStorageUploadTask * _Nonnull)putFile:(NSURL * _Nonnull)fileURL metadata:(FIRStorageMetadata * _Nullable)metadata;
/// Asynchronously uploads a file to the currently specified StorageReference
,
/// without additional metadata.
@@ -655,11 +665,14 @@ SWIFT_CLASS_NAMED("StorageReference")
///
///
/// returns:
-/// An instance of StorageUploadTask
, which can be used to monitor or manage the upload.
+/// An instance of StorageUploadTask
, which can be used to monitor or manage the
+/// upload.
- (FIRStorageUploadTask * _Nonnull)putFile:(NSURL * _Nonnull)fileURL metadata:(FIRStorageMetadata * _Nullable)metadata completion:(void (^ _Nullable)(FIRStorageMetadata * _Nullable, NSError * _Nullable))completion;
/// Asynchronously downloads the object at the StorageReference
to a Data
instance in memory.
-/// A Data
buffer of the provided max size will be allocated, so ensure that the device has enough free
-/// memory to complete the download. For downloading large files, write(toFile:)
may be a better option.
+/// A Data
buffer of the provided max size will be allocated, so ensure that the device has
+/// enough free
+/// memory to complete the download. For downloading large files, write(toFile:)
may be a better
+/// option.
/// \param maxSize The maximum size in bytes to download. If the download exceeds this size,
/// the task will be cancelled and an error will be returned.
///
@@ -668,22 +681,23 @@ SWIFT_CLASS_NAMED("StorageReference")
///
///
/// returns:
-/// An StorageDownloadTask
that can be used to monitor or manage the download.
+/// A StorageDownloadTask
that can be used to monitor or manage the download.
- (FIRStorageDownloadTask * _Nonnull)dataWithMaxSize:(int64_t)maxSize completion:(void (^ _Nonnull)(NSData * _Nullable, NSError * _Nullable))completion;
/// Asynchronously retrieves a long lived download URL with a revokable token.
/// This can be used to share the file with others, but can be revoked by a developer
/// in the Firebase Console.
-/// \param completion A completion block that either returns the URL on success,
+/// \param completion A completion block that either returns the URL on success,
/// or an error on failure.
///
- (void)downloadURLWithCompletion:(void (^ _Nonnull)(NSURL * _Nullable, NSError * _Nullable))completion;
/// Asynchronously downloads the object at the current path to a specified system filepath.
///
/// -
-/// Returns An
StorageDownloadTask
that can be used to monitor or manage the download.
+/// Returns A StorageDownloadTask
that can be used to monitor or manage the download.
///
///
-/// \param fileURL A file system URL representing the path the object should be downloaded to.
+/// \param fileURL A file system URL representing the path the object should be downloaded
+/// to.
///
- (FIRStorageDownloadTask * _Nonnull)writeToFile:(NSURL * _Nonnull)fileURL;
/// Asynchronously downloads the object at the current path to a specified system filepath.
@@ -702,7 +716,8 @@ SWIFT_CLASS_NAMED("StorageReference")
/// Consistency of the result is not guaranteed if objects are inserted or removed while this
/// operation is executing. All results are buffered in memory.
/// listAll(completion:)
is only available for projects using Firebase Rules Version 2.
-/// \param completion A completion handler that will be invoked with all items and prefixes under
+/// \param completion A completion handler that will be invoked with all items and prefixes
+/// under
/// the current StorageReference
.
///
- (void)listAllWithCompletion:(void (^ _Nonnull)(FIRStorageListResult * _Nullable, NSError * _Nullable))completion;
@@ -710,9 +725,9 @@ SWIFT_CLASS_NAMED("StorageReference")
/// “/” is treated as a path delimiter. Firebase Storage does not support unsupported object
/// paths that end with “/” or contain two consecutive “/“s. All invalid objects in GCS will be
/// filtered.
-/// list(maxResults:completion:)
is only available for projects using Firebase Rules Version 2.
-/// \param maxResults The maximum number of results to return in a single page. Must be greater
-/// than 0 and at most 1000.
+/// Only available for projects using Firebase Rules Version 2.
+/// \param maxResults The maximum number of results to return in a single page. Must be
+/// greater than 0 and at most 1000.
///
/// \param completion A completion handler that will be invoked with up to maxResults
items and
/// prefixes under the current StorageReference
.
@@ -735,7 +750,7 @@ SWIFT_CLASS_NAMED("StorageReference")
///
- (void)listWithMaxResults:(int64_t)maxResults pageToken:(NSString * _Nonnull)pageToken completion:(void (^ _Nonnull)(FIRStorageListResult * _Nullable, NSError * _Nullable))completion;
/// Retrieves metadata associated with an object at the current path.
-/// \param completion A completion block which returns the object metadata on success,
+/// \param completion A completion block which returns the object metadata on success,
/// or an error on failure.
///
- (void)metadataWithCompletion:(void (^ _Nonnull)(FIRStorageMetadata * _Nullable, NSError * _Nullable))completion;
@@ -747,12 +762,16 @@ SWIFT_CLASS_NAMED("StorageReference")
///
- (void)updateMetadata:(FIRStorageMetadata * _Nonnull)metadata completion:(void (^ _Nullable)(FIRStorageMetadata * _Nullable, NSError * _Nullable))completion;
/// Deletes the object at the current path.
-/// \param completion A completion block which returns a nonnull error on failure.
+/// \param completion A completion block which returns a nonnull error on failure.
///
- (void)deleteWithCompletion:(void (^ _Nullable)(NSError * _Nullable))completion;
+/// NSObject override
- (id _Nonnull)copy SWIFT_WARN_UNUSED_RESULT;
+/// NSObject override
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
+/// NSObject override
@property (nonatomic, readonly) NSUInteger hash;
+/// NSObject override
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");