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/FBSDKLoginKit.framework/Headers/FBSDKReferralCode.h |   35 +++++++++++++++++++++++------------
 1 files changed, 23 insertions(+), 12 deletions(-)

diff --git a/frameworks/FBSDKShareKit.framework/Headers/FBSDKShareMessengerActionButton.h b/frameworks/FBSDKLoginKit.framework/Headers/FBSDKReferralCode.h
similarity index 66%
rename from frameworks/FBSDKShareKit.framework/Headers/FBSDKShareMessengerActionButton.h
rename to frameworks/FBSDKLoginKit.framework/Headers/FBSDKReferralCode.h
index 710a600..05ab81a 100644
--- a/frameworks/FBSDKShareKit.framework/Headers/FBSDKShareMessengerActionButton.h
+++ b/frameworks/FBSDKLoginKit.framework/Headers/FBSDKReferralCode.h
@@ -16,26 +16,37 @@
 // 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 <Foundation/Foundation.h>
+#import "TargetConditionals.h"
 
-#import <FBSDKCoreKit/FBSDKCopying.h>
-#import <FBSDKShareKit/FBSDKShareConstants.h>
+#if !TARGET_OS_TV
+
+#import <Foundation/Foundation.h>
 
 NS_ASSUME_NONNULL_BEGIN
 
 /**
- A base interface for Messenger share action buttons.
- */
-DEPRECATED_FOR_MESSENGER
-NS_SWIFT_NAME(ShareMessengerActionButton)
-@protocol FBSDKShareMessengerActionButton <FBSDKCopying, NSSecureCoding>
+ Represent a referral code used in the referral process
+*/
+NS_SWIFT_NAME(ReferralCode)
+@interface FBSDKReferralCode : NSObject
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
 
 /**
- The title displayed to the user for the button.
- @return The title for the button.
- */
-@property (nonatomic, copy) NSString *title;
+ The string value of the referral code
+*/
+@property NSString *value;
+
+/**
+ Initializes a new instance if the referral code is valid. Otherwise returns nil.
+ A code is valid if it is non-empty and contains only alphanumeric characters.
+ @param string the raw string referral code
+*/
++ (nullable instancetype)initWithString:(NSString *)string;
 
 @end
 
 NS_ASSUME_NONNULL_END
+
+#endif

--
Gitblit v1.8.0