From b19a78b27247f5f0761c35b5b3e8a41876eabb05 Mon Sep 17 00:00:00 2001
From: lpw <pengwei.li@gamehollywood.com>
Date: Tue, 20 Apr 2021 17:18:32 +0800
Subject: [PATCH] no message

---
 frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginButton.h |   34 +++++++++++++++++++++++++---------
 1 files changed, 25 insertions(+), 9 deletions(-)

diff --git a/frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginButton.h b/frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginButton.h
index 577d636..662b5ee 100644
--- a/frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginButton.h
+++ b/frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginButton.h
@@ -18,10 +18,21 @@
 
 #import <UIKit/UIKit.h>
 
-#import <FBSDKCoreKit/FBSDKButton.h>
+#import "TargetConditionals.h"
 
-#import <FBSDKLoginKit/FBSDKLoginManager.h>
+#if TARGET_OS_TV
 
+@interface FBLoginButton : UIView
+
+@property (copy, nonatomic) NSArray<NSString *> *permissions;
+
+@end
+
+#else
+
+#import "FBSDKCoreKitImport.h"
+
+#import "FBSDKLoginManager.h"
 #import "FBSDKTooltipView.h"
 
 NS_ASSUME_NONNULL_BEGIN
@@ -47,7 +58,7 @@
 /**
   A button that initiates a log in or log out flow upon tapping.
 
- `FBSDKLoginButton` works with `[FBSDKAccessToken currentAccessToken]` to
+ `FBSDKLoginButton` works with `FBSDKProfile.currentProfile` to
   determine what to display, and automatically starts authentication when tapped (i.e.,
   you do not need to manually subscribe action targets).
 
@@ -68,12 +79,6 @@
   Gets or sets the delegate.
  */
 @property (weak, nonatomic) IBOutlet id<FBSDKLoginButtonDelegate> delegate;
-/**
-  Gets or sets the login behavior to use
- */
-@property (assign, nonatomic) FBSDKLoginBehavior loginBehavior
-DEPRECATED_MSG_ATTRIBUTE("All login flows utilize the browser. This will be removed in the next major release");
-
 /*!
  @abstract The permissions to request.
  @discussion To provide the best experience, you should minimize the number of permissions you request, and only ask for them when needed.
@@ -93,6 +98,15 @@
   Gets or sets the desired tooltip color style.
  */
 @property (assign, nonatomic) FBSDKTooltipColorStyle tooltipColorStyle;
+/**
+  Gets or sets the desired tracking preference to use for login attempts. Defaults to `.enabled`
+ */
+@property (assign, nonatomic) FBSDKLoginTracking loginTracking;
+/**
+  Gets or sets an optional nonce to use for login attempts. A valid nonce must be a non-empty string without whitespace.
+ An invalid nonce will not be set. Instead, default unique nonces will be used for login attempts.
+ */
+@property (copy, nonatomic, nullable) NSString *nonce;
 
 @end
 
@@ -131,3 +145,5 @@
 @end
 
 NS_ASSUME_NONNULL_END
+
+#endif

--
Gitblit v1.8.0