hank
2019-01-22 13e53a03f4d50169d0cf7f72d414753ae6b421ce
添加V3.8.0
13 files added
1 files deleted
81 files modified
3164 ■■■■ changed files
WAFbImpl.podspec 6 ●●●● patch | view | raw | blame | history
bundle/FacebookSDKStrings.bundle/Resources/en.lproj/Localizable.strings patch | view | raw | blame | history
config/wa_sdk_impl_config_facebook.xml 2 ●●● patch | view | raw | blame | history
frameworks/Bolts.framework/Bolts patch | view | raw | blame | history
frameworks/Bolts.framework/Headers/BFAppLinkNavigation.h 1 ●●●● patch | view | raw | blame | history
frameworks/Bolts.framework/Headers/BFAppLinkResolving.h 2 ●●● patch | view | raw | blame | history
frameworks/Bolts.framework/Headers/BFAppLinkReturnToRefererController.h 1 ●●●● patch | view | raw | blame | history
frameworks/Bolts.framework/Headers/BFAppLinkReturnToRefererView.h 1 ●●●● patch | view | raw | blame | history
frameworks/Bolts.framework/Headers/BFCancellationToken.h 2 ●●● patch | view | raw | blame | history
frameworks/Bolts.framework/Headers/BFExecutor.h 4 ●●●● patch | view | raw | blame | history
frameworks/Bolts.framework/Headers/BFGeneric.h 25 ●●●●● patch | view | raw | blame | history
frameworks/Bolts.framework/Headers/BFTask+Exceptions.h 32 ●●●●● patch | view | raw | blame | history
frameworks/Bolts.framework/Headers/BFTask.h 83 ●●●●● patch | view | raw | blame | history
frameworks/Bolts.framework/Headers/BFTaskCompletionSource.h 30 ●●●● patch | view | raw | blame | history
frameworks/Bolts.framework/Headers/Bolts.h 2 ●●● patch | view | raw | blame | history
frameworks/Bolts.framework/Info.plist patch | view | raw | blame | history
frameworks/FBSDKCoreKit.framework/FBSDKCoreKit patch | view | raw | blame | history
frameworks/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h 93 ●●●● patch | view | raw | blame | history
frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h 403 ●●●● patch | view | raw | blame | history
frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLink.h 63 ●●●●● patch | view | raw | blame | history
frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkNavigation.h 137 ●●●●● patch | view | raw | blame | history
frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h 45 ●●●● patch | view | raw | blame | history
frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolving.h 60 ●●●●● patch | view | raw | blame | history
frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkReturnToRefererController.h 100 ●●●●● patch | view | raw | blame | history
frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkReturnToRefererView.h 90 ●●●●● patch | view | raw | blame | history
frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkTarget.h 45 ●●●●● patch | view | raw | blame | history
frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h 16 ●●●● patch | view | raw | blame | history
frameworks/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h 24 ●●●● patch | view | raw | blame | history
frameworks/FBSDKCoreKit.framework/Headers/FBSDKConstants.h 396 ●●●●● patch | view | raw | blame | history
frameworks/FBSDKCoreKit.framework/Headers/FBSDKCopying.h 2 ●●● patch | view | raw | blame | history
frameworks/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h 13 ●●●● patch | view | raw | blame | history
frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h 24 ●●●● patch | view | raw | blame | history
frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h 29 ●●●●● patch | view | raw | blame | history
frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h 73 ●●●●● patch | view | raw | blame | history
frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h 9 ●●●●● patch | view | raw | blame | history
frameworks/FBSDKCoreKit.framework/Headers/FBSDKMacros.h 20 ●●●●● patch | view | raw | blame | history
frameworks/FBSDKCoreKit.framework/Headers/FBSDKMeasurementEvent.h 69 ●●●●● patch | view | raw | blame | history
frameworks/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h 2 ●●● patch | view | raw | blame | history
frameworks/FBSDKCoreKit.framework/Headers/FBSDKProfile.h 61 ●●●●● patch | view | raw | blame | history
frameworks/FBSDKCoreKit.framework/Headers/FBSDKSettings.h 76 ●●●●● patch | view | raw | blame | history
frameworks/FBSDKCoreKit.framework/Headers/FBSDKTestUsersManager.h 27 ●●●●● patch | view | raw | blame | history
frameworks/FBSDKCoreKit.framework/Headers/FBSDKURL.h 87 ●●●●● patch | view | raw | blame | history
frameworks/FBSDKCoreKit.framework/Headers/FBSDKUtility.h 36 ●●●●● patch | view | raw | blame | history
frameworks/FBSDKCoreKit.framework/Headers/FBSDKWebViewAppLinkResolver.h 38 ●●●●● patch | view | raw | blame | history
frameworks/FBSDKCoreKit.framework/Info.plist patch | view | raw | blame | history
frameworks/FBSDKLoginKit.framework/FBSDKLoginKit patch | view | raw | blame | history
frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginButton.h 12 ●●●● patch | view | raw | blame | history
frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h 83 ●●●● patch | view | raw | blame | history
frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h 10 ●●●●● patch | view | raw | blame | history
frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h 41 ●●●●● patch | view | raw | blame | history
frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h 11 ●●●●● patch | view | raw | blame | history
frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h 8 ●●●● patch | view | raw | blame | history
frameworks/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h 16 ●●●● patch | view | raw | blame | history
frameworks/FBSDKLoginKit.framework/Info.plist patch | view | raw | blame | history
frameworks/FBSDKShareKit.framework/FBSDKShareKit patch | view | raw | blame | history
frameworks/FBSDKShareKit.framework/Headers/FBSDKAppGroupAddDialog.h 48 ●●●● patch | view | raw | blame | history
frameworks/FBSDKShareKit.framework/Headers/FBSDKAppGroupContent.h 7 ●●●●● patch | view | raw | blame | history
frameworks/FBSDKShareKit.framework/Headers/FBSDKAppGroupJoinDialog.h 44 ●●●● patch | view | raw | blame | history
frameworks/FBSDKShareKit.framework/Headers/FBSDKAppInviteContent.h 12 ●●●●● patch | view | raw | blame | history
frameworks/FBSDKShareKit.framework/Headers/FBSDKAppInviteDialog.h 34 ●●●● patch | view | raw | blame | history
frameworks/FBSDKShareKit.framework/Headers/FBSDKCameraEffectArguments.h 16 ●●●● patch | view | raw | blame | history
frameworks/FBSDKShareKit.framework/Headers/FBSDKCameraEffectTextures.h 8 ●●●● patch | view | raw | blame | history
frameworks/FBSDKShareKit.framework/Headers/FBSDKGameRequestContent.h 17 ●●●●● patch | view | raw | blame | history
frameworks/FBSDKShareKit.framework/Headers/FBSDKGameRequestDialog.h 26 ●●●● patch | view | raw | blame | history
frameworks/FBSDKShareKit.framework/Headers/FBSDKHashtag.h 12 ●●●● patch | view | raw | blame | history
frameworks/FBSDKShareKit.framework/Headers/FBSDKLikeButton.h 2 ●●● patch | view | raw | blame | history
frameworks/FBSDKShareKit.framework/Headers/FBSDKLikeControl.h 14 ●●●●● patch | view | raw | blame | history
frameworks/FBSDKShareKit.framework/Headers/FBSDKLikeObjectType.h 4 ●●● patch | view | raw | blame | history
frameworks/FBSDKShareKit.framework/Headers/FBSDKLiking.h 4 ●●●● patch | view | raw | blame | history
frameworks/FBSDKShareKit.framework/Headers/FBSDKMessageDialog.h 20 ●●●● patch | view | raw | blame | history
frameworks/FBSDKShareKit.framework/Headers/FBSDKShareAPI.h 20 ●●●● patch | view | raw | blame | history
frameworks/FBSDKShareKit.framework/Headers/FBSDKShareCameraEffectContent.h 7 ●●●●● patch | view | raw | blame | history
frameworks/FBSDKShareKit.framework/Headers/FBSDKShareConstants.h 56 ●●●● patch | view | raw | blame | history
frameworks/FBSDKShareKit.framework/Headers/FBSDKShareDialog.h 6 ●●●● patch | view | raw | blame | history
frameworks/FBSDKShareKit.framework/Headers/FBSDKShareDialogMode.h 6 ●●●●● patch | view | raw | blame | history
frameworks/FBSDKShareKit.framework/Headers/FBSDKShareLinkContent.h 12 ●●●● patch | view | raw | blame | history
frameworks/FBSDKShareKit.framework/Headers/FBSDKShareMediaContent.h 6 ●●●● patch | view | raw | blame | history
frameworks/FBSDKShareKit.framework/Headers/FBSDKShareMessengerActionButton.h 2 ●●● patch | view | raw | blame | history
frameworks/FBSDKShareKit.framework/Headers/FBSDKShareOpenGraphAction.h 24 ●●●● patch | view | raw | blame | history
frameworks/FBSDKShareKit.framework/Headers/FBSDKShareOpenGraphContent.h 8 ●●●● patch | view | raw | blame | history
frameworks/FBSDKShareKit.framework/Headers/FBSDKShareOpenGraphObject.h 6 ●●●● patch | view | raw | blame | history
frameworks/FBSDKShareKit.framework/Headers/FBSDKShareOpenGraphValueContainer.h 62 ●●●● patch | view | raw | blame | history
frameworks/FBSDKShareKit.framework/Headers/FBSDKSharePhoto.h 39 ●●●● patch | view | raw | blame | history
frameworks/FBSDKShareKit.framework/Headers/FBSDKSharePhotoContent.h 6 ●●●● patch | view | raw | blame | history
frameworks/FBSDKShareKit.framework/Headers/FBSDKShareVideo.h 65 ●●●● patch | view | raw | blame | history
frameworks/FBSDKShareKit.framework/Headers/FBSDKShareVideoContent.h 11 ●●●● patch | view | raw | blame | history
frameworks/FBSDKShareKit.framework/Headers/FBSDKSharing.h 28 ●●●● patch | view | raw | blame | history
frameworks/FBSDKShareKit.framework/Headers/FBSDKSharingButton.h 4 ●●●● patch | view | raw | blame | history
frameworks/FBSDKShareKit.framework/Headers/FBSDKSharingContent.h 37 ●●●● patch | view | raw | blame | history
frameworks/FBSDKShareKit.framework/Headers/FBSDKSharingScheme.h 33 ●●●●● patch | view | raw | blame | history
frameworks/FBSDKShareKit.framework/Headers/FBSDKSharingValidation.h 46 ●●●●● patch | view | raw | blame | history
frameworks/FBSDKShareKit.framework/Info.plist patch | view | raw | blame | history
frameworks/WAFbImpl.framework/Headers/WAFbImpl.h 2 ●●● patch | view | raw | blame | history
frameworks/WAFbImpl.framework/Info.plist patch | view | raw | blame | history
frameworks/WAFbImpl.framework/WAFbImpl patch | view | raw | blame | history
WAFbImpl.podspec
@@ -9,7 +9,7 @@
Pod::Spec.new do |s|
s.name = 'WAFbImpl'
s.version = '3.7.0'
s.version = '3.8.0'
s.summary = 'WAFbImpl framework in production environment.'
s.license = 'MIT'
s.author = { "Wuyx" => "wuyixin_gh@gamehollywood.com" }
@@ -20,6 +20,6 @@
s.vendored_frameworks = 'frameworks/*.framework'
s.resources = ['config/*.xml','bundle/FacebookSDKStrings.bundle']
s.requires_arc = true
s.dependency 'WASdkIntf', '~> 3.7.0'   #此处添加私有库依赖
s.dependency 'WASdkImpl', '~> 3.7.0'
s.dependency 'WASdkIntf', '~> 3.8.0'   #此处添加私有库依赖
s.dependency 'WASdkImpl', '~> 3.8.0'
end
bundle/FacebookSDKStrings.bundle/Resources/en.lproj/Localizable.strings
Binary files differ
config/wa_sdk_impl_config_facebook.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<config>
    <version val="FB3.7.0"/>
    <version val="FB3.8.0"/>
    <comps>
        <!-- 用户模块 -->
        <comp module="USR" plaf="FACEBOOK" mandatory="NO" value="WAFBUser" desc="FACEBOOK用户账户"/>
frameworks/Bolts.framework/Bolts
Binary files differ
frameworks/Bolts.framework/Headers/BFAppLinkNavigation.h
@@ -33,6 +33,7 @@
 custom requests with additional navigation and app data attached to them by
 creating BFAppLinkNavigations themselves.
 */
NS_EXTENSION_UNAVAILABLE_IOS("Not available in app extension")
@interface BFAppLinkNavigation : NSObject
/*!
frameworks/Bolts.framework/Headers/BFAppLinkResolving.h
@@ -25,6 +25,6 @@
 @param url The URL to resolve into an App Link.
 @returns A BFTask that will return a BFAppLink for the given URL.
 */
- (BFTask *)appLinkFromURLInBackground:(NSURL *)url;
- (BFTask *)appLinkFromURLInBackground:(NSURL *)url NS_EXTENSION_UNAVAILABLE_IOS("Not available in app extension");
@end
frameworks/Bolts.framework/Headers/BFAppLinkReturnToRefererController.h
@@ -40,6 +40,7 @@
 A controller class that implements default behavior for a BFAppLinkReturnToRefererView, including
 the ability to display the view above the navigation bar for navigation-based apps.
 */
NS_EXTENSION_UNAVAILABLE_IOS("Not available in app extension")
@interface BFAppLinkReturnToRefererController : NSObject <BFAppLinkReturnToRefererViewDelegate>
/*!
frameworks/Bolts.framework/Headers/BFAppLinkReturnToRefererView.h
@@ -48,6 +48,7 @@
 rather than navigating away. If the view is provided an App Link that does not contain
 referer data, it will have zero size and no UI will be displayed.
 */
NS_EXTENSION_UNAVAILABLE_IOS("Not available in app extension")
@interface BFAppLinkReturnToRefererView : UIView
/*!
frameworks/Bolts.framework/Headers/BFCancellationToken.h
@@ -17,7 +17,7 @@
/*!
 A block that will be called when a token is cancelled.
 */
typedef void(^BFCancellationBlock)();
typedef void(^BFCancellationBlock)(void);
/*!
 The consumer view of a CancellationToken.
frameworks/Bolts.framework/Headers/BFExecutor.h
@@ -37,7 +37,7 @@
 Returns a new executor that uses the given block to execute continuations.
 @param block The block to use.
 */
+ (instancetype)executorWithBlock:(void(^)(void(^block)()))block;
+ (instancetype)executorWithBlock:(void(^)(void(^block)(void)))block;
/*!
 Returns a new executor that runs continuations on the given queue.
@@ -55,7 +55,7 @@
 Runs the given block using this executor's particular strategy.
 @param block The block to execute.
 */
- (void)execute:(void(^)())block;
- (void)execute:(void(^)(void))block;
@end
frameworks/Bolts.framework/Headers/BFGeneric.h
New file
@@ -0,0 +1,25 @@
/*
 *  Copyright (c) 2014, Facebook, Inc.
 *  All rights reserved.
 *
 *  This source code is licensed under the BSD-style license found in the
 *  LICENSE file in the root directory of this source tree. An additional grant
 *  of patent rights can be found in the PATENTS file in the same directory.
 *
 */
#import <Foundation/Foundation.h>
#pragma once
/**
 This exists to use along with `BFTask` and `BFTaskCompletionSource`.
 Instead of returning a `BFTask` with no generic type, or a generic type of 'NSNull'
 when there is no usable result from a task, we use the type 'BFVoid', which will always have a value of `nil`.
 This allows you to provide a more enforced API contract to the caller,
 as sending any message to `BFVoid` will result in a compile time error.
 */
@class _BFVoid_Nonexistant;
typedef _BFVoid_Nonexistant *BFVoid;
frameworks/Bolts.framework/Headers/BFTask+Exceptions.h
File was deleted
frameworks/Bolts.framework/Headers/BFTask.h
@@ -11,6 +11,7 @@
#import <Foundation/Foundation.h>
#import <Bolts/BFCancellationToken.h>
#import <Bolts/BFGeneric.h>
NS_ASSUME_NONNULL_BEGIN
@@ -25,27 +26,10 @@
extern NSInteger const kBFMultipleErrorsError;
/*!
 An exception that is thrown if there was multiple exceptions on <BFTask taskForCompletionOfAllTasks:>.
 @deprecated `BFTask` exception handling is deprecated and will be removed in a future release.
 */
extern NSString *const BFTaskMultipleExceptionsException
__attribute__((deprecated("`BFTask` exception handling is deprecated and will be removed in a future release.")));
/*!
 An error userInfo key used if there were multiple errors on <BFTask taskForCompletionOfAllTasks:>.
 Value type is `NSArray<NSError *> *`.
 */
extern NSString *const BFTaskMultipleErrorsUserInfoKey;
/*!
 An error userInfo key used if there were multiple exceptions on <BFTask taskForCompletionOfAllTasks:>.
 Value type is `NSArray<NSException *> *`.
 @deprecated `BFTask` exception handling is deprecated and will be removed in a future release.
 */
extern NSString *const BFTaskMultipleExceptionsUserInfoKey
__attribute__((deprecated("`BFTask` exception handling is deprecated and will be removed in a future release.")));
@class BFExecutor;
@class BFTask;
@@ -75,15 +59,6 @@
+ (instancetype)taskWithError:(NSError *)error;
/*!
 Creates a task that is already completed with the given exception.
 @param exception The exception for the task.
 @deprecated `BFTask` exception handling is deprecated and will be removed in a future release.
 */
+ (instancetype)taskWithException:(NSException *)exception
__attribute__((deprecated("`BFTask` exception handling is deprecated and will be removed in a future release.")));
/*!
 Creates a task that is already cancelled.
 */
+ (instancetype)cancelledTask;
@@ -105,7 +80,7 @@
/*!
 Returns a task that will be completed once there is at least one successful task.
 The first task to successuly complete will set the result, all other tasks results are
 The first task to successuly complete will set the result, all other tasks results are
 ignored.
 @param tasks An `NSArray` of the tasks to use as an input.
 */
@@ -116,7 +91,7 @@
 @param millis The approximate number of milliseconds to wait before the
 task will be finished (with result == nil).
 */
+ (instancetype)taskWithDelay:(int)millis;
+ (BFTask<BFVoid> *)taskWithDelay:(int)millis;
/*!
 Returns a task that will be completed a certain amount of time in the future.
@@ -124,7 +99,7 @@
 task will be finished (with result == nil).
 @param token The cancellation token (optional).
 */
+ (instancetype)taskWithDelay:(int)millis cancellationToken:(nullable BFCancellationToken *)token;
+ (BFTask<BFVoid> *)taskWithDelay:(int)millis cancellationToken:(nullable BFCancellationToken *)token;
/*!
 Returns a task that will be completed after the given block completes with
@@ -136,7 +111,7 @@
 If block returns a BFTask, then the task returned from
 this method will not be completed until that task is completed.
 */
+ (instancetype)taskFromExecutor:(BFExecutor *)executor withBlock:(nullable id (^)())block;
+ (instancetype)taskFromExecutor:(BFExecutor *)executor withBlock:(nullable id (^)(void))block;
// Properties that will be set on the task once it is completed.
@@ -151,20 +126,12 @@
@property (nullable, nonatomic, strong, readonly) NSError *error;
/*!
 The exception of a failed task.
 @deprecated `BFTask` exception handling is deprecated and will be removed in a future release.
 */
@property (nullable, nonatomic, strong, readonly) NSException *exception
__attribute__((deprecated("`BFTask` exception handling is deprecated and will be removed in a future release.")));
/*!
 Whether this task has been cancelled.
 */
@property (nonatomic, assign, readonly, getter=isCancelled) BOOL cancelled;
/*!
 Whether this task has completed due to an error or exception.
 Whether this task has completed due to an error.
 */
@property (nonatomic, assign, readonly, getter=isFaulted) BOOL faulted;
@@ -184,7 +151,7 @@
 If block returns a BFTask, then the task returned from
 this method will not be completed until that task is completed.
 */
- (BFTask *)continueWithBlock:(BFContinuationBlock)block;
- (BFTask *)continueWithBlock:(BFContinuationBlock)block NS_SWIFT_NAME(continueWith(block:));
/*!
 Enqueues the given block to be run once this task is complete.
@@ -198,7 +165,8 @@
 If block returns a BFTask, then the task returned from
 this method will not be completed until that task is completed.
 */
- (BFTask *)continueWithBlock:(BFContinuationBlock)block cancellationToken:(nullable BFCancellationToken *)cancellationToken;
- (BFTask *)continueWithBlock:(BFContinuationBlock)block
            cancellationToken:(nullable BFCancellationToken *)cancellationToken NS_SWIFT_NAME(continueWith(block:cancellationToken:));
/*!
 Enqueues the given block to be run once this task is complete.
@@ -209,7 +177,9 @@
 If block returns a BFTask, then the task returned from
 this method will not be completed until that task is completed.
 */
- (BFTask *)continueWithExecutor:(BFExecutor *)executor withBlock:(BFContinuationBlock)block;
- (BFTask *)continueWithExecutor:(BFExecutor *)executor
                       withBlock:(BFContinuationBlock)block NS_SWIFT_NAME(continueWith(executor:block:));
/*!
 Enqueues the given block to be run once this task is complete.
 @param executor A BFExecutor responsible for determining how the
@@ -222,11 +192,12 @@
 */
- (BFTask *)continueWithExecutor:(BFExecutor *)executor
                           block:(BFContinuationBlock)block
               cancellationToken:(nullable BFCancellationToken *)cancellationToken;
               cancellationToken:(nullable BFCancellationToken *)cancellationToken
NS_SWIFT_NAME(continueWith(executor:block:cancellationToken:));
/*!
 Identical to continueWithBlock:, except that the block is only run
 if this task did not produce a cancellation, error, or exception.
 if this task did not produce a cancellation or an error.
 If it did, then the failure will be propagated to the returned
 task.
 @param block The block to be run once this task is complete.
@@ -234,11 +205,11 @@
 If block returns a BFTask, then the task returned from
 this method will not be completed until that task is completed.
 */
- (BFTask *)continueWithSuccessBlock:(BFContinuationBlock)block;
- (BFTask *)continueWithSuccessBlock:(BFContinuationBlock)block NS_SWIFT_NAME(continueOnSuccessWith(block:));
/*!
 Identical to continueWithBlock:, except that the block is only run
 if this task did not produce a cancellation, error, or exception.
 if this task did not produce a cancellation or an error.
 If it did, then the failure will be propagated to the returned
 task.
 @param block The block to be run once this task is complete.
@@ -247,13 +218,14 @@
 If block returns a BFTask, then the task returned from
 this method will not be completed until that task is completed.
 */
- (BFTask *)continueWithSuccessBlock:(BFContinuationBlock)block cancellationToken:(nullable BFCancellationToken *)cancellationToken;
- (BFTask *)continueWithSuccessBlock:(BFContinuationBlock)block
                   cancellationToken:(nullable BFCancellationToken *)cancellationToken
NS_SWIFT_NAME(continueOnSuccessWith(block:cancellationToken:));
/*!
 Identical to continueWithExecutor:withBlock:, except that the block
 is only run if this task did not produce a cancellation, error, or
 exception. If it did, then the failure will be propagated to the
 returned task.
 is only run if this task did not produce a cancellation, error, or an error.
 If it did, then the failure will be propagated to the returned task.
 @param executor A BFExecutor responsible for determining how the
 continuation block will be run.
 @param block The block to be run once this task is complete.
@@ -261,13 +233,13 @@
 If block returns a BFTask, then the task returned from
 this method will not be completed until that task is completed.
 */
- (BFTask *)continueWithExecutor:(BFExecutor *)executor withSuccessBlock:(BFContinuationBlock)block;
- (BFTask *)continueWithExecutor:(BFExecutor *)executor
                withSuccessBlock:(BFContinuationBlock)block NS_SWIFT_NAME(continueOnSuccessWith(executor:block:));
/*!
 Identical to continueWithExecutor:withBlock:, except that the block
 is only run if this task did not produce a cancellation, error, or
 exception. If it did, then the failure will be propagated to the
 returned task.
 is only run if this task did not produce a cancellation or an error.
 If it did, then the failure will be propagated to the returned task.
 @param executor A BFExecutor responsible for determining how the
 continuation block will be run.
 @param block The block to be run once this task is complete.
@@ -278,7 +250,8 @@
 */
- (BFTask *)continueWithExecutor:(BFExecutor *)executor
                    successBlock:(BFContinuationBlock)block
               cancellationToken:(nullable BFCancellationToken *)cancellationToken;
               cancellationToken:(nullable BFCancellationToken *)cancellationToken
NS_SWIFT_NAME(continueOnSuccessWith(executor:block:cancellationToken:));
/*!
 Waits until this operation is completed.
frameworks/Bolts.framework/Headers/BFTaskCompletionSource.h
@@ -12,7 +12,7 @@
NS_ASSUME_NONNULL_BEGIN
@class BFTask<ResultType>;
@class BFTask<__covariant ResultType>;
/*!
 A BFTaskCompletionSource represents the producer side of tasks.
@@ -36,24 +36,14 @@
 Attempting to set this for a completed task will raise an exception.
 @param result The result of the task.
 */
- (void)setResult:(nullable ResultType)result;
- (void)setResult:(nullable ResultType)result NS_SWIFT_NAME(set(result:));
/*!
 Completes the task by setting the error.
 Attempting to set this for a completed task will raise an exception.
 @param error The error for the task.
 */
- (void)setError:(NSError *)error;
/*!
 Completes the task by setting an exception.
 Attempting to set this for a completed task will raise an exception.
 @param exception The exception for the task.
 @deprecated `BFTask` exception handling is deprecated and will be removed in a future release.
 */
- (void)setException:(NSException *)exception
__attribute__((deprecated("`BFTask` exception handling is deprecated and will be removed in a future release.")));
- (void)setError:(NSError *)error NS_SWIFT_NAME(set(error:));
/*!
 Completes the task by marking it as cancelled.
@@ -65,24 +55,14 @@
 Sets the result of the task if it wasn't already completed.
 @returns whether the new value was set.
 */
- (BOOL)trySetResult:(nullable ResultType)result;
- (BOOL)trySetResult:(nullable ResultType)result NS_SWIFT_NAME(trySet(result:));
/*!
 Sets the error of the task if it wasn't already completed.
 @param error The error for the task.
 @returns whether the new value was set.
 */
- (BOOL)trySetError:(NSError *)error;
/*!
 Sets the exception of the task if it wasn't already completed.
 @param exception The exception for the task.
 @returns whether the new value was set.
 @deprecated `BFTask` exception handling is deprecated and will be removed in a future release.
 */
- (BOOL)trySetException:(NSException *)exception
__attribute__((deprecated("`BFTask` exception handling is deprecated and will be removed in a future release.")));
- (BOOL)trySetError:(NSError *)error NS_SWIFT_NAME(trySet(error:));
/*!
 Sets the cancellation state of the task if it wasn't already completed.
frameworks/Bolts.framework/Headers/Bolts.h
@@ -12,8 +12,8 @@
#import <Bolts/BFCancellationTokenRegistration.h>
#import <Bolts/BFCancellationTokenSource.h>
#import <Bolts/BFExecutor.h>
#import <Bolts/BFGeneric.h>
#import <Bolts/BFTask.h>
#import <Bolts/BFTask+Exceptions.h>
#import <Bolts/BFTaskCompletionSource.h>
#if __has_include(<Bolts/BFAppLink.h>) && TARGET_OS_IPHONE && !TARGET_OS_WATCH && !TARGET_OS_TV
frameworks/Bolts.framework/Info.plist
Binary files differ
frameworks/FBSDKCoreKit.framework/FBSDKCoreKit
Binary files differ
frameworks/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h
@@ -20,7 +20,8 @@
#import <FBSDKCoreKit/FBSDKCopying.h>
#import <FBSDKCoreKit/FBSDKGraphRequestConnection.h>
#import <FBSDKCoreKit/FBSDKMacros.h>
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0
/**
  Notification indicating that the `currentAccessToken` has changed.
@@ -29,7 +30,20 @@
 `FBSDKAccessTokenChangeOldKey` and
 `FBSDKAccessTokenChangeNewKey`.
 */
FBSDK_EXTERN NSString *const FBSDKAccessTokenDidChangeNotification;
FOUNDATION_EXPORT NSNotificationName const FBSDKAccessTokenDidChangeNotification;
#else
/**
  Notification indicating that the `currentAccessToken` has changed.
 the userInfo dictionary of the notification will contain keys
 `FBSDKAccessTokenChangeOldKey` and
 `FBSDKAccessTokenChangeNewKey`.
 */
FOUNDATION_EXPORT NSString *const FBSDKAccessTokenDidChangeNotification;
#endif
/**
  A key in the notification's userInfo that will be set
@@ -44,27 +58,33 @@
  of an access token, this key will also exist since the access token
  is moving from a null state (no user) to a non-null state (user).
 */
FBSDK_EXTERN NSString *const FBSDKAccessTokenDidChangeUserID;
FOUNDATION_EXPORT NSString *const FBSDKAccessTokenDidChangeUserIDKey;
FOUNDATION_EXPORT NSString *const FBSDKAccessTokenDidChangeUserID
DEPRECATED_MSG_ATTRIBUTE("Renamed `FBSDKAccessTokenDidChangeUserIDKey`");
/*
  key in notification's userInfo object for getting the old token.
 If there was no old token, the key will not be present.
 */
FBSDK_EXTERN NSString *const FBSDKAccessTokenChangeOldKey;
FOUNDATION_EXPORT NSString *const FBSDKAccessTokenChangeOldKey;
/*
  key in notification's userInfo object for getting the new token.
 If there is no new token, the key will not be present.
 */
FBSDK_EXTERN NSString *const FBSDKAccessTokenChangeNewKey;
FOUNDATION_EXPORT NSString *const FBSDKAccessTokenChangeNewKey;
/*
 A key in the notification's userInfo that will be set
 if and only if the token has expired.
 */
FBSDK_EXTERN NSString *const FBSDKAccessTokenDidExpire;
FOUNDATION_EXPORT NSString *const FBSDKAccessTokenDidExpireKey;
FOUNDATION_EXPORT NSString *const FBSDKAccessTokenDidExpire
DEPRECATED_MSG_ATTRIBUTE("Renamed `FBSDKAccessTokenDidExpireKey`");
/**
@@ -76,6 +96,11 @@
  Returns the app ID.
 */
@property (readonly, copy, nonatomic) NSString *appID;
/**
 Returns the expiration date for data access
 */
@property (readonly, copy, nonatomic) NSDate *dataAccessExpirationDate;
/**
  Returns the known declined permissions.
@@ -112,20 +137,51 @@
 */
@property (readonly, assign, nonatomic, getter = isExpired) BOOL expired;
/**
 Returns whether user data access is still active for the given access token
 */
@property (readonly, assign, nonatomic, getter = isDataAccessExpired) BOOL dataAccessExpired;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
/**
 Initializes a new instance.
 @param tokenString the opaque token string.
 @param permissions the granted permissions. Note this is converted to NSSet and is only
 an NSArray for the convenience of literal syntax.
 @param declinedPermissions the declined permissions. Note this is converted to NSSet and is only
 an NSArray for the convenience of literal syntax.
 @param appID the app ID.
 @param userID the user ID.
 @param expirationDate the optional expiration date (defaults to distantFuture).
 @param refreshDate the optional date the token was last refreshed (defaults to today).
 This initializer should only be used for advanced apps that
 manage tokens explicitly. Typical login flows only need to use `FBSDKLoginManager`
 along with `+currentAccessToken`.
 */
- (instancetype)initWithTokenString:(NSString *)tokenString
                        permissions:(NSArray *)permissions
                declinedPermissions:(NSArray *)declinedPermissions
                              appID:(NSString *)appID
                             userID:(NSString *)userID
                     expirationDate:(NSDate *)expirationDate
                        refreshDate:(NSDate *)refreshDate;
/**
  Initializes a new instance.
 - Parameter tokenString: the opaque token string.
 - Parameter permissions: the granted permissions. Note this is converted to NSSet and is only
 @param tokenString the opaque token string.
 @param permissions the granted permissions. Note this is converted to NSSet and is only
 an NSArray for the convenience of literal syntax.
 - Parameter declinedPermissions: the declined permissions. Note this is converted to NSSet and is only
 @param declinedPermissions the declined permissions. Note this is converted to NSSet and is only
 an NSArray for the convenience of literal syntax.
 - Parameter appID: the app ID.
 - Parameter userID: the user ID.
 - Parameter expirationDate: the optional expiration date (defaults to distantFuture).
 - Parameter refreshDate: the optional date the token was last refreshed (defaults to today).
 @param appID the app ID.
 @param userID the user ID.
 @param expirationDate the optional expiration date (defaults to distantFuture).
 @param refreshDate the optional date the token was last refreshed (defaults to today).
 @param dataAccessExpirationDate the date which data access will expire for the given user
 (defaults to distantFuture).
 This initializer should only be used for advanced apps that
 manage tokens explicitly. Typical login flows only need to use `FBSDKLoginManager`
@@ -138,18 +194,19 @@
                             userID:(NSString *)userID
                     expirationDate:(NSDate *)expirationDate
                        refreshDate:(NSDate *)refreshDate
                 dataAccessExpirationDate:(NSDate *)dataAccessExpirationDate
NS_DESIGNATED_INITIALIZER;
/**
  Convenience getter to determine if a permission has been granted
 - Parameter permission:  The permission to check.
 @param permission  The permission to check.
 */
- (BOOL)hasGranted:(NSString *)permission;
/**
  Compares the receiver to another FBSDKAccessToken
 - Parameter token: The other token
 - Returns: YES if the receiver's values are equal to the other token's values; otherwise NO
 @param token The other token
 @return YES if the receiver's values are equal to the other token's values; otherwise NO
 */
- (BOOL)isEqualToAccessToken:(FBSDKAccessToken *)token;
@@ -169,7 +226,7 @@
/**
  Sets the "global" access token that represents the currently logged in user.
 - Parameter token: The access token to set.
 @param token The access token to set.
 This will broadcast a notification and save the token to the app keychain.
 */
@@ -178,7 +235,7 @@
/**
  Refresh the current access token's permission state and extend the token's expiration date,
  if possible.
 - Parameter completionHandler: an optional callback handler that can surface any errors related to permission refreshing.
 @param completionHandler an optional callback handler that can surface any errors related to permission refreshing.
 On a successful refresh, the currentAccessToken will be updated so you typically only need to
  observe the `FBSDKAccessTokenDidChangeNotification` notification.
frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h
@@ -24,16 +24,23 @@
#import <FBSDKCoreKit/FBSDKGraphRequestConnection.h>
#import "FBSDKMacros.h"
@class FBSDKAccessToken;
@class FBSDKGraphRequest;
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0
/**  NSNotificationCenter name indicating a result of a failed log flush attempt. The posted object will be an NSError instance. */
FBSDK_EXTERN NSString *const FBSDKAppEventsLoggingResultNotification;
FOUNDATION_EXPORT NSNotificationName const FBSDKAppEventsLoggingResultNotification;
#else
/**  NSNotificationCenter name indicating a result of a failed log flush attempt. The posted object will be an NSError instance. */
FOUNDATION_EXPORT NSString *const FBSDKAppEventsLoggingResultNotification;
#endif
/**  optional plist key ("FacebookLoggingOverrideAppID") for setting `loggingOverrideAppID` */
FBSDK_EXTERN NSString *const FBSDKAppEventsOverrideAppIDBundleKey;
FOUNDATION_EXPORT NSString *const FBSDKAppEventsOverrideAppIDBundleKey;
/**
@@ -56,45 +63,114 @@
};
/**
  NS_ENUM(NSUInteger, FBSDKProductAvailability)
    Specifies product availability for Product Catalog product item update
 */
typedef NS_ENUM(NSUInteger, FBSDKProductAvailability)
{
  /**
   * Item ships immediately
   */
  FBSDKProductAvailabilityInStock = 0,
  /**
   * No plan to restock
   */
  FBSDKProductAvailabilityOutOfStock,
  /**
   * Available in future
   */
  FBSDKProductAvailabilityPreOrder,
  /**
   * Ships in 1-2 weeks
   */
  FBSDKProductAvailabilityAvailableForOrder,
  /**
   * Discontinued
   */
  FBSDKProductAvailabilityDiscontinued,
};
/**
 NS_ENUM(NSUInteger, FBSDKProductCondition)
 Specifies product condition for Product Catalog product item update
 */
typedef NS_ENUM(NSUInteger, FBSDKProductCondition)
{
  FBSDKProductConditionNew = 0,
  FBSDKProductConditionRefurbished,
  FBSDKProductConditionUsed,
};
/**
 @methodgroup Predefined event names for logging events common to many apps.  Logging occurs through the `logEvent` family of methods on `FBSDKAppEvents`.
 Common event parameters are provided in the `FBSDKAppEventsParameterNames*` constants.
 */
/** Log this event when the user has achieved a level in the app. */
FBSDK_EXTERN NSString *const FBSDKAppEventNameAchievedLevel;
FOUNDATION_EXPORT NSString *const FBSDKAppEventNameAchievedLevel;
/** Log this event when the user has entered their payment info. */
FBSDK_EXTERN NSString *const FBSDKAppEventNameAddedPaymentInfo;
FOUNDATION_EXPORT NSString *const FBSDKAppEventNameAddedPaymentInfo;
/** Log this event when the user has added an item to their cart.  The valueToSum passed to logEvent should be the item's price. */
FBSDK_EXTERN NSString *const FBSDKAppEventNameAddedToCart;
FOUNDATION_EXPORT NSString *const FBSDKAppEventNameAddedToCart;
/** Log this event when the user has added an item to their wishlist.  The valueToSum passed to logEvent should be the item's price. */
FBSDK_EXTERN NSString *const FBSDKAppEventNameAddedToWishlist;
FOUNDATION_EXPORT NSString *const FBSDKAppEventNameAddedToWishlist;
/** Log this event when a user has completed registration with the app. */
FBSDK_EXTERN NSString *const FBSDKAppEventNameCompletedRegistration;
FOUNDATION_EXPORT NSString *const FBSDKAppEventNameCompletedRegistration;
/** Log this event when the user has completed a tutorial in the app. */
FBSDK_EXTERN NSString *const FBSDKAppEventNameCompletedTutorial;
FOUNDATION_EXPORT NSString *const FBSDKAppEventNameCompletedTutorial;
/** Log this event when the user has entered the checkout process.  The valueToSum passed to logEvent should be the total price in the cart. */
FBSDK_EXTERN NSString *const FBSDKAppEventNameInitiatedCheckout;
FOUNDATION_EXPORT NSString *const FBSDKAppEventNameInitiatedCheckout;
/** Log this event when the user has rated an item in the app.  The valueToSum passed to logEvent should be the numeric rating. */
FBSDK_EXTERN NSString *const FBSDKAppEventNameRated;
FOUNDATION_EXPORT NSString *const FBSDKAppEventNameRated;
/** Log this event when a user has performed a search within the app. */
FBSDK_EXTERN NSString *const FBSDKAppEventNameSearched;
FOUNDATION_EXPORT NSString *const FBSDKAppEventNameSearched;
/** Log this event when the user has spent app credits.  The valueToSum passed to logEvent should be the number of credits spent. */
FBSDK_EXTERN NSString *const FBSDKAppEventNameSpentCredits;
FOUNDATION_EXPORT NSString *const FBSDKAppEventNameSpentCredits;
/** Log this event when the user has unlocked an achievement in the app. */
FBSDK_EXTERN NSString *const FBSDKAppEventNameUnlockedAchievement;
FOUNDATION_EXPORT NSString *const FBSDKAppEventNameUnlockedAchievement;
/** Log this event when a user has viewed a form of content in the app. */
FBSDK_EXTERN NSString *const FBSDKAppEventNameViewedContent;
FOUNDATION_EXPORT NSString *const FBSDKAppEventNameViewedContent;
/** A telephone/SMS, email, chat or other type of contact between a customer and your business. */
FOUNDATION_EXPORT NSString *const FBSDKAppEventNameContact;
/** The customization of products through a configuration tool or other application your business owns. */
FOUNDATION_EXPORT NSString *const FBSDKAppEventNameCustomizeProduct;
/** The donation of funds to your organization or cause. */
FOUNDATION_EXPORT NSString *const FBSDKAppEventNameDonate;
/** When a person finds one of your locations via web or application, with an intention to visit (example: find product at a local store). */
FOUNDATION_EXPORT NSString *const FBSDKAppEventNameFindLocation;
/** The booking of an appointment to visit one of your locations. */
FOUNDATION_EXPORT NSString *const FBSDKAppEventNameSchedule;
/** The start of a free trial of a product or service you offer (example: trial subscription). */
FOUNDATION_EXPORT NSString *const FBSDKAppEventNameStartTrial;
/** The submission of an application for a product, service or program you offer (example: credit card, educational program or job). */
FOUNDATION_EXPORT NSString *const FBSDKAppEventNameSubmitApplication;
/** The start of a paid subscription for a product or service you offer. */
FOUNDATION_EXPORT NSString *const FBSDKAppEventNameSubscribe;
/** Log this event when the user views an ad. */
FOUNDATION_EXPORT NSString *const FBSDKAppEventNameAdImpression;
/** Log this event when the user clicks an ad. */
FOUNDATION_EXPORT NSString *const FBSDKAppEventNameAdClick;
/**
 @methodgroup Predefined event name parameters for common additional information to accompany events logged through the `logEvent` family
@@ -107,40 +183,104 @@
  * Example:
  * "[{\"id\": \"1234\", \"quantity\": 2, \"item_price\": 5.99}, {\"id\": \"5678\", \"quantity\": 1, \"item_price\": 9.99}]"
  */
FBSDK_EXTERN NSString *const FBSDKAppEventParameterNameContent;
FOUNDATION_EXPORT NSString *const FBSDKAppEventParameterNameContent;
/** Parameter key used to specify an ID for the specific piece of content being logged about.  Could be an EAN, article identifier, etc., depending on the nature of the app. */
FBSDK_EXTERN NSString *const FBSDKAppEventParameterNameContentID;
FOUNDATION_EXPORT NSString *const FBSDKAppEventParameterNameContentID;
/** Parameter key used to specify a generic content type/family for the logged event, e.g. "music", "photo", "video".  Options to use will vary based upon what the app is all about. */
FBSDK_EXTERN NSString *const FBSDKAppEventParameterNameContentType;
FOUNDATION_EXPORT NSString *const FBSDKAppEventParameterNameContentType;
/** Parameter key used to specify currency used with logged event.  E.g. "USD", "EUR", "GBP".  See ISO-4217 for specific values.  One reference for these is <http://en.wikipedia.org/wiki/ISO_4217>. */
FBSDK_EXTERN NSString *const FBSDKAppEventParameterNameCurrency;
FOUNDATION_EXPORT NSString *const FBSDKAppEventParameterNameCurrency;
/** Parameter key used to specify a description appropriate to the event being logged.  E.g., the name of the achievement unlocked in the `FBAppEventNameAchievementUnlocked` event. */
FBSDK_EXTERN NSString *const FBSDKAppEventParameterNameDescription;
FOUNDATION_EXPORT NSString *const FBSDKAppEventParameterNameDescription;
/** Parameter key used to specify the level achieved in a `FBAppEventNameAchieved` event. */
FBSDK_EXTERN NSString *const FBSDKAppEventParameterNameLevel;
FOUNDATION_EXPORT NSString *const FBSDKAppEventParameterNameLevel;
/** Parameter key used to specify the maximum rating available for the `FBAppEventNameRate` event.  E.g., "5" or "10". */
FBSDK_EXTERN NSString *const FBSDKAppEventParameterNameMaxRatingValue;
FOUNDATION_EXPORT NSString *const FBSDKAppEventParameterNameMaxRatingValue;
/** Parameter key used to specify how many items are being processed for an `FBAppEventNameInitiatedCheckout` or `FBAppEventNamePurchased` event. */
FBSDK_EXTERN NSString *const FBSDKAppEventParameterNameNumItems;
FOUNDATION_EXPORT NSString *const FBSDKAppEventParameterNameNumItems;
/** Parameter key used to specify whether payment info is available for the `FBAppEventNameInitiatedCheckout` event.  `FBSDKAppEventParameterValueYes` and `FBSDKAppEventParameterValueNo` are good canonical values to use for this parameter. */
FBSDK_EXTERN NSString *const FBSDKAppEventParameterNamePaymentInfoAvailable;
FOUNDATION_EXPORT NSString *const FBSDKAppEventParameterNamePaymentInfoAvailable;
/** Parameter key used to specify method user has used to register for the app, e.g., "Facebook", "email", "Twitter", etc */
FBSDK_EXTERN NSString *const FBSDKAppEventParameterNameRegistrationMethod;
FOUNDATION_EXPORT NSString *const FBSDKAppEventParameterNameRegistrationMethod;
/** Parameter key used to specify the string provided by the user for a search operation. */
FBSDK_EXTERN NSString *const FBSDKAppEventParameterNameSearchString;
FOUNDATION_EXPORT NSString *const FBSDKAppEventParameterNameSearchString;
/** Parameter key used to specify whether the activity being logged about was successful or not.  `FBSDKAppEventParameterValueYes` and `FBSDKAppEventParameterValueNo` are good canonical values to use for this parameter. */
FBSDK_EXTERN NSString *const FBSDKAppEventParameterNameSuccess;
FOUNDATION_EXPORT NSString *const FBSDKAppEventParameterNameSuccess;
/**
 @methodgroup Predefined event name parameters for common additional information to accompany events logged through the `logProductItem` method on `FBSDKAppEvents`.
 */
/** Parameter key used to specify the product item's custom label 0. */
FOUNDATION_EXPORT NSString *const FBSDKAppEventParameterProductCustomLabel0;
/** Parameter key used to specify the product item's custom label 1. */
FOUNDATION_EXPORT NSString *const FBSDKAppEventParameterProductCustomLabel1;
/** Parameter key used to specify the product item's custom label 2. */
FOUNDATION_EXPORT NSString *const FBSDKAppEventParameterProductCustomLabel2;
/** Parameter key used to specify the product item's custom label 3. */
FOUNDATION_EXPORT NSString *const FBSDKAppEventParameterProductCustomLabel3;
/** Parameter key used to specify the product item's custom label 4. */
FOUNDATION_EXPORT NSString *const FBSDKAppEventParameterProductCustomLabel4;
/** Parameter key used to specify the product item's AppLink app URL for iOS. */
FOUNDATION_EXPORT NSString *const FBSDKAppEventParameterProductAppLinkIOSUrl;
/** Parameter key used to specify the product item's AppLink app ID for iOS App Store. */
FOUNDATION_EXPORT NSString *const FBSDKAppEventParameterProductAppLinkIOSAppStoreID;
/** Parameter key used to specify the product item's AppLink app name for iOS. */
FOUNDATION_EXPORT NSString *const FBSDKAppEventParameterProductAppLinkIOSAppName;
/** Parameter key used to specify the product item's AppLink app URL for iPhone. */
FOUNDATION_EXPORT NSString *const FBSDKAppEventParameterProductAppLinkIPhoneUrl;
/** Parameter key used to specify the product item's AppLink app ID for iPhone App Store. */
FOUNDATION_EXPORT NSString *const FBSDKAppEventParameterProductAppLinkIPhoneAppStoreID;
/** Parameter key used to specify the product item's AppLink app name for iPhone. */
FOUNDATION_EXPORT NSString *const FBSDKAppEventParameterProductAppLinkIPhoneAppName;
/** Parameter key used to specify the product item's AppLink app URL for iPad. */
FOUNDATION_EXPORT NSString *const FBSDKAppEventParameterProductAppLinkIPadUrl;
/** Parameter key used to specify the product item's AppLink app ID for iPad App Store. */
FOUNDATION_EXPORT NSString *const FBSDKAppEventParameterProductAppLinkIPadAppStoreID;
/** Parameter key used to specify the product item's AppLink app name for iPad. */
FOUNDATION_EXPORT NSString *const FBSDKAppEventParameterProductAppLinkIPadAppName;
/** Parameter key used to specify the product item's AppLink app URL for Android. */
FOUNDATION_EXPORT NSString *const FBSDKAppEventParameterProductAppLinkAndroidUrl;
/** Parameter key used to specify the product item's AppLink fully-qualified package name for intent generation. */
FOUNDATION_EXPORT NSString *const FBSDKAppEventParameterProductAppLinkAndroidPackage;
/** Parameter key used to specify the product item's AppLink app name for Android. */
FOUNDATION_EXPORT NSString *const FBSDKAppEventParameterProductAppLinkAndroidAppName;
/** Parameter key used to specify the product item's AppLink app URL for Windows Phone. */
FOUNDATION_EXPORT NSString *const FBSDKAppEventParameterProductAppLinkWindowsPhoneUrl;
/** Parameter key used to specify the product item's AppLink app ID, as a GUID, for App Store. */
FOUNDATION_EXPORT NSString *const FBSDKAppEventParameterProductAppLinkWindowsPhoneAppID;
/** Parameter key used to specify the product item's AppLink app name for Windows Phone. */
FOUNDATION_EXPORT NSString *const FBSDKAppEventParameterProductAppLinkWindowsPhoneAppName;
/*
 @methodgroup Predefined values to assign to event parameters that accompany events logged through the `logEvent` family
@@ -148,11 +288,19 @@
 */
/** Yes-valued parameter value to be used with parameter keys that need a Yes/No value */
FBSDK_EXTERN NSString *const FBSDKAppEventParameterValueYes;
FOUNDATION_EXPORT NSString *const FBSDKAppEventParameterValueYes;
/** No-valued parameter value to be used with parameter keys that need a Yes/No value */
FBSDK_EXTERN NSString *const FBSDKAppEventParameterValueNo;
FOUNDATION_EXPORT NSString *const FBSDKAppEventParameterValueNo;
/** Parameter key used to specify the type of ad in an FBSDKAppEventNameAdImpression
 * or FBSDKAppEventNameAdClick event.
 * E.g. "banner", "interstitial", "rewarded_video", "native" */
FOUNDATION_EXPORT NSString *const FBSDKAppEventParameterNameAdType;
/** Parameter key used to specify the unique ID for all events within a subscription
 * in an FBSDKAppEventNameSubscribe or FBSDKAppEventNameStartTrial event. */
FOUNDATION_EXPORT NSString *const FBSDKAppEventParameterNameOrderID;
/**
@@ -213,7 +361,7 @@
  Log an event with just an eventName.
 - Parameter eventName:   The name of the event to record.  Limitations on number of events and name length
 @param eventName   The name of the event to record.  Limitations on number of events and name length
 are given in the `FBSDKAppEvents` documentation.
 */
@@ -223,10 +371,10 @@
  Log an event with an eventName and a numeric value to be aggregated with other events of this name.
 - Parameter eventName:   The name of the event to record.  Limitations on number of events and name length
 @param eventName   The name of the event to record.  Limitations on number of events and name length
 are given in the `FBSDKAppEvents` documentation.  Common event names are provided in `FBAppEventName*` constants.
 - Parameter valueToSum:  Amount to be aggregated into all events of this eventName, and App Insights will report
 @param valueToSum  Amount to be aggregated into all events of this eventName, and App Insights will report
 the cumulative and average value of this amount.
 */
+ (void)logEvent:(NSString *)eventName
@@ -238,10 +386,10 @@
  Log an event with an eventName and a set of key/value pairs in the parameters dictionary.
 Parameter limitations are described above.
 - Parameter eventName:   The name of the event to record.  Limitations on number of events and name construction
 @param eventName   The name of the event to record.  Limitations on number of events and name construction
 are given in the `FBSDKAppEvents` documentation.  Common event names are provided in `FBAppEventName*` constants.
 - Parameter parameters:  Arbitrary parameter dictionary of characteristics. The keys to this dictionary must
 @param parameters  Arbitrary parameter dictionary of characteristics. The keys to this dictionary must
 be NSString's, and the values are expected to be NSString or NSNumber.  Limitations on the number of
 parameters and name construction are given in the `FBSDKAppEvents` documentation.  Commonly used parameter names
 are provided in `FBSDKAppEventParameterName*` constants.
@@ -254,13 +402,13 @@
  Log an event with an eventName, a numeric value to be aggregated with other events of this name,
 and a set of key/value pairs in the parameters dictionary.
 - Parameter eventName:   The name of the event to record.  Limitations on number of events and name construction
 @param eventName   The name of the event to record.  Limitations on number of events and name construction
 are given in the `FBSDKAppEvents` documentation.  Common event names are provided in `FBAppEventName*` constants.
 - Parameter valueToSum:  Amount to be aggregated into all events of this eventName, and App Insights will report
 @param valueToSum  Amount to be aggregated into all events of this eventName, and App Insights will report
 the cumulative and average value of this amount.
 - Parameter parameters:  Arbitrary parameter dictionary of characteristics. The keys to this dictionary must
 @param parameters  Arbitrary parameter dictionary of characteristics. The keys to this dictionary must
 be NSString's, and the values are expected to be NSString or NSNumber.  Limitations on the number of
 parameters and name construction are given in the `FBSDKAppEvents` documentation.  Commonly used parameter names
 are provided in `FBSDKAppEventParameterName*` constants.
@@ -277,19 +425,19 @@
 and a set of key/value pairs in the parameters dictionary.  Providing session lets the developer
 target a particular <FBSession>.  If nil is provided, then `[FBSession activeSession]` will be used.
 - Parameter eventName:   The name of the event to record.  Limitations on number of events and name construction
 @param eventName   The name of the event to record.  Limitations on number of events and name construction
 are given in the `FBSDKAppEvents` documentation.  Common event names are provided in `FBAppEventName*` constants.
 - Parameter valueToSum:  Amount to be aggregated into all events of this eventName, and App Insights will report
 @param valueToSum  Amount to be aggregated into all events of this eventName, and App Insights will report
 the cumulative and average value of this amount.  Note that this is an NSNumber, and a value of `nil` denotes
 that this event doesn't have a value associated with it for summation.
 - Parameter parameters:  Arbitrary parameter dictionary of characteristics. The keys to this dictionary must
 @param parameters  Arbitrary parameter dictionary of characteristics. The keys to this dictionary must
 be NSString's, and the values are expected to be NSString or NSNumber.  Limitations on the number of
 parameters and name construction are given in the `FBSDKAppEvents` documentation.  Commonly used parameter names
 are provided in `FBSDKAppEventParameterName*` constants.
 - Parameter accessToken:  The optional access token to log the event as.
 @param accessToken  The optional access token to log the event as.
 */
+ (void)logEvent:(NSString *)eventName
      valueToSum:(NSNumber *)valueToSum
@@ -304,10 +452,10 @@
  Log a purchase of the specified amount, in the specified currency.
 - Parameter purchaseAmount:    Purchase amount to be logged, as expressed in the specified currency.  This value
 @param purchaseAmount    Purchase amount to be logged, as expressed in the specified currency.  This value
 will be rounded to the thousandths place (e.g., 12.34567 becomes 12.346).
 - Parameter currency:          Currency, is denoted as, e.g. "USD", "EUR", "GBP".  See ISO-4217 for
 @param currency          Currency, is denoted as, e.g. "USD", "EUR", "GBP".  See ISO-4217 for
 specific values.  One reference for these is <http://en.wikipedia.org/wiki/ISO_4217>.
@@ -323,13 +471,13 @@
  Log a purchase of the specified amount, in the specified currency, also providing a set of
 additional characteristics describing the purchase.
 - Parameter purchaseAmount:  Purchase amount to be logged, as expressed in the specified currency.This value
 @param purchaseAmount  Purchase amount to be logged, as expressed in the specified currency.This value
 will be rounded to the thousandths place (e.g., 12.34567 becomes 12.346).
 - Parameter currency:        Currency, is denoted as, e.g. "USD", "EUR", "GBP".  See ISO-4217 for
 @param currency        Currency, is denoted as, e.g. "USD", "EUR", "GBP".  See ISO-4217 for
 specific values.  One reference for these is <http://en.wikipedia.org/wiki/ISO_4217>.
 - Parameter parameters:      Arbitrary parameter dictionary of characteristics. The keys to this dictionary must
 @param parameters      Arbitrary parameter dictionary of characteristics. The keys to this dictionary must
 be NSString's, and the values are expected to be NSString or NSNumber.  Limitations on the number of
 parameters and name construction are given in the `FBSDKAppEvents` documentation.  Commonly used parameter names
 are provided in `FBSDKAppEventParameterName*` constants.
@@ -348,18 +496,18 @@
  Log a purchase of the specified amount, in the specified currency, also providing a set of
 additional characteristics describing the purchase, as well as an <FBSession> to log to.
 - Parameter purchaseAmount:  Purchase amount to be logged, as expressed in the specified currency.This value
 @param purchaseAmount  Purchase amount to be logged, as expressed in the specified currency.This value
 will be rounded to the thousandths place (e.g., 12.34567 becomes 12.346).
 - Parameter currency:        Currency, is denoted as, e.g. "USD", "EUR", "GBP".  See ISO-4217 for
 @param currency        Currency, is denoted as, e.g. "USD", "EUR", "GBP".  See ISO-4217 for
 specific values.  One reference for these is <http://en.wikipedia.org/wiki/ISO_4217>.
 - Parameter parameters:      Arbitrary parameter dictionary of characteristics. The keys to this dictionary must
 @param parameters      Arbitrary parameter dictionary of characteristics. The keys to this dictionary must
 be NSString's, and the values are expected to be NSString or NSNumber.  Limitations on the number of
 parameters and name construction are given in the `FBSDKAppEvents` documentation.  Commonly used parameter names
 are provided in `FBSDKAppEventParameterName*` constants.
 - Parameter accessToken:  The optional access token to log the event as.
 @param accessToken  The optional access token to log the event as.
            This event immediately triggers a flush of the `FBSDKAppEvents` event queue, unless the `flushBehavior` is set
@@ -379,17 +527,57 @@
/**
  Log an app event that tracks that the application was open via Push Notification.
 - Parameter payload: Notification payload received via `UIApplicationDelegate`.
 @param payload Notification payload received via `UIApplicationDelegate`.
 */
+ (void)logPushNotificationOpen:(NSDictionary *)payload;
/**
  Log an app event that tracks that a custom action was taken from a push notification.
 - Parameter payload: Notification payload received via `UIApplicationDelegate`.
 - Parameter action:  Name of the action that was taken.
 @param payload Notification payload received via `UIApplicationDelegate`.
 @param action  Name of the action that was taken.
 */
+ (void)logPushNotificationOpen:(NSDictionary *)payload action:(NSString *)action;
/**
  Uploads product catalog product item as an app event
  @param itemID            Unique ID for the item. Can be a variant for a product.
                           Max size is 100.
  @param availability      If item is in stock. Accepted values are:
                              in stock - Item ships immediately
                              out of stock - No plan to restock
                              preorder - Available in future
                              available for order - Ships in 1-2 weeks
                              discontinued - Discontinued
  @param condition         Product condition: new, refurbished or used.
  @param description       Short text describing product. Max size is 5000.
  @param imageLink         Link to item image used in ad.
  @param link              Link to merchant's site where someone can buy the item.
  @param title             Title of item.
  @param priceAmount       Amount of purchase, in the currency specified by the 'currency'
                           parameter. This value will be rounded to the thousandths place
                           (e.g., 12.34567 becomes 12.346).
  @param currency          Currency used to specify the amount.
                           E.g. "USD", "EUR", "GBP".  See ISO-4217 for specific values. One reference for these is <http://en.wikipedia.org/wiki/ISO_4217>
  @param gtin              Global Trade Item Number including UPC, EAN, JAN and ISBN
  @param mpn               Unique manufacture ID for product
  @param brand             Name of the brand
                           Note: Either gtin, mpn or brand is required.
  @param parameters        Optional fields for deep link specification.
 */
+ (void)logProductItem:(NSString *)itemID
          availability:(FBSDKProductAvailability)availability
             condition:(FBSDKProductCondition)condition
           description:(NSString *)description
             imageLink:(NSString *)imageLink
                  link:(NSString *)link
                 title:(NSString *)title
           priceAmount:(double)priceAmount
              currency:(NSString *)currency
                  gtin:(NSString *)gtin
                   mpn:(NSString *)mpn
                 brand:(NSString *)brand
            parameters:(NSDictionary *)parameters;
/**
@@ -413,7 +601,7 @@
+ (void)activateApp;
/*
 * Push Notifications Registration
 * Push Notifications Registration and Uninstall Tracking
 */
/**
@@ -423,9 +611,20 @@
 Sets and sends a device token from `NSData` representation that you get from `UIApplicationDelegate.-application:didRegisterForRemoteNotificationsWithDeviceToken:`.
 - Parameter deviceToken: Device token data.
 @param deviceToken Device token data.
 */
+ (void)setPushNotificationsDeviceToken:(NSData *)deviceToken;
/**
 Sets and sends device token string to register the current application for push notifications.
 Sets and sends a device token string
 @param deviceTokenString Device token string.
 */
+ (void)setPushNotificationsDeviceTokenString:(NSString *)deviceTokenString;
/*
 * Control over event batching/flushing
@@ -441,7 +640,7 @@
  Set the current event flushing behavior specifying when events are sent back to Facebook servers.
 - Parameter flushBehavior:   The desired `FBSDKAppEventsFlushBehavior` to be used.
 @param flushBehavior   The desired `FBSDKAppEventsFlushBehavior` to be used.
 */
+ (void)setFlushBehavior:(FBSDKAppEventsFlushBehavior)flushBehavior;
@@ -458,7 +657,7 @@
 This should be set before any other calls are made to `FBSDKAppEvents`.  Thus, you should set it in your application
 delegate's `application:didFinishLaunchingWithOptions:` delegate.
 - Parameter appID: The Facebook App ID to be used for App Event logging.
 @param appID The Facebook App ID to be used for App Event logging.
 */
+ (void)setLoggingOverrideAppID:(NSString *)appID;
@@ -466,7 +665,7 @@
  Get the 'override' App ID for App Event logging.
- See:setLoggingOverrideAppID:
@see setLoggingOverrideAppID:
 */
+ (NSString *)loggingOverrideAppID;
@@ -483,7 +682,7 @@
 Callers will send this ID back to their own servers, collect up a set to create a Facebook Custom Audience with,
 and then use the resultant Custom Audience to target ads.
 - Parameter accessToken: The access token to use to establish the user's identity for users logged into Facebook through this app.
 @param accessToken The access token to use to establish the user's identity for users logged into Facebook through this app.
 If `nil`, then the `[FBSDKAccessToken currentAccessToken]` is used.
@@ -521,11 +720,71 @@
+ (NSString *)userID;
/*
  Sets custom user data to associate with all app events. All user data are hashed
  and used to match Facebook user from this instance of an application.
  The user data will be persisted between application instances.
  @param userData user data to identify the user. User data should be formated as
  a NSDictionary of data type name and value.
  Supported data types and names are:
                   Email: em
                   First Name: fn
                   Last Name: ln
                   Phone: ph
                   Date of Birth: db
                   Gender: ge
                   City: ct
                   State: st
                   Zip: zp
                   Country: country
 */
+ (void)setUserData:(NSDictionary *)userData
  DEPRECATED_MSG_ATTRIBUTE("Renamed `setUserEmail:firstName: ...`");
/*
  Sets custom user data to associate with all app events. All user data are hashed
  and used to match Facebook user from this instance of an application.
  The user data will be persisted between application instances.
 @param email user's email
 @param firstName user's first name
 @param lastName user's last name
 @param phone user's phone
 @param dateOfBirth user's date of birth
 @param gender user's gender
 @param city user's city
 @param state user's state
 @param zip user's zip
 @param country user's country
 */
+ (void)setUserEmail:(NSString *)email
           firstName:(NSString *)firstName
            lastName:(NSString *)lastName
               phone:(NSString *)phone
         dateOfBirth:(NSString *)dateOfBirth
              gender:(NSString *)gender
                city:(NSString *)city
               state:(NSString *)state
                 zip:(NSString *)zip
             country:(NSString *)country;
/*
  Returns the set user data else nil
*/
+ (NSString *)getUserData;
/*
  Clears the current user data
*/
+ (void)clearUserData;
/*
  Sends a request to update the properties for the current user, set by `setUserID:`
 You must call `FBSDKAppEvents setUserID:` before making this call.
 - Parameter properties: the custom user properties
 - Parameter handler: the optional completion handler
 @param properties the custom user properties
 @param handler the optional completion handler
 */
+ (void)updateUserProperties:(NSDictionary *)properties handler:(FBSDKGraphRequestHandler)handler;
@@ -537,9 +796,27 @@
 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
 @param webView The webview to augment with the additional JavaScript behaviour
 */
+ (void)augmentHybridWKWebView:(WKWebView *)webView;
#endif
/*
 * Unity helper functions
 */
/**
 Set if the Unity is already initialized
 @param isUnityInit   whether Unity is initialized.
 */
+ (void)setIsUnityInit:(BOOL)isUnityInit;
/*
 Send event binding to Unity
 */
+ (void)sendEventBindingsToUnity;
@end
frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLink.h
New file
@@ -0,0 +1,63 @@
// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
//
// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
// copy, modify, and distribute this software in source code or binary form for use
// in connection with the web services and APIs provided by Facebook.
//
// As with any software that integrates with the Facebook platform, your use of
// this software is subject to the Facebook Developer Principles and Policies
// [http://developers.facebook.com/policy/]. This copyright notice shall be
// included in all copies or substantial portions of the software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
// 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 "FBSDKAppLinkTarget.h"
NS_ASSUME_NONNULL_BEGIN
/*! The version of the App Link protocol that this library supports */
FOUNDATION_EXPORT NSString *const FBSDKAppLinkVersion;
/*!
 Contains App Link metadata relevant for navigation on this device
 derived from the HTML at a given URL.
 */
@interface FBSDKAppLink : NSObject
/*!
 Creates a FBSDKAppLink with the given list of FBSDKAppLinkTargets and target URL.
 Generally, this will only be used by implementers of the FBSDKAppLinkResolving protocol,
 as these implementers will produce App Link metadata for a given URL.
 @param sourceURL the URL from which this App Link is derived
 @param targets an ordered list of FBSDKAppLinkTargets for this platform derived
 from App Link metadata.
 @param webURL the fallback web URL, if any, for the app link.
 */
+ (instancetype)appLinkWithSourceURL:(NSURL *)sourceURL
                             targets:(NSArray<FBSDKAppLinkTarget *> *)targets
                              webURL:(nullable NSURL *)webURL;
/*! The URL from which this FBSDKAppLink was derived */
@property (nonatomic, strong, readonly) NSURL *sourceURL;
/*!
 The ordered list of targets applicable to this platform that will be used
 for navigation.
 */
@property (nonatomic, copy, readonly) NSArray<FBSDKAppLinkTarget *> *targets;
/*! The fallback web URL to use if no targets are installed on this device. */
@property (nonatomic, strong, readonly, nullable) NSURL *webURL;
@end
NS_ASSUME_NONNULL_END
frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkNavigation.h
New file
@@ -0,0 +1,137 @@
// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
//
// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
// copy, modify, and distribute this software in source code or binary form for use
// in connection with the web services and APIs provided by Facebook.
//
// As with any software that integrates with the Facebook platform, your use of
// this software is subject to the Facebook Developer Principles and Policies
// [http://developers.facebook.com/policy/]. This copyright notice shall be
// included in all copies or substantial portions of the software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
// 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 "FBSDKAppLink.h"
#import "FBSDKAppLinkResolving.h"
NS_ASSUME_NONNULL_BEGIN
/*!
 The result of calling navigate on a FBSDKAppLinkNavigation
 */
typedef NS_ENUM(NSInteger, FBSDKAppLinkNavigationType) {
    /*! Indicates that the navigation failed and no app was opened */
    FBSDKAppLinkNavigationTypeFailure,
    /*! Indicates that the navigation succeeded by opening the URL in the browser */
    FBSDKAppLinkNavigationTypeBrowser,
    /*! Indicates that the navigation succeeded by opening the URL in an app on the device */
    FBSDKAppLinkNavigationTypeApp
};
/**
 Describes the callback for appLinkFromURLInBackground.
 @param navType the FBSDKAppLink representing the deferred App Link
 @param error the error during the request, if any
 */
typedef void (^FBSDKAppLinkNavigationHandler)(FBSDKAppLinkNavigationType navType, NSError * _Nullable error);
/*!
 Represents a pending request to navigate to an App Link. Most developers will
 simply use navigateToURLInBackground: to open a URL, but developers can build
 custom requests with additional navigation and app data attached to them by
 creating FBSDKAppLinkNavigations themselves.
 */
NS_EXTENSION_UNAVAILABLE_IOS("Not available in app extension")
@interface FBSDKAppLinkNavigation : NSObject
/*!
 The extras for the AppLinkNavigation. This will generally contain application-specific
 data that should be passed along with the request, such as advertiser or affiliate IDs or
 other such metadata relevant on this device.
 */
@property (nonatomic, copy, readonly) NSDictionary<NSString *, id> *extras;
/*!
 The al_applink_data for the AppLinkNavigation. This will generally contain data common to
 navigation attempts such as back-links, user agents, and other information that may be used
 in routing and handling an App Link request.
 */
@property (nonatomic, copy, readonly) NSDictionary<NSString *, id> *appLinkData;
/*! The AppLink to navigate to */
@property (nonatomic, strong, readonly) FBSDKAppLink *appLink;
/*!
 Return navigation type for current instance.
 No-side-effect version of navigate:
 */
@property (nonatomic, readonly) FBSDKAppLinkNavigationType navigationType;
/*! Creates an AppLinkNavigation with the given link, extras, and App Link data */
+ (instancetype)navigationWithAppLink:(FBSDKAppLink *)appLink
                               extras:(NSDictionary<NSString *, id> *)extras
                          appLinkData:(NSDictionary<NSString *, id> *)appLinkData;
/*!
 Creates an NSDictionary with the correct format for iOS callback URLs,
 to be used as 'appLinkData' argument in the call to navigationWithAppLink:extras:appLinkData:
 */
+ (NSDictionary<NSString *, NSDictionary<NSString *, NSString *> *> *)callbackAppLinkDataForAppWithName:(NSString *)appName
                                                                                                    url:(NSString *)url;
/*! Performs the navigation */
- (FBSDKAppLinkNavigationType)navigate:(NSError *__autoreleasing *)error;
/*! Returns a FBSDKAppLink for the given URL */
+ (void)resolveAppLink:(NSURL *)destination handler:(FBSDKAppLinkFromURLHandler)handler;
/*! Returns a FBSDKAppLink for the given URL using the given App Link resolution strategy */
+ (void)resolveAppLink:(NSURL *)destination
              resolver:(id<FBSDKAppLinkResolving>)resolver
               handler:(FBSDKAppLinkFromURLHandler)handler;
/*! Navigates to a FBSDKAppLink and returns whether it opened in-app or in-browser */
+ (FBSDKAppLinkNavigationType)navigateToAppLink:(FBSDKAppLink *)link error:(NSError *__autoreleasing *)error;
/*!
 Returns a FBSDKAppLinkNavigationType based on a FBSDKAppLink.
 It's essentially a no-side-effect version of navigateToAppLink:error:,
 allowing apps to determine flow based on the link type (e.g. open an
 internal web view instead of going straight to the browser for regular links.)
 */
+ (FBSDKAppLinkNavigationType)navigationTypeForLink:(FBSDKAppLink *)link;
/*! Navigates to a URL (an asynchronous action) and returns a FBSDKNavigationType */
+ (void)navigateToURL:(NSURL *)destination handler:(FBSDKAppLinkNavigationHandler)handler;
/*!
 Navigates to a URL (an asynchronous action) using the given App Link resolution
 strategy and returns a FBSDKNavigationType
 */
+ (void)navigateToURL:(NSURL *)destination
             resolver:(id<FBSDKAppLinkResolving>)resolver
              handler:(FBSDKAppLinkNavigationHandler)handler;
/*!
 Gets the default resolver to be used for App Link resolution. If the developer has not set one explicitly,
 a basic, built-in resolver will be used.
 */
+ (id<FBSDKAppLinkResolving>)defaultResolver;
/*!
 Sets the default resolver to be used for App Link resolution. Setting this to nil will revert the
 default resolver to the basic, built-in resolver provided by FBSDK.
 */
+ (void)setDefaultResolver:(id<FBSDKAppLinkResolving>)resolver;
@end
NS_ASSUME_NONNULL_END
frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h
@@ -18,12 +18,15 @@
#import <Foundation/Foundation.h>
#import "FBSDKAppLinkResolving.h"
@class BFTask;
// Check if Bolts.framework is available for import
#if __has_include(<Bolts/BFAppLinkResolving.h>)
// Import it if it's available
# import <Bolts/BFAppLinkResolving.h>
#import <Bolts/BFAppLinkResolving.h>
#else
// Otherwise - redeclare BFAppLinkResolving protocol to resolve the problem of missing symbols
// Please note: Bolts.framework is still required for AppLink resolving to work,
@@ -34,15 +37,17 @@
 App Links that may include pre-fetching, caching, or querying for App Link
 data from an index provided by a service provider.
 */
DEPRECATED_MSG_ATTRIBUTE("Use `FBSDKAppLinkResolving`")
@protocol BFAppLinkResolving <NSObject>
/**
 Asynchronously resolves App Link data for a given URL.
 - Parameter url: The URL to resolve into an App Link.
 - Returns: A BFTask that will return a BFAppLink for the given URL.
 @param url The URL to resolve into an App Link.
 @return A BFTask that will return a BFAppLink for the given URL.
 */
- (BFTask *)appLinkFromURLInBackground:(NSURL *)url;
- (BFTask *)appLinkFromURLInBackground:(NSURL *)url
DEPRECATED_MSG_ATTRIBUTE("Use `appLinkFromURL:handler:`");
@end
@@ -59,20 +64,40 @@
 Usage of this type requires a client token. See `[FBSDKSettings setClientToken:]` and linking
 Bolts.framework
 */
@interface FBSDKAppLinkResolver : NSObject<BFAppLinkResolving>
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
@interface FBSDKAppLinkResolver : NSObject<FBSDKAppLinkResolving, BFAppLinkResolving>
#pragma clang diagnostic pop
/**
  Asynchronously resolves App Link data for multiple URLs.
 - Parameter urls: An array of NSURLs to resolve into App Links.
 - Returns: A BFTask that will return dictionary mapping input NSURLs to their
 @param urls An array of NSURLs to resolve into App Links.
 @return A BFTask that will return dictionary mapping input NSURLs to their
  corresponding BFAppLink.
 You should set the client token before making this call. See `[FBSDKSettings setClientToken:]`
 */
- (BFTask *)appLinksFromURLsInBackground:(NSArray *)urls;
- (BFTask *)appLinksFromURLsInBackground:(NSArray<NSURL *> *)urls
DEPRECATED_MSG_ATTRIBUTE("Use `appLinkFromURLs:handler:`");
/**
 Asynchronously resolves App Link data for a given URL.
 @param url The URL to resolve into an App Link.
 @return A BFTask that will return a BFAppLink for the given URL.
 */
- (BFTask *)appLinkFromURLInBackground:(NSURL *)url
DEPRECATED_MSG_ATTRIBUTE("Use `appLinkFromURL:handler:`");
/**
 Asynchronously resolves App Link data for a given array of URLs.
 @param urls The URLs to resolve into an App Link.
 @param handler The completion block that will return an App Link for the given URL.
 */
- (void)appLinksFromURLs:(NSArray<NSURL *> *)urls handler:(FBSDKAppLinksFromURLArrayHandler)handler
NS_EXTENSION_UNAVAILABLE_IOS("Not available in app extension");
/**
  Allocates and initializes a new instance of FBSDKAppLinkResolver.
frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolving.h
New file
@@ -0,0 +1,60 @@
// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
//
// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
// copy, modify, and distribute this software in source code or binary form for use
// in connection with the web services and APIs provided by Facebook.
//
// As with any software that integrates with the Facebook platform, your use of
// this software is subject to the Facebook Developer Principles and Policies
// [http://developers.facebook.com/policy/]. This copyright notice shall be
// included in all copies or substantial portions of the software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
// 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>
NS_ASSUME_NONNULL_BEGIN
@class FBSDKAppLink;
/**
 Describes the callback for appLinkFromURLInBackground.
 @param appLink the FBSDKAppLink representing the deferred App Link
 @param error the error during the request, if any
 */
typedef void (^FBSDKAppLinkFromURLHandler)(FBSDKAppLink * _Nullable appLink, NSError * _Nullable error);
/**
 Describes the callback for appLinkFromURLInBackground.
 @param appLinks the FBSDKAppLinks representing the deferred App Links
 @param error the error during the request, if any
 */
typedef void (^FBSDKAppLinksFromURLArrayHandler)(NSDictionary<NSURL *, FBSDKAppLink *> * appLinks,
                                                 NSError * _Nullable error);
/*!
 Implement this protocol to provide an alternate strategy for resolving
 App Links that may include pre-fetching, caching, or querying for App Link
 data from an index provided by a service provider.
 */
@protocol FBSDKAppLinkResolving <NSObject>
/**
 Asynchronously resolves App Link data for a given URL.
 @param url The URL to resolve into an App Link.
 @param handler The completion block that will return an App Link for the given URL.
 */
- (void)appLinkFromURL:(NSURL *)url handler:(FBSDKAppLinkFromURLHandler)handler
NS_EXTENSION_UNAVAILABLE_IOS("Not available in app extension");
@end
NS_ASSUME_NONNULL_END
frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkReturnToRefererController.h
New file
@@ -0,0 +1,100 @@
// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
//
// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
// copy, modify, and distribute this software in source code or binary form for use
// in connection with the web services and APIs provided by Facebook.
//
// As with any software that integrates with the Facebook platform, your use of
// this software is subject to the Facebook Developer Principles and Policies
// [http://developers.facebook.com/policy/]. This copyright notice shall be
// included in all copies or substantial portions of the software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
// 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 <UIKit/UIKit.h>
#import "FBSDKAppLinkReturnToRefererView.h"
NS_ASSUME_NONNULL_BEGIN
@class FBSDKAppLink;
@class FBSDKAppLinkReturnToRefererController;
/*!
 Protocol that a class can implement in order to be notified when the user has navigated back
 to the referer of an App Link.
 */
@protocol FBSDKAppLinkReturnToRefererControllerDelegate <NSObject>
@optional
/*! Called when the user has tapped to navigate, but before the navigation has been performed. */
- (void)returnToRefererController:(FBSDKAppLinkReturnToRefererController *)controller
            willNavigateToAppLink:(FBSDKAppLink *)appLink;
/*! Called after the navigation has been attempted, with an indication of whether the referer
 app link was successfully opened. */
- (void)returnToRefererController:(FBSDKAppLinkReturnToRefererController *)controller
             didNavigateToAppLink:(FBSDKAppLink *)url
                             type:(FBSDKAppLinkNavigationType)type;
@end
/*!
 A controller class that implements default behavior for a FBSDKAppLinkReturnToRefererView, including
 the ability to display the view above the navigation bar for navigation-based apps.
 */
NS_EXTENSION_UNAVAILABLE_IOS("Not available in app extension")
@interface FBSDKAppLinkReturnToRefererController : NSObject <FBSDKAppLinkReturnToRefererViewDelegate>
/*!
 The delegate that will be notified when the user navigates back to the referer.
 */
@property (nonatomic, weak, nullable) id<FBSDKAppLinkReturnToRefererControllerDelegate> delegate;
/*!
 The FBSDKAppLinkReturnToRefererView this controller is controlling.
 */
@property (nonatomic, strong) FBSDKAppLinkReturnToRefererView *view;
/*!
 Initializes a controller suitable for controlling a FBSDKAppLinkReturnToRefererView that is to be displayed
 contained within another UIView (i.e., not displayed above the navigation bar).
 */
- (instancetype)init NS_DESIGNATED_INITIALIZER;
/*!
 Initializes a controller suitable for controlling a FBSDKAppLinkReturnToRefererView that is to be displayed
 displayed above the navigation bar.
 */
- (instancetype)initForDisplayAboveNavController:(UINavigationController *)navController;
/*!
 Removes the view entirely from the navigation controller it is currently displayed in.
 */
- (void)removeFromNavController;
/*!
 Shows the FBSDKAppLinkReturnToRefererView with the specified referer information. If nil or missing data,
 the view will not be displayed. */
- (void)showViewForRefererAppLink:(FBSDKAppLink *)refererAppLink;
/*!
 Shows the FBSDKAppLinkReturnToRefererView with referer information extracted from the specified URL.
 If nil or missing referer App Link data, the view will not be displayed. */
- (void)showViewForRefererURL:(NSURL *)url;
/*!
 Closes the view, possibly animating it.
 */
- (void)closeViewAnimated:(BOOL)animated;
@end
NS_ASSUME_NONNULL_END
frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkReturnToRefererView.h
New file
@@ -0,0 +1,90 @@
// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
//
// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
// copy, modify, and distribute this software in source code or binary form for use
// in connection with the web services and APIs provided by Facebook.
//
// As with any software that integrates with the Facebook platform, your use of
// this software is subject to the Facebook Developer Principles and Policies
// [http://developers.facebook.com/policy/]. This copyright notice shall be
// included in all copies or substantial portions of the software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
// 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 <UIKit/UIKit.h>
#import "FBSDKAppLinkNavigation.h"
NS_ASSUME_NONNULL_BEGIN
typedef NS_ENUM(NSUInteger, FBSDKIncludeStatusBarInSize) {
    FBSDKIncludeStatusBarInSizeNever,
    FBSDKIncludeStatusBarInSizeIOS7AndLater,
    FBSDKIncludeStatusBarInSizeAlways,
};
@class FBSDKAppLinkReturnToRefererView;
@class FBSDKURL;
/*!
 Protocol that a class can implement in order to be notified when the user has navigated back
 to the referer of an App Link.
 */
@protocol FBSDKAppLinkReturnToRefererViewDelegate <NSObject>
/*!
 Called when the user has tapped inside the close button.
 */
- (void)returnToRefererViewDidTapInsideCloseButton:(FBSDKAppLinkReturnToRefererView *)view;
/*!
 Called when the user has tapped inside the App Link portion of the view.
 */
- (void)returnToRefererViewDidTapInsideLink:(FBSDKAppLinkReturnToRefererView *)view
                                       link:(FBSDKAppLink *)link;
@end
/*!
 Provides a UIView that displays a button allowing users to navigate back to the
 application that launched the App Link currently being handled, if the App Link
 contained referer data. The user can also close the view by clicking a close button
 rather than navigating away. If the view is provided an App Link that does not contain
 referer data, it will have zero size and no UI will be displayed.
 */
NS_EXTENSION_UNAVAILABLE_IOS("Not available in app extension")
@interface FBSDKAppLinkReturnToRefererView : UIView
/*!
 The delegate that will be notified when the user navigates back to the referer.
 */
@property (nonatomic, weak, nullable) id<FBSDKAppLinkReturnToRefererViewDelegate> delegate;
/*!
 The color of the text label and close button.
 */
@property (nonatomic, strong) UIColor *textColor;
@property (nonatomic, strong) FBSDKAppLink *refererAppLink;
/*!
 Indicates whether to extend the size of the view to include the current status bar
 size, for use in scenarios where the view might extend under the status bar on iOS 7 and
 above; this property has no effect on earlier versions of iOS.
 */
@property (nonatomic, assign) FBSDKIncludeStatusBarInSize includeStatusBarInSize;
/*!
 Indicates whether the user has closed the view by clicking the close button.
 */
@property (nonatomic, assign) BOOL closed;
@end
NS_ASSUME_NONNULL_END
frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkTarget.h
New file
@@ -0,0 +1,45 @@
// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
//
// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
// copy, modify, and distribute this software in source code or binary form for use
// in connection with the web services and APIs provided by Facebook.
//
// As with any software that integrates with the Facebook platform, your use of
// this software is subject to the Facebook Developer Principles and Policies
// [http://developers.facebook.com/policy/]. This copyright notice shall be
// included in all copies or substantial portions of the software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
// 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>
NS_ASSUME_NONNULL_BEGIN
/*!
 Represents a target defined in App Link metadata, consisting of at least
 a URL, and optionally an App Store ID and name.
 */
@interface FBSDKAppLinkTarget : NSObject
/*! Creates a FBSDKAppLinkTarget with the given app site and target URL. */
+ (instancetype)appLinkTargetWithURL:(NSURL *)url
                          appStoreId:(nullable NSString *)appStoreId
                             appName:(NSString *)appName;
/*! The URL prefix for this app link target */
@property (nonatomic, strong, readonly) NSURL *URL;
/*! The app ID for the app store */
@property (nonatomic, copy, readonly, nullable) NSString *appStoreId;
/*! The name of the app */
@property (nonatomic, copy, readonly) NSString *appName;
@end
NS_ASSUME_NONNULL_END
frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h
@@ -20,8 +20,8 @@
/**
  Describes the callback for fetchDeferredAppLink.
 - Parameter url: the url representing the deferred App Link
 - Parameter error: the error during the request, if any
 @param url the url representing the deferred App Link
 @param error the error during the request, if any
 The url may also have a fb_click_time_utc query parameter that
@@ -32,7 +32,7 @@
/**
  Describes the callback for fetchOrganicDeferredAppLink.
 - Parameter url: the url representing the deferred App Link
 @param url the url representing the deferred App Link
 */
typedef void (^FBSDKDeferredAppInviteHandler)(NSURL *url);
@@ -49,7 +49,7 @@
 data (this will only return a valid URL once, and future calls will result in a nil URL
 value in the callback).
 - Parameter handler: the handler to be invoked if there is deferred App Link data
 @param handler the handler to be invoked if there is deferred App Link data
 The handler may contain an NSError instance to capture any errors. In the
@@ -63,10 +63,10 @@
/**
- Warning:This method is no longer available and will always return NO.
@warning This method is no longer available and will always return NO.
 */
+ (BOOL)fetchDeferredAppInvite:(FBSDKDeferredAppInviteHandler)handler
__attribute__((deprecated("This method is no longer available.")));;
DEPRECATED_MSG_ATTRIBUTE("This method is no longer available.");
/*
  Call this method to fetch promotion code from the url, if it's present. This function
@@ -75,9 +75,9 @@
 Note: This throws an exception if Bolts.framework is not linked. Add '[BFURL class]' in intialize method
 of your AppDelegate.
 - Parameter url: App Link url that was passed to the app.
 @param url App Link url that was passed to the app.
 - Returns: Promotion code string.
 @return Promotion code string.
 Call this method to fetch App Invite Promotion Code from applink if present.
frameworks/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h
@@ -41,15 +41,15 @@
 of the AppDelegate for your app. It should be invoked for the proper processing of responses during interaction
 with the native Facebook app or Safari as part of SSO authorization flow or Facebook dialogs.
 - Parameter application: The application as passed to [UIApplicationDelegate application:openURL:sourceApplication:annotation:].
 @param application The application as passed to [UIApplicationDelegate application:openURL:sourceApplication:annotation:].
 - Parameter url: The URL as passed to [UIApplicationDelegate application:openURL:sourceApplication:annotation:].
 @param url The URL as passed to [UIApplicationDelegate application:openURL:sourceApplication:annotation:].
 - Parameter sourceApplication: The sourceApplication as passed to [UIApplicationDelegate application:openURL:sourceApplication:annotation:].
 @param sourceApplication The sourceApplication as passed to [UIApplicationDelegate application:openURL:sourceApplication:annotation:].
 - Parameter annotation: The annotation as passed to [UIApplicationDelegate application:openURL:sourceApplication:annotation:].
 @param annotation The annotation as passed to [UIApplicationDelegate application:openURL:sourceApplication:annotation:].
 - Returns: YES if the url was intended for the Facebook SDK, NO if not.
 @return YES if the url was intended for the Facebook SDK, NO if not.
 */
- (BOOL)application:(UIApplication *)application
            openURL:(NSURL *)url
@@ -62,13 +62,13 @@
 of the AppDelegate for your app. It should be invoked for the proper processing of responses during interaction
 with the native Facebook app or Safari as part of SSO authorization flow or Facebook dialogs.
 - Parameter application: The application as passed to [UIApplicationDelegate application:openURL:options:].
 @param application The application as passed to [UIApplicationDelegate application:openURL:options:].
 - Parameter url: The URL as passed to [UIApplicationDelegate application:openURL:options:].
 @param url The URL as passed to [UIApplicationDelegate application:openURL:options:].
 - Parameter options: The options dictionary as passed to [UIApplicationDelegate application:openURL:options:].
 @param options The options dictionary as passed to [UIApplicationDelegate application:openURL:options:].
 - Returns: YES if the url was intended for the Facebook SDK, NO if not.
 @return YES if the url was intended for the Facebook SDK, NO if not.
 */
- (BOOL)application:(UIApplication *)application
            openURL:(NSURL *)url
@@ -81,11 +81,11 @@
 As part of SDK initialization basic auto logging of app events will occur, this can be
controlled via 'FacebookAutoLogAppEventsEnabled' key in the project info plist file.
 - Parameter application: The application as passed to [UIApplicationDelegate application:didFinishLaunchingWithOptions:].
 @param application The application as passed to [UIApplicationDelegate application:didFinishLaunchingWithOptions:].
 - Parameter launchOptions: The launchOptions as passed to [UIApplicationDelegate application:didFinishLaunchingWithOptions:].
 @param launchOptions The launchOptions as passed to [UIApplicationDelegate application:didFinishLaunchingWithOptions:].
 - Returns: YES if the url was intended for the Facebook SDK, NO if not.
 @return YES if the url was intended for the Facebook SDK, NO if not.
 */
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions;
frameworks/FBSDKCoreKit.framework/Headers/FBSDKConstants.h
@@ -18,200 +18,305 @@
#import <Foundation/Foundation.h>
#import <FBSDKCoreKit/FBSDKMacros.h>
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0
/**
  The error domain for all errors from FBSDKCoreKit.
 The error domain for all errors from FBSDKCoreKit.
 Error codes from the SDK in the range 0-99 are reserved for this domain.
 */
FBSDK_EXTERN NSString *const FBSDKErrorDomain;
FOUNDATION_EXPORT NSErrorDomain const FBSDKErrorDomain;
#else
/**
 NS_ENUM(NSInteger, FBSDKErrorCode)
  Error codes for FBSDKErrorDomain.
 The error domain for all errors from FBSDKCoreKit.
 Error codes from the SDK in the range 0-99 are reserved for this domain.
 */
typedef NS_ENUM(NSInteger, FBSDKErrorCode)
{
  /**
    Reserved.
   */
  FBSDKReservedErrorCode = 0,
FOUNDATION_EXPORT NSString *const FBSDKErrorDomain;
  /**
    The error code for errors from invalid encryption on incoming encryption URLs.
   */
  FBSDKEncryptionErrorCode,
#endif
  /**
    The error code for errors from invalid arguments to SDK methods.
   */
  FBSDKInvalidArgumentErrorCode,
  /**
    The error code for unknown errors.
   */
  FBSDKUnknownErrorCode,
  /**
    A request failed due to a network error. Use NSUnderlyingErrorKey to retrieve
   the error object from the NSURLConnection for more information.
   */
  FBSDKNetworkErrorCode,
  /**
    The error code for errors encountered during an App Events flush.
   */
  FBSDKAppEventsFlushErrorCode,
  /**
    An endpoint that returns a binary response was used with FBSDKGraphRequestConnection.
 Endpoints that return image/jpg, etc. should be accessed using NSURLRequest
   */
  FBSDKGraphRequestNonTextMimeTypeReturnedErrorCode,
  /**
    The operation failed because the server returned an unexpected response.
 You can get this error if you are not using the most recent SDK, or you are accessing a version of the
   Graph API incompatible with the current SDK.
   */
  FBSDKGraphRequestProtocolMismatchErrorCode,
  /**
    The Graph API returned an error.
 See below for useful userInfo keys (beginning with FBSDKGraphRequestError*)
   */
  FBSDKGraphRequestGraphAPIErrorCode,
  /**
    The specified dialog configuration is not available.
 This error may signify that the configuration for the dialogs has not yet been downloaded from the server
   or that the dialog is unavailable.  Subsequent attempts to use the dialog may succeed as the configuration is loaded.
   */
  FBSDKDialogUnavailableErrorCode,
  /**
    Indicates an operation failed because a required access token was not found.
   */
  FBSDKAccessTokenRequiredErrorCode,
  /**
    Indicates an app switch (typically for a dialog) failed because the destination app is out of date.
   */
  FBSDKAppVersionUnsupportedErrorCode,
  /**
    Indicates an app switch to the browser (typically for a dialog) failed.
   */
  FBSDKBrowserUnavailableErrorCode,
  /**
- Warning:use FBSDKBrowserUnavailableErrorCode instead
   */
  FBSDKBrowswerUnavailableErrorCode __attribute__ ((deprecated("use FBSDKBrowserUnavailableErrorCode instead"))) = FBSDKBrowserUnavailableErrorCode,
};
/**
 NS_ENUM(NSUInteger, FBSDKGraphRequestErrorCategory)
  Describes the category of Facebook error. See `FBSDKGraphRequestErrorCategoryKey`.
 */
typedef NS_ENUM(NSUInteger, FBSDKGraphRequestErrorCategory)
{
  /** The default error category that is not known to be recoverable. Check `FBSDKLocalizedErrorDescriptionKey` for a user facing message. */
  FBSDKGraphRequestErrorCategoryOther = 0,
  /** Indicates the error is temporary (such as server throttling). While a recoveryAttempter will be provided with the error instance, the attempt is guaranteed to succeed so you can simply retry the operation if you do not want to present an alert.  */
  FBSDKGraphRequestErrorCategoryTransient = 1,
  /** Indicates the error can be recovered (such as requiring a login). A recoveryAttempter will be provided with the error instance that can take UI action. */
  FBSDKGraphRequestErrorCategoryRecoverable = 2
};
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_11_0
/*
 @methodgroup error userInfo keys
 */
/**
  The userInfo key for the invalid collection for errors with FBSDKInvalidArgumentErrorCode.
 The userInfo key for the invalid collection for errors with FBSDKErrorInvalidArgument.
 If the invalid argument is a collection, the collection can be found with this key and the individual
 invalid item can be found with FBSDKErrorArgumentValueKey.
 */
FBSDK_EXTERN NSString *const FBSDKErrorArgumentCollectionKey;
FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorArgumentCollectionKey;
/**
  The userInfo key for the invalid argument name for errors with FBSDKInvalidArgumentErrorCode.
 The userInfo key for the invalid argument name for errors with FBSDKErrorInvalidArgument.
 */
FBSDK_EXTERN NSString *const FBSDKErrorArgumentNameKey;
FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorArgumentNameKey;
/**
 The userInfo key for the invalid argument value for errors with FBSDKInvalidArgumentErrorCode.
 The userInfo key for the invalid argument value for errors with FBSDKErrorInvalidArgument.
 */
FBSDK_EXTERN NSString *const FBSDKErrorArgumentValueKey;
FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorArgumentValueKey;
/**
  The userInfo key for the message for developers in NSErrors that originate from the SDK.
 The userInfo key for the message for developers in NSErrors that originate from the SDK.
 The developer message will not be localized and is not intended to be presented within the app.
 */
FBSDK_EXTERN NSString *const FBSDKErrorDeveloperMessageKey;
FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorDeveloperMessageKey;
/**
  The userInfo key describing a localized description that can be presented to the user.
 The userInfo key describing a localized description that can be presented to the user.
 */
FBSDK_EXTERN NSString *const FBSDKErrorLocalizedDescriptionKey;
FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorLocalizedDescriptionKey;
/**
  The userInfo key describing a localized title that can be presented to the user, used with `FBSDKLocalizedErrorDescriptionKey`.
 The userInfo key describing a localized title that can be presented to the user, used with `FBSDKLocalizedErrorDescriptionKey`.
 */
FBSDK_EXTERN NSString *const FBSDKErrorLocalizedTitleKey;
FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorLocalizedTitleKey;
/*
 @methodgroup FBSDKGraphRequest error userInfo keys
 */
/**
  The userInfo key describing the error category, for error recovery purposes.
 The userInfo key describing the error category, for error recovery purposes.
 See `FBSDKGraphErrorRecoveryProcessor` and `[FBSDKGraphRequest disableErrorRecovery]`.
 */
FBSDK_EXTERN NSString *const FBSDKGraphRequestErrorCategoryKey;
FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorKey;
FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorCategoryKey
DEPRECATED_MSG_ATTRIBUTE("use FBSDKGraphRequestErrorKey instead");
/*
  The userInfo key for the Graph API error code.
 The userInfo key for the Graph API error code.
 */
FBSDK_EXTERN NSString *const FBSDKGraphRequestErrorGraphErrorCode;
FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorGraphErrorCodeKey;
FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorGraphErrorCode
DEPRECATED_MSG_ATTRIBUTE("use FBSDKGraphRequestErrorGraphErrorCodeKey instead");
/*
  The userInfo key for the Graph API error subcode.
 The userInfo key for the Graph API error subcode.
 */
FBSDK_EXTERN NSString *const FBSDKGraphRequestErrorGraphErrorSubcode;
FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorGraphErrorSubcodeKey;
FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorGraphErrorSubcode
DEPRECATED_MSG_ATTRIBUTE("use FBSDKGraphRequestErrorGraphErrorSubcodeKey instead");
/*
  The userInfo key for the HTTP status code.
 The userInfo key for the HTTP status code.
 */
FBSDK_EXTERN NSString *const FBSDKGraphRequestErrorHTTPStatusCodeKey;
FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorHTTPStatusCodeKey;
/*
  The userInfo key for the raw JSON response.
 The userInfo key for the raw JSON response.
 */
FBSDK_EXTERN NSString *const FBSDKGraphRequestErrorParsedJSONResponseKey;
FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorParsedJSONResponseKey;
#else
/*
 @methodgroup error userInfo keys
 */
/**
  a formal protocol very similar to the informal protocol NSErrorRecoveryAttempting
 The userInfo key for the invalid collection for errors with FBSDKErrorInvalidArgument.
 If the invalid argument is a collection, the collection can be found with this key and the individual
 invalid item can be found with FBSDKErrorArgumentValueKey.
 */
FOUNDATION_EXPORT NSString *const FBSDKErrorArgumentCollectionKey;
/**
 The userInfo key for the invalid argument name for errors with FBSDKErrorInvalidArgument.
 */
FOUNDATION_EXPORT NSString *const FBSDKErrorArgumentNameKey;
/**
 The userInfo key for the invalid argument value for errors with FBSDKErrorInvalidArgument.
 */
FOUNDATION_EXPORT NSString *const FBSDKErrorArgumentValueKey;
/**
 The userInfo key for the message for developers in NSErrors that originate from the SDK.
 The developer message will not be localized and is not intended to be presented within the app.
 */
FOUNDATION_EXPORT NSString *const FBSDKErrorDeveloperMessageKey;
/**
 The userInfo key describing a localized description that can be presented to the user.
 */
FOUNDATION_EXPORT NSString *const FBSDKErrorLocalizedDescriptionKey;
/**
 The userInfo key describing a localized title that can be presented to the user, used with `FBSDKLocalizedErrorDescriptionKey`.
 */
FOUNDATION_EXPORT NSString *const FBSDKErrorLocalizedTitleKey;
/*
 @methodgroup FBSDKGraphRequest error userInfo keys
 */
/**
 The userInfo key describing the error category, for error recovery purposes.
 See `FBSDKGraphErrorRecoveryProcessor` and `[FBSDKGraphRequest disableErrorRecovery]`.
 */
FOUNDATION_EXPORT NSString *const FBSDKGraphRequestErrorKey;
FOUNDATION_EXPORT NSString *const FBSDKGraphRequestErrorCategoryKey
DEPRECATED_MSG_ATTRIBUTE("use FBSDKGraphRequestErrorKey instead");
/*
 The userInfo key for the Graph API error code.
 */
FOUNDATION_EXPORT NSString *const FBSDKGraphRequestErrorGraphErrorCodeKey;
FOUNDATION_EXPORT NSString *const FBSDKGraphRequestErrorGraphErrorCode
DEPRECATED_MSG_ATTRIBUTE("use FBSDKGraphRequestErrorGraphErrorCodeKey instead");
/*
 The userInfo key for the Graph API error subcode.
 */
FOUNDATION_EXPORT NSString *const FBSDKGraphRequestErrorGraphErrorSubcodeKey;
FOUNDATION_EXPORT NSString *const FBSDKGraphRequestErrorGraphErrorSubcode
DEPRECATED_MSG_ATTRIBUTE("use FBSDKGraphRequestErrorGraphErrorSubcodeKey instead");
/*
 The userInfo key for the HTTP status code.
 */
FOUNDATION_EXPORT NSString *const FBSDKGraphRequestErrorHTTPStatusCodeKey;
/*
 The userInfo key for the raw JSON response.
 */
FOUNDATION_EXPORT NSString *const FBSDKGraphRequestErrorParsedJSONResponseKey;
#endif
#ifndef NS_ERROR_ENUM
#define NS_ERROR_ENUM(_domain, _name) \
enum _name: NSInteger _name; \
enum __attribute__((ns_error_domain(_domain))) _name: NSInteger
#endif
/**
 FBSDKError
 Error codes for FBSDKErrorDomain.
 */
typedef NS_ERROR_ENUM(FBSDKErrorDomain, FBSDKError)
{
  /**
   Reserved.
   */
  FBSDKErrorReserved = 0,
  /**
   The error code for errors from invalid encryption on incoming encryption URLs.
   */
  FBSDKErrorEncryption,
  /**
   The error code for errors from invalid arguments to SDK methods.
   */
  FBSDKErrorInvalidArgument,
  /**
   The error code for unknown errors.
   */
  FBSDKErrorUnknown,
  /**
   A request failed due to a network error. Use NSUnderlyingErrorKey to retrieve
   the error object from the NSURLSession for more information.
   */
  FBSDKErrorNetwork,
  /**
   The error code for errors encountered during an App Events flush.
   */
  FBSDKErrorAppEventsFlush,
  /**
   An endpoint that returns a binary response was used with FBSDKGraphRequestConnection.
   Endpoints that return image/jpg, etc. should be accessed using NSURLRequest
   */
  FBSDKErrorGraphRequestNonTextMimeTypeReturned,
  /**
   The operation failed because the server returned an unexpected response.
   You can get this error if you are not using the most recent SDK, or you are accessing a version of the
   Graph API incompatible with the current SDK.
   */
  FBSDKErrorGraphRequestProtocolMismatch,
  /**
   The Graph API returned an error.
   See below for useful userInfo keys (beginning with FBSDKGraphRequestError*)
   */
  FBSDKErrorGraphRequestGraphAPI,
  /**
   The specified dialog configuration is not available.
   This error may signify that the configuration for the dialogs has not yet been downloaded from the server
   or that the dialog is unavailable.  Subsequent attempts to use the dialog may succeed as the configuration is loaded.
   */
  FBSDKErrorDialogUnavailable,
  /**
   Indicates an operation failed because a required access token was not found.
   */
  FBSDKErrorAccessTokenRequired,
  /**
   Indicates an app switch (typically for a dialog) failed because the destination app is out of date.
   */
  FBSDKErrorAppVersionUnsupported,
  /**
   Indicates an app switch to the browser (typically for a dialog) failed.
   */
  FBSDKErrorBrowserUnavailable,
};
/**
 FBSDKGraphRequestError
 Describes the category of Facebook error. See `FBSDKGraphRequestErrorKey`.
 */
typedef NS_ENUM(NSUInteger, FBSDKGraphRequestError)
{
  /** The default error category that is not known to be recoverable. Check `FBSDKLocalizedErrorDescriptionKey` for a user facing message. */
  FBSDKGraphRequestErrorOther = 0,
  /** Indicates the error is temporary (such as server throttling). While a recoveryAttempter will be provided with the error instance, the attempt is guaranteed to succeed so you can simply retry the operation if you do not want to present an alert.  */
  FBSDKGraphRequestErrorTransient = 1,
  /** Indicates the error can be recovered (such as requiring a login). A recoveryAttempter will be provided with the error instance that can take UI action. */
  FBSDKGraphRequestErrorRecoverable = 2
};
/**
 a formal protocol very similar to the informal protocol NSErrorRecoveryAttempting
 */
@protocol FBSDKErrorRecoveryAttempting<NSObject>
/**
  attempt the recovery
 - Parameter error: the error
 - Parameter recoveryOptionIndex: the selected option index
 - Parameter delegate: the delegate
 - Parameter didRecoverSelector: the callback selector, see discussion.
 - Parameter contextInfo: context info to pass back to callback selector, see discussion.
 attempt the recovery
 @param error the error
 @param recoveryOptionIndex the selected option index
 @param delegate the delegate
 @param didRecoverSelector the callback selector, see discussion.
 @param contextInfo context info to pass back to callback selector, see discussion.
 Given that an error alert has been presented document-modally to the user, and the user has chosen one of the error's recovery options, attempt recovery from the error, and send the selected message to the specified delegate. The option index is an index into the error's array of localized recovery options. The method selected by didRecoverSelector must have the same signature as:
@@ -223,3 +328,34 @@
- (void)attemptRecoveryFromError:(NSError *)error optionIndex:(NSUInteger)recoveryOptionIndex delegate:(id)delegate didRecoverSelector:(SEL)didRecoverSelector contextInfo:(void *)contextInfo;
@end
/**
 Deprecated
 */
typedef NS_ENUM(NSInteger, FBSDKErrorCode)
{
  FBSDKReservedErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKErrorReserved instead") = 0,
  FBSDKEncryptionErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKErrorEncryption instead"),
  FBSDKInvalidArgumentErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKErrorInvalidArgument instead"),
  FBSDKUnknownErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKErrorUnknown instead"),
  FBSDKNetworkErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKErrorNetwork instead"),
  FBSDKAppEventsFlushErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKErrorAppEventsFlush instead"),
  FBSDKGraphRequestNonTextMimeTypeReturnedErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKErrorGraphRequestNonTextMimeTypeReturned instead"),
  FBSDKGraphRequestProtocolMismatchErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKErrorGraphRequestProtocolMismatch instead"),
  FBSDKGraphRequestGraphAPIErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKErrorGraphRequestGraphAPI instead"),
  FBSDKDialogUnavailableErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKErrorDialogUnavailable instead"),
  FBSDKAccessTokenRequiredErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKErrorAccessTokenRequired instead"),
  FBSDKAppVersionUnsupportedErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKErrorAppVersionUnsupported instead"),
  FBSDKBrowserUnavailableErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKErrorBrowserUnavailable instead"),
  FBSDKBrowswerUnavailableErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKErrorBrowserUnavailable instead") = FBSDKBrowserUnavailableErrorCode,
} DEPRECATED_MSG_ATTRIBUTE("use FBSDKError instead");
/**
 Deprecated
 */
typedef NS_ENUM(NSUInteger, FBSDKGraphRequestErrorCategory)
{
  FBSDKGraphRequestErrorCategoryOther DEPRECATED_MSG_ATTRIBUTE("use FBSDKGraphRequestErrorOther instead") = 0,
  FBSDKGraphRequestErrorCategoryTransient DEPRECATED_MSG_ATTRIBUTE("use FBSDKGraphRequestErrorTransient instead") = 1,
  FBSDKGraphRequestErrorCategoryRecoverable DEPRECATED_MSG_ATTRIBUTE("use FBSDKGraphRequestErrorRecoverable instead") = 2
} DEPRECATED_MSG_ATTRIBUTE("use FBSDKGraphRequestError instead");
frameworks/FBSDKCoreKit.framework/Headers/FBSDKCopying.h
@@ -27,7 +27,7 @@
/**
  Implemented by NSObject as a convenience to copyWithZone:.
 - Returns: A copy of the receiver.
 @return A copy of the receiver.
 */
- (id)copy;
frameworks/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h
@@ -33,16 +33,25 @@
#import <FBSDKCoreKit/FBSDKUtility.h>
#if !TARGET_OS_TV
#import <FBSDKCoreKit/FBSDKAppLink.h>
#import <FBSDKCoreKit/FBSDKAppLinkNavigation.h>
#import <FBSDKCoreKit/FBSDKAppLinkResolver.h>
#import <FBSDKCoreKit/FBSDKAppLinkResolving.h>
#import <FBSDKCoreKit/FBSDKAppLinkReturnToRefererController.h>
#import <FBSDKCoreKit/FBSDKAppLinkReturnToRefererView.h>
#import <FBSDKCoreKit/FBSDKAppLinkTarget.h>
#import <FBSDKCoreKit/FBSDKAppLinkUtility.h>
#import <FBSDKCoreKit/FBSDKGraphErrorRecoveryProcessor.h>
#import <FBSDKCoreKit/FBSDKMeasurementEvent.h>
#import <FBSDKCoreKit/FBSDKMutableCopying.h>
#import <FBSDKCoreKit/FBSDKProfile.h>
#import <FBSDKCoreKit/FBSDKProfilePictureView.h>
#import <FBSDKCoreKit/FBSDKURL.h>
#import <FBSDKCoreKit/FBSDKWebViewAppLinkResolver.h>
#else
#import <FBSDKCoreKit/FBSDKDeviceButton.h>
#import <FBSDKCoreKit/FBSDKDeviceViewControllerBase.h>
#endif
#define FBSDK_VERSION_STRING @"4.35.0"
#define FBSDK_TARGET_PLATFORM_VERSION @"v3.1"
#define FBSDK_VERSION_STRING @"4.39.1"
#define FBSDK_TARGET_PLATFORM_VERSION @"v3.2"
frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h
@@ -30,21 +30,21 @@
/**
  Indicates the error recovery has been attempted.
 - Parameter processor: the processor instance.
 - Parameter didRecover: YES if the recovery was successful.
 - Parameter error: the error that that was attempted to be recovered from.
 @param processor the processor instance.
 @param didRecover YES if the recovery was successful.
 @param error the error that that was attempted to be recovered from.
 */
- (void)processorDidAttemptRecovery:(FBSDKGraphErrorRecoveryProcessor *)processor didRecover:(BOOL)didRecover error:(NSError *)error;
@optional
/**
  Indicates the processor is about to process the error.
 - Parameter processor: the processor instance.
 - Parameter error: the error is about to be processed.
 @param processor the processor instance.
 @param error the error is about to be processed.
 return NO if the processor should not process the error. For example,
 if you want to prevent alerts of localized messages but otherwise perform retries and recoveries,
 you could return NO for errors where userInfo[FBSDKGraphRequestErrorCategoryKey] equal to FBSDKGraphRequestErrorCategoryOther
 you could return NO for errors where userInfo[FBSDKGraphRequestErrorKey] equal to FBSDKGraphRequestErrorOther
 */
- (BOOL)processorWillProcessError:(FBSDKGraphErrorRecoveryProcessor *)processor error:(NSError *)error;
@@ -56,7 +56,7 @@
 Facebook NSErrors can contain FBSDKErrorRecoveryAttempting instances to recover from errors, or
 localized messages to present to the user. This class will process the instances as follows:
 1. If the error is temporary as indicated by FBSDKGraphRequestErrorCategoryKey, assume the recovery succeeded and
 1. If the error is temporary as indicated by FBSDKGraphRequestErrorKey, assume the recovery succeeded and
 notify the delegate.
 2. If a FBSDKErrorRecoveryAttempting instance is available, display an alert (dispatched to main thread)
 with the recovery options and call the instance's [ attemptRecoveryFromError:optionIndex:...].
@@ -83,16 +83,16 @@
/**
  Attempts to process the error, return YES if the error can be processed.
 - Parameter error: the error to process.
 - Parameter request: the related request that may be reissued.
 - Parameter delegate: the delegate that will be retained until recovery is complete.
 @param error the error to process.
 @param request the related request that may be reissued.
 @param delegate the delegate that will be retained until recovery is complete.
 */
- (BOOL)processError:(NSError *)error request:(FBSDKGraphRequest *)request delegate:(id<FBSDKGraphErrorRecoveryProcessorDelegate>) delegate;
/**
  The callback for FBSDKErrorRecoveryAttempting
 - Parameter didRecover: if the recovery succeeded
 - Parameter contextInfo: unused
 @param didRecover if the recovery succeeded
 @param contextInfo unused
 */
- (void)didPresentErrorWithRecovery:(BOOL)didRecover contextInfo:(void *)contextInfo;
frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h
@@ -39,23 +39,26 @@
 By default, FBSDKGraphRequest will attempt to recover any errors returned from
 Facebook. You can disable this via `disableErrorRecovery:`.
- See:FBSDKGraphErrorRecoveryProcessor
 @see FBSDKGraphErrorRecoveryProcessor
 */
@interface FBSDKGraphRequest : NSObject
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
/**
  Initializes a new instance that use use `[FBSDKAccessToken currentAccessToken]`.
 - Parameter graphPath: the graph path (e.g., @"me").
 - Parameter parameters: the optional parameters dictionary.
 @param graphPath the graph path (e.g., @"me").
 @param parameters the optional parameters dictionary.
 */
- (instancetype)initWithGraphPath:(NSString *)graphPath
                       parameters:(NSDictionary *)parameters;
/**
  Initializes a new instance that use use `[FBSDKAccessToken currentAccessToken]`.
 - Parameter graphPath: the graph path (e.g., @"me").
 - Parameter parameters: the optional parameters dictionary.
 - Parameter HTTPMethod: the optional HTTP method. nil defaults to @"GET".
 @param graphPath the graph path (e.g., @"me").
 @param parameters the optional parameters dictionary.
 @param HTTPMethod the optional HTTP method. nil defaults to @"GET".
 */
- (instancetype)initWithGraphPath:(NSString *)graphPath
                       parameters:(NSDictionary *)parameters
@@ -63,11 +66,11 @@
/**
  Initializes a new instance.
 - Parameter graphPath: the graph path (e.g., @"me").
 - Parameter parameters: the optional parameters dictionary.
 - Parameter tokenString: the token string to use. Specifying nil will cause no token to be used.
 - Parameter version: the optional Graph API version (e.g., @"v2.0"). nil defaults to `[FBSDKSettings graphAPIVersion]`.
 - Parameter HTTPMethod: the optional HTTP method (e.g., @"POST"). nil defaults to @"GET".
 @param graphPath the graph path (e.g., @"me").
 @param parameters the optional parameters dictionary.
 @param tokenString the token string to use. Specifying nil will cause no token to be used.
 @param version the optional Graph API version (e.g., @"v2.0"). nil defaults to `[FBSDKSettings graphAPIVersion]`.
 @param HTTPMethod the optional HTTP method (e.g., @"POST"). nil defaults to @"GET".
 */
- (instancetype)initWithGraphPath:(NSString *)graphPath
                       parameters:(NSDictionary *)parameters
@@ -103,7 +106,7 @@
/**
  If set, disables the automatic error recovery mechanism.
 - Parameter disable: whether to disable the automatic error recovery mechanism
 @param disable whether to disable the automatic error recovery mechanism
 By default, non-batched FBSDKGraphRequest instances will automatically try to recover
 from errors by constructing a `FBSDKGraphErrorRecoveryProcessor` instance that
@@ -116,7 +119,7 @@
/**
  Starts a connection to the Graph API.
 - Parameter handler: The handler block to call when the request completes.
 @param handler The handler block to call when the request completes.
 */
- (FBSDKGraphRequestConnection *)startWithCompletionHandler:(FBSDKGraphRequestHandler)handler;
frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h
@@ -18,8 +18,6 @@
#import <Foundation/Foundation.h>
#import <FBSDKCoreKit/FBSDKMacros.h>
@class FBSDKGraphRequest;
@class FBSDKGraphRequestConnection;
@@ -34,13 +32,13 @@
 Pass a block of this type when calling addRequest.  This will be called once
 the request completes.  The call occurs on the UI thread.
 - Parameter connection:      The `FBSDKGraphRequestConnection` that sent the request.
 @param connection      The `FBSDKGraphRequestConnection` that sent the request.
 - Parameter result:          The result of the request.  This is a translation of
 @param result          The result of the request.  This is a translation of
 JSON data to `NSDictionary` and `NSArray` objects.  This
 is nil if there was an error.
 - Parameter error:           The `NSError` representing any error that occurred.
 @param error           The `NSError` representing any error that occurred.
 */
typedef void (^FBSDKGraphRequestHandler)(FBSDKGraphRequestConnection *connection,
@@ -68,7 +66,7 @@
 start, the object returned from the convenience method has already begun loading and this method
 will not be called when the delegate is set.
 - Parameter connection:    The request connection that is starting a network request
 @param connection    The request connection that is starting a network request
 */
- (void)requestConnectionWillBeginLoading:(FBSDKGraphRequestConnection *)connection;
@@ -86,7 +84,7 @@
 This method is invoked after the completion handler for each <FBSDKGraphRequest>.
 - Parameter connection:    The request connection that successfully completed a network request
 @param connection    The request connection that successfully completed a network request
 */
- (void)requestConnectionDidFinishLoading:(FBSDKGraphRequestConnection *)connection;
@@ -101,8 +99,8 @@
 argument specifies why the network connection failed. The `NSError` object passed to the
 FBSDKGraphRequestHandler block may contain additional information.
 - Parameter connection:    The request connection that successfully completed a network request
 - Parameter error:         The `NSError` representing the network error that occurred, if any. May be nil
 @param connection    The request connection that successfully completed a network request
 @param error         The `NSError` representing the network error that occurred, if any. May be nil
 in some circumstances. Consult the `NSError` for the <FBSDKGraphRequest> for reliable
 failure information.
 */
@@ -118,12 +116,12 @@
 The byte count arguments refer to the aggregated <FBSDKGraphRequest> objects, not a particular <FBSDKGraphRequest>.
 Like `NSURLConnection`, the values may change in unexpected ways if data needs to be resent.
 Like `NSURLSession`, the values may change in unexpected ways if data needs to be resent.
 - Parameter connection:                The request connection transmitting data to a remote host
 - Parameter bytesWritten:              The number of bytes sent in the last transmission
 - Parameter totalBytesWritten:         The total number of bytes sent to the remote host
 - Parameter totalBytesExpectedToWrite: The total number of bytes expected to send to the remote host
 @param connection                The request connection transmitting data to a remote host
 @param bytesWritten              The number of bytes sent in the last transmission
 @param totalBytesWritten         The total number of bytes sent to the remote host
 @param totalBytesExpectedToWrite The total number of bytes expected to send to the remote host
 */
- (void)requestConnection:(FBSDKGraphRequestConnection *)connection
          didSendBodyData:(NSInteger)bytesWritten
@@ -153,7 +151,7 @@
/**
  Gets or sets the timeout interval to wait for a response before giving up.
 */
@property (nonatomic) NSTimeInterval timeout;
@property (nonatomic, assign) NSTimeInterval timeout;
/**
  The raw response that was returned from the server.  (readonly)
@@ -177,7 +175,7 @@
  This method sets the default timeout on all FBSDKGraphRequestConnection instances. Defaults to 60 seconds.
 - Parameter defaultConnectionTimeout:     The timeout interval.
 @param defaultConnectionTimeout     The timeout interval.
 */
+ (void)setDefaultConnectionTimeout:(NSTimeInterval)defaultConnectionTimeout;
@@ -190,8 +188,8 @@
  This method adds an <FBSDKGraphRequest> object to this connection.
 - Parameter request:       A request to be included in the round-trip when start is called.
 - Parameter handler:       A handler to call back when the round-trip completes or times out.
 @param request       A request to be included in the round-trip when start is called.
 @param handler       A handler to call back when the round-trip completes or times out.
@@ -206,12 +204,12 @@
  This method adds an <FBSDKGraphRequest> object to this connection.
 - Parameter request:         A request to be included in the round-trip when start is called.
 @param request         A request to be included in the round-trip when start is called.
 - Parameter handler:         A handler to call back when the round-trip completes or times out.
 @param handler         A handler to call back when the round-trip completes or times out.
 The handler will be invoked on the main thread.
 - Parameter name:            An optional name for this request.  This can be used to feed
 @param name            An optional name for this request.  This can be used to feed
 the results of one request to the input of another <FBSDKGraphRequest> in the same
 `FBSDKGraphRequestConnection` as described in
 [Graph API Batch Requests]( https://developers.facebook.com/docs/reference/api/batch/ ).
@@ -223,19 +221,24 @@
 to allow for using the request's response in a subsequent request.
 */
- (void)addRequest:(FBSDKGraphRequest *)request
    batchEntryName:(NSString *)name
 completionHandler:(FBSDKGraphRequestHandler)handler;
- (void)addRequest:(FBSDKGraphRequest *)request
 completionHandler:(FBSDKGraphRequestHandler)handler
    batchEntryName:(NSString *)name;
    batchEntryName:(NSString *)name
DEPRECATED_MSG_ATTRIBUTE("Renamed `addRequest:batchEntryName:completionHandler:`");
/**
 @method
  This method adds an <FBSDKGraphRequest> object to this connection.
 - Parameter request:         A request to be included in the round-trip when start is called.
 @param request         A request to be included in the round-trip when start is called.
 - Parameter handler:         A handler to call back when the round-trip completes or times out.
 @param handler         A handler to call back when the round-trip completes or times out.
 - Parameter batchParameters: The optional dictionary of parameters to include for this request
 @param batchParameters The optional dictionary of parameters to include for this request
 as described in [Graph API Batch Requests]( https://developers.facebook.com/docs/reference/api/batch/ ).
 Examples include "depends_on", "name", or "omit_response_on_success".
@@ -246,8 +249,13 @@
 to allow for using the request's response in a subsequent request.
 */
- (void)addRequest:(FBSDKGraphRequest *)request
   batchParameters:(NSDictionary<NSString *, id> *)batchParameters
 completionHandler:(FBSDKGraphRequestHandler)handler;
- (void)addRequest:(FBSDKGraphRequest *)request
 completionHandler:(FBSDKGraphRequestHandler)handler
   batchParameters:(NSDictionary *)batchParameters;
   batchParameters:(NSDictionary *)batchParameters
DEPRECATED_MSG_ATTRIBUTE("Renamed `addRequest:batchParameters:completionHandler:`");
/**
 @methodgroup Instance methods
@@ -285,12 +293,10 @@
/**
  Determines the operation queue that is used to call methods on the connection's delegate.
 - Parameter queue: The operation queue to use when calling delegate methods.
 @param queue The operation queue to use when calling delegate methods.
 By default, a connection is scheduled on the current thread in the default mode when it is created.
 You cannot reschedule a connection after it has started.
 This is very similar to `[NSURLConnection setDelegateQueue:]`.
 */
- (void)setDelegateQueue:(NSOperationQueue *)queue;
@@ -305,9 +311,12 @@
 for applications. If you want to override the version part while using batch requests on the connection, call
 this method to set the version for the batch request.
 - Parameter version:   This is a string in the form @"v2.0" which will be used for the version part of an API path
 @param version   This is a string in the form @"v2.0" which will be used for the version part of an API path
 */
- (void)overrideVersionPartWith:(NSString *)version;
- (void)overrideGraphAPIVersion:(NSString *)version;
- (void)overrideVersionPartWith:(NSString *)version
DEPRECATED_MSG_ATTRIBUTE("Renamed `overrideGraphAPIVersion`");
@end
@@ -320,4 +329,4 @@
 will be wrapped into a dictionary using this const as the key. This only applies for very few Graph API
 prior to v2.1.
 */
FBSDK_EXTERN NSString *const FBSDKNonJSONResponseProperty;
FOUNDATION_EXPORT NSString *const FBSDKNonJSONResponseProperty;
frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h
@@ -23,11 +23,14 @@
 */
@interface FBSDKGraphRequestDataAttachment : NSObject
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
/**
  Initializes the receiver with the attachment data and metadata.
 - Parameter data: The attachment data (retained, not copied)
 - Parameter filename: The filename for the attachment
 - Parameter contentType: The content type for the attachment
 @param data The attachment data (retained, not copied)
 @param filename The filename for the attachment
 @param contentType The content type for the attachment
 */
- (instancetype)initWithData:(NSData *)data
                    filename:(NSString *)filename
frameworks/FBSDKCoreKit.framework/Headers/FBSDKMacros.h
@@ -17,23 +17,3 @@
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#import <Foundation/Foundation.h>
#ifdef __cplusplus
#define FBSDK_EXTERN extern "C" __attribute__((visibility ("default")))
#else
#define FBSDK_EXTERN extern __attribute__((visibility ("default")))
#endif
#define FBSDK_STATIC_INLINE static inline
#define FBSDK_NO_DESIGNATED_INITIALIZER() \
@throw [NSException exceptionWithName:NSInvalidArgumentException \
                               reason:[NSString stringWithFormat:@"unrecognized selector sent to instance %p", self] \
                             userInfo:nil]
#define FBSDK_NOT_DESIGNATED_INITIALIZER(DESIGNATED_INITIALIZER) \
@throw [NSException exceptionWithName:NSInvalidArgumentException \
                               reason:[NSString stringWithFormat:@"Please use the designated initializer [%p %@]", \
                                       self, \
                                       NSStringFromSelector(@selector(DESIGNATED_INITIALIZER))] \
                             userInfo:nil]
frameworks/FBSDKCoreKit.framework/Headers/FBSDKMeasurementEvent.h
New file
@@ -0,0 +1,69 @@
// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
//
// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
// copy, modify, and distribute this software in source code or binary form for use
// in connection with the web services and APIs provided by Facebook.
//
// As with any software that integrates with the Facebook platform, your use of
// this software is subject to the Facebook Developer Principles and Policies
// [http://developers.facebook.com/policy/]. This copyright notice shall be
// included in all copies or substantial portions of the software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
// 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>
NS_ASSUME_NONNULL_BEGIN
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0
/*! The name of the notification posted by FBSDKMeasurementEvent */
FOUNDATION_EXPORT NSNotificationName const FBSDKMeasurementEventNotification;
#else
/*! The name of the notification posted by FBSDKMeasurementEvent */
FOUNDATION_EXPORT NSString *const FBSDKMeasurementEventNotification;
#endif
FOUNDATION_EXPORT NSString *const FBSDKMeasurementEventNotificationName
DEPRECATED_MSG_ATTRIBUTE("Use `FBSDKMeasurementEventNotification` instead");
/*! Defines keys in the userInfo object for the notification named FBSDKMeasurementEventNotificationName */
/*! The string field for the name of the event */
FOUNDATION_EXPORT NSString *const FBSDKMeasurementEventNameKey;
/*! The dictionary field for the arguments of the event */
FOUNDATION_EXPORT NSString *const FBSDKMeasurementEventArgsKey;
/*! Events raised by FBSDKMeasurementEvent for Applink */
/*!
 The name of the event posted when [FBSDKURL URLWithURL:] is called successfully. This represents the successful parsing of an app link URL.
 */
FOUNDATION_EXPORT NSString *const FBSDKAppLinkParseEventName;
/*!
 The name of the event posted when [FBSDKURL URLWithInboundURL:] is called successfully.
 This represents parsing an inbound app link URL from a different application
 */
FOUNDATION_EXPORT NSString *const FBSDKAppLinkNavigateInEventName;
/*! The event raised when the user navigates from your app to other apps */
FOUNDATION_EXPORT NSString *const FBSDKAppLinkNavigateOutEventName;
/*!
 The event raised when the user navigates out from your app and back to the referrer app.
 e.g when the user leaves your app after tapping the back-to-referrer navigation bar
 */
FOUNDATION_EXPORT NSString *const FBSDKAppLinkNavigateBackToReferrerEventName;
@interface FBSDKMeasurementEvent : NSObject
@end
NS_ASSUME_NONNULL_END
frameworks/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h
@@ -29,7 +29,7 @@
/**
  Implemented by NSObject as a convenience to mutableCopyWithZone:.
 - Returns: A mutable copy of the receiver.
 @return A mutable copy of the receiver.
 */
- (id)mutableCopy;
frameworks/FBSDKCoreKit.framework/Headers/FBSDKProfile.h
@@ -14,10 +14,11 @@
// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
// 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.
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE."
#import "FBSDKMacros.h"
#import "FBSDKProfilePictureView.h"
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0
/**
  Notification indicating that the `currentProfile` has changed.
@@ -26,19 +27,32 @@
 `FBSDKProfileChangeOldKey` and
 `FBSDKProfileChangeNewKey`.
 */
FBSDK_EXTERN NSString *const FBSDKProfileDidChangeNotification;
FOUNDATION_EXPORT NSNotificationName const FBSDKProfileDidChangeNotification;
#else
/**
  Notification indicating that the `currentProfile` has changed.
 the userInfo dictionary of the notification will contain keys
 `FBSDKProfileChangeOldKey` and
 `FBSDKProfileChangeNewKey`.
 */
FOUNDATION_EXPORT NSString *const FBSDKProfileDidChangeNotification;
#endif
/*   key in notification's userInfo object for getting the old profile.
 If there was no old profile, the key will not be present.
 */
FBSDK_EXTERN NSString *const FBSDKProfileChangeOldKey;
FOUNDATION_EXPORT NSString *const FBSDKProfileChangeOldKey;
/*   key in notification's userInfo object for getting the new profile.
 If there is no new profile, the key will not be present.
 */
FBSDK_EXTERN NSString *const FBSDKProfileChangeNewKey;
FOUNDATION_EXPORT NSString *const FBSDKProfileChangeNewKey;
/**
  Represents an immutable Facebook profile
@@ -54,15 +68,18 @@
 */
@interface FBSDKProfile : NSObject<NSCopying, NSSecureCoding>
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
/**
  initializes a new instance.
 - Parameter userID: the user ID
 - Parameter firstName: the user's first name
 - Parameter middleName: the user's middle name
 - Parameter lastName: the user's last name
 - Parameter name: the user's complete name
 - Parameter linkURL: the link for this profile
 - Parameter refreshDate: the optional date this profile was fetched. Defaults to [NSDate date].
 @param userID the user ID
 @param firstName the user's first name
 @param middleName the user's middle name
 @param lastName the user's last name
 @param name the user's complete name
 @param linkURL the link for this profile
 @param refreshDate the optional date this profile was fetched. Defaults to [NSDate date].
 */
- (instancetype)initWithUserID:(NSString *)userID
                     firstName:(NSString *)firstName
@@ -112,7 +129,7 @@
/**
  Sets the current instance and posts the appropriate notification if the profile parameter is different
 than the receiver.
 - Parameter profile: the profile to set
 @param profile the profile to set
 This persists the profile to NSUserDefaults.
 */
@@ -120,7 +137,7 @@
/**
  Indicates if `currentProfile` will automatically observe `FBSDKAccessTokenDidChangeNotification` notifications
 - Parameter enable: YES is observing
 @param enable YES is observing
 If observing, this class will issue a graph request for public profile data when the current token's userID
 differs from the current profile. You can observe `FBSDKProfileDidChangeNotification` for when the profile is updated.
@@ -132,7 +149,7 @@
/**
  Loads the current profile and passes it to the completion block.
 - Parameter completion: The block to be executed once the profile is loaded
 @param completion The block to be executed once the profile is loaded
 If the profile is already loaded, this method will call the completion block synchronously, otherwise it
 will begin a graph request to update `currentProfile` and then call the completion block when finished.
@@ -141,26 +158,26 @@
/**
  A convenience method for returning a complete `NSURL` for retrieving the user's profile image.
 - Parameter mode: The picture mode
 - Parameter size: The height and width. This will be rounded to integer precision.
 @param mode The picture mode
 @param size The height and width. This will be rounded to integer precision.
 */
- (NSURL *)imageURLForPictureMode:(FBSDKProfilePictureMode)mode size:(CGSize)size;
/**
  A convenience method for returning a Graph API path for retrieving the user's profile image.
- Warning:use `imageURLForPictureMode:size:` instead
@warning use `imageURLForPictureMode:size:` instead
 You can pass this to a `FBSDKGraphRequest` instance to download the image.
 - Parameter mode: The picture mode
 - Parameter size: The height and width. This will be rounded to integer precision.
 @param mode The picture mode
 @param size The height and width. This will be rounded to integer precision.
 */
- (NSString *)imagePathForPictureMode:(FBSDKProfilePictureMode)mode size:(CGSize)size
__attribute__ ((deprecated("use imageURLForPictureMode:size: instead")));
DEPRECATED_MSG_ATTRIBUTE("use imageURLForPictureMode:size: instead");
/**
  Returns YES if the profile is equivalent to the receiver.
 - Parameter profile: the profile to compare to.
 @param profile the profile to compare to.
 */
- (BOOL)isEqualToProfile:(FBSDKProfile *)profile;
@end
frameworks/FBSDKCoreKit.framework/Headers/FBSDKSettings.h
@@ -18,45 +18,46 @@
#import <UIKit/UIKit.h>
#import <FBSDKCoreKit/FBSDKMacros.h>
/*
 * Constants defining logging behavior.  Use with <[FBSDKSettings setLoggingBehavior]>.
 */
/** Include access token in logging. */
FBSDK_EXTERN NSString *const FBSDKLoggingBehaviorAccessTokens;
FOUNDATION_EXPORT NSString *const FBSDKLoggingBehaviorAccessTokens;
/** Log performance characteristics */
FBSDK_EXTERN NSString *const FBSDKLoggingBehaviorPerformanceCharacteristics;
FOUNDATION_EXPORT NSString *const FBSDKLoggingBehaviorPerformanceCharacteristics;
/** Log FBSDKAppEvents interactions */
FBSDK_EXTERN NSString *const FBSDKLoggingBehaviorAppEvents;
FOUNDATION_EXPORT NSString *const FBSDKLoggingBehaviorAppEvents;
/** Log Informational occurrences */
FBSDK_EXTERN NSString *const FBSDKLoggingBehaviorInformational;
FOUNDATION_EXPORT NSString *const FBSDKLoggingBehaviorInformational;
/** Log cache errors. */
FBSDK_EXTERN NSString *const FBSDKLoggingBehaviorCacheErrors;
FOUNDATION_EXPORT NSString *const FBSDKLoggingBehaviorCacheErrors;
/** Log errors from SDK UI controls */
FBSDK_EXTERN NSString *const FBSDKLoggingBehaviorUIControlErrors;
FOUNDATION_EXPORT NSString *const FBSDKLoggingBehaviorUIControlErrors;
/** Log debug warnings from API response, i.e. when friends fields requested, but user_friends permission isn't granted. */
FBSDK_EXTERN NSString *const FBSDKLoggingBehaviorGraphAPIDebugWarning;
FOUNDATION_EXPORT NSString *const FBSDKLoggingBehaviorGraphAPIDebugWarning;
/** Log warnings from API response, i.e. when requested feature will be deprecated in next version of API.
 Info is the lowest level of severity, using it will result in logging all previously mentioned levels.
 */
FBSDK_EXTERN NSString *const FBSDKLoggingBehaviorGraphAPIDebugInfo;
FOUNDATION_EXPORT NSString *const FBSDKLoggingBehaviorGraphAPIDebugInfo;
/** Log errors from SDK network requests */
FBSDK_EXTERN NSString *const FBSDKLoggingBehaviorNetworkRequests;
FOUNDATION_EXPORT NSString *const FBSDKLoggingBehaviorNetworkRequests;
/** Log errors likely to be preventable by the developer. This is in the default set of enabled logging behaviors. */
FBSDK_EXTERN NSString *const FBSDKLoggingBehaviorDeveloperErrors;
FOUNDATION_EXPORT NSString *const FBSDKLoggingBehaviorDeveloperErrors;
@interface FBSDKSettings : NSObject
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
/**
  Get the Facebook App ID used by the SDK.
@@ -67,7 +68,7 @@
/**
  Set the Facebook App ID to be used by the SDK.
 - Parameter appID: The Facebook App ID to be used by the SDK.
 @param appID The Facebook App ID to be used by the SDK.
 */
+ (void)setAppID:(NSString *)appID;
@@ -80,7 +81,7 @@
/**
  Set the app url scheme suffix used by the SDK.
 - Parameter appURLSchemeSuffix: The url scheme suffix to be used by the SDK.
 @param appURLSchemeSuffix The url scheme suffix to be used by the SDK.
 */
+ (void)setAppURLSchemeSuffix:(NSString *)appURLSchemeSuffix;
@@ -95,14 +96,14 @@
  Sets the Client Token for the Facebook App.
 This is needed for certain API calls when made anonymously, without a user-based access token.
 - Parameter clientToken: The Facebook App's "client token", which, for a given appid can be found in the Security
 @param clientToken The Facebook App's "client token", which, for a given appid can be found in the Security
 section of the Advanced tab of the Facebook App settings found at <https://developers.facebook.com/apps/[your-app-id]>
 */
+ (void)setClientToken:(NSString *)clientToken;
/**
  A convenient way to toggle error recovery for all FBSDKGraphRequest instances created after this is set.
 - Parameter disableGraphErrorRecovery: YES or NO.
 @param disableGraphErrorRecovery YES or NO.
 */
+ (void)setGraphErrorRecoveryDisabled:(BOOL)disableGraphErrorRecovery;
@@ -118,7 +119,7 @@
  This should match the Display Name that has been set for the app with the corresponding Facebook App ID,
 in the Facebook App Dashboard.
 - Parameter displayName: The Facebook Display Name to be used by the SDK.
 @param displayName The Facebook Display Name to be used by the SDK.
 */
+ (void)setDisplayName:(NSString *)displayName;
@@ -134,7 +135,7 @@
 This can be used to change the Facebook domain (e.g. @"beta") so that requests will be sent to
 graph.beta.facebook.com
 - Parameter facebookDomainPart: The domain part to be inserted into facebook.com.
 @param facebookDomainPart The domain part to be inserted into facebook.com.
 */
+ (void)setFacebookDomainPart:(NSString *)facebookDomainPart;
@@ -143,14 +144,14 @@
 If not explicitly set, the default is 0.9.
- See:[UIImageJPEGRepresentation](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIKitFunctionReference/#//apple_ref/c/func/UIImageJPEGRepresentation) */
 @see [UIImageJPEGRepresentation](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIKitFunctionReference/#//apple_ref/c/func/UIImageJPEGRepresentation) */
+ (CGFloat)JPEGCompressionQuality;
/**
  Set the quality of JPEG images sent to Facebook from the SDK.
 - Parameter JPEGCompressionQuality: The quality for JPEG images, expressed as a value from 0.0 to 1.0.
 @param JPEGCompressionQuality The quality for JPEG images, expressed as a value from 0.0 to 1.0.
- See:[UIImageJPEGRepresentation](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIKitFunctionReference/#//apple_ref/c/func/UIImageJPEGRepresentation) */
 @see [UIImageJPEGRepresentation](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIKitFunctionReference/#//apple_ref/c/func/UIImageJPEGRepresentation) */
+ (void)setJPEGCompressionQuality:(CGFloat)JPEGCompressionQuality;
/**
@@ -161,7 +162,7 @@
/**
 Set the flag which controls the auto logging of basic app events, such as activateApp and deactivateApp.
 - Parameter AutoLogAppEventsEnabled: Flag value, expressed as a value from 0 - false or 1 - true.
 @param AutoLogAppEventsEnabled Flag value, expressed as a value from 0 - false or 1 - true.
 */
+ (void)setAutoLogAppEventsEnabled:(NSNumber *)AutoLogAppEventsEnabled;
@@ -173,9 +174,21 @@
/**
 Set the flag which controls the fb_codeless_debug logging event
 - Parameter CodelessDebugEnabled: Flag value, expressed as a value from 0 - false or 1 - true.
 @param CodelessDebugLogEnabled Flag value, expressed as a value from 0 - false or 1 - true.
 */
+ (void)setCodelessDebugLogEnabled:(NSNumber *)CodelessDebugLogEnabled;
/**
 Flag which controls whether advertiserID could be collected.
 If not explicitly set, the default is 1 - true
 */
+ (NSNumber *)advertiserIDCollectionEnabled;
/**
 Set the flag which controls ontrols whether advertiserID could be collected.
 @param AdvertiserIDCollectionEnabled Flag value, expressed as a value from 0 - false or 1 - true.
 */
+ (void)setAdvertiserIDCollectionEnabled:(NSNumber *)AdvertiserIDCollectionEnabled;
/**
  Gets whether data such as that generated through FBSDKAppEvents and sent to Facebook should be restricted from being used for other than analytics and conversions.  Defaults to NO.  This value is stored on the device and persists across app launches.
@@ -185,7 +198,7 @@
/**
  Sets whether data such as that generated through FBSDKAppEvents and sent to Facebook should be restricted from being used for other than analytics and conversions.  Defaults to NO.  This value is stored on the device and persists across app launches.
 - Parameter limitEventAndDataUsage:   The desired value.
 @param limitEventAndDataUsage   The desired value.
 */
+ (void)setLimitEventAndDataUsage:(BOOL)limitEventAndDataUsage;
@@ -195,15 +208,18 @@
+ (NSString *)sdkVersion;
/**
  Retrieve the current Facebook SDK logging behavior.
  The current Facebook SDK logging behavior.
 */
+ (NSSet *)loggingBehavior;
@property (class, nonatomic, copy) NSSet<NSString *> *loggingBehaviors;
+ (NSSet *)loggingBehavior
DEPRECATED_MSG_ATTRIBUTE("Renamed `loggingBehaviors`");
/**
  Set the current Facebook SDK logging behavior.  This should consist of strings defined as
 constants with FBSDKLoggingBehavior*.
 - Parameter loggingBehavior: A set of strings indicating what information should be logged.  If nil is provided, the logging
 @param loggingBehavior A set of strings indicating what information should be logged.  If nil is provided, the logging
 behavior is reset to the default set of enabled behaviors.  Set to an empty set in order to disable all logging.
@@ -214,21 +230,21 @@
/**
  Enable a particular Facebook SDK logging behavior.
 - Parameter loggingBehavior: The LoggingBehavior to enable. This should be a string defined as a constant with FBSDKLoggingBehavior*.
 @param loggingBehavior The LoggingBehavior to enable. This should be a string defined as a constant with FBSDKLoggingBehavior*.
 */
+ (void)enableLoggingBehavior:(NSString *)loggingBehavior;
/**
  Disable a particular Facebook SDK logging behavior.
 - Parameter loggingBehavior: The LoggingBehavior to disable. This should be a string defined as a constant with FBSDKLoggingBehavior*.
 @param loggingBehavior The LoggingBehavior to disable. This should be a string defined as a constant with FBSDKLoggingBehavior*.
 */
+ (void)disableLoggingBehavior:(NSString *)loggingBehavior;
/**
  Set the user defaults key used by legacy token caches.
 - Parameter tokenInformationKeyName: the key used by legacy token caches.
 @param tokenInformationKeyName the key used by legacy token caches.
 Use this only if you customized FBSessionTokenCachingStrategy in v3.x of
frameworks/FBSDKCoreKit.framework/Headers/FBSDKTestUsersManager.h
@@ -48,22 +48,25 @@
 */
@interface FBSDKTestUsersManager : NSObject
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
/**
  construct or return the shared instance
 - Parameter appID: the Facebook app id
 - Parameter appSecret: the Facebook app secret
 @param appID the Facebook app id
 @param appSecret the Facebook app secret
 */
+ (instancetype)sharedInstanceForAppID:(NSString *)appID appSecret:(NSString *)appSecret;
/**
  retrieve FBSDKAccessToken instances for test accounts with the specific permissions.
 - Parameter arraysOfPermissions: an array of permissions sets, such as @[ [NSSet setWithObject:@"email"], [NSSet setWithObject:@"user_birthday"]]
 @param arraysOfPermissions an array of permissions sets, such as @[ [NSSet setWithObject:@"email"], [NSSet setWithObject:@"user_birthday"]]
 if you needed two test accounts with email and birthday permissions, respectively. You can pass in empty nested sets
 if you need two arbitrary test accounts. For convenience, passing nil is treated as @[ [NSSet set] ]
 for fetching a single test user.
 - Parameter createIfNotFound: if YES, new test accounts are created if no test accounts existed that fit the permissions
 @param createIfNotFound if YES, new test accounts are created if no test accounts existed that fit the permissions
 requirement
 - Parameter handler: the callback to invoke which will return an array of `FBAccessTokenData` instances or an `NSError`.
 @param handler the callback to invoke which will return an array of `FBAccessTokenData` instances or an `NSError`.
 If param `createIfNotFound` is NO, the array may contain `[NSNull null]` instances.
@@ -77,24 +80,24 @@
/**
  add a test account with the specified permissions
 - Parameter permissions: the set of permissions, e.g., [NSSet setWithObjects:@"email", @"user_friends"]
 - Parameter handler: the callback handler
 @param permissions the set of permissions, e.g., [NSSet setWithObjects:@"email", @"user_friends"]
 @param handler the callback handler
 */
- (void)addTestAccountWithPermissions:(NSSet *)permissions
                    completionHandler:(FBSDKTestUsersManagerRetrieveTestAccountTokensHandler)handler;
/**
  remove a test account for the given user id
 - Parameter userId: the user id
 - Parameter handler: the callback handler
 @param userId the user id
 @param handler the callback handler
 */
- (void)removeTestAccount:(NSString *)userId completionHandler:(FBSDKTestUsersManagerRemoveTestAccountHandler)handler;
/**
  Make two test users friends with each other.
 - Parameter first: the token of the first user
 - Parameter second: the token of the second user
 - Parameter callback: the callback handler
 @param first the token of the first user
 @param second the token of the second user
 @param callback the callback handler
 */
- (void)makeFriendsWithFirst:(FBSDKAccessToken *)first second:(FBSDKAccessToken *)second callback:(void (^)(NSError *))callback;
frameworks/FBSDKCoreKit.framework/Headers/FBSDKURL.h
New file
@@ -0,0 +1,87 @@
// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
//
// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
// copy, modify, and distribute this software in source code or binary form for use
// in connection with the web services and APIs provided by Facebook.
//
// As with any software that integrates with the Facebook platform, your use of
// this software is subject to the Facebook Developer Principles and Policies
// [http://developers.facebook.com/policy/]. This copyright notice shall be
// included in all copies or substantial portions of the software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
// 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>
NS_ASSUME_NONNULL_BEGIN
@class FBSDKAppLink;
/*!
 Provides a set of utilities for working with NSURLs, such as parsing of query parameters
 and handling for App Link requests.
 */
@interface FBSDKURL : NSObject
/*!
 Creates a link target from a raw URL.
 On success, this posts the FBSDKAppLinkParseEventName measurement event. If you are constructing the FBSDKURL within your application delegate's
 application:openURL:sourceApplication:annotation:, you should instead use URLWithInboundURL:sourceApplication:
 to support better FBSDKMeasurementEvent notifications
 @param url The instance of `NSURL` to create FBSDKURL from.
 */
+ (FBSDKURL *)URLWithURL:(NSURL *)url;
/*!
 Creates a link target from a raw URL received from an external application. This is typically called from the app delegate's
 application:openURL:sourceApplication:annotation: and will post the FBSDKAppLinkNavigateInEventName measurement event.
 @param url The instance of `NSURL` to create FBSDKURL from.
 @param sourceApplication the bundle ID of the app that is requesting your app to open the URL. The same sourceApplication in application:openURL:sourceApplication:annotation:
 */
+ (FBSDKURL *)URLWithInboundURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication;
/*!
 Gets the target URL.  If the link is an App Link, this is the target of the App Link.
 Otherwise, it is the url that created the target.
 */
@property (nonatomic, strong, readonly) NSURL *targetURL;
/*!
 Gets the query parameters for the target, parsed into an NSDictionary.
 */
@property (nonatomic, strong, readonly) NSDictionary<NSString *, id> *targetQueryParameters;
/*!
 If this link target is an App Link, this is the data found in al_applink_data.
 Otherwise, it is nil.
 */
@property (nonatomic, strong, readonly) NSDictionary<NSString *, id> *appLinkData;
/*!
 If this link target is an App Link, this is the data found in extras.
 */
@property (nonatomic, strong, readonly) NSDictionary<NSString *, id> *appLinkExtras;
/*!
 The App Link indicating how to navigate back to the referer app, if any.
 */
@property (nonatomic, strong, readonly) FBSDKAppLink *appLinkReferer;
/*!
 The URL that was used to create this FBSDKURL.
 */
@property (nonatomic, strong, readonly) NSURL *inputURL;
/*!
 The query parameters of the inputURL, parsed into an NSDictionary.
 */
@property (nonatomic, strong, readonly) NSDictionary<NSString *, id> *inputQueryParameters;
@end
NS_ASSUME_NONNULL_END
frameworks/FBSDKCoreKit.framework/Headers/FBSDKUtility.h
@@ -23,47 +23,57 @@
 */
@interface FBSDKUtility : NSObject
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
/**
  Parses a query string into a dictionary.
 - Parameter queryString: The query string value.
 - Returns: A dictionary with the key/value pairs.
 @param queryString The query string value.
 @return A dictionary with the key/value pairs.
 */
+ (NSDictionary *)dictionaryWithQueryString:(NSString *)queryString;
/**
  Constructs a query string from a dictionary.
 - Parameter dictionary: The dictionary with key/value pairs for the query string.
 - Parameter errorRef: If an error occurs, upon return contains an NSError object that describes the problem.
 - Returns: Query string representation of the parameters.
 @param dictionary The dictionary with key/value pairs for the query string.
 @param errorRef If an error occurs, upon return contains an NSError object that describes the problem.
 @return Query string representation of the parameters.
 */
+ (NSString *)queryStringWithDictionary:(NSDictionary *)dictionary error:(NSError *__autoreleasing *)errorRef;
/**
  Decodes a value from an URL.
 - Parameter value: The value to decode.
 - Returns: The decoded value.
 @param value The value to decode.
 @return The decoded value.
 */
+ (NSString *)URLDecode:(NSString *)value;
/**
  Encodes a value for an URL.
 - Parameter value: The value to encode.
 - Returns: The encoded value.
 @param value The value to encode.
 @return The encoded value.
 */
+ (NSString *)URLEncode:(NSString *)value;
/**
  Creates a timer using Grand Central Dispatch.
 - Parameter interval: The interval to fire the timer, in seconds.
 - Parameter block: The code block to execute when timer is fired.
 - Returns: The dispatch handle.
 @param interval The interval to fire the timer, in seconds.
 @param block The code block to execute when timer is fired.
 @return The dispatch handle.
 */
+ (dispatch_source_t)startGCDTimerWithInterval:(double)interval block:(dispatch_block_t)block;
/**
 Stop a timer that was started by startGCDTimerWithInterval.
 - Parameter timer: The dispatch handle received from startGCDTimerWithInterval.
 @param timer The dispatch handle received from startGCDTimerWithInterval.
 */
+ (void)stopGCDTimer:(dispatch_source_t)timer;
/**
 Get SHA256 hased string of NSString/NSData
 @param input The data that needs to be hashed, it could be NSString or NSData.
 */
+ (NSString *)SHA256Hash:(NSObject *)input;
@end
frameworks/FBSDKCoreKit.framework/Headers/FBSDKWebViewAppLinkResolver.h
New file
@@ -0,0 +1,38 @@
// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
//
// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
// copy, modify, and distribute this software in source code or binary form for use
// in connection with the web services and APIs provided by Facebook.
//
// As with any software that integrates with the Facebook platform, your use of
// this software is subject to the Facebook Developer Principles and Policies
// [http://developers.facebook.com/policy/]. This copyright notice shall be
// included in all copies or substantial portions of the software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
// 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 "FBSDKAppLinkResolving.h"
NS_ASSUME_NONNULL_BEGIN
/*!
 A reference implementation for an App Link resolver that uses a hidden UIWebView
 to parse the HTML containing App Link metadata.
 */
@interface FBSDKWebViewAppLinkResolver : NSObject <FBSDKAppLinkResolving>
/*!
 Gets the instance of a FBSDKWebViewAppLinkResolver.
 */
+ (instancetype)sharedInstance;
@end
NS_ASSUME_NONNULL_END
frameworks/FBSDKCoreKit.framework/Info.plist
Binary files differ
frameworks/FBSDKLoginKit.framework/FBSDKLoginKit
Binary files differ
frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginButton.h
@@ -106,9 +106,9 @@
@required
/**
  Sent to the delegate when the button was used to login.
 - Parameter loginButton: the sender
 - Parameter result: The results of the login
 - Parameter error: The error (if any) from the login
 @param loginButton the sender
 @param result The results of the login
 @param error The error (if any) from the login
 */
- (void)loginButton:(FBSDKLoginButton *)loginButton
didCompleteWithResult:(FBSDKLoginManagerLoginResult *)result
@@ -116,15 +116,15 @@
/**
  Sent to the delegate when the button was used to logout.
 - Parameter loginButton: The button that was clicked.
 @param loginButton The button that was clicked.
*/
- (void)loginButtonDidLogOut:(FBSDKLoginButton *)loginButton;
@optional
/**
  Sent to the delegate when the button is about to login.
 - Parameter loginButton: the sender
 - Returns: YES if the login should be allowed to proceed, NO otherwise
 @param loginButton the sender
 @return YES if the login should be allowed to proceed, NO otherwise
 */
- (BOOL) loginButtonWillLogin:(FBSDKLoginButton *)loginButton;
frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h
@@ -18,82 +18,125 @@
#import <Foundation/Foundation.h>
#import <FBSDKCoreKit/FBSDKMacros.h>
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0
/**
  The error domain for all errors from FBSDKLoginKit
 The error domain for all errors from FBSDKLoginKit
 Error codes from the SDK in the range 300-399 are reserved for this domain.
 */
FBSDK_EXTERN NSString *const FBSDKLoginErrorDomain;
FOUNDATION_EXPORT NSErrorDomain const FBSDKLoginErrorDomain;
#else
/**
 NS_ENUM(NSInteger, FBSDKLoginErrorCode)
 The error domain for all errors from FBSDKLoginKit
 Error codes from the SDK in the range 300-399 are reserved for this domain.
 */
FOUNDATION_EXPORT NSString *const FBSDKLoginErrorDomain;
#endif
#ifndef NS_ERROR_ENUM
#define NS_ERROR_ENUM(_domain, _name) \
enum _name: NSInteger _name; \
enum __attribute__((ns_error_domain(_domain))) _name: NSInteger
#endif
/**
 FBSDKLoginError
  Error codes for FBSDKLoginErrorDomain.
 */
typedef NS_ENUM(NSInteger, FBSDKLoginErrorCode)
typedef NS_ERROR_ENUM(FBSDKLoginErrorDomain, FBSDKLoginError)
{
  /**
    Reserved.
   */
  FBSDKLoginReservedErrorCode = 300,
  FBSDKLoginErrorReserved = 300,
  /**
    The error code for unknown errors.
   */
  FBSDKLoginUnknownErrorCode,
  FBSDKLoginErrorUnknown,
  /**
    The user's password has changed and must log in again
  */
  FBSDKLoginPasswordChangedErrorCode,
  FBSDKLoginErrorPasswordChanged,
  /**
    The user must log in to their account on www.facebook.com to restore access
  */
  FBSDKLoginUserCheckpointedErrorCode,
  FBSDKLoginErrorUserCheckpointed,
  /**
    Indicates a failure to request new permissions because the user has changed.
   */
  FBSDKLoginUserMismatchErrorCode,
  FBSDKLoginErrorUserMismatch,
  /**
    The user must confirm their account with Facebook before logging in
  */
  FBSDKLoginUnconfirmedUserErrorCode,
  FBSDKLoginErrorUnconfirmedUser,
  /**
    The Accounts framework failed without returning an error, indicating the
   app's slider in the iOS Facebook Settings (device Settings -> Facebook -> App Name) has
   been disabled.
   */
  FBSDKLoginSystemAccountAppDisabledErrorCode,
  FBSDKLoginErrorSystemAccountAppDisabled,
  /**
    An error occurred related to Facebook system Account store
  */
  FBSDKLoginSystemAccountUnavailableErrorCode,
  FBSDKLoginErrorSystemAccountUnavailable,
  /**
    The login response was missing a valid challenge string.
  */
  FBSDKLoginBadChallengeString,
  FBSDKLoginErrorBadChallengeString,
};
/**
 NS_ENUM(NSInteger, FBSDKDeviceLoginErrorCode)
 FBSDKDeviceLoginError
 Error codes for FBSDKDeviceLoginErrorDomain.
 */
typedef NS_ENUM(NSUInteger, FBSDKDeviceLoginErrorSubcode) {
typedef NS_ERROR_ENUM(FBSDKLoginErrorDomain, FBSDKDeviceLoginError) {
  /**
   Your device is polling too frequently.
   */
  FBSDKDeviceLoginExcessivePollingErrorSubcode = 1349172,
  FBSDKDeviceLoginErrorExcessivePolling = 1349172,
  /**
   User has declined to authorize your application.
   */
  FBSDKDeviceLoginAuthorizationDeclinedErrorSubcode = 1349173,
  FBSDKDeviceLoginErrorAuthorizationDeclined = 1349173,
  /**
   User has not yet authorized your application. Continue polling.
   */
  FBSDKDeviceLoginAuthorizationPendingErrorSubcode = 1349174,
  FBSDKDeviceLoginErrorAuthorizationPending = 1349174,
  /**
   The code you entered has expired.
   */
  FBSDKDeviceLoginCodeExpiredErrorSubcode = 1349152
  FBSDKDeviceLoginErrorCodeExpired = 1349152
};
/**
 Deprecated
 */
typedef NS_ENUM(NSInteger, FBSDKLoginErrorCode)
{
  FBSDKLoginReservedErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKLoginErrorReserved instead") = FBSDKLoginErrorReserved,
  FBSDKLoginUnknownErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKLoginErrorUnknown instead"),
  FBSDKLoginPasswordChangedErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKLoginErrorPasswordChanged instead"),
  FBSDKLoginUserCheckpointedErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKLoginErrorUserCheckpointed instead"),
  FBSDKLoginUserMismatchErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKLoginErrorUserMismatch instead"),
  FBSDKLoginUnconfirmedUserErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKLoginErrorUnconfirmedUser instead"),
  FBSDKLoginSystemAccountAppDisabledErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKLoginErrorSystemAccountAppDisabled instead"),
  FBSDKLoginSystemAccountUnavailableErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKLoginErrorSystemAccountUnavailable instead"),
  FBSDKLoginBadChallengeString DEPRECATED_MSG_ATTRIBUTE("use FBSDKLoginErrorBadChallengeString instead"),
} DEPRECATED_MSG_ATTRIBUTE("use FBSDKLoginError instead");
/**
 Deprecated
 */
typedef NS_ENUM(NSUInteger, FBSDKDeviceLoginErrorSubcode) {
  FBSDKDeviceLoginExcessivePollingErrorSubcode DEPRECATED_MSG_ATTRIBUTE("use FBSDKDeviceLoginErrorExcessivePolling instead") = FBSDKDeviceLoginErrorExcessivePolling,
  FBSDKDeviceLoginAuthorizationDeclinedErrorSubcode DEPRECATED_MSG_ATTRIBUTE("use FBSDKDeviceLoginErrorAuthorizationDeclined instead") = FBSDKDeviceLoginErrorAuthorizationDeclined,
  FBSDKDeviceLoginAuthorizationPendingErrorSubcode DEPRECATED_MSG_ATTRIBUTE("use FBSDKDeviceLoginErrorAuthorizationPending instead") = FBSDKDeviceLoginErrorAuthorizationPending,
  FBSDKDeviceLoginCodeExpiredErrorSubcode DEPRECATED_MSG_ATTRIBUTE("use FBSDKDeviceLoginErrorCodeExpired instead") = FBSDKDeviceLoginErrorCodeExpired
} DEPRECATED_MSG_ATTRIBUTE("use FBSDKDeviceLoginError instead");
frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h
@@ -18,18 +18,14 @@
#import <UIKit/UIKit.h>
#if !TARGET_TV_OS
#import <FBSDKLoginKit/FBSDKDeviceLoginCodeInfo.h>
#import <FBSDKLoginKit/FBSDKDeviceLoginManager.h>
#import <FBSDKLoginKit/FBSDKDeviceLoginManagerResult.h>
#import <FBSDKLoginKit/FBSDKLoginButton.h>
#import <FBSDKLoginKit/FBSDKLoginConstants.h>
#if !TARGET_TV_OS
#import <FBSDKLoginKit/FBSDKLoginButton.h>
#import <FBSDKLoginKit/FBSDKLoginManager.h>
#import <FBSDKLoginKit/FBSDKLoginManagerLoginResult.h>
#import <FBSDKLoginKit/FBSDKLoginTooltipView.h>
#else
#import <FBSDKLoginKit/FBSDKDeviceLoginCodeInfo.h>
#import <FBSDKLoginKit/FBSDKDeviceLoginManager.h>
#import <FBSDKLoginKit/FBSDKDeviceLoginManagerResult.h>
#import <FBSDKLoginKit/FBSDKLoginConstants.h>
#endif
frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h
@@ -24,8 +24,8 @@
/**
  Describes the call back to the FBSDKLoginManager
 - Parameter result: the result of the authorization
 - Parameter error: the authorization error, if any.
 @param result the result of the authorization
 @param error the authorization error, if any.
 */
typedef void (^FBSDKLoginManagerRequestTokenHandler)(FBSDKLoginManagerLoginResult *result, NSError *error);
@@ -128,25 +128,25 @@
/**
- Warning:use logInWithReadPermissions:fromViewController:handler: instead
@warning use logInWithReadPermissions:fromViewController:handler: instead
 */
- (void)logInWithReadPermissions:(NSArray *)permissions handler:(FBSDKLoginManagerRequestTokenHandler)handler
__attribute__ ((deprecated("use logInWithReadPermissions:fromViewController:handler: instead")));
DEPRECATED_MSG_ATTRIBUTE("use logInWithReadPermissions:fromViewController:handler: instead");
/**
- Warning:use logInWithPublishPermissions:fromViewController:handler: instead
@warning use logInWithPublishPermissions:fromViewController:handler: instead
 */
- (void)logInWithPublishPermissions:(NSArray *)permissions handler:(FBSDKLoginManagerRequestTokenHandler)handler
__attribute__ ((deprecated("use logInWithPublishPermissions:fromViewController:handler: instead")));
DEPRECATED_MSG_ATTRIBUTE("use logInWithPublishPermissions:fromViewController:handler: instead");
/**
  Logs the user in or authorizes additional permissions.
 - Parameter permissions: the optional array of permissions. Note this is converted to NSSet and is only
 @param permissions the optional array of permissions. Note this is converted to NSSet and is only
  an NSArray for the convenience of literal syntax.
 - Parameter fromViewController: the view controller to present from. If nil, the topmost view controller will be
 @param fromViewController the view controller to present from. If nil, the topmost view controller will be
  automatically determined as best as possible.
 - Parameter handler: the callback.
 @param handler the callback.
 Use this method when asking for read permissions. You should only ask for permissions when they
  are needed and explain the value to the user. You can inspect the result.declinedPermissions to also
@@ -164,11 +164,11 @@
/**
  Logs the user in or authorizes additional permissions.
 - Parameter permissions: the optional array of permissions. Note this is converted to NSSet and is only
 @param permissions the optional array of permissions. Note this is converted to NSSet and is only
 an NSArray for the convenience of literal syntax.
 - Parameter fromViewController: the view controller to present from. If nil, the topmost view controller will be
 @param fromViewController the view controller to present from. If nil, the topmost view controller will be
 automatically determined as best as possible.
 - Parameter handler: the callback.
 @param handler the callback.
 Use this method when asking for publish permissions. You should only ask for permissions when they
 are needed and explain the value to the user. You can inspect the result.declinedPermissions to also
@@ -184,6 +184,21 @@
                 fromViewController:(UIViewController *)fromViewController
                            handler:(FBSDKLoginManagerRequestTokenHandler)handler;
/**
  Requests user's permission to reathorize application's data access, after it has expired due to inactivity.
 @param fromViewController the view controller to present from. If nil, the topmost view controller will be
 automatically determined as best as possible.
 @param handler the callback.
 Use this method when you need to reathorize your app's access to user data via Graph API, after such an access has expired.
 You should provide as much context to the user as possible as to why you need to reauthorize the access, the scope of
 access being reathorized, and what added value your app provides when the access is reathorized.
 You can inspect the result.declinedPermissions to also provide more information to the user if they decline permissions.
 This method will present UI the user. You typically should call this if `[FBSDKAccessToken isDataAccessExpired]` returns true.
 */
- (void)reauthorizeDataAccess:(UIViewController *)fromViewController
                            handler:(FBSDKLoginManagerRequestTokenHandler)handler;
/**
  Logs the user out
@@ -196,7 +211,7 @@
  Issues an asynchronous renewCredentialsForAccount call to the device's Facebook account store.
 - Parameter handler: The completion handler to call when the renewal is completed. This can be invoked on an arbitrary thread.
 @param handler The completion handler to call when the renewal is completed. This can be invoked on an arbitrary thread.
 This can be used to explicitly renew account credentials and is provided as a convenience wrapper around
frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h
@@ -25,6 +25,9 @@
 */
@interface FBSDKLoginManagerLoginResult : NSObject
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
/**
  the access token.
 */
@@ -51,10 +54,10 @@
/**
  Initializes a new instance.
 - Parameter token: the access token
 - Parameter isCancelled: whether the login was cancelled by the user
 - Parameter grantedPermissions: the set of granted permissions
 - Parameter declinedPermissions: the set of declined permissions
 @param token the access token
 @param isCancelled whether the login was cancelled by the user
 @param grantedPermissions the set of granted permissions
 @param declinedPermissions the set of declined permissions
 */
- (instancetype)initWithToken:(FBSDKAccessToken *)token
                  isCancelled:(BOOL)isCancelled
frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h
@@ -61,8 +61,8 @@
/**
  Asks the delegate if the tooltip view should appear
 - Parameter view: The tooltip view.
 - Parameter appIsEligible: The value fetched from the server identifying if the app
 @param view The tooltip view.
 @param appIsEligible The value fetched from the server identifying if the app
 is eligible for the new login experience.
@@ -74,7 +74,7 @@
  Tells the delegate the tooltip view will appear, specifically after it's been
 added to the super view but before the fade in animation.
 - Parameter view: The tooltip view.
 @param view The tooltip view.
 */
- (void)loginTooltipViewWillAppear:(FBSDKLoginTooltipView *)view;
@@ -82,7 +82,7 @@
  Tells the delegate the tooltip view will not appear (i.e., was not
 added to the super view).
 - Parameter view: The tooltip view.
 @param view The tooltip view.
 */
- (void)loginTooltipViewWillNotAppear:(FBSDKLoginTooltipView *)view;
frameworks/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h
@@ -81,18 +81,18 @@
/**
  Designated initializer.
 - Parameter tagline: First part of the label, that will be highlighted with different color. Can be nil.
 @param tagline First part of the label, that will be highlighted with different color. Can be nil.
 - Parameter message: Main message to display.
 @param message Main message to display.
 - Parameter colorStyle: Color style to use for tooltip.
 @param colorStyle Color style to use for tooltip.
 If you need to show a tooltip for login, consider using the `FBSDKLoginTooltipView` view.
- See:FBSDKLoginTooltipView
 @see FBSDKLoginTooltipView
 */
- (instancetype)initWithTagline:(NSString *)tagline message:(NSString *)message colorStyle:(FBSDKTooltipColorStyle)colorStyle;
@@ -100,7 +100,7 @@
  Show tooltip at the top or at the bottom of given view.
 Tooltip will be added to anchorView.window.rootViewController.view
 - Parameter anchorView: view to show at, must be already added to window view hierarchy, in order to decide
 @param anchorView view to show at, must be already added to window view hierarchy, in order to decide
 where tooltip will be shown. (If there's not enough space at the top of the anchorView in window bounds -
 tooltip will be shown at the bottom of it)
@@ -115,11 +115,11 @@
/**
  Adds tooltip to given view, with given position and arrow direction.
 - Parameter view: View to be used as superview.
 @param view View to be used as superview.
 - Parameter arrowPosition: Point in view's cordinates, where arrow will be pointing
 @param arrowPosition Point in view's cordinates, where arrow will be pointing
 - Parameter arrowDirection: whenever arrow should be pointing up (message bubble is below the arrow) or
 @param arrowDirection whenever arrow should be pointing up (message bubble is below the arrow) or
 down (message bubble is above the arrow).
 */
- (void)presentInView:(UIView *)view withArrowPosition:(CGPoint)arrowPosition direction:(FBSDKTooltipViewArrowDirection)arrowDirection;
frameworks/FBSDKLoginKit.framework/Info.plist
Binary files differ
frameworks/FBSDKShareKit.framework/FBSDKShareKit
Binary files differ
frameworks/FBSDKShareKit.framework/Headers/FBSDKAppGroupAddDialog.h
@@ -24,73 +24,77 @@
/**
- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information.
@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information.
 */
__attribute__ ((deprecated))
DEPRECATED_MSG_ATTRIBUTE("App and game groups are being deprecated")
@interface FBSDKAppGroupAddDialog : NSObject
/**
- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information.
@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information.
 */
+ (instancetype)showWithContent:(FBSDKAppGroupContent *)content
                       delegate:(id<FBSDKAppGroupAddDialogDelegate>)delegate __attribute__ ((deprecated));
                       delegate:(id<FBSDKAppGroupAddDialogDelegate>)delegate
DEPRECATED_ATTRIBUTE;
/**
- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information.
@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information.
 */
@property (nonatomic, weak) id<FBSDKAppGroupAddDialogDelegate> delegate __attribute__ ((deprecated));
@property (nonatomic, weak) id<FBSDKAppGroupAddDialogDelegate> delegate
DEPRECATED_ATTRIBUTE;
/**
- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information.
@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information.
 */
@property (nonatomic, copy) FBSDKAppGroupContent *content __attribute__ ((deprecated));
@property (nonatomic, copy) FBSDKAppGroupContent *content
DEPRECATED_ATTRIBUTE;
/**
- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information.
@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information.
 */
- (BOOL)canShow __attribute__ ((deprecated));
- (BOOL)canShow DEPRECATED_ATTRIBUTE;
/**
- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information.
@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information.
 */
- (BOOL)show __attribute__ ((deprecated));
- (BOOL)show DEPRECATED_ATTRIBUTE;
/**
- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information.
@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information.
 */
- (BOOL)validateWithError:(NSError *__autoreleasing *)errorRef __attribute__ ((deprecated));
- (BOOL)validateWithError:(NSError *__autoreleasing *)errorRef
DEPRECATED_ATTRIBUTE;
@end
/**
- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information.
@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information.
 */
__attribute__ ((deprecated))
DEPRECATED_MSG_ATTRIBUTE("App and game groups are being deprecated")
@protocol FBSDKAppGroupAddDialogDelegate <NSObject>
/**
- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information.
@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information.
 */
- (void)appGroupAddDialog:(FBSDKAppGroupAddDialog *)appGroupAddDialog didCompleteWithResults:(NSDictionary *)results __attribute__ ((deprecated));
- (void)appGroupAddDialog:(FBSDKAppGroupAddDialog *)appGroupAddDialog didCompleteWithResults:(NSDictionary *)results DEPRECATED_ATTRIBUTE;
/**
- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information.
@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information.
 */
- (void)appGroupAddDialog:(FBSDKAppGroupAddDialog *)appGroupAddDialog didFailWithError:(NSError *)error __attribute__ ((deprecated));
- (void)appGroupAddDialog:(FBSDKAppGroupAddDialog *)appGroupAddDialog didFailWithError:(NSError *)error DEPRECATED_ATTRIBUTE;
/**
- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information.
@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information.
 */
- (void)appGroupAddDialogDidCancel:(FBSDKAppGroupAddDialog *)appGroupAddDialog __attribute__ ((deprecated));
- (void)appGroupAddDialogDidCancel:(FBSDKAppGroupAddDialog *)appGroupAddDialog DEPRECATED_ATTRIBUTE;
@end
frameworks/FBSDKShareKit.framework/Headers/FBSDKAppGroupContent.h
@@ -19,7 +19,6 @@
#import <Foundation/Foundation.h>
#import <FBSDKCoreKit/FBSDKCopying.h>
#import <FBSDKCoreKit/FBSDKMacros.h>
/**
 NS_ENUM(NSUInteger, FBSDKAppGroupPrivacy)
@@ -36,7 +35,7 @@
/**
  Converts an FBSDKAppGroupPrivacy to an NSString.
 */
FBSDK_EXTERN NSString *NSStringFromFBSDKAppGroupPrivacy(FBSDKAppGroupPrivacy privacy);
FOUNDATION_EXPORT NSString *NSStringFromFBSDKAppGroupPrivacy(FBSDKAppGroupPrivacy privacy);
/**
  A model for creating an app group.
@@ -60,8 +59,8 @@
/**
  Compares the receiver to another app group content.
 - Parameter content: The other content
 - Returns: YES if the receiver's values are equal to the other content's values; otherwise NO
 @param content The other content
 @return YES if the receiver's values are equal to the other content's values; otherwise NO
 */
- (BOOL)isEqualToAppGroupContent:(FBSDKAppGroupContent *)content;
frameworks/FBSDKShareKit.framework/Headers/FBSDKAppGroupJoinDialog.h
@@ -22,71 +22,71 @@
/**
- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information.
@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information.
 */
__attribute__ ((deprecated))
DEPRECATED_MSG_ATTRIBUTE("App and game groups are being deprecated")
@interface FBSDKAppGroupJoinDialog : NSObject
/**
- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information.
@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information.
 */
+ (instancetype)showWithGroupID:(NSString *)groupID
                       delegate:(id<FBSDKAppGroupJoinDialogDelegate>)delegate __attribute__ ((deprecated));
                       delegate:(id<FBSDKAppGroupJoinDialogDelegate>)delegate DEPRECATED_ATTRIBUTE;
/**
- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. */
@property (nonatomic, weak) id<FBSDKAppGroupJoinDialogDelegate> delegate __attribute__ ((deprecated));
@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. */
@property (nonatomic, weak) id<FBSDKAppGroupJoinDialogDelegate> delegate DEPRECATED_ATTRIBUTE;
/**
- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. */
@property (nonatomic, copy) NSString *groupID __attribute__ ((deprecated));
@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. */
@property (nonatomic, copy) NSString *groupID DEPRECATED_ATTRIBUTE;
/**
- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information.
@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information.
 */
- (BOOL)canShow __attribute__ ((deprecated));
- (BOOL)canShow DEPRECATED_ATTRIBUTE;
/**
- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information.
@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information.
 */
- (BOOL)show __attribute__ ((deprecated));
- (BOOL)show DEPRECATED_ATTRIBUTE;
/**
- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information.
@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information.
 */
- (BOOL)validateWithError:(NSError *__autoreleasing *)errorRef __attribute__ ((deprecated));
- (BOOL)validateWithError:(NSError *__autoreleasing *)errorRef DEPRECATED_ATTRIBUTE;
@end
/**
- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information.
@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information.
 */
__attribute__ ((deprecated))
DEPRECATED_MSG_ATTRIBUTE("App and game groups are being deprecated")
@protocol FBSDKAppGroupJoinDialogDelegate <NSObject>
/**
- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information.
@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information.
 */
- (void)appGroupJoinDialog:(FBSDKAppGroupJoinDialog *)appGroupJoinDialog didCompleteWithResults:(NSDictionary *)results __attribute__ ((deprecated));
- (void)appGroupJoinDialog:(FBSDKAppGroupJoinDialog *)appGroupJoinDialog didCompleteWithResults:(NSDictionary *)results DEPRECATED_ATTRIBUTE;
/**
- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information.
@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information.
 */
- (void)appGroupJoinDialog:(FBSDKAppGroupJoinDialog *)appGroupJoinDialog didFailWithError:(NSError *)error __attribute__ ((deprecated));
- (void)appGroupJoinDialog:(FBSDKAppGroupJoinDialog *)appGroupJoinDialog didFailWithError:(NSError *)error DEPRECATED_ATTRIBUTE;
/**
- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information.
@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information.
 */
- (void)appGroupJoinDialogDidCancel:(FBSDKAppGroupJoinDialog *)appGroupJoinDialog __attribute__ ((deprecated));
- (void)appGroupJoinDialogDidCancel:(FBSDKAppGroupJoinDialog *)appGroupJoinDialog DEPRECATED_ATTRIBUTE;
@end
frameworks/FBSDKShareKit.framework/Headers/FBSDKAppInviteContent.h
@@ -19,6 +19,7 @@
#import <Foundation/Foundation.h>
#import <FBSDKCoreKit/FBSDKCopying.h>
#import <FBSDKShareKit/FBSDKSharingValidation.h>
/**
 NS_ENUM(NSUInteger, FBSDKAppInviteDestination)
@@ -35,7 +36,7 @@
/**
  A model for app invite.
 */
@interface FBSDKAppInviteContent : NSObject <FBSDKCopying, NSSecureCoding>
@interface FBSDKAppInviteContent : NSObject <FBSDKCopying, FBSDKSharingValidation, NSSecureCoding>
/**
  A URL to a preview image that will be displayed with the app invite
@@ -55,9 +56,10 @@
/**
- Warning:Use `appInvitePreviewImageURL` instead.
@warning Use `appInvitePreviewImageURL` instead.
 */
@property (nonatomic, copy) NSURL *previewImageURL __attribute__ ((deprecated("use appInvitePreviewImageURL instead")));
@property (nonatomic, copy) NSURL *previewImageURL
DEPRECATED_MSG_ATTRIBUTE("use appInvitePreviewImageURL instead");
/**
  Promotional code to be displayed while sending and receiving the invite.
@@ -87,8 +89,8 @@
/**
  Compares the receiver to another app invite content.
 - Parameter content: The other content
 - Returns: YES if the receiver's values are equal to the other content's values; otherwise NO
 @param content The other content
 @return YES if the receiver's values are equal to the other content's values; otherwise NO
 */
- (BOOL)isEqualToAppInviteContent:(FBSDKAppInviteContent *)content;
frameworks/FBSDKShareKit.framework/Headers/FBSDKAppInviteDialog.h
@@ -30,23 +30,23 @@
/**
 Convenience method to show a FBSDKAppInviteDialog
 - Parameter viewController: A UIViewController to present the dialog from.
 - Parameter content: The content for the app invite.
 - Parameter delegate: The receiver's delegate.
 - Warning: This method is deprecated.
 @param viewController A UIViewController to present the dialog from.
 @param content The content for the app invite.
 @param delegate The receiver's delegate.
 @warning This method is deprecated.
 */
+ (instancetype)showFromViewController:(UIViewController *)viewController
                           withContent:(FBSDKAppInviteContent *)content
                              delegate:(id<FBSDKAppInviteDialogDelegate>)delegate
__attribute__ ((deprecated("App Invites no longer supported")));
DEPRECATED_MSG_ATTRIBUTE("App Invites no longer supported");
/**
 - Warning:use showFromViewController:withContent:delegate: instead
 @warning use showFromViewController:withContent:delegate: instead
 */
+ (instancetype)showWithContent:(FBSDKAppInviteContent *)content delegate:(id<FBSDKAppInviteDialogDelegate>)delegate
__attribute__ ((deprecated("use showFromViewController:withContent:delegate: instead")));
DEPRECATED_MSG_ATTRIBUTE("use showFromViewController:withContent:delegate: instead");
/**
 A UIViewController to present the dialog from.
@@ -72,21 +72,21 @@
 required but not available.  This method does not validate the content on the receiver, so this can be checked before
 building up the content.
 - See:validateWithError:
 - Returns: YES if the receiver can show the dialog, otherwise NO.
 @see validateWithError:
 @return YES if the receiver can show the dialog, otherwise NO.
 */
- (BOOL)canShow;
@property (nonatomic, readonly) BOOL canShow;
/**
 Begins the app invite from the receiver.
 - Returns: YES if the receiver was able to show the dialog, otherwise NO.
 @return YES if the receiver was able to show the dialog, otherwise NO.
 */
- (BOOL)show;
/**
 Validates the content on the receiver.
 - Parameter errorRef: If an error occurs, upon return contains an NSError object that describes the problem.
 - Returns: YES if the content is valid, otherwise NO.
 @param errorRef If an error occurs, upon return contains an NSError object that describes the problem.
 @return YES if the content is valid, otherwise NO.
 */
- (BOOL)validateWithError:(NSError *__autoreleasing *)errorRef;
@@ -103,15 +103,15 @@
/**
 Sent to the delegate when the app invite completes without error.
 - Parameter appInviteDialog: The FBSDKAppInviteDialog that completed.
 - Parameter results: The results from the dialog.  This may be nil or empty.
 @param appInviteDialog The FBSDKAppInviteDialog that completed.
 @param results The results from the dialog.  This may be nil or empty.
 */
- (void)appInviteDialog:(FBSDKAppInviteDialog *)appInviteDialog didCompleteWithResults:(NSDictionary *)results;
/**
 Sent to the delegate when the app invite encounters an error.
 - Parameter appInviteDialog: The FBSDKAppInviteDialog that completed.
 - Parameter error: The error.
 @param appInviteDialog The FBSDKAppInviteDialog that completed.
 @param error The error.
 */
- (void)appInviteDialog:(FBSDKAppInviteDialog *)appInviteDialog didFailWithError:(NSError *)error;
frameworks/FBSDKShareKit.framework/Headers/FBSDKCameraEffectArguments.h
@@ -28,29 +28,29 @@
/**
 Sets a string argument in the container.
 - Parameter string: The argument
 - Parameter key: The key for the argument
 @param string The argument
 @param key The key for the argument
 */
- (void)setString:(NSString *)string forKey:(NSString *)key;
/**
 Gets a string argument from the container.
 - Parameter key: The key for the argument
 - Returns: The string value or nil
 @param key The key for the argument
 @return The string value or nil
 */
- (NSString *)stringForKey:(NSString *)key;
/**
 Sets a string array argument in the container.
 - Parameter array: The array argument
 - Parameter key: The key for the argument
 @param array The array argument
 @param key The key for the argument
 */
- (void)setArray:(NSArray<NSString *> *)array forKey:(NSString *)key;
/**
 Gets an array argument from the container.
 - Parameter key: The key for the argument
 - Returns: The array argument
 @param key The key for the argument
 @return The array argument
 */
- (NSArray *)arrayForKey:(NSString *)key;
frameworks/FBSDKShareKit.framework/Headers/FBSDKCameraEffectTextures.h
@@ -28,15 +28,15 @@
/**
 Sets the image for a texture key.
 - Parameter image: The UIImage for the texture
 - Parameter name: The key for the texture
 @param image The UIImage for the texture
 @param key The key for the texture
 */
- (void)setImage:(UIImage *)image forKey:(NSString *)key;
/**
 Gets the image for a texture key.
 - Parameter name: The key for the texture
 - Returns: The texture UIImage or nil
 @param key The key for the texture
 @return The texture UIImage or nil
 */
- (UIImage *)imageForKey:(NSString *)key;
frameworks/FBSDKShareKit.framework/Headers/FBSDKGameRequestContent.h
@@ -19,6 +19,7 @@
#import <Foundation/Foundation.h>
#import <FBSDKCoreKit/FBSDKCopying.h>
#import <FBSDKShareKit/FBSDKSharingValidation.h>
/**
 NS_ENUM(NSUInteger, FBSDKGameRequestActionType)
@@ -53,7 +54,7 @@
/**
  A model for a game request.
 */
@interface FBSDKGameRequestContent : NSObject <FBSDKCopying, NSSecureCoding>
@interface FBSDKGameRequestContent : NSObject <FBSDKCopying, FBSDKSharingValidation, NSSecureCoding>
/**
  Used when defining additional context about the nature of the request.
@@ -67,8 +68,8 @@
/**
  Compares the receiver to another game request content.
 - Parameter content: The other content
 - Returns: YES if the receiver's values are equal to the other content's values; otherwise NO
 @param content The other content
 @return YES if the receiver's values are equal to the other content's values; otherwise NO
 */
- (BOOL)isEqualToGameRequestContent:(FBSDKGameRequestContent *)content;
@@ -121,9 +122,10 @@
/**
- Warning:Use `recipientSuggestions` instead.
@warning Use `recipientSuggestions` instead.
*/
@property (nonatomic, copy) NSArray *suggestions __attribute__ ((deprecated("use recipientSuggestions instead")));
@property (nonatomic, copy) NSArray *suggestions
DEPRECATED_MSG_ATTRIBUTE("use recipientSuggestions instead");
/**
  The title for the dialog.
@@ -132,8 +134,9 @@
/**
- Warning:Use `recipients` instead.
@warning Use `recipients` instead.
 */
@property (nonatomic, copy) NSArray *to __attribute__ ((deprecated("use recipients instead")));
@property (nonatomic, copy) NSArray *to
DEPRECATED_MSG_ATTRIBUTE("use recipients instead");
@end
frameworks/FBSDKShareKit.framework/Headers/FBSDKGameRequestDialog.h
@@ -29,8 +29,8 @@
/**
  Convenience method to build up a game request with content and a delegate.
 - Parameter content: The content for the game request.
 - Parameter delegate: The receiver's delegate.
 @param content The content for the game request.
 @param delegate The receiver's delegate.
 */
+ (instancetype)showWithContent:(FBSDKGameRequestContent *)content delegate:(id<FBSDKGameRequestDialogDelegate>)delegate;
@@ -56,21 +56,21 @@
 required but not available.  This method does not validate the content on the receiver, so this can be checked before
 building up the content.
- See:validateWithError:
 - Returns: YES if the receiver can share, otherwise NO.
 @see validateWithError:
 @return YES if the receiver can share, otherwise NO.
 */
- (BOOL)canShow;
@property (nonatomic, readonly) BOOL canShow;
/**
  Begins the game request from the receiver.
 - Returns: YES if the receiver was able to show the dialog, otherwise NO.
 @return YES if the receiver was able to show the dialog, otherwise NO.
 */
- (BOOL)show;
/**
  Validates the content on the receiver.
 - Parameter errorRef: If an error occurs, upon return contains an NSError object that describes the problem.
 - Returns: YES if the content is valid, otherwise NO.
 @param errorRef If an error occurs, upon return contains an NSError object that describes the problem.
 @return YES if the content is valid, otherwise NO.
 */
- (BOOL)validateWithError:(NSError *__autoreleasing *)errorRef;
@@ -87,21 +87,21 @@
/**
  Sent to the delegate when the game request completes without error.
 - Parameter gameRequestDialog: The FBSDKGameRequestDialog that completed.
 - Parameter results: The results from the dialog.  This may be nil or empty.
 @param gameRequestDialog The FBSDKGameRequestDialog that completed.
 @param results The results from the dialog.  This may be nil or empty.
 */
- (void)gameRequestDialog:(FBSDKGameRequestDialog *)gameRequestDialog didCompleteWithResults:(NSDictionary *)results;
/**
  Sent to the delegate when the game request encounters an error.
 - Parameter gameRequestDialog: The FBSDKGameRequestDialog that completed.
 - Parameter error: The error.
 @param gameRequestDialog The FBSDKGameRequestDialog that completed.
 @param error The error.
 */
- (void)gameRequestDialog:(FBSDKGameRequestDialog *)gameRequestDialog didFailWithError:(NSError *)error;
/**
  Sent to the delegate when the game request dialog is cancelled.
 - Parameter gameRequestDialog: The FBSDKGameRequestDialog that completed.
 @param gameRequestDialog The FBSDKGameRequestDialog that completed.
 */
- (void)gameRequestDialogDidCancel:(FBSDKGameRequestDialog *)gameRequestDialog;
frameworks/FBSDKShareKit.framework/Headers/FBSDKHashtag.h
@@ -28,7 +28,7 @@
/**
  Convenience method to build a new hashtag with a string identifier. Equivalent to setting the
   `stringRepresentation` property.
 - Parameter hashtagString: The hashtag string.
 @param hashtagString The hashtag string.
 */
+ (instancetype)hashtagWithString:(NSString *)hashtagString;
@@ -38,23 +38,23 @@
 You are responsible for making sure that `stringRepresentation` is a valid hashtag (a single '#' followed
   by one or more word characters). Invalid hashtags are ignored when sharing content. You can check validity with the
   `valid` property.
 - Returns: The hashtag string.
 @return The hashtag string.
 */
@property (nonatomic, readwrite, copy) NSString *stringRepresentation;
@property (nonatomic, copy) NSString *stringRepresentation;
/**
  Tests if a hashtag is valid.
 A valid hashtag matches the regular expression "#\w+": A single '#' followed by one or more
   word characters.
 - Returns: YES if the hashtag is valid, NO otherwise.
 @return YES if the hashtag is valid, NO otherwise.
 */
@property (nonatomic, readonly, assign, getter=isValid) BOOL valid;
/**
  Compares the receiver to another hashtag.
 - Parameter hashtag: The other hashtag
 - Returns: YES if the receiver is equal to the other hashtag; otherwise NO
 @param hashtag The other hashtag
 @return YES if the receiver is equal to the other hashtag; otherwise NO
 */
- (BOOL)isEqualToHashtag:(FBSDKHashtag *)hashtag;
frameworks/FBSDKShareKit.framework/Headers/FBSDKLikeButton.h
@@ -32,7 +32,7 @@
 currentAccessToken has "publish_actions" permission and the object is an Open Graph object, then the like can happen
 seamlessly without the fast-app-switch.
 */
__attribute__ ((deprecated))
DEPRECATED_MSG_ATTRIBUTE("This is no longer available")
@interface FBSDKLikeButton : FBSDKButton <FBSDKLiking>
/**
frameworks/FBSDKShareKit.framework/Headers/FBSDKLikeControl.h
@@ -18,8 +18,6 @@
#import <UIKit/UIKit.h>
#import <FBSDKCoreKit/FBSDKMacros.h>
#import <FBSDKShareKit/FBSDKLikeObjectType.h>
#import <FBSDKShareKit/FBSDKLiking.h>
@@ -41,7 +39,7 @@
/**
  Converts an FBSDKLikeControlAuxiliaryPosition to an NSString.
 */
FBSDK_EXTERN NSString *NSStringFromFBSDKLikeControlAuxiliaryPosition(FBSDKLikeControlAuxiliaryPosition auxiliaryPosition);
FOUNDATION_EXPORT NSString *NSStringFromFBSDKLikeControlAuxiliaryPosition(FBSDKLikeControlAuxiliaryPosition auxiliaryPosition);
/**
 NS_ENUM(NSUInteger, FBSDKLikeControlHorizontalAlignment)
@@ -62,7 +60,7 @@
/**
  Converts an FBSDKLikeControlHorizontalAlignment to an NSString.
 */
FBSDK_EXTERN NSString *NSStringFromFBSDKLikeControlHorizontalAlignment(FBSDKLikeControlHorizontalAlignment horizontalAlignment);
FOUNDATION_EXPORT NSString *NSStringFromFBSDKLikeControlHorizontalAlignment(FBSDKLikeControlHorizontalAlignment horizontalAlignment);
/**
 NS_ENUM (NSUInteger, FBSDKLikeControlStyle)
@@ -80,7 +78,7 @@
/**
  Converts an FBSDKLikeControlStyle to an NSString.
 */
FBSDK_EXTERN NSString *NSStringFromFBSDKLikeControlStyle(FBSDKLikeControlStyle style);
FOUNDATION_EXPORT NSString *NSStringFromFBSDKLikeControlStyle(FBSDKLikeControlStyle style);
/**
  Warning: This class is deprecated.
@@ -91,7 +89,7 @@
 fast-app-switch that allows the user to like the object.  Upon return to the calling app, the view will update
 with the new state and send actions for the UIControlEventValueChanged event.
 */
__attribute__ ((deprecated))
DEPRECATED_MSG_ATTRIBUTE("This is no longer available")
@interface FBSDKLikeControl : UIControl <FBSDKLiking>
/**
@@ -103,7 +101,7 @@
  The position for the auxiliary view for the receiver.
- See:FBSDKLikeControlAuxiliaryPosition
 @see FBSDKLikeControlAuxiliaryPosition
 */
@property (nonatomic, assign) FBSDKLikeControlAuxiliaryPosition likeControlAuxiliaryPosition;
@@ -120,7 +118,7 @@
  The style to use for the receiver.
- See:FBSDKLikeControlStyle
 @see FBSDKLikeControlStyle
 */
@property (nonatomic, assign) FBSDKLikeControlStyle likeControlStyle;
frameworks/FBSDKShareKit.framework/Headers/FBSDKLikeObjectType.h
@@ -18,8 +18,6 @@
#import <Foundation/Foundation.h>
#import <FBSDKCoreKit/FBSDKMacros.h>
/**
 NS_ENUM (NSUInteger, FBSDKLikeObjectType)
  Specifies the type of object referenced by the objectID for likes.
@@ -37,4 +35,4 @@
/**
  Converts an FBLikeControlObjectType to an NSString.
 */
FBSDK_EXTERN NSString *NSStringFromFBSDKLikeObjectType(FBSDKLikeObjectType objectType);
FOUNDATION_EXPORT NSString *NSStringFromFBSDKLikeObjectType(FBSDKLikeObjectType objectType);
frameworks/FBSDKShareKit.framework/Headers/FBSDKLiking.h
@@ -21,9 +21,9 @@
/**
  The common interface for components that initiate liking.
- See:FBSDKLikeButton
 @see FBSDKLikeButton
- See:FBSDKLikeControl
 @see FBSDKLikeControl
 */
@protocol FBSDKLiking <NSObject>
frameworks/FBSDKShareKit.framework/Headers/FBSDKMessageDialog.h
@@ -21,14 +21,26 @@
#import <FBSDKShareKit/FBSDKSharing.h>
/**
  A dialog for sharing content through Messenger.
 A dialog for sharing content through Messenger.
 SUPPORTED SHARE TYPES
 - FBSDKShareLinkContent
 - FBSDKShareMessengerOpenGraphMusicTemplateContent
 - FBSDKShareMessengerMediaTemplateContent
 - FBSDKShareMessengerGenericTemplateContent
 UNSUPPORTED SHARE TYPES (DEPRECATED AUGUST 2018)
 - FBSDKShareOpenGraphContent
 - FBSDKSharePhotoContent
 - FBSDKShareVideoContent
 - Any other types that are not one of the four supported types listed above
 */
@interface FBSDKMessageDialog : NSObject <FBSDKSharingDialog>
/**
  Convenience method to show a Message Share Dialog with content and a delegate.
 - Parameter content: The content to be shared.
 - Parameter delegate: The receiver's delegate.
 Convenience method to show a Message Share Dialog with content and a delegate.
 @param content The content to be shared.
 @param delegate The receiver's delegate.
 */
+ (instancetype)showWithContent:(id<FBSDKSharingContent>)content delegate:(id<FBSDKSharingDelegate>)delegate;
frameworks/FBSDKShareKit.framework/Headers/FBSDKShareAPI.h
@@ -27,16 +27,16 @@
  A utility class for sharing through the graph API.  Using this class requires an access token that
 has been granted the "publish_actions" permission.
 FBSDKShareAPI network requests are scheduled on the current run loop in the default run loop mode
 (like NSURLConnection). If you want to use FBSDKShareAPI in a background thread, you must manage the run loop
 FBSDKShareAPI network requests are scheduled on the current run loop in the default run loop mode.
 If you want to use FBSDKShareAPI in a background thread, you must manage the run loop
 yourself.
 */
@interface FBSDKShareAPI : NSObject <FBSDKSharing>
/**
  Convenience method to build up a share API with content and a delegate.
 - Parameter content: The content to be shared.
 - Parameter delegate: The receiver's delegate.
 @param content The content to be shared.
 @param delegate The receiver's delegate.
 */
+ (instancetype)shareWithContent:(id<FBSDKSharingContent>)content delegate:(id<FBSDKSharingDelegate>)delegate;
@@ -66,14 +66,14 @@
 required but not available.  This method does not validate the content on the receiver, so this can be checked before
 building up the content.
- See:[FBSDKSharing validateWithError:]
 - Returns: YES if the receiver can send, otherwise NO.
 @see [FBSDKSharing validateWithError:]
 @return YES if the receiver can send, otherwise NO.
 */
- (BOOL)canShare;
@property (nonatomic, readonly) BOOL canShare;
/**
  Creates an User Owned Open Graph object without an action.
 - Parameter openGraphObject: The open graph object to create.
 @param openGraphObject The open graph object to create.
 Use this method to create an object alone, when an action is not going to be posted with the object.  If
 the object will be used within an action, just put the object in the action and share that as the shareContent and the
@@ -81,13 +81,13 @@
 Also see https://developers.facebook.com/docs/sharing/opengraph/object-api#objectapi-creatinguser
 - Returns: YES if the receiver was able to send the request to create the object, otherwise NO.
 @return YES if the receiver was able to send the request to create the object, otherwise NO.
 */
- (BOOL)createOpenGraphObject:(FBSDKShareOpenGraphObject *)openGraphObject;
/**
  Begins the send from the receiver.
 - Returns: YES if the receiver was able to send the share, otherwise NO.
 @return YES if the receiver was able to send the share, otherwise NO.
 */
- (BOOL)share;
frameworks/FBSDKShareKit.framework/Headers/FBSDKShareCameraEffectContent.h
@@ -21,11 +21,12 @@
#import <FBSDKShareKit/FBSDKCameraEffectArguments.h>
#import <FBSDKShareKit/FBSDKCameraEffectTextures.h>
#import <FBSDKShareKit/FBSDKSharingContent.h>
#import <FBSDKShareKit/FBSDKSharingScheme.h>
/**
 A model for content to share with a Facebook camera effect.
 */
@interface FBSDKShareCameraEffectContent : NSObject <FBSDKSharingContent>
@interface FBSDKShareCameraEffectContent : NSObject <FBSDKSharingContent, FBSDKSharingScheme>
/**
 ID of the camera effect to use.
@@ -44,8 +45,8 @@
/**
 Compares the receiver to another camera effect content.
 - Parameter content: The other content
 - Returns: YES if the receiver's values are equal to the other content's values; otherwise NO
 @param content The other content
 @return YES if the receiver's values are equal to the other content's values; otherwise NO
 */
- (BOOL)isEqualToShareCameraEffectContent:(FBSDKShareCameraEffectContent *)content;
frameworks/FBSDKShareKit.framework/Headers/FBSDKShareConstants.h
@@ -18,40 +18,68 @@
#import <Foundation/Foundation.h>
#import <FBSDKCoreKit/FBSDKMacros.h>
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0
/**
  The error domain for all errors from FBSDKShareKit.
 The error domain for all errors from FBSDKShareKit.
 Error codes from the SDK in the range 200-299 are reserved for this domain.
 */
FBSDK_EXTERN NSString *const FBSDKShareErrorDomain;
FOUNDATION_EXPORT NSErrorDomain const FBSDKShareErrorDomain;
#else
/**
 NS_ENUM(NSInteger, FBSDKShareErrorCode)
  Error codes for FBSDKShareErrorDomain.
 The error domain for all errors from FBSDKShareKit.
 Error codes from the SDK in the range 200-299 are reserved for this domain.
 */
typedef NS_ENUM(NSInteger, FBSDKShareErrorCode)
FOUNDATION_EXPORT NSString *const FBSDKShareErrorDomain;
#endif
#ifndef NS_ERROR_ENUM
#define NS_ERROR_ENUM(_domain, _name) \
enum _name: NSInteger _name; \
enum __attribute__((ns_error_domain(_domain))) _name: NSInteger
#endif
/**
 FBSDKShareError
 Error codes for FBSDKShareErrorDomain.
 */
typedef NS_ERROR_ENUM(FBSDKShareErrorDomain, FBSDKShareError)
{
  /**
    Reserved.
   Reserved.
   */
  FBSDKShareReservedErrorCode = 200,
  FBSDKShareErrorReserved = 200,
  /**
    The error code for errors from uploading open graph objects.
   The error code for errors from uploading open graph objects.
   */
  FBSDKShareOpenGraphErrorCode,
  FBSDKShareErrorOpenGraph,
  /**
    The error code for when a sharing dialog is not available.
   The error code for when a sharing dialog is not available.
 Use the canShare methods to check for this case before calling show.
   Use the canShare methods to check for this case before calling show.
   */
  FBSDKShareDialogNotAvailableErrorCode,
  FBSDKShareErrorDialogNotAvailable,
  /**
   @The error code for unknown errors.
   */
  FBSDKShareUnknownErrorCode,
  FBSDKShareErrorUnknown,
};
/**
 Deprecated
 */
typedef NS_ENUM(NSInteger, FBSDKShareErrorCode)
{
  FBSDKShareReservedErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKShareErrorReserved instead") = 200,
  FBSDKShareOpenGraphErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKShareErrorOpenGraph instead"),
  FBSDKShareDialogNotAvailableErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKShareErrorDialogNotAvailable instead"),
  FBSDKShareUnknownErrorCode DEPRECATED_MSG_ATTRIBUTE("use FBSDKShareErrorUnknown instead"),
} DEPRECATED_MSG_ATTRIBUTE("use FBSDKShareError instead");
frameworks/FBSDKShareKit.framework/Headers/FBSDKShareDialog.h
@@ -29,9 +29,9 @@
/**
  Convenience method to show an FBSDKShareDialog with a fromViewController, content and a delegate.
 - Parameter viewController: A UIViewController to present the dialog from, if appropriate.
 - Parameter content: The content to be shared.
 - Parameter delegate: The receiver's delegate.
 @param viewController A UIViewController to present the dialog from, if appropriate.
 @param content The content to be shared.
 @param delegate The receiver's delegate.
 */
+ (instancetype)showFromViewController:(UIViewController *)viewController
                           withContent:(id<FBSDKSharingContent>)content
frameworks/FBSDKShareKit.framework/Headers/FBSDKShareDialogMode.h
@@ -18,8 +18,6 @@
#import <Foundation/Foundation.h>
#import <FBSDKCoreKit/FBSDKMacros.h>
/**
 NS_ENUM(NSUInteger, FBSDKShareDialogMode)
  Modes for the FBSDKShareDialog.
@@ -60,6 +58,6 @@
};
/**
  Converts an FBLikeControlObjectType to an NSString.
  Converts an FBSDKShareDialogMode to an NSString.
 */
FBSDK_EXTERN NSString *NSStringFromFBSDKShareDialogMode(FBSDKShareDialogMode dialogMode);
FOUNDATION_EXPORT NSString *NSStringFromFBSDKShareDialogMode(FBSDKShareDialogMode dialogMode);
frameworks/FBSDKShareKit.framework/Headers/FBSDKShareLinkContent.h
@@ -30,7 +30,7 @@
 If not specified, this field is automatically populated by information scraped from the contentURL,
 typically the title of the page.  This value may be discarded for specially handled links (ex: iTunes URLs).
 - Returns: The description of the link
 @return The description of the link
 @deprecated `contentDescription` is deprecated from Graph API 2.9.
 For more information, see https://developers.facebook.com/docs/apps/changelog#v2_9_deprecations.
@@ -42,7 +42,7 @@
  The title to display for this link.
 This value may be discarded for specially handled links (ex: iTunes URLs).
 - Returns: The link title
 @return The link title
 @deprecated `contentTitle` is deprecated from Graph API 2.9.
 For more information, see https://developers.facebook.com/docs/apps/changelog#v2_9_deprecations
@@ -52,7 +52,7 @@
/**
  The URL of a picture to attach to this content.
 - Returns: The network URL of an image
 @return The network URL of an image
 @deprecated `imageURL` is deprecated from Graph API 2.9.
 For more information, see https://developers.facebook.com/docs/apps/changelog#v2_9_deprecations
@@ -64,14 +64,14 @@
  Some quote text of the link.
 If specified, the quote text will render with custom styling on top of the link.
 - Returns: The quote text of a link
 @return The quote text of a link
 */
@property (nonatomic, copy) NSString *quote;
/**
  Compares the receiver to another link content.
 - Parameter content: The other content
 - Returns: YES if the receiver's values are equal to the other content's values; otherwise NO
 @param content The other content
 @return YES if the receiver's values are equal to the other content's values; otherwise NO
 */
- (BOOL)isEqualToShareLinkContent:(FBSDKShareLinkContent *)content;
frameworks/FBSDKShareKit.framework/Headers/FBSDKShareMediaContent.h
@@ -27,14 +27,14 @@
/**
  Media to be shared.
 - Returns: Array of the media (FBSDKSharePhoto or FBSDKShareVideo)
 @return Array of the media (FBSDKSharePhoto or FBSDKShareVideo)
 */
@property (nonatomic, copy) NSArray *media;
/**
  Compares the receiver to another media content.
 - Parameter content: The other content
 - Returns: YES if the receiver's values are equal to the other content's values; otherwise NO
 @param content The other content
 @return YES if the receiver's values are equal to the other content's values; otherwise NO
 */
- (BOOL)isEqualToShareMediaContent:(FBSDKShareMediaContent *)content;
frameworks/FBSDKShareKit.framework/Headers/FBSDKShareMessengerActionButton.h
@@ -27,7 +27,7 @@
/**
 The title displayed to the user for the button.
 - Returns: The title for the button.
 @return The title for the button.
 */
@property (nonatomic, copy) NSString *title;
frameworks/FBSDKShareKit.framework/Headers/FBSDKShareOpenGraphAction.h
@@ -32,38 +32,38 @@
/**
  Convenience method to build a new action and set the object for the specified key.
 - Parameter actionType: The action type of the receiver
 - Parameter object: The Open Graph object represented by this action
 - Parameter key: The key for the object
 @param actionType The action type of the receiver
 @param object The Open Graph object represented by this action
 @param key The key for the object
 */
+ (instancetype)actionWithType:(NSString *)actionType object:(FBSDKShareOpenGraphObject *)object key:(NSString *)key;
/**
  Convenience method to build a new action and set the object for the specified key.
 - Parameter actionType: The action type of the receiver
 - Parameter objectID: The ID of an existing Open Graph object
 - Parameter key: The key for the object
 @param actionType The action type of the receiver
 @param objectID The ID of an existing Open Graph object
 @param key The key for the object
 */
+ (instancetype)actionWithType:(NSString *)actionType objectID:(NSString *)objectID key:(NSString *)key;
/**
  Convenience method to build a new action and set the object for the specified key.
 - Parameter actionType: The action type of the receiver
 - Parameter objectURL: The URL to a page that defines the Open Graph object with meta tags
 - Parameter key: The key for the object
 @param actionType The action type of the receiver
 @param objectURL The URL to a page that defines the Open Graph object with meta tags
 @param key The key for the object
 */
+ (instancetype)actionWithType:(NSString *)actionType objectURL:(NSURL *)objectURL key:(NSString *)key;
/**
  Gets the action type.
 - Returns: The action type
 @return The action type
 */
@property (nonatomic, copy) NSString *actionType;
/**
  Compares the receiver to another Open Graph Action.
 - Parameter action: The other action
 - Returns: YES if the receiver's values are equal to the other action's values; otherwise NO
 @param action The other action
 @return YES if the receiver's values are equal to the other action's values; otherwise NO
 */
- (BOOL)isEqualToShareOpenGraphAction:(FBSDKShareOpenGraphAction *)action;
frameworks/FBSDKShareKit.framework/Headers/FBSDKShareOpenGraphContent.h
@@ -28,7 +28,7 @@
/**
  Open Graph Action to be shared.
 - Returns: The action
 @return The action
 */
@property (nonatomic, copy) FBSDKShareOpenGraphAction *action;
@@ -36,14 +36,14 @@
  Property name that points to the primary Open Graph Object in the action.
 The value that this action points to will be use for rendering the preview for the share.
 - Returns: The property name for the Open Graph Object in the action
 @return The property name for the Open Graph Object in the action
 */
@property (nonatomic, copy) NSString *previewPropertyName;
/**
  Compares the receiver to another Open Graph content.
 - Parameter content: The other content
 - Returns: YES if the receiver's values are equal to the other content's values; otherwise NO
 @param content The other content
 @return YES if the receiver's values are equal to the other content's values; otherwise NO
 */
- (BOOL)isEqualToShareOpenGraphContent:(FBSDKShareOpenGraphContent *)content;
frameworks/FBSDKShareKit.framework/Headers/FBSDKShareOpenGraphObject.h
@@ -45,14 +45,14 @@
/**
  Convenience method to build a new action and set the object for the specified key.
 - Parameter properties: Properties for the Open Graph object, which will be parsed into the proper models
 @param properties Properties for the Open Graph object, which will be parsed into the proper models
 */
+ (instancetype)objectWithProperties:(NSDictionary *)properties;
/**
  Compares the receiver to another Open Graph Object.
 - Parameter object: The other object
 - Returns: YES if the receiver's values are equal to the other object's values; otherwise NO
 @param object The other object
 @return YES if the receiver's values are equal to the other object's values; otherwise NO
 */
- (BOOL)isEqualToShareOpenGraphObject:(FBSDKShareOpenGraphObject *)object;
frameworks/FBSDKShareKit.framework/Headers/FBSDKShareOpenGraphValueContainer.h
@@ -30,66 +30,66 @@
/**
  Gets an NSArray out of the receiver.
 - Parameter key: The key for the value
 - Returns: The NSArray value or nil
 @param key The key for the value
 @return The NSArray value or nil
 */
- (NSArray *)arrayForKey:(NSString *)key;
/**
  Applies a given block object to the entries of the receiver.
 - Parameter block: A block object to operate on entries in the receiver
 @param block A block object to operate on entries in the receiver
 */
- (void)enumerateKeysAndObjectsUsingBlock:(void (^)(NSString *key, id object, BOOL *stop))block;
/**
  Returns an enumerator object that lets you access each key in the receiver.
 - Returns: An enumerator object that lets you access each key in the receiver
 @return An enumerator object that lets you access each key in the receiver
 */
- (NSEnumerator *)keyEnumerator;
/**
  Gets an NSNumber out of the receiver.
 - Parameter key: The key for the value
 - Returns: The NSNumber value or nil
 @param key The key for the value
 @return The NSNumber value or nil
 */
- (NSNumber *)numberForKey:(NSString *)key;
/**
  Returns an enumerator object that lets you access each value in the receiver.
 - Returns: An enumerator object that lets you access each value in the receiver
 @return An enumerator object that lets you access each value in the receiver
 */
- (NSEnumerator *)objectEnumerator;
/**
  Gets an FBSDKShareOpenGraphObject out of the receiver.
 - Parameter key: The key for the value
 - Returns: The FBSDKShareOpenGraphObject value or nil
 @param key The key for the value
 @return The FBSDKShareOpenGraphObject value or nil
 */
- (FBSDKShareOpenGraphObject *)objectForKey:(NSString *)key;
/**
  Enables subscript access to the values in the receiver.
 - Parameter key: The key for the value
 - Returns: The value
 @param key The key for the value
 @return The value
 */
- (id)objectForKeyedSubscript:(NSString *)key;
/**
  Parses properties out of a dictionary into the receiver.
 - Parameter properties: The properties to parse.
 @param properties The properties to parse.
 */
- (void)parseProperties:(NSDictionary *)properties;
/**
  Gets an FBSDKSharePhoto out of the receiver.
 - Parameter key: The key for the value
 - Returns: The FBSDKSharePhoto value or nil
 @param key The key for the value
 @return The FBSDKSharePhoto value or nil
 */
- (FBSDKSharePhoto *)photoForKey:(NSString *)key;
/**
  Removes a value from the receiver for the specified key.
 - Parameter key: The key for the value
 @param key The key for the value
 */
- (void)removeObjectForKey:(NSString *)key;
@@ -98,57 +98,57 @@
 This method will throw if the array contains any values that is not an NSNumber, NSString, NSURL,
 FBSDKSharePhoto or FBSDKShareOpenGraphObject.
 - Parameter array: The NSArray value
 - Parameter key: The key for the value
 @param array The NSArray value
 @param key The key for the value
 */
- (void)setArray:(NSArray *)array forKey:(NSString *)key;
/**
  Sets an NSNumber on the receiver.
 - Parameter number: The NSNumber value
 - Parameter key: The key for the value
 @param number The NSNumber value
 @param key The key for the value
 */
- (void)setNumber:(NSNumber *)number forKey:(NSString *)key;
/**
  Sets an FBSDKShareOpenGraphObject on the receiver.
 - Parameter object: The FBSDKShareOpenGraphObject value
 - Parameter key: The key for the value
 @param object The FBSDKShareOpenGraphObject value
 @param key The key for the value
 */
- (void)setObject:(FBSDKShareOpenGraphObject *)object forKey:(NSString *)key;
/**
  Sets an FBSDKSharePhoto on the receiver.
 - Parameter photo: The FBSDKSharePhoto value
 - Parameter key: The key for the value
 @param photo The FBSDKSharePhoto value
 @param key The key for the value
 */
- (void)setPhoto:(FBSDKSharePhoto *)photo forKey:(NSString *)key;
/**
  Sets an NSString on the receiver.
 - Parameter string: The NSString value
 - Parameter key: The key for the value
 @param string The NSString value
 @param key The key for the value
 */
- (void)setString:(NSString *)string forKey:(NSString *)key;
/**
  Sets an NSURL on the receiver.
 - Parameter URL: The NSURL value
 - Parameter key: The key for the value
 @param URL The NSURL value
 @param key The key for the value
 */
- (void)setURL:(NSURL *)URL forKey:(NSString *)key;
/**
  Gets an NSString out of the receiver.
 - Parameter key: The key for the value
 - Returns: The NSString value or nil
 @param key The key for the value
 @return The NSString value or nil
 */
- (NSString *)stringForKey:(NSString *)key;
/**
  Gets an NSURL out of the receiver.
 - Parameter key: The key for the value
 - Returns: The NSURL value or nil
 @param key The key for the value
 @return The NSURL value or nil
 */
- (NSURL *)URLForKey:(NSString *)key;
frameworks/FBSDKShareKit.framework/Headers/FBSDKSharePhoto.h
@@ -19,24 +19,27 @@
#import <UIKit/UIKit.h>
#import <FBSDKCoreKit/FBSDKCopying.h>
#import <FBSDKShareKit/FBSDKSharingValidation.h>
@class PHAsset;
/**
  A photo for sharing.
 */
@interface FBSDKSharePhoto : NSObject <FBSDKCopying, NSSecureCoding>
@interface FBSDKSharePhoto : NSObject <FBSDKCopying, FBSDKSharingValidation, NSSecureCoding>
/**
  Convenience method to build a new photo object with an image.
 - Parameter image: If the photo is resident in memory, this method supplies the data
 - Parameter userGenerated: Specifies whether the photo represented by the receiver was generated by the user or by the
 @param image If the photo is resident in memory, this method supplies the data
 @param userGenerated Specifies whether the photo represented by the receiver was generated by the user or by the
 application
 */
+ (instancetype)photoWithImage:(UIImage *)image userGenerated:(BOOL)userGenerated;
/**
  Convenience method to build a new photo object with an imageURL.
 - Parameter imageURL: The URL to the photo
 - Parameter userGenerated: Specifies whether the photo represented by the receiver was generated by the user or by the
 @param imageURL The URL to the photo
 @param userGenerated Specifies whether the photo represented by the receiver was generated by the user or by the
 application
 This method should only be used when adding photo content to open graph stories.
@@ -46,34 +49,48 @@
+ (instancetype)photoWithImageURL:(NSURL *)imageURL userGenerated:(BOOL)userGenerated;
/**
 Convenience method to build a new photo object with a PHAsset.
 - Parameter photoAsset: The PHAsset that represents the photo in the Photos library.
 - Parameter userGenerated: Specifies whether the photo represented by the receiver was generated by the user or by the
 application
 */
+ (instancetype)photoWithPhotoAsset:(PHAsset *)photoAsset userGenerated:(BOOL)userGenerated;
/**
  If the photo is resident in memory, this method supplies the data.
 - Returns: UIImage representation of the photo
 @return UIImage representation of the photo
 */
@property (nonatomic, strong) UIImage *image;
/**
  The URL to the photo.
 - Returns: URL that points to a network location or the location of the photo on disk
 @return URL that points to a network location or the location of the photo on disk
 */
@property (nonatomic, copy) NSURL *imageURL;
/**
 The representation of the photo in the Photos library.
 - Returns: PHAsset that represents the photo in the Photos library.
 */
@property (nonatomic, copy) PHAsset *photoAsset;
/**
  Specifies whether the photo represented by the receiver was generated by the user or by the application.
 - Returns: YES if the photo is user-generated, otherwise NO
 @return YES if the photo is user-generated, otherwise NO
 */
@property (nonatomic, assign, getter=isUserGenerated) BOOL userGenerated;
/**
  Compares the receiver to another photo.
 - Parameter photo: The other photo
 - Returns: YES if the receiver's values are equal to the other photo's values; otherwise NO
 @param photo The other photo
 @return YES if the receiver's values are equal to the other photo's values; otherwise NO
 */
- (BOOL)isEqualToSharePhoto:(FBSDKSharePhoto *)photo;
/**
  The user generated caption for the photo. Note that the 'caption' must come from
 * the user, as pre-filled content is forbidden by the Platform Policies (2.3).
 - Returns: the Photo's caption if exists else returns null.
 @return the Photo's caption if exists else returns null.
 */
@property (nonatomic, copy) NSString *caption;
frameworks/FBSDKShareKit.framework/Headers/FBSDKSharePhotoContent.h
@@ -27,14 +27,14 @@
/**
  Photos to be shared.
 - Returns: Array of the photos (FBSDKSharePhoto)
 @return Array of the photos (FBSDKSharePhoto)
 */
@property (nonatomic, copy) NSArray *photos;
/**
  Compares the receiver to another photo content.
 - Parameter content: The other content
 - Returns: YES if the receiver's values are equal to the other content's values; otherwise NO
 @param content The other content
 @return YES if the receiver's values are equal to the other content's values; otherwise NO
 */
- (BOOL)isEqualToSharePhotoContent:(FBSDKSharePhotoContent *)content;
frameworks/FBSDKShareKit.framework/Headers/FBSDKShareVideo.h
@@ -16,47 +16,94 @@
// 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 <Photos/Photos.h>
#import <UIKit/UIKit.h>
#import <FBSDKCoreKit/FBSDKCopying.h>
#import <FBSDKShareKit/FBSDKSharingValidation.h>
@class FBSDKSharePhoto;
@class PHAsset;
/**
  A video for sharing.
 */
@interface FBSDKShareVideo : NSObject <FBSDKCopying, NSSecureCoding>
@interface FBSDKShareVideo : NSObject <FBSDKCopying, FBSDKSharingValidation, NSSecureCoding>
/**
 Convenience method to build a new video object from raw data.
 - Parameter data: The NSData object that holds the raw video data.
 */
+ (instancetype)videoWithData:(NSData *)data;
/**
 Convenience method to build a new video object with NSData and a previewPhoto.
 - Parameter data: The NSData object that holds the raw video data.
 - Parameter previewPhoto: The photo that represents the video.
 */
+ (instancetype)videoWithData:(NSData *)data previewPhoto:(FBSDKSharePhoto *)previewPhoto;
/**
 Convenience method to build a new video object with a PHAsset.
 @param 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.
 @param videoAsset The PHAsset that represents the video in the Photos library.
 @param 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
 @param 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.
 @param videoURL The URL to the video.
 @param previewPhoto The photo that represents the video.
 */
+ (instancetype)videoWithVideoURL:(NSURL *)videoURL previewPhoto:(FBSDKSharePhoto *)previewPhoto;
/**
 The raw video data.
 - Returns: The video data.
 */
@property (nonatomic, strong) NSData *data;
/**
 The representation of the video in the Photos library.
 @return 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
 @return URL that points to the location of the video on disk
 */
@property (nonatomic, copy) NSURL *videoURL;
/**
  The photo that represents the video.
 - Returns: The photo
 @return The photo
 */
@property (nonatomic, copy) FBSDKSharePhoto *previewPhoto;
/**
  Compares the receiver to another video.
 - Parameter video: The other video
 - Returns: YES if the receiver's values are equal to the other video's values; otherwise NO
 @param video The other video
 @return YES if the receiver's values are equal to the other video's values; otherwise NO
 */
- (BOOL)isEqualToShareVideo:(FBSDKShareVideo *)video;
@end
@interface PHAsset (FBSDKShareVideo)
@property (nonatomic, copy, readonly) NSURL *videoURL;
@end
frameworks/FBSDKShareKit.framework/Headers/FBSDKShareVideoContent.h
@@ -29,20 +29,21 @@
/**
  The photo that represents the video.
 - Returns: The photo
 @return The photo
 */
@property (nonatomic, copy) FBSDKSharePhoto *previewPhoto;
@property (nonatomic, copy) FBSDKSharePhoto *previewPhoto
DEPRECATED_MSG_ATTRIBUTE("Use `video.previewPhoto`");
/**
  The video to be shared.
 - Returns: The video
 @return The video
 */
@property (nonatomic, copy) FBSDKShareVideo *video;
/**
  Compares the receiver to another video content.
 - Parameter content: The other content
 - Returns: YES if the receiver's values are equal to the other content's values; otherwise NO
 @param content The other content
 @return YES if the receiver's values are equal to the other content's values; otherwise NO
 */
- (BOOL)isEqualToShareVideoContent:(FBSDKShareVideoContent *)content;
frameworks/FBSDKShareKit.framework/Headers/FBSDKSharing.h
@@ -25,11 +25,11 @@
/**
  The common interface for components that initiate sharing.
- See:FBSDKShareDialog
 @see FBSDKShareDialog
- See:FBSDKMessageDialog
 @see FBSDKMessageDialog
- See:FBSDKShareAPI
 @see FBSDKShareAPI
 */
@protocol FBSDKSharing <NSObject>
@@ -53,8 +53,8 @@
/**
  Validates the content on the receiver.
 - Parameter errorRef: If an error occurs, upon return contains an NSError object that describes the problem.
 - Returns: YES if the content is valid, otherwise NO.
 @param errorRef If an error occurs, upon return contains an NSError object that describes the problem.
 @return YES if the content is valid, otherwise NO.
 */
- (BOOL)validateWithError:(NSError **)errorRef;
@@ -72,14 +72,14 @@
 required but not available.  This method does not validate the content on the receiver, so this can be checked before
 building up the content.
- See:[FBSDKSharing validateWithError:]
 - Returns: YES if the receiver can share, otherwise NO.
 @see [FBSDKSharing validateWithError:]
 @return YES if the receiver can share, otherwise NO.
 */
- (BOOL)canShow;
@property (nonatomic, readonly) BOOL canShow;
/**
  Shows the dialog.
 - Returns: YES if the receiver was able to begin sharing, otherwise NO.
 @return YES if the receiver was able to begin sharing, otherwise NO.
 */
- (BOOL)show;
@@ -96,21 +96,21 @@
/**
  Sent to the delegate when the share completes without error or cancellation.
 - Parameter sharer: The FBSDKSharing that completed.
 - Parameter results: The results from the sharer.  This may be nil or empty.
 @param sharer The FBSDKSharing that completed.
 @param results The results from the sharer.  This may be nil or empty.
 */
- (void)sharer:(id<FBSDKSharing>)sharer didCompleteWithResults:(NSDictionary *)results;
/**
  Sent to the delegate when the sharer encounters an error.
 - Parameter sharer: The FBSDKSharing that completed.
 - Parameter error: The error.
 @param sharer The FBSDKSharing that completed.
 @param error The error.
 */
- (void)sharer:(id<FBSDKSharing>)sharer didFailWithError:(NSError *)error;
/**
  Sent to the delegate when the sharer is cancelled.
 - Parameter sharer: The FBSDKSharing that completed.
 @param sharer The FBSDKSharing that completed.
 */
- (void)sharerDidCancel:(id<FBSDKSharing>)sharer;
frameworks/FBSDKShareKit.framework/Headers/FBSDKSharingButton.h
@@ -23,9 +23,9 @@
/**
  The common interface for sharing buttons.
- See:FBSDKSendButton
 @see FBSDKSendButton
- See:FBSDKShareButton
 @see FBSDKShareButton
 */
@protocol FBSDKSharingButton <NSObject>
frameworks/FBSDKShareKit.framework/Headers/FBSDKSharingContent.h
@@ -19,26 +19,27 @@
#import <Foundation/Foundation.h>
#import <FBSDKCoreKit/FBSDKCopying.h>
#import <FBSDKShareKit/FBSDKSharingValidation.h>
@class FBSDKHashtag;
/**
  A base interface for content to be shared.
 */
@protocol FBSDKSharingContent <FBSDKCopying, NSSecureCoding>
@protocol FBSDKSharingContent <FBSDKCopying, FBSDKSharingValidation, NSSecureCoding>
/**
  URL for the content being shared.
 This URL will be checked for all link meta tags for linking in platform specific ways.  See documentation
 for App Links (https://developers.facebook.com/docs/applinks/)
 - Returns: URL representation of the content link
 @return URL representation of the content link
 */
@property (nonatomic, copy) NSURL *contentURL;
/**
  Hashtag for the content being shared.
 - Returns: The hashtag for the content being shared.
 @return The hashtag for the content being shared.
 */
@property (nonatomic, copy) FBSDKHashtag *hashtag;
@@ -46,32 +47,52 @@
  List of IDs for taggable people to tag with this content.
  See documentation for Taggable Friends
 (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends)
 - Returns: Array of IDs for people to tag (NSString)
 @return Array of IDs for people to tag (NSString)
 */
@property (nonatomic, copy) NSArray *peopleIDs;
/**
  The ID for a place to tag with this content.
 - Returns: The ID for the place to tag
 @return The ID for the place to tag
 */
@property (nonatomic, copy) NSString *placeID;
/**
  A value to be added to the referrer URL when a person follows a link from this shared content on feed.
 - Returns: The ref for the content.
 @return The ref for the content.
 */
@property (nonatomic, copy) NSString *ref;
/**
 For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share.
 - Returns: The ID of the Facebok page this share is associated with.
 @return The ID of the Facebok page this share is associated with.
 */
@property (nonatomic, copy) NSString *pageID;
/**
 A unique identifier for a share involving this content, useful for tracking purposes.
 - Returns: A unique string identifying this share data.
 @return A unique string identifying this share data.
 */
@property (nonatomic, copy, readonly) NSString *shareUUID;
/**
 Adds content to an existing dictionary as key/value pairs and returns the
 updated dictionary
 @param existingParameters An immutable dictionary of existing values
 @param bridgeOptions The options for bridging
 @return A new dictionary with the modified contents
 */
- (NSDictionary<NSString *, id> *)addParameters:(NSDictionary<NSString *, id> *)existingParameters
                                  bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions;
/**
 Adds content to a dictionary as key/value pairs.
 @param parameters A mutable dictionary that may be appended with key/value pairs of content.
 @param bridgeOptions The options for bridging
 */
- (void)addToParameters:(NSMutableDictionary<NSString *, id> *)parameters
          bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions
DEPRECATED_MSG_ATTRIBUTE("`addToParameters` is deprecated. Use `addParameters`");
@end
frameworks/FBSDKShareKit.framework/Headers/FBSDKSharingScheme.h
New file
@@ -0,0 +1,33 @@
// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
//
// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
// copy, modify, and distribute this software in source code or binary form for use
// in connection with the web services and APIs provided by Facebook.
//
// As with any software that integrates with the Facebook platform, your use of
// this software is subject to the Facebook Developer Principles and Policies
// [http://developers.facebook.com/policy/]. This copyright notice shall be
// included in all copies or substantial portions of the software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
// 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 "FBSDKShareDialogMode.h"
/**
 A base interface for indicating a custom URL scheme
 */
@protocol FBSDKSharingScheme
/**
 Asks the receiver to provide a custom scheme.
 - Parameter mode: The intended dialog mode for sharing the content.
 - Returns: A custom URL scheme to use for the specified mode, or nil.
 */
- (nullable NSString *)schemeForMode:(FBSDKShareDialogMode)mode;
@end
frameworks/FBSDKShareKit.framework/Headers/FBSDKSharingValidation.h
New file
@@ -0,0 +1,46 @@
// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
//
// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
// copy, modify, and distribute this software in source code or binary form for use
// in connection with the web services and APIs provided by Facebook.
//
// As with any software that integrates with the Facebook platform, your use of
// this software is subject to the Facebook Developer Principles and Policies
// [http://developers.facebook.com/policy/]. This copyright notice shall be
// included in all copies or substantial portions of the software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
// 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>
/**
 Flags to indicate support for newer bridge options beyond the initial 20130410 implementation.
 */
typedef NS_OPTIONS(NSUInteger, FBSDKShareBridgeOptions)
{
  FBSDKShareBridgeOptionsDefault       = 0,
  FBSDKShareBridgeOptionsPhotoAsset    = 1 << 0,
  FBSDKShareBridgeOptionsPhotoImageURL = 1 << 1, // if set, a web-based URL is required; asset, image, and imageURL.isFileURL not allowed
  FBSDKShareBridgeOptionsVideoAsset    = 1 << 2,
  FBSDKShareBridgeOptionsVideoData     = 1 << 3,
  FBSDKShareBridgeOptionsWebHashtag    = 1 << 4, // if set, pass the hashtag as a string value, not an array of one string
};
/**
 A base interface for validation of content and media.
 */
@protocol FBSDKSharingValidation
/**
 Asks the receiver to validate that its content or media values are valid.
 - Parameter errorRef: Optional, will receive an FBSDKShareError if the values are not valid.
 - Returns: YES if the receiver's values are valid; otherwise NO
 */
- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError *__autoreleasing *)errorRef;
@end
frameworks/FBSDKShareKit.framework/Info.plist
Binary files differ
frameworks/WAFbImpl.framework/Headers/WAFbImpl.h
@@ -16,4 +16,4 @@
// In this header, you should import all the public headers of your framework using statements like #import <WAFbImpl/PublicHeader.h>
//time:2018/08/27 15:46 ver:3.7.0
//time:2019/01/15 12:30 ver:3.8.0
frameworks/WAFbImpl.framework/Info.plist
Binary files differ
frameworks/WAFbImpl.framework/WAFbImpl
Binary files differ