diff --git a/ios/manifest b/ios/manifest index 6444d01..a85f651 100644 --- a/ios/manifest +++ b/ios/manifest @@ -2,7 +2,7 @@ # this is your module manifest and used by Titanium # during compilation, packaging, distribution, etc. # -version: 6.3.0 +version: 7.0.0 apiversion: 2 architectures: arm64 x86_64 description: titanium-firebase-analytics @@ -16,4 +16,4 @@ name: titanium-firebase-analytics moduleid: firebase.analytics guid: 9800b2f6-460e-4caa-bf9a-35b206c5d3af platform: iphone -minsdk: 9.2.0 +minsdk: 10.0.0 diff --git a/ios/platform/FirebaseAnalytics.xcframework/Info.plist b/ios/platform/FirebaseAnalytics.xcframework/Info.plist index d7a97ad..10a7f22 100644 --- a/ios/platform/FirebaseAnalytics.xcframework/Info.plist +++ b/ios/platform/FirebaseAnalytics.xcframework/Info.plist @@ -6,64 +6,63 @@ LibraryIdentifier - macos-arm64_x86_64 + ios-arm64_i386_x86_64-simulator LibraryPath FirebaseAnalytics.framework SupportedArchitectures arm64 + i386 x86_64 SupportedPlatform - macos + ios + SupportedPlatformVariant + simulator LibraryIdentifier - ios-arm64_i386_x86_64-simulator + tvos-arm64_x86_64-simulator LibraryPath FirebaseAnalytics.framework SupportedArchitectures arm64 - i386 x86_64 SupportedPlatform - ios + tvos SupportedPlatformVariant simulator LibraryIdentifier - ios-arm64_armv7 + tvos-arm64 LibraryPath FirebaseAnalytics.framework SupportedArchitectures arm64 - armv7 SupportedPlatform - ios + tvos LibraryIdentifier - tvos-arm64_x86_64-simulator + ios-arm64_armv7 LibraryPath FirebaseAnalytics.framework SupportedArchitectures arm64 - x86_64 + armv7 SupportedPlatform - tvos - SupportedPlatformVariant - simulator + ios LibraryIdentifier - ios-arm64_x86_64-maccatalyst + macos-arm64_x86_64 LibraryPath FirebaseAnalytics.framework SupportedArchitectures @@ -72,21 +71,22 @@ x86_64 SupportedPlatform - ios - SupportedPlatformVariant - maccatalyst + macos LibraryIdentifier - tvos-arm64 + ios-arm64_x86_64-maccatalyst LibraryPath FirebaseAnalytics.framework SupportedArchitectures arm64 + x86_64 SupportedPlatform - tvos + ios + SupportedPlatformVariant + maccatalyst CFBundlePackageType diff --git a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_armv7/FirebaseAnalytics.framework/FirebaseAnalytics b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_armv7/FirebaseAnalytics.framework/FirebaseAnalytics index 49453ae..0aea2b7 100644 Binary files a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_armv7/FirebaseAnalytics.framework/FirebaseAnalytics and b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_armv7/FirebaseAnalytics.framework/FirebaseAnalytics differ diff --git a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_armv7/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_armv7/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h index e10c4c6..cb1e407 100644 --- a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_armv7/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h +++ b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_armv7/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h @@ -4,57 +4,77 @@ NS_ASSUME_NONNULL_BEGIN -/** - * Provides App Delegate handlers to be used in your App Delegate. - * - * To save time integrating Firebase Analytics in an application, Firebase Analytics does not - * require delegation implementation from the AppDelegate. Instead this is automatically done by - * Firebase Analytics. Should you choose instead to delegate manually, you can turn off the App - * Delegate Proxy by adding FirebaseAppDelegateProxyEnabled into your app's Info.plist and setting - * it to NO, and adding the methods in this category to corresponding delegation handlers. - * - * To handle Universal Links, you must return `true` in - * UIApplicationDelegate.application(_:didFinishLaunchingWithOptions:). - */ +/// Provides App Delegate handlers to be used in your App Delegate. +/// +/// To save time integrating Firebase Analytics in an application, Firebase Analytics does not +/// require delegation implementation from the AppDelegate if neither SwiftUI nor UIScene lifecycle +/// is adopted. Instead this is automatically done by Firebase Analytics. Should you choose instead +/// to delegate manually, you can turn off the App Delegate Proxy by adding +/// FirebaseAppDelegateProxyEnabled into your app's Info.plist and setting it to boolean `NO`, and +/// adding the methods in this category to corresponding delegation handlers. +/// +/// To handle Universal Links, you must return `true` in +/// `UIApplicationDelegate.application(_:didFinishLaunchingWithOptions:)`. @interface FIRAnalytics (AppDelegate) -/** - * Handles events related to a URL session that are waiting to be processed. - * - * For optimal use of Firebase Analytics, call this method from the - * UIApplicationDelegate.application(_:handleEventsForBackgroundURLSession:completionHandler:) - * method of the app delegate in your app. - * - * @param identifier The identifier of the URL session requiring attention. - * @param completionHandler The completion handler to call when you finish processing the events. - * Calling this completion handler lets the system know that your app's user interface is - * updated and a new snapshot can be taken. - */ +/// Handles events related to a URL session that are waiting to be processed. +/// +/// 1. If SwiftUI lifecycle is adopted, call this method from +/// `UIApplicationDelegate.application(_:handleEventsForBackgroundURLSession:completionHandler:)` +/// in your app delegate. +/// +/// 2. If SwiftUI lifecycle is not adopted, Firebase Analytics does not require delegation +/// implementation from the AppDelegate. If you choose instead to delegate manually, you can set +/// FirebaseAppDelegateProxyEnabled to boolean `NO` in your app's Info.plist and call this method +/// from +/// `UIApplicationDelegate.application(_:handleEventsForBackgroundURLSession:completionHandler:)` +/// in your app delegate. +/// +/// @param identifier The identifier of the URL session requiring attention. +/// @param completionHandler The completion handler to call when you finish processing the events. +/// Calling this completion handler lets the system know that your app's user interface is +/// updated and a new snapshot can be taken. + (void)handleEventsForBackgroundURLSession:(NSString *)identifier completionHandler:(nullable void (^)(void))completionHandler; -/** - * Handles the event when the app is launched by a URL. - * - * Call this method from UIApplicationDelegate.application(_:open:options:) in your app. - * - * @param url The URL resource to open. This resource can be a network resource or a file. - */ +/// Handles the event when the app is launched by a URL (custom URL scheme or universal link). +/// +/// 1. If SwiftUI lifecycle is adopted, use `onOpenURL(perform:)` to register a handler and call +/// this method in the handler. +/// +/// 2. If UIScene lifecycle is adopted, call this method from +/// `UISceneDelegate.scene(_:willConnectTo:options:)` and +/// `UISceneDelegate.scene(_:openURLContexts:)` when the URL contexts are available. +/// +/// 3. If neither SwiftUI nor UIScene lifecycle is adopted, Firebase Analytics does not require +/// delegation implementation from the AppDelegate. If you choose instead to delegate manually, you +/// can set FirebaseAppDelegateProxyEnabled to boolean `NO` in your app's Info.plist and call this +/// method from `UIApplicationDelegate.application(_:open:options:)` in your app delegate. +/// +/// @param url The URL resource to open. This resource can be a network resource or a file. + (void)handleOpenURL:(NSURL *)url; -/** - * Handles the event when the app receives data associated with user activity that includes a - * Universal Link. - * - * Call this method from UIApplication.application(_:continue:restorationHandler:) in your app - * delegate. - * - * @param userActivity The activity object containing the data associated with the task the user - * was performing. - */ +/// Handles the event when the app receives data associated with user activity that includes a +/// Universal Link. +/// +/// 1. If SwiftUI lifecycle is adopted, use `onOpenURL(perform:)` to register a handler and call +/// `Analytics.handleOpen(_:)` instead in the handler. +/// +/// 2. If UIScene lifecycle is adopted, call this method from +/// `UISceneDelegate.scene(_:willConnectTo:options:)` and `UISceneDelegate.scene(_:continue:)` when +/// NSUserActivity is available. See the [Apple +/// doc](https://developer.apple.com/documentation/xcode/supporting-universal-links-in-your-app) for +/// more details. +/// +/// 3. If neither SwiftUI nor UIScene lifecycle is adopted, Firebase Analytics does not require +/// delegation implementation from the AppDelegate. If you choose instead to delegate manually, you +/// can set FirebaseAppDelegateProxyEnabled to boolean `NO` in your app's Info.plist and call this +/// method from `UIApplication.application(_:continue:restorationHandler:)` in your app delegate. +/// +/// @param userActivity The activity object containing the data associated with the task the user +/// was performing. + (void)handleUserActivity:(id)userActivity; @end NS_ASSUME_NONNULL_END - diff --git a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_armv7/FirebaseAnalytics.framework/Headers/FIRAnalytics+OnDevice.h b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_armv7/FirebaseAnalytics.framework/Headers/FIRAnalytics+OnDevice.h new file mode 100644 index 0000000..1d9a438 --- /dev/null +++ b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_armv7/FirebaseAnalytics.framework/Headers/FIRAnalytics+OnDevice.h @@ -0,0 +1,19 @@ +#import + +#import "FIRAnalytics.h" + +NS_ASSUME_NONNULL_BEGIN + +API_UNAVAILABLE(macCatalyst, macos, tvos, watchos) +@interface FIRAnalytics (OnDevice) + +/// Initiates on-device conversion measurement given a user email address. Requires dependency +/// GoogleAppMeasurementOnDeviceConversion to be linked in, otherwise it is a no-op. +/// @param emailAddress User email address. Include a domain name for all email addresses +/// (e.g. gmail.com or hotmail.co.jp). ++ (void)initiateOnDeviceConversionMeasurementWithEmailAddress:(NSString *)emailAddress + NS_SWIFT_NAME(initiateOnDeviceConversionMeasurement(emailAddress:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_armv7/FirebaseAnalytics.framework/Headers/FIRAnalytics.h b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_armv7/FirebaseAnalytics.framework/Headers/FIRAnalytics.h index fda8279..7521d85 100644 --- a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_armv7/FirebaseAnalytics.framework/Headers/FIRAnalytics.h +++ b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_armv7/FirebaseAnalytics.framework/Headers/FIRAnalytics.h @@ -110,6 +110,20 @@ NS_SWIFT_NAME(Analytics) /// session terminates. + (void)setSessionTimeoutInterval:(NSTimeInterval)sessionTimeoutInterval; +/// Asynchronously retrieves the identifier of the current app session. +/// +/// The session ID retrieval could fail due to Analytics collection disabled, app session expired, +/// etc. +/// +/// @param completion The completion handler to call when the session ID retrieval is complete. This +/// handler is executed on a system-defined global concurrent queue. +/// This completion handler takes the following parameters: +/// sessionID The identifier of the current app session. The value is undefined if the +/// request failed. +/// error An error object that indicates why the request failed, or `nil` if the request +/// was successful. ++ (void)sessionIDWithCompletion:(void (^)(int64_t sessionID, NSError *_Nullable error))completion; + /// Returns the unique ID for this instance of the application or `nil` if /// `ConsentType.analyticsStorage` has been set to `ConsentStatus.denied`. /// @@ -129,7 +143,7 @@ NS_SWIFT_NAME(Analytics) /// @param parameters Parameters to be added to the dictionary of parameters added to every event. /// They will be added to the dictionary of default event parameters, replacing any existing /// parameter with the same name. Valid parameters are String, Int, and Double. Setting a key's -/// value to NSNull() will clear that parameter. Passing in a `nil` dictionary will clear all +/// value to `NSNull()` will clear that parameter. Passing in a `nil` dictionary will clear all /// parameters. + (void)setDefaultEventParameters:(nullable NSDictionary *)parameters; diff --git a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_armv7/FirebaseAnalytics.framework/Headers/FIREventNames.h b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_armv7/FirebaseAnalytics.framework/Headers/FIREventNames.h index 5b17193..60168c6 100644 --- a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_armv7/FirebaseAnalytics.framework/Headers/FIREventNames.h +++ b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_armv7/FirebaseAnalytics.framework/Headers/FIREventNames.h @@ -124,16 +124,6 @@ static NSString *const kFIREventBeginCheckout NS_SWIFT_NAME(AnalyticsEventBeginC static NSString *const kFIREventCampaignDetails NS_SWIFT_NAME(AnalyticsEventCampaignDetails) = @"campaign_details"; -/// Checkout progress. Params: -/// -/// -/// This constant has been deprecated. -static NSString *const kFIREventCheckoutProgress NS_SWIFT_NAME(AnalyticsEventCheckoutProgress) = - @"checkout_progress"; - /// Earn Virtual Currency event. This event tracks the awarding of virtual currency in your app. Log /// this along with @c AnalyticsEventSpendVirtualCurrency to better understand your virtual economy. /// Params: @@ -145,33 +135,6 @@ static NSString *const kFIREventCheckoutProgress NS_SWIFT_NAME(AnalyticsEventChe static NSString *const kFIREventEarnVirtualCurrency NS_SWIFT_NAME(AnalyticsEventEarnVirtualCurrency) = @"earn_virtual_currency"; -/// E-Commerce Purchase event. This event signifies that an item was purchased by a user. Note: -/// This is different from the in-app purchase event, which is reported automatically for App -/// Store-based apps. Note: If you supply the @c AnalyticsParameterValue parameter, you must also -/// supply the @c AnalyticsParameterCurrency parameter so that revenue metrics can be computed -/// accurately. Params: -/// -/// -/// This constant has been deprecated. Use @c AnalyticsEventPurchase constant instead. -static NSString *const kFIREventEcommercePurchase NS_SWIFT_NAME(AnalyticsEventEcommercePurchase) = - @"ecommerce_purchase"; - /// Generate Lead event. Log this event when a lead has been generated in the app to understand the /// efficacy of your install and re-engagement campaigns. Note: If you supply the /// @c AnalyticsParameterValue parameter, you must also supply the @c AnalyticsParameterCurrency @@ -232,26 +195,6 @@ static NSString *const kFIREventLogin NS_SWIFT_NAME(AnalyticsEventLogin) = @"log /// static NSString *const kFIREventPostScore NS_SWIFT_NAME(AnalyticsEventPostScore) = @"post_score"; -/// Present Offer event. This event signifies that the app has presented a purchase offer to a user. -/// Add this event to a funnel with the @c AnalyticsEventAddToCart and @c -/// AnalyticsEventEcommercePurchase to gauge your conversion process. Note: If you supply the @c -/// AnalyticsParameterValue parameter, you must also supply the @c AnalyticsParameterCurrency -/// parameter so that revenue metrics can be computed accurately. Params: -/// -/// -/// This constant has been deprecated. Use @c AnalyticsEventViewPromotion constant instead. -static NSString *const kFIREventPresentOffer NS_SWIFT_NAME(AnalyticsEventPresentOffer) = - @"present_offer"; - /// E-Commerce Purchase event. This event signifies that an item(s) was purchased by a user. Note: /// This is different from the in-app purchase event, which is reported automatically for App /// Store-based apps. Note: If you supply the @c AnalyticsParameterValue parameter, you must also @@ -270,20 +213,6 @@ static NSString *const kFIREventPresentOffer NS_SWIFT_NAME(AnalyticsEventPresent /// static NSString *const kFIREventPurchase NS_SWIFT_NAME(AnalyticsEventPurchase) = @"purchase"; -/// E-Commerce Purchase Refund event. This event signifies that an item purchase was refunded. -/// Note: If you supply the @c AnalyticsParameterValue parameter, you must also supply the -/// @c AnalyticsParameterCurrency parameter so that revenue metrics can be computed accurately. -/// Params: -/// -/// -/// This constant has been deprecated. Use @c AnalyticsEventRefund constant instead. -static NSString *const kFIREventPurchaseRefund NS_SWIFT_NAME(AnalyticsEventPurchaseRefund) = - @"purchase_refund"; - /// E-Commerce Refund event. This event signifies that a refund was issued. Note: If you supply the /// @c AnalyticsParameterValue parameter, you must also supply the @c AnalyticsParameterCurrency /// parameter so that revenue metrics can be computed accurately. Params: @@ -375,16 +304,6 @@ static NSString *const kFIREventSelectItem NS_SWIFT_NAME(AnalyticsEventSelectIte static NSString *const kFIREventSelectPromotion NS_SWIFT_NAME(AnalyticsEventSelectPromotion) = @"select_promotion"; -/// Set checkout option. Params: -/// -/// -/// This constant has been deprecated. -static NSString *const kFIREventSetCheckoutOption NS_SWIFT_NAME(AnalyticsEventSetCheckoutOption) = - @"set_checkout_option"; - /// Share event. Apps with social features can log the Share event to identify the most viral /// content. Params: /// @@ -399,7 +318,7 @@ static NSString *const kFIREventShare NS_SWIFT_NAME(AnalyticsEventShare) = @"sha /// different behaviors between logged in and logged out users. Params: /// /// static NSString *const kFIREventSignUp NS_SWIFT_NAME(AnalyticsEventSignUp) = @"sign_up"; diff --git a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_armv7/FirebaseAnalytics.framework/Headers/FIRParameterNames.h b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_armv7/FirebaseAnalytics.framework/Headers/FIRParameterNames.h index 1e77b9d..b80cb0d 100644 --- a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_armv7/FirebaseAnalytics.framework/Headers/FIRParameterNames.h +++ b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_armv7/FirebaseAnalytics.framework/Headers/FIRParameterNames.h @@ -126,28 +126,6 @@ static NSString *const kFIRParameterCampaignID NS_SWIFT_NAME(AnalyticsParameterC static NSString *const kFIRParameterCharacter NS_SWIFT_NAME(AnalyticsParameterCharacter) = @"character"; -/// Some option on a step in an ecommerce flow (String). -///
-///     let params = [
-///       AnalyticsParameterCheckoutOption : "Visa",
-///       // ...
-///     ]
-/// 
-/// This constant has been deprecated. -static NSString *const kFIRParameterCheckoutOption - NS_SWIFT_NAME(AnalyticsParameterCheckoutOption) = @"checkout_option"; - -/// The checkout step (1..N) (Int). -///
-///     let params = [
-///       AnalyticsParameterCheckoutStep : 1,
-///       // ...
-///     ]
-/// 
-/// This constant has been deprecated. -static NSString *const kFIRParameterCheckoutStep NS_SWIFT_NAME(AnalyticsParameterCheckoutStep) = - @"checkout_step"; - /// Campaign content (String). static NSString *const kFIRParameterContent NS_SWIFT_NAME(AnalyticsParameterContent) = @"content"; @@ -352,17 +330,6 @@ static NSString *const kFIRParameterItemCategory5 NS_SWIFT_NAME(AnalyticsParamet /// static NSString *const kFIRParameterItemID NS_SWIFT_NAME(AnalyticsParameterItemID) = @"item_id"; -/// The list in which the item was presented to the user (String). -///
-///     let params = [
-///       AnalyticsParameterItemList : "Search Results",
-///       // ...
-///     ]
-/// 
-/// This constant has been deprecated. Use @c AnalyticsParameterItemListName instead. -static NSString *const kFIRParameterItemList NS_SWIFT_NAME(AnalyticsParameterItemList) = - @"item_list"; - /// The ID of the list in which the item was presented to the user (String). ///
 ///     let params = [
@@ -383,18 +350,6 @@ static NSString *const kFIRParameterItemListID NS_SWIFT_NAME(AnalyticsParameterI
 static NSString *const kFIRParameterItemListName NS_SWIFT_NAME(AnalyticsParameterItemListName) =
     @"item_list_name";
 
-/// The Google Place ID (String) that
-/// corresponds to the associated item. Alternatively, you can supply your own custom Location ID.
-/// 
-///     let params = [
-///       AnalyticsParameterItemLocationID : "ChIJiyj437sx3YAR9kUWC8QkLzQ",
-///       // ...
-///     ]
-/// 
-/// This constant has been deprecated. Use @c AnalyticsParameterLocationID constant instead. -static NSString *const kFIRParameterItemLocationID - NS_SWIFT_NAME(AnalyticsParameterItemLocationID) = @"item_location_id"; - /// Item Name (context-specific) (String). ///
 ///     let params = [
@@ -652,18 +607,6 @@ static NSString *const kFIRParameterShipping NS_SWIFT_NAME(AnalyticsParameterShi
 static NSString *const kFIRParameterShippingTier NS_SWIFT_NAME(AnalyticsParameterShippingTier) =
     @"shipping_tier";
 
-/// Sign up method (String).
-/// 
-///     let params = [
-///       AnalyticsParameterSignUpMethod : "google",
-///       // ...
-///     ]
-/// 
-/// -/// This constant has been deprecated. Use Method constant instead. -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 (String). diff --git a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_armv7/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-umbrella.h b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_armv7/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-umbrella.h new file mode 100644 index 0000000..ad84fbb --- /dev/null +++ b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_armv7/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-umbrella.h @@ -0,0 +1,24 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRAnalytics+AppDelegate.h" +#import "FIRAnalytics+Consent.h" +#import "FIRAnalytics+OnDevice.h" +#import "FIRAnalytics.h" +#import "FirebaseAnalytics.h" +#import "FIREventNames.h" +#import "FIRParameterNames.h" +#import "FIRUserPropertyNames.h" + +FOUNDATION_EXPORT double FirebaseAnalyticsVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseAnalyticsVersionString[]; + diff --git a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_armv7/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_armv7/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h index 368f79c..351da20 100644 --- a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_armv7/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h +++ b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_armv7/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h @@ -1,5 +1,6 @@ #import "FIRAnalytics+AppDelegate.h" #import "FIRAnalytics+Consent.h" +#import "FIRAnalytics+OnDevice.h" #import "FIRAnalytics.h" #import "FIREventNames.h" #import "FIRParameterNames.h" diff --git a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_armv7/FirebaseAnalytics.framework/Info.plist b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_armv7/FirebaseAnalytics.framework/Info.plist index 1f2a53b..c693b5a 100644 --- a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_armv7/FirebaseAnalytics.framework/Info.plist +++ b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_armv7/FirebaseAnalytics.framework/Info.plist @@ -13,7 +13,7 @@ CFBundlePackageType FMWK CFBundleVersion - 8.15.0 + 9.6.0 DTSDKName iphonesimulator11.2 diff --git a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_armv7/FirebaseAnalytics.framework/Modules/module.modulemap b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_armv7/FirebaseAnalytics.framework/Modules/module.modulemap index aa72782..bb0a969 100644 --- a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_armv7/FirebaseAnalytics.framework/Modules/module.modulemap +++ b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_armv7/FirebaseAnalytics.framework/Modules/module.modulemap @@ -1,5 +1,5 @@ framework module FirebaseAnalytics { -umbrella header "FirebaseAnalytics.h" +umbrella header "FirebaseAnalytics-umbrella.h" export * module * { export * } link framework "CoreTelephony" diff --git a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/FirebaseAnalytics.framework/FirebaseAnalytics b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/FirebaseAnalytics.framework/FirebaseAnalytics index d69adc2..3410126 100644 Binary files a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/FirebaseAnalytics.framework/FirebaseAnalytics and b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/FirebaseAnalytics.framework/FirebaseAnalytics differ diff --git a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h index e10c4c6..cb1e407 100644 --- a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h +++ b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h @@ -4,57 +4,77 @@ NS_ASSUME_NONNULL_BEGIN -/** - * Provides App Delegate handlers to be used in your App Delegate. - * - * To save time integrating Firebase Analytics in an application, Firebase Analytics does not - * require delegation implementation from the AppDelegate. Instead this is automatically done by - * Firebase Analytics. Should you choose instead to delegate manually, you can turn off the App - * Delegate Proxy by adding FirebaseAppDelegateProxyEnabled into your app's Info.plist and setting - * it to NO, and adding the methods in this category to corresponding delegation handlers. - * - * To handle Universal Links, you must return `true` in - * UIApplicationDelegate.application(_:didFinishLaunchingWithOptions:). - */ +/// Provides App Delegate handlers to be used in your App Delegate. +/// +/// To save time integrating Firebase Analytics in an application, Firebase Analytics does not +/// require delegation implementation from the AppDelegate if neither SwiftUI nor UIScene lifecycle +/// is adopted. Instead this is automatically done by Firebase Analytics. Should you choose instead +/// to delegate manually, you can turn off the App Delegate Proxy by adding +/// FirebaseAppDelegateProxyEnabled into your app's Info.plist and setting it to boolean `NO`, and +/// adding the methods in this category to corresponding delegation handlers. +/// +/// To handle Universal Links, you must return `true` in +/// `UIApplicationDelegate.application(_:didFinishLaunchingWithOptions:)`. @interface FIRAnalytics (AppDelegate) -/** - * Handles events related to a URL session that are waiting to be processed. - * - * For optimal use of Firebase Analytics, call this method from the - * UIApplicationDelegate.application(_:handleEventsForBackgroundURLSession:completionHandler:) - * method of the app delegate in your app. - * - * @param identifier The identifier of the URL session requiring attention. - * @param completionHandler The completion handler to call when you finish processing the events. - * Calling this completion handler lets the system know that your app's user interface is - * updated and a new snapshot can be taken. - */ +/// Handles events related to a URL session that are waiting to be processed. +/// +/// 1. If SwiftUI lifecycle is adopted, call this method from +/// `UIApplicationDelegate.application(_:handleEventsForBackgroundURLSession:completionHandler:)` +/// in your app delegate. +/// +/// 2. If SwiftUI lifecycle is not adopted, Firebase Analytics does not require delegation +/// implementation from the AppDelegate. If you choose instead to delegate manually, you can set +/// FirebaseAppDelegateProxyEnabled to boolean `NO` in your app's Info.plist and call this method +/// from +/// `UIApplicationDelegate.application(_:handleEventsForBackgroundURLSession:completionHandler:)` +/// in your app delegate. +/// +/// @param identifier The identifier of the URL session requiring attention. +/// @param completionHandler The completion handler to call when you finish processing the events. +/// Calling this completion handler lets the system know that your app's user interface is +/// updated and a new snapshot can be taken. + (void)handleEventsForBackgroundURLSession:(NSString *)identifier completionHandler:(nullable void (^)(void))completionHandler; -/** - * Handles the event when the app is launched by a URL. - * - * Call this method from UIApplicationDelegate.application(_:open:options:) in your app. - * - * @param url The URL resource to open. This resource can be a network resource or a file. - */ +/// Handles the event when the app is launched by a URL (custom URL scheme or universal link). +/// +/// 1. If SwiftUI lifecycle is adopted, use `onOpenURL(perform:)` to register a handler and call +/// this method in the handler. +/// +/// 2. If UIScene lifecycle is adopted, call this method from +/// `UISceneDelegate.scene(_:willConnectTo:options:)` and +/// `UISceneDelegate.scene(_:openURLContexts:)` when the URL contexts are available. +/// +/// 3. If neither SwiftUI nor UIScene lifecycle is adopted, Firebase Analytics does not require +/// delegation implementation from the AppDelegate. If you choose instead to delegate manually, you +/// can set FirebaseAppDelegateProxyEnabled to boolean `NO` in your app's Info.plist and call this +/// method from `UIApplicationDelegate.application(_:open:options:)` in your app delegate. +/// +/// @param url The URL resource to open. This resource can be a network resource or a file. + (void)handleOpenURL:(NSURL *)url; -/** - * Handles the event when the app receives data associated with user activity that includes a - * Universal Link. - * - * Call this method from UIApplication.application(_:continue:restorationHandler:) in your app - * delegate. - * - * @param userActivity The activity object containing the data associated with the task the user - * was performing. - */ +/// Handles the event when the app receives data associated with user activity that includes a +/// Universal Link. +/// +/// 1. If SwiftUI lifecycle is adopted, use `onOpenURL(perform:)` to register a handler and call +/// `Analytics.handleOpen(_:)` instead in the handler. +/// +/// 2. If UIScene lifecycle is adopted, call this method from +/// `UISceneDelegate.scene(_:willConnectTo:options:)` and `UISceneDelegate.scene(_:continue:)` when +/// NSUserActivity is available. See the [Apple +/// doc](https://developer.apple.com/documentation/xcode/supporting-universal-links-in-your-app) for +/// more details. +/// +/// 3. If neither SwiftUI nor UIScene lifecycle is adopted, Firebase Analytics does not require +/// delegation implementation from the AppDelegate. If you choose instead to delegate manually, you +/// can set FirebaseAppDelegateProxyEnabled to boolean `NO` in your app's Info.plist and call this +/// method from `UIApplication.application(_:continue:restorationHandler:)` in your app delegate. +/// +/// @param userActivity The activity object containing the data associated with the task the user +/// was performing. + (void)handleUserActivity:(id)userActivity; @end NS_ASSUME_NONNULL_END - diff --git a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+OnDevice.h b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+OnDevice.h new file mode 100644 index 0000000..1d9a438 --- /dev/null +++ b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+OnDevice.h @@ -0,0 +1,19 @@ +#import + +#import "FIRAnalytics.h" + +NS_ASSUME_NONNULL_BEGIN + +API_UNAVAILABLE(macCatalyst, macos, tvos, watchos) +@interface FIRAnalytics (OnDevice) + +/// Initiates on-device conversion measurement given a user email address. Requires dependency +/// GoogleAppMeasurementOnDeviceConversion to be linked in, otherwise it is a no-op. +/// @param emailAddress User email address. Include a domain name for all email addresses +/// (e.g. gmail.com or hotmail.co.jp). ++ (void)initiateOnDeviceConversionMeasurementWithEmailAddress:(NSString *)emailAddress + NS_SWIFT_NAME(initiateOnDeviceConversionMeasurement(emailAddress:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics.h b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics.h index fda8279..7521d85 100644 --- a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics.h +++ b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics.h @@ -110,6 +110,20 @@ NS_SWIFT_NAME(Analytics) /// session terminates. + (void)setSessionTimeoutInterval:(NSTimeInterval)sessionTimeoutInterval; +/// Asynchronously retrieves the identifier of the current app session. +/// +/// The session ID retrieval could fail due to Analytics collection disabled, app session expired, +/// etc. +/// +/// @param completion The completion handler to call when the session ID retrieval is complete. This +/// handler is executed on a system-defined global concurrent queue. +/// This completion handler takes the following parameters: +/// sessionID The identifier of the current app session. The value is undefined if the +/// request failed. +/// error An error object that indicates why the request failed, or `nil` if the request +/// was successful. ++ (void)sessionIDWithCompletion:(void (^)(int64_t sessionID, NSError *_Nullable error))completion; + /// Returns the unique ID for this instance of the application or `nil` if /// `ConsentType.analyticsStorage` has been set to `ConsentStatus.denied`. /// @@ -129,7 +143,7 @@ NS_SWIFT_NAME(Analytics) /// @param parameters Parameters to be added to the dictionary of parameters added to every event. /// They will be added to the dictionary of default event parameters, replacing any existing /// parameter with the same name. Valid parameters are String, Int, and Double. Setting a key's -/// value to NSNull() will clear that parameter. Passing in a `nil` dictionary will clear all +/// value to `NSNull()` will clear that parameter. Passing in a `nil` dictionary will clear all /// parameters. + (void)setDefaultEventParameters:(nullable NSDictionary *)parameters; diff --git a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIREventNames.h b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIREventNames.h index 5b17193..60168c6 100644 --- a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIREventNames.h +++ b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIREventNames.h @@ -124,16 +124,6 @@ static NSString *const kFIREventBeginCheckout NS_SWIFT_NAME(AnalyticsEventBeginC static NSString *const kFIREventCampaignDetails NS_SWIFT_NAME(AnalyticsEventCampaignDetails) = @"campaign_details"; -/// Checkout progress. Params: -/// -///
    -///
  • @c AnalyticsParameterCheckoutStep (Int)
  • -///
  • @c AnalyticsParameterCheckoutOption (String) (optional)
  • -///
-/// This constant has been deprecated. -static NSString *const kFIREventCheckoutProgress NS_SWIFT_NAME(AnalyticsEventCheckoutProgress) = - @"checkout_progress"; - /// Earn Virtual Currency event. This event tracks the awarding of virtual currency in your app. Log /// this along with @c AnalyticsEventSpendVirtualCurrency to better understand your virtual economy. /// Params: @@ -145,33 +135,6 @@ static NSString *const kFIREventCheckoutProgress NS_SWIFT_NAME(AnalyticsEventChe static NSString *const kFIREventEarnVirtualCurrency NS_SWIFT_NAME(AnalyticsEventEarnVirtualCurrency) = @"earn_virtual_currency"; -/// E-Commerce Purchase event. This event signifies that an item was purchased by a user. Note: -/// This is different from the in-app purchase event, which is reported automatically for App -/// Store-based apps. Note: If you supply the @c AnalyticsParameterValue parameter, you must also -/// supply the @c AnalyticsParameterCurrency parameter so that revenue metrics can be computed -/// accurately. Params: -/// -///
    -///
  • @c AnalyticsParameterCurrency (String) (optional)
  • -///
  • @c AnalyticsParameterValue (Double) (optional)
  • -///
  • @c AnalyticsParameterTransactionID (String) (optional)
  • -///
  • @c AnalyticsParameterTax (Double) (optional)
  • -///
  • @c AnalyticsParameterShipping (Double) (optional)
  • -///
  • @c AnalyticsParameterCoupon (String) (optional)
  • -///
  • @c AnalyticsParameterLocation (String) (optional)
  • -///
  • @c AnalyticsParameterStartDate (String) (optional)
  • -///
  • @c AnalyticsParameterEndDate (String) (optional)
  • -///
  • @c AnalyticsParameterNumberOfNights (Int) (optional) for hotel bookings
  • -///
  • @c AnalyticsParameterNumberOfRooms (Int) (optional) for hotel bookings
  • -///
  • @c AnalyticsParameterNumberOfPassengers (Int) (optional) for travel bookings
  • -///
  • @c AnalyticsParameterOrigin (String) (optional)
  • -///
  • @c AnalyticsParameterDestination (String) (optional)
  • -///
  • @c AnalyticsParameterTravelClass (String) (optional) for travel bookings
  • -///
-/// This constant has been deprecated. Use @c AnalyticsEventPurchase constant instead. -static NSString *const kFIREventEcommercePurchase NS_SWIFT_NAME(AnalyticsEventEcommercePurchase) = - @"ecommerce_purchase"; - /// Generate Lead event. Log this event when a lead has been generated in the app to understand the /// efficacy of your install and re-engagement campaigns. Note: If you supply the /// @c AnalyticsParameterValue parameter, you must also supply the @c AnalyticsParameterCurrency @@ -232,26 +195,6 @@ static NSString *const kFIREventLogin NS_SWIFT_NAME(AnalyticsEventLogin) = @"log /// static NSString *const kFIREventPostScore NS_SWIFT_NAME(AnalyticsEventPostScore) = @"post_score"; -/// Present Offer event. This event signifies that the app has presented a purchase offer to a user. -/// Add this event to a funnel with the @c AnalyticsEventAddToCart and @c -/// AnalyticsEventEcommercePurchase to gauge your conversion process. Note: If you supply the @c -/// AnalyticsParameterValue parameter, you must also supply the @c AnalyticsParameterCurrency -/// parameter so that revenue metrics can be computed accurately. Params: -/// -///
    -///
  • @c AnalyticsParameterQuantity (Int)
  • -///
  • @c AnalyticsParameterItemID (String)
  • -///
  • @c AnalyticsParameterItemName (String)
  • -///
  • @c AnalyticsParameterItemCategory (String)
  • -///
  • @c AnalyticsParameterItemLocationID (String) (optional)
  • -///
  • @c AnalyticsParameterPrice (Double) (optional)
  • -///
  • @c AnalyticsParameterCurrency (String) (optional)
  • -///
  • @c AnalyticsParameterValue (Double) (optional)
  • -///
-/// This constant has been deprecated. Use @c AnalyticsEventViewPromotion constant instead. -static NSString *const kFIREventPresentOffer NS_SWIFT_NAME(AnalyticsEventPresentOffer) = - @"present_offer"; - /// E-Commerce Purchase event. This event signifies that an item(s) was purchased by a user. Note: /// This is different from the in-app purchase event, which is reported automatically for App /// Store-based apps. Note: If you supply the @c AnalyticsParameterValue parameter, you must also @@ -270,20 +213,6 @@ static NSString *const kFIREventPresentOffer NS_SWIFT_NAME(AnalyticsEventPresent /// static NSString *const kFIREventPurchase NS_SWIFT_NAME(AnalyticsEventPurchase) = @"purchase"; -/// E-Commerce Purchase Refund event. This event signifies that an item purchase was refunded. -/// Note: If you supply the @c AnalyticsParameterValue parameter, you must also supply the -/// @c AnalyticsParameterCurrency parameter so that revenue metrics can be computed accurately. -/// Params: -/// -///
    -///
  • @c AnalyticsParameterCurrency (String) (optional)
  • -///
  • @c AnalyticsParameterValue (Double) (optional)
  • -///
  • @c AnalyticsParameterTransactionID (String) (optional)
  • -///
-/// This constant has been deprecated. Use @c AnalyticsEventRefund constant instead. -static NSString *const kFIREventPurchaseRefund NS_SWIFT_NAME(AnalyticsEventPurchaseRefund) = - @"purchase_refund"; - /// E-Commerce Refund event. This event signifies that a refund was issued. Note: If you supply the /// @c AnalyticsParameterValue parameter, you must also supply the @c AnalyticsParameterCurrency /// parameter so that revenue metrics can be computed accurately. Params: @@ -375,16 +304,6 @@ static NSString *const kFIREventSelectItem NS_SWIFT_NAME(AnalyticsEventSelectIte static NSString *const kFIREventSelectPromotion NS_SWIFT_NAME(AnalyticsEventSelectPromotion) = @"select_promotion"; -/// Set checkout option. Params: -/// -///
    -///
  • @c AnalyticsParameterCheckoutStep (Int)
  • -///
  • @c AnalyticsParameterCheckoutOption (String)
  • -///
-/// This constant has been deprecated. -static NSString *const kFIREventSetCheckoutOption NS_SWIFT_NAME(AnalyticsEventSetCheckoutOption) = - @"set_checkout_option"; - /// Share event. Apps with social features can log the Share event to identify the most viral /// content. Params: /// @@ -399,7 +318,7 @@ static NSString *const kFIREventShare NS_SWIFT_NAME(AnalyticsEventShare) = @"sha /// different behaviors between logged in and logged out users. Params: /// ///
    -///
  • @c AnalyticsParameterSignUpMethod (String)
  • +///
  • @c AnalyticsParameterMethod (String)
  • ///
static NSString *const kFIREventSignUp NS_SWIFT_NAME(AnalyticsEventSignUp) = @"sign_up"; diff --git a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRParameterNames.h b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRParameterNames.h index 1e77b9d..b80cb0d 100644 --- a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRParameterNames.h +++ b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRParameterNames.h @@ -126,28 +126,6 @@ static NSString *const kFIRParameterCampaignID NS_SWIFT_NAME(AnalyticsParameterC static NSString *const kFIRParameterCharacter NS_SWIFT_NAME(AnalyticsParameterCharacter) = @"character"; -/// Some option on a step in an ecommerce flow (String). -///
-///     let params = [
-///       AnalyticsParameterCheckoutOption : "Visa",
-///       // ...
-///     ]
-/// 
-/// This constant has been deprecated. -static NSString *const kFIRParameterCheckoutOption - NS_SWIFT_NAME(AnalyticsParameterCheckoutOption) = @"checkout_option"; - -/// The checkout step (1..N) (Int). -///
-///     let params = [
-///       AnalyticsParameterCheckoutStep : 1,
-///       // ...
-///     ]
-/// 
-/// This constant has been deprecated. -static NSString *const kFIRParameterCheckoutStep NS_SWIFT_NAME(AnalyticsParameterCheckoutStep) = - @"checkout_step"; - /// Campaign content (String). static NSString *const kFIRParameterContent NS_SWIFT_NAME(AnalyticsParameterContent) = @"content"; @@ -352,17 +330,6 @@ static NSString *const kFIRParameterItemCategory5 NS_SWIFT_NAME(AnalyticsParamet ///
static NSString *const kFIRParameterItemID NS_SWIFT_NAME(AnalyticsParameterItemID) = @"item_id"; -/// The list in which the item was presented to the user (String). -///
-///     let params = [
-///       AnalyticsParameterItemList : "Search Results",
-///       // ...
-///     ]
-/// 
-/// This constant has been deprecated. Use @c AnalyticsParameterItemListName instead. -static NSString *const kFIRParameterItemList NS_SWIFT_NAME(AnalyticsParameterItemList) = - @"item_list"; - /// The ID of the list in which the item was presented to the user (String). ///
 ///     let params = [
@@ -383,18 +350,6 @@ static NSString *const kFIRParameterItemListID NS_SWIFT_NAME(AnalyticsParameterI
 static NSString *const kFIRParameterItemListName NS_SWIFT_NAME(AnalyticsParameterItemListName) =
     @"item_list_name";
 
-/// The Google Place ID (String) that
-/// corresponds to the associated item. Alternatively, you can supply your own custom Location ID.
-/// 
-///     let params = [
-///       AnalyticsParameterItemLocationID : "ChIJiyj437sx3YAR9kUWC8QkLzQ",
-///       // ...
-///     ]
-/// 
-/// This constant has been deprecated. Use @c AnalyticsParameterLocationID constant instead. -static NSString *const kFIRParameterItemLocationID - NS_SWIFT_NAME(AnalyticsParameterItemLocationID) = @"item_location_id"; - /// Item Name (context-specific) (String). ///
 ///     let params = [
@@ -652,18 +607,6 @@ static NSString *const kFIRParameterShipping NS_SWIFT_NAME(AnalyticsParameterShi
 static NSString *const kFIRParameterShippingTier NS_SWIFT_NAME(AnalyticsParameterShippingTier) =
     @"shipping_tier";
 
-/// Sign up method (String).
-/// 
-///     let params = [
-///       AnalyticsParameterSignUpMethod : "google",
-///       // ...
-///     ]
-/// 
-/// -/// This constant has been deprecated. Use Method constant instead. -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 (String). diff --git a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-umbrella.h b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-umbrella.h new file mode 100644 index 0000000..ad84fbb --- /dev/null +++ b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-umbrella.h @@ -0,0 +1,24 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRAnalytics+AppDelegate.h" +#import "FIRAnalytics+Consent.h" +#import "FIRAnalytics+OnDevice.h" +#import "FIRAnalytics.h" +#import "FirebaseAnalytics.h" +#import "FIREventNames.h" +#import "FIRParameterNames.h" +#import "FIRUserPropertyNames.h" + +FOUNDATION_EXPORT double FirebaseAnalyticsVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseAnalyticsVersionString[]; + diff --git a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h index 368f79c..351da20 100644 --- a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h +++ b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h @@ -1,5 +1,6 @@ #import "FIRAnalytics+AppDelegate.h" #import "FIRAnalytics+Consent.h" +#import "FIRAnalytics+OnDevice.h" #import "FIRAnalytics.h" #import "FIREventNames.h" #import "FIRParameterNames.h" diff --git a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/FirebaseAnalytics.framework/Info.plist b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/FirebaseAnalytics.framework/Info.plist index 1f2a53b..c693b5a 100644 --- a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/FirebaseAnalytics.framework/Info.plist +++ b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/FirebaseAnalytics.framework/Info.plist @@ -13,7 +13,7 @@ CFBundlePackageType FMWK CFBundleVersion - 8.15.0 + 9.6.0 DTSDKName iphonesimulator11.2 diff --git a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/FirebaseAnalytics.framework/Modules/module.modulemap b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/FirebaseAnalytics.framework/Modules/module.modulemap index aa72782..bb0a969 100644 --- a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/FirebaseAnalytics.framework/Modules/module.modulemap +++ b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/FirebaseAnalytics.framework/Modules/module.modulemap @@ -1,5 +1,5 @@ framework module FirebaseAnalytics { -umbrella header "FirebaseAnalytics.h" +umbrella header "FirebaseAnalytics-umbrella.h" export * module * { export * } link framework "CoreTelephony" diff --git a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/FirebaseAnalytics b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/FirebaseAnalytics index 729daf0..4f4978b 100644 Binary files a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/FirebaseAnalytics and b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/FirebaseAnalytics differ diff --git a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h index e10c4c6..cb1e407 100644 --- a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h +++ b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h @@ -4,57 +4,77 @@ NS_ASSUME_NONNULL_BEGIN -/** - * Provides App Delegate handlers to be used in your App Delegate. - * - * To save time integrating Firebase Analytics in an application, Firebase Analytics does not - * require delegation implementation from the AppDelegate. Instead this is automatically done by - * Firebase Analytics. Should you choose instead to delegate manually, you can turn off the App - * Delegate Proxy by adding FirebaseAppDelegateProxyEnabled into your app's Info.plist and setting - * it to NO, and adding the methods in this category to corresponding delegation handlers. - * - * To handle Universal Links, you must return `true` in - * UIApplicationDelegate.application(_:didFinishLaunchingWithOptions:). - */ +/// Provides App Delegate handlers to be used in your App Delegate. +/// +/// To save time integrating Firebase Analytics in an application, Firebase Analytics does not +/// require delegation implementation from the AppDelegate if neither SwiftUI nor UIScene lifecycle +/// is adopted. Instead this is automatically done by Firebase Analytics. Should you choose instead +/// to delegate manually, you can turn off the App Delegate Proxy by adding +/// FirebaseAppDelegateProxyEnabled into your app's Info.plist and setting it to boolean `NO`, and +/// adding the methods in this category to corresponding delegation handlers. +/// +/// To handle Universal Links, you must return `true` in +/// `UIApplicationDelegate.application(_:didFinishLaunchingWithOptions:)`. @interface FIRAnalytics (AppDelegate) -/** - * Handles events related to a URL session that are waiting to be processed. - * - * For optimal use of Firebase Analytics, call this method from the - * UIApplicationDelegate.application(_:handleEventsForBackgroundURLSession:completionHandler:) - * method of the app delegate in your app. - * - * @param identifier The identifier of the URL session requiring attention. - * @param completionHandler The completion handler to call when you finish processing the events. - * Calling this completion handler lets the system know that your app's user interface is - * updated and a new snapshot can be taken. - */ +/// Handles events related to a URL session that are waiting to be processed. +/// +/// 1. If SwiftUI lifecycle is adopted, call this method from +/// `UIApplicationDelegate.application(_:handleEventsForBackgroundURLSession:completionHandler:)` +/// in your app delegate. +/// +/// 2. If SwiftUI lifecycle is not adopted, Firebase Analytics does not require delegation +/// implementation from the AppDelegate. If you choose instead to delegate manually, you can set +/// FirebaseAppDelegateProxyEnabled to boolean `NO` in your app's Info.plist and call this method +/// from +/// `UIApplicationDelegate.application(_:handleEventsForBackgroundURLSession:completionHandler:)` +/// in your app delegate. +/// +/// @param identifier The identifier of the URL session requiring attention. +/// @param completionHandler The completion handler to call when you finish processing the events. +/// Calling this completion handler lets the system know that your app's user interface is +/// updated and a new snapshot can be taken. + (void)handleEventsForBackgroundURLSession:(NSString *)identifier completionHandler:(nullable void (^)(void))completionHandler; -/** - * Handles the event when the app is launched by a URL. - * - * Call this method from UIApplicationDelegate.application(_:open:options:) in your app. - * - * @param url The URL resource to open. This resource can be a network resource or a file. - */ +/// Handles the event when the app is launched by a URL (custom URL scheme or universal link). +/// +/// 1. If SwiftUI lifecycle is adopted, use `onOpenURL(perform:)` to register a handler and call +/// this method in the handler. +/// +/// 2. If UIScene lifecycle is adopted, call this method from +/// `UISceneDelegate.scene(_:willConnectTo:options:)` and +/// `UISceneDelegate.scene(_:openURLContexts:)` when the URL contexts are available. +/// +/// 3. If neither SwiftUI nor UIScene lifecycle is adopted, Firebase Analytics does not require +/// delegation implementation from the AppDelegate. If you choose instead to delegate manually, you +/// can set FirebaseAppDelegateProxyEnabled to boolean `NO` in your app's Info.plist and call this +/// method from `UIApplicationDelegate.application(_:open:options:)` in your app delegate. +/// +/// @param url The URL resource to open. This resource can be a network resource or a file. + (void)handleOpenURL:(NSURL *)url; -/** - * Handles the event when the app receives data associated with user activity that includes a - * Universal Link. - * - * Call this method from UIApplication.application(_:continue:restorationHandler:) in your app - * delegate. - * - * @param userActivity The activity object containing the data associated with the task the user - * was performing. - */ +/// Handles the event when the app receives data associated with user activity that includes a +/// Universal Link. +/// +/// 1. If SwiftUI lifecycle is adopted, use `onOpenURL(perform:)` to register a handler and call +/// `Analytics.handleOpen(_:)` instead in the handler. +/// +/// 2. If UIScene lifecycle is adopted, call this method from +/// `UISceneDelegate.scene(_:willConnectTo:options:)` and `UISceneDelegate.scene(_:continue:)` when +/// NSUserActivity is available. See the [Apple +/// doc](https://developer.apple.com/documentation/xcode/supporting-universal-links-in-your-app) for +/// more details. +/// +/// 3. If neither SwiftUI nor UIScene lifecycle is adopted, Firebase Analytics does not require +/// delegation implementation from the AppDelegate. If you choose instead to delegate manually, you +/// can set FirebaseAppDelegateProxyEnabled to boolean `NO` in your app's Info.plist and call this +/// method from `UIApplication.application(_:continue:restorationHandler:)` in your app delegate. +/// +/// @param userActivity The activity object containing the data associated with the task the user +/// was performing. + (void)handleUserActivity:(id)userActivity; @end NS_ASSUME_NONNULL_END - diff --git a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Headers/FIRAnalytics+OnDevice.h b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Headers/FIRAnalytics+OnDevice.h new file mode 100644 index 0000000..1d9a438 --- /dev/null +++ b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Headers/FIRAnalytics+OnDevice.h @@ -0,0 +1,19 @@ +#import + +#import "FIRAnalytics.h" + +NS_ASSUME_NONNULL_BEGIN + +API_UNAVAILABLE(macCatalyst, macos, tvos, watchos) +@interface FIRAnalytics (OnDevice) + +/// Initiates on-device conversion measurement given a user email address. Requires dependency +/// GoogleAppMeasurementOnDeviceConversion to be linked in, otherwise it is a no-op. +/// @param emailAddress User email address. Include a domain name for all email addresses +/// (e.g. gmail.com or hotmail.co.jp). ++ (void)initiateOnDeviceConversionMeasurementWithEmailAddress:(NSString *)emailAddress + NS_SWIFT_NAME(initiateOnDeviceConversionMeasurement(emailAddress:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Headers/FIRAnalytics.h b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Headers/FIRAnalytics.h index fda8279..7521d85 100644 --- a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Headers/FIRAnalytics.h +++ b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Headers/FIRAnalytics.h @@ -110,6 +110,20 @@ NS_SWIFT_NAME(Analytics) /// session terminates. + (void)setSessionTimeoutInterval:(NSTimeInterval)sessionTimeoutInterval; +/// Asynchronously retrieves the identifier of the current app session. +/// +/// The session ID retrieval could fail due to Analytics collection disabled, app session expired, +/// etc. +/// +/// @param completion The completion handler to call when the session ID retrieval is complete. This +/// handler is executed on a system-defined global concurrent queue. +/// This completion handler takes the following parameters: +/// sessionID The identifier of the current app session. The value is undefined if the +/// request failed. +/// error An error object that indicates why the request failed, or `nil` if the request +/// was successful. ++ (void)sessionIDWithCompletion:(void (^)(int64_t sessionID, NSError *_Nullable error))completion; + /// Returns the unique ID for this instance of the application or `nil` if /// `ConsentType.analyticsStorage` has been set to `ConsentStatus.denied`. /// @@ -129,7 +143,7 @@ NS_SWIFT_NAME(Analytics) /// @param parameters Parameters to be added to the dictionary of parameters added to every event. /// They will be added to the dictionary of default event parameters, replacing any existing /// parameter with the same name. Valid parameters are String, Int, and Double. Setting a key's -/// value to NSNull() will clear that parameter. Passing in a `nil` dictionary will clear all +/// value to `NSNull()` will clear that parameter. Passing in a `nil` dictionary will clear all /// parameters. + (void)setDefaultEventParameters:(nullable NSDictionary *)parameters; diff --git a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Headers/FIREventNames.h b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Headers/FIREventNames.h index 5b17193..60168c6 100644 --- a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Headers/FIREventNames.h +++ b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Headers/FIREventNames.h @@ -124,16 +124,6 @@ static NSString *const kFIREventBeginCheckout NS_SWIFT_NAME(AnalyticsEventBeginC static NSString *const kFIREventCampaignDetails NS_SWIFT_NAME(AnalyticsEventCampaignDetails) = @"campaign_details"; -/// Checkout progress. Params: -/// -///
    -///
  • @c AnalyticsParameterCheckoutStep (Int)
  • -///
  • @c AnalyticsParameterCheckoutOption (String) (optional)
  • -///
-/// This constant has been deprecated. -static NSString *const kFIREventCheckoutProgress NS_SWIFT_NAME(AnalyticsEventCheckoutProgress) = - @"checkout_progress"; - /// Earn Virtual Currency event. This event tracks the awarding of virtual currency in your app. Log /// this along with @c AnalyticsEventSpendVirtualCurrency to better understand your virtual economy. /// Params: @@ -145,33 +135,6 @@ static NSString *const kFIREventCheckoutProgress NS_SWIFT_NAME(AnalyticsEventChe static NSString *const kFIREventEarnVirtualCurrency NS_SWIFT_NAME(AnalyticsEventEarnVirtualCurrency) = @"earn_virtual_currency"; -/// E-Commerce Purchase event. This event signifies that an item was purchased by a user. Note: -/// This is different from the in-app purchase event, which is reported automatically for App -/// Store-based apps. Note: If you supply the @c AnalyticsParameterValue parameter, you must also -/// supply the @c AnalyticsParameterCurrency parameter so that revenue metrics can be computed -/// accurately. Params: -/// -///
    -///
  • @c AnalyticsParameterCurrency (String) (optional)
  • -///
  • @c AnalyticsParameterValue (Double) (optional)
  • -///
  • @c AnalyticsParameterTransactionID (String) (optional)
  • -///
  • @c AnalyticsParameterTax (Double) (optional)
  • -///
  • @c AnalyticsParameterShipping (Double) (optional)
  • -///
  • @c AnalyticsParameterCoupon (String) (optional)
  • -///
  • @c AnalyticsParameterLocation (String) (optional)
  • -///
  • @c AnalyticsParameterStartDate (String) (optional)
  • -///
  • @c AnalyticsParameterEndDate (String) (optional)
  • -///
  • @c AnalyticsParameterNumberOfNights (Int) (optional) for hotel bookings
  • -///
  • @c AnalyticsParameterNumberOfRooms (Int) (optional) for hotel bookings
  • -///
  • @c AnalyticsParameterNumberOfPassengers (Int) (optional) for travel bookings
  • -///
  • @c AnalyticsParameterOrigin (String) (optional)
  • -///
  • @c AnalyticsParameterDestination (String) (optional)
  • -///
  • @c AnalyticsParameterTravelClass (String) (optional) for travel bookings
  • -///
-/// This constant has been deprecated. Use @c AnalyticsEventPurchase constant instead. -static NSString *const kFIREventEcommercePurchase NS_SWIFT_NAME(AnalyticsEventEcommercePurchase) = - @"ecommerce_purchase"; - /// Generate Lead event. Log this event when a lead has been generated in the app to understand the /// efficacy of your install and re-engagement campaigns. Note: If you supply the /// @c AnalyticsParameterValue parameter, you must also supply the @c AnalyticsParameterCurrency @@ -232,26 +195,6 @@ static NSString *const kFIREventLogin NS_SWIFT_NAME(AnalyticsEventLogin) = @"log /// static NSString *const kFIREventPostScore NS_SWIFT_NAME(AnalyticsEventPostScore) = @"post_score"; -/// Present Offer event. This event signifies that the app has presented a purchase offer to a user. -/// Add this event to a funnel with the @c AnalyticsEventAddToCart and @c -/// AnalyticsEventEcommercePurchase to gauge your conversion process. Note: If you supply the @c -/// AnalyticsParameterValue parameter, you must also supply the @c AnalyticsParameterCurrency -/// parameter so that revenue metrics can be computed accurately. Params: -/// -///
    -///
  • @c AnalyticsParameterQuantity (Int)
  • -///
  • @c AnalyticsParameterItemID (String)
  • -///
  • @c AnalyticsParameterItemName (String)
  • -///
  • @c AnalyticsParameterItemCategory (String)
  • -///
  • @c AnalyticsParameterItemLocationID (String) (optional)
  • -///
  • @c AnalyticsParameterPrice (Double) (optional)
  • -///
  • @c AnalyticsParameterCurrency (String) (optional)
  • -///
  • @c AnalyticsParameterValue (Double) (optional)
  • -///
-/// This constant has been deprecated. Use @c AnalyticsEventViewPromotion constant instead. -static NSString *const kFIREventPresentOffer NS_SWIFT_NAME(AnalyticsEventPresentOffer) = - @"present_offer"; - /// E-Commerce Purchase event. This event signifies that an item(s) was purchased by a user. Note: /// This is different from the in-app purchase event, which is reported automatically for App /// Store-based apps. Note: If you supply the @c AnalyticsParameterValue parameter, you must also @@ -270,20 +213,6 @@ static NSString *const kFIREventPresentOffer NS_SWIFT_NAME(AnalyticsEventPresent /// static NSString *const kFIREventPurchase NS_SWIFT_NAME(AnalyticsEventPurchase) = @"purchase"; -/// E-Commerce Purchase Refund event. This event signifies that an item purchase was refunded. -/// Note: If you supply the @c AnalyticsParameterValue parameter, you must also supply the -/// @c AnalyticsParameterCurrency parameter so that revenue metrics can be computed accurately. -/// Params: -/// -///
    -///
  • @c AnalyticsParameterCurrency (String) (optional)
  • -///
  • @c AnalyticsParameterValue (Double) (optional)
  • -///
  • @c AnalyticsParameterTransactionID (String) (optional)
  • -///
-/// This constant has been deprecated. Use @c AnalyticsEventRefund constant instead. -static NSString *const kFIREventPurchaseRefund NS_SWIFT_NAME(AnalyticsEventPurchaseRefund) = - @"purchase_refund"; - /// E-Commerce Refund event. This event signifies that a refund was issued. Note: If you supply the /// @c AnalyticsParameterValue parameter, you must also supply the @c AnalyticsParameterCurrency /// parameter so that revenue metrics can be computed accurately. Params: @@ -375,16 +304,6 @@ static NSString *const kFIREventSelectItem NS_SWIFT_NAME(AnalyticsEventSelectIte static NSString *const kFIREventSelectPromotion NS_SWIFT_NAME(AnalyticsEventSelectPromotion) = @"select_promotion"; -/// Set checkout option. Params: -/// -///
    -///
  • @c AnalyticsParameterCheckoutStep (Int)
  • -///
  • @c AnalyticsParameterCheckoutOption (String)
  • -///
-/// This constant has been deprecated. -static NSString *const kFIREventSetCheckoutOption NS_SWIFT_NAME(AnalyticsEventSetCheckoutOption) = - @"set_checkout_option"; - /// Share event. Apps with social features can log the Share event to identify the most viral /// content. Params: /// @@ -399,7 +318,7 @@ static NSString *const kFIREventShare NS_SWIFT_NAME(AnalyticsEventShare) = @"sha /// different behaviors between logged in and logged out users. Params: /// ///
    -///
  • @c AnalyticsParameterSignUpMethod (String)
  • +///
  • @c AnalyticsParameterMethod (String)
  • ///
static NSString *const kFIREventSignUp NS_SWIFT_NAME(AnalyticsEventSignUp) = @"sign_up"; diff --git a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Headers/FIRParameterNames.h b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Headers/FIRParameterNames.h index 1e77b9d..b80cb0d 100644 --- a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Headers/FIRParameterNames.h +++ b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Headers/FIRParameterNames.h @@ -126,28 +126,6 @@ static NSString *const kFIRParameterCampaignID NS_SWIFT_NAME(AnalyticsParameterC static NSString *const kFIRParameterCharacter NS_SWIFT_NAME(AnalyticsParameterCharacter) = @"character"; -/// Some option on a step in an ecommerce flow (String). -///
-///     let params = [
-///       AnalyticsParameterCheckoutOption : "Visa",
-///       // ...
-///     ]
-/// 
-/// This constant has been deprecated. -static NSString *const kFIRParameterCheckoutOption - NS_SWIFT_NAME(AnalyticsParameterCheckoutOption) = @"checkout_option"; - -/// The checkout step (1..N) (Int). -///
-///     let params = [
-///       AnalyticsParameterCheckoutStep : 1,
-///       // ...
-///     ]
-/// 
-/// This constant has been deprecated. -static NSString *const kFIRParameterCheckoutStep NS_SWIFT_NAME(AnalyticsParameterCheckoutStep) = - @"checkout_step"; - /// Campaign content (String). static NSString *const kFIRParameterContent NS_SWIFT_NAME(AnalyticsParameterContent) = @"content"; @@ -352,17 +330,6 @@ static NSString *const kFIRParameterItemCategory5 NS_SWIFT_NAME(AnalyticsParamet ///
static NSString *const kFIRParameterItemID NS_SWIFT_NAME(AnalyticsParameterItemID) = @"item_id"; -/// The list in which the item was presented to the user (String). -///
-///     let params = [
-///       AnalyticsParameterItemList : "Search Results",
-///       // ...
-///     ]
-/// 
-/// This constant has been deprecated. Use @c AnalyticsParameterItemListName instead. -static NSString *const kFIRParameterItemList NS_SWIFT_NAME(AnalyticsParameterItemList) = - @"item_list"; - /// The ID of the list in which the item was presented to the user (String). ///
 ///     let params = [
@@ -383,18 +350,6 @@ static NSString *const kFIRParameterItemListID NS_SWIFT_NAME(AnalyticsParameterI
 static NSString *const kFIRParameterItemListName NS_SWIFT_NAME(AnalyticsParameterItemListName) =
     @"item_list_name";
 
-/// The Google Place ID (String) that
-/// corresponds to the associated item. Alternatively, you can supply your own custom Location ID.
-/// 
-///     let params = [
-///       AnalyticsParameterItemLocationID : "ChIJiyj437sx3YAR9kUWC8QkLzQ",
-///       // ...
-///     ]
-/// 
-/// This constant has been deprecated. Use @c AnalyticsParameterLocationID constant instead. -static NSString *const kFIRParameterItemLocationID - NS_SWIFT_NAME(AnalyticsParameterItemLocationID) = @"item_location_id"; - /// Item Name (context-specific) (String). ///
 ///     let params = [
@@ -652,18 +607,6 @@ static NSString *const kFIRParameterShipping NS_SWIFT_NAME(AnalyticsParameterShi
 static NSString *const kFIRParameterShippingTier NS_SWIFT_NAME(AnalyticsParameterShippingTier) =
     @"shipping_tier";
 
-/// Sign up method (String).
-/// 
-///     let params = [
-///       AnalyticsParameterSignUpMethod : "google",
-///       // ...
-///     ]
-/// 
-/// -/// This constant has been deprecated. Use Method constant instead. -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 (String). diff --git a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-umbrella.h b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-umbrella.h new file mode 100644 index 0000000..ad84fbb --- /dev/null +++ b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-umbrella.h @@ -0,0 +1,24 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRAnalytics+AppDelegate.h" +#import "FIRAnalytics+Consent.h" +#import "FIRAnalytics+OnDevice.h" +#import "FIRAnalytics.h" +#import "FirebaseAnalytics.h" +#import "FIREventNames.h" +#import "FIRParameterNames.h" +#import "FIRUserPropertyNames.h" + +FOUNDATION_EXPORT double FirebaseAnalyticsVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseAnalyticsVersionString[]; + diff --git a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h index 368f79c..351da20 100644 --- a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h +++ b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h @@ -1,5 +1,6 @@ #import "FIRAnalytics+AppDelegate.h" #import "FIRAnalytics+Consent.h" +#import "FIRAnalytics+OnDevice.h" #import "FIRAnalytics.h" #import "FIREventNames.h" #import "FIRParameterNames.h" diff --git a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Info.plist b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Info.plist index 1f2a53b..c693b5a 100644 --- a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Info.plist +++ b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Info.plist @@ -13,7 +13,7 @@ CFBundlePackageType FMWK CFBundleVersion - 8.15.0 + 9.6.0 DTSDKName iphonesimulator11.2 diff --git a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Modules/module.modulemap b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Modules/module.modulemap index aa72782..bb0a969 100644 --- a/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Modules/module.modulemap +++ b/ios/platform/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Modules/module.modulemap @@ -1,5 +1,5 @@ framework module FirebaseAnalytics { -umbrella header "FirebaseAnalytics.h" +umbrella header "FirebaseAnalytics-umbrella.h" export * module * { export * } link framework "CoreTelephony" diff --git a/ios/platform/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/FirebaseAnalytics b/ios/platform/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/FirebaseAnalytics index a18bc86..181b662 100644 Binary files a/ios/platform/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/FirebaseAnalytics and b/ios/platform/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/FirebaseAnalytics differ diff --git a/ios/platform/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h b/ios/platform/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h index e10c4c6..cb1e407 100644 --- a/ios/platform/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h +++ b/ios/platform/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h @@ -4,57 +4,77 @@ NS_ASSUME_NONNULL_BEGIN -/** - * Provides App Delegate handlers to be used in your App Delegate. - * - * To save time integrating Firebase Analytics in an application, Firebase Analytics does not - * require delegation implementation from the AppDelegate. Instead this is automatically done by - * Firebase Analytics. Should you choose instead to delegate manually, you can turn off the App - * Delegate Proxy by adding FirebaseAppDelegateProxyEnabled into your app's Info.plist and setting - * it to NO, and adding the methods in this category to corresponding delegation handlers. - * - * To handle Universal Links, you must return `true` in - * UIApplicationDelegate.application(_:didFinishLaunchingWithOptions:). - */ +/// Provides App Delegate handlers to be used in your App Delegate. +/// +/// To save time integrating Firebase Analytics in an application, Firebase Analytics does not +/// require delegation implementation from the AppDelegate if neither SwiftUI nor UIScene lifecycle +/// is adopted. Instead this is automatically done by Firebase Analytics. Should you choose instead +/// to delegate manually, you can turn off the App Delegate Proxy by adding +/// FirebaseAppDelegateProxyEnabled into your app's Info.plist and setting it to boolean `NO`, and +/// adding the methods in this category to corresponding delegation handlers. +/// +/// To handle Universal Links, you must return `true` in +/// `UIApplicationDelegate.application(_:didFinishLaunchingWithOptions:)`. @interface FIRAnalytics (AppDelegate) -/** - * Handles events related to a URL session that are waiting to be processed. - * - * For optimal use of Firebase Analytics, call this method from the - * UIApplicationDelegate.application(_:handleEventsForBackgroundURLSession:completionHandler:) - * method of the app delegate in your app. - * - * @param identifier The identifier of the URL session requiring attention. - * @param completionHandler The completion handler to call when you finish processing the events. - * Calling this completion handler lets the system know that your app's user interface is - * updated and a new snapshot can be taken. - */ +/// Handles events related to a URL session that are waiting to be processed. +/// +/// 1. If SwiftUI lifecycle is adopted, call this method from +/// `UIApplicationDelegate.application(_:handleEventsForBackgroundURLSession:completionHandler:)` +/// in your app delegate. +/// +/// 2. If SwiftUI lifecycle is not adopted, Firebase Analytics does not require delegation +/// implementation from the AppDelegate. If you choose instead to delegate manually, you can set +/// FirebaseAppDelegateProxyEnabled to boolean `NO` in your app's Info.plist and call this method +/// from +/// `UIApplicationDelegate.application(_:handleEventsForBackgroundURLSession:completionHandler:)` +/// in your app delegate. +/// +/// @param identifier The identifier of the URL session requiring attention. +/// @param completionHandler The completion handler to call when you finish processing the events. +/// Calling this completion handler lets the system know that your app's user interface is +/// updated and a new snapshot can be taken. + (void)handleEventsForBackgroundURLSession:(NSString *)identifier completionHandler:(nullable void (^)(void))completionHandler; -/** - * Handles the event when the app is launched by a URL. - * - * Call this method from UIApplicationDelegate.application(_:open:options:) in your app. - * - * @param url The URL resource to open. This resource can be a network resource or a file. - */ +/// Handles the event when the app is launched by a URL (custom URL scheme or universal link). +/// +/// 1. If SwiftUI lifecycle is adopted, use `onOpenURL(perform:)` to register a handler and call +/// this method in the handler. +/// +/// 2. If UIScene lifecycle is adopted, call this method from +/// `UISceneDelegate.scene(_:willConnectTo:options:)` and +/// `UISceneDelegate.scene(_:openURLContexts:)` when the URL contexts are available. +/// +/// 3. If neither SwiftUI nor UIScene lifecycle is adopted, Firebase Analytics does not require +/// delegation implementation from the AppDelegate. If you choose instead to delegate manually, you +/// can set FirebaseAppDelegateProxyEnabled to boolean `NO` in your app's Info.plist and call this +/// method from `UIApplicationDelegate.application(_:open:options:)` in your app delegate. +/// +/// @param url The URL resource to open. This resource can be a network resource or a file. + (void)handleOpenURL:(NSURL *)url; -/** - * Handles the event when the app receives data associated with user activity that includes a - * Universal Link. - * - * Call this method from UIApplication.application(_:continue:restorationHandler:) in your app - * delegate. - * - * @param userActivity The activity object containing the data associated with the task the user - * was performing. - */ +/// Handles the event when the app receives data associated with user activity that includes a +/// Universal Link. +/// +/// 1. If SwiftUI lifecycle is adopted, use `onOpenURL(perform:)` to register a handler and call +/// `Analytics.handleOpen(_:)` instead in the handler. +/// +/// 2. If UIScene lifecycle is adopted, call this method from +/// `UISceneDelegate.scene(_:willConnectTo:options:)` and `UISceneDelegate.scene(_:continue:)` when +/// NSUserActivity is available. See the [Apple +/// doc](https://developer.apple.com/documentation/xcode/supporting-universal-links-in-your-app) for +/// more details. +/// +/// 3. If neither SwiftUI nor UIScene lifecycle is adopted, Firebase Analytics does not require +/// delegation implementation from the AppDelegate. If you choose instead to delegate manually, you +/// can set FirebaseAppDelegateProxyEnabled to boolean `NO` in your app's Info.plist and call this +/// method from `UIApplication.application(_:continue:restorationHandler:)` in your app delegate. +/// +/// @param userActivity The activity object containing the data associated with the task the user +/// was performing. + (void)handleUserActivity:(id)userActivity; @end NS_ASSUME_NONNULL_END - diff --git a/ios/platform/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Headers/FIRAnalytics+OnDevice.h b/ios/platform/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Headers/FIRAnalytics+OnDevice.h new file mode 100644 index 0000000..1d9a438 --- /dev/null +++ b/ios/platform/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Headers/FIRAnalytics+OnDevice.h @@ -0,0 +1,19 @@ +#import + +#import "FIRAnalytics.h" + +NS_ASSUME_NONNULL_BEGIN + +API_UNAVAILABLE(macCatalyst, macos, tvos, watchos) +@interface FIRAnalytics (OnDevice) + +/// Initiates on-device conversion measurement given a user email address. Requires dependency +/// GoogleAppMeasurementOnDeviceConversion to be linked in, otherwise it is a no-op. +/// @param emailAddress User email address. Include a domain name for all email addresses +/// (e.g. gmail.com or hotmail.co.jp). ++ (void)initiateOnDeviceConversionMeasurementWithEmailAddress:(NSString *)emailAddress + NS_SWIFT_NAME(initiateOnDeviceConversionMeasurement(emailAddress:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/ios/platform/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Headers/FIRAnalytics.h b/ios/platform/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Headers/FIRAnalytics.h index fda8279..7521d85 100644 --- a/ios/platform/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Headers/FIRAnalytics.h +++ b/ios/platform/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Headers/FIRAnalytics.h @@ -110,6 +110,20 @@ NS_SWIFT_NAME(Analytics) /// session terminates. + (void)setSessionTimeoutInterval:(NSTimeInterval)sessionTimeoutInterval; +/// Asynchronously retrieves the identifier of the current app session. +/// +/// The session ID retrieval could fail due to Analytics collection disabled, app session expired, +/// etc. +/// +/// @param completion The completion handler to call when the session ID retrieval is complete. This +/// handler is executed on a system-defined global concurrent queue. +/// This completion handler takes the following parameters: +/// sessionID The identifier of the current app session. The value is undefined if the +/// request failed. +/// error An error object that indicates why the request failed, or `nil` if the request +/// was successful. ++ (void)sessionIDWithCompletion:(void (^)(int64_t sessionID, NSError *_Nullable error))completion; + /// Returns the unique ID for this instance of the application or `nil` if /// `ConsentType.analyticsStorage` has been set to `ConsentStatus.denied`. /// @@ -129,7 +143,7 @@ NS_SWIFT_NAME(Analytics) /// @param parameters Parameters to be added to the dictionary of parameters added to every event. /// They will be added to the dictionary of default event parameters, replacing any existing /// parameter with the same name. Valid parameters are String, Int, and Double. Setting a key's -/// value to NSNull() will clear that parameter. Passing in a `nil` dictionary will clear all +/// value to `NSNull()` will clear that parameter. Passing in a `nil` dictionary will clear all /// parameters. + (void)setDefaultEventParameters:(nullable NSDictionary *)parameters; diff --git a/ios/platform/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Headers/FIREventNames.h b/ios/platform/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Headers/FIREventNames.h index 5b17193..60168c6 100644 --- a/ios/platform/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Headers/FIREventNames.h +++ b/ios/platform/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Headers/FIREventNames.h @@ -124,16 +124,6 @@ static NSString *const kFIREventBeginCheckout NS_SWIFT_NAME(AnalyticsEventBeginC static NSString *const kFIREventCampaignDetails NS_SWIFT_NAME(AnalyticsEventCampaignDetails) = @"campaign_details"; -/// Checkout progress. Params: -/// -///
    -///
  • @c AnalyticsParameterCheckoutStep (Int)
  • -///
  • @c AnalyticsParameterCheckoutOption (String) (optional)
  • -///
-/// This constant has been deprecated. -static NSString *const kFIREventCheckoutProgress NS_SWIFT_NAME(AnalyticsEventCheckoutProgress) = - @"checkout_progress"; - /// Earn Virtual Currency event. This event tracks the awarding of virtual currency in your app. Log /// this along with @c AnalyticsEventSpendVirtualCurrency to better understand your virtual economy. /// Params: @@ -145,33 +135,6 @@ static NSString *const kFIREventCheckoutProgress NS_SWIFT_NAME(AnalyticsEventChe static NSString *const kFIREventEarnVirtualCurrency NS_SWIFT_NAME(AnalyticsEventEarnVirtualCurrency) = @"earn_virtual_currency"; -/// E-Commerce Purchase event. This event signifies that an item was purchased by a user. Note: -/// This is different from the in-app purchase event, which is reported automatically for App -/// Store-based apps. Note: If you supply the @c AnalyticsParameterValue parameter, you must also -/// supply the @c AnalyticsParameterCurrency parameter so that revenue metrics can be computed -/// accurately. Params: -/// -///
    -///
  • @c AnalyticsParameterCurrency (String) (optional)
  • -///
  • @c AnalyticsParameterValue (Double) (optional)
  • -///
  • @c AnalyticsParameterTransactionID (String) (optional)
  • -///
  • @c AnalyticsParameterTax (Double) (optional)
  • -///
  • @c AnalyticsParameterShipping (Double) (optional)
  • -///
  • @c AnalyticsParameterCoupon (String) (optional)
  • -///
  • @c AnalyticsParameterLocation (String) (optional)
  • -///
  • @c AnalyticsParameterStartDate (String) (optional)
  • -///
  • @c AnalyticsParameterEndDate (String) (optional)
  • -///
  • @c AnalyticsParameterNumberOfNights (Int) (optional) for hotel bookings
  • -///
  • @c AnalyticsParameterNumberOfRooms (Int) (optional) for hotel bookings
  • -///
  • @c AnalyticsParameterNumberOfPassengers (Int) (optional) for travel bookings
  • -///
  • @c AnalyticsParameterOrigin (String) (optional)
  • -///
  • @c AnalyticsParameterDestination (String) (optional)
  • -///
  • @c AnalyticsParameterTravelClass (String) (optional) for travel bookings
  • -///
-/// This constant has been deprecated. Use @c AnalyticsEventPurchase constant instead. -static NSString *const kFIREventEcommercePurchase NS_SWIFT_NAME(AnalyticsEventEcommercePurchase) = - @"ecommerce_purchase"; - /// Generate Lead event. Log this event when a lead has been generated in the app to understand the /// efficacy of your install and re-engagement campaigns. Note: If you supply the /// @c AnalyticsParameterValue parameter, you must also supply the @c AnalyticsParameterCurrency @@ -232,26 +195,6 @@ static NSString *const kFIREventLogin NS_SWIFT_NAME(AnalyticsEventLogin) = @"log /// static NSString *const kFIREventPostScore NS_SWIFT_NAME(AnalyticsEventPostScore) = @"post_score"; -/// Present Offer event. This event signifies that the app has presented a purchase offer to a user. -/// Add this event to a funnel with the @c AnalyticsEventAddToCart and @c -/// AnalyticsEventEcommercePurchase to gauge your conversion process. Note: If you supply the @c -/// AnalyticsParameterValue parameter, you must also supply the @c AnalyticsParameterCurrency -/// parameter so that revenue metrics can be computed accurately. Params: -/// -///
    -///
  • @c AnalyticsParameterQuantity (Int)
  • -///
  • @c AnalyticsParameterItemID (String)
  • -///
  • @c AnalyticsParameterItemName (String)
  • -///
  • @c AnalyticsParameterItemCategory (String)
  • -///
  • @c AnalyticsParameterItemLocationID (String) (optional)
  • -///
  • @c AnalyticsParameterPrice (Double) (optional)
  • -///
  • @c AnalyticsParameterCurrency (String) (optional)
  • -///
  • @c AnalyticsParameterValue (Double) (optional)
  • -///
-/// This constant has been deprecated. Use @c AnalyticsEventViewPromotion constant instead. -static NSString *const kFIREventPresentOffer NS_SWIFT_NAME(AnalyticsEventPresentOffer) = - @"present_offer"; - /// E-Commerce Purchase event. This event signifies that an item(s) was purchased by a user. Note: /// This is different from the in-app purchase event, which is reported automatically for App /// Store-based apps. Note: If you supply the @c AnalyticsParameterValue parameter, you must also @@ -270,20 +213,6 @@ static NSString *const kFIREventPresentOffer NS_SWIFT_NAME(AnalyticsEventPresent /// static NSString *const kFIREventPurchase NS_SWIFT_NAME(AnalyticsEventPurchase) = @"purchase"; -/// E-Commerce Purchase Refund event. This event signifies that an item purchase was refunded. -/// Note: If you supply the @c AnalyticsParameterValue parameter, you must also supply the -/// @c AnalyticsParameterCurrency parameter so that revenue metrics can be computed accurately. -/// Params: -/// -///
    -///
  • @c AnalyticsParameterCurrency (String) (optional)
  • -///
  • @c AnalyticsParameterValue (Double) (optional)
  • -///
  • @c AnalyticsParameterTransactionID (String) (optional)
  • -///
-/// This constant has been deprecated. Use @c AnalyticsEventRefund constant instead. -static NSString *const kFIREventPurchaseRefund NS_SWIFT_NAME(AnalyticsEventPurchaseRefund) = - @"purchase_refund"; - /// E-Commerce Refund event. This event signifies that a refund was issued. Note: If you supply the /// @c AnalyticsParameterValue parameter, you must also supply the @c AnalyticsParameterCurrency /// parameter so that revenue metrics can be computed accurately. Params: @@ -375,16 +304,6 @@ static NSString *const kFIREventSelectItem NS_SWIFT_NAME(AnalyticsEventSelectIte static NSString *const kFIREventSelectPromotion NS_SWIFT_NAME(AnalyticsEventSelectPromotion) = @"select_promotion"; -/// Set checkout option. Params: -/// -///
    -///
  • @c AnalyticsParameterCheckoutStep (Int)
  • -///
  • @c AnalyticsParameterCheckoutOption (String)
  • -///
-/// This constant has been deprecated. -static NSString *const kFIREventSetCheckoutOption NS_SWIFT_NAME(AnalyticsEventSetCheckoutOption) = - @"set_checkout_option"; - /// Share event. Apps with social features can log the Share event to identify the most viral /// content. Params: /// @@ -399,7 +318,7 @@ static NSString *const kFIREventShare NS_SWIFT_NAME(AnalyticsEventShare) = @"sha /// different behaviors between logged in and logged out users. Params: /// ///
    -///
  • @c AnalyticsParameterSignUpMethod (String)
  • +///
  • @c AnalyticsParameterMethod (String)
  • ///
static NSString *const kFIREventSignUp NS_SWIFT_NAME(AnalyticsEventSignUp) = @"sign_up"; diff --git a/ios/platform/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Headers/FIRParameterNames.h b/ios/platform/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Headers/FIRParameterNames.h index 1e77b9d..b80cb0d 100644 --- a/ios/platform/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Headers/FIRParameterNames.h +++ b/ios/platform/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Headers/FIRParameterNames.h @@ -126,28 +126,6 @@ static NSString *const kFIRParameterCampaignID NS_SWIFT_NAME(AnalyticsParameterC static NSString *const kFIRParameterCharacter NS_SWIFT_NAME(AnalyticsParameterCharacter) = @"character"; -/// Some option on a step in an ecommerce flow (String). -///
-///     let params = [
-///       AnalyticsParameterCheckoutOption : "Visa",
-///       // ...
-///     ]
-/// 
-/// This constant has been deprecated. -static NSString *const kFIRParameterCheckoutOption - NS_SWIFT_NAME(AnalyticsParameterCheckoutOption) = @"checkout_option"; - -/// The checkout step (1..N) (Int). -///
-///     let params = [
-///       AnalyticsParameterCheckoutStep : 1,
-///       // ...
-///     ]
-/// 
-/// This constant has been deprecated. -static NSString *const kFIRParameterCheckoutStep NS_SWIFT_NAME(AnalyticsParameterCheckoutStep) = - @"checkout_step"; - /// Campaign content (String). static NSString *const kFIRParameterContent NS_SWIFT_NAME(AnalyticsParameterContent) = @"content"; @@ -352,17 +330,6 @@ static NSString *const kFIRParameterItemCategory5 NS_SWIFT_NAME(AnalyticsParamet ///
static NSString *const kFIRParameterItemID NS_SWIFT_NAME(AnalyticsParameterItemID) = @"item_id"; -/// The list in which the item was presented to the user (String). -///
-///     let params = [
-///       AnalyticsParameterItemList : "Search Results",
-///       // ...
-///     ]
-/// 
-/// This constant has been deprecated. Use @c AnalyticsParameterItemListName instead. -static NSString *const kFIRParameterItemList NS_SWIFT_NAME(AnalyticsParameterItemList) = - @"item_list"; - /// The ID of the list in which the item was presented to the user (String). ///
 ///     let params = [
@@ -383,18 +350,6 @@ static NSString *const kFIRParameterItemListID NS_SWIFT_NAME(AnalyticsParameterI
 static NSString *const kFIRParameterItemListName NS_SWIFT_NAME(AnalyticsParameterItemListName) =
     @"item_list_name";
 
-/// The Google Place ID (String) that
-/// corresponds to the associated item. Alternatively, you can supply your own custom Location ID.
-/// 
-///     let params = [
-///       AnalyticsParameterItemLocationID : "ChIJiyj437sx3YAR9kUWC8QkLzQ",
-///       // ...
-///     ]
-/// 
-/// This constant has been deprecated. Use @c AnalyticsParameterLocationID constant instead. -static NSString *const kFIRParameterItemLocationID - NS_SWIFT_NAME(AnalyticsParameterItemLocationID) = @"item_location_id"; - /// Item Name (context-specific) (String). ///
 ///     let params = [
@@ -652,18 +607,6 @@ static NSString *const kFIRParameterShipping NS_SWIFT_NAME(AnalyticsParameterShi
 static NSString *const kFIRParameterShippingTier NS_SWIFT_NAME(AnalyticsParameterShippingTier) =
     @"shipping_tier";
 
-/// Sign up method (String).
-/// 
-///     let params = [
-///       AnalyticsParameterSignUpMethod : "google",
-///       // ...
-///     ]
-/// 
-/// -/// This constant has been deprecated. Use Method constant instead. -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 (String). diff --git a/ios/platform/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-umbrella.h b/ios/platform/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-umbrella.h new file mode 100644 index 0000000..58342c6 --- /dev/null +++ b/ios/platform/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-umbrella.h @@ -0,0 +1,24 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRAnalytics+AppDelegate.h" +#import "FIRAnalytics+Consent.h" +#import "FIRAnalytics+OnDevice.h" +#import "FIRAnalytics.h" +#import "FirebaseAnalytics.h" +#import "FIREventNames.h" +#import "FIRParameterNames.h" +#import "FIRUserPropertyNames.h" + +FOUNDATION_EXPORT double FirebaseAnalyticsVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseAnalyticsVersionString[]; + diff --git a/ios/platform/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h b/ios/platform/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h index 368f79c..351da20 100644 --- a/ios/platform/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h +++ b/ios/platform/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h @@ -1,5 +1,6 @@ #import "FIRAnalytics+AppDelegate.h" #import "FIRAnalytics+Consent.h" +#import "FIRAnalytics+OnDevice.h" #import "FIRAnalytics.h" #import "FIREventNames.h" #import "FIRParameterNames.h" diff --git a/ios/platform/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Info.plist b/ios/platform/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Info.plist index 1f2a53b..c693b5a 100644 --- a/ios/platform/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Info.plist +++ b/ios/platform/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Info.plist @@ -13,7 +13,7 @@ CFBundlePackageType FMWK CFBundleVersion - 8.15.0 + 9.6.0 DTSDKName iphonesimulator11.2 diff --git a/ios/platform/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Modules/module.modulemap b/ios/platform/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Modules/module.modulemap index 9a4af52..92d3b47 100644 --- a/ios/platform/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Modules/module.modulemap +++ b/ios/platform/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Modules/module.modulemap @@ -1,5 +1,5 @@ framework module FirebaseAnalytics { -umbrella header "FirebaseAnalytics.h" +umbrella header "FirebaseAnalytics-umbrella.h" export * module * { export * } link framework "AppKit" diff --git a/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/FirebaseAnalytics b/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/FirebaseAnalytics index ed91ecb..5b6a6bf 100644 Binary files a/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/FirebaseAnalytics and b/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/FirebaseAnalytics differ diff --git a/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h b/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h index e10c4c6..cb1e407 100644 --- a/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h +++ b/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h @@ -4,57 +4,77 @@ NS_ASSUME_NONNULL_BEGIN -/** - * Provides App Delegate handlers to be used in your App Delegate. - * - * To save time integrating Firebase Analytics in an application, Firebase Analytics does not - * require delegation implementation from the AppDelegate. Instead this is automatically done by - * Firebase Analytics. Should you choose instead to delegate manually, you can turn off the App - * Delegate Proxy by adding FirebaseAppDelegateProxyEnabled into your app's Info.plist and setting - * it to NO, and adding the methods in this category to corresponding delegation handlers. - * - * To handle Universal Links, you must return `true` in - * UIApplicationDelegate.application(_:didFinishLaunchingWithOptions:). - */ +/// Provides App Delegate handlers to be used in your App Delegate. +/// +/// To save time integrating Firebase Analytics in an application, Firebase Analytics does not +/// require delegation implementation from the AppDelegate if neither SwiftUI nor UIScene lifecycle +/// is adopted. Instead this is automatically done by Firebase Analytics. Should you choose instead +/// to delegate manually, you can turn off the App Delegate Proxy by adding +/// FirebaseAppDelegateProxyEnabled into your app's Info.plist and setting it to boolean `NO`, and +/// adding the methods in this category to corresponding delegation handlers. +/// +/// To handle Universal Links, you must return `true` in +/// `UIApplicationDelegate.application(_:didFinishLaunchingWithOptions:)`. @interface FIRAnalytics (AppDelegate) -/** - * Handles events related to a URL session that are waiting to be processed. - * - * For optimal use of Firebase Analytics, call this method from the - * UIApplicationDelegate.application(_:handleEventsForBackgroundURLSession:completionHandler:) - * method of the app delegate in your app. - * - * @param identifier The identifier of the URL session requiring attention. - * @param completionHandler The completion handler to call when you finish processing the events. - * Calling this completion handler lets the system know that your app's user interface is - * updated and a new snapshot can be taken. - */ +/// Handles events related to a URL session that are waiting to be processed. +/// +/// 1. If SwiftUI lifecycle is adopted, call this method from +/// `UIApplicationDelegate.application(_:handleEventsForBackgroundURLSession:completionHandler:)` +/// in your app delegate. +/// +/// 2. If SwiftUI lifecycle is not adopted, Firebase Analytics does not require delegation +/// implementation from the AppDelegate. If you choose instead to delegate manually, you can set +/// FirebaseAppDelegateProxyEnabled to boolean `NO` in your app's Info.plist and call this method +/// from +/// `UIApplicationDelegate.application(_:handleEventsForBackgroundURLSession:completionHandler:)` +/// in your app delegate. +/// +/// @param identifier The identifier of the URL session requiring attention. +/// @param completionHandler The completion handler to call when you finish processing the events. +/// Calling this completion handler lets the system know that your app's user interface is +/// updated and a new snapshot can be taken. + (void)handleEventsForBackgroundURLSession:(NSString *)identifier completionHandler:(nullable void (^)(void))completionHandler; -/** - * Handles the event when the app is launched by a URL. - * - * Call this method from UIApplicationDelegate.application(_:open:options:) in your app. - * - * @param url The URL resource to open. This resource can be a network resource or a file. - */ +/// Handles the event when the app is launched by a URL (custom URL scheme or universal link). +/// +/// 1. If SwiftUI lifecycle is adopted, use `onOpenURL(perform:)` to register a handler and call +/// this method in the handler. +/// +/// 2. If UIScene lifecycle is adopted, call this method from +/// `UISceneDelegate.scene(_:willConnectTo:options:)` and +/// `UISceneDelegate.scene(_:openURLContexts:)` when the URL contexts are available. +/// +/// 3. If neither SwiftUI nor UIScene lifecycle is adopted, Firebase Analytics does not require +/// delegation implementation from the AppDelegate. If you choose instead to delegate manually, you +/// can set FirebaseAppDelegateProxyEnabled to boolean `NO` in your app's Info.plist and call this +/// method from `UIApplicationDelegate.application(_:open:options:)` in your app delegate. +/// +/// @param url The URL resource to open. This resource can be a network resource or a file. + (void)handleOpenURL:(NSURL *)url; -/** - * Handles the event when the app receives data associated with user activity that includes a - * Universal Link. - * - * Call this method from UIApplication.application(_:continue:restorationHandler:) in your app - * delegate. - * - * @param userActivity The activity object containing the data associated with the task the user - * was performing. - */ +/// Handles the event when the app receives data associated with user activity that includes a +/// Universal Link. +/// +/// 1. If SwiftUI lifecycle is adopted, use `onOpenURL(perform:)` to register a handler and call +/// `Analytics.handleOpen(_:)` instead in the handler. +/// +/// 2. If UIScene lifecycle is adopted, call this method from +/// `UISceneDelegate.scene(_:willConnectTo:options:)` and `UISceneDelegate.scene(_:continue:)` when +/// NSUserActivity is available. See the [Apple +/// doc](https://developer.apple.com/documentation/xcode/supporting-universal-links-in-your-app) for +/// more details. +/// +/// 3. If neither SwiftUI nor UIScene lifecycle is adopted, Firebase Analytics does not require +/// delegation implementation from the AppDelegate. If you choose instead to delegate manually, you +/// can set FirebaseAppDelegateProxyEnabled to boolean `NO` in your app's Info.plist and call this +/// method from `UIApplication.application(_:continue:restorationHandler:)` in your app delegate. +/// +/// @param userActivity The activity object containing the data associated with the task the user +/// was performing. + (void)handleUserActivity:(id)userActivity; @end NS_ASSUME_NONNULL_END - diff --git a/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics+OnDevice.h b/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics+OnDevice.h new file mode 100644 index 0000000..1d9a438 --- /dev/null +++ b/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics+OnDevice.h @@ -0,0 +1,19 @@ +#import + +#import "FIRAnalytics.h" + +NS_ASSUME_NONNULL_BEGIN + +API_UNAVAILABLE(macCatalyst, macos, tvos, watchos) +@interface FIRAnalytics (OnDevice) + +/// Initiates on-device conversion measurement given a user email address. Requires dependency +/// GoogleAppMeasurementOnDeviceConversion to be linked in, otherwise it is a no-op. +/// @param emailAddress User email address. Include a domain name for all email addresses +/// (e.g. gmail.com or hotmail.co.jp). ++ (void)initiateOnDeviceConversionMeasurementWithEmailAddress:(NSString *)emailAddress + NS_SWIFT_NAME(initiateOnDeviceConversionMeasurement(emailAddress:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics.h b/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics.h index fda8279..7521d85 100644 --- a/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics.h +++ b/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FIRAnalytics.h @@ -110,6 +110,20 @@ NS_SWIFT_NAME(Analytics) /// session terminates. + (void)setSessionTimeoutInterval:(NSTimeInterval)sessionTimeoutInterval; +/// Asynchronously retrieves the identifier of the current app session. +/// +/// The session ID retrieval could fail due to Analytics collection disabled, app session expired, +/// etc. +/// +/// @param completion The completion handler to call when the session ID retrieval is complete. This +/// handler is executed on a system-defined global concurrent queue. +/// This completion handler takes the following parameters: +/// sessionID The identifier of the current app session. The value is undefined if the +/// request failed. +/// error An error object that indicates why the request failed, or `nil` if the request +/// was successful. ++ (void)sessionIDWithCompletion:(void (^)(int64_t sessionID, NSError *_Nullable error))completion; + /// Returns the unique ID for this instance of the application or `nil` if /// `ConsentType.analyticsStorage` has been set to `ConsentStatus.denied`. /// @@ -129,7 +143,7 @@ NS_SWIFT_NAME(Analytics) /// @param parameters Parameters to be added to the dictionary of parameters added to every event. /// They will be added to the dictionary of default event parameters, replacing any existing /// parameter with the same name. Valid parameters are String, Int, and Double. Setting a key's -/// value to NSNull() will clear that parameter. Passing in a `nil` dictionary will clear all +/// value to `NSNull()` will clear that parameter. Passing in a `nil` dictionary will clear all /// parameters. + (void)setDefaultEventParameters:(nullable NSDictionary *)parameters; diff --git a/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FIREventNames.h b/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FIREventNames.h index 5b17193..60168c6 100644 --- a/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FIREventNames.h +++ b/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FIREventNames.h @@ -124,16 +124,6 @@ static NSString *const kFIREventBeginCheckout NS_SWIFT_NAME(AnalyticsEventBeginC static NSString *const kFIREventCampaignDetails NS_SWIFT_NAME(AnalyticsEventCampaignDetails) = @"campaign_details"; -/// Checkout progress. Params: -/// -///
    -///
  • @c AnalyticsParameterCheckoutStep (Int)
  • -///
  • @c AnalyticsParameterCheckoutOption (String) (optional)
  • -///
-/// This constant has been deprecated. -static NSString *const kFIREventCheckoutProgress NS_SWIFT_NAME(AnalyticsEventCheckoutProgress) = - @"checkout_progress"; - /// Earn Virtual Currency event. This event tracks the awarding of virtual currency in your app. Log /// this along with @c AnalyticsEventSpendVirtualCurrency to better understand your virtual economy. /// Params: @@ -145,33 +135,6 @@ static NSString *const kFIREventCheckoutProgress NS_SWIFT_NAME(AnalyticsEventChe static NSString *const kFIREventEarnVirtualCurrency NS_SWIFT_NAME(AnalyticsEventEarnVirtualCurrency) = @"earn_virtual_currency"; -/// E-Commerce Purchase event. This event signifies that an item was purchased by a user. Note: -/// This is different from the in-app purchase event, which is reported automatically for App -/// Store-based apps. Note: If you supply the @c AnalyticsParameterValue parameter, you must also -/// supply the @c AnalyticsParameterCurrency parameter so that revenue metrics can be computed -/// accurately. Params: -/// -///
    -///
  • @c AnalyticsParameterCurrency (String) (optional)
  • -///
  • @c AnalyticsParameterValue (Double) (optional)
  • -///
  • @c AnalyticsParameterTransactionID (String) (optional)
  • -///
  • @c AnalyticsParameterTax (Double) (optional)
  • -///
  • @c AnalyticsParameterShipping (Double) (optional)
  • -///
  • @c AnalyticsParameterCoupon (String) (optional)
  • -///
  • @c AnalyticsParameterLocation (String) (optional)
  • -///
  • @c AnalyticsParameterStartDate (String) (optional)
  • -///
  • @c AnalyticsParameterEndDate (String) (optional)
  • -///
  • @c AnalyticsParameterNumberOfNights (Int) (optional) for hotel bookings
  • -///
  • @c AnalyticsParameterNumberOfRooms (Int) (optional) for hotel bookings
  • -///
  • @c AnalyticsParameterNumberOfPassengers (Int) (optional) for travel bookings
  • -///
  • @c AnalyticsParameterOrigin (String) (optional)
  • -///
  • @c AnalyticsParameterDestination (String) (optional)
  • -///
  • @c AnalyticsParameterTravelClass (String) (optional) for travel bookings
  • -///
-/// This constant has been deprecated. Use @c AnalyticsEventPurchase constant instead. -static NSString *const kFIREventEcommercePurchase NS_SWIFT_NAME(AnalyticsEventEcommercePurchase) = - @"ecommerce_purchase"; - /// Generate Lead event. Log this event when a lead has been generated in the app to understand the /// efficacy of your install and re-engagement campaigns. Note: If you supply the /// @c AnalyticsParameterValue parameter, you must also supply the @c AnalyticsParameterCurrency @@ -232,26 +195,6 @@ static NSString *const kFIREventLogin NS_SWIFT_NAME(AnalyticsEventLogin) = @"log /// static NSString *const kFIREventPostScore NS_SWIFT_NAME(AnalyticsEventPostScore) = @"post_score"; -/// Present Offer event. This event signifies that the app has presented a purchase offer to a user. -/// Add this event to a funnel with the @c AnalyticsEventAddToCart and @c -/// AnalyticsEventEcommercePurchase to gauge your conversion process. Note: If you supply the @c -/// AnalyticsParameterValue parameter, you must also supply the @c AnalyticsParameterCurrency -/// parameter so that revenue metrics can be computed accurately. Params: -/// -///
    -///
  • @c AnalyticsParameterQuantity (Int)
  • -///
  • @c AnalyticsParameterItemID (String)
  • -///
  • @c AnalyticsParameterItemName (String)
  • -///
  • @c AnalyticsParameterItemCategory (String)
  • -///
  • @c AnalyticsParameterItemLocationID (String) (optional)
  • -///
  • @c AnalyticsParameterPrice (Double) (optional)
  • -///
  • @c AnalyticsParameterCurrency (String) (optional)
  • -///
  • @c AnalyticsParameterValue (Double) (optional)
  • -///
-/// This constant has been deprecated. Use @c AnalyticsEventViewPromotion constant instead. -static NSString *const kFIREventPresentOffer NS_SWIFT_NAME(AnalyticsEventPresentOffer) = - @"present_offer"; - /// E-Commerce Purchase event. This event signifies that an item(s) was purchased by a user. Note: /// This is different from the in-app purchase event, which is reported automatically for App /// Store-based apps. Note: If you supply the @c AnalyticsParameterValue parameter, you must also @@ -270,20 +213,6 @@ static NSString *const kFIREventPresentOffer NS_SWIFT_NAME(AnalyticsEventPresent /// static NSString *const kFIREventPurchase NS_SWIFT_NAME(AnalyticsEventPurchase) = @"purchase"; -/// E-Commerce Purchase Refund event. This event signifies that an item purchase was refunded. -/// Note: If you supply the @c AnalyticsParameterValue parameter, you must also supply the -/// @c AnalyticsParameterCurrency parameter so that revenue metrics can be computed accurately. -/// Params: -/// -///
    -///
  • @c AnalyticsParameterCurrency (String) (optional)
  • -///
  • @c AnalyticsParameterValue (Double) (optional)
  • -///
  • @c AnalyticsParameterTransactionID (String) (optional)
  • -///
-/// This constant has been deprecated. Use @c AnalyticsEventRefund constant instead. -static NSString *const kFIREventPurchaseRefund NS_SWIFT_NAME(AnalyticsEventPurchaseRefund) = - @"purchase_refund"; - /// E-Commerce Refund event. This event signifies that a refund was issued. Note: If you supply the /// @c AnalyticsParameterValue parameter, you must also supply the @c AnalyticsParameterCurrency /// parameter so that revenue metrics can be computed accurately. Params: @@ -375,16 +304,6 @@ static NSString *const kFIREventSelectItem NS_SWIFT_NAME(AnalyticsEventSelectIte static NSString *const kFIREventSelectPromotion NS_SWIFT_NAME(AnalyticsEventSelectPromotion) = @"select_promotion"; -/// Set checkout option. Params: -/// -///
    -///
  • @c AnalyticsParameterCheckoutStep (Int)
  • -///
  • @c AnalyticsParameterCheckoutOption (String)
  • -///
-/// This constant has been deprecated. -static NSString *const kFIREventSetCheckoutOption NS_SWIFT_NAME(AnalyticsEventSetCheckoutOption) = - @"set_checkout_option"; - /// Share event. Apps with social features can log the Share event to identify the most viral /// content. Params: /// @@ -399,7 +318,7 @@ static NSString *const kFIREventShare NS_SWIFT_NAME(AnalyticsEventShare) = @"sha /// different behaviors between logged in and logged out users. Params: /// ///
    -///
  • @c AnalyticsParameterSignUpMethod (String)
  • +///
  • @c AnalyticsParameterMethod (String)
  • ///
static NSString *const kFIREventSignUp NS_SWIFT_NAME(AnalyticsEventSignUp) = @"sign_up"; diff --git a/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FIRParameterNames.h b/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FIRParameterNames.h index 1e77b9d..b80cb0d 100644 --- a/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FIRParameterNames.h +++ b/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FIRParameterNames.h @@ -126,28 +126,6 @@ static NSString *const kFIRParameterCampaignID NS_SWIFT_NAME(AnalyticsParameterC static NSString *const kFIRParameterCharacter NS_SWIFT_NAME(AnalyticsParameterCharacter) = @"character"; -/// Some option on a step in an ecommerce flow (String). -///
-///     let params = [
-///       AnalyticsParameterCheckoutOption : "Visa",
-///       // ...
-///     ]
-/// 
-/// This constant has been deprecated. -static NSString *const kFIRParameterCheckoutOption - NS_SWIFT_NAME(AnalyticsParameterCheckoutOption) = @"checkout_option"; - -/// The checkout step (1..N) (Int). -///
-///     let params = [
-///       AnalyticsParameterCheckoutStep : 1,
-///       // ...
-///     ]
-/// 
-/// This constant has been deprecated. -static NSString *const kFIRParameterCheckoutStep NS_SWIFT_NAME(AnalyticsParameterCheckoutStep) = - @"checkout_step"; - /// Campaign content (String). static NSString *const kFIRParameterContent NS_SWIFT_NAME(AnalyticsParameterContent) = @"content"; @@ -352,17 +330,6 @@ static NSString *const kFIRParameterItemCategory5 NS_SWIFT_NAME(AnalyticsParamet ///
static NSString *const kFIRParameterItemID NS_SWIFT_NAME(AnalyticsParameterItemID) = @"item_id"; -/// The list in which the item was presented to the user (String). -///
-///     let params = [
-///       AnalyticsParameterItemList : "Search Results",
-///       // ...
-///     ]
-/// 
-/// This constant has been deprecated. Use @c AnalyticsParameterItemListName instead. -static NSString *const kFIRParameterItemList NS_SWIFT_NAME(AnalyticsParameterItemList) = - @"item_list"; - /// The ID of the list in which the item was presented to the user (String). ///
 ///     let params = [
@@ -383,18 +350,6 @@ static NSString *const kFIRParameterItemListID NS_SWIFT_NAME(AnalyticsParameterI
 static NSString *const kFIRParameterItemListName NS_SWIFT_NAME(AnalyticsParameterItemListName) =
     @"item_list_name";
 
-/// The Google Place ID (String) that
-/// corresponds to the associated item. Alternatively, you can supply your own custom Location ID.
-/// 
-///     let params = [
-///       AnalyticsParameterItemLocationID : "ChIJiyj437sx3YAR9kUWC8QkLzQ",
-///       // ...
-///     ]
-/// 
-/// This constant has been deprecated. Use @c AnalyticsParameterLocationID constant instead. -static NSString *const kFIRParameterItemLocationID - NS_SWIFT_NAME(AnalyticsParameterItemLocationID) = @"item_location_id"; - /// Item Name (context-specific) (String). ///
 ///     let params = [
@@ -652,18 +607,6 @@ static NSString *const kFIRParameterShipping NS_SWIFT_NAME(AnalyticsParameterShi
 static NSString *const kFIRParameterShippingTier NS_SWIFT_NAME(AnalyticsParameterShippingTier) =
     @"shipping_tier";
 
-/// Sign up method (String).
-/// 
-///     let params = [
-///       AnalyticsParameterSignUpMethod : "google",
-///       // ...
-///     ]
-/// 
-/// -/// This constant has been deprecated. Use Method constant instead. -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 (String). diff --git a/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-umbrella.h b/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-umbrella.h new file mode 100644 index 0000000..ad84fbb --- /dev/null +++ b/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-umbrella.h @@ -0,0 +1,24 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRAnalytics+AppDelegate.h" +#import "FIRAnalytics+Consent.h" +#import "FIRAnalytics+OnDevice.h" +#import "FIRAnalytics.h" +#import "FirebaseAnalytics.h" +#import "FIREventNames.h" +#import "FIRParameterNames.h" +#import "FIRUserPropertyNames.h" + +FOUNDATION_EXPORT double FirebaseAnalyticsVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseAnalyticsVersionString[]; + diff --git a/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h b/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h index 368f79c..351da20 100644 --- a/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h +++ b/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h @@ -1,5 +1,6 @@ #import "FIRAnalytics+AppDelegate.h" #import "FIRAnalytics+Consent.h" +#import "FIRAnalytics+OnDevice.h" #import "FIRAnalytics.h" #import "FIREventNames.h" #import "FIRParameterNames.h" diff --git a/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Info.plist b/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Info.plist index 1f2a53b..c693b5a 100644 --- a/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Info.plist +++ b/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Info.plist @@ -13,7 +13,7 @@ CFBundlePackageType FMWK CFBundleVersion - 8.15.0 + 9.6.0 DTSDKName iphonesimulator11.2 diff --git a/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Modules/module.modulemap b/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Modules/module.modulemap index b4b1bb6..37eb24b 100644 --- a/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Modules/module.modulemap +++ b/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64/FirebaseAnalytics.framework/Modules/module.modulemap @@ -1,5 +1,5 @@ framework module FirebaseAnalytics { -umbrella header "FirebaseAnalytics.h" +umbrella header "FirebaseAnalytics-umbrella.h" export * module * { export * } link framework "Foundation" diff --git a/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/FirebaseAnalytics b/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/FirebaseAnalytics index d8c5de0..47bec0f 100644 Binary files a/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/FirebaseAnalytics and b/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/FirebaseAnalytics differ diff --git a/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h b/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h index e10c4c6..cb1e407 100644 --- a/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h +++ b/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h @@ -4,57 +4,77 @@ NS_ASSUME_NONNULL_BEGIN -/** - * Provides App Delegate handlers to be used in your App Delegate. - * - * To save time integrating Firebase Analytics in an application, Firebase Analytics does not - * require delegation implementation from the AppDelegate. Instead this is automatically done by - * Firebase Analytics. Should you choose instead to delegate manually, you can turn off the App - * Delegate Proxy by adding FirebaseAppDelegateProxyEnabled into your app's Info.plist and setting - * it to NO, and adding the methods in this category to corresponding delegation handlers. - * - * To handle Universal Links, you must return `true` in - * UIApplicationDelegate.application(_:didFinishLaunchingWithOptions:). - */ +/// Provides App Delegate handlers to be used in your App Delegate. +/// +/// To save time integrating Firebase Analytics in an application, Firebase Analytics does not +/// require delegation implementation from the AppDelegate if neither SwiftUI nor UIScene lifecycle +/// is adopted. Instead this is automatically done by Firebase Analytics. Should you choose instead +/// to delegate manually, you can turn off the App Delegate Proxy by adding +/// FirebaseAppDelegateProxyEnabled into your app's Info.plist and setting it to boolean `NO`, and +/// adding the methods in this category to corresponding delegation handlers. +/// +/// To handle Universal Links, you must return `true` in +/// `UIApplicationDelegate.application(_:didFinishLaunchingWithOptions:)`. @interface FIRAnalytics (AppDelegate) -/** - * Handles events related to a URL session that are waiting to be processed. - * - * For optimal use of Firebase Analytics, call this method from the - * UIApplicationDelegate.application(_:handleEventsForBackgroundURLSession:completionHandler:) - * method of the app delegate in your app. - * - * @param identifier The identifier of the URL session requiring attention. - * @param completionHandler The completion handler to call when you finish processing the events. - * Calling this completion handler lets the system know that your app's user interface is - * updated and a new snapshot can be taken. - */ +/// Handles events related to a URL session that are waiting to be processed. +/// +/// 1. If SwiftUI lifecycle is adopted, call this method from +/// `UIApplicationDelegate.application(_:handleEventsForBackgroundURLSession:completionHandler:)` +/// in your app delegate. +/// +/// 2. If SwiftUI lifecycle is not adopted, Firebase Analytics does not require delegation +/// implementation from the AppDelegate. If you choose instead to delegate manually, you can set +/// FirebaseAppDelegateProxyEnabled to boolean `NO` in your app's Info.plist and call this method +/// from +/// `UIApplicationDelegate.application(_:handleEventsForBackgroundURLSession:completionHandler:)` +/// in your app delegate. +/// +/// @param identifier The identifier of the URL session requiring attention. +/// @param completionHandler The completion handler to call when you finish processing the events. +/// Calling this completion handler lets the system know that your app's user interface is +/// updated and a new snapshot can be taken. + (void)handleEventsForBackgroundURLSession:(NSString *)identifier completionHandler:(nullable void (^)(void))completionHandler; -/** - * Handles the event when the app is launched by a URL. - * - * Call this method from UIApplicationDelegate.application(_:open:options:) in your app. - * - * @param url The URL resource to open. This resource can be a network resource or a file. - */ +/// Handles the event when the app is launched by a URL (custom URL scheme or universal link). +/// +/// 1. If SwiftUI lifecycle is adopted, use `onOpenURL(perform:)` to register a handler and call +/// this method in the handler. +/// +/// 2. If UIScene lifecycle is adopted, call this method from +/// `UISceneDelegate.scene(_:willConnectTo:options:)` and +/// `UISceneDelegate.scene(_:openURLContexts:)` when the URL contexts are available. +/// +/// 3. If neither SwiftUI nor UIScene lifecycle is adopted, Firebase Analytics does not require +/// delegation implementation from the AppDelegate. If you choose instead to delegate manually, you +/// can set FirebaseAppDelegateProxyEnabled to boolean `NO` in your app's Info.plist and call this +/// method from `UIApplicationDelegate.application(_:open:options:)` in your app delegate. +/// +/// @param url The URL resource to open. This resource can be a network resource or a file. + (void)handleOpenURL:(NSURL *)url; -/** - * Handles the event when the app receives data associated with user activity that includes a - * Universal Link. - * - * Call this method from UIApplication.application(_:continue:restorationHandler:) in your app - * delegate. - * - * @param userActivity The activity object containing the data associated with the task the user - * was performing. - */ +/// Handles the event when the app receives data associated with user activity that includes a +/// Universal Link. +/// +/// 1. If SwiftUI lifecycle is adopted, use `onOpenURL(perform:)` to register a handler and call +/// `Analytics.handleOpen(_:)` instead in the handler. +/// +/// 2. If UIScene lifecycle is adopted, call this method from +/// `UISceneDelegate.scene(_:willConnectTo:options:)` and `UISceneDelegate.scene(_:continue:)` when +/// NSUserActivity is available. See the [Apple +/// doc](https://developer.apple.com/documentation/xcode/supporting-universal-links-in-your-app) for +/// more details. +/// +/// 3. If neither SwiftUI nor UIScene lifecycle is adopted, Firebase Analytics does not require +/// delegation implementation from the AppDelegate. If you choose instead to delegate manually, you +/// can set FirebaseAppDelegateProxyEnabled to boolean `NO` in your app's Info.plist and call this +/// method from `UIApplication.application(_:continue:restorationHandler:)` in your app delegate. +/// +/// @param userActivity The activity object containing the data associated with the task the user +/// was performing. + (void)handleUserActivity:(id)userActivity; @end NS_ASSUME_NONNULL_END - diff --git a/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+OnDevice.h b/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+OnDevice.h new file mode 100644 index 0000000..1d9a438 --- /dev/null +++ b/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+OnDevice.h @@ -0,0 +1,19 @@ +#import + +#import "FIRAnalytics.h" + +NS_ASSUME_NONNULL_BEGIN + +API_UNAVAILABLE(macCatalyst, macos, tvos, watchos) +@interface FIRAnalytics (OnDevice) + +/// Initiates on-device conversion measurement given a user email address. Requires dependency +/// GoogleAppMeasurementOnDeviceConversion to be linked in, otherwise it is a no-op. +/// @param emailAddress User email address. Include a domain name for all email addresses +/// (e.g. gmail.com or hotmail.co.jp). ++ (void)initiateOnDeviceConversionMeasurementWithEmailAddress:(NSString *)emailAddress + NS_SWIFT_NAME(initiateOnDeviceConversionMeasurement(emailAddress:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics.h b/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics.h index fda8279..7521d85 100644 --- a/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics.h +++ b/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics.h @@ -110,6 +110,20 @@ NS_SWIFT_NAME(Analytics) /// session terminates. + (void)setSessionTimeoutInterval:(NSTimeInterval)sessionTimeoutInterval; +/// Asynchronously retrieves the identifier of the current app session. +/// +/// The session ID retrieval could fail due to Analytics collection disabled, app session expired, +/// etc. +/// +/// @param completion The completion handler to call when the session ID retrieval is complete. This +/// handler is executed on a system-defined global concurrent queue. +/// This completion handler takes the following parameters: +/// sessionID The identifier of the current app session. The value is undefined if the +/// request failed. +/// error An error object that indicates why the request failed, or `nil` if the request +/// was successful. ++ (void)sessionIDWithCompletion:(void (^)(int64_t sessionID, NSError *_Nullable error))completion; + /// Returns the unique ID for this instance of the application or `nil` if /// `ConsentType.analyticsStorage` has been set to `ConsentStatus.denied`. /// @@ -129,7 +143,7 @@ NS_SWIFT_NAME(Analytics) /// @param parameters Parameters to be added to the dictionary of parameters added to every event. /// They will be added to the dictionary of default event parameters, replacing any existing /// parameter with the same name. Valid parameters are String, Int, and Double. Setting a key's -/// value to NSNull() will clear that parameter. Passing in a `nil` dictionary will clear all +/// value to `NSNull()` will clear that parameter. Passing in a `nil` dictionary will clear all /// parameters. + (void)setDefaultEventParameters:(nullable NSDictionary *)parameters; diff --git a/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIREventNames.h b/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIREventNames.h index 5b17193..60168c6 100644 --- a/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIREventNames.h +++ b/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIREventNames.h @@ -124,16 +124,6 @@ static NSString *const kFIREventBeginCheckout NS_SWIFT_NAME(AnalyticsEventBeginC static NSString *const kFIREventCampaignDetails NS_SWIFT_NAME(AnalyticsEventCampaignDetails) = @"campaign_details"; -/// Checkout progress. Params: -/// -///
    -///
  • @c AnalyticsParameterCheckoutStep (Int)
  • -///
  • @c AnalyticsParameterCheckoutOption (String) (optional)
  • -///
-/// This constant has been deprecated. -static NSString *const kFIREventCheckoutProgress NS_SWIFT_NAME(AnalyticsEventCheckoutProgress) = - @"checkout_progress"; - /// Earn Virtual Currency event. This event tracks the awarding of virtual currency in your app. Log /// this along with @c AnalyticsEventSpendVirtualCurrency to better understand your virtual economy. /// Params: @@ -145,33 +135,6 @@ static NSString *const kFIREventCheckoutProgress NS_SWIFT_NAME(AnalyticsEventChe static NSString *const kFIREventEarnVirtualCurrency NS_SWIFT_NAME(AnalyticsEventEarnVirtualCurrency) = @"earn_virtual_currency"; -/// E-Commerce Purchase event. This event signifies that an item was purchased by a user. Note: -/// This is different from the in-app purchase event, which is reported automatically for App -/// Store-based apps. Note: If you supply the @c AnalyticsParameterValue parameter, you must also -/// supply the @c AnalyticsParameterCurrency parameter so that revenue metrics can be computed -/// accurately. Params: -/// -///
    -///
  • @c AnalyticsParameterCurrency (String) (optional)
  • -///
  • @c AnalyticsParameterValue (Double) (optional)
  • -///
  • @c AnalyticsParameterTransactionID (String) (optional)
  • -///
  • @c AnalyticsParameterTax (Double) (optional)
  • -///
  • @c AnalyticsParameterShipping (Double) (optional)
  • -///
  • @c AnalyticsParameterCoupon (String) (optional)
  • -///
  • @c AnalyticsParameterLocation (String) (optional)
  • -///
  • @c AnalyticsParameterStartDate (String) (optional)
  • -///
  • @c AnalyticsParameterEndDate (String) (optional)
  • -///
  • @c AnalyticsParameterNumberOfNights (Int) (optional) for hotel bookings
  • -///
  • @c AnalyticsParameterNumberOfRooms (Int) (optional) for hotel bookings
  • -///
  • @c AnalyticsParameterNumberOfPassengers (Int) (optional) for travel bookings
  • -///
  • @c AnalyticsParameterOrigin (String) (optional)
  • -///
  • @c AnalyticsParameterDestination (String) (optional)
  • -///
  • @c AnalyticsParameterTravelClass (String) (optional) for travel bookings
  • -///
-/// This constant has been deprecated. Use @c AnalyticsEventPurchase constant instead. -static NSString *const kFIREventEcommercePurchase NS_SWIFT_NAME(AnalyticsEventEcommercePurchase) = - @"ecommerce_purchase"; - /// Generate Lead event. Log this event when a lead has been generated in the app to understand the /// efficacy of your install and re-engagement campaigns. Note: If you supply the /// @c AnalyticsParameterValue parameter, you must also supply the @c AnalyticsParameterCurrency @@ -232,26 +195,6 @@ static NSString *const kFIREventLogin NS_SWIFT_NAME(AnalyticsEventLogin) = @"log /// static NSString *const kFIREventPostScore NS_SWIFT_NAME(AnalyticsEventPostScore) = @"post_score"; -/// Present Offer event. This event signifies that the app has presented a purchase offer to a user. -/// Add this event to a funnel with the @c AnalyticsEventAddToCart and @c -/// AnalyticsEventEcommercePurchase to gauge your conversion process. Note: If you supply the @c -/// AnalyticsParameterValue parameter, you must also supply the @c AnalyticsParameterCurrency -/// parameter so that revenue metrics can be computed accurately. Params: -/// -///
    -///
  • @c AnalyticsParameterQuantity (Int)
  • -///
  • @c AnalyticsParameterItemID (String)
  • -///
  • @c AnalyticsParameterItemName (String)
  • -///
  • @c AnalyticsParameterItemCategory (String)
  • -///
  • @c AnalyticsParameterItemLocationID (String) (optional)
  • -///
  • @c AnalyticsParameterPrice (Double) (optional)
  • -///
  • @c AnalyticsParameterCurrency (String) (optional)
  • -///
  • @c AnalyticsParameterValue (Double) (optional)
  • -///
-/// This constant has been deprecated. Use @c AnalyticsEventViewPromotion constant instead. -static NSString *const kFIREventPresentOffer NS_SWIFT_NAME(AnalyticsEventPresentOffer) = - @"present_offer"; - /// E-Commerce Purchase event. This event signifies that an item(s) was purchased by a user. Note: /// This is different from the in-app purchase event, which is reported automatically for App /// Store-based apps. Note: If you supply the @c AnalyticsParameterValue parameter, you must also @@ -270,20 +213,6 @@ static NSString *const kFIREventPresentOffer NS_SWIFT_NAME(AnalyticsEventPresent /// static NSString *const kFIREventPurchase NS_SWIFT_NAME(AnalyticsEventPurchase) = @"purchase"; -/// E-Commerce Purchase Refund event. This event signifies that an item purchase was refunded. -/// Note: If you supply the @c AnalyticsParameterValue parameter, you must also supply the -/// @c AnalyticsParameterCurrency parameter so that revenue metrics can be computed accurately. -/// Params: -/// -///
    -///
  • @c AnalyticsParameterCurrency (String) (optional)
  • -///
  • @c AnalyticsParameterValue (Double) (optional)
  • -///
  • @c AnalyticsParameterTransactionID (String) (optional)
  • -///
-/// This constant has been deprecated. Use @c AnalyticsEventRefund constant instead. -static NSString *const kFIREventPurchaseRefund NS_SWIFT_NAME(AnalyticsEventPurchaseRefund) = - @"purchase_refund"; - /// E-Commerce Refund event. This event signifies that a refund was issued. Note: If you supply the /// @c AnalyticsParameterValue parameter, you must also supply the @c AnalyticsParameterCurrency /// parameter so that revenue metrics can be computed accurately. Params: @@ -375,16 +304,6 @@ static NSString *const kFIREventSelectItem NS_SWIFT_NAME(AnalyticsEventSelectIte static NSString *const kFIREventSelectPromotion NS_SWIFT_NAME(AnalyticsEventSelectPromotion) = @"select_promotion"; -/// Set checkout option. Params: -/// -///
    -///
  • @c AnalyticsParameterCheckoutStep (Int)
  • -///
  • @c AnalyticsParameterCheckoutOption (String)
  • -///
-/// This constant has been deprecated. -static NSString *const kFIREventSetCheckoutOption NS_SWIFT_NAME(AnalyticsEventSetCheckoutOption) = - @"set_checkout_option"; - /// Share event. Apps with social features can log the Share event to identify the most viral /// content. Params: /// @@ -399,7 +318,7 @@ static NSString *const kFIREventShare NS_SWIFT_NAME(AnalyticsEventShare) = @"sha /// different behaviors between logged in and logged out users. Params: /// ///
    -///
  • @c AnalyticsParameterSignUpMethod (String)
  • +///
  • @c AnalyticsParameterMethod (String)
  • ///
static NSString *const kFIREventSignUp NS_SWIFT_NAME(AnalyticsEventSignUp) = @"sign_up"; diff --git a/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRParameterNames.h b/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRParameterNames.h index 1e77b9d..b80cb0d 100644 --- a/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRParameterNames.h +++ b/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRParameterNames.h @@ -126,28 +126,6 @@ static NSString *const kFIRParameterCampaignID NS_SWIFT_NAME(AnalyticsParameterC static NSString *const kFIRParameterCharacter NS_SWIFT_NAME(AnalyticsParameterCharacter) = @"character"; -/// Some option on a step in an ecommerce flow (String). -///
-///     let params = [
-///       AnalyticsParameterCheckoutOption : "Visa",
-///       // ...
-///     ]
-/// 
-/// This constant has been deprecated. -static NSString *const kFIRParameterCheckoutOption - NS_SWIFT_NAME(AnalyticsParameterCheckoutOption) = @"checkout_option"; - -/// The checkout step (1..N) (Int). -///
-///     let params = [
-///       AnalyticsParameterCheckoutStep : 1,
-///       // ...
-///     ]
-/// 
-/// This constant has been deprecated. -static NSString *const kFIRParameterCheckoutStep NS_SWIFT_NAME(AnalyticsParameterCheckoutStep) = - @"checkout_step"; - /// Campaign content (String). static NSString *const kFIRParameterContent NS_SWIFT_NAME(AnalyticsParameterContent) = @"content"; @@ -352,17 +330,6 @@ static NSString *const kFIRParameterItemCategory5 NS_SWIFT_NAME(AnalyticsParamet ///
static NSString *const kFIRParameterItemID NS_SWIFT_NAME(AnalyticsParameterItemID) = @"item_id"; -/// The list in which the item was presented to the user (String). -///
-///     let params = [
-///       AnalyticsParameterItemList : "Search Results",
-///       // ...
-///     ]
-/// 
-/// This constant has been deprecated. Use @c AnalyticsParameterItemListName instead. -static NSString *const kFIRParameterItemList NS_SWIFT_NAME(AnalyticsParameterItemList) = - @"item_list"; - /// The ID of the list in which the item was presented to the user (String). ///
 ///     let params = [
@@ -383,18 +350,6 @@ static NSString *const kFIRParameterItemListID NS_SWIFT_NAME(AnalyticsParameterI
 static NSString *const kFIRParameterItemListName NS_SWIFT_NAME(AnalyticsParameterItemListName) =
     @"item_list_name";
 
-/// The Google Place ID (String) that
-/// corresponds to the associated item. Alternatively, you can supply your own custom Location ID.
-/// 
-///     let params = [
-///       AnalyticsParameterItemLocationID : "ChIJiyj437sx3YAR9kUWC8QkLzQ",
-///       // ...
-///     ]
-/// 
-/// This constant has been deprecated. Use @c AnalyticsParameterLocationID constant instead. -static NSString *const kFIRParameterItemLocationID - NS_SWIFT_NAME(AnalyticsParameterItemLocationID) = @"item_location_id"; - /// Item Name (context-specific) (String). ///
 ///     let params = [
@@ -652,18 +607,6 @@ static NSString *const kFIRParameterShipping NS_SWIFT_NAME(AnalyticsParameterShi
 static NSString *const kFIRParameterShippingTier NS_SWIFT_NAME(AnalyticsParameterShippingTier) =
     @"shipping_tier";
 
-/// Sign up method (String).
-/// 
-///     let params = [
-///       AnalyticsParameterSignUpMethod : "google",
-///       // ...
-///     ]
-/// 
-/// -/// This constant has been deprecated. Use Method constant instead. -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 (String). diff --git a/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-umbrella.h b/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-umbrella.h new file mode 100644 index 0000000..ad84fbb --- /dev/null +++ b/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FirebaseAnalytics-umbrella.h @@ -0,0 +1,24 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRAnalytics+AppDelegate.h" +#import "FIRAnalytics+Consent.h" +#import "FIRAnalytics+OnDevice.h" +#import "FIRAnalytics.h" +#import "FirebaseAnalytics.h" +#import "FIREventNames.h" +#import "FIRParameterNames.h" +#import "FIRUserPropertyNames.h" + +FOUNDATION_EXPORT double FirebaseAnalyticsVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseAnalyticsVersionString[]; + diff --git a/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h b/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h index 368f79c..351da20 100644 --- a/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h +++ b/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h @@ -1,5 +1,6 @@ #import "FIRAnalytics+AppDelegate.h" #import "FIRAnalytics+Consent.h" +#import "FIRAnalytics+OnDevice.h" #import "FIRAnalytics.h" #import "FIREventNames.h" #import "FIRParameterNames.h" diff --git a/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Info.plist b/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Info.plist index 1f2a53b..c693b5a 100644 --- a/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Info.plist +++ b/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Info.plist @@ -13,7 +13,7 @@ CFBundlePackageType FMWK CFBundleVersion - 8.15.0 + 9.6.0 DTSDKName iphonesimulator11.2 diff --git a/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/module.modulemap b/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/module.modulemap index b4b1bb6..37eb24b 100644 --- a/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/module.modulemap +++ b/ios/platform/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Modules/module.modulemap @@ -1,5 +1,5 @@ framework module FirebaseAnalytics { -umbrella header "FirebaseAnalytics.h" +umbrella header "FirebaseAnalytics-umbrella.h" export * module * { export * } link framework "Foundation" diff --git a/ios/titanium.xcconfig b/ios/titanium.xcconfig index 735f226..55eb999 100644 --- a/ios/titanium.xcconfig +++ b/ios/titanium.xcconfig @@ -4,7 +4,7 @@ // OF YOUR TITANIUM SDK YOU'RE BUILDING FOR // // -TITANIUM_SDK_VERSION = 10.1.1.GA +TITANIUM_SDK_VERSION = 11.1.0.GA // // THESE SHOULD BE OK GENERALLY AS-IS