From e2c4e3a250a8857c327b952288672d689320d563 Mon Sep 17 00:00:00 2001
From: lpw
Date: Tue, 18 Mar 2025 09:03:34 +0800
Subject: [PATCH] 提交 4.4.0

---
 frameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/frameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h b/frameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h
index 1a3372c..b11e9cc 100644
--- a/frameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h
+++ b/frameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h
@@ -280,6 +280,21 @@
   NS_SWIFT_NAME(logPurchase(amount:currency:parameters:accessToken:));
 // UNCRUSTIFY_FORMAT_ON
 
+/**
+ Call this API to log when an In-App Purchase fails on Store Kit 2 even if you have auto-logging turned on. A  purchase
+ is considered failed when the call to `product.purchase()` throws or the `Product.PurchaseResult`
+ is not `success` or `pending`
+ 
+ NOTE:  This API is only available in iOS 15.0+ because it is intended to be used with StoreKit 2, which is not available
+ until iOS 15.0
+ 
+ @param productID The product identifier of the product that the user failed to purchase. Can be
+ retrieved using `product.id`
+ */
+// UNCRUSTIFY_FORMAT_OFF
+-(void)logFailedStoreKit2Purchase:(NSString *)productID API_AVAILABLE(ios(15.0));
+// UNCRUSTIFY_FORMAT_ON
+
 /*
  * Push Notifications Logging
  */

--
Gitblit v1.8.0