Skip to content

Commit 1b663fe

Browse files
committed
chore: update Firebase to 9.6.0
1 parent dea8bee commit 1b663fe

File tree

63 files changed

+766
-1126
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+766
-1126
lines changed

ios/manifest

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# this is your module manifest and used by Titanium
33
# during compilation, packaging, distribution, etc.
44
#
5-
version: 6.3.0
5+
version: 7.0.0
66
apiversion: 2
77
architectures: arm64 x86_64
88
description: titanium-firebase-analytics
@@ -16,4 +16,4 @@ name: titanium-firebase-analytics
1616
moduleid: firebase.analytics
1717
guid: 9800b2f6-460e-4caa-bf9a-35b206c5d3af
1818
platform: iphone
19-
minsdk: 9.2.0
19+
minsdk: 10.0.0

ios/platform/FirebaseAnalytics.xcframework/Info.plist

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6,64 +6,63 @@
66
<array>
77
<dict>
88
<key>LibraryIdentifier</key>
9-
<string>macos-arm64_x86_64</string>
9+
<string>ios-arm64_i386_x86_64-simulator</string>
1010
<key>LibraryPath</key>
1111
<string>FirebaseAnalytics.framework</string>
1212
<key>SupportedArchitectures</key>
1313
<array>
1414
<string>arm64</string>
15+
<string>i386</string>
1516
<string>x86_64</string>
1617
</array>
1718
<key>SupportedPlatform</key>
18-
<string>macos</string>
19+
<string>ios</string>
20+
<key>SupportedPlatformVariant</key>
21+
<string>simulator</string>
1922
</dict>
2023
<dict>
2124
<key>LibraryIdentifier</key>
22-
<string>ios-arm64_i386_x86_64-simulator</string>
25+
<string>tvos-arm64_x86_64-simulator</string>
2326
<key>LibraryPath</key>
2427
<string>FirebaseAnalytics.framework</string>
2528
<key>SupportedArchitectures</key>
2629
<array>
2730
<string>arm64</string>
28-
<string>i386</string>
2931
<string>x86_64</string>
3032
</array>
3133
<key>SupportedPlatform</key>
32-
<string>ios</string>
34+
<string>tvos</string>
3335
<key>SupportedPlatformVariant</key>
3436
<string>simulator</string>
3537
</dict>
3638
<dict>
3739
<key>LibraryIdentifier</key>
38-
<string>ios-arm64_armv7</string>
40+
<string>tvos-arm64</string>
3941
<key>LibraryPath</key>
4042
<string>FirebaseAnalytics.framework</string>
4143
<key>SupportedArchitectures</key>
4244
<array>
4345
<string>arm64</string>
44-
<string>armv7</string>
4546
</array>
4647
<key>SupportedPlatform</key>
47-
<string>ios</string>
48+
<string>tvos</string>
4849
</dict>
4950
<dict>
5051
<key>LibraryIdentifier</key>
51-
<string>tvos-arm64_x86_64-simulator</string>
52+
<string>ios-arm64_armv7</string>
5253
<key>LibraryPath</key>
5354
<string>FirebaseAnalytics.framework</string>
5455
<key>SupportedArchitectures</key>
5556
<array>
5657
<string>arm64</string>
57-
<string>x86_64</string>
58+
<string>armv7</string>
5859
</array>
5960
<key>SupportedPlatform</key>
60-
<string>tvos</string>
61-
<key>SupportedPlatformVariant</key>
62-
<string>simulator</string>
61+
<string>ios</string>
6362
</dict>
6463
<dict>
6564
<key>LibraryIdentifier</key>
66-
<string>ios-arm64_x86_64-maccatalyst</string>
65+
<string>macos-arm64_x86_64</string>
6766
<key>LibraryPath</key>
6867
<string>FirebaseAnalytics.framework</string>
6968
<key>SupportedArchitectures</key>
@@ -72,21 +71,22 @@
7271
<string>x86_64</string>
7372
</array>
7473
<key>SupportedPlatform</key>
75-
<string>ios</string>
76-
<key>SupportedPlatformVariant</key>
77-
<string>maccatalyst</string>
74+
<string>macos</string>
7875
</dict>
7976
<dict>
8077
<key>LibraryIdentifier</key>
81-
<string>tvos-arm64</string>
78+
<string>ios-arm64_x86_64-maccatalyst</string>
8279
<key>LibraryPath</key>
8380
<string>FirebaseAnalytics.framework</string>
8481
<key>SupportedArchitectures</key>
8582
<array>
8683
<string>arm64</string>
84+
<string>x86_64</string>
8785
</array>
8886
<key>SupportedPlatform</key>
89-
<string>tvos</string>
87+
<string>ios</string>
88+
<key>SupportedPlatformVariant</key>
89+
<string>maccatalyst</string>
9090
</dict>
9191
</array>
9292
<key>CFBundlePackageType</key>

ios/platform/FirebaseAnalytics.xcframework/ios-arm64_armv7/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h

Lines changed: 62 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -4,57 +4,77 @@
44

55
NS_ASSUME_NONNULL_BEGIN
66

7-
/**
8-
* Provides App Delegate handlers to be used in your App Delegate.
9-
*
10-
* To save time integrating Firebase Analytics in an application, Firebase Analytics does not
11-
* require delegation implementation from the AppDelegate. Instead this is automatically done by
12-
* Firebase Analytics. Should you choose instead to delegate manually, you can turn off the App
13-
* Delegate Proxy by adding FirebaseAppDelegateProxyEnabled into your app's Info.plist and setting
14-
* it to NO, and adding the methods in this category to corresponding delegation handlers.
15-
*
16-
* To handle Universal Links, you must return `true` in
17-
* UIApplicationDelegate.application(_:didFinishLaunchingWithOptions:).
18-
*/
7+
/// Provides App Delegate handlers to be used in your App Delegate.
8+
///
9+
/// To save time integrating Firebase Analytics in an application, Firebase Analytics does not
10+
/// require delegation implementation from the AppDelegate if neither SwiftUI nor UIScene lifecycle
11+
/// is adopted. Instead this is automatically done by Firebase Analytics. Should you choose instead
12+
/// to delegate manually, you can turn off the App Delegate Proxy by adding
13+
/// FirebaseAppDelegateProxyEnabled into your app's Info.plist and setting it to boolean `NO`, and
14+
/// adding the methods in this category to corresponding delegation handlers.
15+
///
16+
/// To handle Universal Links, you must return `true` in
17+
/// `UIApplicationDelegate.application(_:didFinishLaunchingWithOptions:)`.
1918
@interface FIRAnalytics (AppDelegate)
2019

21-
/**
22-
* Handles events related to a URL session that are waiting to be processed.
23-
*
24-
* For optimal use of Firebase Analytics, call this method from the
25-
* UIApplicationDelegate.application(_:handleEventsForBackgroundURLSession:completionHandler:)
26-
* method of the app delegate in your app.
27-
*
28-
* @param identifier The identifier of the URL session requiring attention.
29-
* @param completionHandler The completion handler to call when you finish processing the events.
30-
* Calling this completion handler lets the system know that your app's user interface is
31-
* updated and a new snapshot can be taken.
32-
*/
20+
/// Handles events related to a URL session that are waiting to be processed.
21+
///
22+
/// 1. If SwiftUI lifecycle is adopted, call this method from
23+
/// `UIApplicationDelegate.application(_:handleEventsForBackgroundURLSession:completionHandler:)`
24+
/// in your app delegate.
25+
///
26+
/// 2. If SwiftUI lifecycle is not adopted, Firebase Analytics does not require delegation
27+
/// implementation from the AppDelegate. If you choose instead to delegate manually, you can set
28+
/// FirebaseAppDelegateProxyEnabled to boolean `NO` in your app's Info.plist and call this method
29+
/// from
30+
/// `UIApplicationDelegate.application(_:handleEventsForBackgroundURLSession:completionHandler:)`
31+
/// in your app delegate.
32+
///
33+
/// @param identifier The identifier of the URL session requiring attention.
34+
/// @param completionHandler The completion handler to call when you finish processing the events.
35+
/// Calling this completion handler lets the system know that your app's user interface is
36+
/// updated and a new snapshot can be taken.
3337
+ (void)handleEventsForBackgroundURLSession:(NSString *)identifier
3438
completionHandler:(nullable void (^)(void))completionHandler;
3539

36-
/**
37-
* Handles the event when the app is launched by a URL.
38-
*
39-
* Call this method from UIApplicationDelegate.application(_:open:options:) in your app.
40-
*
41-
* @param url The URL resource to open. This resource can be a network resource or a file.
42-
*/
40+
/// Handles the event when the app is launched by a URL (custom URL scheme or universal link).
41+
///
42+
/// 1. If SwiftUI lifecycle is adopted, use `onOpenURL(perform:)` to register a handler and call
43+
/// this method in the handler.
44+
///
45+
/// 2. If UIScene lifecycle is adopted, call this method from
46+
/// `UISceneDelegate.scene(_:willConnectTo:options:)` and
47+
/// `UISceneDelegate.scene(_:openURLContexts:)` when the URL contexts are available.
48+
///
49+
/// 3. If neither SwiftUI nor UIScene lifecycle is adopted, Firebase Analytics does not require
50+
/// delegation implementation from the AppDelegate. If you choose instead to delegate manually, you
51+
/// can set FirebaseAppDelegateProxyEnabled to boolean `NO` in your app's Info.plist and call this
52+
/// method from `UIApplicationDelegate.application(_:open:options:)` in your app delegate.
53+
///
54+
/// @param url The URL resource to open. This resource can be a network resource or a file.
4355
+ (void)handleOpenURL:(NSURL *)url;
4456

45-
/**
46-
* Handles the event when the app receives data associated with user activity that includes a
47-
* Universal Link.
48-
*
49-
* Call this method from UIApplication.application(_:continue:restorationHandler:) in your app
50-
* delegate.
51-
*
52-
* @param userActivity The activity object containing the data associated with the task the user
53-
* was performing.
54-
*/
57+
/// Handles the event when the app receives data associated with user activity that includes a
58+
/// Universal Link.
59+
///
60+
/// 1. If SwiftUI lifecycle is adopted, use `onOpenURL(perform:)` to register a handler and call
61+
/// `Analytics.handleOpen(_:)` instead in the handler.
62+
///
63+
/// 2. If UIScene lifecycle is adopted, call this method from
64+
/// `UISceneDelegate.scene(_:willConnectTo:options:)` and `UISceneDelegate.scene(_:continue:)` when
65+
/// NSUserActivity is available. See the [Apple
66+
/// doc](https://developer.apple.com/documentation/xcode/supporting-universal-links-in-your-app) for
67+
/// more details.
68+
///
69+
/// 3. If neither SwiftUI nor UIScene lifecycle is adopted, Firebase Analytics does not require
70+
/// delegation implementation from the AppDelegate. If you choose instead to delegate manually, you
71+
/// can set FirebaseAppDelegateProxyEnabled to boolean `NO` in your app's Info.plist and call this
72+
/// method from `UIApplication.application(_:continue:restorationHandler:)` in your app delegate.
73+
///
74+
/// @param userActivity The activity object containing the data associated with the task the user
75+
/// was performing.
5576
+ (void)handleUserActivity:(id)userActivity;
5677

5778
@end
5879

5980
NS_ASSUME_NONNULL_END
60-
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#import <Foundation/Foundation.h>
2+
3+
#import "FIRAnalytics.h"
4+
5+
NS_ASSUME_NONNULL_BEGIN
6+
7+
API_UNAVAILABLE(macCatalyst, macos, tvos, watchos)
8+
@interface FIRAnalytics (OnDevice)
9+
10+
/// Initiates on-device conversion measurement given a user email address. Requires dependency
11+
/// GoogleAppMeasurementOnDeviceConversion to be linked in, otherwise it is a no-op.
12+
/// @param emailAddress User email address. Include a domain name for all email addresses
13+
/// (e.g. gmail.com or hotmail.co.jp).
14+
+ (void)initiateOnDeviceConversionMeasurementWithEmailAddress:(NSString *)emailAddress
15+
NS_SWIFT_NAME(initiateOnDeviceConversionMeasurement(emailAddress:));
16+
17+
@end
18+
19+
NS_ASSUME_NONNULL_END

ios/platform/FirebaseAnalytics.xcframework/ios-arm64_armv7/FirebaseAnalytics.framework/Headers/FIRAnalytics.h

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,20 @@ NS_SWIFT_NAME(Analytics)
110110
/// session terminates.
111111
+ (void)setSessionTimeoutInterval:(NSTimeInterval)sessionTimeoutInterval;
112112

113+
/// Asynchronously retrieves the identifier of the current app session.
114+
///
115+
/// The session ID retrieval could fail due to Analytics collection disabled, app session expired,
116+
/// etc.
117+
///
118+
/// @param completion The completion handler to call when the session ID retrieval is complete. This
119+
/// handler is executed on a system-defined global concurrent queue.
120+
/// This completion handler takes the following parameters:
121+
/// <b>sessionID</b> The identifier of the current app session. The value is undefined if the
122+
/// request failed.
123+
/// <b>error</b> An error object that indicates why the request failed, or `nil` if the request
124+
/// was successful.
125+
+ (void)sessionIDWithCompletion:(void (^)(int64_t sessionID, NSError *_Nullable error))completion;
126+
113127
/// Returns the unique ID for this instance of the application or `nil` if
114128
/// `ConsentType.analyticsStorage` has been set to `ConsentStatus.denied`.
115129
///
@@ -129,7 +143,7 @@ NS_SWIFT_NAME(Analytics)
129143
/// @param parameters Parameters to be added to the dictionary of parameters added to every event.
130144
/// They will be added to the dictionary of default event parameters, replacing any existing
131145
/// parameter with the same name. Valid parameters are String, Int, and Double. Setting a key's
132-
/// value to NSNull() will clear that parameter. Passing in a `nil` dictionary will clear all
146+
/// value to `NSNull()` will clear that parameter. Passing in a `nil` dictionary will clear all
133147
/// parameters.
134148
+ (void)setDefaultEventParameters:(nullable NSDictionary<NSString *, id> *)parameters;
135149

0 commit comments

Comments
 (0)