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/FBSDKCoreKit.framework/Headers/FBSDKSettings.h |   70 +++++++++++++++++++++++++---------
 1 files changed, 51 insertions(+), 19 deletions(-)

diff --git a/frameworks/FBSDKCoreKit.framework/Headers/FBSDKSettings.h b/frameworks/FBSDKCoreKit.framework/Headers/FBSDKSettings.h
index 2636810..931b025 100644
--- a/frameworks/FBSDKCoreKit.framework/Headers/FBSDKSettings.h
+++ b/frameworks/FBSDKCoreKit.framework/Headers/FBSDKSettings.h
@@ -86,19 +86,6 @@
 NS_SWIFT_NAME(jpegCompressionQuality);
 
 /**
- Controls sdk auto initailization.
- If not explicitly set, the default is true
- */
-@property (class, nonatomic, assign, getter=isAutoInitEnabled) BOOL autoInitEnabled;
-
-/**
- Controls sdk crash report
- If not explicitly set, the default is true
- */
-@property (class, nonatomic, assign, getter=isInstrumentEnabled) BOOL instrumentEnabled
-__attribute((deprecated("This attribute is no longer used, use autoLogAppEventsEnabled instead.")));
-
-/**
  Controls the auto logging of basic app events, such as activateApp and deactivateApp.
  If not explicitly set, the default is true
  */
@@ -111,10 +98,16 @@
 @property (class, nonatomic, assign, getter=isCodelessDebugLogEnabled) BOOL codelessDebugLogEnabled;
 
 /**
- Controls the fb_codeless_debug logging event
+ Controls the access to IDFA
  If not explicitly set, the default is true
  */
 @property (class, nonatomic, assign, getter=isAdvertiserIDCollectionEnabled) BOOL advertiserIDCollectionEnabled;
+
+/**
+ Controls the SKAdNetwork report
+ If not explicitly set, the default is true
+ */
+@property (class, nonatomic, assign, getter=isSKAdNetworkReportEnabled) BOOL SKAdNetworkReportEnabled;
 
 /**
  Whether data such as that generated through FBSDKAppEvents and sent to Facebook
@@ -122,6 +115,13 @@
  Defaults to NO. This value is stored on the device and persists across app launches.
  */
 @property (class, nonatomic, assign, getter=shouldLimitEventAndDataUsage) BOOL limitEventAndDataUsage;
+
+/**
+ Whether in memory cached values should be used for expensive metadata fields, such as
+ carrier and advertiser ID, that are fetched on many applicationDidBecomeActive notifications.
+ Defaults to NO. This value is stored on the device and persists across app launches.
+ */
+@property (class, nonatomic, assign, getter=shouldUseCachedValuesForExpensiveMetadata) BOOL shouldUseCachedValuesForExpensiveMetadata;
 
 /**
  A convenient way to toggle error recovery for all FBSDKGraphRequest instances created after this is set.
@@ -133,14 +133,14 @@
 
  If not explicitly set, the default will be read from the application's plist (FacebookAppID).
  */
-@property (class, nonatomic, copy, null_resettable) NSString *appID;
+@property (class, nonatomic, copy, nullable) NSString *appID;
 
 /**
   The default url scheme suffix used for sessions.
 
  If not explicitly set, the default will be read from the application's plist (FacebookUrlSchemeSuffix).
  */
-@property (class, nonatomic, copy, null_resettable) NSString *appURLSchemeSuffix;
+@property (class, nonatomic, copy, nullable) NSString *appURLSchemeSuffix;
 
 /**
   The Client Token that has been set via [FBSDKSettings setClientToken].
@@ -151,7 +151,7 @@
 
  If not explicitly set, the default will be read from the application's plist (FacebookClientToken).
  */
-@property (class, nonatomic, copy, null_resettable) NSString *clientToken;
+@property (class, nonatomic, copy, nullable) NSString *clientToken;
 
 /**
   The Facebook Display Name used by the SDK.
@@ -161,7 +161,7 @@
 
  If not explicitly set, the default will be read from the application's plist (FacebookDisplayName).
  */
-@property (class, nonatomic, copy, null_resettable) NSString *displayName;
+@property (class, nonatomic, copy, nullable) NSString *displayName;
 
 /**
  The Facebook domain part. This can be used to change the Facebook domain
@@ -169,7 +169,7 @@
 
  If not explicitly set, the default will be read from the application's plist (FacebookDomainPart).
  */
-@property (class, nonatomic, copy, null_resettable) NSString *facebookDomainPart;
+@property (class, nonatomic, copy, nullable) NSString *facebookDomainPart;
 
 /**
   The current Facebook SDK logging behavior. This should consist of strings
@@ -195,6 +195,38 @@
 @property (class, nonatomic, copy, null_resettable) NSString *graphAPIVersion;
 
 /**
+ The value of the flag advertiser_tracking_enabled that controls the advertiser tracking status of the data sent to Facebook
+ If not explicitly set in iOS14 or above, the default is false in iOS14 or above.
+ */
++ (BOOL)isAdvertiserTrackingEnabled;
+
+/**
+Set the advertiser_tracking_enabled flag. It only works in iOS14 and above.
+ 
+@param advertiserTrackingEnabled the value of the flag
+@return Whether the the value is set successfully. It will always return NO in iOS 13 and below.
+ */
++ (BOOL)setAdvertiserTrackingEnabled:(BOOL)advertiserTrackingEnabled;
+
+/**
+Set the data processing options.
+
+@param options list of options
+*/
++ (void)setDataProcessingOptions:(nullable NSArray<NSString *> *)options;
+
+/**
+Set the data processing options.
+
+@param options list of the options
+@param country code of the country
+@param state code of the state
+*/
++ (void)setDataProcessingOptions:(nullable NSArray<NSString *> *)options
+                         country:(int)country
+                           state:(int)state;
+
+/**
  Enable a particular Facebook SDK logging behavior.
 
  @param loggingBehavior The LoggingBehavior to enable. This should be a string defined as a constant with FBSDKLoggingBehavior*.

--
Gitblit v1.8.0