From 45d7604ef74ab43f701887a41f3194abc6efb392 Mon Sep 17 00:00:00 2001 From: lpw <812862340@qq.com> Date: Thu, 11 Sep 2025 09:03:11 +0800 Subject: [PATCH] 提交版本 4.7.0 --- frameworks/AppsFlyerLib.xcframework/ios-arm64/AppsFlyerLib.framework/Headers/AppsFlyerLib.h | 43 +++++++++++++++++++++++++++++++++---------- 1 files changed, 33 insertions(+), 10 deletions(-) diff --git a/frameworks/AppsFlyerLib.xcframework/ios-arm64/AppsFlyerLib.framework/Headers/AppsFlyerLib.h b/frameworks/AppsFlyerLib.xcframework/ios-arm64/AppsFlyerLib.framework/Headers/AppsFlyerLib.h index e6f6ef7..27dc8da 100644 --- a/frameworks/AppsFlyerLib.xcframework/ios-arm64/AppsFlyerLib.framework/Headers/AppsFlyerLib.h +++ b/frameworks/AppsFlyerLib.xcframework/ios-arm64/AppsFlyerLib.framework/Headers/AppsFlyerLib.h @@ -2,7 +2,7 @@ // AppsFlyerLib.h // AppsFlyerLib // -// AppsFlyer iOS SDK 6.15.3 (217) +// AppsFlyer iOS SDK 6.12.2 (999) // Copyright (c) 2012-2023 AppsFlyer Ltd. All rights reserved. // @@ -12,10 +12,11 @@ #import <AppsFlyerLib/AppsFlyerShareInviteHelper.h> #import <AppsFlyerLib/AppsFlyerDeepLinkResult.h> #import <AppsFlyerLib/AppsFlyerDeepLink.h> -#import <AppsFlyerLib/AppsFlyerConsent.h> #import <AppsFlyerLib/AFSDKPurchaseDetails.h> +#import <AppsFlyerLib/AFSDKPurchaseType.h> #import <AppsFlyerLib/AFSDKValidateAndLogResult.h> #import <AppsFlyerLib/AFAdRevenueData.h> + NS_ASSUME_NONNULL_BEGIN @@ -129,6 +130,8 @@ #define AFEventParamPreferredNeighborhoods @"af_preferred_neighborhoods" //array of string #define AFEventParamPreferredNumStops @"af_preferred_num_stops" + +@class AppsFlyerConsent; /// Mail hashing type typedef enum { /// None @@ -489,16 +492,28 @@ 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`. + Validates and logs an in-app purchase using the updated VAL V2 flow. + + This method should be called after a successful transaction, typically from: + - `paymentQueue:updatedTransactions:` in your `SKPaymentTransactionObserver` (StoreKit 1) + - `transaction.listener` or `.finishTransaction()` or `VerificationResult<SignedType>` in StoreKit 2 (iOS 15+) + + @param purchaseDetails a `AFSDKPurchaseDetails` object. Must include: + - `productId` (non-empty) + - `transactionId` (non-empty) + - `purchaseType` ( `.subscription`, `.oneTimePurchase`) - @param details The product details - @param extraEventValues The additional param, which you want to receive it in the raw reports - @param completionHandler The callback + @param purchaseAdditionalDetails Optional metadata associated with the purchase + (previously known as `extraEventValues`). This can include custom app-level context. + + @param completion Completion block with either a response dictionary or an NSError. + On success: `response` contains a parsed result. + On failure: `error` describes the reason (validation failure, networking issue...) */ -- (void)validateAndLogInAppPurchase:(AFSDKPurchaseDetails *)details - extraEventValues:(NSDictionary * _Nullable)extraEventValues - completionHandler:(AFSDKValidateAndLogCompletion)completionHandler NS_AVAILABLE(10_7, 7_0); +- (void)validateAndLogInAppPurchase:(AFSDKPurchaseDetails *)purchaseDetails + purchaseAdditionalDetails:(NSDictionary * _Nullable)purchaseAdditionalDetails + completion:(void (^)(NSDictionary * _Nullable response, NSError * _Nullable error))completion +NS_SWIFT_NAME(validateAndLogInAppPurchase(purchaseDetails:purchaseAdditionalDetails:completion:)); /** An API to provide the data from the impression payload to AdRevenue. @@ -689,6 +704,14 @@ /** + Sets Custom Install Id - this overrides the default AppsFlyer Install ID. + Only effective if Info.plist has `AppsFlyerAllowCustomInstallId=YES` + * Must be called before calling set appsFlyerDevKey and appleAppID + @param customID the customId. + */ +- (void)setInstallId:(NSString *)customID; + +/** 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. -- Gitblit v1.8.0