From 4602fc5e415d104a9bd7983597b893bba32b1354 Mon Sep 17 00:00:00 2001
From: lpw
Date: Tue, 18 Mar 2025 09:02:49 +0800
Subject: [PATCH] 提交 4.4.0
---
frameworks/AppsFlyerLib.xcframework/tvos-arm64_x86_64-simulator/AppsFlyerLib.framework/Headers/AppsFlyerLib.h | 73 +++++++++++++++++++++++++++++-------
1 files changed, 59 insertions(+), 14 deletions(-)
diff --git a/frameworks/AppsFlyerLib.xcframework/tvos-arm64_x86_64-simulator/AppsFlyerLib.framework/Headers/AppsFlyerLib.h b/frameworks/AppsFlyerLib.xcframework/tvos-arm64_x86_64-simulator/AppsFlyerLib.framework/Headers/AppsFlyerLib.h
index e72bea0..e6f6ef7 100644
--- a/frameworks/AppsFlyerLib.xcframework/tvos-arm64_x86_64-simulator/AppsFlyerLib.framework/Headers/AppsFlyerLib.h
+++ b/frameworks/AppsFlyerLib.xcframework/tvos-arm64_x86_64-simulator/AppsFlyerLib.framework/Headers/AppsFlyerLib.h
@@ -2,7 +2,7 @@
// AppsFlyerLib.h
// AppsFlyerLib
//
-// AppsFlyer iOS SDK 6.11.0 (114)
+// AppsFlyer iOS SDK 6.15.3 (217)
// Copyright (c) 2012-2023 AppsFlyer Ltd. All rights reserved.
//
@@ -12,6 +12,10 @@
#import <AppsFlyerLib/AppsFlyerShareInviteHelper.h>
#import <AppsFlyerLib/AppsFlyerDeepLinkResult.h>
#import <AppsFlyerLib/AppsFlyerDeepLink.h>
+#import <AppsFlyerLib/AppsFlyerConsent.h>
+#import <AppsFlyerLib/AFSDKPurchaseDetails.h>
+#import <AppsFlyerLib/AFSDKValidateAndLogResult.h>
+#import <AppsFlyerLib/AFAdRevenueData.h>
NS_ASSUME_NONNULL_BEGIN
@@ -124,13 +128,6 @@
#define AFEventParamPreferredPriceRange @"af_preferred_price_range" //array of int (basically a tuple (min,max) but we'll use array of int and instruct the developer to use two values)
#define AFEventParamPreferredNeighborhoods @"af_preferred_neighborhoods" //array of string
#define AFEventParamPreferredNumStops @"af_preferred_num_stops"
-
-#define AFEventParamAdRevenueAdType @"af_adrev_ad_type"
-#define AFEventParamAdRevenueNetworkName @"af_adrev_network_name"
-#define AFEventParamAdRevenuePlacementId @"af_adrev_placement_id"
-#define AFEventParamAdRevenueAdSize @"af_adrev_ad_size"
-#define AFEventParamAdRevenueMediatedNetworkName @"af_adrev_mediated_network_name"
-
/// Mail hashing type
typedef enum {
@@ -350,7 +347,7 @@
[[AppsFlyerLib shared] setResolveDeepLinkURLs:@[@"domain.com", @"subdomain.domain.com"]];
</pre>
*/
-@property(nonatomic, nullable) NSArray<NSString *> *resolveDeepLinkURLs;
+@property(nonatomic, nullable, copy) NSArray<NSString *> *resolveDeepLinkURLs;
/**
For advertisers who use vanity OneLinks.
@@ -361,12 +358,12 @@
[[AppsFlyerLib shared] oneLinkCustomDomains:@[@"domain.com", @"subdomain.domain.com"]];
</pre>
*/
-@property(nonatomic, nullable) NSArray<NSString *> *oneLinkCustomDomains;
+@property(nonatomic, nullable, copy) NSArray<NSString *> *oneLinkCustomDomains;
/*
* Set phone number for each `start` event. `phoneNumber` will be sent as SHA256 string
*/
-@property(nonatomic, nullable) NSString *phoneNumber;
+@property(nonatomic, nullable, copy) NSString *phoneNumber;
- (NSString *)phoneNumber UNAVAILABLE_ATTRIBUTE;
@@ -389,7 +386,7 @@
AppsFlyerLib.shared().currentDeviceLanguage("EN")
</pre>
*/
-@property(nonatomic, nullable) NSString *currentDeviceLanguage;
+@property(nonatomic, nullable, copy) NSString *currentDeviceLanguage;
/**
Internal API. Please don't use.
@@ -489,6 +486,28 @@
success:(void (^ _Nullable)(NSDictionary * response))successBlock
failure:(void (^ _Nullable)(NSError * _Nullable error, id _Nullable reponse))failedBlock NS_AVAILABLE(10_7, 7_0);
+typedef void (^AFSDKValidateAndLogCompletion)(AFSDKValidateAndLogResult * _Nullable result);
+
+/**
+ To log and validate in app purchases you can call this method from the completeTransaction: method on
+ your `SKPaymentTransactionObserver`.
+
+ @param details The product details
+ @param extraEventValues The additional param, which you want to receive it in the raw reports
+ @param completionHandler The callback
+ */
+- (void)validateAndLogInAppPurchase:(AFSDKPurchaseDetails *)details
+ extraEventValues:(NSDictionary * _Nullable)extraEventValues
+ completionHandler:(AFSDKValidateAndLogCompletion)completionHandler NS_AVAILABLE(10_7, 7_0);
+
+/**
+ An API to provide the data from the impression payload to AdRevenue.
+
+ @param adRevenueData object used to hold all mandatory parameters of AdRevenue event.
+ @param additionalParameters non-mandatory dictionary which can include pre-defined keys (kAppsFlyerAdRevenueCountry, etc)
+ */
+- (void)logAdRevenue:(AFAdRevenueData *)adRevenueData additionalParameters:(NSDictionary * _Nullable)additionalParameters;
+
/**
To log location for geo-fencing. Does the same as code below.
@@ -581,6 +600,11 @@
- (void)remoteDebuggingCallWithData:(NSString *)data;
/**
+ This is for internal use.
+ */
+- (void)remoteDebuggingCallV2WithData:(NSString *)dataAsString;
+
+/**
Used to force the trigger `onAppOpenAttribution` delegate.
Notice, re-engagement, session and launch won't be counted.
Only for OneLink/UniversalLink/Deeplink resolving.
@@ -636,13 +660,13 @@
/**
API to set manually Facebook deferred app link
*/
-@property(nonatomic, nullable) NSURL *facebookDeferredAppLink;
+@property(nonatomic, nullable, copy) NSURL *facebookDeferredAppLink;
/**
Block an events from being shared with ad networks and other 3rd party integrations
Must only include letters/digits or underscore, maximum length: 45
*/
-@property(nonatomic, nullable) NSArray<NSString *> *sharingFilter DEPRECATED_MSG_ATTRIBUTE("starting SDK version 6.4.0, please use `setSharingFilterForPartners:`");
+@property(nonatomic, nullable, copy) NSArray<NSString *> *sharingFilter DEPRECATED_MSG_ATTRIBUTE("starting SDK version 6.4.0, please use `setSharingFilterForPartners:`");
@property(nonatomic) NSUInteger deepLinkTimeout;
@@ -663,6 +687,27 @@
*/
- (void)setSharingFilterForPartners:(NSArray<NSString *> * _Nullable)sharingFilter;
+
+/**
+ Sets or updates the user consent data related to GDPR and DMA regulations for advertising and data usage
+ purposes within the application. This method must be invoked with the user's current consent status each
+ time the app starts or whenever there is a change in the user's consent preferences.
+
+ Note that this method does not persist the consent data across app sessions; it only applies for the
+ duration of the current app session. If you wish to stop providing the consent data, you should
+ cease calling this method.
+
+ @param consent an instance of AppsFlyerConsent that encapsulates the user's consent information.
+ */
+- (void)setConsentData:(AppsFlyerConsent *)consent;
+
+/**
+ Enable the SDK to collect and send TCF data
+
+ @param shouldCollectConsentData indicates if the TCF data collection is enabled.
+ */
+- (void)enableTCFDataCollection:(BOOL)shouldCollectConsentData;
+
/**
Validate if URL contains certain string and append quiery
parameters to deeplink URL. In case if URL does not contain user-defined string,
--
Gitblit v1.8.0