diff --git a/.gitignore b/.gitignore index 7d1a7af..d7e3e9e 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,5 @@ build Vendor/Parse.framework Vendor/Bolts.framework +Vendor/FBSDKCoreKit.framework +Vendor/FBSDKLoginKit.framework diff --git a/ParseFacebookUtils.xcodeproj/project.pbxproj b/ParseFacebookUtils.xcodeproj/project.pbxproj index 1ca7e65..7bb08b2 100644 --- a/ParseFacebookUtils.xcodeproj/project.pbxproj +++ b/ParseFacebookUtils.xcodeproj/project.pbxproj @@ -540,7 +540,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "if [ ! -d $SRCROOT/Vendor ]; then\n mkdir $SRCROOT/Vendor\nfi\n\ncd $SRCROOT/Vendor\n\nif [[ ! -d \"Parse.framework\" || ! -d \"Bolts.framework\" ]]; then\n ARCHIVE_NAME=Parse-iOS.zip\n\n LATEST_TAG=$(bash -l -c \"bundle exec pod spec cat Parse\" | grep version | head -n 1 | cut -d '\"' -f 4)\n ARCHIVE_URL=\"https://github.com/ParsePlatform/Parse-SDK-iOS-OSX/releases/download/${LATEST_TAG}/${ARCHIVE_NAME}\"\n curl -L $ARCHIVE_URL -o $ARCHIVE_NAME\n\n unzip $ARCHIVE_NAME\n rm $ARCHIVE_NAME\nfi\n\n#\n# Uncomment and move to fetching FBSDK the moment it's not flaky to download\n#\n# if [[ ! -d \"FBSDKCoreKit.framework\" || ! -d \"FBSDKLoginKit.framework\" ]]; then\n# ARCHIVE_NAME=FBSDK.zip\n#\n# ARCHIVE_URL=\"https://origincache.facebook.com/developers/resources/?id=facebook-ios-sdk-current.zip\"\n# curl $ARCHIVE_URL -o $ARCHIVE_NAME\n#\n# unzip $ARCHIVE_NAME -d fbsdk\n# mv fbsdk/FBSDKCoreKit.framework .\n# mv fbsdk/FBSDKLoginKit.framework .\n#\n# rm $ARCHIVE_NAME\n# rm -r fbsdk\n# fi\n"; + shellScript = "if [ ! -d $SRCROOT/Vendor ]; then\n mkdir $SRCROOT/Vendor\nfi\n\ncd $SRCROOT/Vendor\n\nif [[ ! -d \"Parse.framework\" || ! -d \"Bolts.framework\" ]]; then\n ARCHIVE_NAME=Parse-iOS.zip\n\n LATEST_TAG=$(bash -l -c \"bundle exec pod spec cat Parse\" | grep version | head -n 1 | cut -d '\"' -f 4)\n ARCHIVE_URL=\"https://github.com/ParsePlatform/Parse-SDK-iOS-OSX/releases/download/${LATEST_TAG}/${ARCHIVE_NAME}\"\n curl -L $ARCHIVE_URL -o $ARCHIVE_NAME\n\n unzip $ARCHIVE_NAME\n rm $ARCHIVE_NAME\nfi\n\nif [[ ! -d \"FBSDKCoreKit.framework\" || ! -d \"FBSDKLoginKit.framework\" ]]; then\n ARCHIVE_NAME=FBSDK.zip\n\n ARCHIVE_URL=\"https://origincache.facebook.com/developers/resources/?id=facebook-ios-sdk-current.zip\"\n curl $ARCHIVE_URL -o $ARCHIVE_NAME\n\n unzip $ARCHIVE_NAME -d fbsdk\n mv fbsdk/FBSDKCoreKit.framework .\n mv fbsdk/FBSDKLoginKit.framework .\n\n rm $ARCHIVE_NAME\n rm -r fbsdk\nfi\n"; showEnvVarsInLog = 0; }; 947535AF3D7FE64739018338 /* Check Pods Manifest.lock */ = { diff --git a/Vendor/FBSDKCoreKit.framework/FBSDKCoreKit b/Vendor/FBSDKCoreKit.framework/FBSDKCoreKit deleted file mode 100644 index 95e4836..0000000 Binary files a/Vendor/FBSDKCoreKit.framework/FBSDKCoreKit and /dev/null differ diff --git a/Vendor/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h b/Vendor/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h deleted file mode 100644 index 4ed0656..0000000 --- a/Vendor/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h +++ /dev/null @@ -1,166 +0,0 @@ -// 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 - -#import -#import -#import - -/*! - @abstract Notification indicating that the `currentAccessToken` has changed. - @discussion the userInfo dictionary of the notification will contain keys - `FBSDKAccessTokenChangeOldKey` and - `FBSDKAccessTokenChangeNewKey`. - */ -FBSDK_EXTERN NSString *const FBSDKAccessTokenDidChangeNotification; - -/*! - @abstract A key in the notification's userInfo that will be set - if and only if the user ID changed between the old and new tokens. - @discussion Token refreshes can occur automatically with the SDK - which do not change the user. If you're only interested in user - changes (such as logging out), you should check for the existence - of this key. The value is a NSNumber with a boolValue. - - On a fresh start of the app where the SDK reads in the cached value - 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; - -/* - @abstract key in notification's userInfo object for getting the old token. - @discussion If there was no old token, the key will not be present. - */ -FBSDK_EXTERN NSString *const FBSDKAccessTokenChangeOldKey; - -/* - @abstract key in notification's userInfo object for getting the new token. - @discussion If there is no new token, the key will not be present. - */ -FBSDK_EXTERN NSString *const FBSDKAccessTokenChangeNewKey; - - -/*! - @class FBSDKAccessToken - @abstract Represents an immutable access token for using Facebook services. - */ -@interface FBSDKAccessToken : NSObject - -/*! - @abstract Returns the app ID. - */ -@property (readonly, copy, nonatomic) NSString *appID; - -/*! - @abstract Returns the known declined permissions. - */ -@property (readonly, copy, nonatomic) NSSet *declinedPermissions; - -/*! - @abstract Returns the expiration date. - */ -@property (readonly, copy, nonatomic) NSDate *expirationDate; - -/*! - @abstract Returns the known granted permissions. - */ -@property (readonly, copy, nonatomic) NSSet *permissions; - -/*! - @abstract Returns the date the token was last refreshed. -*/ -@property (readonly, copy, nonatomic) NSDate *refreshDate; - -/*! - @abstract Returns the opaque token string. - */ -@property (readonly, copy, nonatomic) NSString *tokenString; - -/*! - @abstract Returns the user ID. - */ -@property (readonly, copy, nonatomic) NSString *userID; - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/*! - @abstract 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). - @discussion 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 -NS_DESIGNATED_INITIALIZER; - -/*! - @abstract Convenience getter to determine if a permission has been granted - @param permission The permission to check. - */ -- (BOOL)hasGranted:(NSString *)permission; - -/*! - @abstract Compares the receiver to another FBSDKAccessToken - @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; - -/*! - @abstract Returns the "global" access token that represents the currently logged in user. - @discussion The `currentAccessToken` is a convenient representation of the token of the - current user and is used by other SDK components (like `FBSDKLoginManager`). - */ -+ (FBSDKAccessToken *)currentAccessToken; - -/*! - @abstract Sets the "global" access token that represents the currently logged in user. - @param token The access token to set. - @discussion This will broadcast a notification and save the token to the app keychain. - */ -+ (void)setCurrentAccessToken:(FBSDKAccessToken *)token; - -/*! - @abstract Refresh the current access token's permission state and extend the token's expiration date, - if possible. - @param completionHandler an optional callback handler that can surface any errors related to permission refreshing. - @discussion On a successful refresh, the currentAccessToken will be updated so you typically only need to - observe the `FBSDKAccessTokenDidChangeNotification` notification. - - If a token is already expired, it cannot be refreshed. - */ -+ (void)refreshCurrentAccessToken:(FBSDKGraphRequestHandler)completionHandler; - -@end diff --git a/Vendor/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h b/Vendor/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h deleted file mode 100644 index 375d413..0000000 --- a/Vendor/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h +++ /dev/null @@ -1,462 +0,0 @@ -// 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 - -#import "FBSDKMacros.h" - -@class FBSDKAccessToken; -@class FBSDKGraphRequest; - -/*! @abstract NSNotificationCenter name indicating a result of a failed log flush attempt. The posted object will be an NSError instance. */ -FBSDK_EXTERN NSString *const FBSDKAppEventsLoggingResultNotification; - -/*! @abstract optional plist key ("FacebookLoggingOverrideAppID") for setting `loggingOverrideAppID` */ -FBSDK_EXTERN NSString *const FBSDKAppEventsOverrideAppIDBundleKey; - -/*! - - @typedef NS_ENUM (NSUInteger, FBSDKAppEventsFlushBehavior) - - @abstract Specifies when `FBSDKAppEvents` sends log events to the server. - - */ -typedef NS_ENUM(NSUInteger, FBSDKAppEventsFlushBehavior) -{ - - /*! Flush automatically: periodically (once a minute or every 100 logged events) and always at app reactivation. */ - FBSDKAppEventsFlushBehaviorAuto = 0, - - /*! Only flush when the `flush` method is called. When an app is moved to background/terminated, the - events are persisted and re-established at activation, but they will only be written with an - explicit call to `flush`. */ - FBSDKAppEventsFlushBehaviorExplicitOnly, - -}; - -/*! - @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; - -/*! Log this event when the user has entered their payment info. */ -FBSDK_EXTERN 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; - -/*! 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; - -/*! Log this event when a user has completed registration with the app. */ -FBSDK_EXTERN NSString *const FBSDKAppEventNameCompletedRegistration; - -/*! Log this event when the user has completed a tutorial in the app. */ -FBSDK_EXTERN 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; - -/*! 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; - -/*! Log this event when a user has performed a search within the app. */ -FBSDK_EXTERN 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; - -/*! Log this event when the user has unlocked an achievement in the app. */ -FBSDK_EXTERN NSString *const FBSDKAppEventNameUnlockedAchievement; - -/*! Log this event when a user has viewed a form of content in the app. */ -FBSDK_EXTERN NSString *const FBSDKAppEventNameViewedContent; - -/*! - @methodgroup Predefined event name parameters for common additional information to accompany events logged through the `logEvent` family - of methods on `FBSDKAppEvents`. Common event names are provided in the `FBAppEventName*` constants. - */ - -/*! 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; - -/*! 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; - -/*! 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 . */ -FBSDK_EXTERN 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; - -/*! Parameter key used to specify the level achieved in a `FBAppEventNameAchieved` event. */ -FBSDK_EXTERN 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; - -/*! Parameter key used to specify how many items are being processed for an `FBAppEventNameInitiatedCheckout` or `FBAppEventNamePurchased` event. */ -FBSDK_EXTERN 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; - -/*! 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; - -/*! Parameter key used to specify the string provided by the user for a search operation. */ -FBSDK_EXTERN 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; - -/* - @methodgroup Predefined values to assign to event parameters that accompany events logged through the `logEvent` family - of methods on `FBSDKAppEvents`. Common event parameters are provided in the `FBSDKAppEventParameterName*` constants. - */ - -/*! Yes-valued parameter value to be used with parameter keys that need a Yes/No value */ -FBSDK_EXTERN NSString *const FBSDKAppEventParameterValueYes; - -/*! No-valued parameter value to be used with parameter keys that need a Yes/No value */ -FBSDK_EXTERN NSString *const FBSDKAppEventParameterValueNo; - - -/*! - - @class FBSDKAppEvents - - @abstract - Client-side event logging for specialized application analytics available through Facebook App Insights - and for use with Facebook Ads conversion tracking and optimization. - - @discussion - The `FBSDKAppEvents` static class has a few related roles: - - + Logging predefined and application-defined events to Facebook App Insights with a - numeric value to sum across a large number of events, and an optional set of key/value - parameters that define "segments" for this event (e.g., 'purchaserStatus' : 'frequent', or - 'gamerLevel' : 'intermediate') - - + Logging events to later be used for ads optimization around lifetime value. - - + Methods that control the way in which events are flushed out to the Facebook servers. - - Here are some important characteristics of the logging mechanism provided by `FBSDKAppEvents`: - - + Events are not sent immediately when logged. They're cached and flushed out to the Facebook servers - in a number of situations: - - when an event count threshold is passed (currently 100 logged events). - - when a time threshold is passed (currently 15 seconds). - - when an app has gone to background and is then brought back to the foreground. - - + Events will be accumulated when the app is in a disconnected state, and sent when the connection is - restored and one of the above 'flush' conditions are met. - - + The `FBSDKAppEvents` class is thread-safe in that events may be logged from any of the app's threads. - - + The developer can set the `flushBehavior` on `FBSDKAppEvents` to force the flushing of events to only - occur on an explicit call to the `flush` method. - - + The developer can turn on console debug output for event logging and flushing to the server by using - the `FBSDKLoggingBehaviorAppEvents` value in `[FBSettings setLoggingBehavior:]`. - - Some things to note when logging events: - - + There is a limit on the number of unique event names an app can use, on the order of 1000. - + There is a limit to the number of unique parameter names in the provided parameters that can - be used per event, on the order of 25. This is not just for an individual call, but for all - invocations for that eventName. - + Event names and parameter names (the keys in the NSDictionary) must be between 2 and 40 characters, and - must consist of alphanumeric characters, _, -, or spaces. - + The length of each parameter value can be no more than on the order of 100 characters. - - */ -@interface FBSDKAppEvents : NSObject - -/* - * Basic event logging - */ - -/*! - - @abstract - Log an event with just an eventName. - - @param eventName The name of the event to record. Limitations on number of events and name length - are given in the `FBSDKAppEvents` documentation. - - */ -+ (void)logEvent:(NSString *)eventName; - -/*! - - @abstract - Log an event with an eventName and a numeric value to be aggregated with other events of this name. - - @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. - - @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 - valueToSum:(double)valueToSum; - - -/*! - - @abstract - Log an event with an eventName and a set of key/value pairs in the parameters dictionary. - Parameter limitations are described above. - - @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. - - @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. - */ -+ (void)logEvent:(NSString *)eventName - parameters:(NSDictionary *)parameters; - -/*! - - @abstract - 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. - - @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. - - @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. - - @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. - - */ -+ (void)logEvent:(NSString *)eventName - valueToSum:(double)valueToSum - parameters:(NSDictionary *)parameters; - - -/*! - - @abstract - 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. Providing session lets the developer - target a particular . If nil is provided, then `[FBSession activeSession]` will be used. - - @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. - - @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. - - @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. - - @param accessToken The optional access token to log the event as. - */ -+ (void)logEvent:(NSString *)eventName - valueToSum:(NSNumber *)valueToSum - parameters:(NSDictionary *)parameters - accessToken:(FBSDKAccessToken *)accessToken; - -/* - * Purchase logging - */ - -/*! - - @abstract - Log a purchase of the specified amount, in the specified currency. - - @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). - - @param currency Currency, is denoted as, e.g. "USD", "EUR", "GBP". See ISO-4217 for - specific values. One reference for these is . - - @discussion This event immediately triggers a flush of the `FBSDKAppEvents` event queue, unless the `flushBehavior` is set - to `FBSDKAppEventsFlushBehaviorExplicitOnly`. - - */ -+ (void)logPurchase:(double)purchaseAmount - currency:(NSString *)currency; - -/*! - - @abstract - Log a purchase of the specified amount, in the specified currency, also providing a set of - additional characteristics describing the purchase. - - @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). - - @param currency Currency, is denoted as, e.g. "USD", "EUR", "GBP". See ISO-4217 for - specific values. One reference for these is . - - @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. - - @discussion This event immediately triggers a flush of the `FBSDKAppEvents` event queue, unless the `flushBehavior` is set - to `FBSDKAppEventsFlushBehaviorExplicitOnly`. - - */ -+ (void)logPurchase:(double)purchaseAmount - currency:(NSString *)currency - parameters:(NSDictionary *)parameters; - -/*! - - @abstract - 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 to log to. - - @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). - - @param currency Currency, is denoted as, e.g. "USD", "EUR", "GBP". See ISO-4217 for - specific values. One reference for these is . - - @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. - - @param accessToken The optional access token to log the event as. - - @discussion This event immediately triggers a flush of the `FBSDKAppEvents` event queue, unless the `flushBehavior` is set - to `FBSDKAppEventsFlushBehaviorExplicitOnly`. - - */ -+ (void)logPurchase:(double)purchaseAmount - currency:(NSString *)currency - parameters:(NSDictionary *)parameters - accessToken:(FBSDKAccessToken *)accessToken; - -/*! - - @abstract - Notifies the events system that the app has launched and, when appropriate, logs an "activated app" event. Should typically be placed in the - app delegates' `applicationDidBecomeActive:` method. - - This method also takes care of logging the event indicating the first time this app has been launched, which, among other things, is used to - track user acquisition and app install ads conversions. - - @discussion - `activateApp` will not log an event on every app launch, since launches happen every time the app is backgrounded and then foregrounded. - "activated app" events will be logged when the app has not been active for more than 60 seconds. This method also causes a "deactivated app" - event to be logged when sessions are "completed", and these events are logged with the session length, with an indication of how much - time has elapsed between sessions, and with the number of background/foreground interruptions that session had. This data - is all visible in your app's App Events Insights. - */ -+ (void)activateApp; - -/* - * Control over event batching/flushing - */ - -/*! - - @abstract - Get the current event flushing behavior specifying when events are sent back to Facebook servers. - */ -+ (FBSDKAppEventsFlushBehavior)flushBehavior; - -/*! - - @abstract - Set the current event flushing behavior specifying when events are sent back to Facebook servers. - - @param flushBehavior The desired `FBSDKAppEventsFlushBehavior` to be used. - */ -+ (void)setFlushBehavior:(FBSDKAppEventsFlushBehavior)flushBehavior; - -/*! - @abstract - Set the 'override' App ID for App Event logging. - - @discussion - In some cases, apps want to use one Facebook App ID for login and social presence and another - for App Event logging. (An example is if multiple apps from the same company share an app ID for login, but - want distinct logging.) By default, this value is `nil`, and defers to the `FBSDKAppEventsOverrideAppIDBundleKey` - plist value. If that's not set, it defaults to `[FBSDKSettings appID]`. - - 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. - - @param appID The Facebook App ID to be used for App Event logging. - */ -+ (void)setLoggingOverrideAppID:(NSString *)appID; - -/*! - @abstract - Get the 'override' App ID for App Event logging. - - @see setLoggingOverrideAppID: - - */ -+ (NSString *)loggingOverrideAppID; - - -/*! - @abstract - Explicitly kick off flushing of events to Facebook. This is an asynchronous method, but it does initiate an immediate - kick off. Server failures will be reported through the NotificationCenter with notification ID `FBSDKAppEventsLoggingResultNotification`. - */ -+ (void)flush; - -/*! - @abstract - Creates a request representing the Graph API call to retrieve a Custom Audience "third party ID" for the app's Facebook user. - 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. - - @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. - - @discussion - The JSON in the request's response will include an "custom_audience_third_party_id" key/value pair, with the value being the ID retrieved. - This ID is an encrypted encoding of the Facebook user's ID and the invoking Facebook app ID. - Multiple calls with the same user will return different IDs, thus these IDs cannot be used to correlate behavior - across devices or applications, and are only meaningful when sent back to Facebook for creating Custom Audiences. - - The ID retrieved represents the Facebook user identified in the following way: if the specified access token is valid, - the ID will represent the user associated with that token; otherwise the ID will represent the user logged into the - native Facebook app on the device. If there is no native Facebook app, no one is logged into it, or the user has opted out - at the iOS level from ad tracking, then a `nil` ID will be returned. - - This method returns `nil` if either the user has opted-out (via iOS) from Ad Tracking, the app itself has limited event usage - via the `[FBSDKSettings limitEventAndDataUsage]` flag, or a specific Facebook user cannot be identified. - */ -+ (FBSDKGraphRequest *)requestForCustomAudienceThirdPartyIDWithAccessToken:(FBSDKAccessToken *)accessToken; -@end diff --git a/Vendor/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h b/Vendor/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h deleted file mode 100644 index 8e65e5b..0000000 --- a/Vendor/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h +++ /dev/null @@ -1,82 +0,0 @@ -// 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 - -@class BFTask; - -// Check if Bolts.framework is available for import -#if __has_include() -// Import it if it's available -# import -#else -// Otherwise - redeclare BFAppLinkResolving protocol to resolve the problem of missing symbols -// Please note: Bolts.framework is still required for AppLink resolving to work, -// but this allows FBSDKCoreKit to weakly link Bolts.framework as well as this enables clang modulemaps to work. - -/*! - 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 BFAppLinkResolving - -/*! - Asynchronously resolves App Link data for a given URL. - - @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; - -@end - -#endif - -/*! - @class FBSDKAppLinkResolver - - @abstract - Provides an implementation of the BFAppLinkResolving protocol that uses the Facebook App Link - Index API to resolve App Links given a URL. It also provides an additional helper method that can resolve - multiple App Links in a single call. - - @discussion - Usage of this type requires a client token. See `[FBSDKSettings setClientToken:]` and linking - Bolts.framework - */ -@interface FBSDKAppLinkResolver : NSObject - -/*! - @abstract Asynchronously resolves App Link data for multiple URLs. - - @param urls An array of NSURLs to resolve into App Links. - @returns A BFTask that will return dictionary mapping input NSURLs to their - corresponding BFAppLink. - - @discussion - You should set the client token before making this call. See `[FBSDKSettings setClientToken:]` - */ -- (BFTask *)appLinksFromURLsInBackground:(NSArray *)urls; - -/*! - @abstract Allocates and initializes a new instance of FBSDKAppLinkResolver. - */ -+ (instancetype)resolver; - -@end diff --git a/Vendor/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h b/Vendor/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h deleted file mode 100644 index 216b71d..0000000 --- a/Vendor/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h +++ /dev/null @@ -1,55 +0,0 @@ -// 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 - -/*! - @abstract Describes the callback for fetchDeferredAppLink. - @param url the url representing the deferred App Link - @param error the error during the request, if any - - @discussion The url may also have a fb_click_time_utc query parameter that - represents when the click occurred that caused the deferred App Link to be created. - */ -typedef void (^FBSDKDeferredAppLinkHandler)(NSURL *url, NSError *error); - -/*! - @abstract Class containing App Links related utility methods. - */ -@interface FBSDKAppLinkUtility : NSObject - -/*! - @abstract - Call this method from the main thread to fetch deferred applink data if you use Mobile App - Engagement Ads (https://developers.facebook.com/docs/ads-for-apps/mobile-app-ads-engagement). - This may require a network round trip. If successful, the handler is invoked with the link - data (this will only return a valid URL once, and future calls will result in a nil URL - value in the callback). - - @param handler the handler to be invoked if there is deferred App Link data - - @discussion The handler may contain an NSError instance to capture any errors. In the - common case where there simply was no app link data, the NSError instance will be nil. - - This method should only be called from a location that occurs after any launching URL has - been processed (e.g., you should call this method from your application delegate's - applicationDidBecomeActive:). - */ -+ (void)fetchDeferredAppLink:(FBSDKDeferredAppLinkHandler)handler; - -@end diff --git a/Vendor/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h b/Vendor/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h deleted file mode 100644 index 857acd0..0000000 --- a/Vendor/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h +++ /dev/null @@ -1,74 +0,0 @@ -// 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 - -/*! - @class FBSDKApplicationDelegate - - @abstract - The FBSDKApplicationDelegate is designed to post process the results from Facebook Login - or Facebook Dialogs (or any action that requires switching over to the native Facebook - app or Safari). - - @discussion - The methods in this class are designed to mirror those in UIApplicationDelegate, and you - should call them in the respective methods in your AppDelegate implementation. - */ -@interface FBSDKApplicationDelegate : NSObject - -/*! - @abstract Gets the singleton instance. - */ -+ (instancetype)sharedInstance; - -/*! - @abstract - Call this method from the [UIApplicationDelegate application:openURL:sourceApplication:annotation:] method - 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. - - @param application The application as passed to [UIApplicationDelegate application:openURL:sourceApplication:annotation:]. - - @param url The URL as passed to [UIApplicationDelegate application:openURL:sourceApplication:annotation:]. - - @param sourceApplication The sourceApplication as passed to [UIApplicationDelegate application:openURL:sourceApplication:annotation:]. - - @param annotation The annotation as passed to [UIApplicationDelegate application:openURL:sourceApplication:annotation:]. - - @return YES if the url was intended for the Facebook SDK, NO if not. - */ -- (BOOL)application:(UIApplication *)application - openURL:(NSURL *)url - sourceApplication:(NSString *)sourceApplication - annotation:(id)annotation; - -/*! - @abstract - Call this method from the [UIApplicationDelegate application:didFinishLaunchingWithOptions:] method - of the AppDelegate for your app. It should be invoked for the proper use of the Facebook SDK. - - @param application The application as passed to [UIApplicationDelegate application:didFinishLaunchingWithOptions:]. - - @param launchOptions The launchOptions as passed to [UIApplicationDelegate application:didFinishLaunchingWithOptions:]. - - @return YES if the url was intended for the Facebook SDK, NO if not. - */ -- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions; - -@end diff --git a/Vendor/FBSDKCoreKit.framework/Headers/FBSDKButton.h b/Vendor/FBSDKCoreKit.framework/Headers/FBSDKButton.h deleted file mode 100644 index 8132998..0000000 --- a/Vendor/FBSDKCoreKit.framework/Headers/FBSDKButton.h +++ /dev/null @@ -1,26 +0,0 @@ -// 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 - -/*! - @abstract A base class for common SDK buttons. - */ -@interface FBSDKButton : UIButton - -@end diff --git a/Vendor/FBSDKCoreKit.framework/Headers/FBSDKConstants.h b/Vendor/FBSDKCoreKit.framework/Headers/FBSDKConstants.h deleted file mode 100644 index 5f53161..0000000 --- a/Vendor/FBSDKCoreKit.framework/Headers/FBSDKConstants.h +++ /dev/null @@ -1,210 +0,0 @@ -// 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 - -#import - -/*! - @abstract The error domain for all errors from FBSDKCoreKit. - @discussion Error codes from the SDK in the range 0-99 are reserved for this domain. - */ -FBSDK_EXTERN NSString *const FBSDKErrorDomain; - -/*! - @typedef NS_ENUM(NSInteger, FBSDKErrorCode) - @abstract Error codes for FBSDKErrorDomain. - */ -typedef NS_ENUM(NSInteger, FBSDKErrorCode) -{ - /*! - @abstract Reserved. - */ - FBSDKReservedErrorCode = 0, - - /*! - @abstract The error code for errors from invalid encryption on incoming encryption URLs. - */ - FBSDKEncryptionErrorCode, - - /*! - @abstract The error code for errors from invalid arguments to SDK methods. - */ - FBSDKInvalidArgumentErrorCode, - - /*! - @abstract The error code for unknown errors. - */ - FBSDKUnknownErrorCode, - - /*! - @abstract A request failed due to a network error. Use NSUnderlyingErrorKey to retrieve - the error object from the NSURLConnection for more information. - */ - FBSDKNetworkErrorCode, - - /*! - @abstract The error code for errors encounted during an App Events flush. - */ - FBSDKAppEventsFlushErrorCode, - - /*! - @abstract An endpoint that returns a binary response was used with FBSDKGraphRequestConnection. - @discussion Endpoints that return image/jpg, etc. should be accessed using NSURLRequest - */ - FBSDKGraphRequestNonTextMimeTypeReturnedErrorCode, - - /*! - @abstract The operation failed because the server returned an unexpected response. - @discussion 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, - - /*! - @abstract The Graph API returned an error. - @discussion See below for useful userInfo keys (beginning with FBSDKGraphRequestError*) - */ - FBSDKGraphRequestGraphAPIErrorCode, - - /*! - @abstract The specified dialog configuration is not available. - @discussion 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, - - /*! - @abstract Indicates an operation failed because a required access token was not found. - */ - FBSDKAccessTokenRequiredErrorCode, - - /*! - @abstract Indicates an app switch (typically for a dialog) failed because the destination app is out of date. - */ - FBSDKAppVersionUnsupportedErrorCode, - - /*! - @abstract Indicates an app switch to the browser (typically for a dialog) failed. - */ - FBSDKBrowswerUnavailableErrorCode, -}; - -/*! - @typedef NS_ENUM(NSUInteger, FBSDKGraphRequestErrorCategory) - @abstract 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 -}; - -/* - @methodgroup error userInfo keys - */ - -/*! - @abstract The userInfo key for the invalid collection for errors with FBSDKInvalidArgumentErrorCode. - @discussion 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; - -/*! - @abstract The userInfo key for the invalid argument name for errors with FBSDKInvalidArgumentErrorCode. - */ -FBSDK_EXTERN NSString *const FBSDKErrorArgumentNameKey; - -/*! - @abstract The userInfo key for the invalid argument value for errors with FBSDKInvalidArgumentErrorCode. - */ -FBSDK_EXTERN NSString *const FBSDKErrorArgumentValueKey; - -/*! - @abstract The userInfo key for the message for developers in NSErrors that originate from the SDK. - @discussion The developer message will not be localized and is not intended to be presented within the app. - */ -FBSDK_EXTERN NSString *const FBSDKErrorDeveloperMessageKey; - -/*! - @abstract The userInfo key describing a localized description that can be presented to the user. - */ -FBSDK_EXTERN NSString *const FBSDKErrorLocalizedDescriptionKey; - -/*! - @abstract The userInfo key describing a localized title that can be presented to the user, used with `FBSDKLocalizedErrorDescriptionKey`. - */ -FBSDK_EXTERN NSString *const FBSDKErrorLocalizedTitleKey; - -/* - @methodgroup FBSDKGraphRequest error userInfo keys - */ - -/*! - @abstract The userInfo key describing the error category, for error recovery purposes. - @discussion See `FBSDKGraphErrorRecoveryProcessor` and `[FBSDKGraphRequest disableErrorRecovery]`. - */ -FBSDK_EXTERN NSString *const FBSDKGraphRequestErrorCategoryKey; - -/* - @abstract The userInfo key for the Graph API error code. - */ -FBSDK_EXTERN NSString *const FBSDKGraphRequestErrorGraphErrorCode; - -/* - @abstract The userInfo key for the Graph API error subcode. - */ -FBSDK_EXTERN NSString *const FBSDKGraphRequestErrorGraphErrorSubcode; - -/* - @abstract The userInfo key for the HTTP status code. - */ -FBSDK_EXTERN NSString *const FBSDKGraphRequestErrorHTTPStatusCodeKey; - -/* - @abstract The userInfo key for the raw JSON response. - */ -FBSDK_EXTERN NSString *const FBSDKGraphRequestErrorParsedJSONResponseKey; - -/*! - @abstract a formal protocol very similar to the informal protocol NSErrorRecoveryAttempting - */ -@protocol FBSDKErrorRecoveryAttempting - -/*! - @abstract 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. - @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: - - - (void)didPresentErrorWithRecovery:(BOOL)didRecover contextInfo:(void *)contextInfo; - - The value passed for didRecover must be YES if error recovery was completely successful, NO otherwise. - */ -- (void)attemptRecoveryFromError:(NSError *)error optionIndex:(NSUInteger)recoveryOptionIndex delegate:(id)delegate didRecoverSelector:(SEL)didRecoverSelector contextInfo:(void *)contextInfo; - -@end diff --git a/Vendor/FBSDKCoreKit.framework/Headers/FBSDKCopying.h b/Vendor/FBSDKCoreKit.framework/Headers/FBSDKCopying.h deleted file mode 100644 index f4ad767..0000000 --- a/Vendor/FBSDKCoreKit.framework/Headers/FBSDKCopying.h +++ /dev/null @@ -1,33 +0,0 @@ -// 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 - -/*! - @abstract Extension protocol for NSCopying that adds the copy method, which is implemented on NSObject. - @discussion NSObject implicitly conforms to this protocol. - */ -@protocol FBSDKCopying - -/*! - @abstract Implemented by NSObject as a convenience to copyWithZone:. - @return A copy of the receiver. - */ -- (id)copy; - -@end diff --git a/Vendor/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h b/Vendor/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h deleted file mode 100644 index 3b78900..0000000 --- a/Vendor/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h +++ /dev/null @@ -1,38 +0,0 @@ -// 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 - -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import - -#define FBSDK_VERSION_STRING @"4.7.0" -#define FBSDK_TARGET_PLATFORM_VERSION @"v2.5" diff --git a/Vendor/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h b/Vendor/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h deleted file mode 100644 index d2b0313..0000000 --- a/Vendor/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h +++ /dev/null @@ -1,97 +0,0 @@ -// 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 - -#import "FBSDKConstants.h" - -@class FBSDKGraphErrorRecoveryProcessor; -@class FBSDKGraphRequest; - -/*! - @abstract Defines a delegate for `FBSDKGraphErrorRecoveryProcessor`. - */ -@protocol FBSDKGraphErrorRecoveryProcessorDelegate - -/*! - @abstract Indicates the error recovery has been attempted. - @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 -/*! - @abstract Indicates the processor is about to process the error. - @param processor the processor instance. - @param error the error is about to be processed. - @discussion 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 - */ -- (BOOL)processorWillProcessError:(FBSDKGraphErrorRecoveryProcessor *)processor error:(NSError *)error; - -@end - -/*! - @abstract Defines a type that can process Facebook NSErrors with best practices. - @discussion 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 - 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:...]. - 3. If a FBSDKErrorRecoveryAttempting is not available, check the userInfo for FBSDKLocalizedErrorDescriptionKey - and present that in an alert (dispatched to main thread). - - By default, FBSDKGraphRequests use this type to process errors and retry the request upon a successful - recovery. - - Note that Facebook recovery attempters can present UI or even cause app switches (such as to login). Any such - work is dispatched to the main thread (therefore your request handlers may then run on the main thread). - - Login recovery requires FBSDKLoginKit. Login will use FBSDKLoginBehaviorNative and will prompt the user - for all permissions last granted. If any are declined on the new request, the recovery is not successful but - the `[FBSDKAccessToken currentAccessToken]` might still have been updated. - . - */ -@interface FBSDKGraphErrorRecoveryProcessor : NSObject - -/*! - @abstract Gets the delegate. Note this is a strong reference, and is nil'ed out after recovery is complete. - */ -@property (nonatomic, strong, readonly) iddelegate; - -/*! - @abstract Attempts to process the error, return YES if the error can be processed. - @param error the error to process. - @param request the relateed 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) delegate; - -/*! - @abstract The callback for FBSDKErrorRecoveryAttempting - @param didRecover if the recovery succeeded - @param contextInfo unused - */ -- (void)didPresentErrorWithRecovery:(BOOL)didRecover contextInfo:(void *)contextInfo; - -@end diff --git a/Vendor/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h b/Vendor/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h deleted file mode 100644 index 5ae03e2..0000000 --- a/Vendor/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h +++ /dev/null @@ -1,120 +0,0 @@ -// 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 - -#import - -@class FBSDKAccessToken; - -/*! - @abstract Represents a request to the Facebook Graph API. - - @discussion `FBSDKGraphRequest` encapsulates the components of a request (the - Graph API path, the parameters, error recovery behavior) and should be - used in conjunction with `FBSDKGraphRequestConnection` to issue the request. - - Nearly all Graph APIs require an access token. Unless specified, the - `[FBSDKAccessToken currentAccessToken]` is used. Therefore, most requests - will require login first (see `FBSDKLoginManager` in FBSDKLoginKit.framework). - - A `- start` method is provided for convenience for single requests. - - By default, FBSDKGraphRequest will attempt to recover any errors returned from - Facebook. You can disable this via `disableErrorRecovery:`. - @see FBSDKGraphErrorRecoveryProcessor - */ -@interface FBSDKGraphRequest : NSObject - -/*! - @abstract Initializes a new instance that use use `[FBSDKAccessToken currentAccessToken]`. - @param graphPath the graph path (e.g., @"me"). - @param parameters the optional parameters dictionary. - */ -- (instancetype)initWithGraphPath:(NSString *)graphPath - parameters:(NSDictionary *)parameters; - -/*! - @abstract Initializes a new instance that use use `[FBSDKAccessToken currentAccessToken]`. - @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 - HTTPMethod:(NSString *)HTTPMethod; - -/*! - @abstract Initializes a new instance. - @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 FBSDK_TARGET_PLATFORM_VERSION. - @param HTTPMethod the optional HTTP method (e.g., @"POST"). nil defaults to @"GET". - */ -- (instancetype)initWithGraphPath:(NSString *)graphPath - parameters:(NSDictionary *)parameters - tokenString:(NSString *)tokenString - version:(NSString *)version - HTTPMethod:(NSString *)HTTPMethod -NS_DESIGNATED_INITIALIZER; - -/*! - @abstract The request parameters. - */ -@property (nonatomic, strong, readonly) NSMutableDictionary *parameters; - -/*! - @abstract The access token string used by the request. - */ -@property (nonatomic, copy, readonly) NSString *tokenString; - -/*! - @abstract The Graph API endpoint to use for the request, for example "me". - */ -@property (nonatomic, copy, readonly) NSString *graphPath; - -/*! - @abstract The HTTPMethod to use for the request, for example "GET" or "POST". - */ -@property (nonatomic, copy, readonly) NSString *HTTPMethod; - -/*! - @abstract The Graph API version to use (e.g., "v2.0") - */ -@property (nonatomic, copy, readonly) NSString *version; - -/*! - @abstract If set, disables the automatic error recovery mechanism. - @param disable whether to disable the automatic error recovery mechanism - @discussion By default, non-batched FBSDKGraphRequest instances will automatically try to recover - from errors by constructing a `FBSDKGraphErrorRecoveryProcessor` instance that - re-issues the request on successful recoveries. The re-issued request will call the same - handler as the receiver but may occur with a different `FBSDKGraphRequestConnection` instance. - - This will override [FBSDKSettings setGraphErrorRecoveryDisabled:]. - */ -- (void)setGraphErrorRecoveryDisabled:(BOOL)disable; - -/*! - @abstract Starts a connection to the Graph API. - @param handler The handler block to call when the request completes. - */ -- (FBSDKGraphRequestConnection *)startWithCompletionHandler:(FBSDKGraphRequestHandler)handler; - -@end diff --git a/Vendor/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h b/Vendor/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h deleted file mode 100644 index 79ffb3f..0000000 --- a/Vendor/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h +++ /dev/null @@ -1,325 +0,0 @@ -// 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 - -#import - -@class FBSDKGraphRequest; -@class FBSDKGraphRequestConnection; - -/*! - @typedef FBSDKGraphRequestHandler - - @abstract - A block that is passed to addRequest to register for a callback with the results of that - request once the connection completes. - - @discussion - Pass a block of this type when calling addRequest. This will be called once - the request completes. The call occurs on the UI thread. - - @param connection The `FBSDKGraphRequestConnection` that sent the request. - - @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. - - @param error The `NSError` representing any error that occurred. - - */ -typedef void (^FBSDKGraphRequestHandler)(FBSDKGraphRequestConnection *connection, - id result, - NSError *error); - -/*! - @protocol - - @abstract - The `FBSDKGraphRequestConnectionDelegate` protocol defines the methods used to receive network - activity progress information from a . - */ -@protocol FBSDKGraphRequestConnectionDelegate - -@optional - -/*! - @method - - @abstract - Tells the delegate the request connection will begin loading - - @discussion - If the is created using one of the convenience factory methods prefixed with - start, the object returned from the convenience method has already begun loading and this method - will not be called when the delegate is set. - - @param connection The request connection that is starting a network request - */ -- (void)requestConnectionWillBeginLoading:(FBSDKGraphRequestConnection *)connection; - -/*! - @method - - @abstract - Tells the delegate the request connection finished loading - - @discussion - If the request connection completes without a network error occuring then this method is called. - Invocation of this method does not indicate success of every made, only that the - request connection has no further activity. Use the error argument passed to the FBSDKGraphRequestHandler - block to determine success or failure of each . - - This method is invoked after the completion handler for each . - - @param connection The request connection that successfully completed a network request - */ -- (void)requestConnectionDidFinishLoading:(FBSDKGraphRequestConnection *)connection; - -/*! - @method - - @abstract - Tells the delegate the request connection failed with an error - - @discussion - If the request connection fails with a network error then this method is called. The `error` - argument specifies why the network connection failed. The `NSError` object passed to the - FBSDKGraphRequestHandler block may contain additional information. - - @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 for reliable - failure information. - */ -- (void)requestConnection:(FBSDKGraphRequestConnection *)connection - didFailWithError:(NSError *)error; - -/*! - @method - - @abstract - Tells the delegate how much data has been sent and is planned to send to the remote host - - @discussion - The byte count arguments refer to the aggregated objects, not a particular . - - Like `NSURLConnection`, the values may change in unexpected ways if data needs to be resent. - - @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 - totalBytesWritten:(NSInteger)totalBytesWritten -totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite; - -@end - -/*! - @class FBSDKGraphRequestConnection - - @abstract - The `FBSDKGraphRequestConnection` represents a single connection to Facebook to service a request. - - @discussion - The request settings are encapsulated in a reusable object. The - `FBSDKGraphRequestConnection` object encapsulates the concerns of a single communication - e.g. starting a connection, canceling a connection, or batching requests. - - */ -@interface FBSDKGraphRequestConnection : NSObject - -/*! - @abstract - The delegate object that receives updates. - */ -@property (nonatomic, assign) id delegate; - -/*! - @abstract Gets or sets the timeout interval to wait for a response before giving up. - */ -@property (nonatomic) NSTimeInterval timeout; - -/*! - @abstract - The raw response that was returned from the server. (readonly) - - @discussion - This property can be used to inspect HTTP headers that were returned from - the server. - - The property is nil until the request completes. If there was a response - then this property will be non-nil during the FBSDKGraphRequestHandler callback. - */ -@property (nonatomic, retain, readonly) NSHTTPURLResponse *URLResponse; - -/*! - @methodgroup Class methods - */ - -/*! - @method - - @abstract - This method sets the default timeout on all FBSDKGraphRequestConnection instances. Defaults to 60 seconds. - - @param defaultConnectionTimeout The timeout interval. - */ -+ (void)setDefaultConnectionTimeout:(NSTimeInterval)defaultConnectionTimeout; - -/*! - @methodgroup Adding requests - */ - -/*! - @method - - @abstract - This method adds an object to this connection. - - @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. - - @discussion - The completion handler is retained until the block is called upon the - completion or cancellation of the connection. - */ -- (void)addRequest:(FBSDKGraphRequest *)request - completionHandler:(FBSDKGraphRequestHandler)handler; - -/*! - @method - - @abstract - This method adds an object to this connection. - - @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. - The handler will be invoked on the main thread. - - @param name An optional name for this request. This can be used to feed - the results of one request to the input of another in the same - `FBSDKGraphRequestConnection` as described in - [Graph API Batch Requests]( https://developers.facebook.com/docs/reference/api/batch/ ). - - @discussion - The completion handler is retained until the block is called upon the - completion or cancellation of the connection. This request can be named - to allow for using the request's response in a subsequent request. - */ -- (void)addRequest:(FBSDKGraphRequest *)request - completionHandler:(FBSDKGraphRequestHandler)handler - batchEntryName:(NSString *)name; - -/*! - @method - - @abstract - This method adds an object to this connection. - - @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. - - @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". - - @discussion - The completion handler is retained until the block is called upon the - completion or cancellation of the connection. This request can be named - to allow for using the request's response in a subsequent request. - */ -- (void)addRequest:(FBSDKGraphRequest *)request - completionHandler:(FBSDKGraphRequestHandler)handler - batchParameters:(NSDictionary *)batchParameters; - -/*! - @methodgroup Instance methods - */ - -/*! - @method - - @abstract - Signals that a connection should be logically terminated as the - application is no longer interested in a response. - - @discussion - Synchronously calls any handlers indicating the request was cancelled. Cancel - does not guarantee that the request-related processing will cease. It - does promise that all handlers will complete before the cancel returns. A call to - cancel prior to a start implies a cancellation of all requests associated - with the connection. - */ -- (void)cancel; - -/*! - @method - - @abstract - This method starts a connection with the server and is capable of handling all of the - requests that were added to the connection. - - @discussion By default, a connection is scheduled on the current thread in the default mode when it is created. - See `setDelegateQueue:` for other options. - - This method cannot be called twice for an `FBSDKGraphRequestConnection` instance. - */ -- (void)start; - -/*! - @abstract Determines the operation queue that is used to call methods on the connection's delegate. - @param queue The operation queue to use when calling delegate methods. - @discussion 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; - -/*! - @method - - @abstract - Overrides the default version for a batch request - - @discussion - The SDK automatically prepends a version part, such as "v2.0" to API paths in order to simplify API versioning - 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. - - @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; - -@end - -/*! - @abstract The key in the result dictionary for requests to old versions of the Graph API - whose response is not a JSON object. - - @discussion When a request returns a non-JSON response (such as a "true" literal), that response - 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; diff --git a/Vendor/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h b/Vendor/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h deleted file mode 100644 index c179e29..0000000 --- a/Vendor/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h +++ /dev/null @@ -1,52 +0,0 @@ -// 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 - -/*! - @abstract A container class for data attachments so that additional metadata can be provided about the attachment. - */ -@interface FBSDKGraphRequestDataAttachment : NSObject - -/*! - @abstract Initializes the receiver with the attachment data and metadata. - @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 - contentType:(NSString *)contentType -NS_DESIGNATED_INITIALIZER; - -/*! - @abstract The content type for the attachment. - */ -@property (nonatomic, copy, readonly) NSString *contentType; - -/*! - @abstract The attachment data. - */ -@property (nonatomic, strong, readonly) NSData *data; - -/*! - @abstract The filename for the attachment. - */ -@property (nonatomic, copy, readonly) NSString *filename; - -@end diff --git a/Vendor/FBSDKCoreKit.framework/Headers/FBSDKMacros.h b/Vendor/FBSDKCoreKit.framework/Headers/FBSDKMacros.h deleted file mode 100644 index fd2e2ff..0000000 --- a/Vendor/FBSDKCoreKit.framework/Headers/FBSDKMacros.h +++ /dev/null @@ -1,39 +0,0 @@ -// 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 - -#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] diff --git a/Vendor/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h b/Vendor/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h deleted file mode 100644 index 621fac9..0000000 --- a/Vendor/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h +++ /dev/null @@ -1,35 +0,0 @@ -// 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 - -#import - -/*! - @abstract Extension protocol for NSMutableCopying that adds the mutableCopy method, which is implemented on NSObject. - @discussion NSObject implicitly conforms to this protocol. - */ -@protocol FBSDKMutableCopying - -/*! - @abstract Implemented by NSObject as a convenience to mutableCopyWithZone:. - @return A mutable copy of the receiver. - */ -- (id)mutableCopy; - -@end diff --git a/Vendor/FBSDKCoreKit.framework/Headers/FBSDKProfile.h b/Vendor/FBSDKCoreKit.framework/Headers/FBSDKProfile.h deleted file mode 100644 index 11da3d9..0000000 --- a/Vendor/FBSDKCoreKit.framework/Headers/FBSDKProfile.h +++ /dev/null @@ -1,148 +0,0 @@ -// 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 "FBSDKMacros.h" -#import "FBSDKProfilePictureView.h" - -/*! - @abstract Notification indicating that the `currentProfile` has changed. - @discussion the userInfo dictionary of the notification will contain keys - `FBSDKProfileChangeOldKey` and - `FBSDKProfileChangeNewKey`. - */ -FBSDK_EXTERN NSString *const FBSDKProfileDidChangeNotification; - -/* @abstract key in notification's userInfo object for getting the old profile. - @discussion If there was no old profile, the key will not be present. - */ -FBSDK_EXTERN NSString *const FBSDKProfileChangeOldKey; - -/* @abstract key in notification's userInfo object for getting the new profile. - @discussion If there is no new profile, the key will not be present. - */ -FBSDK_EXTERN NSString *const FBSDKProfileChangeNewKey; - -/*! - @abstract Represents an immutable Facebook profile - @discussion This class provides a global "currentProfile" instance to more easily - add social context to your application. When the profile changes, a notification is - posted so that you can update relevant parts of your UI and is persisted to NSUserDefaults. - - Typically, you will want to call `enableUpdatesOnAccessTokenChange:YES` so that - it automatically observes changes to the `[FBSDKAccessToken currentAccessToken]`. - - You can use this class to build your own `FBSDKProfilePictureView` or in place of typical requests to "/me". - */ -@interface FBSDKProfile : NSObject - -/*! - @abstract initializes a new instance. - @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 - middleName:(NSString *)middleName - lastName:(NSString *)lastName - name:(NSString *)name - linkURL:(NSURL *)linkURL - refreshDate:(NSDate *)refreshDate NS_DESIGNATED_INITIALIZER; -/*! - @abstract The user id - */ -@property (nonatomic, readonly) NSString *userID; -/*! - @abstract The user's first name - */ -@property (nonatomic, readonly) NSString *firstName; -/*! - @abstract The user's middle name - */ -@property (nonatomic, readonly) NSString *middleName; -/*! - @abstract The user's last name - */ -@property (nonatomic, readonly) NSString *lastName; -/*! - @abstract The user's complete name - */ -@property (nonatomic, readonly) NSString *name; -/*! - @abstract A URL to the user's profile. - @discussion Consider using Bolts and `FBSDKAppLinkResolver` to resolve this - to an app link to link directly to the user's profile in the Facebook app. - */ -@property (nonatomic, readonly) NSURL *linkURL; - -/*! - @abstract The last time the profile data was fetched. - */ -@property (nonatomic, readonly) NSDate *refreshDate; - -/*! - @abstract Gets the current FBSDKProfile instance. - */ -+ (FBSDKProfile *)currentProfile; - -/*! - @abstract Sets the current instance and posts the appropriate notification if the profile parameter is different - than the receiver. - @param profile the profile to set - @discussion This persists the profile to NSUserDefaults. - */ -+ (void)setCurrentProfile:(FBSDKProfile *)profile; - -/*! - @abstract Indicates if `currentProfile` will automatically observe `FBSDKAccessTokenDidChangeNotification` notifications - @param enable YES is observing - @discussion 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. - - Note that if `[FBSDKAccessToken currentAccessToken]` is unset, the `currentProfile` instance remains. It's also possible - for `currentProfile` to return nil until the data is fetched. - */ -+ (void)enableUpdatesOnAccessTokenChange:(BOOL)enable; - -/*! - @abstract A convenience method for returning a complete `NSURL` for retrieving the user's profile image. - @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; - -/*! - @abstract A convenience method for returning a Graph API path for retrieving the user's profile image. - @deprecated use `imageURLForPictureMode:size:` instead - @discussion You can pass this to a `FBSDKGraphRequest` instance to download the image. - @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"))); - -/*! - @abstract Returns YES if the profile is equivalent to the receiver. - @param profile the profile to compare to. - */ -- (BOOL)isEqualToProfile:(FBSDKProfile *)profile; -@end diff --git a/Vendor/FBSDKCoreKit.framework/Headers/FBSDKProfilePictureView.h b/Vendor/FBSDKCoreKit.framework/Headers/FBSDKProfilePictureView.h deleted file mode 100644 index f1f64cb..0000000 --- a/Vendor/FBSDKCoreKit.framework/Headers/FBSDKProfilePictureView.h +++ /dev/null @@ -1,59 +0,0 @@ -// 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 - -/*! - @typedef FBSDKProfilePictureMode enum - @abstract Defines the aspect ratio mode for the source image of the profile picture. - */ -typedef NS_ENUM(NSUInteger, FBSDKProfilePictureMode) -{ - /*! - @abstract A square cropped version of the image will be included in the view. - */ - FBSDKProfilePictureModeSquare, - /*! - @abstract The original picture's aspect ratio will be used for the source image in the view. - */ - FBSDKProfilePictureModeNormal, -}; - -/*! - @abstract A view to display a profile picture. - */ -@interface FBSDKProfilePictureView : UIView - -/*! - @abstract The mode for the receiver to determine the aspect ratio of the source image. - */ -@property (nonatomic, assign) FBSDKProfilePictureMode pictureMode; - -/*! - @abstract The profile ID to show the picture for. - */ -@property (nonatomic, copy) NSString *profileID; - -/*! - @abstract Explicitly marks the receiver as needing to update the image. - @discussion This method is called whenever any properties that affect the source image are modified, but this can also - be used to trigger a manual update of the image if it needs to be re-downloaded. - */ -- (void)setNeedsImageUpdate; - -@end diff --git a/Vendor/FBSDKCoreKit.framework/Headers/FBSDKSettings.h b/Vendor/FBSDKCoreKit.framework/Headers/FBSDKSettings.h deleted file mode 100644 index edc0040..0000000 --- a/Vendor/FBSDKCoreKit.framework/Headers/FBSDKSettings.h +++ /dev/null @@ -1,209 +0,0 @@ -// 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 - -#import - -/* - * Constants defining logging behavior. Use with <[FBSDKSettings setLoggingBehavior]>. - */ - -/*! Include access token in logging. */ -FBSDK_EXTERN NSString *const FBSDKLoggingBehaviorAccessTokens; - -/*! Log performance characteristics */ -FBSDK_EXTERN NSString *const FBSDKLoggingBehaviorPerformanceCharacteristics; - -/*! Log FBSDKAppEvents interactions */ -FBSDK_EXTERN NSString *const FBSDKLoggingBehaviorAppEvents; - -/*! Log Informational occurrences */ -FBSDK_EXTERN NSString *const FBSDKLoggingBehaviorInformational; - -/*! Log cache errors. */ -FBSDK_EXTERN NSString *const FBSDKLoggingBehaviorCacheErrors; - -/*! Log errors from SDK UI controls */ -FBSDK_EXTERN 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; - -/*! 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; - -/*! Log errors from SDK network requests */ -FBSDK_EXTERN 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; - -@interface FBSDKSettings : NSObject - -/*! - @abstract Get the Facebook App ID used by the SDK. - @discussion If not explicitly set, the default will be read from the application's plist (FacebookAppID). - */ -+ (NSString *)appID; - -/*! - @abstract Set 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; - -/*! - @abstract Get the default url scheme suffix used for sessions. - @discussion If not explicitly set, the default will be read from the application's plist (FacebookUrlSchemeSuffix). - */ -+ (NSString *)appURLSchemeSuffix; - -/*! - @abstract Set the app url scheme suffix used by the SDK. - @param appURLSchemeSuffix The url scheme suffix to be used by the SDK. - */ -+ (void)setAppURLSchemeSuffix:(NSString *)appURLSchemeSuffix; - -/*! - @abstract Retrieve the Client Token that has been set via [FBSDKSettings setClientToken]. - @discussion If not explicitly set, the default will be read from the application's plist (FacebookClientToken). - */ -+ (NSString *)clientToken; - -/*! - @abstract Sets the Client Token for the Facebook App. - @discussion This is needed for certain API calls when made anonymously, without a user-based access token. - @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 - */ -+ (void)setClientToken:(NSString *)clientToken; - -/*! - @abstract A convenient way to toggle error recovery for all FBSDKGraphRequest instances created after this is set. - @param disableGraphErrorRecovery YES or NO. - */ -+ (void)setGraphErrorRecoveryDisabled:(BOOL)disableGraphErrorRecovery; - -/*! - @abstract Get the Facebook Display Name used by the SDK. - @discussion If not explicitly set, the default will be read from the application's plist (FacebookDisplayName). - */ -+ (NSString *)displayName; - -/*! - @abstract Set the default Facebook Display Name to be used by the SDK. - @discussion This should match the Display Name that has been set for the app with the corresponding Facebook App ID, - in the Facebook App Dashboard. - @param displayName The Facebook Display Name to be used by the SDK. - */ -+ (void)setDisplayName:(NSString *)displayName; - -/*! - @abstract Get the Facebook domain part. - @discussion If not explicitly set, the default will be read from the application's plist (FacebookDomainPart). - */ -+ (NSString *)facebookDomainPart; - -/*! - @abstract Set the subpart of the Facebook domain. - @discussion This can be used to change the Facebook domain (e.g. @"beta") so that requests will be sent to - graph.beta.facebook.com - @param facebookDomainPart The domain part to be inserted into facebook.com. - */ -+ (void)setFacebookDomainPart:(NSString *)facebookDomainPart; - -/*! - @abstract The quality of JPEG images sent to Facebook from the SDK. - @discussion 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) */ -+ (CGFloat)JPEGCompressionQuality; - -/*! - @abstract Set the quality of JPEG images sent to Facebook from the SDK. - @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) */ -+ (void)setJPEGCompressionQuality:(CGFloat)JPEGCompressionQuality; - -/*! - @abstract - 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. - */ -+ (BOOL)limitEventAndDataUsage; - -/*! - @abstract - 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. - - @param limitEventAndDataUsage The desired value. - */ -+ (void)setLimitEventAndDataUsage:(BOOL)limitEventAndDataUsage; - -/*! - @abstract Retrieve the current iOS SDK version. - */ -+ (NSString *)sdkVersion; - -/*! - @abstract Retrieve the current Facebook SDK logging behavior. - */ -+ (NSSet *)loggingBehavior; - -/*! - @abstract Set the current Facebook SDK logging behavior. This should consist of strings defined as - constants with FBSDKLoggingBehavior*. - - @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. - - @discussion You can also define this via an array in your app plist with key "FacebookLoggingBehavior" or add and remove individual values via enableLoggingBehavior: or disableLogginBehavior: - */ -+ (void)setLoggingBehavior:(NSSet *)loggingBehavior; - -/*! - @abstract Enable a particular Facebook SDK logging behavior. - - @param loggingBehavior The LoggingBehavior to enable. This should be a string defined as a constant with FBSDKLoggingBehavior*. - */ -+ (void)enableLoggingBehavior:(NSString *)loggingBehavior; - -/*! - @abstract Disable a particular Facebook SDK logging behavior. - - @param loggingBehavior The LoggingBehavior to disable. This should be a string defined as a constant with FBSDKLoggingBehavior*. - */ -+ (void)disableLoggingBehavior:(NSString *)loggingBehavior; - -/*! - @abstract Set the user defaults key used by legacy token caches. - - @param tokenInformationKeyName the key used by legacy token caches. - - @discussion Use this only if you customized FBSessionTokenCachingStrategy in v3.x of - the Facebook SDK for iOS. -*/ -+ (void)setLegacyUserDefaultTokenInformationKeyName:(NSString *)tokenInformationKeyName; - -/*! - @abstract Get the user defaults key used by legacy token caches. -*/ -+ (NSString *)legacyUserDefaultTokenInformationKeyName; - -@end diff --git a/Vendor/FBSDKCoreKit.framework/Headers/FBSDKTestUsersManager.h b/Vendor/FBSDKCoreKit.framework/Headers/FBSDKTestUsersManager.h deleted file mode 100644 index 7d2e0ac..0000000 --- a/Vendor/FBSDKCoreKit.framework/Headers/FBSDKTestUsersManager.h +++ /dev/null @@ -1,102 +0,0 @@ -// 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 - -@class FBSDKAccessToken; - -/*! - @typedef - - @abstract Callback block for returning an array of FBSDKAccessToken instances (and possibly `NSNull` instances); or an error. - */ -typedef void (^FBSDKTestUsersManagerRetrieveTestAccountTokensHandler)(NSArray *tokens, NSError *error) ; - -/*! - @typedef - - @abstract Callback block for removing a test user. - */ -typedef void (^FBSDKTestUsersManagerRemoveTestAccountHandler)(NSError *error) ; - - -/*! - @class FBSDKTestUsersManager - @abstract Provides methods for managing test accounts for testing Facebook integration. - - @discussion Facebook allows developers to create test accounts for testing their applications' - Facebook integration (see https://developers.facebook.com/docs/test_users/). This class - simplifies use of these accounts for writing tests. It is not designed for use in - production application code. - - This class will make Graph API calls on behalf of your app to manage test accounts and requires - an app id and app secret. You will typically use this class to write unit or integration tests. - Make sure you NEVER include your app secret in your production app. - */ -@interface FBSDKTestUsersManager : NSObject - -/*! - @abstract construct or return the shared instance - @param appID the Facebook app id - @param appSecret the Facebook app secret - */ -+ (instancetype)sharedInstanceForAppID:(NSString *)appID appSecret:(NSString *)appSecret; - -/*! - @abstract retrieve FBSDKAccessToken instances for test accounts with the specific permissions. - @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. - @param createIfNotFound if YES, new test accounts are created if no test accounts existed that fit the permissions - requirement - @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. - - @discussion If you are requesting test accounts with differing number of permissions, try to order - `arrayOfPermissionsArrays` so that the most number of permissions come first to minimize creation of new - test accounts. - */ -- (void)requestTestAccountTokensWithArraysOfPermissions:(NSArray *)arraysOfPermissions - createIfNotFound:(BOOL)createIfNotFound - completionHandler:(FBSDKTestUsersManagerRetrieveTestAccountTokensHandler)handler; - -/*! - @abstract add a test account with the specified permissions - @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; - -/*! - @abstract remove a test account for the given user id - @param userId the user id - @param handler the callback handler - */ -- (void)removeTestAccount:(NSString *)userId completionHandler:(FBSDKTestUsersManagerRemoveTestAccountHandler)handler; - -/*! - @abstract Make two test users friends with each other. - @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; - -@end diff --git a/Vendor/FBSDKCoreKit.framework/Headers/FBSDKUtility.h b/Vendor/FBSDKCoreKit.framework/Headers/FBSDKUtility.h deleted file mode 100644 index 46c490b..0000000 --- a/Vendor/FBSDKCoreKit.framework/Headers/FBSDKUtility.h +++ /dev/null @@ -1,55 +0,0 @@ -// 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 - -/*! - @abstract Class to contain common utility methods. - */ -@interface FBSDKUtility : NSObject - -/*! - @abstract Parses a query string into a dictionary. - @param queryString The query string value. - @return A dictionary with the key/value pairs. - */ -+ (NSDictionary *)dictionaryWithQueryString:(NSString *)queryString; - -/*! - @abstract Constructs a query string from a dictionary. - @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. - @result Query string representation of the parameters. - */ -+ (NSString *)queryStringWithDictionary:(NSDictionary *)dictionary error:(NSError *__autoreleasing *)errorRef; - -/*! - @abstract Decodes a value from an URL. - @param value The value to decode. - @result The decoded value. - */ -+ (NSString *)URLDecode:(NSString *)value; - -/*! - @abstract Encodes a value for an URL. - @param value The value to encode. - @result The encoded value. - */ -+ (NSString *)URLEncode:(NSString *)value; - -@end diff --git a/Vendor/FBSDKCoreKit.framework/Info.plist b/Vendor/FBSDKCoreKit.framework/Info.plist deleted file mode 100644 index b6dda8e..0000000 Binary files a/Vendor/FBSDKCoreKit.framework/Info.plist and /dev/null differ diff --git a/Vendor/FBSDKCoreKit.framework/Modules/module.modulemap b/Vendor/FBSDKCoreKit.framework/Modules/module.modulemap deleted file mode 100644 index 3c3e6e6..0000000 --- a/Vendor/FBSDKCoreKit.framework/Modules/module.modulemap +++ /dev/null @@ -1,31 +0,0 @@ -framework module FBSDKCoreKit { - umbrella header "FBSDKCoreKit.h" - - export * - module * { export * } - - explicit module FBSDKButton { - header "FBSDKButton.h" - export * - } - - explicit module FBSDKAppLinkResolver { - header "FBSDKAppLinkResolver.h" - export * - } - - explicit module FBSDKGraphErrorRecoveryProcessor { - header "FBSDKGraphErrorRecoveryProcessor.h" - export * - } - - explicit module FBSDKGraphRequestDataAttachment { - header "FBSDKGraphRequestDataAttachment.h" - export * - } - - explicit module FBSDKTestUsersManager { - header "FBSDKTestUsersManager.h" - export * - } -} diff --git a/Vendor/FBSDKCoreKit.framework/PrivateHeaders/FBSDKAccessTokenCacheV4.h b/Vendor/FBSDKCoreKit.framework/PrivateHeaders/FBSDKAccessTokenCacheV4.h deleted file mode 100644 index 7fa7d7f..0000000 --- a/Vendor/FBSDKCoreKit.framework/PrivateHeaders/FBSDKAccessTokenCacheV4.h +++ /dev/null @@ -1,26 +0,0 @@ -// 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 - -#import "FBSDKAccessToken.h" -#import "FBSDKAccessTokenCaching.h" - -@interface FBSDKAccessTokenCacheV4 : NSObject - -@end diff --git a/Vendor/FBSDKCoreKit.framework/PrivateHeaders/FBSDKBridgeAPICrypto.h b/Vendor/FBSDKCoreKit.framework/PrivateHeaders/FBSDKBridgeAPICrypto.h deleted file mode 100644 index 7d488e7..0000000 --- a/Vendor/FBSDKCoreKit.framework/PrivateHeaders/FBSDKBridgeAPICrypto.h +++ /dev/null @@ -1,31 +0,0 @@ -// 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 - -#import "FBSDKBridgeAPIRequest.h" - -@interface FBSDKBridgeAPICrypto : NSObject - -+ (void)addCipherKeyToQueryParameters:(NSMutableDictionary *)queryParameters; -+ (NSDictionary *)decryptResponseForRequest:(FBSDKBridgeAPIRequest *)request - queryParameters:(NSDictionary *)queryParameters - error:(NSError *__autoreleasing *)errorRef; -+ (void)reset; - -@end diff --git a/Vendor/FBSDKCoreKit.framework/PrivateHeaders/FBSDKBridgeAPIProtocol.h b/Vendor/FBSDKCoreKit.framework/PrivateHeaders/FBSDKBridgeAPIProtocol.h deleted file mode 100644 index 679577c..0000000 --- a/Vendor/FBSDKCoreKit.framework/PrivateHeaders/FBSDKBridgeAPIProtocol.h +++ /dev/null @@ -1,44 +0,0 @@ -// 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 - -#import - -#import "FBSDKBridgeAPIProtocolType.h" - -@class FBSDKBridgeAPIRequest; - -FBSDK_EXTERN NSString *const FBSDKBridgeAPIAppIDKey; -FBSDK_EXTERN NSString *const FBSDKBridgeAPISchemeSuffixKey; -FBSDK_EXTERN NSString *const FBSDKBridgeAPIVersionKey; - -@protocol FBSDKBridgeAPIProtocol - -- (NSURL *)requestURLWithActionID:(NSString *)actionID - scheme:(NSString *)scheme - methodName:(NSString *)methodName - methodVersion:(NSString *)methodVersion - parameters:(NSDictionary *)parameters - error:(NSError *__autoreleasing *)errorRef; -- (NSDictionary *)responseParametersForActionID:(NSString *)actionID - queryParameters:(NSDictionary *)queryParameters - cancelled:(BOOL *)cancelledRef - error:(NSError *__autoreleasing *)errorRef; - -@end diff --git a/Vendor/FBSDKCoreKit.framework/PrivateHeaders/FBSDKBridgeAPIProtocolNativeV1.h b/Vendor/FBSDKCoreKit.framework/PrivateHeaders/FBSDKBridgeAPIProtocolNativeV1.h deleted file mode 100644 index 8fd34bd..0000000 --- a/Vendor/FBSDKCoreKit.framework/PrivateHeaders/FBSDKBridgeAPIProtocolNativeV1.h +++ /dev/null @@ -1,70 +0,0 @@ -// 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 - -#import - -#import "FBSDKBridgeAPIProtocol.h" - -typedef struct -{ - __unsafe_unretained NSString *bridgeArgs; - __unsafe_unretained NSString *methodArgs; - __unsafe_unretained NSString *methodVersion; -} FBSDKBridgeAPIProtocolNativeV1OutputKeysStruct; -FBSDK_EXTERN const FBSDKBridgeAPIProtocolNativeV1OutputKeysStruct FBSDKBridgeAPIProtocolNativeV1OutputKeys; - -typedef struct -{ - __unsafe_unretained NSString *actionID; - __unsafe_unretained NSString *appIcon; - __unsafe_unretained NSString *appName; - __unsafe_unretained NSString *sdkVersion; -} FBSDKBridgeAPIProtocolNativeV1BridgeParameterOutputKeysStruct; -FBSDK_EXTERN const FBSDKBridgeAPIProtocolNativeV1BridgeParameterOutputKeysStruct FBSDKBridgeAPIProtocolNativeV1BridgeParameterOutputKeys; - -typedef struct -{ - __unsafe_unretained NSString *bridgeArgs; - __unsafe_unretained NSString *methodResults; -} FBSDKBridgeAPIProtocolNativeV1InputKeysStruct; -FBSDK_EXTERN const FBSDKBridgeAPIProtocolNativeV1InputKeysStruct FBSDKBridgeAPIProtocolNativeV1InputKeys; - -typedef struct -{ - __unsafe_unretained NSString *actionID; - __unsafe_unretained NSString *error; -} FBSDKBridgeAPIProtocolNativeV1BridgeParameterInputKeysStruct; -FBSDK_EXTERN const FBSDKBridgeAPIProtocolNativeV1BridgeParameterInputKeysStruct FBSDKBridgeAPIProtocolNativeV1BridgeParameterInputKeys; - -@interface FBSDKBridgeAPIProtocolNativeV1 : NSObject - -- (instancetype)initWithAppScheme:(NSString *)appScheme; -- (instancetype)initWithAppScheme:(NSString *)appScheme - pasteboard:(UIPasteboard *)pasteboard - dataLengthThreshold:(NSUInteger)dataLengthThreshold - includeAppIcon:(BOOL)includeAppIcon -NS_DESIGNATED_INITIALIZER; - -@property (nonatomic, copy, readonly) NSString *appScheme; -@property (nonatomic, assign, readonly) NSUInteger dataLengthThreshold; -@property (nonatomic, assign, readonly) BOOL includeAppIcon; -@property (nonatomic, strong, readonly) UIPasteboard *pasteboard; - -@end diff --git a/Vendor/FBSDKCoreKit.framework/PrivateHeaders/FBSDKBridgeAPIProtocolWebV1.h b/Vendor/FBSDKCoreKit.framework/PrivateHeaders/FBSDKBridgeAPIProtocolWebV1.h deleted file mode 100644 index c7b28f4..0000000 --- a/Vendor/FBSDKCoreKit.framework/PrivateHeaders/FBSDKBridgeAPIProtocolWebV1.h +++ /dev/null @@ -1,25 +0,0 @@ -// 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 - -#import "FBSDKBridgeAPIProtocol.h" - -@interface FBSDKBridgeAPIProtocolWebV1 : NSObject - -@end diff --git a/Vendor/FBSDKCoreKit.framework/PrivateHeaders/FBSDKError.h b/Vendor/FBSDKCoreKit.framework/PrivateHeaders/FBSDKError.h deleted file mode 100644 index f37bd86..0000000 --- a/Vendor/FBSDKCoreKit.framework/PrivateHeaders/FBSDKError.h +++ /dev/null @@ -1,56 +0,0 @@ -// 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 - -@interface FBSDKError : NSObject - -+ (NSString *)errorDomain; - -+ (BOOL)errorIsNetworkError:(NSError *)error; - -+ (NSError *)errorWithCode:(NSInteger)code message:(NSString *)message; -+ (NSError *)errorWithCode:(NSInteger)code message:(NSString *)message underlyingError:(NSError *)underlyingError; -+ (NSError *)errorWithCode:(NSInteger)code - userInfo:(NSDictionary *)userInfo - message:(NSString *)message - underlyingError:(NSError *)underlyingError; - -+ (NSError *)invalidArgumentErrorWithName:(NSString *)name value:(id)value message:(NSString *)message; -+ (NSError *)invalidArgumentErrorWithName:(NSString *)name - value:(id)value - message:(NSString *)message - underlyingError:(NSError *)underlyingError; -+ (NSError *)invalidCollectionErrorWithName:(NSString *)name - collection:(id)collection - item:(id)item - message:(NSString *)message; -+ (NSError *)invalidCollectionErrorWithName:(NSString *)name - collection:(id)collection - item:(id)item - message:(NSString *)message - underlyingError:(NSError *)underlyingError; - -+ (NSError *)requiredArgumentErrorWithName:(NSString *)name message:(NSString *)message; -+ (NSError *)requiredArgumentErrorWithName:(NSString *)name - message:(NSString *)message - underlyingError:(NSError *)underlyingError; - -+ (NSError *)unknownErrorWithMessage:(NSString *)message; - -@end diff --git a/Vendor/FBSDKCoreKit.framework/PrivateHeaders/FBSDKGraphRequestBody.h b/Vendor/FBSDKCoreKit.framework/PrivateHeaders/FBSDKGraphRequestBody.h deleted file mode 100644 index b61c782..0000000 --- a/Vendor/FBSDKCoreKit.framework/PrivateHeaders/FBSDKGraphRequestBody.h +++ /dev/null @@ -1,47 +0,0 @@ -// 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 -#import - -@class FBSDKGraphRequestDataAttachment; -@class FBSDKLogger; - -@interface FBSDKGraphRequestBody : NSObject - -@property (nonatomic, retain, readonly) NSData *data; - -- (void)appendWithKey:(NSString *)key - formValue:(NSString *)value - logger:(FBSDKLogger *)logger; - -- (void)appendWithKey:(NSString *)key - imageValue:(UIImage *)image - logger:(FBSDKLogger *)logger; - -- (void)appendWithKey:(NSString *)key - dataValue:(NSData *)data - logger:(FBSDKLogger *)logger; - -- (void)appendWithKey:(NSString *)key - dataAttachmentValue:(FBSDKGraphRequestDataAttachment *)dataAttachment - logger:(FBSDKLogger *)logger; - -+ (NSString *)mimeContentType; - -@end diff --git a/Vendor/FBSDKCoreKit.framework/PrivateHeaders/FBSDKGraphRequestMetadata.h b/Vendor/FBSDKCoreKit.framework/PrivateHeaders/FBSDKGraphRequestMetadata.h deleted file mode 100644 index cd218c4..0000000 --- a/Vendor/FBSDKCoreKit.framework/PrivateHeaders/FBSDKGraphRequestMetadata.h +++ /dev/null @@ -1,40 +0,0 @@ -// 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 - -#import - -// Internal only class to facilitate FBSDKGraphRequest processing, specifically -// associating FBSDKGraphRequest and FBSDKGraphRequestHandler instances and necessary -// data for retry processing. -@interface FBSDKGraphRequestMetadata : NSObject - -@property (nonatomic, retain) FBSDKGraphRequest *request; -@property (nonatomic, copy) FBSDKGraphRequestHandler completionHandler; -@property (nonatomic, copy) NSDictionary *batchParameters; - -- (instancetype)initWithRequest:(FBSDKGraphRequest *)request - completionHandler:(FBSDKGraphRequestHandler)handler - batchParameters:(NSDictionary *)batchParameters -NS_DESIGNATED_INITIALIZER; - -- (void)invokeCompletionHandlerForConnection:(FBSDKGraphRequestConnection *)connection - withResults:(id)results - error:(NSError *)error; -@end diff --git a/Vendor/FBSDKCoreKit.framework/PrivateHeaders/FBSDKURLConnection.h b/Vendor/FBSDKCoreKit.framework/PrivateHeaders/FBSDKURLConnection.h deleted file mode 100644 index cbe80a0..0000000 --- a/Vendor/FBSDKCoreKit.framework/PrivateHeaders/FBSDKURLConnection.h +++ /dev/null @@ -1,51 +0,0 @@ -// 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 - -@class FBSDKURLConnection; - -typedef void (^FBSDKURLConnectionHandler)(FBSDKURLConnection *connection, - NSError *error, - NSURLResponse *response, - NSData *responseData); - -@protocol FBSDKURLConnectionDelegate - -@optional - -- (void)facebookURLConnection:(FBSDKURLConnection *)connection - didSendBodyData:(NSInteger)bytesWritten - totalBytesWritten:(NSInteger)totalBytesWritten - totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite; - -@end - -@interface FBSDKURLConnection : NSObject - -- (FBSDKURLConnection *)initWithRequest:(NSURLRequest *)request - completionHandler:(FBSDKURLConnectionHandler)handler -NS_DESIGNATED_INITIALIZER; - -@property (nonatomic, assign) id delegate; - -- (void)cancel; -- (void)start; -- (void)setDelegateQueue:(NSOperationQueue *)queue; - -@end diff --git a/Vendor/FBSDKCoreKit.framework/PrivateHeaders/FBSDKWebDialogView.h b/Vendor/FBSDKCoreKit.framework/PrivateHeaders/FBSDKWebDialogView.h deleted file mode 100644 index 9ad7427..0000000 --- a/Vendor/FBSDKCoreKit.framework/PrivateHeaders/FBSDKWebDialogView.h +++ /dev/null @@ -1,39 +0,0 @@ -// 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 - -@protocol FBSDKWebDialogViewDelegate; - -@interface FBSDKWebDialogView : UIView - -@property (nonatomic, assign) id delegate; - -- (void)loadURL:(NSURL *)URL; -- (void)stopLoading; - -@end - -@protocol FBSDKWebDialogViewDelegate - -- (void)webDialogView:(FBSDKWebDialogView *)webDialogView didCompleteWithResults:(NSDictionary *)results; -- (void)webDialogView:(FBSDKWebDialogView *)webDialogView didFailWithError:(NSError *)error; -- (void)webDialogViewDidCancel:(FBSDKWebDialogView *)webDialogView; -- (void)webDialogViewDidFinishLoad:(FBSDKWebDialogView *)webDialogView; - -@end diff --git a/Vendor/FBSDKLoginKit.framework/FBSDKLoginKit b/Vendor/FBSDKLoginKit.framework/FBSDKLoginKit deleted file mode 100644 index d6b45c5..0000000 Binary files a/Vendor/FBSDKLoginKit.framework/FBSDKLoginKit and /dev/null differ diff --git a/Vendor/FBSDKLoginKit.framework/Headers/FBSDKLoginButton.h b/Vendor/FBSDKLoginKit.framework/Headers/FBSDKLoginButton.h deleted file mode 100644 index 51499d4..0000000 --- a/Vendor/FBSDKLoginKit.framework/Headers/FBSDKLoginButton.h +++ /dev/null @@ -1,128 +0,0 @@ -// 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 - -#import - -#import - -#import "FBSDKTooltipView.h" - -@protocol FBSDKLoginButtonDelegate; - -/*! - @typedef NS_ENUM(NSUInteger, FBSDKLoginButtonTooltipBehavior) - @abstract Indicates the desired login tooltip behavior. - */ -typedef NS_ENUM(NSUInteger, FBSDKLoginButtonTooltipBehavior) -{ - /*! The default behavior. The tooltip will only be displayed if - the app is eligible (determined by possible server round trip) */ - FBSDKLoginButtonTooltipBehaviorAutomatic = 0, - /*! Force display of the tooltip (typically for UI testing) */ - FBSDKLoginButtonTooltipBehaviorForceDisplay = 1, - /*! Force disable. In this case you can still exert more refined - control by manually constructing a `FBSDKLoginTooltipView` instance. */ - FBSDKLoginButtonTooltipBehaviorDisable = 2 -}; - -/*! - @abstract A button that initiates a log in or log out flow upon tapping. - @discussion `FBSDKLoginButton` works with `[FBSDKAccessToken currentAccessToken]` to - determine what to display, and automatically starts authentication when tapped (i.e., - you do not need to manually subscribe action targets). - - Like `FBSDKLoginManager`, you should make sure your app delegate is connected to - `FBSDKApplicationDelegate` in order for the button's delegate to receive messages. - - `FBSDKLoginButton` has a fixed height, but you may change the width. `initWithFrame:CGRectZero` - will size the button to its minimum frame. -*/ -@interface FBSDKLoginButton : FBSDKButton - -/*! - @abstract The default audience to use, if publish permissions are requested at login time. - */ -@property (assign, nonatomic) FBSDKDefaultAudience defaultAudience; -/*! - @abstract Gets or sets the delegate. - */ -@property (weak, nonatomic) IBOutlet id delegate; -/*! - @abstract Gets or sets the login behavior to use - */ -@property (assign, nonatomic) FBSDKLoginBehavior loginBehavior; -/*! - @abstract The publish permissions to request. - - @discussion Use `defaultAudience` to specify the default audience to publish to. - Note this is converted to NSSet and is only - an NSArray for the convenience of literal syntax. - */ -@property (copy, nonatomic) NSArray *publishPermissions; -/*! - @abstract The read permissions to request. - - @discussion Note, that if read permissions are specified, then publish permissions should not be specified. This is converted to NSSet and is only - an NSArray for the convenience of literal syntax. - */ -@property (copy, nonatomic) NSArray *readPermissions; -/*! - @abstract Gets or sets the desired tooltip behavior. - */ -@property (assign, nonatomic) FBSDKLoginButtonTooltipBehavior tooltipBehavior; -/*! - @abstract Gets or sets the desired tooltip color style. - */ -@property (assign, nonatomic) FBSDKTooltipColorStyle tooltipColorStyle; - -@end - -/*! - @protocol - @abstract A delegate for `FBSDKLoginButton` - */ -@protocol FBSDKLoginButtonDelegate - -@required -/*! - @abstract Sent to the delegate when the button was used to 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 - error:(NSError *)error; - -/*! - @abstract Sent to the delegate when the button was used to logout. - @param loginButton The button that was clicked. -*/ -- (void)loginButtonDidLogOut:(FBSDKLoginButton *)loginButton; - -@optional -/*! - @abstract Sent to the delegate when the button is about to login. - @param loginButton the sender - @return YES if the login should be allowed to proceed, NO otherwise - */ -- (BOOL) loginButtonWillLogin:(FBSDKLoginButton *)loginButton; - -@end diff --git a/Vendor/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h b/Vendor/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h deleted file mode 100644 index 100c09a..0000000 --- a/Vendor/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h +++ /dev/null @@ -1,75 +0,0 @@ -// 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 - -#import - -/*! - @abstract The error domain for all errors from FBSDKLoginKit - @discussion Error codes from the SDK in the range 300-399 are reserved for this domain. - */ -FBSDK_EXTERN NSString *const FBSDKLoginErrorDomain; - -/*! - @typedef NS_ENUM(NSInteger, FBSDKLoginErrorCode) - @abstract Error codes for FBSDKLoginErrorDomain. - */ -typedef NS_ENUM(NSInteger, FBSDKLoginErrorCode) -{ - /*! - @abstract Reserved. - */ - FBSDKLoginReservedErrorCode = 300, - /*! - @abstract The error code for unknown errors. - */ - FBSDKLoginUnknownErrorCode, - - /*! - @abstract The user's password has changed and must log in again - */ - FBSDKLoginPasswordChangedErrorCode, - /*! - @abstract The user must log in to their account on www.facebook.com to restore access - */ - FBSDKLoginUserCheckpointedErrorCode, - /*! - @abstract Indicates a failure to request new permissions because the user has changed. - */ - FBSDKLoginUserMismatchErrorCode, - /*! - @abstract The user must confirm their account with Facebook before logging in - */ - FBSDKLoginUnconfirmedUserErrorCode, - - /*! - @abstract 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, - /*! - @abstract An error occurred related to Facebook system Account store - */ - FBSDKLoginSystemAccountUnavailableErrorCode, - /*! - @abstract The login response was missing a valid challenge string. - */ - FBSDKLoginBadChallengeString, -}; diff --git a/Vendor/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h b/Vendor/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h deleted file mode 100644 index 4723940..0000000 --- a/Vendor/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h +++ /dev/null @@ -1,25 +0,0 @@ -// 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 - -#import -#import -#import -#import -#import diff --git a/Vendor/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h b/Vendor/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h deleted file mode 100644 index ee35bd8..0000000 --- a/Vendor/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h +++ /dev/null @@ -1,202 +0,0 @@ -// 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 -#import -#import - -@class FBSDKLoginManagerLoginResult; - -/*! - @abstract Describes the call back to the FBSDKLoginManager - @param result the result of the authorization - @param error the authorization error, if any. - */ -typedef void (^FBSDKLoginManagerRequestTokenHandler)(FBSDKLoginManagerLoginResult *result, NSError *error); - - -/*! - @typedef FBSDKDefaultAudience enum - - @abstract - Passed to open to indicate which default audience to use for sessions that post data to Facebook. - - @discussion - Certain operations such as publishing a status or publishing a photo require an audience. When the user - grants an application permission to perform a publish operation, a default audience is selected as the - publication ceiling for the application. This enumerated value allows the application to select which - audience to ask the user to grant publish permission for. - */ -typedef NS_ENUM(NSUInteger, FBSDKDefaultAudience) -{ - /*! Indicates that the user's friends are able to see posts made by the application */ - FBSDKDefaultAudienceFriends = 0, - /*! Indicates that only the user is able to see posts made by the application */ - FBSDKDefaultAudienceOnlyMe, - /*! Indicates that all Facebook users are able to see posts made by the application */ - FBSDKDefaultAudienceEveryone, -}; - -/*! - @typedef FBSDKLoginBehavior enum - - @abstract - Passed to the \c FBSDKLoginManager to indicate how Facebook Login should be attempted. - - @discussion - Facebook Login authorizes the application to act on behalf of the user, using the user's - Facebook account. Usually a Facebook Login will rely on an account maintained outside of - the application, by the native Facebook application, the browser, or perhaps the device - itself. This avoids the need for a user to enter their username and password directly, and - provides the most secure and lowest friction way for a user to authorize the application to - interact with Facebook. - - The \c FBSDKLoginBehavior enum specifies which log-in methods may be used. The SDK - will determine the best behavior based on the current device (such as iOS version). - */ -typedef NS_ENUM(NSUInteger, FBSDKLoginBehavior) -{ - /*! - @abstract This is the default behavior, and indicates logging in through the native - Facebook app may be used. The SDK may still use Safari instead. - */ - FBSDKLoginBehaviorNative = 0, - /*! - @abstract Attempts log in through the Safari or SFSafariViewController, if available. - */ - FBSDKLoginBehaviorBrowser, - /*! - @abstract Attempts log in through the Facebook account currently signed in through - the device Settings. - @note If the account is not available to the app (either not configured by user or - as determined by the SDK) this behavior falls back to \c FBSDKLoginBehaviorNative. - */ - FBSDKLoginBehaviorSystemAccount, - /*! - @abstract Attemps log in through a modal \c UIWebView pop up - - @note This behavior is only available to certain types of apps. Please check the Facebook - Platform Policy to verify your app meets the restrictions. - */ - FBSDKLoginBehaviorWeb, -}; - -/*! - @abstract `FBSDKLoginManager` provides methods for logging the user in and out. - @discussion `FBSDKLoginManager` works directly with `[FBSDKAccessToken currentAccessToken]` and - sets the "currentAccessToken" upon successful authorizations (or sets `nil` in case of `logOut`). - - You should check `[FBSDKAccessToken currentAccessToken]` before calling logIn* to see if there is - a cached token available (typically in your viewDidLoad). - - If you are managing your own token instances outside of "currentAccessToken", you will need to set - "currentAccessToken" before calling logIn* to authorize futher permissions on your tokens. - */ -@interface FBSDKLoginManager : NSObject - -/*! - @abstract the default audience. - @discussion you should set this if you intend to ask for publish permissions. - */ -@property (assign, nonatomic) FBSDKDefaultAudience defaultAudience; - -/*! - @abstract the login behavior - */ -@property (assign, nonatomic) FBSDKLoginBehavior loginBehavior; - -/*! - @deprecated use logInWithReadPermissions:fromViewController:handler: instead - */ -- (void)logInWithReadPermissions:(NSArray *)permissions handler:(FBSDKLoginManagerRequestTokenHandler)handler -__attribute__ ((deprecated("use logInWithReadPermissions:fromViewController:handler: instead"))); - -/*! - @deprecated use logInWithPublishPermissions:fromViewController:handler: instead - */ -- (void)logInWithPublishPermissions:(NSArray *)permissions handler:(FBSDKLoginManagerRequestTokenHandler)handler -__attribute__ ((deprecated("use logInWithPublishPermissions:fromViewController:handler: instead"))); - -/*! - @abstract Logs the user in or authorizes additional permissions. - @param permissions the optional array of permissions. Note this is converted to NSSet and is only - an NSArray for the convenience of literal syntax. - @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. - @discussion 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 - provide more information to the user if they decline permissions. - - If `[FBSDKAccessToken currentAccessToken]` is not nil, it will be treated as a reauthorization for that user - and will pass the "rerequest" flag to the login dialog. - - This method will present UI the user. You typically should check if `[FBSDKAccessToken currentAccessToken]` - already contains the permissions you need before asking to reduce unnecessary app switching. For example, - you could make that check at viewDidLoad. - */ -- (void)logInWithReadPermissions:(NSArray *)permissions - fromViewController:(UIViewController *)fromViewController - handler:(FBSDKLoginManagerRequestTokenHandler)handler; - -/*! - @abstract Logs the user in or authorizes additional permissions. - @param permissions the optional array of permissions. Note this is converted to NSSet and is only - an NSArray for the convenience of literal syntax. - @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. - @discussion 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 - provide more information to the user if they decline permissions. - - If `[FBSDKAccessToken currentAccessToken]` is not nil, it will be treated as a reauthorization for that user - and will pass the "rerequest" flag to the login dialog. - - This method will present UI the user. You typically should check if `[FBSDKAccessToken currentAccessToken]` - already contains the permissions you need before asking to reduce unnecessary app switching. For example, - you could make that check at viewDidLoad. - */ -- (void)logInWithPublishPermissions:(NSArray *)permissions - fromViewController:(UIViewController *)fromViewController - handler:(FBSDKLoginManagerRequestTokenHandler)handler; - -/*! - @abstract Logs the user out - @discussion This calls [FBSDKAccessToken setCurrentAccessToken:nil] and [FBSDKProfile setCurrentProfile:nil]. - */ -- (void)logOut; - -/*! - @method - - @abstract Issues an asychronous renewCredentialsForAccount call to the device's Facebook account store. - - @param handler The completion handler to call when the renewal is completed. This can be invoked on an arbitrary thread. - - @discussion This can be used to explicitly renew account credentials and is provided as a convenience wrapper around - `[ACAccountStore renewCredentialsForAccount:completion]`. Note the method will not issue the renewal call if the the - Facebook account has not been set on the device, or if access had not been granted to the account (though the handler - wil receive an error). - - If the `[FBSDKAccessToken currentAccessToken]` was from the account store, a succesful renewal will also set - a new "currentAccessToken". - */ -+ (void)renewSystemCredentials:(void (^)(ACAccountCredentialRenewResult result, NSError *error))handler; - -@end diff --git a/Vendor/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h b/Vendor/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h deleted file mode 100644 index 36a1af6..0000000 --- a/Vendor/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h +++ /dev/null @@ -1,62 +0,0 @@ -// 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 - -@class FBSDKAccessToken; - -/*! - @abstract Describes the result of a login attempt. - */ -@interface FBSDKLoginManagerLoginResult : NSObject - -/*! - @abstract the access token. - */ -@property (copy, nonatomic) FBSDKAccessToken *token; - -/*! - @abstract whether the login was cancelled by the user. - */ -@property (readonly, nonatomic) BOOL isCancelled; - -/*! - @abstract the set of permissions granted by the user in the associated request. - @discussion inspect the token's permissions set for a complete list. - */ -@property (copy, nonatomic) NSSet *grantedPermissions; - -/*! - @abstract the set of permissions declined by the user in the associated request. - @discussion inspect the token's permissions set for a complete list. - */ -@property (copy, nonatomic) NSSet *declinedPermissions; - -/*! - @abstract Initializes a new instance. - @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 - grantedPermissions:(NSSet *)grantedPermissions - declinedPermissions:(NSSet *)declinedPermissions -NS_DESIGNATED_INITIALIZER; -@end diff --git a/Vendor/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h b/Vendor/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h deleted file mode 100644 index e6a9411..0000000 --- a/Vendor/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h +++ /dev/null @@ -1,93 +0,0 @@ -// 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 - -#import - -@protocol FBSDKLoginTooltipViewDelegate; - -/*! - @class FBSDKLoginTooltipView - - @abstract Represents a tooltip to be displayed next to a Facebook login button - to highlight features for new users. - - @discussion The `FBSDKLoginButton` may display this view automatically. If you do - not use the `FBSDKLoginButton`, you can manually call one of the `present*` methods - as appropriate and customize behavior via `FBSDKLoginTooltipViewDelegate` delegate. - - By default, the `FBSDKLoginTooltipView` is not added to the superview until it is - determined the app has migrated to the new login experience. You can override this - (e.g., to test the UI layout) by implementing the delegate or setting `forceDisplay` to YES. - - */ -@interface FBSDKLoginTooltipView : FBSDKTooltipView - -/*! @abstract the delegate */ -@property (nonatomic, assign) id delegate; - -/*! @abstract if set to YES, the view will always be displayed and the delegate's - `loginTooltipView:shouldAppear:` will NOT be called. */ -@property (nonatomic, assign) BOOL forceDisplay; - -@end - -/*! - @protocol - - @abstract - The `FBSDKLoginTooltipViewDelegate` protocol defines the methods used to receive event - notifications from `FBSDKLoginTooltipView` objects. - */ -@protocol FBSDKLoginTooltipViewDelegate - -@optional - -/*! - @abstract - Asks the delegate if the tooltip view should appear - - @param view The tooltip view. - @param appIsEligible The value fetched from the server identifying if the app - is eligible for the new login experience. - - @discussion Use this method to customize display behavior. - */ -- (BOOL)loginTooltipView:(FBSDKLoginTooltipView *)view shouldAppear:(BOOL)appIsEligible; - -/*! - @abstract - Tells the delegate the tooltip view will appear, specifically after it's been - added to the super view but before the fade in animation. - - @param view The tooltip view. - */ -- (void)loginTooltipViewWillAppear:(FBSDKLoginTooltipView *)view; - -/*! - @abstract - Tells the delegate the tooltip view will not appear (i.e., was not - added to the super view). - - @param view The tooltip view. - */ -- (void)loginTooltipViewWillNotAppear:(FBSDKLoginTooltipView *)view; - - -@end diff --git a/Vendor/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h b/Vendor/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h deleted file mode 100644 index aff1067..0000000 --- a/Vendor/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h +++ /dev/null @@ -1,141 +0,0 @@ -// 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 - -/*! - @typedef FBSDKTooltipViewArrowDirection enum - - @abstract - Passed on construction to determine arrow orientation. - */ -typedef NS_ENUM(NSUInteger, FBSDKTooltipViewArrowDirection) -{ - /*! View is located above given point, arrow is pointing down. */ - FBSDKTooltipViewArrowDirectionDown = 0, - /*! View is located below given point, arrow is pointing up. */ - FBSDKTooltipViewArrowDirectionUp = 1, -}; - -/*! - @typedef FBSDKTooltipColorStyle enum - - @abstract - Passed on construction to determine color styling. - */ -typedef NS_ENUM(NSUInteger, FBSDKTooltipColorStyle) -{ - /*! Light blue background, white text, faded blue close button. */ - FBSDKTooltipColorStyleFriendlyBlue = 0, - /*! Dark gray background, white text, light gray close button. */ - FBSDKTooltipColorStyleNeutralGray = 1, -}; - -/*! - @class FBSDKTooltipView - - @abstract - Tooltip bubble with text in it used to display tips for UI elements, - with a pointed arrow (to refer to the UI element). - - @discussion - The tooltip fades in and will automatically fade out. See `displayDuration`. - */ -@interface FBSDKTooltipView : UIView - -/*! - @abstract Gets or sets the amount of time in seconds the tooltip should be displayed. - - @discussion Set this to zero to make the display permanent until explicitly dismissed. - Defaults to six seconds. - */ -@property (nonatomic, assign) CFTimeInterval displayDuration; - -/*! - @abstract Gets or sets the color style after initialization. - - @discussion Defaults to value passed to -initWithTagline:message:colorStyle:. - */ -@property (nonatomic, assign) FBSDKTooltipColorStyle colorStyle; - -/*! - @abstract Gets or sets the message. - */ -@property (nonatomic, copy) NSString *message; - -/*! - @abstract Gets or sets the optional phrase that comprises the first part of the label (and is highlighted differently). - */ -@property (nonatomic, copy) NSString *tagline; - -/*! - @abstract - Designated initializer. - - @param tagline First part of the label, that will be highlighted with different color. Can be nil. - - @param message Main message to display. - - @param colorStyle Color style to use for tooltip. - - @discussion - If you need to show a tooltip for login, consider using the `FBSDKLoginTooltipView` view. - - @see FBSDKLoginTooltipView - */ -- (instancetype)initWithTagline:(NSString *)tagline message:(NSString *)message colorStyle:(FBSDKTooltipColorStyle)colorStyle; - -/*! - @abstract - Show tooltip at the top or at the bottom of given view. - Tooltip will be added to anchorView.window.rootViewController.view - - @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) - - @discussion - Use this method to present the tooltip with automatic positioning or - use -presentInView:withArrowPosition:direction: for manual positioning - If anchorView is nil or has no window - this method does nothing. - */ -- (void)presentFromView:(UIView *)anchorView; - -/*! - @abstract - Adds tooltip to given view, with given position and arrow direction. - - @param view View to be used as superview. - - @param arrowPosition Point in view's cordinates, where arrow will be pointing - - @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; - -/*! - @abstract - Remove tooltip manually. - - @discussion - Calling this method isn't necessary - tooltip will dismiss itself automatically after the `displayDuration`. - */ -- (void)dismiss; - -@end diff --git a/Vendor/FBSDKLoginKit.framework/Info.plist b/Vendor/FBSDKLoginKit.framework/Info.plist deleted file mode 100644 index ad88b51..0000000 Binary files a/Vendor/FBSDKLoginKit.framework/Info.plist and /dev/null differ diff --git a/Vendor/FBSDKLoginKit.framework/Modules/module.modulemap b/Vendor/FBSDKLoginKit.framework/Modules/module.modulemap deleted file mode 100644 index 4b1d57b..0000000 --- a/Vendor/FBSDKLoginKit.framework/Modules/module.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module FBSDKLoginKit { - umbrella header "FBSDKLoginKit.h" - - export * - module * { export * } -}