From 17e981a3c4cd9b41283ebe7e8dcbbce26d282a8a Mon Sep 17 00:00:00 2001 From: hank <hank.zhang@proficientcity.com> Date: Thu, 30 Aug 2018 09:25:54 +0800 Subject: [PATCH] [Update] WAFbImpl (3.7.0) --- frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h b/frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h index 71260ca..549c13b 100644 --- a/frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h +++ b/frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h @@ -18,6 +18,10 @@ #import <Foundation/Foundation.h> +#if !TARGET_OS_TV +#import <WebKit/WebKit.h> +#endif + #import <FBSDKCoreKit/FBSDKGraphRequestConnection.h> #import "FBSDKMacros.h" @@ -507,6 +511,11 @@ + (void)setUserID:(NSString *)userID; /* + Clears the custom user ID to associate with all app events. + */ ++ (void)clearUserID; + +/* Returns the set custom user ID. */ + (NSString *)userID; @@ -520,4 +529,17 @@ */ + (void)updateUserProperties:(NSDictionary *)properties handler:(FBSDKGraphRequestHandler)handler; +#if !TARGET_OS_TV +/* + Intended to be used as part of a hybrid webapp. + If you call this method, the FB SDK will inject a new JavaScript object into your webview. + If the FB Pixel is used within the webview, and references the app ID of this app, + then it will detect the presence of this injected JavaScript object + and pass Pixel events back to the FB SDK for logging using the AppEvents framework. + + - Parameter webView: The webview to augment with the additional JavaScript behaviour + */ ++ (void)augmentHybridWKWebView:(WKWebView *)webView; +#endif + @end -- Gitblit v1.8.0