From 49b8839fda3439edc31581527e84036e58f55f0f Mon Sep 17 00:00:00 2001
From: lpw <pengwei.li@gamehollywood.com>
Date: Tue, 26 Jan 2021 09:43:00 +0800
Subject: [PATCH] 3.9.2

---
 frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h |   48 ++++++++++++++++++++++++++----------------------
 1 files changed, 26 insertions(+), 22 deletions(-)

diff --git a/frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h b/frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h
index 8a971b2..86c5121 100644
--- a/frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h
+++ b/frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h
@@ -16,7 +16,13 @@
 // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
+#import "TargetConditionals.h"
+
+#if !TARGET_OS_TV
+
 #import <Foundation/Foundation.h>
+
+NS_ASSUME_NONNULL_BEGIN
 
 /**
   Describes the callback for fetchDeferredAppLink.
@@ -27,20 +33,18 @@
  The url may also have a fb_click_time_utc query parameter that
  represents when the click occurred that caused the deferred App Link to be created.
  */
-typedef void (^FBSDKDeferredAppLinkHandler)(NSURL *url, NSError *error);
-
-
-/**
-  Describes the callback for fetchOrganicDeferredAppLink.
- @param url the url representing the deferred App Link
- */
-typedef void (^FBSDKDeferredAppInviteHandler)(NSURL *url);
+typedef void (^FBSDKURLBlock)(NSURL *_Nullable url, NSError *_Nullable error)
+NS_SWIFT_NAME(URLBlock);
 
 
 /**
   Class containing App Links related utility methods.
  */
+NS_SWIFT_NAME(AppLinkUtility)
 @interface FBSDKAppLinkUtility : NSObject
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
 
 /**
   Call this method from the main thread to fetch deferred applink data if you use Mobile App
@@ -59,21 +63,10 @@
  been processed (e.g., you should call this method from your application delegate's
  applicationDidBecomeActive:).
  */
-+ (void)fetchDeferredAppLink:(FBSDKDeferredAppLinkHandler)handler;
-
-/**
-
-@warning This method is no longer available and will always return NO.
- */
-+ (BOOL)fetchDeferredAppInvite:(FBSDKDeferredAppInviteHandler)handler
-DEPRECATED_MSG_ATTRIBUTE("This method is no longer available.");
++ (void)fetchDeferredAppLink:(nullable FBSDKURLBlock)handler;
 
 /*
-  Call this method to fetch promotion code from the url, if it's present. This function
- requires Bolts framework.
-
- Note: This throws an exception if Bolts.framework is not linked. Add '[BFURL class]' in intialize method
- of your AppDelegate.
+  Call this method to fetch promotion code from the url, if it's present.
 
  @param url App Link url that was passed to the app.
 
@@ -84,6 +77,17 @@
  This can be used to fetch the promotion code that was associated with the invite when it
  was created. This method should be called with the url from the openURL method.
 */
-+ (NSString*)appInvitePromotionCodeFromURL:(NSURL*)url;
++ (nullable NSString *)appInvitePromotionCodeFromURL:(NSURL *)url;
+
+/**
+ Check whether the scheme is defined in the app's URL schemes.
+ @param scheme the scheme of App Link URL
+ @return YES if the scheme is defined, otherwise NO.
+*/
++ (BOOL)isMatchURLScheme:(NSString *)scheme;
 
 @end
+
+NS_ASSUME_NONNULL_END
+
+#endif

--
Gitblit v1.8.0