-
-/// Game achievement ID (NSString).
-///
-/// NSDictionary *params = @{
-/// kFIRParameterAchievementID : @"10_matches_won",
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterAchievementID NS_SWIFT_NAME(AnalyticsParameterAchievementID) =
- @"achievement_id";
-
-/// Ad Network Click ID (NSString). Used for network-specific click IDs which vary in format.
-///
-/// NSDictionary *params = @{
-/// kFIRParameterAdNetworkClickID : @"1234567",
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterAdNetworkClickID
- NS_SWIFT_NAME(AnalyticsParameterAdNetworkClickID) = @"aclid";
-
-/// The store or affiliation from which this transaction occurred (NSString).
-///
-/// NSDictionary *params = @{
-/// kFIRParameterAffiliation : @"Google Store",
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterAffiliation NS_SWIFT_NAME(AnalyticsParameterAffiliation) =
- @"affiliation";
-
-/// The individual campaign name, slogan, promo code, etc. Some networks have pre-defined macro to
-/// capture campaign information, otherwise can be populated by developer. Highly Recommended
-/// (NSString).
-///
-/// NSDictionary *params = @{
-/// kFIRParameterCampaign : @"winter_promotion",
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterCampaign NS_SWIFT_NAME(AnalyticsParameterCampaign) =
- @"campaign";
-
-/// Character used in game (NSString).
-///
-/// NSDictionary *params = @{
-/// kFIRParameterCharacter : @"beat_boss",
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterCharacter NS_SWIFT_NAME(AnalyticsParameterCharacter) =
- @"character";
-
-/// The checkout step (1..N) (unsigned 64-bit integer as NSNumber).
-///
-/// NSDictionary *params = @{
-/// kFIRParameterCheckoutStep : @"1",
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterCheckoutStep NS_SWIFT_NAME(AnalyticsParameterCheckoutStep) =
- @"checkout_step";
-
-/// Some option on a step in an ecommerce flow (NSString).
-///
-/// NSDictionary *params = @{
-/// kFIRParameterCheckoutOption : @"Visa",
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterCheckoutOption
- NS_SWIFT_NAME(AnalyticsParameterCheckoutOption) = @"checkout_option";
-
-/// Campaign content (NSString).
-static NSString *const kFIRParameterContent NS_SWIFT_NAME(AnalyticsParameterContent) = @"content";
-
-/// Type of content selected (NSString).
-///
-/// NSDictionary *params = @{
-/// kFIRParameterContentType : @"news article",
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterContentType NS_SWIFT_NAME(AnalyticsParameterContentType) =
- @"content_type";
-
-/// Coupon code for a purchasable item (NSString).
-///
-/// NSDictionary *params = @{
-/// kFIRParameterCoupon : @"zz123",
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterCoupon NS_SWIFT_NAME(AnalyticsParameterCoupon) = @"coupon";
-
-/// Campaign custom parameter (NSString). Used as a method of capturing custom data in a campaign.
-/// Use varies by network.
-///
-/// NSDictionary *params = @{
-/// kFIRParameterCP1 : @"custom_data",
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterCP1 NS_SWIFT_NAME(AnalyticsParameterCP1) = @"cp1";
-
-/// The name of a creative used in a promotional spot (NSString).
-///
-/// NSDictionary *params = @{
-/// kFIRParameterCreativeName : @"Summer Sale",
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterCreativeName NS_SWIFT_NAME(AnalyticsParameterCreativeName) =
- @"creative_name";
-
-/// The name of a creative slot (NSString).
-///
-/// NSDictionary *params = @{
-/// kFIRParameterCreativeSlot : @"summer_banner2",
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterCreativeSlot NS_SWIFT_NAME(AnalyticsParameterCreativeSlot) =
- @"creative_slot";
-
-/// Purchase currency in 3-letter
-/// ISO_4217 format (NSString).
-///
-/// NSDictionary *params = @{
-/// kFIRParameterCurrency : @"USD",
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterCurrency NS_SWIFT_NAME(AnalyticsParameterCurrency) =
- @"currency";
-
-/// Flight or Travel destination (NSString).
-///
-/// NSDictionary *params = @{
-/// kFIRParameterDestination : @"Mountain View, CA",
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterDestination NS_SWIFT_NAME(AnalyticsParameterDestination) =
- @"destination";
-
-/// The arrival date, check-out date or rental end date for the item. This should be in
-/// YYYY-MM-DD format (NSString).
-///
-/// NSDictionary *params = @{
-/// kFIRParameterEndDate : @"2015-09-14",
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterEndDate NS_SWIFT_NAME(AnalyticsParameterEndDate) = @"end_date";
-
-/// Flight number for travel events (NSString).
-///
-/// NSDictionary *params = @{
-/// kFIRParameterFlightNumber : @"ZZ800",
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterFlightNumber NS_SWIFT_NAME(AnalyticsParameterFlightNumber) =
- @"flight_number";
-
-/// Group/clan/guild ID (NSString).
-///
-/// NSDictionary *params = @{
-/// kFIRParameterGroupID : @"g1",
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterGroupID NS_SWIFT_NAME(AnalyticsParameterGroupID) = @"group_id";
-
-/// Index of an item in a list (signed 64-bit integer as NSNumber).
-///
-/// NSDictionary *params = @{
-/// kFIRParameterIndex : @(1),
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterIndex NS_SWIFT_NAME(AnalyticsParameterIndex) = @"index";
-
-/// Item brand (NSString).
-///
-/// NSDictionary *params = @{
-/// kFIRParameterItemBrand : @"Google",
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterItemBrand NS_SWIFT_NAME(AnalyticsParameterItemBrand) =
- @"item_brand";
-
-/// Item category (NSString).
-///
-/// NSDictionary *params = @{
-/// kFIRParameterItemCategory : @"t-shirts",
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterItemCategory NS_SWIFT_NAME(AnalyticsParameterItemCategory) =
- @"item_category";
-
-/// Item ID (NSString).
-///
-/// NSDictionary *params = @{
-/// kFIRParameterItemID : @"p7654",
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterItemID NS_SWIFT_NAME(AnalyticsParameterItemID) = @"item_id";
-
-/// The Google Place ID (NSString) that
-/// corresponds to the associated item. Alternatively, you can supply your own custom Location ID.
-///
-/// NSDictionary *params = @{
-/// kFIRParameterItemLocationID : @"ChIJiyj437sx3YAR9kUWC8QkLzQ",
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterItemLocationID
- NS_SWIFT_NAME(AnalyticsParameterItemLocationID) = @"item_location_id";
-
-/// Item name (NSString).
-///
-/// NSDictionary *params = @{
-/// kFIRParameterItemName : @"abc",
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterItemName NS_SWIFT_NAME(AnalyticsParameterItemName) =
- @"item_name";
-
-/// The list in which the item was presented to the user (NSString).
-///
-/// NSDictionary *params = @{
-/// kFIRParameterItemList : @"Search Results",
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterItemList NS_SWIFT_NAME(AnalyticsParameterItemList) =
- @"item_list";
-
-/// Item variant (NSString).
-///
-/// NSDictionary *params = @{
-/// kFIRParameterItemVariant : @"Red",
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterItemVariant NS_SWIFT_NAME(AnalyticsParameterItemVariant) =
- @"item_variant";
-
-/// Level in game (signed 64-bit integer as NSNumber).
-///
-/// NSDictionary *params = @{
-/// kFIRParameterLevel : @(42),
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterLevel NS_SWIFT_NAME(AnalyticsParameterLevel) = @"level";
-
-/// Location (NSString). The Google Place ID
-/// that corresponds to the associated event. Alternatively, you can supply your own custom
-/// Location ID.
-///
-/// NSDictionary *params = @{
-/// kFIRParameterLocation : @"ChIJiyj437sx3YAR9kUWC8QkLzQ",
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterLocation NS_SWIFT_NAME(AnalyticsParameterLocation) =
- @"location";
-
-/// The advertising or marketing medium, for example: cpc, banner, email, push. Highly recommended
-/// (NSString).
-///
-/// NSDictionary *params = @{
-/// kFIRParameterMedium : @"email",
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterMedium NS_SWIFT_NAME(AnalyticsParameterMedium) = @"medium";
-
-/// Number of nights staying at hotel (signed 64-bit integer as NSNumber).
-///
-/// NSDictionary *params = @{
-/// kFIRParameterNumberOfNights : @(3),
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterNumberOfNights
- NS_SWIFT_NAME(AnalyticsParameterNumberOfNights) = @"number_of_nights";
-
-/// Number of passengers traveling (signed 64-bit integer as NSNumber).
-///
-/// NSDictionary *params = @{
-/// kFIRParameterNumberOfPassengers : @(11),
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterNumberOfPassengers
- NS_SWIFT_NAME(AnalyticsParameterNumberOfPassengers) = @"number_of_passengers";
-
-/// Number of rooms for travel events (signed 64-bit integer as NSNumber).
-///
-/// NSDictionary *params = @{
-/// kFIRParameterNumberOfRooms : @(2),
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterNumberOfRooms NS_SWIFT_NAME(AnalyticsParameterNumberOfRooms) =
- @"number_of_rooms";
-
-/// Flight or Travel origin (NSString).
-///
-/// NSDictionary *params = @{
-/// kFIRParameterOrigin : @"Mountain View, CA",
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterOrigin NS_SWIFT_NAME(AnalyticsParameterOrigin) = @"origin";
-
-/// Purchase price (double as NSNumber).
-///
-/// NSDictionary *params = @{
-/// kFIRParameterPrice : @(1.0),
-/// kFIRParameterCurrency : @"USD", // e.g. $1.00 USD
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterPrice NS_SWIFT_NAME(AnalyticsParameterPrice) = @"price";
-
-/// Purchase quantity (signed 64-bit integer as NSNumber).
-///
-/// NSDictionary *params = @{
-/// kFIRParameterQuantity : @(1),
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterQuantity NS_SWIFT_NAME(AnalyticsParameterQuantity) =
- @"quantity";
-
-/// Score in game (signed 64-bit integer as NSNumber).
-///
-/// NSDictionary *params = @{
-/// kFIRParameterScore : @(4200),
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterScore NS_SWIFT_NAME(AnalyticsParameterScore) = @"score";
-
-/// The search string/keywords used (NSString).
-///
-/// NSDictionary *params = @{
-/// kFIRParameterSearchTerm : @"periodic table",
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterSearchTerm NS_SWIFT_NAME(AnalyticsParameterSearchTerm) =
- @"search_term";
-
-/// Shipping cost (double as NSNumber).
-///
-/// NSDictionary *params = @{
-/// kFIRParameterShipping : @(9.50),
-/// kFIRParameterCurrency : @"USD", // e.g. $9.50 USD
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterShipping NS_SWIFT_NAME(AnalyticsParameterShipping) =
- @"shipping";
-
-/// Sign up method (NSString).
-///
-/// NSDictionary *params = @{
-/// kFIRParameterSignUpMethod : @"google",
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterSignUpMethod NS_SWIFT_NAME(AnalyticsParameterSignUpMethod) =
- @"sign_up_method";
-
-/// The origin of your traffic, such as an Ad network (for example, google) or partner (urban
-/// airship). Identify the advertiser, site, publication, etc. that is sending traffic to your
-/// property. Highly recommended (NSString).
-///
-/// NSDictionary *params = @{
-/// kFIRParameterSource : @"InMobi",
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterSource NS_SWIFT_NAME(AnalyticsParameterSource) = @"source";
-
-/// The departure date, check-in date or rental start date for the item. This should be in
-/// YYYY-MM-DD format (NSString).
-///
-/// NSDictionary *params = @{
-/// kFIRParameterStartDate : @"2015-09-14",
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterStartDate NS_SWIFT_NAME(AnalyticsParameterStartDate) =
- @"start_date";
-
-/// Tax amount (double as NSNumber).
-///
-/// NSDictionary *params = @{
-/// kFIRParameterTax : @(1.0),
-/// kFIRParameterCurrency : @"USD", // e.g. $1.00 USD
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterTax NS_SWIFT_NAME(AnalyticsParameterTax) = @"tax";
-
-/// If you're manually tagging keyword campaigns, you should use utm_term to specify the keyword
-/// (NSString).
-///
-/// NSDictionary *params = @{
-/// kFIRParameterTerm : @"game",
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterTerm NS_SWIFT_NAME(AnalyticsParameterTerm) = @"term";
-
-/// A single ID for a ecommerce group transaction (NSString).
-///
-/// NSDictionary *params = @{
-/// kFIRParameterTransactionID : @"ab7236dd9823",
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterTransactionID NS_SWIFT_NAME(AnalyticsParameterTransactionID) =
- @"transaction_id";
-
-/// Travel class (NSString).
-///
-/// NSDictionary *params = @{
-/// kFIRParameterTravelClass : @"business",
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterTravelClass NS_SWIFT_NAME(AnalyticsParameterTravelClass) =
- @"travel_class";
-
-/// A context-specific numeric value which is accumulated automatically for each event type. This is
-/// a general purpose parameter that is useful for accumulating a key metric that pertains to an
-/// event. Examples include revenue, distance, time and points. Value should be specified as signed
-/// 64-bit integer or double as NSNumber. Notes: Values for pre-defined currency-related events
-/// (such as @c kFIREventAddToCart) should be supplied using double as NSNumber and must be
-/// accompanied by a @c kFIRParameterCurrency parameter. The valid range of accumulated values is
-/// [-9,223,372,036,854.77, 9,223,372,036,854.77]. Supplying a non-numeric value, omitting the
-/// corresponding @c kFIRParameterCurrency parameter, or supplying an invalid
-/// currency code for conversion events will cause that
-/// conversion to be omitted from reporting.
-///
-/// NSDictionary *params = @{
-/// kFIRParameterValue : @(3.99),
-/// kFIRParameterCurrency : @"USD", // e.g. $3.99 USD
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterValue NS_SWIFT_NAME(AnalyticsParameterValue) = @"value";
-
-/// Name of virtual currency type (NSString).
-///
-/// NSDictionary *params = @{
-/// kFIRParameterVirtualCurrencyName : @"virtual_currency_name",
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterVirtualCurrencyName
- NS_SWIFT_NAME(AnalyticsParameterVirtualCurrencyName) = @"virtual_currency_name";
-
-/// The name of a level in a game (NSString).
-///
-/// NSDictionary *params = @{
-/// kFIRParameterLevelName : @"room_1",
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterLevelName NS_SWIFT_NAME(AnalyticsParameterLevelName) =
- @"level_name";
-
-/// The result of an operation. Specify 1 to indicate success and 0 to indicate failure (unsigned
-/// integer as NSNumber).
-///
-/// NSDictionary *params = @{
-/// kFIRParameterSuccess : @(1),
-/// // ...
-/// };
-///
-static NSString *const kFIRParameterSuccess NS_SWIFT_NAME(AnalyticsParameterSuccess) = @"success";
diff --git a/src/ios/Firebase/Analytics/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h b/src/ios/Firebase/Analytics/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h
deleted file mode 100755
index f50707fa1..000000000
--- a/src/ios/Firebase/Analytics/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h
+++ /dev/null
@@ -1,17 +0,0 @@
-/// @file FIRUserPropertyNames.h
-///
-/// Predefined user property names.
-///
-/// A UserProperty is an attribute that describes the app-user. By supplying UserProperties, you can
-/// later analyze different behaviors of various segments of your userbase. You may supply up to 25
-/// unique UserProperties per app, and you can use the name and value of your choosing for each one.
-/// UserProperty names can be up to 24 characters long, may only contain alphanumeric characters and
-/// underscores ("_"), and must start with an alphabetic character. UserProperty values can be up to
-/// 36 characters long. The "firebase_", "google_", and "ga_" prefixes are reserved and should not
-/// be used.
-
-#import
-
-/// The method used to sign in. For example, "google", "facebook" or "twitter".
-static NSString *const kFIRUserPropertySignUpMethod
- NS_SWIFT_NAME(AnalyticsUserPropertySignUpMethod) = @"sign_up_method";
diff --git a/src/ios/Firebase/Analytics/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h b/src/ios/Firebase/Analytics/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h
deleted file mode 100755
index ed7588a6b..000000000
--- a/src/ios/Firebase/Analytics/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#import "FIRAnalytics+AppDelegate.h"
-#import "FIRAnalytics.h"
-#import "FIREventNames.h"
-#import "FIRParameterNames.h"
-#import "FIRUserPropertyNames.h"
diff --git a/src/ios/Firebase/Analytics/FirebaseAnalytics.framework/Modules/module.modulemap b/src/ios/Firebase/Analytics/FirebaseAnalytics.framework/Modules/module.modulemap
deleted file mode 100755
index ef80595cd..000000000
--- a/src/ios/Firebase/Analytics/FirebaseAnalytics.framework/Modules/module.modulemap
+++ /dev/null
@@ -1,10 +0,0 @@
-framework module FirebaseAnalytics {
- umbrella header "FirebaseAnalytics.h"
- export *
- module * { export *}
- link "sqlite3"
- link "z"
- link framework "Security"
- link framework "StoreKit"
- link framework "SystemConfiguration"
- link framework "UIKit"}
diff --git a/src/ios/Firebase/Analytics/FirebaseCore.framework/FirebaseCore b/src/ios/Firebase/Analytics/FirebaseCore.framework/FirebaseCore
deleted file mode 100644
index 3d2600382..000000000
Binary files a/src/ios/Firebase/Analytics/FirebaseCore.framework/FirebaseCore and /dev/null differ
diff --git a/src/ios/Firebase/Analytics/FirebaseCore.framework/Headers/FIRAnalyticsConfiguration.h b/src/ios/Firebase/Analytics/FirebaseCore.framework/Headers/FIRAnalyticsConfiguration.h
deleted file mode 100644
index ca1d32c6e..000000000
--- a/src/ios/Firebase/Analytics/FirebaseCore.framework/Headers/FIRAnalyticsConfiguration.h
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * Copyright 2017 Google
- *
- * 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
-
-NS_ASSUME_NONNULL_BEGIN
-
-/**
- * This class provides configuration fields for Firebase Analytics.
- */
-NS_SWIFT_NAME(AnalyticsConfiguration)
-@interface FIRAnalyticsConfiguration : NSObject
-
-/**
- * Returns the shared instance of FIRAnalyticsConfiguration.
- */
-+ (FIRAnalyticsConfiguration *)sharedInstance NS_SWIFT_NAME(shared());
-
-/**
- * Sets the minimum engagement time in seconds required to start a new session. The default value
- * is 10 seconds.
- */
-- (void)setMinimumSessionInterval:(NSTimeInterval)minimumSessionInterval;
-
-/**
- * Sets the interval of inactivity in seconds that terminates the current session. The default
- * value is 1800 seconds (30 minutes).
- */
-- (void)setSessionTimeoutInterval:(NSTimeInterval)sessionTimeoutInterval;
-
-/**
- * Sets whether analytics collection is enabled for this app on this device. This setting is
- * persisted across app sessions. By default it is enabled.
- */
-- (void)setAnalyticsCollectionEnabled:(BOOL)analyticsCollectionEnabled;
-
-@end
-
-NS_ASSUME_NONNULL_END
diff --git a/src/ios/Firebase/Analytics/FirebaseCore.framework/Headers/FIRApp.h b/src/ios/Firebase/Analytics/FirebaseCore.framework/Headers/FIRApp.h
deleted file mode 100644
index e0dd6d692..000000000
--- a/src/ios/Firebase/Analytics/FirebaseCore.framework/Headers/FIRApp.h
+++ /dev/null
@@ -1,127 +0,0 @@
-/*
- * Copyright 2017 Google
- *
- * 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
-
-@class FIROptions;
-
-NS_ASSUME_NONNULL_BEGIN
-
-/** A block that takes a BOOL and has no return value. */
-typedef void (^FIRAppVoidBoolCallback)(BOOL success) NS_SWIFT_NAME(FirebaseAppVoidBoolCallback);
-
-/**
- * The entry point of Firebase SDKs.
- *
- * Initialize and configure FIRApp using +[FIRApp configure]
- * or other customized ways as shown below.
- *
- * The logging system has two modes: default mode and debug mode. In default mode, only logs with
- * log level Notice, Warning and Error will be sent to device. In debug mode, all logs will be sent
- * to device. The log levels that Firebase uses are consistent with the ASL log levels.
- *
- * Enable debug mode by passing the -FIRDebugEnabled argument to the application. You can add this
- * argument in the application's Xcode scheme. When debug mode is enabled via -FIRDebugEnabled,
- * further executions of the application will also be in debug mode. In order to return to default
- * mode, you must explicitly disable the debug mode with the application argument -FIRDebugDisabled.
- *
- * It is also possible to change the default logging level in code by calling setLoggerLevel: on
- * the FIRConfiguration interface.
- */
-NS_SWIFT_NAME(FirebaseApp)
-@interface FIRApp : NSObject
-
-/**
- * Configures a default Firebase app. Raises an exception if any configuration step fails. The
- * default app is named "__FIRAPP_DEFAULT". This method should be called after the app is launched
- * and before using Firebase services. This method is thread safe and contains synchronous file I/O
- * (reading GoogleService-Info.plist from disk).
- */
-+ (void)configure;
-
-/**
- * Configures the default Firebase app with the provided options. The default app is named
- * "__FIRAPP_DEFAULT". Raises an exception if any configuration step fails. This method is thread
- * safe.
- *
- * @param options The Firebase application options used to configure the service.
- */
-+ (void)configureWithOptions:(FIROptions *)options NS_SWIFT_NAME(configure(options:));
-
-/**
- * Configures a Firebase app with the given name and options. Raises an exception if any
- * configuration step fails. This method is thread safe.
- *
- * @param name The application's name given by the developer. The name should should only contain
- Letters, Numbers and Underscore.
- * @param options The Firebase application options used to configure the services.
- */
-// clang-format off
-+ (void)configureWithName:(NSString *)name
- options:(FIROptions *)options NS_SWIFT_NAME(configure(name:options:));
-// clang-format on
-
-/**
- * Returns the default app, or nil if the default app does not exist.
- */
-+ (nullable FIRApp *)defaultApp NS_SWIFT_NAME(app());
-
-/**
- * Returns a previously created FIRApp instance with the given name, or nil if no such app exists.
- * This method is thread safe.
- */
-+ (nullable FIRApp *)appNamed:(NSString *)name NS_SWIFT_NAME(app(name:));
-
-/**
- * Returns the set of all extant FIRApp instances, or nil if there are no FIRApp instances. This
- * method is thread safe.
- */
-@property(class, readonly, nullable) NSDictionary *allApps;
-
-/**
- * Cleans up the current FIRApp, freeing associated data and returning its name to the pool for
- * future use. This method is thread safe.
- */
-- (void)deleteApp:(FIRAppVoidBoolCallback)completion;
-
-/**
- * FIRApp instances should not be initialized directly. Call +[FIRApp configure],
- * +[FIRApp configureWithOptions:], or +[FIRApp configureWithNames:options:] directly.
- */
-- (instancetype)init NS_UNAVAILABLE;
-
-/**
- * Gets the name of this app.
- */
-@property(nonatomic, copy, readonly) NSString *name;
-
-/**
- * Gets a copy of the options for this app. These are non-modifiable.
- */
-@property(nonatomic, copy, readonly) FIROptions *options;
-
-/**
- * Gets or sets whether automatic data collection is enabled for all products. Defaults to `YES`
- * unless `FirebaseDataCollectionDefaultEnabled` is set to `NO` in your app's Info.plist. This value
- * is persisted across runs of the app so that it can be set once when users have consented to
- * collection.
- */
-@property(nonatomic, readwrite, getter=isDataCollectionDefaultEnabled)
- BOOL dataCollectionDefaultEnabled;
-
-@end
-
-NS_ASSUME_NONNULL_END
diff --git a/src/ios/Firebase/Analytics/FirebaseCore.framework/Headers/FIRConfiguration.h b/src/ios/Firebase/Analytics/FirebaseCore.framework/Headers/FIRConfiguration.h
deleted file mode 100644
index 95bba5e7b..000000000
--- a/src/ios/Firebase/Analytics/FirebaseCore.framework/Headers/FIRConfiguration.h
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Copyright 2017 Google
- *
- * 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
-
-#import "FIRAnalyticsConfiguration.h"
-#import "FIRLoggerLevel.h"
-
-NS_ASSUME_NONNULL_BEGIN
-
-/**
- * This interface provides global level properties that the developer can tweak, and the singleton
- * of the Firebase Analytics configuration class.
- */
-NS_SWIFT_NAME(FirebaseConfiguration)
-@interface FIRConfiguration : NSObject
-
-/** Returns the shared configuration object. */
-@property(class, nonatomic, readonly) FIRConfiguration *sharedInstance NS_SWIFT_NAME(shared);
-
-/** The configuration class for Firebase Analytics. */
-@property(nonatomic, readwrite) FIRAnalyticsConfiguration *analyticsConfiguration;
-
-/**
- * Sets the logging level for internal Firebase logging. Firebase will only log messages
- * that are logged at or below loggerLevel. The messages are logged both to the Xcode
- * console and to the device's log. Note that if an app is running from AppStore, it will
- * never log above FIRLoggerLevelNotice even if loggerLevel is set to a higher (more verbose)
- * setting.
- *
- * @param loggerLevel The maximum logging level. The default level is set to FIRLoggerLevelNotice.
- */
-- (void)setLoggerLevel:(FIRLoggerLevel)loggerLevel;
-
-@end
-
-NS_ASSUME_NONNULL_END
diff --git a/src/ios/Firebase/Analytics/FirebaseCore.framework/Headers/FIRLoggerLevel.h b/src/ios/Firebase/Analytics/FirebaseCore.framework/Headers/FIRLoggerLevel.h
deleted file mode 100644
index dca3aa0b0..000000000
--- a/src/ios/Firebase/Analytics/FirebaseCore.framework/Headers/FIRLoggerLevel.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright 2017 Google
- *
- * 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.
- */
-
-// Note that importing GULLoggerLevel.h will lead to a non-modular header
-// import error.
-
-/**
- * The log levels used by internal logging.
- */
-typedef NS_ENUM(NSInteger, FIRLoggerLevel) {
- /** Error level, matches ASL_LEVEL_ERR. */
- FIRLoggerLevelError = 3,
- /** Warning level, matches ASL_LEVEL_WARNING. */
- FIRLoggerLevelWarning = 4,
- /** Notice level, matches ASL_LEVEL_NOTICE. */
- FIRLoggerLevelNotice = 5,
- /** Info level, matches ASL_LEVEL_INFO. */
- FIRLoggerLevelInfo = 6,
- /** Debug level, matches ASL_LEVEL_DEBUG. */
- FIRLoggerLevelDebug = 7,
- /** Minimum log level. */
- FIRLoggerLevelMin = FIRLoggerLevelError,
- /** Maximum log level. */
- FIRLoggerLevelMax = FIRLoggerLevelDebug
-} NS_SWIFT_NAME(FirebaseLoggerLevel);
diff --git a/src/ios/Firebase/Analytics/FirebaseCore.framework/Headers/FIROptions.h b/src/ios/Firebase/Analytics/FirebaseCore.framework/Headers/FIROptions.h
deleted file mode 100644
index 87a01ddc7..000000000
--- a/src/ios/Firebase/Analytics/FirebaseCore.framework/Headers/FIROptions.h
+++ /dev/null
@@ -1,116 +0,0 @@
-/*
- * Copyright 2017 Google
- *
- * 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
-
-NS_ASSUME_NONNULL_BEGIN
-
-/**
- * This class provides constant fields of Google APIs.
- */
-NS_SWIFT_NAME(FirebaseOptions)
-@interface FIROptions : NSObject
-
-/**
- * Returns the default options. The first time this is called it synchronously reads
- * GoogleService-Info.plist from disk.
- */
-+ (nullable FIROptions *)defaultOptions NS_SWIFT_NAME(defaultOptions());
-
-/**
- * An iOS API key used for authenticating requests from your app, e.g.
- * @"AIzaSyDdVgKwhZl0sTTTLZ7iTmt1r3N2cJLnaDk", used to identify your app to Google servers.
- */
-@property(nonatomic, copy, nullable) NSString *APIKey NS_SWIFT_NAME(apiKey);
-
-/**
- * The bundle ID for the application. Defaults to `[[NSBundle mainBundle] bundleID]` when not set
- * manually or in a plist.
- */
-@property(nonatomic, copy) NSString *bundleID;
-
-/**
- * The OAuth2 client ID for iOS application used to authenticate Google users, for example
- * @"12345.apps.googleusercontent.com", used for signing in with Google.
- */
-@property(nonatomic, copy, nullable) NSString *clientID;
-
-/**
- * The tracking ID for Google Analytics, e.g. @"UA-12345678-1", used to configure Google Analytics.
- */
-@property(nonatomic, copy, nullable) NSString *trackingID;
-
-/**
- * The Project Number from the Google Developer's console, for example @"012345678901", used to
- * configure Google Cloud Messaging.
- */
-@property(nonatomic, copy) NSString *GCMSenderID NS_SWIFT_NAME(gcmSenderID);
-
-/**
- * The Project ID from the Firebase console, for example @"abc-xyz-123".
- */
-@property(nonatomic, copy, nullable) NSString *projectID;
-
-/**
- * The Android client ID used in Google AppInvite when an iOS app has its Android version, for
- * example @"12345.apps.googleusercontent.com".
- */
-@property(nonatomic, copy, nullable) NSString *androidClientID;
-
-/**
- * The Google App ID that is used to uniquely identify an instance of an app.
- */
-@property(nonatomic, copy) NSString *googleAppID;
-
-/**
- * The database root URL, e.g. @"http://abc-xyz-123.firebaseio.com".
- */
-@property(nonatomic, copy, nullable) NSString *databaseURL;
-
-/**
- * The URL scheme used to set up Durable Deep Link service.
- */
-@property(nonatomic, copy, nullable) NSString *deepLinkURLScheme;
-
-/**
- * The Google Cloud Storage bucket name, e.g. @"abc-xyz-123.storage.firebase.com".
- */
-@property(nonatomic, copy, nullable) NSString *storageBucket;
-
-/**
- * Initializes a customized instance of FIROptions from the file at the given plist file path. This
- * will read the file synchronously from disk.
- * For example,
- * NSString *filePath =
- * [[NSBundle mainBundle] pathForResource:@"GoogleService-Info" ofType:@"plist"];
- * FIROptions *options = [[FIROptions alloc] initWithContentsOfFile:filePath];
- * Returns nil if the plist file does not exist or is invalid.
- */
-- (nullable instancetype)initWithContentsOfFile:(NSString *)plistPath;
-
-/**
- * Initializes a customized instance of FIROptions with required fields. Use the mutable properties
- * to modify fields for configuring specific services.
- */
-// clang-format off
-- (instancetype)initWithGoogleAppID:(NSString *)googleAppID
- GCMSenderID:(NSString *)GCMSenderID
- NS_SWIFT_NAME(init(googleAppID:gcmSenderID:));
-// clang-format on
-
-@end
-
-NS_ASSUME_NONNULL_END
diff --git a/src/ios/Firebase/Analytics/FirebaseCore.framework/Headers/FirebaseCore.h b/src/ios/Firebase/Analytics/FirebaseCore.framework/Headers/FirebaseCore.h
deleted file mode 100644
index fa26f694b..000000000
--- a/src/ios/Firebase/Analytics/FirebaseCore.framework/Headers/FirebaseCore.h
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Copyright 2017 Google
- *
- * 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 "FIRAnalyticsConfiguration.h"
-#import "FIRApp.h"
-#import "FIRConfiguration.h"
-#import "FIRLoggerLevel.h"
-#import "FIROptions.h"
diff --git a/src/ios/Firebase/Analytics/FirebaseCore.framework/Modules/module.modulemap b/src/ios/Firebase/Analytics/FirebaseCore.framework/Modules/module.modulemap
deleted file mode 100644
index 62dba511b..000000000
--- a/src/ios/Firebase/Analytics/FirebaseCore.framework/Modules/module.modulemap
+++ /dev/null
@@ -1,6 +0,0 @@
-framework module FirebaseCore {
- umbrella header "FirebaseCore.h"
- export *
- module * { export *}
- link framework "Foundation"
-}
diff --git a/src/ios/Firebase/Analytics/FirebaseCoreDiagnostics.framework/FirebaseCoreDiagnostics b/src/ios/Firebase/Analytics/FirebaseCoreDiagnostics.framework/FirebaseCoreDiagnostics
deleted file mode 100755
index 87c0ade05..000000000
Binary files a/src/ios/Firebase/Analytics/FirebaseCoreDiagnostics.framework/FirebaseCoreDiagnostics and /dev/null differ
diff --git a/src/ios/Firebase/Analytics/FirebaseCoreDiagnostics.framework/Modules/module.modulemap b/src/ios/Firebase/Analytics/FirebaseCoreDiagnostics.framework/Modules/module.modulemap
deleted file mode 100755
index bbcb94e31..000000000
--- a/src/ios/Firebase/Analytics/FirebaseCoreDiagnostics.framework/Modules/module.modulemap
+++ /dev/null
@@ -1,6 +0,0 @@
-framework module FirebaseCoreDiagnostics {
- export *
- module * { export *}
- link "z"
- link framework "Security"
- link framework "SystemConfiguration"}
diff --git a/src/ios/Firebase/Analytics/FirebaseInstanceID.framework/FirebaseInstanceID b/src/ios/Firebase/Analytics/FirebaseInstanceID.framework/FirebaseInstanceID
deleted file mode 100755
index 733eccb16..000000000
Binary files a/src/ios/Firebase/Analytics/FirebaseInstanceID.framework/FirebaseInstanceID and /dev/null differ
diff --git a/src/ios/Firebase/Analytics/FirebaseInstanceID.framework/Headers/FIRInstanceID.h b/src/ios/Firebase/Analytics/FirebaseInstanceID.framework/Headers/FIRInstanceID.h
deleted file mode 100755
index 97777e1c3..000000000
--- a/src/ios/Firebase/Analytics/FirebaseInstanceID.framework/Headers/FIRInstanceID.h
+++ /dev/null
@@ -1,304 +0,0 @@
-#import
-
-NS_ASSUME_NONNULL_BEGIN
-
-@class FIRInstanceIDResult;
-/**
- * @memberof FIRInstanceID
- *
- * The scope to be used when fetching/deleting a token for Firebase Messaging.
- */
-FOUNDATION_EXPORT NSString *const kFIRInstanceIDScopeFirebaseMessaging
- NS_SWIFT_NAME(InstanceIDScopeFirebaseMessaging);
-
-#if defined(__IPHONE_10_0) && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0
-/**
- * Called when the system determines that tokens need to be refreshed.
- * This method is also called if Instance ID has been reset in which
- * case, tokens and FCM topic subscriptions also need to be refreshed.
- *
- * Instance ID service will throttle the refresh event across all devices
- * to control the rate of token updates on application servers.
- */
-FOUNDATION_EXPORT const NSNotificationName kFIRInstanceIDTokenRefreshNotification
- NS_SWIFT_NAME(InstanceIDTokenRefresh);
-#else
-/**
- * Called when the system determines that tokens need to be refreshed.
- * This method is also called if Instance ID has been reset in which
- * case, tokens and FCM topic subscriptions also need to be refreshed.
- *
- * Instance ID service will throttle the refresh event across all devices
- * to control the rate of token updates on application servers.
- */
-FOUNDATION_EXPORT NSString *const kFIRInstanceIDTokenRefreshNotification
- NS_SWIFT_NAME(InstanceIDTokenRefreshNotification);
-#endif // defined(__IPHONE_10_0) && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0
-
-/**
- * @related FIRInstanceID
- *
- * The completion handler invoked when the InstanceID token returns. If
- * the call fails we return the appropriate `error code` as described below.
- *
- * @param token The valid token as returned by InstanceID backend.
- *
- * @param error The error describing why generating a new token
- * failed. See the error codes below for a more detailed
- * description.
- */
-typedef void (^FIRInstanceIDTokenHandler)(NSString *__nullable token, NSError *__nullable error)
- NS_SWIFT_NAME(InstanceIDTokenHandler);
-
-/**
- * @related FIRInstanceID
- *
- * The completion handler invoked when the InstanceID `deleteToken` returns. If
- * the call fails we return the appropriate `error code` as described below
- *
- * @param error The error describing why deleting the token failed.
- * See the error codes below for a more detailed description.
- */
-typedef void (^FIRInstanceIDDeleteTokenHandler)(NSError *error)
- NS_SWIFT_NAME(InstanceIDDeleteTokenHandler);
-
-/**
- * @related FIRInstanceID
- *
- * The completion handler invoked when the app identity is created. If the
- * identity wasn't created for some reason we return the appropriate error code.
- *
- * @param identity A valid identity for the app instance, nil if there was an error
- * while creating an identity.
- * @param error The error if fetching the identity fails else nil.
- */
-typedef void (^FIRInstanceIDHandler)(NSString *__nullable identity, NSError *__nullable error)
- NS_SWIFT_NAME(InstanceIDHandler);
-
-/**
- * @related FIRInstanceID
- *
- * The completion handler invoked when the app identity and all the tokens associated
- * with it are deleted. Returns a valid error object in case of failure else nil.
- *
- * @param error The error if deleting the identity and all the tokens associated with
- * it fails else nil.
- */
-typedef void (^FIRInstanceIDDeleteHandler)(NSError *__nullable error)
- NS_SWIFT_NAME(InstanceIDDeleteHandler);
-
-/**
- * @related FIRInstanceID
- *
- * The completion handler invoked when the app identity and token are fetched. If the
- * identity wasn't created for some reason we return the appropriate error code.
- *
- * @param result The result containing an identity for the app instance and a valid token,
- * nil if there was an error while creating the result.
- * @param error The error if fetching the identity or token fails else nil.
- */
-typedef void (^FIRInstanceIDResultHandler)(FIRInstanceIDResult *__nullable result,
- NSError *__nullable error)
- NS_SWIFT_NAME(InstanceIDResultHandler);
-
-/**
- * Public errors produced by InstanceID.
- */
-typedef NS_ENUM(NSUInteger, FIRInstanceIDError) {
- // Http related errors.
-
- /// Unknown error.
- FIRInstanceIDErrorUnknown = 0,
-
- /// Auth Error -- GCM couldn't validate request from this client.
- FIRInstanceIDErrorAuthentication = 1,
-
- /// NoAccess -- InstanceID service cannot be accessed.
- FIRInstanceIDErrorNoAccess = 2,
-
- /// Timeout -- Request to InstanceID backend timed out.
- FIRInstanceIDErrorTimeout = 3,
-
- /// Network -- No network available to reach the servers.
- FIRInstanceIDErrorNetwork = 4,
-
- /// OperationInProgress -- Another similar operation in progress,
- /// bailing this one.
- FIRInstanceIDErrorOperationInProgress = 5,
-
- /// InvalidRequest -- Some parameters of the request were invalid.
- FIRInstanceIDErrorInvalidRequest = 7,
-} NS_SWIFT_NAME(InstanceIDError);
-
-/**
- * A class contains the results of InstanceID and token query.
- */
-NS_SWIFT_NAME(InstanceIDResult)
-@interface FIRInstanceIDResult : NSObject
-
-/**
- * An instanceID uniquely identifies the app instance.
- */
-@property(nonatomic, readonly, copy) NSString *instanceID;
-
-/*
- * Returns a Firebase Messaging scoped token for the firebase app.
- */
-@property(nonatomic, readonly, copy) NSString *token;
-
-@end
-
-/**
- * Instance ID provides a unique identifier for each app instance and a mechanism
- * to authenticate and authorize actions (for example, sending an FCM message).
- *
- * Once an InstanceID is generated, the library periodically sends information about the
- * application and the device where it's running to the Firebase backend. To stop this. see
- * `[FIRInstanceID deleteIDWithHandler:]`.
- *
- * Instance ID is long lived but, may be reset if the device is not used for
- * a long time or the Instance ID service detects a problem.
- * If Instance ID is reset, the app will be notified via
- * `kFIRInstanceIDTokenRefreshNotification`.
- *
- * If the Instance ID has become invalid, the app can request a new one and
- * send it to the app server.
- * To prove ownership of Instance ID and to allow servers to access data or
- * services associated with the app, call
- * `[FIRInstanceID tokenWithAuthorizedEntity:scope:options:handler]`.
- */
-NS_SWIFT_NAME(InstanceID)
-@interface FIRInstanceID : NSObject
-
-/**
- * FIRInstanceID.
- *
- * @return A shared instance of FIRInstanceID.
- */
-+ (instancetype)instanceID NS_SWIFT_NAME(instanceID());
-
-/**
- * Unavailable. Use +instanceID instead.
- */
-- (instancetype)init __attribute__((unavailable("Use +instanceID instead.")));
-
-#pragma mark - Tokens
-
-/**
- * Returns a result of app instance identifier InstanceID and a Firebase Messaging scoped token.
- * param handler The callback handler invoked when an app instanceID and a default token
- * are generated and returned. If instanceID and token fetching fail for some
- * reason the callback is invoked with nil `result` and the appropriate error.
- */
-- (void)instanceIDWithHandler:(FIRInstanceIDResultHandler)handler;
-
-/**
- * Returns a Firebase Messaging scoped token for the firebase app.
- *
- * @return Returns the stored token if the device has registered with Firebase Messaging, otherwise
- * returns nil.
- */
-- (nullable NSString *)token __deprecated_msg("Use instanceIDWithHandler: instead.");
-
-/**
- * Returns a token that authorizes an Entity (example: cloud service) to perform
- * an action on behalf of the application identified by Instance ID.
- *
- * This is similar to an OAuth2 token except, it applies to the
- * application instance instead of a user.
- *
- * This is an asynchronous call. If the token fetching fails for some reason
- * we invoke the completion callback with nil `token` and the appropriate
- * error.
- *
- * This generates an Instance ID if it does not exist yet, which starts periodically sending
- * information to the Firebase backend (see `[FIRInstanceID getIDWithHandler:]`).
- *
- * Note, you can only have one `token` or `deleteToken` call for a given
- * authorizedEntity and scope at any point of time. Making another such call with the
- * same authorizedEntity and scope before the last one finishes will result in an
- * error with code `OperationInProgress`.
- *
- * @see FIRInstanceID deleteTokenWithAuthorizedEntity:scope:handler:
- *
- * @param authorizedEntity Entity authorized by the token.
- * @param scope Action authorized for authorizedEntity.
- * @param options The extra options to be sent with your token request. The
- * value for the `apns_token` should be the NSData object
- * passed to the UIApplicationDelegate's
- * `didRegisterForRemoteNotificationsWithDeviceToken` method.
- * The value for `apns_sandbox` should be a boolean (or an
- * NSNumber representing a BOOL in Objective C) set to true if
- * your app is a debug build, which means that the APNs
- * device token is for the sandbox environment. It should be
- * set to false otherwise. If the `apns_sandbox` key is not
- * provided, an automatically-detected value shall be used.
- * @param handler The callback handler which is invoked when the token is
- * successfully fetched. In case of success a valid `token` and
- * `nil` error are returned. In case of any error the `token`
- * is nil and a valid `error` is returned. The valid error
- * codes have been documented above.
- */
-- (void)tokenWithAuthorizedEntity:(NSString *)authorizedEntity
- scope:(NSString *)scope
- options:(nullable NSDictionary *)options
- handler:(FIRInstanceIDTokenHandler)handler;
-
-/**
- * Revokes access to a scope (action) for an entity previously
- * authorized by `[FIRInstanceID tokenWithAuthorizedEntity:scope:options:handler]`.
- *
- * This is an asynchronous call. Call this on the main thread since InstanceID lib
- * is not thread safe. In case token deletion fails for some reason we invoke the
- * `handler` callback passed in with the appropriate error code.
- *
- * Note, you can only have one `token` or `deleteToken` call for a given
- * authorizedEntity and scope at a point of time. Making another such call with the
- * same authorizedEntity and scope before the last one finishes will result in an error
- * with code `OperationInProgress`.
- *
- * @param authorizedEntity Entity that must no longer have access.
- * @param scope Action that entity is no longer authorized to perform.
- * @param handler The handler that is invoked once the unsubscribe call ends.
- * In case of error an appropriate error object is returned
- * else error is nil.
- */
-- (void)deleteTokenWithAuthorizedEntity:(NSString *)authorizedEntity
- scope:(NSString *)scope
- handler:(FIRInstanceIDDeleteTokenHandler)handler;
-
-#pragma mark - Identity
-
-/**
- * Asynchronously fetch a stable identifier that uniquely identifies the app
- * instance. If the identifier has been revoked or has expired, this method will
- * return a new identifier.
- *
- * Once an InstanceID is generated, the library periodically sends information about the
- * application and the device where it's running to the Firebase backend. To stop this. see
- * `[FIRInstanceID deleteIDWithHandler:]`.
- *
- * @param handler The handler to invoke once the identifier has been fetched.
- * In case of error an appropriate error object is returned else
- * a valid identifier is returned and a valid identifier for the
- * application instance.
- */
-- (void)getIDWithHandler:(FIRInstanceIDHandler)handler NS_SWIFT_NAME(getID(handler:));
-
-/**
- * Resets Instance ID and revokes all tokens.
- *
- * This method also triggers a request to fetch a new Instance ID and Firebase Messaging scope
- * token. Please listen to kFIRInstanceIDTokenRefreshNotification when the new ID and token are
- * ready.
- *
- * This stops the periodic sending of data to the Firebase backend that began when the Instance ID
- * was generated. No more data is sent until another library calls Instance ID internally again
- * (like FCM, RemoteConfig or Analytics) or user explicitly calls Instance ID APIs to get an
- * Instance ID and token again.
- */
-- (void)deleteIDWithHandler:(FIRInstanceIDDeleteHandler)handler NS_SWIFT_NAME(deleteID(handler:));
-
-@end
-
-NS_ASSUME_NONNULL_END
diff --git a/src/ios/Firebase/Analytics/FirebaseInstanceID.framework/Headers/FirebaseInstanceID.h b/src/ios/Firebase/Analytics/FirebaseInstanceID.framework/Headers/FirebaseInstanceID.h
deleted file mode 100755
index 053ec2b1c..000000000
--- a/src/ios/Firebase/Analytics/FirebaseInstanceID.framework/Headers/FirebaseInstanceID.h
+++ /dev/null
@@ -1 +0,0 @@
-#import "FIRInstanceID.h"
diff --git a/src/ios/Firebase/Analytics/FirebaseInstanceID.framework/Modules/module.modulemap b/src/ios/Firebase/Analytics/FirebaseInstanceID.framework/Modules/module.modulemap
deleted file mode 100755
index 2058956c1..000000000
--- a/src/ios/Firebase/Analytics/FirebaseInstanceID.framework/Modules/module.modulemap
+++ /dev/null
@@ -1,6 +0,0 @@
-framework module FirebaseInstanceID {
- umbrella header "FirebaseInstanceID.h"
- export *
- module * { export *}
- link framework "Security"
- link framework "SystemConfiguration"}
diff --git a/src/ios/Firebase/Analytics/GoogleAppMeasurement.framework/GoogleAppMeasurement b/src/ios/Firebase/Analytics/GoogleAppMeasurement.framework/GoogleAppMeasurement
deleted file mode 100755
index f744bef24..000000000
Binary files a/src/ios/Firebase/Analytics/GoogleAppMeasurement.framework/GoogleAppMeasurement and /dev/null differ
diff --git a/src/ios/Firebase/Analytics/GoogleAppMeasurement.framework/Modules/module.modulemap b/src/ios/Firebase/Analytics/GoogleAppMeasurement.framework/Modules/module.modulemap
deleted file mode 100755
index ea1e687dd..000000000
--- a/src/ios/Firebase/Analytics/GoogleAppMeasurement.framework/Modules/module.modulemap
+++ /dev/null
@@ -1,9 +0,0 @@
-framework module GoogleAppMeasurement {
- export *
- module * { export *}
- link "sqlite3"
- link "z"
- link framework "Security"
- link framework "StoreKit"
- link framework "SystemConfiguration"
- link framework "UIKit"}
diff --git a/src/ios/Firebase/Analytics/GoogleUtilities.framework/GoogleUtilities b/src/ios/Firebase/Analytics/GoogleUtilities.framework/GoogleUtilities
deleted file mode 100644
index 44e59ad98..000000000
Binary files a/src/ios/Firebase/Analytics/GoogleUtilities.framework/GoogleUtilities and /dev/null differ
diff --git a/src/ios/Firebase/Analytics/GoogleUtilities.framework/Headers/GULLoggerCodes.h b/src/ios/Firebase/Analytics/GoogleUtilities.framework/Headers/GULLoggerCodes.h
deleted file mode 100644
index b71c03797..000000000
--- a/src/ios/Firebase/Analytics/GoogleUtilities.framework/Headers/GULLoggerCodes.h
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * Copyright 2018 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.
- */
-
-typedef NS_ENUM(NSInteger, GULSwizzlerMessageCode) {
- // App Delegate Swizzling.
- kGULSwizzlerMessageCodeAppDelegateSwizzling000 = 1000, // I-SWZ001000
- kGULSwizzlerMessageCodeAppDelegateSwizzling001 = 1001, // I-SWZ001001
- kGULSwizzlerMessageCodeAppDelegateSwizzling002 = 1002, // I-SWZ001002
- kGULSwizzlerMessageCodeAppDelegateSwizzling003 = 1003, // I-SWZ001003
- kGULSwizzlerMessageCodeAppDelegateSwizzling004 = 1004, // I-SWZ001004
- kGULSwizzlerMessageCodeAppDelegateSwizzling005 = 1005, // I-SWZ001005
- kGULSwizzlerMessageCodeAppDelegateSwizzling006 = 1006, // I-SWZ001006
- kGULSwizzlerMessageCodeAppDelegateSwizzling007 = 1007, // I-SWZ001007
- kGULSwizzlerMessageCodeAppDelegateSwizzling008 = 1008, // I-SWZ001008
- kGULSwizzlerMessageCodeAppDelegateSwizzling009 = 1009, // I-SWZ001009
- kGULSwizzlerMessageCodeAppDelegateSwizzling010 = 1010, // I-SWZ001010
- kGULSwizzlerMessageCodeAppDelegateSwizzling011 = 1011, // I-SWZ001011
- kGULSwizzlerMessageCodeAppDelegateSwizzling012 = 1012, // I-SWZ001012
- kGULSwizzlerMessageCodeAppDelegateSwizzling013 = 1013, // I-SWZ001013
-
- // Method Swizzling.
- kGULSwizzlerMessageCodeMethodSwizzling000 = 2000, // I-SWZ002000
-};
diff --git a/src/ios/Firebase/Analytics/GoogleUtilities.framework/Headers/GULLoggerLevel.h b/src/ios/Firebase/Analytics/GoogleUtilities.framework/Headers/GULLoggerLevel.h
deleted file mode 100644
index 81ff212d7..000000000
--- a/src/ios/Firebase/Analytics/GoogleUtilities.framework/Headers/GULLoggerLevel.h
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Copyright 2018 Google
- *
- * 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.
- */
-
-/**
- * The log levels used by internal logging.
- */
-typedef NS_ENUM(NSInteger, GULLoggerLevel) {
- /** Error level, matches ASL_LEVEL_ERR. */
- GULLoggerLevelError = 3,
- /** Warning level, matches ASL_LEVEL_WARNING. */
- GULLoggerLevelWarning = 4,
- /** Notice level, matches ASL_LEVEL_NOTICE. */
- GULLoggerLevelNotice = 5,
- /** Info level, matches ASL_LEVEL_INFO. */
- GULLoggerLevelInfo = 6,
- /** Debug level, matches ASL_LEVEL_DEBUG. */
- GULLoggerLevelDebug = 7,
- /** Minimum log level. */
- GULLoggerLevelMin = GULLoggerLevelError,
- /** Maximum log level. */
- GULLoggerLevelMax = GULLoggerLevelDebug
-} NS_SWIFT_NAME(GoogleLoggerLevel);
diff --git a/src/ios/Firebase/Analytics/GoogleUtilities.framework/Headers/GULNSData+zlib.h b/src/ios/Firebase/Analytics/GoogleUtilities.framework/Headers/GULNSData+zlib.h
deleted file mode 100644
index 36f94a709..000000000
--- a/src/ios/Firebase/Analytics/GoogleUtilities.framework/Headers/GULNSData+zlib.h
+++ /dev/null
@@ -1,49 +0,0 @@
-// Copyright 2018 Google
-//
-// 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
-
-/// This is a copy of Google Toolbox for Mac library to avoid creating an extra framework.
-
-// NOTE: For 64bit, none of these apis handle input sizes >32bits, they will return nil when given
-// such data. To handle data of that size you really should be streaming it rather then doing it all
-// in memory.
-
-@interface NSData (GULGzip)
-
-/// Returns an data as the result of decompressing the payload of |data|.The data to decompress must
-/// be a gzipped payloads.
-+ (NSData *)gul_dataByInflatingGzippedData:(NSData *)data error:(NSError **)error;
-
-/// Returns an compressed data with the result of gzipping the payload of |data|. Uses the default
-/// compression level.
-+ (NSData *)gul_dataByGzippingData:(NSData *)data error:(NSError **)error;
-
-FOUNDATION_EXPORT NSString *const GULNSDataZlibErrorDomain;
-FOUNDATION_EXPORT NSString *const GULNSDataZlibErrorKey; // NSNumber
-FOUNDATION_EXPORT NSString *const GULNSDataZlibRemainingBytesKey; // NSNumber
-
-typedef NS_ENUM(NSInteger, GULNSDataZlibError) {
- GULNSDataZlibErrorGreaterThan32BitsToCompress = 1024,
- // An internal zlib error.
- // GULNSDataZlibErrorKey will contain the error value.
- // NSLocalizedDescriptionKey may contain an error string from zlib.
- // Look in zlib.h for list of errors.
- GULNSDataZlibErrorInternal,
- // There was left over data in the buffer that was not used.
- // GULNSDataZlibRemainingBytesKey will contain number of remaining bytes.
- GULNSDataZlibErrorDataRemaining
-};
-
-@end
diff --git a/src/ios/Firebase/Analytics/GoogleUtilities.framework/Modules/module.modulemap b/src/ios/Firebase/Analytics/GoogleUtilities.framework/Modules/module.modulemap
deleted file mode 100644
index c92676541..000000000
--- a/src/ios/Firebase/Analytics/GoogleUtilities.framework/Modules/module.modulemap
+++ /dev/null
@@ -1,8 +0,0 @@
-framework module GoogleUtilities {
- umbrella header "GoogleUtilities.h"
- export *
- module * { export *}
- link framework "Security"
- link framework "SystemConfiguration"
- link "z"
-}
diff --git a/src/ios/Firebase/Analytics/MeasurementNanoPB.framework/MeasurementNanoPB b/src/ios/Firebase/Analytics/MeasurementNanoPB.framework/MeasurementNanoPB
deleted file mode 100755
index 65ef51df7..000000000
Binary files a/src/ios/Firebase/Analytics/MeasurementNanoPB.framework/MeasurementNanoPB and /dev/null differ
diff --git a/src/ios/Firebase/Analytics/nanopb.framework/Headers/pb.h b/src/ios/Firebase/Analytics/nanopb.framework/Headers/pb.h
deleted file mode 100644
index bf05a63c7..000000000
--- a/src/ios/Firebase/Analytics/nanopb.framework/Headers/pb.h
+++ /dev/null
@@ -1,583 +0,0 @@
-/* Common parts of the nanopb library. Most of these are quite low-level
- * stuff. For the high-level interface, see pb_encode.h and pb_decode.h.
- */
-
-#ifndef PB_H_INCLUDED
-#define PB_H_INCLUDED
-
-/*****************************************************************
- * Nanopb compilation time options. You can change these here by *
- * uncommenting the lines, or on the compiler command line. *
- *****************************************************************/
-
-/* Enable support for dynamically allocated fields */
-/* #define PB_ENABLE_MALLOC 1 */
-
-/* Define this if your CPU / compiler combination does not support
- * unaligned memory access to packed structures. */
-/* #define PB_NO_PACKED_STRUCTS 1 */
-
-/* Increase the number of required fields that are tracked.
- * A compiler warning will tell if you need this. */
-/* #define PB_MAX_REQUIRED_FIELDS 256 */
-
-/* Add support for tag numbers > 255 and fields larger than 255 bytes. */
-/* #define PB_FIELD_16BIT 1 */
-
-/* Add support for tag numbers > 65536 and fields larger than 65536 bytes. */
-/* #define PB_FIELD_32BIT 1 */
-
-/* Disable support for error messages in order to save some code space. */
-/* #define PB_NO_ERRMSG 1 */
-
-/* Disable support for custom streams (support only memory buffers). */
-/* #define PB_BUFFER_ONLY 1 */
-
-/* Switch back to the old-style callback function signature.
- * This was the default until nanopb-0.2.1. */
-/* #define PB_OLD_CALLBACK_STYLE */
-
-
-/******************************************************************
- * You usually don't need to change anything below this line. *
- * Feel free to look around and use the defined macros, though. *
- ******************************************************************/
-
-
-/* Version of the nanopb library. Just in case you want to check it in
- * your own program. */
-#define NANOPB_VERSION nanopb-0.3.8
-
-/* Include all the system headers needed by nanopb. You will need the
- * definitions of the following:
- * - strlen, memcpy, memset functions
- * - [u]int_least8_t, uint_fast8_t, [u]int_least16_t, [u]int32_t, [u]int64_t
- * - size_t
- * - bool
- *
- * If you don't have the standard header files, you can instead provide
- * a custom header that defines or includes all this. In that case,
- * define PB_SYSTEM_HEADER to the path of this file.
- */
-#ifdef PB_SYSTEM_HEADER
-#include PB_SYSTEM_HEADER
-#else
-#include
-#include
-#include
-#include
-
-#ifdef PB_ENABLE_MALLOC
-#include
-#endif
-#endif
-
-/* Macro for defining packed structures (compiler dependent).
- * This just reduces memory requirements, but is not required.
- */
-#if defined(PB_NO_PACKED_STRUCTS)
- /* Disable struct packing */
-# define PB_PACKED_STRUCT_START
-# define PB_PACKED_STRUCT_END
-# define pb_packed
-#elif defined(__GNUC__) || defined(__clang__)
- /* For GCC and clang */
-# define PB_PACKED_STRUCT_START
-# define PB_PACKED_STRUCT_END
-# define pb_packed __attribute__((packed))
-#elif defined(__ICCARM__) || defined(__CC_ARM)
- /* For IAR ARM and Keil MDK-ARM compilers */
-# define PB_PACKED_STRUCT_START _Pragma("pack(push, 1)")
-# define PB_PACKED_STRUCT_END _Pragma("pack(pop)")
-# define pb_packed
-#elif defined(_MSC_VER) && (_MSC_VER >= 1500)
- /* For Microsoft Visual C++ */
-# define PB_PACKED_STRUCT_START __pragma(pack(push, 1))
-# define PB_PACKED_STRUCT_END __pragma(pack(pop))
-# define pb_packed
-#else
- /* Unknown compiler */
-# define PB_PACKED_STRUCT_START
-# define PB_PACKED_STRUCT_END
-# define pb_packed
-#endif
-
-/* Handly macro for suppressing unreferenced-parameter compiler warnings. */
-#ifndef PB_UNUSED
-#define PB_UNUSED(x) (void)(x)
-#endif
-
-/* Compile-time assertion, used for checking compatible compilation options.
- * If this does not work properly on your compiler, use
- * #define PB_NO_STATIC_ASSERT to disable it.
- *
- * But before doing that, check carefully the error message / place where it
- * comes from to see if the error has a real cause. Unfortunately the error
- * message is not always very clear to read, but you can see the reason better
- * in the place where the PB_STATIC_ASSERT macro was called.
- */
-#ifndef PB_NO_STATIC_ASSERT
-#ifndef PB_STATIC_ASSERT
-#define PB_STATIC_ASSERT(COND,MSG) typedef char PB_STATIC_ASSERT_MSG(MSG, __LINE__, __COUNTER__)[(COND)?1:-1];
-#define PB_STATIC_ASSERT_MSG(MSG, LINE, COUNTER) PB_STATIC_ASSERT_MSG_(MSG, LINE, COUNTER)
-#define PB_STATIC_ASSERT_MSG_(MSG, LINE, COUNTER) pb_static_assertion_##MSG##LINE##COUNTER
-#endif
-#else
-#define PB_STATIC_ASSERT(COND,MSG)
-#endif
-
-/* Number of required fields to keep track of. */
-#ifndef PB_MAX_REQUIRED_FIELDS
-#define PB_MAX_REQUIRED_FIELDS 64
-#endif
-
-#if PB_MAX_REQUIRED_FIELDS < 64
-#error You should not lower PB_MAX_REQUIRED_FIELDS from the default value (64).
-#endif
-
-/* List of possible field types. These are used in the autogenerated code.
- * Least-significant 4 bits tell the scalar type
- * Most-significant 4 bits specify repeated/required/packed etc.
- */
-
-typedef uint_least8_t pb_type_t;
-
-/**** Field data types ****/
-
-/* Numeric types */
-#define PB_LTYPE_VARINT 0x00 /* int32, int64, enum, bool */
-#define PB_LTYPE_UVARINT 0x01 /* uint32, uint64 */
-#define PB_LTYPE_SVARINT 0x02 /* sint32, sint64 */
-#define PB_LTYPE_FIXED32 0x03 /* fixed32, sfixed32, float */
-#define PB_LTYPE_FIXED64 0x04 /* fixed64, sfixed64, double */
-
-/* Marker for last packable field type. */
-#define PB_LTYPE_LAST_PACKABLE 0x04
-
-/* Byte array with pre-allocated buffer.
- * data_size is the length of the allocated PB_BYTES_ARRAY structure. */
-#define PB_LTYPE_BYTES 0x05
-
-/* String with pre-allocated buffer.
- * data_size is the maximum length. */
-#define PB_LTYPE_STRING 0x06
-
-/* Submessage
- * submsg_fields is pointer to field descriptions */
-#define PB_LTYPE_SUBMESSAGE 0x07
-
-/* Extension pseudo-field
- * The field contains a pointer to pb_extension_t */
-#define PB_LTYPE_EXTENSION 0x08
-
-/* Byte array with inline, pre-allocated byffer.
- * data_size is the length of the inline, allocated buffer.
- * This differs from PB_LTYPE_BYTES by defining the element as
- * pb_byte_t[data_size] rather than pb_bytes_array_t. */
-#define PB_LTYPE_FIXED_LENGTH_BYTES 0x09
-
-/* Number of declared LTYPES */
-#define PB_LTYPES_COUNT 0x0A
-#define PB_LTYPE_MASK 0x0F
-
-/**** Field repetition rules ****/
-
-#define PB_HTYPE_REQUIRED 0x00
-#define PB_HTYPE_OPTIONAL 0x10
-#define PB_HTYPE_REPEATED 0x20
-#define PB_HTYPE_ONEOF 0x30
-#define PB_HTYPE_MASK 0x30
-
-/**** Field allocation types ****/
-
-#define PB_ATYPE_STATIC 0x00
-#define PB_ATYPE_POINTER 0x80
-#define PB_ATYPE_CALLBACK 0x40
-#define PB_ATYPE_MASK 0xC0
-
-#define PB_ATYPE(x) ((x) & PB_ATYPE_MASK)
-#define PB_HTYPE(x) ((x) & PB_HTYPE_MASK)
-#define PB_LTYPE(x) ((x) & PB_LTYPE_MASK)
-
-/* Data type used for storing sizes of struct fields
- * and array counts.
- */
-#if defined(PB_FIELD_32BIT)
- typedef uint32_t pb_size_t;
- typedef int32_t pb_ssize_t;
-#elif defined(PB_FIELD_16BIT)
- typedef uint_least16_t pb_size_t;
- typedef int_least16_t pb_ssize_t;
-#else
- typedef uint_least8_t pb_size_t;
- typedef int_least8_t pb_ssize_t;
-#endif
-#define PB_SIZE_MAX ((pb_size_t)-1)
-
-/* Data type for storing encoded data and other byte streams.
- * This typedef exists to support platforms where uint8_t does not exist.
- * You can regard it as equivalent on uint8_t on other platforms.
- */
-typedef uint_least8_t pb_byte_t;
-
-/* This structure is used in auto-generated constants
- * to specify struct fields.
- * You can change field sizes if you need structures
- * larger than 256 bytes or field tags larger than 256.
- * The compiler should complain if your .proto has such
- * structures. Fix that by defining PB_FIELD_16BIT or
- * PB_FIELD_32BIT.
- */
-PB_PACKED_STRUCT_START
-typedef struct pb_field_s pb_field_t;
-struct pb_field_s {
- pb_size_t tag;
- pb_type_t type;
- pb_size_t data_offset; /* Offset of field data, relative to previous field. */
- pb_ssize_t size_offset; /* Offset of array size or has-boolean, relative to data */
- pb_size_t data_size; /* Data size in bytes for a single item */
- pb_size_t array_size; /* Maximum number of entries in array */
-
- /* Field definitions for submessage
- * OR default value for all other non-array, non-callback types
- * If null, then field will zeroed. */
- const void *ptr;
-} pb_packed;
-PB_PACKED_STRUCT_END
-
-/* Make sure that the standard integer types are of the expected sizes.
- * Otherwise fixed32/fixed64 fields can break.
- *
- * If you get errors here, it probably means that your stdint.h is not
- * correct for your platform.
- */
-PB_STATIC_ASSERT(sizeof(int64_t) == 2 * sizeof(int32_t), INT64_T_WRONG_SIZE)
-PB_STATIC_ASSERT(sizeof(uint64_t) == 2 * sizeof(uint32_t), UINT64_T_WRONG_SIZE)
-
-/* This structure is used for 'bytes' arrays.
- * It has the number of bytes in the beginning, and after that an array.
- * Note that actual structs used will have a different length of bytes array.
- */
-#define PB_BYTES_ARRAY_T(n) struct { pb_size_t size; pb_byte_t bytes[n]; }
-#define PB_BYTES_ARRAY_T_ALLOCSIZE(n) ((size_t)n + offsetof(pb_bytes_array_t, bytes))
-
-struct pb_bytes_array_s {
- pb_size_t size;
- pb_byte_t bytes[1];
-};
-typedef struct pb_bytes_array_s pb_bytes_array_t;
-
-/* This structure is used for giving the callback function.
- * It is stored in the message structure and filled in by the method that
- * calls pb_decode.
- *
- * The decoding callback will be given a limited-length stream
- * If the wire type was string, the length is the length of the string.
- * If the wire type was a varint/fixed32/fixed64, the length is the length
- * of the actual value.
- * The function may be called multiple times (especially for repeated types,
- * but also otherwise if the message happens to contain the field multiple
- * times.)
- *
- * The encoding callback will receive the actual output stream.
- * It should write all the data in one call, including the field tag and
- * wire type. It can write multiple fields.
- *
- * The callback can be null if you want to skip a field.
- */
-typedef struct pb_istream_s pb_istream_t;
-typedef struct pb_ostream_s pb_ostream_t;
-typedef struct pb_callback_s pb_callback_t;
-struct pb_callback_s {
-#ifdef PB_OLD_CALLBACK_STYLE
- /* Deprecated since nanopb-0.2.1 */
- union {
- bool (*decode)(pb_istream_t *stream, const pb_field_t *field, void *arg);
- bool (*encode)(pb_ostream_t *stream, const pb_field_t *field, const void *arg);
- } funcs;
-#else
- /* New function signature, which allows modifying arg contents in callback. */
- union {
- bool (*decode)(pb_istream_t *stream, const pb_field_t *field, void **arg);
- bool (*encode)(pb_ostream_t *stream, const pb_field_t *field, void * const *arg);
- } funcs;
-#endif
-
- /* Free arg for use by callback */
- void *arg;
-};
-
-/* Wire types. Library user needs these only in encoder callbacks. */
-typedef enum {
- PB_WT_VARINT = 0,
- PB_WT_64BIT = 1,
- PB_WT_STRING = 2,
- PB_WT_32BIT = 5
-} pb_wire_type_t;
-
-/* Structure for defining the handling of unknown/extension fields.
- * Usually the pb_extension_type_t structure is automatically generated,
- * while the pb_extension_t structure is created by the user. However,
- * if you want to catch all unknown fields, you can also create a custom
- * pb_extension_type_t with your own callback.
- */
-typedef struct pb_extension_type_s pb_extension_type_t;
-typedef struct pb_extension_s pb_extension_t;
-struct pb_extension_type_s {
- /* Called for each unknown field in the message.
- * If you handle the field, read off all of its data and return true.
- * If you do not handle the field, do not read anything and return true.
- * If you run into an error, return false.
- * Set to NULL for default handler.
- */
- bool (*decode)(pb_istream_t *stream, pb_extension_t *extension,
- uint32_t tag, pb_wire_type_t wire_type);
-
- /* Called once after all regular fields have been encoded.
- * If you have something to write, do so and return true.
- * If you do not have anything to write, just return true.
- * If you run into an error, return false.
- * Set to NULL for default handler.
- */
- bool (*encode)(pb_ostream_t *stream, const pb_extension_t *extension);
-
- /* Free field for use by the callback. */
- const void *arg;
-};
-
-struct pb_extension_s {
- /* Type describing the extension field. Usually you'll initialize
- * this to a pointer to the automatically generated structure. */
- const pb_extension_type_t *type;
-
- /* Destination for the decoded data. This must match the datatype
- * of the extension field. */
- void *dest;
-
- /* Pointer to the next extension handler, or NULL.
- * If this extension does not match a field, the next handler is
- * automatically called. */
- pb_extension_t *next;
-
- /* The decoder sets this to true if the extension was found.
- * Ignored for encoding. */
- bool found;
-};
-
-/* Memory allocation functions to use. You can define pb_realloc and
- * pb_free to custom functions if you want. */
-#ifdef PB_ENABLE_MALLOC
-# ifndef pb_realloc
-# define pb_realloc(ptr, size) realloc(ptr, size)
-# endif
-# ifndef pb_free
-# define pb_free(ptr) free(ptr)
-# endif
-#endif
-
-/* This is used to inform about need to regenerate .pb.h/.pb.c files. */
-#define PB_PROTO_HEADER_VERSION 30
-
-/* These macros are used to declare pb_field_t's in the constant array. */
-/* Size of a structure member, in bytes. */
-#define pb_membersize(st, m) (sizeof ((st*)0)->m)
-/* Number of entries in an array. */
-#define pb_arraysize(st, m) (pb_membersize(st, m) / pb_membersize(st, m[0]))
-/* Delta from start of one member to the start of another member. */
-#define pb_delta(st, m1, m2) ((int)offsetof(st, m1) - (int)offsetof(st, m2))
-/* Marks the end of the field list */
-#define PB_LAST_FIELD {0,(pb_type_t) 0,0,0,0,0,0}
-
-/* Macros for filling in the data_offset field */
-/* data_offset for first field in a message */
-#define PB_DATAOFFSET_FIRST(st, m1, m2) (offsetof(st, m1))
-/* data_offset for subsequent fields */
-#define PB_DATAOFFSET_OTHER(st, m1, m2) (offsetof(st, m1) - offsetof(st, m2) - pb_membersize(st, m2))
-/* data offset for subsequent fields inside an union (oneof) */
-#define PB_DATAOFFSET_UNION(st, m1, m2) (PB_SIZE_MAX)
-/* Choose first/other based on m1 == m2 (deprecated, remains for backwards compatibility) */
-#define PB_DATAOFFSET_CHOOSE(st, m1, m2) (int)(offsetof(st, m1) == offsetof(st, m2) \
- ? PB_DATAOFFSET_FIRST(st, m1, m2) \
- : PB_DATAOFFSET_OTHER(st, m1, m2))
-
-/* Required fields are the simplest. They just have delta (padding) from
- * previous field end, and the size of the field. Pointer is used for
- * submessages and default values.
- */
-#define PB_REQUIRED_STATIC(tag, st, m, fd, ltype, ptr) \
- {tag, PB_ATYPE_STATIC | PB_HTYPE_REQUIRED | ltype, \
- fd, 0, pb_membersize(st, m), 0, ptr}
-
-/* Optional fields add the delta to the has_ variable. */
-#define PB_OPTIONAL_STATIC(tag, st, m, fd, ltype, ptr) \
- {tag, PB_ATYPE_STATIC | PB_HTYPE_OPTIONAL | ltype, \
- fd, \
- pb_delta(st, has_ ## m, m), \
- pb_membersize(st, m), 0, ptr}
-
-#define PB_SINGULAR_STATIC(tag, st, m, fd, ltype, ptr) \
- {tag, PB_ATYPE_STATIC | PB_HTYPE_OPTIONAL | ltype, \
- fd, 0, pb_membersize(st, m), 0, ptr}
-
-/* Repeated fields have a _count field and also the maximum number of entries. */
-#define PB_REPEATED_STATIC(tag, st, m, fd, ltype, ptr) \
- {tag, PB_ATYPE_STATIC | PB_HTYPE_REPEATED | ltype, \
- fd, \
- pb_delta(st, m ## _count, m), \
- pb_membersize(st, m[0]), \
- pb_arraysize(st, m), ptr}
-
-/* Allocated fields carry the size of the actual data, not the pointer */
-#define PB_REQUIRED_POINTER(tag, st, m, fd, ltype, ptr) \
- {tag, PB_ATYPE_POINTER | PB_HTYPE_REQUIRED | ltype, \
- fd, 0, pb_membersize(st, m[0]), 0, ptr}
-
-/* Optional fields don't need a has_ variable, as information would be redundant */
-#define PB_OPTIONAL_POINTER(tag, st, m, fd, ltype, ptr) \
- {tag, PB_ATYPE_POINTER | PB_HTYPE_OPTIONAL | ltype, \
- fd, 0, pb_membersize(st, m[0]), 0, ptr}
-
-/* Same as optional fields*/
-#define PB_SINGULAR_POINTER(tag, st, m, fd, ltype, ptr) \
- {tag, PB_ATYPE_POINTER | PB_HTYPE_OPTIONAL | ltype, \
- fd, 0, pb_membersize(st, m[0]), 0, ptr}
-
-/* Repeated fields have a _count field and a pointer to array of pointers */
-#define PB_REPEATED_POINTER(tag, st, m, fd, ltype, ptr) \
- {tag, PB_ATYPE_POINTER | PB_HTYPE_REPEATED | ltype, \
- fd, pb_delta(st, m ## _count, m), \
- pb_membersize(st, m[0]), 0, ptr}
-
-/* Callbacks are much like required fields except with special datatype. */
-#define PB_REQUIRED_CALLBACK(tag, st, m, fd, ltype, ptr) \
- {tag, PB_ATYPE_CALLBACK | PB_HTYPE_REQUIRED | ltype, \
- fd, 0, pb_membersize(st, m), 0, ptr}
-
-#define PB_OPTIONAL_CALLBACK(tag, st, m, fd, ltype, ptr) \
- {tag, PB_ATYPE_CALLBACK | PB_HTYPE_OPTIONAL | ltype, \
- fd, 0, pb_membersize(st, m), 0, ptr}
-
-#define PB_SINGULAR_CALLBACK(tag, st, m, fd, ltype, ptr) \
- {tag, PB_ATYPE_CALLBACK | PB_HTYPE_OPTIONAL | ltype, \
- fd, 0, pb_membersize(st, m), 0, ptr}
-
-#define PB_REPEATED_CALLBACK(tag, st, m, fd, ltype, ptr) \
- {tag, PB_ATYPE_CALLBACK | PB_HTYPE_REPEATED | ltype, \
- fd, 0, pb_membersize(st, m), 0, ptr}
-
-/* Optional extensions don't have the has_ field, as that would be redundant.
- * Furthermore, the combination of OPTIONAL without has_ field is used
- * for indicating proto3 style fields. Extensions exist in proto2 mode only,
- * so they should be encoded according to proto2 rules. To avoid the conflict,
- * extensions are marked as REQUIRED instead.
- */
-#define PB_OPTEXT_STATIC(tag, st, m, fd, ltype, ptr) \
- {tag, PB_ATYPE_STATIC | PB_HTYPE_REQUIRED | ltype, \
- 0, \
- 0, \
- pb_membersize(st, m), 0, ptr}
-
-#define PB_OPTEXT_POINTER(tag, st, m, fd, ltype, ptr) \
- PB_OPTIONAL_POINTER(tag, st, m, fd, ltype, ptr)
-
-#define PB_OPTEXT_CALLBACK(tag, st, m, fd, ltype, ptr) \
- PB_OPTIONAL_CALLBACK(tag, st, m, fd, ltype, ptr)
-
-/* The mapping from protobuf types to LTYPEs is done using these macros. */
-#define PB_LTYPE_MAP_BOOL PB_LTYPE_VARINT
-#define PB_LTYPE_MAP_BYTES PB_LTYPE_BYTES
-#define PB_LTYPE_MAP_DOUBLE PB_LTYPE_FIXED64
-#define PB_LTYPE_MAP_ENUM PB_LTYPE_VARINT
-#define PB_LTYPE_MAP_UENUM PB_LTYPE_UVARINT
-#define PB_LTYPE_MAP_FIXED32 PB_LTYPE_FIXED32
-#define PB_LTYPE_MAP_FIXED64 PB_LTYPE_FIXED64
-#define PB_LTYPE_MAP_FLOAT PB_LTYPE_FIXED32
-#define PB_LTYPE_MAP_INT32 PB_LTYPE_VARINT
-#define PB_LTYPE_MAP_INT64 PB_LTYPE_VARINT
-#define PB_LTYPE_MAP_MESSAGE PB_LTYPE_SUBMESSAGE
-#define PB_LTYPE_MAP_SFIXED32 PB_LTYPE_FIXED32
-#define PB_LTYPE_MAP_SFIXED64 PB_LTYPE_FIXED64
-#define PB_LTYPE_MAP_SINT32 PB_LTYPE_SVARINT
-#define PB_LTYPE_MAP_SINT64 PB_LTYPE_SVARINT
-#define PB_LTYPE_MAP_STRING PB_LTYPE_STRING
-#define PB_LTYPE_MAP_UINT32 PB_LTYPE_UVARINT
-#define PB_LTYPE_MAP_UINT64 PB_LTYPE_UVARINT
-#define PB_LTYPE_MAP_EXTENSION PB_LTYPE_EXTENSION
-#define PB_LTYPE_MAP_FIXED_LENGTH_BYTES PB_LTYPE_FIXED_LENGTH_BYTES
-
-/* This is the actual macro used in field descriptions.
- * It takes these arguments:
- * - Field tag number
- * - Field type: BOOL, BYTES, DOUBLE, ENUM, UENUM, FIXED32, FIXED64,
- * FLOAT, INT32, INT64, MESSAGE, SFIXED32, SFIXED64
- * SINT32, SINT64, STRING, UINT32, UINT64 or EXTENSION
- * - Field rules: REQUIRED, OPTIONAL or REPEATED
- * - Allocation: STATIC, CALLBACK or POINTER
- * - Placement: FIRST or OTHER, depending on if this is the first field in structure.
- * - Message name
- * - Field name
- * - Previous field name (or field name again for first field)
- * - Pointer to default value or submsg fields.
- */
-
-#define PB_FIELD(tag, type, rules, allocation, placement, message, field, prevfield, ptr) \
- PB_ ## rules ## _ ## allocation(tag, message, field, \
- PB_DATAOFFSET_ ## placement(message, field, prevfield), \
- PB_LTYPE_MAP_ ## type, ptr)
-
-/* Field description for oneof fields. This requires taking into account the
- * union name also, that's why a separate set of macros is needed.
- */
-#define PB_ONEOF_STATIC(u, tag, st, m, fd, ltype, ptr) \
- {tag, PB_ATYPE_STATIC | PB_HTYPE_ONEOF | ltype, \
- fd, pb_delta(st, which_ ## u, u.m), \
- pb_membersize(st, u.m), 0, ptr}
-
-#define PB_ONEOF_POINTER(u, tag, st, m, fd, ltype, ptr) \
- {tag, PB_ATYPE_POINTER | PB_HTYPE_ONEOF | ltype, \
- fd, pb_delta(st, which_ ## u, u.m), \
- pb_membersize(st, u.m[0]), 0, ptr}
-
-#define PB_ONEOF_FIELD(union_name, tag, type, rules, allocation, placement, message, field, prevfield, ptr) \
- PB_ONEOF_ ## allocation(union_name, tag, message, field, \
- PB_DATAOFFSET_ ## placement(message, union_name.field, prevfield), \
- PB_LTYPE_MAP_ ## type, ptr)
-
-#define PB_ANONYMOUS_ONEOF_STATIC(u, tag, st, m, fd, ltype, ptr) \
- {tag, PB_ATYPE_STATIC | PB_HTYPE_ONEOF | ltype, \
- fd, pb_delta(st, which_ ## u, m), \
- pb_membersize(st, m), 0, ptr}
-
-#define PB_ANONYMOUS_ONEOF_POINTER(u, tag, st, m, fd, ltype, ptr) \
- {tag, PB_ATYPE_POINTER | PB_HTYPE_ONEOF | ltype, \
- fd, pb_delta(st, which_ ## u, m), \
- pb_membersize(st, m[0]), 0, ptr}
-
-#define PB_ANONYMOUS_ONEOF_FIELD(union_name, tag, type, rules, allocation, placement, message, field, prevfield, ptr) \
- PB_ANONYMOUS_ONEOF_ ## allocation(union_name, tag, message, field, \
- PB_DATAOFFSET_ ## placement(message, field, prevfield), \
- PB_LTYPE_MAP_ ## type, ptr)
-
-/* These macros are used for giving out error messages.
- * They are mostly a debugging aid; the main error information
- * is the true/false return value from functions.
- * Some code space can be saved by disabling the error
- * messages if not used.
- *
- * PB_SET_ERROR() sets the error message if none has been set yet.
- * msg must be a constant string literal.
- * PB_GET_ERROR() always returns a pointer to a string.
- * PB_RETURN_ERROR() sets the error and returns false from current
- * function.
- */
-#ifdef PB_NO_ERRMSG
-#define PB_SET_ERROR(stream, msg) PB_UNUSED(stream)
-#define PB_GET_ERROR(stream) "(errmsg disabled)"
-#else
-#define PB_SET_ERROR(stream, msg) (stream->errmsg = (stream)->errmsg ? (stream)->errmsg : (msg))
-#define PB_GET_ERROR(stream) ((stream)->errmsg ? (stream)->errmsg : "(none)")
-#endif
-
-#define PB_RETURN_ERROR(stream, msg) return PB_SET_ERROR(stream, msg), false
-
-#endif
diff --git a/src/ios/Firebase/Analytics/nanopb.framework/Headers/pb_common.h b/src/ios/Firebase/Analytics/nanopb.framework/Headers/pb_common.h
deleted file mode 100644
index 60b3d3749..000000000
--- a/src/ios/Firebase/Analytics/nanopb.framework/Headers/pb_common.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/* pb_common.h: Common support functions for pb_encode.c and pb_decode.c.
- * These functions are rarely needed by applications directly.
- */
-
-#ifndef PB_COMMON_H_INCLUDED
-#define PB_COMMON_H_INCLUDED
-
-#include "pb.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Iterator for pb_field_t list */
-struct pb_field_iter_s {
- const pb_field_t *start; /* Start of the pb_field_t array */
- const pb_field_t *pos; /* Current position of the iterator */
- unsigned required_field_index; /* Zero-based index that counts only the required fields */
- void *dest_struct; /* Pointer to start of the structure */
- void *pData; /* Pointer to current field value */
- void *pSize; /* Pointer to count/has field */
-};
-typedef struct pb_field_iter_s pb_field_iter_t;
-
-/* Initialize the field iterator structure to beginning.
- * Returns false if the message type is empty. */
-bool pb_field_iter_begin(pb_field_iter_t *iter, const pb_field_t *fields, void *dest_struct);
-
-/* Advance the iterator to the next field.
- * Returns false when the iterator wraps back to the first field. */
-bool pb_field_iter_next(pb_field_iter_t *iter);
-
-/* Advance the iterator until it points at a field with the given tag.
- * Returns false if no such field exists. */
-bool pb_field_iter_find(pb_field_iter_t *iter, uint32_t tag);
-
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
-#endif
-
diff --git a/src/ios/Firebase/Analytics/nanopb.framework/Headers/pb_decode.h b/src/ios/Firebase/Analytics/nanopb.framework/Headers/pb_decode.h
deleted file mode 100644
index a426bdd70..000000000
--- a/src/ios/Firebase/Analytics/nanopb.framework/Headers/pb_decode.h
+++ /dev/null
@@ -1,153 +0,0 @@
-/* pb_decode.h: Functions to decode protocol buffers. Depends on pb_decode.c.
- * The main function is pb_decode. You also need an input stream, and the
- * field descriptions created by nanopb_generator.py.
- */
-
-#ifndef PB_DECODE_H_INCLUDED
-#define PB_DECODE_H_INCLUDED
-
-#include "pb.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Structure for defining custom input streams. You will need to provide
- * a callback function to read the bytes from your storage, which can be
- * for example a file or a network socket.
- *
- * The callback must conform to these rules:
- *
- * 1) Return false on IO errors. This will cause decoding to abort.
- * 2) You can use state to store your own data (e.g. buffer pointer),
- * and rely on pb_read to verify that no-body reads past bytes_left.
- * 3) Your callback may be used with substreams, in which case bytes_left
- * is different than from the main stream. Don't use bytes_left to compute
- * any pointers.
- */
-struct pb_istream_s
-{
-#ifdef PB_BUFFER_ONLY
- /* Callback pointer is not used in buffer-only configuration.
- * Having an int pointer here allows binary compatibility but
- * gives an error if someone tries to assign callback function.
- */
- int *callback;
-#else
- bool (*callback)(pb_istream_t *stream, pb_byte_t *buf, size_t count);
-#endif
-
- void *state; /* Free field for use by callback implementation */
- size_t bytes_left;
-
-#ifndef PB_NO_ERRMSG
- const char *errmsg;
-#endif
-};
-
-/***************************
- * Main decoding functions *
- ***************************/
-
-/* Decode a single protocol buffers message from input stream into a C structure.
- * Returns true on success, false on any failure.
- * The actual struct pointed to by dest must match the description in fields.
- * Callback fields of the destination structure must be initialized by caller.
- * All other fields will be initialized by this function.
- *
- * Example usage:
- * MyMessage msg = {};
- * uint8_t buffer[64];
- * pb_istream_t stream;
- *
- * // ... read some data into buffer ...
- *
- * stream = pb_istream_from_buffer(buffer, count);
- * pb_decode(&stream, MyMessage_fields, &msg);
- */
-bool pb_decode(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct);
-
-/* Same as pb_decode, except does not initialize the destination structure
- * to default values. This is slightly faster if you need no default values
- * and just do memset(struct, 0, sizeof(struct)) yourself.
- *
- * This can also be used for 'merging' two messages, i.e. update only the
- * fields that exist in the new message.
- *
- * Note: If this function returns with an error, it will not release any
- * dynamically allocated fields. You will need to call pb_release() yourself.
- */
-bool pb_decode_noinit(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct);
-
-/* Same as pb_decode, except expects the stream to start with the message size
- * encoded as varint. Corresponds to parseDelimitedFrom() in Google's
- * protobuf API.
- */
-bool pb_decode_delimited(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct);
-
-#ifdef PB_ENABLE_MALLOC
-/* Release any allocated pointer fields. If you use dynamic allocation, you should
- * call this for any successfully decoded message when you are done with it. If
- * pb_decode() returns with an error, the message is already released.
- */
-void pb_release(const pb_field_t fields[], void *dest_struct);
-#endif
-
-
-/**************************************
- * Functions for manipulating streams *
- **************************************/
-
-/* Create an input stream for reading from a memory buffer.
- *
- * Alternatively, you can use a custom stream that reads directly from e.g.
- * a file or a network socket.
- */
-pb_istream_t pb_istream_from_buffer(const pb_byte_t *buf, size_t bufsize);
-
-/* Function to read from a pb_istream_t. You can use this if you need to
- * read some custom header data, or to read data in field callbacks.
- */
-bool pb_read(pb_istream_t *stream, pb_byte_t *buf, size_t count);
-
-
-/************************************************
- * Helper functions for writing field callbacks *
- ************************************************/
-
-/* Decode the tag for the next field in the stream. Gives the wire type and
- * field tag. At end of the message, returns false and sets eof to true. */
-bool pb_decode_tag(pb_istream_t *stream, pb_wire_type_t *wire_type, uint32_t *tag, bool *eof);
-
-/* Skip the field payload data, given the wire type. */
-bool pb_skip_field(pb_istream_t *stream, pb_wire_type_t wire_type);
-
-/* Decode an integer in the varint format. This works for bool, enum, int32,
- * int64, uint32 and uint64 field types. */
-bool pb_decode_varint(pb_istream_t *stream, uint64_t *dest);
-
-/* Decode an integer in the varint format. This works for bool, enum, int32,
- * and uint32 field types. */
-bool pb_decode_varint32(pb_istream_t *stream, uint32_t *dest);
-
-/* Decode an integer in the zig-zagged svarint format. This works for sint32
- * and sint64. */
-bool pb_decode_svarint(pb_istream_t *stream, int64_t *dest);
-
-/* Decode a fixed32, sfixed32 or float value. You need to pass a pointer to
- * a 4-byte wide C variable. */
-bool pb_decode_fixed32(pb_istream_t *stream, void *dest);
-
-/* Decode a fixed64, sfixed64 or double value. You need to pass a pointer to
- * a 8-byte wide C variable. */
-bool pb_decode_fixed64(pb_istream_t *stream, void *dest);
-
-/* Make a limited-length substream for reading a PB_WT_STRING field. */
-bool pb_make_string_substream(pb_istream_t *stream, pb_istream_t *substream);
-bool pb_close_string_substream(pb_istream_t *stream, pb_istream_t *substream);
-
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
-#endif
diff --git a/src/ios/Firebase/Analytics/nanopb.framework/Headers/pb_encode.h b/src/ios/Firebase/Analytics/nanopb.framework/Headers/pb_encode.h
deleted file mode 100644
index d9909fb01..000000000
--- a/src/ios/Firebase/Analytics/nanopb.framework/Headers/pb_encode.h
+++ /dev/null
@@ -1,154 +0,0 @@
-/* pb_encode.h: Functions to encode protocol buffers. Depends on pb_encode.c.
- * The main function is pb_encode. You also need an output stream, and the
- * field descriptions created by nanopb_generator.py.
- */
-
-#ifndef PB_ENCODE_H_INCLUDED
-#define PB_ENCODE_H_INCLUDED
-
-#include "pb.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Structure for defining custom output streams. You will need to provide
- * a callback function to write the bytes to your storage, which can be
- * for example a file or a network socket.
- *
- * The callback must conform to these rules:
- *
- * 1) Return false on IO errors. This will cause encoding to abort.
- * 2) You can use state to store your own data (e.g. buffer pointer).
- * 3) pb_write will update bytes_written after your callback runs.
- * 4) Substreams will modify max_size and bytes_written. Don't use them
- * to calculate any pointers.
- */
-struct pb_ostream_s
-{
-#ifdef PB_BUFFER_ONLY
- /* Callback pointer is not used in buffer-only configuration.
- * Having an int pointer here allows binary compatibility but
- * gives an error if someone tries to assign callback function.
- * Also, NULL pointer marks a 'sizing stream' that does not
- * write anything.
- */
- int *callback;
-#else
- bool (*callback)(pb_ostream_t *stream, const pb_byte_t *buf, size_t count);
-#endif
- void *state; /* Free field for use by callback implementation. */
- size_t max_size; /* Limit number of output bytes written (or use SIZE_MAX). */
- size_t bytes_written; /* Number of bytes written so far. */
-
-#ifndef PB_NO_ERRMSG
- const char *errmsg;
-#endif
-};
-
-/***************************
- * Main encoding functions *
- ***************************/
-
-/* Encode a single protocol buffers message from C structure into a stream.
- * Returns true on success, false on any failure.
- * The actual struct pointed to by src_struct must match the description in fields.
- * All required fields in the struct are assumed to have been filled in.
- *
- * Example usage:
- * MyMessage msg = {};
- * uint8_t buffer[64];
- * pb_ostream_t stream;
- *
- * msg.field1 = 42;
- * stream = pb_ostream_from_buffer(buffer, sizeof(buffer));
- * pb_encode(&stream, MyMessage_fields, &msg);
- */
-bool pb_encode(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct);
-
-/* Same as pb_encode, but prepends the length of the message as a varint.
- * Corresponds to writeDelimitedTo() in Google's protobuf API.
- */
-bool pb_encode_delimited(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct);
-
-/* Encode the message to get the size of the encoded data, but do not store
- * the data. */
-bool pb_get_encoded_size(size_t *size, const pb_field_t fields[], const void *src_struct);
-
-/**************************************
- * Functions for manipulating streams *
- **************************************/
-
-/* Create an output stream for writing into a memory buffer.
- * The number of bytes written can be found in stream.bytes_written after
- * encoding the message.
- *
- * Alternatively, you can use a custom stream that writes directly to e.g.
- * a file or a network socket.
- */
-pb_ostream_t pb_ostream_from_buffer(pb_byte_t *buf, size_t bufsize);
-
-/* Pseudo-stream for measuring the size of a message without actually storing
- * the encoded data.
- *
- * Example usage:
- * MyMessage msg = {};
- * pb_ostream_t stream = PB_OSTREAM_SIZING;
- * pb_encode(&stream, MyMessage_fields, &msg);
- * printf("Message size is %d\n", stream.bytes_written);
- */
-#ifndef PB_NO_ERRMSG
-#define PB_OSTREAM_SIZING {0,0,0,0,0}
-#else
-#define PB_OSTREAM_SIZING {0,0,0,0}
-#endif
-
-/* Function to write into a pb_ostream_t stream. You can use this if you need
- * to append or prepend some custom headers to the message.
- */
-bool pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count);
-
-
-/************************************************
- * Helper functions for writing field callbacks *
- ************************************************/
-
-/* Encode field header based on type and field number defined in the field
- * structure. Call this from the callback before writing out field contents. */
-bool pb_encode_tag_for_field(pb_ostream_t *stream, const pb_field_t *field);
-
-/* Encode field header by manually specifing wire type. You need to use this
- * if you want to write out packed arrays from a callback field. */
-bool pb_encode_tag(pb_ostream_t *stream, pb_wire_type_t wiretype, uint32_t field_number);
-
-/* Encode an integer in the varint format.
- * This works for bool, enum, int32, int64, uint32 and uint64 field types. */
-bool pb_encode_varint(pb_ostream_t *stream, uint64_t value);
-
-/* Encode an integer in the zig-zagged svarint format.
- * This works for sint32 and sint64. */
-bool pb_encode_svarint(pb_ostream_t *stream, int64_t value);
-
-/* Encode a string or bytes type field. For strings, pass strlen(s) as size. */
-bool pb_encode_string(pb_ostream_t *stream, const pb_byte_t *buffer, size_t size);
-
-/* Encode a fixed32, sfixed32 or float value.
- * You need to pass a pointer to a 4-byte wide C variable. */
-bool pb_encode_fixed32(pb_ostream_t *stream, const void *value);
-
-/* Encode a fixed64, sfixed64 or double value.
- * You need to pass a pointer to a 8-byte wide C variable. */
-bool pb_encode_fixed64(pb_ostream_t *stream, const void *value);
-
-/* Encode a submessage field.
- * You need to pass the pb_field_t array and pointer to struct, just like
- * with pb_encode(). This internally encodes the submessage twice, first to
- * calculate message size and then to actually write it out.
- */
-bool pb_encode_submessage(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct);
-
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
-#endif
diff --git a/src/ios/Firebase/Analytics/nanopb.framework/Modules/module.modulemap b/src/ios/Firebase/Analytics/nanopb.framework/Modules/module.modulemap
deleted file mode 100644
index 91c3a63de..000000000
--- a/src/ios/Firebase/Analytics/nanopb.framework/Modules/module.modulemap
+++ /dev/null
@@ -1,5 +0,0 @@
-framework module nanopb {
- umbrella header "nanopb.h"
- export *
- module * { export *}
-}
diff --git a/src/ios/Firebase/Analytics/nanopb.framework/nanopb b/src/ios/Firebase/Analytics/nanopb.framework/nanopb
deleted file mode 100644
index 5d7ba43dc..000000000
Binary files a/src/ios/Firebase/Analytics/nanopb.framework/nanopb and /dev/null differ
diff --git a/src/ios/Firebase/Auth/FirebaseAuth.framework/FirebaseAuth b/src/ios/Firebase/Auth/FirebaseAuth.framework/FirebaseAuth
deleted file mode 100644
index 2cb4f8acf..000000000
Binary files a/src/ios/Firebase/Auth/FirebaseAuth.framework/FirebaseAuth and /dev/null differ
diff --git a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRActionCodeSettings.h b/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRActionCodeSettings.h
deleted file mode 100644
index 6eb4c89d9..000000000
--- a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRActionCodeSettings.h
+++ /dev/null
@@ -1,84 +0,0 @@
-/*
- * Copyright 2017 Google
- *
- * 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/LICENSE2.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
-
- NS_ASSUME_NONNULL_BEGIN
-
- /** @class FIRActionCodeSettings
- @brief Used to set and retrieve settings related to handling action codes.
- */
- NS_SWIFT_NAME(ActionCodeSettings)
- @interface FIRActionCodeSettings : NSObject
-
- /** @property URL
- @brief This URL represents the state/Continue URL in the form of a universal link.
- @remarks This URL can should be contructed as a universal link that would either directly open
- the app where the action code would be handled or continue to the app after the action code
- is handled by Firebase.
- */
- @property(nonatomic, copy, nullable) NSURL *URL;
-
- /** @property handleCodeInApp
- @brief Indicates whether the action code link will open the app directly or after being
- redirected from a Firebase owned web widget.
- */
- @property(assign, nonatomic) BOOL handleCodeInApp;
-
- /** @property iOSBundleID
- @brief The iOS bundle ID, if available. The default value is the current app's bundle ID.
- */
- @property(copy, nonatomic, readonly, nullable) NSString *iOSBundleID;
-
- /** @property androidPackageName
- @brief The Android package name, if available.
- */
- @property(nonatomic, copy, readonly, nullable) NSString *androidPackageName;
-
- /** @property androidMinimumVersion
- @brief The minimum Android version supported, if available.
- */
- @property(nonatomic, copy, readonly, nullable) NSString *androidMinimumVersion;
-
- /** @property androidInstallIfNotAvailable
- @brief Indicates whether the Android app should be installed on a device where it is not
- available.
- */
- @property(nonatomic, assign, readonly) BOOL androidInstallIfNotAvailable;
-
- /** @fn setIOSBundleID
- @brief Sets the iOS bundle Id.
- @param iOSBundleID The iOS bundle ID.
- */
- - (void)setIOSBundleID:(NSString *)iOSBundleID;
-
- /** @fn setAndroidPackageName:installIfNotAvailable:minimumVersion:
- @brief Sets the Android package name, the flag to indicate whether or not to install the app and
- the minimum Android version supported.
- @param androidPackageName The Android package name.
- @param installIfNotAvailable Indicates whether or not the app should be installed if not
- available.
- @param minimumVersion The minimum version of Android supported.
- @remarks If installIfNotAvailable is set to YES and the link is opened on an android device, it
- will try to install the app if not already available. Otherwise the web URL is used.
- */
- - (void)setAndroidPackageName:(NSString *)androidPackageName
- installIfNotAvailable:(BOOL)installIfNotAvailable
- minimumVersion:(nullable NSString *)minimumVersion;
-
- @end
-
- NS_ASSUME_NONNULL_END
diff --git a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRAdditionalUserInfo.h b/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRAdditionalUserInfo.h
deleted file mode 100644
index 4f6947ac8..000000000
--- a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRAdditionalUserInfo.h
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
- * Copyright 2017 Google
- *
- * 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
-
-@class FIRVerifyAssertionResponse;
-
-NS_ASSUME_NONNULL_BEGIN
-
-/** @class FIRAdditionalUserInfo
- @brief Represents additional user data returned from an identity provider.
- */
-NS_SWIFT_NAME(AdditionalUserInfo)
-@interface FIRAdditionalUserInfo : NSObject
-
-/** @fn init
- @brief This class should not be initialized manually. `FIRAdditionalUserInfo` can be retrieved
- from from an instance of `FIRAuthDataResult`.
- */
-- (instancetype)init NS_UNAVAILABLE;
-
-/** @property providerID
- @brief The provider identifier.
- */
-@property(nonatomic, readonly) NSString *providerID;
-
-/** @property profile
- @brief Dictionary containing the additional IdP specific information.
- */
-@property(nonatomic, readonly, nullable) NSDictionary *profile;
-
-/** @property username
- @brief username The name of the user.
- */
-@property(nonatomic, readonly, nullable) NSString *username;
-
-/** @property newUser
- @brief Indicates whether or not the current user was signed in for the first time.
- */
-@property(nonatomic, readonly, getter=isNewUser) BOOL newUser;
-
-@end
-
-NS_ASSUME_NONNULL_END
diff --git a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRAuth.h b/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRAuth.h
deleted file mode 100644
index cfc59b1f3..000000000
--- a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRAuth.h
+++ /dev/null
@@ -1,864 +0,0 @@
-/*
- * Copyright 2017 Google
- *
- * 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
-#import
-
-#import "FIRAuthErrors.h"
-
-#if TARGET_OS_IOS
-#import "FIRAuthAPNSTokenType.h"
-#endif
-
-@class FIRActionCodeSettings;
-@class FIRApp;
-@class FIRAuth;
-@class FIRAuthCredential;
-@class FIRAuthDataResult;
-@class FIRAuthSettings;
-@class FIRUser;
-@protocol FIRAuthStateListener;
-
-NS_ASSUME_NONNULL_BEGIN
-
-/** @typedef FIRUserUpdateCallback
- @brief The type of block invoked when a request to update the current user is completed.
- */
-typedef void (^FIRUserUpdateCallback)(NSError *_Nullable error) NS_SWIFT_NAME(UserUpdateCallback);
-
-/** @typedef FIRAuthStateDidChangeListenerHandle
- @brief The type of handle returned by `FIRAuth.addAuthStateDidChangeListener:`.
- */
-typedef id FIRAuthStateDidChangeListenerHandle
- NS_SWIFT_NAME(AuthStateDidChangeListenerHandle);
-
-/** @typedef FIRAuthStateDidChangeListenerBlock
- @brief The type of block which can be registered as a listener for auth state did change events.
-
- @param auth The FIRAuth object on which state changes occurred.
- @param user Optionally; the current signed in user, if any.
- */
-typedef void(^FIRAuthStateDidChangeListenerBlock)(FIRAuth *auth, FIRUser *_Nullable user)
- NS_SWIFT_NAME(AuthStateDidChangeListenerBlock);
-
-/** @typedef FIRIDTokenDidChangeListenerHandle
- @brief The type of handle returned by `FIRAuth.addIDTokenDidChangeListener:`.
- */
-typedef id FIRIDTokenDidChangeListenerHandle
- NS_SWIFT_NAME(IDTokenDidChangeListenerHandle);
-
-/** @typedef FIRIDTokenDidChangeListenerBlock
- @brief The type of block which can be registered as a listener for ID token did change events.
-
- @param auth The FIRAuth object on which ID token changes occurred.
- @param user Optionally; the current signed in user, if any.
- */
-typedef void(^FIRIDTokenDidChangeListenerBlock)(FIRAuth *auth, FIRUser *_Nullable user)
- NS_SWIFT_NAME(IDTokenDidChangeListenerBlock);
-
-/** @typedef FIRAuthDataResultCallback
- @brief The type of block invoked when sign-in related events complete.
-
- @param authResult Optionally; Result of sign-in request containing both the user and
- the additional user info associated with the user.
- @param error Optionally; the error which occurred - or nil if the request was successful.
- */
-typedef void (^FIRAuthDataResultCallback)(FIRAuthDataResult *_Nullable authResult,
- NSError *_Nullable error)
- NS_SWIFT_NAME(AuthDataResultCallback);
-
-#if defined(__IPHONE_10_0) && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0
-/**
- @brief The name of the `NSNotificationCenter` notification which is posted when the auth state
- changes (for example, a new token has been produced, a user signs in or signs out). The
- object parameter of the notification is the sender `FIRAuth` instance.
- */
-extern const NSNotificationName FIRAuthStateDidChangeNotification
- NS_SWIFT_NAME(AuthStateDidChange);
-#else
-/**
- @brief The name of the `NSNotificationCenter` notification which is posted when the auth state
- changes (for example, a new token has been produced, a user signs in or signs out). The
- object parameter of the notification is the sender `FIRAuth` instance.
- */
-extern NSString *const FIRAuthStateDidChangeNotification
- NS_SWIFT_NAME(AuthStateDidChangeNotification);
-#endif // defined(__IPHONE_10_0) && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0
-
-/** @typedef FIRAuthResultCallback
- @brief The type of block invoked when sign-in related events complete.
-
- @param user Optionally; the signed in user, if any.
- @param error Optionally; if an error occurs, this is the NSError object that describes the
- problem. Set to nil otherwise.
- */
-typedef void (^FIRAuthResultCallback)(FIRUser *_Nullable user, NSError *_Nullable error)
- NS_SWIFT_NAME(AuthResultCallback);
-
-/** @typedef FIRProviderQueryCallback
- @brief The type of block invoked when a list of identity providers for a given email address is
- requested.
-
- @param providers Optionally; a list of provider identifiers, if any.
- @see FIRGoogleAuthProviderID etc.
- @param error Optionally; if an error occurs, this is the NSError object that describes the
- problem. Set to nil otherwise.
- */
-typedef void (^FIRProviderQueryCallback)(NSArray *_Nullable providers,
- NSError *_Nullable error)
- NS_SWIFT_NAME(ProviderQueryCallback);
-
-/** @typedef FIRSignInMethodQueryCallback
- @brief The type of block invoked when a list of sign-in methods for a given email address is
- requested.
- */
-typedef void (^FIRSignInMethodQueryCallback)(NSArray *_Nullable,
- NSError *_Nullable)
- NS_SWIFT_NAME(SignInMethodQueryCallback);
-
-/** @typedef FIRSendPasswordResetCallback
- @brief The type of block invoked when sending a password reset email.
-
- @param error Optionally; if an error occurs, this is the NSError object that describes the
- problem. Set to nil otherwise.
- */
-typedef void (^FIRSendPasswordResetCallback)(NSError *_Nullable error)
- NS_SWIFT_NAME(SendPasswordResetCallback);
-
-/** @typedef FIRSendSignInLinkToEmailCallback
- @brief The type of block invoked when sending an email sign-in link email.
- */
-typedef void (^FIRSendSignInLinkToEmailCallback)(NSError *_Nullable error)
- NS_SWIFT_NAME(SendSignInLinkToEmailCallback);
-
-/** @typedef FIRConfirmPasswordResetCallback
- @brief The type of block invoked when performing a password reset.
-
- @param error Optionally; if an error occurs, this is the NSError object that describes the
- problem. Set to nil otherwise.
- */
-typedef void (^FIRConfirmPasswordResetCallback)(NSError *_Nullable error)
- NS_SWIFT_NAME(ConfirmPasswordResetCallback);
-
-/** @typedef FIRVerifyPasswordResetCodeCallback
- @brief The type of block invoked when verifying that an out of band code should be used to
- perform password reset.
-
- @param email Optionally; the email address of the user for which the out of band code applies.
- @param error Optionally; if an error occurs, this is the NSError object that describes the
- problem. Set to nil otherwise.
- */
-typedef void (^FIRVerifyPasswordResetCodeCallback)(NSString *_Nullable email,
- NSError *_Nullable error)
- NS_SWIFT_NAME(VerifyPasswordResetCodeCallback);
-
-/** @typedef FIRApplyActionCodeCallback
- @brief The type of block invoked when applying an action code.
-
- @param error Optionally; if an error occurs, this is the NSError object that describes the
- problem. Set to nil otherwise.
- */
-typedef void (^FIRApplyActionCodeCallback)(NSError *_Nullable error)
- NS_SWIFT_NAME(ApplyActionCodeCallback);
-
-/**
- @brief Keys used to retrieve operation data from a `FIRActionCodeInfo` object by the
- `dataForKey` method.
- */
-typedef NS_ENUM(NSInteger, FIRActionDataKey) {
- /**
- * The email address to which the code was sent.
- * For FIRActionCodeOperationRecoverEmail, the new email address for the account.
- */
- FIRActionCodeEmailKey = 0,
-
- /** For FIRActionCodeOperationRecoverEmail, the current email address for the account. */
- FIRActionCodeFromEmailKey = 1
-} NS_SWIFT_NAME(ActionDataKey);
-
-/** @class FIRActionCodeInfo
- @brief Manages information regarding action codes.
- */
-NS_SWIFT_NAME(ActionCodeInfo)
-@interface FIRActionCodeInfo : NSObject
-
-/**
- @brief Operations which can be performed with action codes.
- */
-typedef NS_ENUM(NSInteger, FIRActionCodeOperation) {
- /** Action code for unknown operation. */
- FIRActionCodeOperationUnknown = 0,
-
- /** Action code for password reset operation. */
- FIRActionCodeOperationPasswordReset = 1,
-
- /** Action code for verify email operation. */
- FIRActionCodeOperationVerifyEmail = 2,
-
- /** Action code for recover email operation. */
- FIRActionCodeOperationRecoverEmail = 3,
-
- /** Action code for email link operation. */
- FIRActionCodeOperationEmailLink = 4,
-
-
-} NS_SWIFT_NAME(ActionCodeOperation);
-
-/**
- @brief The operation being performed.
- */
-@property(nonatomic, readonly) FIRActionCodeOperation operation;
-
-/** @fn dataForKey:
- @brief The operation being performed.
-
- @param key The FIRActionDataKey value used to retrieve the operation data.
-
- @return The operation data pertaining to the provided action code key.
- */
-- (NSString *)dataForKey:(FIRActionDataKey)key;
-
-/** @fn init
- @brief please use initWithOperation: instead.
- */
-- (instancetype)init NS_UNAVAILABLE;
-
-@end
-
-/** @typedef FIRCheckActionCodeCallBack
- @brief The type of block invoked when performing a check action code operation.
-
- @param info Metadata corresponding to the action code.
- @param error Optionally; if an error occurs, this is the NSError object that describes the
- problem. Set to nil otherwise.
- */
-typedef void (^FIRCheckActionCodeCallBack)(FIRActionCodeInfo *_Nullable info,
- NSError *_Nullable error)
- NS_SWIFT_NAME(CheckActionCodeCallback);
-
-/** @class FIRAuth
- @brief Manages authentication for Firebase apps.
- @remarks This class is thread-safe.
- */
-NS_SWIFT_NAME(Auth)
-@interface FIRAuth : NSObject
-
-/** @fn auth
- @brief Gets the auth object for the default Firebase app.
- @remarks The default Firebase app must have already been configured or an exception will be
- raised.
- */
-+ (FIRAuth *)auth NS_SWIFT_NAME(auth());
-
-/** @fn authWithApp:
- @brief Gets the auth object for a `FIRApp`.
-
- @param app The FIRApp for which to retrieve the associated FIRAuth instance.
- @return The FIRAuth instance associated with the given FIRApp.
- */
-+ (FIRAuth *)authWithApp:(FIRApp *)app NS_SWIFT_NAME(auth(app:));
-
-/** @property app
- @brief Gets the `FIRApp` object that this auth object is connected to.
- */
-@property(nonatomic, weak, readonly, nullable) FIRApp *app;
-
-/** @property currentUser
- @brief Synchronously gets the cached current user, or null if there is none.
- */
-@property(nonatomic, strong, readonly, nullable) FIRUser *currentUser;
-
-/** @property languageCode
- @brief The current user language code. This property can be set to the app's current language by
- calling `useAppLanguage`.
-
- @remarks The string used to set this property must be a language code that follows BCP 47.
- */
-@property (nonatomic, copy, nullable) NSString *languageCode;
-
-/** @property settings
- @brief Contains settings related to the auth object.
- */
-@property (nonatomic, copy, nullable) FIRAuthSettings *settings;
-
-#if TARGET_OS_IOS
-/** @property APNSToken
- @brief The APNs token used for phone number authentication. The type of the token (production
- or sandbox) will be attempted to be automatcially detected.
- @remarks If swizzling is disabled, the APNs Token must be set for phone number auth to work,
- by either setting this property or by calling `setAPNSToken:type:`
- */
-@property(nonatomic, strong, nullable) NSData *APNSToken;
-#endif
-
-/** @fn init
- @brief Please access auth instances using `FIRAuth.auth` and `FIRAuth.authForApp:`.
- */
-- (instancetype)init NS_UNAVAILABLE;
-
-/** @fn updateCurrentUser:completion:
- @brief Sets the currentUser on the calling Auth instance to the provided user object.
- @param user The user object to be set as the current user of the calling Auth instance.
- @param completion Optionally; a block invoked after the user of the calling Auth instance has
- been updated or an error was encountered.
- */
-- (void)updateCurrentUser:(FIRUser *)user completion:(nullable FIRUserUpdateCallback)completion;
-
-/** @fn fetchProvidersForEmail:completion:
- @brief Fetches the list of IdPs that can be used for signing in with the provided email address.
- Useful for an "identifier-first" sign-in flow.
-
- @param email The email address for which to obtain a list of identity providers.
- @param completion Optionally; a block which is invoked when the list of providers for the
- specified email address is ready or an error was encountered. Invoked asynchronously on the
- main thread in the future.
-
- @remarks Possible error codes:
-
- + `FIRAuthErrorCodeInvalidEmail` - Indicates the email address is malformed.
-
- @remarks See `FIRAuthErrors` for a list of error codes that are common to all API methods.
- */
-- (void)fetchProvidersForEmail:(NSString *)email
- completion:(nullable FIRProviderQueryCallback)completion;
-
-/** @fn fetchSignInMethodsForEmail:completion:
- @brief Fetches the list of all sign-in methods previously used for the provided email address.
-
- @param email The email address for which to obtain a list of sign-in methods.
- @param completion Optionally; a block which is invoked when the list of sign in methods for the
- specified email address is ready or an error was encountered. Invoked asynchronously on the
- main thread in the future.
-
- @remarks Possible error codes:
-
- + `FIRAuthErrorCodeInvalidEmail` - Indicates the email address is malformed.
-
- @remarks See @c FIRAuthErrors for a list of error codes that are common to all API methods.
- */
-
-- (void)fetchSignInMethodsForEmail:(NSString *)email
- completion:(nullable FIRSignInMethodQueryCallback)completion;
-
-/** @fn signInWithEmail:password:completion:
- @brief Signs in using an email address and password.
-
- @param email The user's email address.
- @param password The user's password.
- @param completion Optionally; a block which is invoked when the sign in flow finishes, or is
- canceled. Invoked asynchronously on the main thread in the future.
-
- @remarks Possible error codes:
-
- + `FIRAuthErrorCodeOperationNotAllowed` - Indicates that email and password
- accounts are not enabled. Enable them in the Auth section of the
- Firebase console.
- + `FIRAuthErrorCodeUserDisabled` - Indicates the user's account is disabled.
- + `FIRAuthErrorCodeWrongPassword` - Indicates the user attempted
- sign in with an incorrect password.
- + `FIRAuthErrorCodeInvalidEmail` - Indicates the email address is malformed.
-
-
- @remarks See `FIRAuthErrors` for a list of error codes that are common to all API methods.
- */
-- (void)signInWithEmail:(NSString *)email
- password:(NSString *)password
- completion:(nullable FIRAuthDataResultCallback)completion;
-
-/** @fn signInWithEmail:link:completion:
- @brief Signs in using an email address and email sign-in link.
-
- @param email The user's email address.
- @param link The email sign-in link.
- @param completion Optionally; a block which is invoked when the sign in flow finishes, or is
- canceled. Invoked asynchronously on the main thread in the future.
-
- @remarks Possible error codes:
-
- + `FIRAuthErrorCodeOperationNotAllowed` - Indicates that email and email sign-in link
- accounts are not enabled. Enable them in the Auth section of the
- Firebase console.
- + `FIRAuthErrorCodeUserDisabled` - Indicates the user's account is disabled.
- + `FIRAuthErrorCodeInvalidEmail` - Indicates the email address is invalid.
-
-
- @remarks See `FIRAuthErrors` for a list of error codes that are common to all API methods.
- */
-
-- (void)signInWithEmail:(NSString *)email
- link:(NSString *)link
- completion:(nullable FIRAuthDataResultCallback)completion;
-
-/** @fn signInAndRetrieveDataWithEmail:password:completion:
- @brief Please use `signInWithEmail:password:completion:` for Objective-C or
- `signIn(withEmail:password:completion:)` for Swift instead.
-
- @param email The user's email address.
- @param password The user's password.
- @param completion Optionally; a block which is invoked when the sign in flow finishes, or is
- canceled. Invoked asynchronously on the main thread in the future.
- */
-- (void)signInAndRetrieveDataWithEmail:(NSString *)email
- password:(NSString *)password
- completion:(nullable FIRAuthDataResultCallback)completion
- DEPRECATED_MSG_ATTRIBUTE(
- "Please use signInWithEmail:password:completion: for"
- " Objective-C or signIn(withEmail:password:completion:) for"
- " Swift instead.");
-
-/** @fn signInWithCredential:completion:
- @brief Please use `signInAndRetrieveDataWithCredential:completion:` for Objective-C or
- `signInAndRetrieveData(with:completion:)` for swift instead
-
- @param credential The credential supplied by the IdP.
- @param completion Optionally; a block which is invoked when the sign in flow finishes, or is
- canceled. Invoked asynchronously on the main thread in the future.
-
- @remarks Possible error codes:
-
- + `FIRAuthErrorCodeInvalidCredential` - Indicates the supplied credential is invalid.
- This could happen if it has expired or it is malformed.
- + `FIRAuthErrorCodeOperationNotAllowed` - Indicates that accounts
- with the identity provider represented by the credential are not enabled.
- Enable them in the Auth section of the Firebase console.
- + `FIRAuthErrorCodeAccountExistsWithDifferentCredential` - Indicates the email asserted
- by the credential (e.g. the email in a Facebook access token) is already in use by an
- existing account, that cannot be authenticated with this sign-in method. Call
- fetchProvidersForEmail for this user’s email and then prompt them to sign in with any of
- the sign-in providers returned. This error will only be thrown if the "One account per
- email address" setting is enabled in the Firebase console, under Auth settings.
- + `FIRAuthErrorCodeUserDisabled` - Indicates the user's account is disabled.
- + `FIRAuthErrorCodeWrongPassword` - Indicates the user attempted sign in with an
- incorrect password, if credential is of the type EmailPasswordAuthCredential.
- + `FIRAuthErrorCodeInvalidEmail` - Indicates the email address is malformed.
- + `FIRAuthErrorCodeMissingVerificationID` - Indicates that the phone auth credential was
- created with an empty verification ID.
- + `FIRAuthErrorCodeMissingVerificationCode` - Indicates that the phone auth credential
- was created with an empty verification code.
- + `FIRAuthErrorCodeInvalidVerificationCode` - Indicates that the phone auth credential
- was created with an invalid verification Code.
- + `FIRAuthErrorCodeInvalidVerificationID` - Indicates that the phone auth credential was
- created with an invalid verification ID.
- + `FIRAuthErrorCodeSessionExpired` - Indicates that the SMS code has expired.
-
-
-
- @remarks See `FIRAuthErrors` for a list of error codes that are common to all API methods
- */
-- (void)signInWithCredential:(FIRAuthCredential *)credential
- completion:(nullable FIRAuthResultCallback)completion DEPRECATED_MSG_ATTRIBUTE(
- "Please use signInAndRetrieveDataWithCredential:completion:"
- " for Objective-C or signInAndRetrieveData(with:completion:)"
- " for Swift instead.");
-
-/** @fn signInAndRetrieveDataWithCredential:completion:
- @brief Asynchronously signs in to Firebase with the given 3rd-party credentials (e.g. a Facebook
- login Access Token, a Google ID Token/Access Token pair, etc.) and returns additional
- identity provider data.
-
- @param credential The credential supplied by the IdP.
- @param completion Optionally; a block which is invoked when the sign in flow finishes, or is
- canceled. Invoked asynchronously on the main thread in the future.
-
- @remarks Possible error codes:
-
- + `FIRAuthErrorCodeInvalidCredential` - Indicates the supplied credential is invalid.
- This could happen if it has expired or it is malformed.
- + `FIRAuthErrorCodeOperationNotAllowed` - Indicates that accounts
- with the identity provider represented by the credential are not enabled.
- Enable them in the Auth section of the Firebase console.
- + `FIRAuthErrorCodeAccountExistsWithDifferentCredential` - Indicates the email asserted
- by the credential (e.g. the email in a Facebook access token) is already in use by an
- existing account, that cannot be authenticated with this sign-in method. Call
- fetchProvidersForEmail for this user’s email and then prompt them to sign in with any of
- the sign-in providers returned. This error will only be thrown if the "One account per
- email address" setting is enabled in the Firebase console, under Auth settings.
- + `FIRAuthErrorCodeUserDisabled` - Indicates the user's account is disabled.
- + `FIRAuthErrorCodeWrongPassword` - Indicates the user attempted sign in with an
- incorrect password, if credential is of the type EmailPasswordAuthCredential.
- + `FIRAuthErrorCodeInvalidEmail` - Indicates the email address is malformed.
- + `FIRAuthErrorCodeMissingVerificationID` - Indicates that the phone auth credential was
- created with an empty verification ID.
- + `FIRAuthErrorCodeMissingVerificationCode` - Indicates that the phone auth credential
- was created with an empty verification code.
- + `FIRAuthErrorCodeInvalidVerificationCode` - Indicates that the phone auth credential
- was created with an invalid verification Code.
- + `FIRAuthErrorCodeInvalidVerificationID` - Indicates that the phone auth credential was
- created with an invalid verification ID.
- + `FIRAuthErrorCodeSessionExpired` - Indicates that the SMS code has expired.
-
-
-
- @remarks See `FIRAuthErrors` for a list of error codes that are common to all API methods
- */
-- (void)signInAndRetrieveDataWithCredential:(FIRAuthCredential *)credential
- completion:(nullable FIRAuthDataResultCallback)completion;
-
-/** @fn signInAnonymouslyWithCompletion:
- @brief Asynchronously creates and becomes an anonymous user.
- @param completion Optionally; a block which is invoked when the sign in finishes, or is
- canceled. Invoked asynchronously on the main thread in the future.
-
- @remarks If there is already an anonymous user signed in, that user will be returned instead.
- If there is any other existing user signed in, that user will be signed out.
-
- @remarks Possible error codes:
-
- + `FIRAuthErrorCodeOperationNotAllowed` - Indicates that anonymous accounts are
- not enabled. Enable them in the Auth section of the Firebase console.
-
- @remarks See `FIRAuthErrors` for a list of error codes that are common to all API methods.
- */
-- (void)signInAnonymouslyWithCompletion:(nullable FIRAuthDataResultCallback)completion;
-
-/** @fn signInAnonymouslyAndRetrieveDataWithCompletion:
- @brief `Please use sign `signInAnonymouslyWithCompletion:` for Objective-C or
- `signInAnonymously(Completion:)` for Swift instead.
- @param completion Optionally; a block which is invoked when the sign in finishes, or is
- canceled. Invoked asynchronously on the main thread in the future.
- */
-- (void)signInAnonymouslyAndRetrieveDataWithCompletion:
- (nullable FIRAuthDataResultCallback)completion
- DEPRECATED_MSG_ATTRIBUTE("Please use signInAnonymouslyWithCompletion: for Objective-C or"
- " signInAnonymously(Completion:) for swift instead.");
-
-/** @fn signInWithCustomToken:completion:
- @brief Asynchronously signs in to Firebase with the given Auth token.
-
- @param token A self-signed custom auth token.
- @param completion Optionally; a block which is invoked when the sign in finishes, or is
- canceled. Invoked asynchronously on the main thread in the future.
-
- @remarks Possible error codes:
-
- + `FIRAuthErrorCodeInvalidCustomToken` - Indicates a validation error with
- the custom token.
- + `FIRAuthErrorCodeCustomTokenMismatch` - Indicates the service account and the API key
- belong to different projects.
-
-
-
- @remarks See `FIRAuthErrors` for a list of error codes that are common to all API methods.
- */
-- (void)signInWithCustomToken:(NSString *)token
- completion:(nullable FIRAuthDataResultCallback)completion;
-
-/** @fn signInAndRetrieveDataWithCustomToken:completion:
- @brief Please use `signInWithCustomToken:completion:` or `signIn(withCustomToken:completion:)`
- for Swift instead.
-
- @param token A self-signed custom auth token.
- @param completion Optionally; a block which is invoked when the sign in finishes, or is
- canceled. Invoked asynchronously on the main thread in the future.
- */
-- (void)signInAndRetrieveDataWithCustomToken:(NSString *)token
- completion:(nullable FIRAuthDataResultCallback)completion
- DEPRECATED_MSG_ATTRIBUTE(
- "Please use signInWithCustomToken:completion:"
- "for Objective-C or signIn(withCustomToken:completion:) for"
- " Swift instead.");
-
-/** @fn createUserWithEmail:password:completion:
- @brief Creates and, on success, signs in a user with the given email address and password.
-
- @param email The user's email address.
- @param password The user's desired password.
- @param completion Optionally; a block which is invoked when the sign up flow finishes, or is
- canceled. Invoked asynchronously on the main thread in the future.
-
- @remarks Possible error codes:
-
- + `FIRAuthErrorCodeInvalidEmail` - Indicates the email address is malformed.
- + `FIRAuthErrorCodeEmailAlreadyInUse` - Indicates the email used to attempt sign up
- already exists. Call fetchProvidersForEmail to check which sign-in mechanisms the user
- used, and prompt the user to sign in with one of those.
- + `FIRAuthErrorCodeOperationNotAllowed` - Indicates that email and password accounts
- are not enabled. Enable them in the Auth section of the Firebase console.
- + `FIRAuthErrorCodeWeakPassword` - Indicates an attempt to set a password that is
- considered too weak. The NSLocalizedFailureReasonErrorKey field in the NSError.userInfo
- dictionary object will contain more detailed explanation that can be shown to the user.
-
- @remarks See `FIRAuthErrors` for a list of error codes that are common to all API methods.
- */
-- (void)createUserWithEmail:(NSString *)email
- password:(NSString *)password
- completion:(nullable FIRAuthDataResultCallback)completion;
-
-/** @fn createUserAndRetrieveDataWithEmail:password:completion:
- @brief Please use `createUserAndRetrieveDataWithEmail:password:completion:` or
- `createUser(withEmail:password:completion:)` for Swift instead.
-
- @param email The user's email address.
- @param password The user's desired password.
- @param completion Optionally; a block which is invoked when the sign up flow finishes, or is
- canceled. Invoked asynchronously on the main thread in the future.
- */
-- (void)createUserAndRetrieveDataWithEmail:(NSString *)email
- password:(NSString *)password
- completion:(nullable FIRAuthDataResultCallback)completion
- DEPRECATED_MSG_ATTRIBUTE(
- "Please use createUserWithEmail:password:completion: for"
- " Objective-C or createUser(withEmail:password:completion:)"
- " for Swift instead.");
-
-/** @fn confirmPasswordResetWithCode:newPassword:completion:
- @brief Resets the password given a code sent to the user outside of the app and a new password
- for the user.
-
- @param newPassword The new password.
- @param completion Optionally; a block which is invoked when the request finishes. Invoked
- asynchronously on the main thread in the future.
-
- @remarks Possible error codes:
-
- + `FIRAuthErrorCodeWeakPassword` - Indicates an attempt to set a password that is
- considered too weak.
- + `FIRAuthErrorCodeOperationNotAllowed` - Indicates the administrator disabled sign
- in with the specified identity provider.
- + `FIRAuthErrorCodeExpiredActionCode` - Indicates the OOB code is expired.
- + `FIRAuthErrorCodeInvalidActionCode` - Indicates the OOB code is invalid.
-
- @remarks See `FIRAuthErrors` for a list of error codes that are common to all API methods.
- */
-- (void)confirmPasswordResetWithCode:(NSString *)code
- newPassword:(NSString *)newPassword
- completion:(FIRConfirmPasswordResetCallback)completion;
-
-/** @fn checkActionCode:completion:
- @brief Checks the validity of an out of band code.
-
- @param code The out of band code to check validity.
- @param completion Optionally; a block which is invoked when the request finishes. Invoked
- asynchronously on the main thread in the future.
- */
-- (void)checkActionCode:(NSString *)code completion:(FIRCheckActionCodeCallBack)completion;
-
-/** @fn verifyPasswordResetCode:completion:
- @brief Checks the validity of a verify password reset code.
-
- @param code The password reset code to be verified.
- @param completion Optionally; a block which is invoked when the request finishes. Invoked
- asynchronously on the main thread in the future.
- */
-- (void)verifyPasswordResetCode:(NSString *)code
- completion:(FIRVerifyPasswordResetCodeCallback)completion;
-
-/** @fn applyActionCode:completion:
- @brief Applies out of band code.
-
- @param code The out of band code to be applied.
- @param completion Optionally; a block which is invoked when the request finishes. Invoked
- asynchronously on the main thread in the future.
-
- @remarks This method will not work for out of band codes which require an additional parameter,
- such as password reset code.
- */
-- (void)applyActionCode:(NSString *)code
- completion:(FIRApplyActionCodeCallback)completion;
-
-/** @fn sendPasswordResetWithEmail:completion:
- @brief Initiates a password reset for the given email address.
-
- @param email The email address of the user.
- @param completion Optionally; a block which is invoked when the request finishes. Invoked
- asynchronously on the main thread in the future.
-
- @remarks Possible error codes:
-
- + `FIRAuthErrorCodeInvalidRecipientEmail` - Indicates an invalid recipient email was
- sent in the request.
- + `FIRAuthErrorCodeInvalidSender` - Indicates an invalid sender email is set in
- the console for this action.
- + `FIRAuthErrorCodeInvalidMessagePayload` - Indicates an invalid email template for
- sending update email.
-
-
- */
-- (void)sendPasswordResetWithEmail:(NSString *)email
- completion:(nullable FIRSendPasswordResetCallback)completion;
-
-/** @fn sendPasswordResetWithEmail:actionCodeSetting:completion:
- @brief Initiates a password reset for the given email address and @FIRActionCodeSettings object.
-
- @param email The email address of the user.
- @param actionCodeSettings An `FIRActionCodeSettings` object containing settings related to
- handling action codes.
- @param completion Optionally; a block which is invoked when the request finishes. Invoked
- asynchronously on the main thread in the future.
-
- @remarks Possible error codes:
-
- + `FIRAuthErrorCodeInvalidRecipientEmail` - Indicates an invalid recipient email was
- sent in the request.
- + `FIRAuthErrorCodeInvalidSender` - Indicates an invalid sender email is set in
- the console for this action.
- + `FIRAuthErrorCodeInvalidMessagePayload` - Indicates an invalid email template for
- sending update email.
- + `FIRAuthErrorCodeMissingIosBundleID` - Indicates that the iOS bundle ID is missing when
- `handleCodeInApp` is set to YES.
- + `FIRAuthErrorCodeMissingAndroidPackageName` - Indicates that the android package name
- is missing when the `androidInstallApp` flag is set to true.
- + `FIRAuthErrorCodeUnauthorizedDomain` - Indicates that the domain specified in the
- continue URL is not whitelisted in the Firebase console.
- + `FIRAuthErrorCodeInvalidContinueURI` - Indicates that the domain specified in the
- continue URI is not valid.
-
-
- */
- - (void)sendPasswordResetWithEmail:(NSString *)email
- actionCodeSettings:(FIRActionCodeSettings *)actionCodeSettings
- completion:(nullable FIRSendPasswordResetCallback)completion;
-
-/** @fn sendSignInLinkToEmail:actionCodeSettings:completion:
- @brief Sends a sign in with email link to provided email address.
-
- @param email The email address of the user.
- @param actionCodeSettings An `FIRActionCodeSettings` object containing settings related to
- handling action codes.
- @param completion Optionally; a block which is invoked when the request finishes. Invoked
- asynchronously on the main thread in the future.
- */
-- (void)sendSignInLinkToEmail:(NSString *)email
- actionCodeSettings:(FIRActionCodeSettings *)actionCodeSettings
- completion:(nullable FIRSendSignInLinkToEmailCallback)completion;
-
-/** @fn signOut:
- @brief Signs out the current user.
-
- @param error Optionally; if an error occurs, upon return contains an NSError object that
- describes the problem; is nil otherwise.
- @return @YES when the sign out request was successful. @NO otherwise.
-
- @remarks Possible error codes:
-
- + `FIRAuthErrorCodeKeychainError` - Indicates an error occurred when accessing the
- keychain. The `NSLocalizedFailureReasonErrorKey` field in the `NSError.userInfo`
- dictionary will contain more information about the error encountered.
-
-
-
- */
-- (BOOL)signOut:(NSError *_Nullable *_Nullable)error;
-
-/** @fn isSignInWithEmailLink
- @brief Checks if link is an email sign-in link.
-
- @param link The email sign-in link.
- @return @YES when the link passed matches the expected format of an email sign-in link.
- */
-- (BOOL)isSignInWithEmailLink:(NSString *)link;
-
-/** @fn addAuthStateDidChangeListener:
- @brief Registers a block as an "auth state did change" listener. To be invoked when:
-
- + The block is registered as a listener,
- + A user with a different UID from the current user has signed in, or
- + The current user has signed out.
-
- @param listener The block to be invoked. The block is always invoked asynchronously on the main
- thread, even for it's initial invocation after having been added as a listener.
-
- @remarks The block is invoked immediately after adding it according to it's standard invocation
- semantics, asynchronously on the main thread. Users should pay special attention to
- making sure the block does not inadvertently retain objects which should not be retained by
- the long-lived block. The block itself will be retained by `FIRAuth` until it is
- unregistered or until the `FIRAuth` instance is otherwise deallocated.
-
- @return A handle useful for manually unregistering the block as a listener.
- */
-- (FIRAuthStateDidChangeListenerHandle)addAuthStateDidChangeListener:
- (FIRAuthStateDidChangeListenerBlock)listener;
-
-/** @fn removeAuthStateDidChangeListener:
- @brief Unregisters a block as an "auth state did change" listener.
-
- @param listenerHandle The handle for the listener.
- */
-- (void)removeAuthStateDidChangeListener:(FIRAuthStateDidChangeListenerHandle)listenerHandle;
-
-/** @fn addIDTokenDidChangeListener:
- @brief Registers a block as an "ID token did change" listener. To be invoked when:
-
- + The block is registered as a listener,
- + A user with a different UID from the current user has signed in,
- + The ID token of the current user has been refreshed, or
- + The current user has signed out.
-
- @param listener The block to be invoked. The block is always invoked asynchronously on the main
- thread, even for it's initial invocation after having been added as a listener.
-
- @remarks The block is invoked immediately after adding it according to it's standard invocation
- semantics, asynchronously on the main thread. Users should pay special attention to
- making sure the block does not inadvertently retain objects which should not be retained by
- the long-lived block. The block itself will be retained by `FIRAuth` until it is
- unregistered or until the `FIRAuth` instance is otherwise deallocated.
-
- @return A handle useful for manually unregistering the block as a listener.
- */
-- (FIRIDTokenDidChangeListenerHandle)addIDTokenDidChangeListener:
- (FIRIDTokenDidChangeListenerBlock)listener;
-
-/** @fn removeIDTokenDidChangeListener:
- @brief Unregisters a block as an "ID token did change" listener.
-
- @param listenerHandle The handle for the listener.
- */
-- (void)removeIDTokenDidChangeListener:(FIRIDTokenDidChangeListenerHandle)listenerHandle;
-
-/** @fn useAppLanguage
- @brief Sets `languageCode` to the app's current language.
- */
-- (void)useAppLanguage;
-
-#if TARGET_OS_IOS
-
-/** @fn canHandleURL:
- @brief Whether the specific URL is handled by `FIRAuth` .
- @param URL The URL received by the application delegate from any of the openURL method.
- @return Whether or the URL is handled. YES means the URL is for Firebase Auth
- so the caller should ignore the URL from further processing, and NO means the
- the URL is for the app (or another libaray) so the caller should continue handling
- this URL as usual.
- @remarks If swizzling is disabled, URLs received by the application delegate must be forwarded
- to this method for phone number auth to work.
- */
-- (BOOL)canHandleURL:(nonnull NSURL *)URL;
-
-/** @fn setAPNSToken:type:
- @brief Sets the APNs token along with its type.
- @remarks If swizzling is disabled, the APNs Token must be set for phone number auth to work,
- by either setting calling this method or by setting the `APNSToken` property.
- */
-- (void)setAPNSToken:(NSData *)token type:(FIRAuthAPNSTokenType)type;
-
-/** @fn canHandleNotification:
- @brief Whether the specific remote notification is handled by `FIRAuth` .
- @param userInfo A dictionary that contains information related to the
- notification in question.
- @return Whether or the notification is handled. YES means the notification is for Firebase Auth
- so the caller should ignore the notification from further processing, and NO means the
- the notification is for the app (or another libaray) so the caller should continue handling
- this notification as usual.
- @remarks If swizzling is disabled, related remote notifications must be forwarded to this method
- for phone number auth to work.
- */
-- (BOOL)canHandleNotification:(NSDictionary *)userInfo;
-
-#endif // TARGET_OS_IOS
-
-@end
-
-NS_ASSUME_NONNULL_END
diff --git a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRAuthAPNSTokenType.h b/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRAuthAPNSTokenType.h
deleted file mode 100644
index 4f3c9f6a8..000000000
--- a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRAuthAPNSTokenType.h
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright 2017 Google
- *
- * 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
-
-NS_ASSUME_NONNULL_BEGIN
-
-/**
- * @brief The APNs token type for the app.
- */
-typedef NS_ENUM(NSInteger, FIRAuthAPNSTokenType) {
-
- /** Unknown token type.
- The actual token type will be detected from the provisioning profile in the app's bundle.
- */
- FIRAuthAPNSTokenTypeUnknown,
-
- /** Sandbox token type.
- */
- FIRAuthAPNSTokenTypeSandbox,
-
- /** Production token type.
- */
- FIRAuthAPNSTokenTypeProd,
-} NS_SWIFT_NAME(AuthAPNSTokenType);
-
-NS_ASSUME_NONNULL_END
diff --git a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRAuthCredential.h b/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRAuthCredential.h
deleted file mode 100644
index 106d844f7..000000000
--- a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRAuthCredential.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright 2017 Google
- *
- * 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
-
-NS_ASSUME_NONNULL_BEGIN
-
-/** @class FIRAuthCredential
- @brief Represents a credential.
- */
-NS_SWIFT_NAME(AuthCredential)
-@interface FIRAuthCredential : NSObject
-
-/** @property provider
- @brief Gets the name of the identity provider for the credential.
- */
-@property(nonatomic, copy, readonly) NSString *provider;
-
-/** @fn init
- @brief This is an abstract base class. Concrete instances should be created via factory
- methods available in the various authentication provider libraries (like the Facebook
- provider or the Google provider libraries.)
- */
-- (instancetype)init NS_UNAVAILABLE;
-
-@end
-
-NS_ASSUME_NONNULL_END
diff --git a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRAuthDataResult.h b/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRAuthDataResult.h
deleted file mode 100644
index bc4fa4a2a..000000000
--- a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRAuthDataResult.h
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * Copyright 2017 Google
- *
- * 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
-
-@class FIRAdditionalUserInfo;
-@class FIRUser;
-
-NS_ASSUME_NONNULL_BEGIN
-
-/** @class FIRAuthDataResult
- @brief Helper object that contains the result of a successful sign-in, link and reauthenticate
- action. It contains references to a FIRUser instance and a FIRAdditionalUserInfo instance.
- */
-NS_SWIFT_NAME(AuthDataResult)
-@interface FIRAuthDataResult : NSObject
-
-/** @fn init
- @brief This class should not be initialized manually. `FIRAuthDataResult` instance is
- returned as part of `FIRAuthDataResultCallback`.
- */
-- (instancetype)init NS_UNAVAILABLE;
-
-/** @property user
- @brief The signed in user.
- */
-@property(nonatomic, readonly) FIRUser *user;
-
-/** @property additionalUserInfo
- @brief If available contains the additional IdP specific information about signed in user.
- */
-@property(nonatomic, readonly, nullable) FIRAdditionalUserInfo *additionalUserInfo;
-
-@end
-
-NS_ASSUME_NONNULL_END
diff --git a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRAuthErrors.h b/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRAuthErrors.h
deleted file mode 100644
index a3fbe26a3..000000000
--- a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRAuthErrors.h
+++ /dev/null
@@ -1,321 +0,0 @@
-/*
- * Copyright 2017 Google
- *
- * 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
-
-/** @class FIRAuthErrors
- @remarks Error Codes common to all API Methods:
-
- + `FIRAuthErrorCodeNetworkError`
- + `FIRAuthErrorCodeUserNotFound`
- + `FIRAuthErrorCodeUserTokenExpired`
- + `FIRAuthErrorCodeTooManyRequests`
- + `FIRAuthErrorCodeInvalidAPIKey`
- + `FIRAuthErrorCodeAppNotAuthorized`
- + `FIRAuthErrorCodeKeychainError`
- + `FIRAuthErrorCodeInternalError`
-
- @remarks Common error codes for `FIRUser` operations:
-
- + `FIRAuthErrorCodeInvalidUserToken`
- + `FIRAuthErrorCodeUserDisabled`
-
- */
-NS_SWIFT_NAME(AuthErrors)
-@interface FIRAuthErrors
-
-/**
- @brief The Firebase Auth error domain.
- */
-extern NSString *const FIRAuthErrorDomain NS_SWIFT_NAME(AuthErrorDomain);
-
-/**
- @brief The key used to read the updated credential from the userinfo dictionary of the NSError
- object returned in the case that the credential being linked in already in use.
- */
-extern NSString *const FIRAuthUpdatedCredentialKey NS_SWIFT_NAME(AuthUpdatedCredentialKey);
-
-/**
- @brief The name of the key for the "error_name" string in the NSError userinfo dictionary.
- */
-extern NSString *const FIRAuthErrorNameKey NS_SWIFT_NAME(AuthErrorNameKey);
-
-/**
- @brief Errors with the code `FIRAuthErrorCodeAccountExistsWithDifferentCredential` may contain
- an `NSError.userInfo` dictinary object which contains this key. The value associated with
- this key is an NSString of the email address of the account that already exists.
- */
-extern NSString *const FIRAuthErrorUserInfoEmailKey NS_SWIFT_NAME(AuthErrorUserInfoEmailKey);
-
-/**
- @brief Error codes used by Firebase Auth.
- */
-typedef NS_ENUM(NSInteger, FIRAuthErrorCode) {
- /** Indicates a validation error with the custom token.
- */
- FIRAuthErrorCodeInvalidCustomToken = 17000,
-
- /** Indicates the service account and the API key belong to different projects.
- */
- FIRAuthErrorCodeCustomTokenMismatch = 17002,
-
- /** Indicates the IDP token or requestUri is invalid.
- */
- FIRAuthErrorCodeInvalidCredential = 17004,
-
- /** Indicates the user's account is disabled on the server.
- */
- FIRAuthErrorCodeUserDisabled = 17005,
-
- /** Indicates the administrator disabled sign in with the specified identity provider.
- */
- FIRAuthErrorCodeOperationNotAllowed = 17006,
-
- /** Indicates the email used to attempt a sign up is already in use.
- */
- FIRAuthErrorCodeEmailAlreadyInUse = 17007,
-
- /** Indicates the email is invalid.
- */
- FIRAuthErrorCodeInvalidEmail = 17008,
-
- /** Indicates the user attempted sign in with a wrong password.
- */
- FIRAuthErrorCodeWrongPassword = 17009,
-
- /** Indicates that too many requests were made to a server method.
- */
- FIRAuthErrorCodeTooManyRequests = 17010,
-
- /** Indicates the user account was not found.
- */
- FIRAuthErrorCodeUserNotFound = 17011,
-
- /** Indicates account linking is required.
- */
- FIRAuthErrorCodeAccountExistsWithDifferentCredential = 17012,
-
- /** Indicates the user has attemped to change email or password more than 5 minutes after
- signing in.
- */
- FIRAuthErrorCodeRequiresRecentLogin = 17014,
-
- /** Indicates an attempt to link a provider to which the account is already linked.
- */
- FIRAuthErrorCodeProviderAlreadyLinked = 17015,
-
- /** Indicates an attempt to unlink a provider that is not linked.
- */
- FIRAuthErrorCodeNoSuchProvider = 17016,
-
- /** Indicates user's saved auth credential is invalid, the user needs to sign in again.
- */
- FIRAuthErrorCodeInvalidUserToken = 17017,
-
- /** Indicates a network error occurred (such as a timeout, interrupted connection, or
- unreachable host). These types of errors are often recoverable with a retry. The
- `NSUnderlyingError` field in the `NSError.userInfo` dictionary will contain the error
- encountered.
- */
- FIRAuthErrorCodeNetworkError = 17020,
-
- /** Indicates the saved token has expired, for example, the user may have changed account
- password on another device. The user needs to sign in again on the device that made this
- request.
- */
- FIRAuthErrorCodeUserTokenExpired = 17021,
-
- /** Indicates an invalid API key was supplied in the request.
- */
- FIRAuthErrorCodeInvalidAPIKey = 17023,
-
- /** Indicates that an attempt was made to reauthenticate with a user which is not the current
- user.
- */
- FIRAuthErrorCodeUserMismatch = 17024,
-
- /** Indicates an attempt to link with a credential that has already been linked with a
- different Firebase account
- */
- FIRAuthErrorCodeCredentialAlreadyInUse = 17025,
-
- /** Indicates an attempt to set a password that is considered too weak.
- */
- FIRAuthErrorCodeWeakPassword = 17026,
-
- /** Indicates the App is not authorized to use Firebase Authentication with the
- provided API Key.
- */
- FIRAuthErrorCodeAppNotAuthorized = 17028,
-
- /** Indicates the OOB code is expired.
- */
- FIRAuthErrorCodeExpiredActionCode = 17029,
-
- /** Indicates the OOB code is invalid.
- */
- FIRAuthErrorCodeInvalidActionCode = 17030,
-
- /** Indicates that there are invalid parameters in the payload during a "send password reset
- * email" attempt.
- */
- FIRAuthErrorCodeInvalidMessagePayload = 17031,
-
- /** Indicates that the sender email is invalid during a "send password reset email" attempt.
- */
- FIRAuthErrorCodeInvalidSender = 17032,
-
- /** Indicates that the recipient email is invalid.
- */
- FIRAuthErrorCodeInvalidRecipientEmail = 17033,
-
- /** Indicates that an email address was expected but one was not provided.
- */
- FIRAuthErrorCodeMissingEmail = 17034,
-
- // The enum values 17035 is reserved and should NOT be used for new error codes.
-
- /** Indicates that the iOS bundle ID is missing when a iOS App Store ID is provided.
- */
- FIRAuthErrorCodeMissingIosBundleID = 17036,
-
- /** Indicates that the android package name is missing when the `androidInstallApp` flag is set
- to true.
- */
- FIRAuthErrorCodeMissingAndroidPackageName = 17037,
-
- /** Indicates that the domain specified in the continue URL is not whitelisted in the Firebase
- console.
- */
- FIRAuthErrorCodeUnauthorizedDomain = 17038,
-
- /** Indicates that the domain specified in the continue URI is not valid.
- */
- FIRAuthErrorCodeInvalidContinueURI = 17039,
-
- /** Indicates that a continue URI was not provided in a request to the backend which requires
- one.
- */
- FIRAuthErrorCodeMissingContinueURI = 17040,
-
- /** Indicates that a phone number was not provided in a call to
- `verifyPhoneNumber:completion:`.
- */
- FIRAuthErrorCodeMissingPhoneNumber = 17041,
-
- /** Indicates that an invalid phone number was provided in a call to
- `verifyPhoneNumber:completion:`.
- */
- FIRAuthErrorCodeInvalidPhoneNumber = 17042,
-
- /** Indicates that the phone auth credential was created with an empty verification code.
- */
- FIRAuthErrorCodeMissingVerificationCode = 17043,
-
- /** Indicates that an invalid verification code was used in the verifyPhoneNumber request.
- */
- FIRAuthErrorCodeInvalidVerificationCode = 17044,
-
- /** Indicates that the phone auth credential was created with an empty verification ID.
- */
- FIRAuthErrorCodeMissingVerificationID = 17045,
-
- /** Indicates that an invalid verification ID was used in the verifyPhoneNumber request.
- */
- FIRAuthErrorCodeInvalidVerificationID = 17046,
-
- /** Indicates that the APNS device token is missing in the verifyClient request.
- */
- FIRAuthErrorCodeMissingAppCredential = 17047,
-
- /** Indicates that an invalid APNS device token was used in the verifyClient request.
- */
- FIRAuthErrorCodeInvalidAppCredential = 17048,
-
- // The enum values between 17048 and 17051 are reserved and should NOT be used for new error
- // codes.
-
- /** Indicates that the SMS code has expired.
- */
- FIRAuthErrorCodeSessionExpired = 17051,
-
- /** Indicates that the quota of SMS messages for a given project has been exceeded.
- */
- FIRAuthErrorCodeQuotaExceeded = 17052,
-
- /** Indicates that the APNs device token could not be obtained. The app may not have set up
- remote notification correctly, or may fail to forward the APNs device token to FIRAuth
- if app delegate swizzling is disabled.
- */
- FIRAuthErrorCodeMissingAppToken = 17053,
-
- /** Indicates that the app fails to forward remote notification to FIRAuth.
- */
- FIRAuthErrorCodeNotificationNotForwarded = 17054,
-
- /** Indicates that the app could not be verified by Firebase during phone number authentication.
- */
- FIRAuthErrorCodeAppNotVerified = 17055,
-
- /** Indicates that the reCAPTCHA token is not valid.
- */
- FIRAuthErrorCodeCaptchaCheckFailed = 17056,
-
- /** Indicates that an attempt was made to present a new web context while one was already being
- presented.
- */
- FIRAuthErrorCodeWebContextAlreadyPresented = 17057,
-
- /** Indicates that the URL presentation was cancelled prematurely by the user.
- */
- FIRAuthErrorCodeWebContextCancelled = 17058,
-
- /** Indicates a general failure during the app verification flow.
- */
- FIRAuthErrorCodeAppVerificationUserInteractionFailure = 17059,
-
- /** Indicates that the clientID used to invoke a web flow is invalid.
- */
- FIRAuthErrorCodeInvalidClientID = 17060,
-
- /** Indicates that a network request within a SFSafariViewController or UIWebview failed.
- */
- FIRAuthErrorCodeWebNetworkRequestFailed = 17061,
-
- /** Indicates that an internal error occurred within a SFSafariViewController or UIWebview.
- */
- FIRAuthErrorCodeWebInternalError = 17062,
-
- /** Indicates that a non-null user was expected as an argmument to the operation but a null
- user was provided.
- */
- FIRAuthErrorCodeNullUser = 17067,
-
- /** Indicates an error occurred while attempting to access the keychain.
- */
- FIRAuthErrorCodeKeychainError = 17995,
-
- /** Indicates an internal error occurred.
- */
- FIRAuthErrorCodeInternalError = 17999,
-
- /** Raised when a JWT fails to parse correctly. May be accompanied by an underlying error
- describing which step of the JWT parsing process failed.
- */
- FIRAuthErrorCodeMalformedJWT = 18000,
-} NS_SWIFT_NAME(AuthErrorCode);
-
-@end
diff --git a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRAuthSettings.h b/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRAuthSettings.h
deleted file mode 100644
index d3fee3ea9..000000000
--- a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRAuthSettings.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Copyright 2018 Google
- *
- * 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
-
-/** @class FIRAuthSettings
- @brief Determines settings related to an auth object.
- */
-@interface FIRAuthSettings : NSObject
-
-/** @property appVerificationDisabledForTesting
- @brief Flag to determine whether app verification should be disabled for testing or not.
- */
-@property (nonatomic, assign, getter=isAppVerificationDisabledForTesting) BOOL
- appVerificationDisabledForTesting;
-
-@end
diff --git a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRAuthTokenResult.h b/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRAuthTokenResult.h
deleted file mode 100644
index 82a5f1e0b..000000000
--- a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRAuthTokenResult.h
+++ /dev/null
@@ -1,66 +0,0 @@
-/*
- * Copyright 2018 Google
- *
- * 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
-
-NS_ASSUME_NONNULL_BEGIN
-
-/** @class FIRAuthTokenResult
- @brief A data class containing the ID token JWT string and other properties associated with the
- token including the decoded payload claims.
- */
-NS_SWIFT_NAME(AuthTokenResult)
-@interface FIRAuthTokenResult : NSObject
-
-/** @property token
- @brief Stores the JWT string of the ID token.
- */
-@property (nonatomic, readonly) NSString *token;
-
-/** @property expirationDate
- @brief Stores the ID token's expiration date.
- */
-@property (nonatomic, readonly) NSDate *expirationDate;
-
-/** @property authDate
- @brief Stores the ID token's authentication date.
- @remarks This is the date the user was signed in and NOT the date the token was refreshed.
- */
-@property (nonatomic, readonly) NSDate *authDate;
-
-/** @property issuedAtDate
- @brief Stores the date that the ID token was issued.
- @remarks This is the date last refreshed and NOT the last authentication date.
- */
-@property (nonatomic, readonly) NSDate *issuedAtDate;
-
-/** @property signInProvider
- @brief Stores sign-in provider through which the token was obtained.
- @remarks This does not necesssarily map to provider IDs.
- */
-@property (nonatomic, readonly) NSString *signInProvider;
-
-/** @property claims
- @brief Stores the entire payload of claims found on the ID token. This includes the standard
- reserved claims as well as custom claims set by the developer via the Admin SDK.
- */
-@property (nonatomic, readonly) NSDictionary *claims;
-
-
-
-@end
-
-NS_ASSUME_NONNULL_END
diff --git a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRAuthUIDelegate.h b/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRAuthUIDelegate.h
deleted file mode 100644
index 9b3296826..000000000
--- a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRAuthUIDelegate.h
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * Copyright 2017 Google
- *
- * 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
-#import
-
-NS_ASSUME_NONNULL_BEGIN
-
-/** @protocol FIRAuthUIDelegate
- @brief A protocol to handle user interface interactions for Firebase Auth.
- */
-NS_SWIFT_NAME(AuthUIDelegate)
-@protocol FIRAuthUIDelegate
-
-/** @fn presentViewController:animated:completion:
- @brief If implemented, this method will be invoked when Firebase Auth needs to display a view
- controller.
- @param viewControllerToPresent The view controller to be presented.
- @param flag Decides whether the view controller presentation should be animated or not.
- @param completion The block to execute after the presentation finishes. This block has no return
- value and takes no parameters.
-*/
-- (void)presentViewController:(UIViewController *)viewControllerToPresent
- animated:(BOOL)flag
- completion:(void (^ _Nullable)(void))completion;
-
-/** @fn dismissViewControllerAnimated:completion:
- @brief If implemented, this method will be invoked when Firebase Auth needs to display a view
- controller.
- @param flag Decides whether removing the view controller should be animated or not.
- @param completion The block to execute after the presentation finishes. This block has no return
- value and takes no parameters.
-*/
-- (void)dismissViewControllerAnimated:(BOOL)flag completion:(void (^ _Nullable)(void))completion
- NS_SWIFT_NAME(dismiss(animated:completion:));
-
-@end
-
-NS_ASSUME_NONNULL_END
diff --git a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIREmailAuthProvider.h b/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIREmailAuthProvider.h
deleted file mode 100644
index b6375bd2a..000000000
--- a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIREmailAuthProvider.h
+++ /dev/null
@@ -1,81 +0,0 @@
-/*
- * Copyright 2017 Google
- *
- * 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
-
-@class FIRAuthCredential;
-
-NS_ASSUME_NONNULL_BEGIN
-
-/**
- @brief A string constant identifying the email & password identity provider.
- */
-extern NSString *const FIREmailAuthProviderID NS_SWIFT_NAME(EmailAuthProviderID);
-
-/**
- @brief A string constant identifying the email-link sign-in method.
- */
-extern NSString *const FIREmailLinkAuthSignInMethod NS_SWIFT_NAME(EmailLinkAuthSignInMethod);
-
-/**
- @brief A string constant identifying the email & password sign-in method.
- */
-extern NSString *const FIREmailPasswordAuthSignInMethod
- NS_SWIFT_NAME(EmailPasswordAuthSignInMethod);
-
-/**
- @brief Please use `FIREmailAuthProviderID` for Objective-C or `EmailAuthProviderID` for Swift instead.
- */
-extern NSString *const FIREmailPasswordAuthProviderID __attribute__((deprecated));
-
-/** @class FIREmailAuthProvider
- @brief A concrete implementation of `FIRAuthProvider` for Email & Password Sign In.
- */
-NS_SWIFT_NAME(EmailAuthProvider)
-@interface FIREmailAuthProvider : NSObject
-
-/** @typedef FIREmailPasswordAuthProvider
- @brief Please use `FIREmailAuthProvider` instead.
- */
-typedef FIREmailAuthProvider FIREmailPasswordAuthProvider __attribute__((deprecated));
-
-
-/** @fn credentialWithEmail:password:
- @brief Creates an `FIRAuthCredential` for an email & password sign in.
-
- @param email The user's email address.
- @param password The user's password.
- @return A FIRAuthCredential containing the email & password credential.
- */
-+ (FIRAuthCredential *)credentialWithEmail:(NSString *)email password:(NSString *)password;
-
-/** @fn credentialWithEmail:Link:
- @brief Creates an `FIRAuthCredential` for an email & link sign in.
-
- @param email The user's email address.
- @param link The email sign-in link.
- @return A FIRAuthCredential containing the email & link credential.
- */
-+ (FIRAuthCredential *)credentialWithEmail:(NSString *)email link:(NSString *)link;
-
-/** @fn init
- @brief This class is not meant to be initialized.
- */
-- (instancetype)init NS_UNAVAILABLE;
-
-@end
-
-NS_ASSUME_NONNULL_END
diff --git a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRFacebookAuthProvider.h b/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRFacebookAuthProvider.h
deleted file mode 100644
index 75efe13f4..000000000
--- a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRFacebookAuthProvider.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Copyright 2017 Google
- *
- * 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
-
-@class FIRAuthCredential;
-
-NS_ASSUME_NONNULL_BEGIN
-
-/**
- @brief A string constant identifying the Facebook identity provider.
- */
-extern NSString *const FIRFacebookAuthProviderID NS_SWIFT_NAME(FacebookAuthProviderID);
-
-/**
- @brief A string constant identifying the Facebook sign-in method.
- */
-extern NSString *const _Nonnull FIRFacebookAuthSignInMethod NS_SWIFT_NAME(FacebookAuthSignInMethod);
-
-/** @class FIRFacebookAuthProvider
- @brief Utility class for constructing Facebook credentials.
- */
-NS_SWIFT_NAME(FacebookAuthProvider)
-@interface FIRFacebookAuthProvider : NSObject
-
-/** @fn credentialWithAccessToken:
- @brief Creates an `FIRAuthCredential` for a Facebook sign in.
-
- @param accessToken The Access Token from Facebook.
- @return A FIRAuthCredential containing the Facebook credentials.
- */
-+ (FIRAuthCredential *)credentialWithAccessToken:(NSString *)accessToken;
-
-/** @fn init
- @brief This class should not be initialized.
- */
-- (instancetype)init NS_UNAVAILABLE;
-
-@end
-
-NS_ASSUME_NONNULL_END
diff --git a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRGitHubAuthProvider.h b/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRGitHubAuthProvider.h
deleted file mode 100644
index 0610427a4..000000000
--- a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRGitHubAuthProvider.h
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * Copyright 2017 Google
- *
- * 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
-
-@class FIRAuthCredential;
-
-NS_ASSUME_NONNULL_BEGIN
-
-/**
- @brief A string constant identifying the GitHub identity provider.
- */
-extern NSString *const FIRGitHubAuthProviderID NS_SWIFT_NAME(GitHubAuthProviderID);
-
-/**
- @brief A string constant identifying the GitHub sign-in method.
- */
-extern NSString *const _Nonnull FIRGitHubAuthSignInMethod NS_SWIFT_NAME(GitHubAuthSignInMethod);
-
-
-/** @class FIRGitHubAuthProvider
- @brief Utility class for constructing GitHub credentials.
- */
-NS_SWIFT_NAME(GitHubAuthProvider)
-@interface FIRGitHubAuthProvider : NSObject
-
-/** @fn credentialWithToken:
- @brief Creates an `FIRAuthCredential` for a GitHub sign in.
-
- @param token The GitHub OAuth access token.
- @return A FIRAuthCredential containing the GitHub credential.
- */
-+ (FIRAuthCredential *)credentialWithToken:(NSString *)token;
-
-/** @fn init
- @brief This class is not meant to be initialized.
- */
-- (instancetype)init NS_UNAVAILABLE;
-
-@end
-
-NS_ASSUME_NONNULL_END
diff --git a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRGoogleAuthProvider.h b/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRGoogleAuthProvider.h
deleted file mode 100644
index 7d6fa226e..000000000
--- a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRGoogleAuthProvider.h
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * Copyright 2017 Google
- *
- * 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
-
-@class FIRAuthCredential;
-
-NS_ASSUME_NONNULL_BEGIN
-
-/**
- @brief A string constant identifying the Google identity provider.
- */
-extern NSString *const FIRGoogleAuthProviderID NS_SWIFT_NAME(GoogleAuthProviderID);
-
-/**
- @brief A string constant identifying the Google sign-in method.
- */
-extern NSString *const _Nonnull FIRGoogleAuthSignInMethod NS_SWIFT_NAME(GoogleAuthSignInMethod);
-
-/** @class FIRGoogleAuthProvider
- @brief Utility class for constructing Google Sign In credentials.
- */
-NS_SWIFT_NAME(GoogleAuthProvider)
-@interface FIRGoogleAuthProvider : NSObject
-
-/** @fn credentialWithIDToken:accessToken:
- @brief Creates an `FIRAuthCredential` for a Google sign in.
-
- @param IDToken The ID Token from Google.
- @param accessToken The Access Token from Google.
- @return A FIRAuthCredential containing the Google credentials.
- */
-+ (FIRAuthCredential *)credentialWithIDToken:(NSString *)IDToken
- accessToken:(NSString *)accessToken;
-
-/** @fn init
- @brief This class should not be initialized.
- */
-- (instancetype)init NS_UNAVAILABLE;
-
-@end
-
-NS_ASSUME_NONNULL_END
diff --git a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIROAuthProvider.h b/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIROAuthProvider.h
deleted file mode 100644
index cc628f8c6..000000000
--- a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIROAuthProvider.h
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
- * Copyright 2017 Google
- *
- * 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
-
-@class FIRAuthCredential;
-
-NS_ASSUME_NONNULL_BEGIN
-
-/** @class FIROAuthProvider
- @brief A concrete implementation of `FIRAuthProvider` for generic OAuth Providers.
- */
-NS_SWIFT_NAME(OAuthProvider)
-@interface FIROAuthProvider : NSObject
-
-/** @fn credentialWithProviderID:IDToken:accessToken:
- @brief Creates an `FIRAuthCredential` for that OAuth 2 provider identified by providerID, ID
- token and access token.
-
- @param providerID The provider ID associated with the Auth credential being created.
- @param IDToken The IDToken associated with the Auth credential being created.
- @param accessToken The accessstoken associated with the Auth credential be created, if
- available.
- @return A FIRAuthCredential for the specified provider ID, ID token and access token.
- */
-+ (FIRAuthCredential *)credentialWithProviderID:(NSString *)providerID
- IDToken:(NSString *)IDToken
- accessToken:(nullable NSString *)accessToken;
-
-
-/** @fn credentialWithProviderID:accessToken:
- @brief Creates an `FIRAuthCredential` for that OAuth 2 provider identified by providerID using
- an ID token.
-
- @param providerID The provider ID associated with the Auth credential being created.
- @param accessToken The accessstoken associated with the Auth credential be created
- @return A FIRAuthCredential.
- */
-+ (FIRAuthCredential *)credentialWithProviderID:(NSString *)providerID
- accessToken:(NSString *)accessToken;
-
-/** @fn init
- @brief This class is not meant to be initialized.
- */
-- (instancetype)init NS_UNAVAILABLE;
-
-@end
-
-NS_ASSUME_NONNULL_END
diff --git a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRPhoneAuthCredential.h b/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRPhoneAuthCredential.h
deleted file mode 100644
index 26dfca85a..000000000
--- a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRPhoneAuthCredential.h
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * Copyright 2017 Google
- *
- * 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
-
-#import "FIRAuthCredential.h"
-
-NS_ASSUME_NONNULL_BEGIN
-
-/** @class FIRPhoneAuthCredential
- @brief Implementation of FIRAuthCredential for Phone Auth credentials.
- */
-NS_SWIFT_NAME(PhoneAuthCredential)
-@interface FIRPhoneAuthCredential : FIRAuthCredential
-
-/** @fn init
- @brief This class is not supposed to be instantiated directly.
- */
-- (instancetype)init NS_UNAVAILABLE;
-
-@end
-
-NS_ASSUME_NONNULL_END
diff --git a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRPhoneAuthProvider.h b/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRPhoneAuthProvider.h
deleted file mode 100644
index 28757f5e7..000000000
--- a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRPhoneAuthProvider.h
+++ /dev/null
@@ -1,106 +0,0 @@
-/*
- * Copyright 2017 Google
- *
- * 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
-
-@class FIRAuth;
-@class FIRPhoneAuthCredential;
-@protocol FIRAuthUIDelegate;
-
-NS_ASSUME_NONNULL_BEGIN
-
-/** @var FIRPhoneAuthProviderID
- @brief A string constant identifying the phone identity provider.
- */
-extern NSString *const FIRPhoneAuthProviderID NS_SWIFT_NAME(PhoneAuthProviderID);
-
-/** @var FIRPhoneAuthProviderID
- @brief A string constant identifying the phone sign-in method.
- */
-extern NSString *const _Nonnull FIRPhoneAuthSignInMethod NS_SWIFT_NAME(PhoneAuthSignInMethod);
-
-
-/** @typedef FIRVerificationResultCallback
- @brief The type of block invoked when a request to send a verification code has finished.
-
- @param verificationID On success, the verification ID provided, nil otherwise.
- @param error On error, the error that occured, nil otherwise.
- */
-typedef void (^FIRVerificationResultCallback)(NSString *_Nullable verificationID,
- NSError *_Nullable error)
- NS_SWIFT_NAME(VerificationResultCallback);
-
-/** @class FIRPhoneAuthProvider
- @brief A concrete implementation of `FIRAuthProvider` for phone auth providers.
- */
-NS_SWIFT_NAME(PhoneAuthProvider)
-@interface FIRPhoneAuthProvider : NSObject
-
-/** @fn provider
- @brief Returns an instance of `FIRPhoneAuthProvider` for the default `FIRAuth` object.
- */
-+ (instancetype)provider NS_SWIFT_NAME(provider());
-
-/** @fn providerWithAuth:
- @brief Returns an instance of `FIRPhoneAuthProvider` for the provided `FIRAuth` object.
-
- @param auth The auth object to associate with the phone auth provider instance.
- */
-+ (instancetype)providerWithAuth:(FIRAuth *)auth NS_SWIFT_NAME(provider(auth:));
-
-/** @fn verifyPhoneNumber:UIDelegate:completion:
- @brief Starts the phone number authentication flow by sending a verifcation code to the
- specified phone number.
- @param phoneNumber The phone number to be verified.
- @param UIDelegate An object used to present the SFSafariViewController. The object is retained
- by this method until the completion block is executed.
- @param completion The callback to be invoked when the verification flow is finished.
- @remarks Possible error codes:
-
- + `FIRAuthErrorCodeCaptchaCheckFailed` - Indicates that the reCAPTCHA token obtained by
- the Firebase Auth is invalid or has expired.
- + `FIRAuthErrorCodeQuotaExceeded` - Indicates that the phone verification quota for this
- project has been exceeded.
- + `FIRAuthErrorCodeInvalidPhoneNumber` - Indicates that the phone number provided is
- invalid.
- + `FIRAuthErrorCodeMissingPhoneNumber` - Indicates that a phone number was not provided.
- */
-- (void)verifyPhoneNumber:(NSString *)phoneNumber
- UIDelegate:(nullable id)UIDelegate
- completion:(nullable FIRVerificationResultCallback)completion;
-
-/** @fn credentialWithVerificationID:verificationCode:
- @brief Creates an `FIRAuthCredential` for the phone number provider identified by the
- verification ID and verification code.
-
- @param verificationID The verification ID obtained from invoking
- verifyPhoneNumber:completion:
- @param verificationCode The verification code obtained from the user.
- @return The corresponding phone auth credential for the verification ID and verification code
- provided.
- */
-- (FIRPhoneAuthCredential *)credentialWithVerificationID:(NSString *)verificationID
- verificationCode:(NSString *)verificationCode;
-
-/** @fn init
- @brief Please use the `provider` or `providerWithAuth:` methods to obtain an instance of
- `FIRPhoneAuthProvider`.
- */
-- (instancetype)init NS_UNAVAILABLE;
-
-@end
-
-NS_ASSUME_NONNULL_END
diff --git a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRTwitterAuthProvider.h b/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRTwitterAuthProvider.h
deleted file mode 100644
index a0d1166f1..000000000
--- a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRTwitterAuthProvider.h
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * Copyright 2017 Google
- *
- * 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
-
-@class FIRAuthCredential;
-
-NS_ASSUME_NONNULL_BEGIN
-
-/**
- @brief A string constant identifying the Twitter identity provider.
- */
-extern NSString *const FIRTwitterAuthProviderID NS_SWIFT_NAME(TwitterAuthProviderID);
-
-/**
- @brief A string constant identifying the Twitter sign-in method.
- */
-extern NSString *const _Nonnull FIRTwitterAuthSignInMethod NS_SWIFT_NAME(TwitterAuthSignInMethod);
-
-
-/** @class FIRTwitterAuthProvider
- @brief Utility class for constructing Twitter credentials.
- */
-NS_SWIFT_NAME(TwitterAuthProvider)
-@interface FIRTwitterAuthProvider : NSObject
-
-/** @fn credentialWithToken:secret:
- @brief Creates an `FIRAuthCredential` for a Twitter sign in.
-
- @param token The Twitter OAuth token.
- @param secret The Twitter OAuth secret.
- @return A FIRAuthCredential containing the Twitter credential.
- */
-+ (FIRAuthCredential *)credentialWithToken:(NSString *)token secret:(NSString *)secret;
-
-/** @fn init
- @brief This class is not meant to be initialized.
- */
-- (instancetype)init NS_UNAVAILABLE;
-
-@end
-
-NS_ASSUME_NONNULL_END
diff --git a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRUser.h b/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRUser.h
deleted file mode 100644
index cc5d0a001..000000000
--- a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRUser.h
+++ /dev/null
@@ -1,495 +0,0 @@
-/*
- * Copyright 2017 Google
- *
- * 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
-
-#import "FIRAuth.h"
-#import "FIRAuthDataResult.h"
-#import "FIRUserInfo.h"
-
-@class FIRAuthTokenResult;
-@class FIRPhoneAuthCredential;
-@class FIRUserProfileChangeRequest;
-@class FIRUserMetadata;
-
-NS_ASSUME_NONNULL_BEGIN
-
-/** @typedef FIRAuthTokenCallback
- @brief The type of block called when a token is ready for use.
- @see FIRUser.getIDTokenWithCompletion:
- @see FIRUser.getIDTokenForcingRefresh:withCompletion:
-
- @param token Optionally; an access token if the request was successful.
- @param error Optionally; the error which occurred - or nil if the request was successful.
-
- @remarks One of: `token` or `error` will always be non-nil.
- */
-typedef void (^FIRAuthTokenCallback)(NSString *_Nullable token, NSError *_Nullable error)
- NS_SWIFT_NAME(AuthTokenCallback);
-
-/** @typedef FIRAuthTokenResultCallback
- @brief The type of block called when a token is ready for use.
- @see FIRUser.getIDTokenResultWithCompletion:
- @see FIRUser.getIDTokenResultForcingRefresh:withCompletion:
-
- @param tokenResult Optionally; an object containing the raw access token string as well as other
- useful data pertaining to the token.
- @param error Optionally; the error which occurred - or nil if the request was successful.
-
- @remarks One of: `token` or `error` will always be non-nil.
- */
-typedef void (^FIRAuthTokenResultCallback)(FIRAuthTokenResult *_Nullable tokenResult,
- NSError *_Nullable error)
- NS_SWIFT_NAME(AuthTokenResultCallback);
-
-/** @typedef FIRUserProfileChangeCallback
- @brief The type of block called when a user profile change has finished.
-
- @param error Optionally; the error which occurred - or nil if the request was successful.
- */
-typedef void (^FIRUserProfileChangeCallback)(NSError *_Nullable error)
- NS_SWIFT_NAME(UserProfileChangeCallback);
-
-/** @typedef FIRSendEmailVerificationCallback
- @brief The type of block called when a request to send an email verification has finished.
-
- @param error Optionally; the error which occurred - or nil if the request was successful.
- */
-typedef void (^FIRSendEmailVerificationCallback)(NSError *_Nullable error)
- NS_SWIFT_NAME(SendEmailVerificationCallback);
-
-/** @class FIRUser
- @brief Represents a user. Firebase Auth does not attempt to validate users
- when loading them from the keychain. Invalidated users (such as those
- whose passwords have been changed on another client) are automatically
- logged out when an auth-dependent operation is attempted or when the
- ID token is automatically refreshed.
- @remarks This class is thread-safe.
- */
-NS_SWIFT_NAME(User)
-@interface FIRUser : NSObject
-
-/** @property anonymous
- @brief Indicates the user represents an anonymous user.
- */
-@property(nonatomic, readonly, getter=isAnonymous) BOOL anonymous;
-
-/** @property emailVerified
- @brief Indicates the email address associated with this user has been verified.
- */
-@property(nonatomic, readonly, getter=isEmailVerified) BOOL emailVerified;
-
-/** @property refreshToken
- @brief A refresh token; useful for obtaining new access tokens independently.
- @remarks This property should only be used for advanced scenarios, and is not typically needed.
- */
-@property(nonatomic, readonly, nullable) NSString *refreshToken;
-
-/** @property providerData
- @brief Profile data for each identity provider, if any.
- @remarks This data is cached on sign-in and updated when linking or unlinking.
- */
-@property(nonatomic, readonly, nonnull) NSArray> *providerData;
-
-/** @property metadata
- @brief Metadata associated with the Firebase user in question.
- */
-@property(nonatomic, readonly, nonnull) FIRUserMetadata *metadata;
-
-/** @fn init
- @brief This class should not be instantiated.
- @remarks To retrieve the current user, use `FIRAuth.currentUser`. To sign a user
- in or out, use the methods on `FIRAuth`.
- */
-- (instancetype)init NS_UNAVAILABLE;
-
-/** @fn updateEmail:completion:
- @brief Updates the email address for the user. On success, the cached user profile data is
- updated.
- @remarks May fail if there is already an account with this email address that was created using
- email and password authentication.
-
- @param email The email address for the user.
- @param completion Optionally; the block invoked when the user profile change has finished.
- Invoked asynchronously on the main thread in the future.
-
- @remarks Possible error codes:
-
- + `FIRAuthErrorCodeInvalidRecipientEmail` - Indicates an invalid recipient email was
- sent in the request.
- + `FIRAuthErrorCodeInvalidSender` - Indicates an invalid sender email is set in
- the console for this action.
- + `FIRAuthErrorCodeInvalidMessagePayload` - Indicates an invalid email template for
- sending update email.
- + `FIRAuthErrorCodeEmailAlreadyInUse` - Indicates the email is already in use by another
- account.
- + `FIRAuthErrorCodeInvalidEmail` - Indicates the email address is malformed.
- + `FIRAuthErrorCodeRequiresRecentLogin` - Updating a user’s email is a security
- sensitive operation that requires a recent login from the user. This error indicates
- the user has not signed in recently enough. To resolve, reauthenticate the user by
- invoking reauthenticateWithCredential:completion: on FIRUser.
-
- @remarks See `FIRAuthErrors` for a list of error codes that are common to all FIRUser methods.
- */
-- (void)updateEmail:(NSString *)email completion:(nullable FIRUserProfileChangeCallback)completion
- NS_SWIFT_NAME(updateEmail(to:completion:));
-
-/** @fn updatePassword:completion:
- @brief Updates the password for the user. On success, the cached user profile data is updated.
-
- @param password The new password for the user.
- @param completion Optionally; the block invoked when the user profile change has finished.
- Invoked asynchronously on the main thread in the future.
-
- @remarks Possible error codes:
-
- + `FIRAuthErrorCodeOperationNotAllowed` - Indicates the administrator disabled
- sign in with the specified identity provider.
- + `FIRAuthErrorCodeRequiresRecentLogin` - Updating a user’s password is a security
- sensitive operation that requires a recent login from the user. This error indicates
- the user has not signed in recently enough. To resolve, reauthenticate the user by
- invoking reauthenticateWithCredential:completion: on FIRUser.
- + `FIRAuthErrorCodeWeakPassword` - Indicates an attempt to set a password that is
- considered too weak. The NSLocalizedFailureReasonErrorKey field in the NSError.userInfo
- dictionary object will contain more detailed explanation that can be shown to the user.
-
- @remarks See `FIRAuthErrors` for a list of error codes that are common to all FIRUser methods.
- */
-- (void)updatePassword:(NSString *)password
- completion:(nullable FIRUserProfileChangeCallback)completion
- NS_SWIFT_NAME(updatePassword(to:completion:));
-
-#if TARGET_OS_IOS
-/** @fn updatePhoneNumberCredential:completion:
- @brief Updates the phone number for the user. On success, the cached user profile data is
- updated.
-
- @param phoneNumberCredential The new phone number credential corresponding to the phone number
- to be added to the Firebase account, if a phone number is already linked to the account this
- new phone number will replace it.
- @param completion Optionally; the block invoked when the user profile change has finished.
- Invoked asynchronously on the main thread in the future.
-
- @remarks Possible error codes:
-
- + `FIRAuthErrorCodeRequiresRecentLogin` - Updating a user’s phone number is a security
- sensitive operation that requires a recent login from the user. This error indicates
- the user has not signed in recently enough. To resolve, reauthenticate the user by
- invoking reauthenticateWithCredential:completion: on FIRUser.
-
- @remarks See `FIRAuthErrors` for a list of error codes that are common to all FIRUser methods.
- */
-- (void)updatePhoneNumberCredential:(FIRPhoneAuthCredential *)phoneNumberCredential
- completion:(nullable FIRUserProfileChangeCallback)completion;
-#endif
-
-/** @fn profileChangeRequest
- @brief Creates an object which may be used to change the user's profile data.
-
- @remarks Set the properties of the returned object, then call
- `FIRUserProfileChangeRequest.commitChangesWithCallback:` to perform the updates atomically.
-
- @return An object which may be used to change the user's profile data atomically.
- */
-- (FIRUserProfileChangeRequest *)profileChangeRequest NS_SWIFT_NAME(createProfileChangeRequest());
-
-/** @fn reloadWithCompletion:
- @brief Reloads the user's profile data from the server.
-
- @param completion Optionally; the block invoked when the reload has finished. Invoked
- asynchronously on the main thread in the future.
-
- @remarks May fail with a `FIRAuthErrorCodeRequiresRecentLogin` error code. In this case
- you should call `FIRUser.reauthenticateWithCredential:completion:` before re-invoking
- `FIRUser.updateEmail:completion:`.
-
- @remarks See `FIRAuthErrors` for a list of error codes that are common to all API methods.
- */
-- (void)reloadWithCompletion:(nullable FIRUserProfileChangeCallback)completion;
-
-/** @fn reauthenticateWithCredential:completion:
- @brief Please use reauthenticateAndRetrieveDataWithCredential:completion: for Objective-C or
- reauthenticateAndRetrieveData(WithCredential:completion:) for Swift instead.
- */
-- (void)reauthenticateWithCredential:(FIRAuthCredential *)credential
- completion:(nullable FIRUserProfileChangeCallback)completion
- DEPRECATED_MSG_ATTRIBUTE( "Please use"
- " reauthenticateAndRetrieveDataWithCredential:completion: for"
- " Objective-C or"
- " reauthenticateAndRetrieveData(WithCredential:completion:)"
- " for Swift instead.");
-
-/** @fn reauthenticateAndRetrieveDataWithCredential:completion:
- @brief Renews the user's authentication tokens by validating a fresh set of credentials supplied
- by the user and returns additional identity provider data.
-
- @param credential A user-supplied credential, which will be validated by the server. This can be
- a successful third-party identity provider sign-in, or an email address and password.
- @param completion Optionally; the block invoked when the re-authentication operation has
- finished. Invoked asynchronously on the main thread in the future.
-
- @remarks If the user associated with the supplied credential is different from the current user,
- or if the validation of the supplied credentials fails; an error is returned and the current
- user remains signed in.
-
- @remarks Possible error codes:
-
- + `FIRAuthErrorCodeInvalidCredential` - Indicates the supplied credential is invalid.
- This could happen if it has expired or it is malformed.
- + `FIRAuthErrorCodeOperationNotAllowed` - Indicates that accounts with the
- identity provider represented by the credential are not enabled. Enable them in the
- Auth section of the Firebase console.
- + `FIRAuthErrorCodeEmailAlreadyInUse` - Indicates the email asserted by the credential
- (e.g. the email in a Facebook access token) is already in use by an existing account,
- that cannot be authenticated with this method. Call fetchProvidersForEmail for
- this user’s email and then prompt them to sign in with any of the sign-in providers
- returned. This error will only be thrown if the "One account per email address"
- setting is enabled in the Firebase console, under Auth settings. Please note that the
- error code raised in this specific situation may not be the same on Web and Android.
- + `FIRAuthErrorCodeUserDisabled` - Indicates the user's account is disabled.
- + `FIRAuthErrorCodeWrongPassword` - Indicates the user attempted reauthentication with
- an incorrect password, if credential is of the type EmailPasswordAuthCredential.
- + `FIRAuthErrorCodeUserMismatch` - Indicates that an attempt was made to
- reauthenticate with a user which is not the current user.
- + `FIRAuthErrorCodeInvalidEmail` - Indicates the email address is malformed.
-
- @remarks See `FIRAuthErrors` for a list of error codes that are common to all API methods.
- */
-- (void)reauthenticateAndRetrieveDataWithCredential:(FIRAuthCredential *) credential
- completion:(nullable FIRAuthDataResultCallback) completion;
-
-/** @fn getIDTokenResultWithCompletion:
- @brief Retrieves the Firebase authentication token, possibly refreshing it if it has expired.
-
- @param completion Optionally; the block invoked when the token is available. Invoked
- asynchronously on the main thread in the future.
-
- @remarks See `FIRAuthErrors` for a list of error codes that are common to all API methods.
- */
-- (void)getIDTokenResultWithCompletion:(nullable FIRAuthTokenResultCallback)completion
- NS_SWIFT_NAME(getIDTokenResult(completion:));
-
-/** @fn getIDTokenResultForcingRefresh:completion:
- @brief Retrieves the Firebase authentication token, possibly refreshing it if it has expired.
-
- @param forceRefresh Forces a token refresh. Useful if the token becomes invalid for some reason
- other than an expiration.
- @param completion Optionally; the block invoked when the token is available. Invoked
- asynchronously on the main thread in the future.
-
- @remarks The authentication token will be refreshed (by making a network request) if it has
- expired, or if `forceRefresh` is YES.
-
- @remarks See `FIRAuthErrors` for a list of error codes that are common to all API methods.
- */
-- (void)getIDTokenResultForcingRefresh:(BOOL)forceRefresh
- completion:(nullable FIRAuthTokenResultCallback)completion
- NS_SWIFT_NAME(getIDTokenResult(forcingRefresh:completion:));
-
-/** @fn getIDTokenWithCompletion:
- @brief Retrieves the Firebase authentication token, possibly refreshing it if it has expired.
-
- @param completion Optionally; the block invoked when the token is available. Invoked
- asynchronously on the main thread in the future.
-
- @remarks See `FIRAuthErrors` for a list of error codes that are common to all API methods.
- */
-- (void)getIDTokenWithCompletion:(nullable FIRAuthTokenCallback)completion
- NS_SWIFT_NAME(getIDToken(completion:));
-
-/** @fn getIDTokenForcingRefresh:completion:
- @brief Retrieves the Firebase authentication token, possibly refreshing it if it has expired.
-
- @param forceRefresh Forces a token refresh. Useful if the token becomes invalid for some reason
- other than an expiration.
- @param completion Optionally; the block invoked when the token is available. Invoked
- asynchronously on the main thread in the future.
-
- @remarks The authentication token will be refreshed (by making a network request) if it has
- expired, or if `forceRefresh` is YES.
-
- @remarks See `FIRAuthErrors` for a list of error codes that are common to all API methods.
- */
-- (void)getIDTokenForcingRefresh:(BOOL)forceRefresh
- completion:(nullable FIRAuthTokenCallback)completion;
-
-/** @fn linkWithCredential:completion:
- @brief Please use linkAndRetrieveDataWithCredential:completion: for Objective-C or
- linkAndRetrieveData(WithCredential:completion:) for Swift instead.
- */
-- (void)linkWithCredential:(FIRAuthCredential *)credential
- completion:(nullable FIRAuthResultCallback)completion DEPRECATED_MSG_ATTRIBUTE(
- "Please use linkAndRetrieveDataWithCredential:completion: for"
- " Objective-C or"
- " linkAndRetrieveData(WithCredential:completion:) for"
- " Swift instead.");
-
-/** @fn linkAndRetrieveDataWithCredential:completion:
- @brief Associates a user account from a third-party identity provider with this user and
- returns additional identity provider data.
-
- @param credential The credential for the identity provider.
- @param completion Optionally; the block invoked when the unlinking is complete, or fails.
- Invoked asynchronously on the main thread in the future.
-
- @remarks Possible error codes:
-
- + `FIRAuthErrorCodeProviderAlreadyLinked` - Indicates an attempt to link a provider of a
- type already linked to this account.
- + `FIRAuthErrorCodeCredentialAlreadyInUse` - Indicates an attempt to link with a
- credential
- that has already been linked with a different Firebase account.
- + `FIRAuthErrorCodeOperationNotAllowed` - Indicates that accounts with the identity
- provider represented by the credential are not enabled. Enable them in the Auth section
- of the Firebase console.
-
- @remarks This method may also return error codes associated with updateEmail:completion: and
- updatePassword:completion: on FIRUser.
-
- @remarks See `FIRAuthErrors` for a list of error codes that are common to all FIRUser methods.
- */
-- (void)linkAndRetrieveDataWithCredential:(FIRAuthCredential *) credential
- completion:(nullable FIRAuthDataResultCallback) completion;
-
-/** @fn unlinkFromProvider:completion:
- @brief Disassociates a user account from a third-party identity provider with this user.
-
- @param provider The provider ID of the provider to unlink.
- @param completion Optionally; the block invoked when the unlinking is complete, or fails.
- Invoked asynchronously on the main thread in the future.
-
- @remarks Possible error codes:
-
- + `FIRAuthErrorCodeNoSuchProvider` - Indicates an attempt to unlink a provider
- that is not linked to the account.
- + `FIRAuthErrorCodeRequiresRecentLogin` - Updating email is a security sensitive
- operation that requires a recent login from the user. This error indicates the user
- has not signed in recently enough. To resolve, reauthenticate the user by invoking
- reauthenticateWithCredential:completion: on FIRUser.
-
- @remarks See `FIRAuthErrors` for a list of error codes that are common to all FIRUser methods.
- */
-- (void)unlinkFromProvider:(NSString *)provider
- completion:(nullable FIRAuthResultCallback)completion;
-
-/** @fn sendEmailVerificationWithCompletion:
- @brief Initiates email verification for the user.
-
- @param completion Optionally; the block invoked when the request to send an email verification
- is complete, or fails. Invoked asynchronously on the main thread in the future.
-
- @remarks Possible error codes:
-
- + `FIRAuthErrorCodeInvalidRecipientEmail` - Indicates an invalid recipient email was
- sent in the request.
- + `FIRAuthErrorCodeInvalidSender` - Indicates an invalid sender email is set in
- the console for this action.
- + `FIRAuthErrorCodeInvalidMessagePayload` - Indicates an invalid email template for
- sending update email.
- + `FIRAuthErrorCodeUserNotFound` - Indicates the user account was not found.
-
- @remarks See `FIRAuthErrors` for a list of error codes that are common to all FIRUser methods.
- */
-- (void)sendEmailVerificationWithCompletion:(nullable FIRSendEmailVerificationCallback)completion;
-
-/** @fn sendEmailVerificationWithActionCodeSettings:completion:
- @brief Initiates email verification for the user.
-
- @param actionCodeSettings An `FIRActionCodeSettings` object containing settings related to
- handling action codes.
-
- @remarks Possible error codes:
-
- + `FIRAuthErrorCodeInvalidRecipientEmail` - Indicates an invalid recipient email was
- sent in the request.
- + `FIRAuthErrorCodeInvalidSender` - Indicates an invalid sender email is set in
- the console for this action.
- + `FIRAuthErrorCodeInvalidMessagePayload` - Indicates an invalid email template for
- sending update email.
- + `FIRAuthErrorCodeUserNotFound` - Indicates the user account was not found.
- + `FIRAuthErrorCodeMissingIosBundleID` - Indicates that the iOS bundle ID is missing when
- a iOS App Store ID is provided.
- + `FIRAuthErrorCodeMissingAndroidPackageName` - Indicates that the android package name
- is missing when the `androidInstallApp` flag is set to true.
- + `FIRAuthErrorCodeUnauthorizedDomain` - Indicates that the domain specified in the
- continue URL is not whitelisted in the Firebase console.
- + `FIRAuthErrorCodeInvalidContinueURI` - Indicates that the domain specified in the
- continue URI is not valid.
- */
-- (void)sendEmailVerificationWithActionCodeSettings:(FIRActionCodeSettings *)actionCodeSettings
- completion:(nullable FIRSendEmailVerificationCallback)
- completion;
-
-/** @fn deleteWithCompletion:
- @brief Deletes the user account (also signs out the user, if this was the current user).
-
- @param completion Optionally; the block invoked when the request to delete the account is
- complete, or fails. Invoked asynchronously on the main thread in the future.
-
- @remarks Possible error codes:
-
- + `FIRAuthErrorCodeRequiresRecentLogin` - Updating email is a security sensitive
- operation that requires a recent login from the user. This error indicates the user
- has not signed in recently enough. To resolve, reauthenticate the user by invoking
- reauthenticateWithCredential:completion: on FIRUser.
-
- @remarks See `FIRAuthErrors` for a list of error codes that are common to all FIRUser methods.
-
- */
-- (void)deleteWithCompletion:(nullable FIRUserProfileChangeCallback)completion;
-
-@end
-
-/** @class FIRUserProfileChangeRequest
- @brief Represents an object capable of updating a user's profile data.
- @remarks Properties are marked as being part of a profile update when they are set. Setting a
- property value to nil is not the same as leaving the property unassigned.
- */
-NS_SWIFT_NAME(UserProfileChangeRequest)
-@interface FIRUserProfileChangeRequest : NSObject
-
-/** @fn init
- @brief Please use `FIRUser.profileChangeRequest`
- */
-- (instancetype)init NS_UNAVAILABLE;
-
-/** @property displayName
- @brief The user's display name.
- @remarks It is an error to set this property after calling
- `FIRUserProfileChangeRequest.commitChangesWithCallback:`
- */
-@property(nonatomic, copy, nullable) NSString *displayName;
-
-/** @property photoURL
- @brief The user's photo URL.
- @remarks It is an error to set this property after calling
- `FIRUserProfileChangeRequest.commitChangesWithCallback:`
- */
-@property(nonatomic, copy, nullable) NSURL *photoURL;
-
-/** @fn commitChangesWithCompletion:
- @brief Commits any pending changes.
- @remarks This method should only be called once. Once called, property values should not be
- changed.
-
- @param completion Optionally; the block invoked when the user profile change has been applied.
- Invoked asynchronously on the main thread in the future.
- */
-- (void)commitChangesWithCompletion:(nullable FIRUserProfileChangeCallback)completion;
-
-@end
-
-NS_ASSUME_NONNULL_END
diff --git a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRUserInfo.h b/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRUserInfo.h
deleted file mode 100644
index 04eca495d..000000000
--- a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRUserInfo.h
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * Copyright 2017 Google
- *
- * 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
-
-NS_ASSUME_NONNULL_BEGIN
-
-/**
- @brief Represents user data returned from an identity provider.
- */
-NS_SWIFT_NAME(UserInfo)
-@protocol FIRUserInfo
-
-/** @property providerID
- @brief The provider identifier.
- */
-@property(nonatomic, copy, readonly) NSString *providerID;
-
-/** @property uid
- @brief The provider's user ID for the user.
- */
-@property(nonatomic, copy, readonly) NSString *uid;
-
-/** @property displayName
- @brief The name of the user.
- */
-@property(nonatomic, copy, readonly, nullable) NSString *displayName;
-
-/** @property photoURL
- @brief The URL of the user's profile photo.
- */
-@property(nonatomic, copy, readonly, nullable) NSURL *photoURL;
-
-/** @property email
- @brief The user's email address.
- */
-@property(nonatomic, copy, readonly, nullable) NSString *email;
-
-/** @property phoneNumber
- @brief A phone number associated with the user.
- @remarks This property is only available for users authenticated via phone number auth.
- */
-@property(nonatomic, readonly, nullable) NSString *phoneNumber;
-
-@end
-
-NS_ASSUME_NONNULL_END
diff --git a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRUserMetadata.h b/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRUserMetadata.h
deleted file mode 100644
index 25331718d..000000000
--- a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FIRUserMetadata.h
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright 2017 Google
- *
- * 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
-
-NS_ASSUME_NONNULL_BEGIN
-
-/** @class FIRUserMetdata
- @brief A data class representing the metadata corresponding to a Firebase user.
- */
-NS_SWIFT_NAME(UserMetadata)
-@interface FIRUserMetadata : NSObject
-
-/** @property lastSignInDate
- @brief Stores the last sign in date for the corresponding Firebase user.
- */
-@property (copy, nonatomic, readonly, nullable) NSDate *lastSignInDate;
-
-/** @property creationDate
- @brief Stores the creation date for the corresponding Firebase user.
- */
-@property (copy, nonatomic, readonly, nullable) NSDate *creationDate;
-
-/** @fn init
- @brief This class should not be initialized manually, an instance of this class can be obtained
- from a Firebase user object.
- */
-- (instancetype)init NS_UNAVAILABLE;
-
-@end
-
-NS_ASSUME_NONNULL_END
diff --git a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FirebaseAuth.h b/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FirebaseAuth.h
deleted file mode 100644
index c8837f83d..000000000
--- a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FirebaseAuth.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright 2017 Google
- *
- * 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
-
-#import "FIRActionCodeSettings.h"
-#import "FIRAdditionalUserInfo.h"
-#import "FIRAuth.h"
-#import "FIRAuthCredential.h"
-#import "FIRAuthDataResult.h"
-#import "FIRAuthErrors.h"
-#import "FIRAuthTokenResult.h"
-#import "FirebaseAuthVersion.h"
-#import "FIREmailAuthProvider.h"
-#import "FIRFacebookAuthProvider.h"
-#import "FIRGitHubAuthProvider.h"
-#import "FIRGoogleAuthProvider.h"
-#import "FIROAuthProvider.h"
-#import "FIRTwitterAuthProvider.h"
-#import "FIRUser.h"
-#import "FIRUserInfo.h"
-#import "FIRUserMetadata.h"
-
-#if TARGET_OS_IOS
-#import "FIRAuthUIDelegate.h"
-#import "FIRPhoneAuthCredential.h"
-#import "FIRPhoneAuthProvider.h"
-#import "FIRAuthAPNSTokenType.h"
-#import "FIRAuthSettings.h"
-#endif
diff --git a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FirebaseAuthVersion.h b/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FirebaseAuthVersion.h
deleted file mode 100644
index 2999384d1..000000000
--- a/src/ios/Firebase/Auth/FirebaseAuth.framework/Headers/FirebaseAuthVersion.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Copyright 2017 Google
- *
- * 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
-
-/**
- Version number for FirebaseAuth.
- */
-extern const double FirebaseAuthVersionNum;
-
-/**
- Version string for FirebaseAuth.
- */
-extern const unsigned char *const FirebaseAuthVersionStr;
diff --git a/src/ios/Firebase/Auth/FirebaseAuth.framework/Modules/module.modulemap b/src/ios/Firebase/Auth/FirebaseAuth.framework/Modules/module.modulemap
deleted file mode 100644
index 8311bcce3..000000000
--- a/src/ios/Firebase/Auth/FirebaseAuth.framework/Modules/module.modulemap
+++ /dev/null
@@ -1,6 +0,0 @@
-framework module FirebaseAuth {
- umbrella header "FirebaseAuth.h"
- export *
- module * { export *}
- link framework "Security"
-}
diff --git a/src/ios/Firebase/Auth/GTMSessionFetcher.framework/GTMSessionFetcher b/src/ios/Firebase/Auth/GTMSessionFetcher.framework/GTMSessionFetcher
deleted file mode 100644
index bab7d8646..000000000
Binary files a/src/ios/Firebase/Auth/GTMSessionFetcher.framework/GTMSessionFetcher and /dev/null differ
diff --git a/src/ios/Firebase/Auth/GTMSessionFetcher.framework/Headers/GTMGatherInputStream.h b/src/ios/Firebase/Auth/GTMSessionFetcher.framework/Headers/GTMGatherInputStream.h
deleted file mode 100644
index ec3c0125d..000000000
--- a/src/ios/Firebase/Auth/GTMSessionFetcher.framework/Headers/GTMGatherInputStream.h
+++ /dev/null
@@ -1,52 +0,0 @@
-/* Copyright 2014 Google Inc. All rights reserved.
- *
- * 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.
- */
-
-// The GTMGatherInput stream is an input stream implementation that is to be
-// instantiated with an NSArray of NSData objects. It works in the traditional
-// scatter/gather vector I/O model. Rather than allocating a big NSData object
-// to hold all of the data and performing a copy into that object, the
-// GTMGatherInputStream will maintain a reference to the NSArray and read from
-// each NSData in turn as the read method is called. You should not alter the
-// underlying set of NSData objects until all read operations on this input
-// stream have completed.
-
-#import
-
-#ifndef GTM_NONNULL
- #if defined(__has_attribute)
- #if __has_attribute(nonnull)
- #define GTM_NONNULL(x) __attribute__((nonnull x))
- #else
- #define GTM_NONNULL(x)
- #endif
- #else
- #define GTM_NONNULL(x)
- #endif
-#endif
-
-// Avoid multiple declaration of this class.
-//
-// Note: This should match the declaration of GTMGatherInputStream in GTMMIMEDocument.m
-
-#ifndef GTM_GATHERINPUTSTREAM_DECLARED
-#define GTM_GATHERINPUTSTREAM_DECLARED
-
-@interface GTMGatherInputStream : NSInputStream
-
-+ (NSInputStream *)streamWithArray:(NSArray *)dataArray GTM_NONNULL((1));
-
-@end
-
-#endif // GTM_GATHERINPUTSTREAM_DECLARED
diff --git a/src/ios/Firebase/Auth/GTMSessionFetcher.framework/Headers/GTMMIMEDocument.h b/src/ios/Firebase/Auth/GTMSessionFetcher.framework/Headers/GTMMIMEDocument.h
deleted file mode 100644
index 451e13239..000000000
--- a/src/ios/Firebase/Auth/GTMSessionFetcher.framework/Headers/GTMMIMEDocument.h
+++ /dev/null
@@ -1,148 +0,0 @@
-/* Copyright 2014 Google Inc. All rights reserved.
- *
- * 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.
- */
-
-// This is a simple class to create or parse a MIME document.
-
-// To create a MIME document, allocate a new GTMMIMEDocument and start adding parts.
-// When you are done adding parts, call generateInputStream or generateDispatchData.
-//
-// A good reference for MIME is http://en.wikipedia.org/wiki/MIME
-
-#import
-
-#ifndef GTM_NONNULL
- #if defined(__has_attribute)
- #if __has_attribute(nonnull)
- #define GTM_NONNULL(x) __attribute__((nonnull x))
- #else
- #define GTM_NONNULL(x)
- #endif
- #else
- #define GTM_NONNULL(x)
- #endif
-#endif
-
-#ifndef GTM_DECLARE_GENERICS
- #if __has_feature(objc_generics)
- #define GTM_DECLARE_GENERICS 1
- #else
- #define GTM_DECLARE_GENERICS 0
- #endif
-#endif
-
-#ifndef GTM_NSArrayOf
- #if GTM_DECLARE_GENERICS
- #define GTM_NSArrayOf(value) NSArray
- #define GTM_NSDictionaryOf(key, value) NSDictionary
- #else
- #define GTM_NSArrayOf(value) NSArray
- #define GTM_NSDictionaryOf(key, value) NSDictionary
- #endif // GTM_DECLARE_GENERICS
-#endif // GTM_NSArrayOf
-
-
-// GTMMIMEDocumentPart represents a part of a MIME document.
-//
-// +[GTMMIMEDocument MIMEPartsWithBoundary:data:] returns an array of these.
-@interface GTMMIMEDocumentPart : NSObject
-
-@property(nonatomic, readonly) GTM_NSDictionaryOf(NSString *, NSString *) *headers;
-@property(nonatomic, readonly) NSData *headerData;
-@property(nonatomic, readonly) NSData *body;
-@property(nonatomic, readonly) NSUInteger length;
-
-+ (instancetype)partWithHeaders:(NSDictionary *)headers body:(NSData *)body;
-
-@end
-
-@interface GTMMIMEDocument : NSObject
-
-// Get or set the unique boundary for the parts that have been added.
-//
-// When creating a MIME document from parts, this is typically calculated
-// automatically after all parts have been added.
-@property(nonatomic, copy) NSString *boundary;
-
-#pragma mark - Methods for Creating a MIME Document
-
-+ (instancetype)MIMEDocument;
-
-// Adds a new part to this mime document with the given headers and body.
-// The headers keys and values should be NSStrings.
-// Adding a part may cause the boundary string to change.
-- (void)addPartWithHeaders:(GTM_NSDictionaryOf(NSString *, NSString *) *)headers
- body:(NSData *)body GTM_NONNULL((1,2));
-
-// An inputstream that can be used to efficiently read the contents of the MIME document.
-//
-// Any parameter may be null if the result is not wanted.
-- (void)generateInputStream:(NSInputStream **)outStream
- length:(unsigned long long *)outLength
- boundary:(NSString **)outBoundary;
-
-// A dispatch_data_t with the contents of the MIME document.
-//
-// Note: dispatch_data_t is one-way toll-free bridged so the result
-// may be cast directly to NSData *.
-//
-// Any parameter may be null if the result is not wanted.
-- (void)generateDispatchData:(dispatch_data_t *)outDispatchData
- length:(unsigned long long *)outLength
- boundary:(NSString **)outBoundary;
-
-// Utility method for making a header section, including trailing newlines.
-+ (NSData *)dataWithHeaders:(GTM_NSDictionaryOf(NSString *, NSString *) *)headers;
-
-#pragma mark - Methods for Parsing a MIME Document
-
-// Method for parsing out an array of MIME parts from a MIME document.
-//
-// Returns an array of GTMMIMEDocumentParts. Returns nil if no part can
-// be found.
-+ (GTM_NSArrayOf(GTMMIMEDocumentPart *) *)MIMEPartsWithBoundary:(NSString *)boundary
- data:(NSData *)fullDocumentData;
-
-// Utility method for efficiently searching possibly discontiguous NSData
-// for occurrences of target byte. This method does not "flatten" an NSData
-// that is composed of discontiguous blocks.
-//
-// The byte offsets of non-overlapping occurrences of the target are returned as
-// NSNumbers in the array.
-+ (void)searchData:(NSData *)data
- targetBytes:(const void *)targetBytes
- targetLength:(NSUInteger)targetLength
- foundOffsets:(GTM_NSArrayOf(NSNumber *) **)outFoundOffsets;
-
-// Utility method to parse header bytes into an NSDictionary.
-+ (GTM_NSDictionaryOf(NSString *, NSString *) *)headersWithData:(NSData *)data;
-
-// ------ UNIT TESTING ONLY BELOW ------
-
-// Internal methods, exposed for unit testing only.
-- (void)seedRandomWith:(u_int32_t)seed;
-
-+ (NSUInteger)findBytesWithNeedle:(const unsigned char *)needle
- needleLength:(NSUInteger)needleLength
- haystack:(const unsigned char *)haystack
- haystackLength:(NSUInteger)haystackLength
- foundOffset:(NSUInteger *)foundOffset;
-
-+ (void)searchData:(NSData *)data
- targetBytes:(const void *)targetBytes
- targetLength:(NSUInteger)targetLength
- foundOffsets:(GTM_NSArrayOf(NSNumber *) **)outFoundOffsets
- foundBlockNumbers:(GTM_NSArrayOf(NSNumber *) **)outFoundBlockNumbers;
-
-@end
diff --git a/src/ios/Firebase/Auth/GTMSessionFetcher.framework/Headers/GTMReadMonitorInputStream.h b/src/ios/Firebase/Auth/GTMSessionFetcher.framework/Headers/GTMReadMonitorInputStream.h
deleted file mode 100644
index 4e306428a..000000000
--- a/src/ios/Firebase/Auth/GTMSessionFetcher.framework/Headers/GTMReadMonitorInputStream.h
+++ /dev/null
@@ -1,49 +0,0 @@
-/* Copyright 2014 Google Inc. All rights reserved.
- *
- * 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
-
-#ifndef GTM_NONNULL
- #if defined(__has_attribute)
- #if __has_attribute(nonnull)
- #define GTM_NONNULL(x) __attribute__((nonnull x))
- #else
- #define GTM_NONNULL(x)
- #endif
- #else
- #define GTM_NONNULL(x)
- #endif
-#endif
-
-
-@interface GTMReadMonitorInputStream : NSInputStream
-
-+ (instancetype)inputStreamWithStream:(NSInputStream *)input GTM_NONNULL((1));
-
-- (instancetype)initWithStream:(NSInputStream *)input GTM_NONNULL((1));
-
-// The read monitor selector is called when bytes have been read. It should have this signature:
-//
-// - (void)inputStream:(GTMReadMonitorInputStream *)stream
-// readIntoBuffer:(uint8_t *)buffer
-// length:(int64_t)length;
-
-@property(atomic, weak) id readDelegate;
-@property(atomic, assign) SEL readSelector;
-
-// Modes for invoking callbacks, when necessary.
-@property(atomic, strong) NSArray *runLoopModes;
-
-@end
diff --git a/src/ios/Firebase/Auth/GTMSessionFetcher.framework/Headers/GTMSessionFetcher.h b/src/ios/Firebase/Auth/GTMSessionFetcher.framework/Headers/GTMSessionFetcher.h
deleted file mode 100644
index 56eb1ca99..000000000
--- a/src/ios/Firebase/Auth/GTMSessionFetcher.framework/Headers/GTMSessionFetcher.h
+++ /dev/null
@@ -1,1309 +0,0 @@
-/* Copyright 2014 Google Inc. All rights reserved.
- *
- * 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.
- */
-
-// GTMSessionFetcher is a wrapper around NSURLSession for http operations.
-//
-// What does this offer on top of of NSURLSession?
-//
-// - Block-style callbacks for useful functionality like progress rather
-// than delegate methods.
-// - Out-of-process uploads and downloads using NSURLSession, including
-// management of fetches after relaunch.
-// - Integration with GTMAppAuth for invisible management and refresh of
-// authorization tokens.
-// - Pretty-printed http logging.
-// - Cookies handling that does not interfere with or get interfered with
-// by WebKit cookies or on Mac by Safari and other apps.
-// - Credentials handling for the http operation.
-// - Rate-limiting and cookie grouping when fetchers are created with
-// GTMSessionFetcherService.
-//
-// If the bodyData or bodyFileURL property is set, then a POST request is assumed.
-//
-// Each fetcher is assumed to be for a one-shot fetch request; don't reuse the object
-// for a second fetch.
-//
-// The fetcher will be self-retained as long as a connection is pending.
-//
-// To keep user activity private, URLs must have an https scheme (unless the property
-// allowedInsecureSchemes is set to permit the scheme.)
-//
-// Callbacks will be released when the fetch completes or is stopped, so there is no need
-// to use weak self references in the callback blocks.
-//
-// Sample usage:
-//
-// _fetcherService = [[GTMSessionFetcherService alloc] init];
-//
-// GTMSessionFetcher *myFetcher = [_fetcherService fetcherWithURLString:myURLString];
-// myFetcher.retryEnabled = YES;
-// myFetcher.comment = @"First profile image";
-//
-// // Optionally specify a file URL or NSData for the request body to upload.
-// myFetcher.bodyData = [postString dataUsingEncoding:NSUTF8StringEncoding];
-//
-// [myFetcher beginFetchWithCompletionHandler:^(NSData *data, NSError *error) {
-// if (error != nil) {
-// // Server status code or network error.
-// //
-// // If the domain is kGTMSessionFetcherStatusDomain then the error code
-// // is a failure status from the server.
-// } else {
-// // Fetch succeeded.
-// }
-// }];
-//
-// There is also a beginFetch call that takes a pointer and selector for the completion handler;
-// a pointer and selector is a better style when the callback is a substantial, separate method.
-//
-// NOTE: Fetches may retrieve data from the server even though the server
-// returned an error, so the criteria for success is a non-nil error.
-// The completion handler is called when the server status is >= 300 with an NSError
-// having domain kGTMSessionFetcherStatusDomain and code set to the server status.
-//
-// Status codes are at
-//
-//
-// Background session support:
-//
-// Out-of-process uploads and downloads may be created by setting the fetcher's
-// useBackgroundSession property. Data to be uploaded should be provided via
-// the uploadFileURL property; the download destination should be specified with
-// the destinationFileURL. NOTE: Background upload files should be in a location
-// that will be valid even after the device is restarted, so the file should not
-// be uploaded from a system temporary or cache directory.
-//
-// Background session transfers are slower, and should typically be used only
-// for very large downloads or uploads (hundreds of megabytes).
-//
-// When background sessions are used in iOS apps, the application delegate must
-// pass through the parameters from UIApplicationDelegate's
-// application:handleEventsForBackgroundURLSession:completionHandler: to the
-// fetcher class.
-//
-// When the application has been relaunched, it may also create a new fetcher
-// instance to handle completion of the transfers.
-//
-// - (void)application:(UIApplication *)application
-// handleEventsForBackgroundURLSession:(NSString *)identifier
-// completionHandler:(void (^)())completionHandler {
-// // Application was re-launched on completing an out-of-process download.
-//
-// // Pass the URLSession info related to this re-launch to the fetcher class.
-// [GTMSessionFetcher application:application
-// handleEventsForBackgroundURLSession:identifier
-// completionHandler:completionHandler];
-//
-// // Get a fetcher related to this re-launch and re-hook up a completionHandler to it.
-// GTMSessionFetcher *fetcher = [GTMSessionFetcher fetcherWithSessionIdentifier:identifier];
-// NSURL *destinationFileURL = fetcher.destinationFileURL;
-// fetcher.completionHandler = ^(NSData *data, NSError *error) {
-// [self downloadCompletedToFile:destinationFileURL error:error];
-// };
-// }
-//
-//
-// Threading and queue support:
-//
-// Networking always happens on a background thread; there is no advantage to
-// changing thread or queue to create or start a fetcher.
-//
-// Callbacks are run on the main thread; alternatively, the app may set the
-// fetcher's callbackQueue to a dispatch queue.
-//
-// Once the fetcher's beginFetch method has been called, the fetcher's methods and
-// properties may be accessed from any thread.
-//
-// Downloading to disk:
-//
-// To have downloaded data saved directly to disk, specify a file URL for the
-// destinationFileURL property.
-//
-// HTTP methods and headers:
-//
-// Alternative HTTP methods, like PUT, and custom headers can be specified by
-// creating the fetcher with an appropriate NSMutableURLRequest.
-//
-//
-// Caching:
-//
-// The fetcher avoids caching. That is best for API requests, but may hurt
-// repeat fetches of static data. Apps may enable a persistent disk cache by
-// customizing the config:
-//
-// fetcher.configurationBlock = ^(GTMSessionFetcher *configFetcher,
-// NSURLSessionConfiguration *config) {
-// config.URLCache = [NSURLCache sharedURLCache];
-// };
-//
-// Or use the standard system config to share cookie storage with web views
-// and to enable disk caching:
-//
-// fetcher.configuration = [NSURLSessionConfiguration defaultSessionConfiguration];
-//
-//
-// Cookies:
-//
-// There are three supported mechanisms for remembering cookies between fetches.
-//
-// By default, a standalone GTMSessionFetcher uses a mutable array held
-// statically to track cookies for all instantiated fetchers. This avoids
-// cookies being set by servers for the application from interfering with
-// Safari and WebKit cookie settings, and vice versa.
-// The fetcher cookies are lost when the application quits.
-//
-// To rely instead on WebKit's global NSHTTPCookieStorage, set the fetcher's
-// cookieStorage property:
-// myFetcher.cookieStorage = [NSHTTPCookieStorage sharedHTTPCookieStorage];
-//
-// To share cookies with other apps, use the method introduced in iOS 9/OS X 10.11:
-// myFetcher.cookieStorage =
-// [NSHTTPCookieStorage sharedCookieStorageForGroupContainerIdentifier:kMyCompanyContainedID];
-//
-// To ignore existing cookies and only have cookies related to the single fetch
-// be applied, make a temporary cookie storage object:
-// myFetcher.cookieStorage = [[GTMSessionCookieStorage alloc] init];
-//
-// Note: cookies set while following redirects will be sent to the server, as
-// the redirects are followed by the fetcher.
-//
-// To completely disable cookies, similar to setting cookieStorageMethod to
-// kGTMHTTPFetcherCookieStorageMethodNone, adjust the session configuration
-// appropriately in the fetcher or fetcher service:
-// fetcher.configurationBlock = ^(GTMSessionFetcher *configFetcher,
-// NSURLSessionConfiguration *config) {
-// config.HTTPCookieAcceptPolicy = NSHTTPCookieAcceptPolicyNever;
-// config.HTTPShouldSetCookies = NO;
-// };
-//
-// If the fetcher is created from a GTMSessionFetcherService object
-// then the cookie storage mechanism is set to use the cookie storage in the
-// service object rather than the static storage. Disabling cookies in the
-// session configuration set on a service object will disable cookies for all
-// fetchers created from that GTMSessionFetcherService object, since the session
-// configuration is propagated to the fetcher.
-//
-//
-// Monitoring data transfers.
-//
-// The fetcher supports a variety of properties for progress monitoring
-// progress with callback blocks.
-// GTMSessionFetcherSendProgressBlock sendProgressBlock
-// GTMSessionFetcherReceivedProgressBlock receivedProgressBlock
-// GTMSessionFetcherDownloadProgressBlock downloadProgressBlock
-//
-// If supplied by the server, the anticipated total download size is available
-// as [[myFetcher response] expectedContentLength] (and may be -1 for unknown
-// download sizes.)
-//
-//
-// Automatic retrying of fetches
-//
-// The fetcher can optionally create a timer and reattempt certain kinds of
-// fetch failures (status codes 408, request timeout; 502, gateway failure;
-// 503, service unavailable; 504, gateway timeout; networking errors
-// NSURLErrorTimedOut and NSURLErrorNetworkConnectionLost.) The user may
-// set a retry selector to customize the type of errors which will be retried.
-//
-// Retries are done in an exponential-backoff fashion (that is, after 1 second,
-// 2, 4, 8, and so on.)
-//
-// Enabling automatic retries looks like this:
-// myFetcher.retryEnabled = YES;
-//
-// With retries enabled, the completion callbacks are called only
-// when no more retries will be attempted. Calling the fetcher's stopFetching
-// method will terminate the retry timer, without the finished or failure
-// selectors being invoked.
-//
-// Optionally, the client may set the maximum retry interval:
-// myFetcher.maxRetryInterval = 60.0; // in seconds; default is 60 seconds
-// // for downloads, 600 for uploads
-//
-// Servers should never send a 400 or 500 status for errors that are retryable
-// by clients, as those values indicate permanent failures. In nearly all
-// cases, the default standard retry behavior is correct for clients, and no
-// custom client retry behavior is needed or appropriate. Servers that send
-// non-retryable status codes and expect the client to retry the request are
-// faulty.
-//
-// Still, the client may provide a block to determine if a status code or other
-// error should be retried. The block returns YES to set the retry timer or NO
-// to fail without additional fetch attempts.
-//
-// The retry method may return the |suggestedWillRetry| argument to get the
-// default retry behavior. Server status codes are present in the
-// error argument, and have the domain kGTMSessionFetcherStatusDomain. The
-// user's method may look something like this:
-//
-// myFetcher.retryBlock = ^(BOOL suggestedWillRetry, NSError *error,
-// GTMSessionFetcherRetryResponse response) {
-// // Perhaps examine error.domain and error.code, or fetcher.retryCount
-// //
-// // Respond with YES to start the retry timer, NO to proceed to the failure
-// // callback, or suggestedWillRetry to get default behavior for the
-// // current error domain and code values.
-// response(suggestedWillRetry);
-// };
-
-
-#import
-
-#if TARGET_OS_IPHONE
-#import
-#endif
-#if TARGET_OS_WATCH
-#import
-#endif
-
-// By default it is stripped from non DEBUG builds. Developers can override
-// this in their project settings.
-#ifndef STRIP_GTM_FETCH_LOGGING
- #if !DEBUG
- #define STRIP_GTM_FETCH_LOGGING 1
- #else
- #define STRIP_GTM_FETCH_LOGGING 0
- #endif
-#endif
-
-// Logs in debug builds.
-#ifndef GTMSESSION_LOG_DEBUG
- #if DEBUG
- #define GTMSESSION_LOG_DEBUG(...) NSLog(__VA_ARGS__)
- #else
- #define GTMSESSION_LOG_DEBUG(...) do { } while (0)
- #endif
-#endif
-
-// Asserts in debug builds (or logs in debug builds if GTMSESSION_ASSERT_AS_LOG
-// or NS_BLOCK_ASSERTIONS are defined.)
-#ifndef GTMSESSION_ASSERT_DEBUG
- #if DEBUG && !defined(NS_BLOCK_ASSERTIONS) && !GTMSESSION_ASSERT_AS_LOG
- #undef GTMSESSION_ASSERT_AS_LOG
- #define GTMSESSION_ASSERT_AS_LOG 1
- #endif
-
- #if DEBUG && !GTMSESSION_ASSERT_AS_LOG
- #define GTMSESSION_ASSERT_DEBUG(...) NSAssert(__VA_ARGS__)
- #elif DEBUG
- #define GTMSESSION_ASSERT_DEBUG(pred, ...) if (!(pred)) { NSLog(__VA_ARGS__); }
- #else
- #define GTMSESSION_ASSERT_DEBUG(pred, ...) do { } while (0)
- #endif
-#endif
-
-// Asserts in debug builds, logs in release builds (or logs in debug builds if
-// GTMSESSION_ASSERT_AS_LOG is defined.)
-#ifndef GTMSESSION_ASSERT_DEBUG_OR_LOG
- #if DEBUG && !GTMSESSION_ASSERT_AS_LOG
- #define GTMSESSION_ASSERT_DEBUG_OR_LOG(...) NSAssert(__VA_ARGS__)
- #else
- #define GTMSESSION_ASSERT_DEBUG_OR_LOG(pred, ...) if (!(pred)) { NSLog(__VA_ARGS__); }
- #endif
-#endif
-
-// Macro useful for examining messages from NSURLSession during debugging.
-#if 0
-#define GTM_LOG_SESSION_DELEGATE(...) GTMSESSION_LOG_DEBUG(__VA_ARGS__)
-#else
-#define GTM_LOG_SESSION_DELEGATE(...)
-#endif
-
-#ifndef GTM_NULLABLE
- #if __has_feature(nullability) // Available starting in Xcode 6.3
- #define GTM_NULLABLE_TYPE __nullable
- #define GTM_NONNULL_TYPE __nonnull
- #define GTM_NULLABLE nullable
- #define GTM_NONNULL_DECL nonnull // GTM_NONNULL is used by GTMDefines.h
- #define GTM_NULL_RESETTABLE null_resettable
-
- #define GTM_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_BEGIN
- #define GTM_ASSUME_NONNULL_END NS_ASSUME_NONNULL_END
- #else
- #define GTM_NULLABLE_TYPE
- #define GTM_NONNULL_TYPE
- #define GTM_NULLABLE
- #define GTM_NONNULL_DECL
- #define GTM_NULL_RESETTABLE
- #define GTM_ASSUME_NONNULL_BEGIN
- #define GTM_ASSUME_NONNULL_END
- #endif // __has_feature(nullability)
-#endif // GTM_NULLABLE
-
-#if (TARGET_OS_TV \
- || TARGET_OS_WATCH \
- || (!TARGET_OS_IPHONE && defined(MAC_OS_X_VERSION_10_12) && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_12) \
- || (TARGET_OS_IPHONE && defined(__IPHONE_10_0) && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0))
-#define GTMSESSION_DEPRECATE_ON_2016_SDKS(_MSG) __attribute__((deprecated("" _MSG)))
-#else
-#define GTMSESSION_DEPRECATE_ON_2016_SDKS(_MSG)
-#endif
-
-#ifndef GTM_DECLARE_GENERICS
- #if __has_feature(objc_generics)
- #define GTM_DECLARE_GENERICS 1
- #else
- #define GTM_DECLARE_GENERICS 0
- #endif
-#endif
-
-#ifndef GTM_NSArrayOf
- #if GTM_DECLARE_GENERICS
- #define GTM_NSArrayOf(value) NSArray
- #define GTM_NSDictionaryOf(key, value) NSDictionary
- #else
- #define GTM_NSArrayOf(value) NSArray
- #define GTM_NSDictionaryOf(key, value) NSDictionary
- #endif // __has_feature(objc_generics)
-#endif // GTM_NSArrayOf
-
-// For iOS, the fetcher can declare itself a background task to allow fetches
-// to finish when the app leaves the foreground.
-//
-// (This is unrelated to providing a background configuration, which allows
-// out-of-process uploads and downloads.)
-//
-// To disallow use of background tasks during fetches, the target should define
-// GTM_BACKGROUND_TASK_FETCHING to 0, or alternatively may set the
-// skipBackgroundTask property to YES.
-#if TARGET_OS_IPHONE && !TARGET_OS_WATCH && !defined(GTM_BACKGROUND_TASK_FETCHING)
- #define GTM_BACKGROUND_TASK_FETCHING 1
-#endif
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#if (TARGET_OS_TV \
- || TARGET_OS_WATCH \
- || (!TARGET_OS_IPHONE && defined(MAC_OS_X_VERSION_10_11) && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_11) \
- || (TARGET_OS_IPHONE && defined(__IPHONE_9_0) && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_9_0))
- #ifndef GTM_USE_SESSION_FETCHER
- #define GTM_USE_SESSION_FETCHER 1
- #endif
-#endif
-
-#if !defined(GTMBridgeFetcher)
- // These bridge macros should be identical in GTMHTTPFetcher.h and GTMSessionFetcher.h
- #if GTM_USE_SESSION_FETCHER
- // Macros to new fetcher class.
- #define GTMBridgeFetcher GTMSessionFetcher
- #define GTMBridgeFetcherService GTMSessionFetcherService
- #define GTMBridgeFetcherServiceProtocol GTMSessionFetcherServiceProtocol
- #define GTMBridgeAssertValidSelector GTMSessionFetcherAssertValidSelector
- #define GTMBridgeCookieStorage GTMSessionCookieStorage
- #define GTMBridgeCleanedUserAgentString GTMFetcherCleanedUserAgentString
- #define GTMBridgeSystemVersionString GTMFetcherSystemVersionString
- #define GTMBridgeApplicationIdentifier GTMFetcherApplicationIdentifier
- #define kGTMBridgeFetcherStatusDomain kGTMSessionFetcherStatusDomain
- #define kGTMBridgeFetcherStatusBadRequest GTMSessionFetcherStatusBadRequest
- #else
- // Macros to old fetcher class.
- #define GTMBridgeFetcher GTMHTTPFetcher
- #define GTMBridgeFetcherService GTMHTTPFetcherService
- #define GTMBridgeFetcherServiceProtocol GTMHTTPFetcherServiceProtocol
- #define GTMBridgeAssertValidSelector GTMAssertSelectorNilOrImplementedWithArgs
- #define GTMBridgeCookieStorage GTMCookieStorage
- #define GTMBridgeCleanedUserAgentString GTMCleanedUserAgentString
- #define GTMBridgeSystemVersionString GTMSystemVersionString
- #define GTMBridgeApplicationIdentifier GTMApplicationIdentifier
- #define kGTMBridgeFetcherStatusDomain kGTMHTTPFetcherStatusDomain
- #define kGTMBridgeFetcherStatusBadRequest kGTMHTTPFetcherStatusBadRequest
- #endif // GTM_USE_SESSION_FETCHER
-#endif
-
-GTM_ASSUME_NONNULL_BEGIN
-
-// Notifications
-//
-// Fetch started and stopped, and fetch retry delay started and stopped.
-extern NSString *const kGTMSessionFetcherStartedNotification;
-extern NSString *const kGTMSessionFetcherStoppedNotification;
-extern NSString *const kGTMSessionFetcherRetryDelayStartedNotification;
-extern NSString *const kGTMSessionFetcherRetryDelayStoppedNotification;
-
-// Completion handler notification. This is intended for use by code capturing
-// and replaying fetch requests and results for testing. For fetches where
-// destinationFileURL or accumulateDataBlock is set for the fetcher, the data
-// will be nil for successful fetches.
-//
-// This notification is posted on the main thread.
-extern NSString *const kGTMSessionFetcherCompletionInvokedNotification;
-extern NSString *const kGTMSessionFetcherCompletionDataKey;
-extern NSString *const kGTMSessionFetcherCompletionErrorKey;
-
-// Constants for NSErrors created by the fetcher (excluding server status errors,
-// and error objects originating in the OS.)
-extern NSString *const kGTMSessionFetcherErrorDomain;
-
-// The fetcher turns server error status values (3XX, 4XX, 5XX) into NSErrors
-// with domain kGTMSessionFetcherStatusDomain.
-//
-// Any server response body data accompanying the status error is added to the
-// userInfo dictionary with key kGTMSessionFetcherStatusDataKey.
-extern NSString *const kGTMSessionFetcherStatusDomain;
-extern NSString *const kGTMSessionFetcherStatusDataKey;
-extern NSString *const kGTMSessionFetcherStatusDataContentTypeKey;
-
-// When a fetch fails with an error, these keys are included in the error userInfo
-// dictionary if retries were attempted.
-extern NSString *const kGTMSessionFetcherNumberOfRetriesDoneKey;
-extern NSString *const kGTMSessionFetcherElapsedIntervalWithRetriesKey;
-
-// Background session support requires access to NSUserDefaults.
-// If [NSUserDefaults standardUserDefaults] doesn't yield the correct NSUserDefaults for your usage,
-// ie for an App Extension, then implement this class/method to return the correct NSUserDefaults.
-// https://developer.apple.com/library/ios/documentation/General/Conceptual/ExtensibilityPG/ExtensionScenarios.html#//apple_ref/doc/uid/TP40014214-CH21-SW6
-@interface GTMSessionFetcherUserDefaultsFactory : NSObject
-
-+ (NSUserDefaults *)fetcherUserDefaults;
-
-@end
-
-#ifdef __cplusplus
-}
-#endif
-
-typedef NS_ENUM(NSInteger, GTMSessionFetcherError) {
- GTMSessionFetcherErrorDownloadFailed = -1,
- GTMSessionFetcherErrorUploadChunkUnavailable = -2,
- GTMSessionFetcherErrorBackgroundExpiration = -3,
- GTMSessionFetcherErrorBackgroundFetchFailed = -4,
- GTMSessionFetcherErrorInsecureRequest = -5,
- GTMSessionFetcherErrorTaskCreationFailed = -6,
-};
-
-typedef NS_ENUM(NSInteger, GTMSessionFetcherStatus) {
- // Standard http status codes.
- GTMSessionFetcherStatusNotModified = 304,
- GTMSessionFetcherStatusBadRequest = 400,
- GTMSessionFetcherStatusUnauthorized = 401,
- GTMSessionFetcherStatusForbidden = 403,
- GTMSessionFetcherStatusPreconditionFailed = 412
-};
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-@class GTMSessionCookieStorage;
-@class GTMSessionFetcher;
-
-// The configuration block is for modifying the NSURLSessionConfiguration only.
-// DO NOT change any fetcher properties in the configuration block.
-typedef void (^GTMSessionFetcherConfigurationBlock)(GTMSessionFetcher *fetcher,
- NSURLSessionConfiguration *configuration);
-typedef void (^GTMSessionFetcherSystemCompletionHandler)(void);
-typedef void (^GTMSessionFetcherCompletionHandler)(NSData * GTM_NULLABLE_TYPE data,
- NSError * GTM_NULLABLE_TYPE error);
-typedef void (^GTMSessionFetcherBodyStreamProviderResponse)(NSInputStream *bodyStream);
-typedef void (^GTMSessionFetcherBodyStreamProvider)(GTMSessionFetcherBodyStreamProviderResponse response);
-typedef void (^GTMSessionFetcherDidReceiveResponseDispositionBlock)(NSURLSessionResponseDisposition disposition);
-typedef void (^GTMSessionFetcherDidReceiveResponseBlock)(NSURLResponse *response,
- GTMSessionFetcherDidReceiveResponseDispositionBlock dispositionBlock);
-typedef void (^GTMSessionFetcherChallengeDispositionBlock)(NSURLSessionAuthChallengeDisposition disposition,
- NSURLCredential * GTM_NULLABLE_TYPE credential);
-typedef void (^GTMSessionFetcherChallengeBlock)(GTMSessionFetcher *fetcher,
- NSURLAuthenticationChallenge *challenge,
- GTMSessionFetcherChallengeDispositionBlock dispositionBlock);
-typedef void (^GTMSessionFetcherWillRedirectResponse)(NSURLRequest * GTM_NULLABLE_TYPE redirectedRequest);
-typedef void (^GTMSessionFetcherWillRedirectBlock)(NSHTTPURLResponse *redirectResponse,
- NSURLRequest *redirectRequest,
- GTMSessionFetcherWillRedirectResponse response);
-typedef void (^GTMSessionFetcherAccumulateDataBlock)(NSData * GTM_NULLABLE_TYPE buffer);
-typedef void (^GTMSessionFetcherSimulateByteTransferBlock)(NSData * GTM_NULLABLE_TYPE buffer,
- int64_t bytesWritten,
- int64_t totalBytesWritten,
- int64_t totalBytesExpectedToWrite);
-typedef void (^GTMSessionFetcherReceivedProgressBlock)(int64_t bytesWritten,
- int64_t totalBytesWritten);
-typedef void (^GTMSessionFetcherDownloadProgressBlock)(int64_t bytesWritten,
- int64_t totalBytesWritten,
- int64_t totalBytesExpectedToWrite);
-typedef void (^GTMSessionFetcherSendProgressBlock)(int64_t bytesSent,
- int64_t totalBytesSent,
- int64_t totalBytesExpectedToSend);
-typedef void (^GTMSessionFetcherWillCacheURLResponseResponse)(NSCachedURLResponse * GTM_NULLABLE_TYPE cachedResponse);
-typedef void (^GTMSessionFetcherWillCacheURLResponseBlock)(NSCachedURLResponse *proposedResponse,
- GTMSessionFetcherWillCacheURLResponseResponse responseBlock);
-typedef void (^GTMSessionFetcherRetryResponse)(BOOL shouldRetry);
-typedef void (^GTMSessionFetcherRetryBlock)(BOOL suggestedWillRetry,
- NSError * GTM_NULLABLE_TYPE error,
- GTMSessionFetcherRetryResponse response);
-
-typedef void (^GTMSessionFetcherTestResponse)(NSHTTPURLResponse * GTM_NULLABLE_TYPE response,
- NSData * GTM_NULLABLE_TYPE data,
- NSError * GTM_NULLABLE_TYPE error);
-typedef void (^GTMSessionFetcherTestBlock)(GTMSessionFetcher *fetcherToTest,
- GTMSessionFetcherTestResponse testResponse);
-
-void GTMSessionFetcherAssertValidSelector(id GTM_NULLABLE_TYPE obj, SEL GTM_NULLABLE_TYPE sel, ...);
-
-// Utility functions for applications self-identifying to servers via a
-// user-agent header
-
-// The "standard" user agent includes the application identifier, taken from the bundle,
-// followed by a space and the system version string. Pass nil to use +mainBundle as the source
-// of the bundle identifier.
-//
-// Applications may use this as a starting point for their own user agent strings, perhaps
-// with additional sections appended. Use GTMFetcherCleanedUserAgentString() below to
-// clean up any string being added to the user agent.
-NSString *GTMFetcherStandardUserAgentString(NSBundle * GTM_NULLABLE_TYPE bundle);
-
-// Make a generic name and version for the current application, like
-// com.example.MyApp/1.2.3 relying on the bundle identifier and the
-// CFBundleShortVersionString or CFBundleVersion.
-//
-// The bundle ID may be overridden as the base identifier string by
-// adding to the bundle's Info.plist a "GTMUserAgentID" key.
-//
-// If no bundle ID or override is available, the process name preceded
-// by "proc_" is used.
-NSString *GTMFetcherApplicationIdentifier(NSBundle * GTM_NULLABLE_TYPE bundle);
-
-// Make an identifier like "MacOSX/10.7.1" or "iPod_Touch/4.1 hw/iPod1_1"
-NSString *GTMFetcherSystemVersionString(void);
-
-// Make a parseable user-agent identifier from the given string, replacing whitespace
-// and commas with underscores, and removing other characters that may interfere
-// with parsing of the full user-agent string.
-//
-// For example, @"[My App]" would become @"My_App"
-NSString *GTMFetcherCleanedUserAgentString(NSString *str);
-
-// Grab the data from an input stream. Since streams cannot be assumed to be rewindable,
-// this may be destructive; the caller can try to rewind the stream (by setting the
-// NSStreamFileCurrentOffsetKey property) or can just use the NSData to make a new
-// NSInputStream. This function is intended to facilitate testing rather than be used in
-// production.
-//
-// This function operates synchronously on the current thread. Depending on how the
-// input stream is implemented, it may be appropriate to dispatch to a different
-// queue before calling this function.
-//
-// Failure is indicated by a returned data value of nil.
-NSData * GTM_NULLABLE_TYPE GTMDataFromInputStream(NSInputStream *inputStream, NSError **outError);
-
-#ifdef __cplusplus
-} // extern "C"
-#endif
-
-
-#if !GTM_USE_SESSION_FETCHER
-@protocol GTMHTTPFetcherServiceProtocol;
-#endif
-
-// This protocol allows abstract references to the fetcher service, primarily for
-// fetchers (which may be compiled without the fetcher service class present.)
-//
-// Apps should not need to use this protocol.
-@protocol GTMSessionFetcherServiceProtocol
-// This protocol allows us to call into the service without requiring
-// GTMSessionFetcherService sources in this project
-
-@property(atomic, strong) dispatch_queue_t callbackQueue;
-
-- (BOOL)fetcherShouldBeginFetching:(GTMSessionFetcher *)fetcher;
-- (void)fetcherDidCreateSession:(GTMSessionFetcher *)fetcher;
-- (void)fetcherDidBeginFetching:(GTMSessionFetcher *)fetcher;
-- (void)fetcherDidStop:(GTMSessionFetcher *)fetcher;
-
-- (GTMSessionFetcher *)fetcherWithRequest:(NSURLRequest *)request;
-- (BOOL)isDelayingFetcher:(GTMSessionFetcher *)fetcher;
-
-@property(atomic, assign) BOOL reuseSession;
-- (GTM_NULLABLE NSURLSession *)session;
-- (GTM_NULLABLE NSURLSession *)sessionForFetcherCreation;
-- (GTM_NULLABLE id)sessionDelegate;
-- (GTM_NULLABLE NSDate *)stoppedAllFetchersDate;
-
-// Methods for compatibility with the old GTMHTTPFetcher.
-@property(readonly, strong, GTM_NULLABLE) NSOperationQueue *delegateQueue;
-
-@end // @protocol GTMSessionFetcherServiceProtocol
-
-#ifndef GTM_FETCHER_AUTHORIZATION_PROTOCOL
-#define GTM_FETCHER_AUTHORIZATION_PROTOCOL 1
-@protocol GTMFetcherAuthorizationProtocol