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/FBSDKSettings.h | 54 ++++++++++++++++++++++++++++++++++++++++-------------- 1 files changed, 40 insertions(+), 14 deletions(-) diff --git a/frameworks/FBSDKCoreKit.framework/Headers/FBSDKSettings.h b/frameworks/FBSDKCoreKit.framework/Headers/FBSDKSettings.h index 2636810..86ee277 100644 --- a/frameworks/FBSDKCoreKit.framework/Headers/FBSDKSettings.h +++ b/frameworks/FBSDKCoreKit.framework/Headers/FBSDKSettings.h @@ -89,14 +89,8 @@ 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."))); +@property (class, nonatomic, assign, getter=isAutoInitEnabled) BOOL autoInitEnabled +DEPRECATED_MSG_ATTRIBUTE("Auto-initialization will be removed in the next major version release."); /** Controls the auto logging of basic app events, such as activateApp and deactivateApp. @@ -111,7 +105,7 @@ @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; @@ -133,14 +127,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 +145,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 +155,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 +163,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 +189,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