Skip to content
This repository has been archived by the owner on Oct 24, 2022. It is now read-only.

Commit

Permalink
Update Facebook iOS SDK 4.34.0
Browse files Browse the repository at this point in the history
  • Loading branch information
peterpeterparker committed Jun 27, 2018
1 parent ec79844 commit 74bccb1
Show file tree
Hide file tree
Showing 13 changed files with 42 additions and 5 deletions.
Binary file modified src/ios/Bolts.framework/Bolts
Binary file not shown.
Binary file modified src/ios/Bolts.framework/Info.plist
Binary file not shown.
Binary file modified src/ios/FBSDKCoreKit.framework/FBSDKCoreKit
Binary file not shown.
17 changes: 17 additions & 0 deletions src/ios/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@

#import <Foundation/Foundation.h>

#if !TARGET_OS_TV
#import <WebKit/WebKit.h>
#endif

#import <FBSDKCoreKit/FBSDKGraphRequestConnection.h>

#import "FBSDKMacros.h"
Expand Down Expand Up @@ -520,4 +524,17 @@ FBSDK_EXTERN NSString *const FBSDKAppEventParameterValueNo;
*/
+ (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
2 changes: 1 addition & 1 deletion src/ios/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@
#import <FBSDKCoreKit/FBSDKDeviceViewControllerBase.h>
#endif

#define FBSDK_VERSION_STRING @"4.33.0"
#define FBSDK_VERSION_STRING @"4.34.0"
#define FBSDK_TARGET_PLATFORM_VERSION @"v3.0"
Binary file modified src/ios/FBSDKCoreKit.framework/Info.plist
Binary file not shown.
Binary file modified src/ios/FBSDKLoginKit.framework/FBSDKLoginKit
Binary file not shown.
Binary file modified src/ios/FBSDKLoginKit.framework/Info.plist
Binary file not shown.
Binary file modified src/ios/FBSDKMessengerShareKit.framework/FBSDKMessengerShareKit
Binary file not shown.
Binary file modified src/ios/FBSDKMessengerShareKit.framework/Info.plist
Binary file not shown.
Binary file modified src/ios/FBSDKShareKit.framework/FBSDKShareKit
Binary file not shown.
28 changes: 24 additions & 4 deletions src/ios/FBSDKShareKit.framework/Headers/FBSDKShareVideo.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,25 +21,45 @@
#import <FBSDKCoreKit/FBSDKCopying.h>

@class FBSDKSharePhoto;
@class PHAsset;

/**
A video for sharing.
*/
@interface FBSDKShareVideo : NSObject <FBSDKCopying, NSSecureCoding>

/**
Convenience method to build a new video object with a PHAsset.
- Parameter videoAsset: The PHAsset that represents the video in the Photos library.
*/
+ (instancetype)videoWithVideoAsset:(PHAsset *)videoAsset;

/**
Convenience method to build a new video object with a PHAsset and a previewPhoto.
- Parameter videoAsset: The PHAsset that represents the video in the Photos library.
- Parameter previewPhoto: The photo that represents the video.
*/
+ (instancetype)videoWithVideoAsset:(PHAsset *)videoAsset previewPhoto:(FBSDKSharePhoto *)previewPhoto;

/**
Convenience method to build a new video object with a videoURL.
- Parameter videoURL: The URL to the video
- Parameter videoURL: The URL to the video.
*/
+ (instancetype)videoWithVideoURL:(NSURL *)videoURL;

/**
Convenience method to build a new video object with a videoURL and a previewPhoto
- Parameter videoURL: The URL to the video
- Parameter previewPhoto: The photo that represents the video
Convenience method to build a new video object with a videoURL and a previewPhoto.
- Parameter videoURL: The URL to the video.
- Parameter previewPhoto: The photo that represents the video.
*/
+ (instancetype)videoWithVideoURL:(NSURL *)videoURL previewPhoto:(FBSDKSharePhoto *)previewPhoto;

/**
The representation of the video in the Photos library.
- Returns: PHAsset that represents the video in the Photos library.
*/
@property (nonatomic, copy) PHAsset *videoAsset;

/**
The file URL to the video.
- Returns: URL that points to the location of the video on disk
Expand Down
Binary file modified src/ios/FBSDKShareKit.framework/Info.plist
Binary file not shown.

0 comments on commit 74bccb1

Please sign in to comment.