diff --git a/plugins/2020.3569/android/corona.gradle b/plugins/2020.3569/android/corona.gradle index 2919d76..58eefbb 100644 --- a/plugins/2020.3569/android/corona.gradle +++ b/plugins/2020.3569/android/corona.gradle @@ -1,5 +1,5 @@ dependencies { - implementation("com.facebook.android:facebook-core:12.3.0") - implementation("com.facebook.android:facebook-login:12.3.0") - implementation("com.facebook.android:facebook-share:12.3.0") + implementation("com.facebook.android:facebook-core:13.2.0") + implementation("com.facebook.android:facebook-login:13.2.0") + implementation("com.facebook.android:facebook-share:13.2.0") } diff --git a/plugins/2020.3569/android/facebook.aar b/plugins/2020.3569/android/facebook.aar index 9ed9956..1c6f057 100644 Binary files a/plugins/2020.3569/android/facebook.aar and b/plugins/2020.3569/android/facebook.aar differ diff --git a/plugins/2020.3569/iphone-sim/libplugin_facebook.a b/plugins/2020.3569/iphone-sim/libplugin_facebook.a index d80c05f..bae34ba 100644 Binary files a/plugins/2020.3569/iphone-sim/libplugin_facebook.a and b/plugins/2020.3569/iphone-sim/libplugin_facebook.a differ diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBAEMKit.framework/FBAEMKit b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBAEMKit.framework/FBAEMKit deleted file mode 100755 index de51ad6..0000000 Binary files a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBAEMKit.framework/FBAEMKit and /dev/null differ diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBAEMKit.framework/Info.plist b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBAEMKit.framework/Info.plist deleted file mode 100644 index 1c9a073..0000000 Binary files a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBAEMKit.framework/Info.plist and /dev/null differ diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit old mode 100755 new mode 100644 index 0648362..f28e510 Binary files a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit and b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit differ diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h new file mode 100644 index 0000000..87494ec --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h @@ -0,0 +1,188 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Notification indicating that the `currentAccessToken` has changed. + + the userInfo dictionary of the notification will contain keys + `FBSDKAccessTokenChangeOldKey` and + `FBSDKAccessTokenChangeNewKey`. + */ +FOUNDATION_EXPORT NSNotificationName const FBSDKAccessTokenDidChangeNotification +NS_SWIFT_NAME(AccessTokenDidChange); + +/** + 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. + + 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). + */ +FOUNDATION_EXPORT NSString *const FBSDKAccessTokenDidChangeUserIDKey +NS_SWIFT_NAME(AccessTokenDidChangeUserIDKey); + +/* + key in notification's userInfo object for getting the old token. + + If there was no old token, the key will not be present. + */ +FOUNDATION_EXPORT NSString *const FBSDKAccessTokenChangeOldKey +NS_SWIFT_NAME(AccessTokenChangeOldKey); + +/* + key in notification's userInfo object for getting the new token. + + If there is no new token, the key will not be present. + */ +FOUNDATION_EXPORT NSString *const FBSDKAccessTokenChangeNewKey +NS_SWIFT_NAME(AccessTokenChangeNewKey); + +/* + A key in the notification's userInfo that will be set + if and only if the token has expired. + */ +FOUNDATION_EXPORT NSString *const FBSDKAccessTokenDidExpireKey +NS_SWIFT_NAME(AccessTokenDidExpireKey); + +/// Represents an immutable access token for using Facebook services. +NS_SWIFT_NAME(AccessToken) +@interface FBSDKAccessToken : NSObject + +/** + The "global" access token that represents the currently logged in user. + + The `currentAccessToken` is a convenient representation of the token of the + current user and is used by other SDK components (like `FBSDKLoginManager`). + */ +@property (class, nullable, nonatomic, copy) FBSDKAccessToken *currentAccessToken; + +/// Returns YES if currentAccessToken is not nil AND currentAccessToken is not expired +@property (class, nonatomic, readonly, getter = isCurrentAccessTokenActive, assign) BOOL currentAccessTokenIsActive; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (class, nullable, nonatomic, copy) id tokenCache; + +/// Returns the app ID. +@property (nonatomic, readonly, copy) NSString *appID; + +/// Returns the expiration date for data access +@property (nonatomic, readonly, copy) NSDate *dataAccessExpirationDate; + +/// Returns the known declined permissions. +@property (nonatomic, readonly, copy) NSSet *declinedPermissions + NS_REFINED_FOR_SWIFT; + +/// Returns the known declined permissions. +@property (nonatomic, readonly, copy) NSSet *expiredPermissions + NS_REFINED_FOR_SWIFT; + +/// Returns the expiration date. +@property (nonatomic, readonly, copy) NSDate *expirationDate; + +/// Returns the known granted permissions. +@property (nonatomic, readonly, copy) NSSet *permissions + NS_REFINED_FOR_SWIFT; + +/// Returns the date the token was last refreshed. +@property (nonatomic, readonly, copy) NSDate *refreshDate; + +/// Returns the opaque token string. +@property (nonatomic, readonly, copy) NSString *tokenString; + +/// Returns the user ID. +@property (nonatomic, readonly, copy) NSString *userID; + +/// Returns whether the access token is expired by checking its expirationDate property +@property (nonatomic, readonly, getter = isExpired, assign) BOOL expired; + +/// Returns whether user data access is still active for the given access token +@property (nonatomic, readonly, getter = isDataAccessExpired, assign) BOOL dataAccessExpired; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + Initializes a new instance. + @param tokenString the opaque token string. + @param permissions the granted permissions. Note this is converted to NSSet and is only + an NSArray for the convenience of literal syntax. + @param declinedPermissions the declined permissions. Note this is converted to NSSet and is only + an NSArray for the convenience of literal syntax. + @param expiredPermissions the expired 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). + @param dataAccessExpirationDate the date which data access will expire for the given user + (defaults to distantFuture). + + This initializer should only be used for advanced apps that + manage tokens explicitly. Typical login flows only need to use `FBSDKLoginManager` + along with `+currentAccessToken`. + */ +- (instancetype)initWithTokenString:(NSString *)tokenString + permissions:(NSArray *)permissions + declinedPermissions:(NSArray *)declinedPermissions + expiredPermissions:(NSArray *)expiredPermissions + appID:(NSString *)appID + userID:(NSString *)userID + expirationDate:(nullable NSDate *)expirationDate + refreshDate:(nullable NSDate *)refreshDate + dataAccessExpirationDate:(nullable NSDate *)dataAccessExpirationDate + NS_DESIGNATED_INITIALIZER; + +/** + Convenience getter to determine if a permission has been granted + @param permission The permission to check. + */ +// UNCRUSTIFY_FORMAT_OFF +- (BOOL)hasGranted:(NSString *)permission +NS_SWIFT_NAME(hasGranted(permission:)); +// UNCRUSTIFY_FORMAT_ON + +/** + 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; + +/** + Refresh the current access token's permission state and extend the token's expiration date, + if possible. + @param completion an optional callback handler that can surface any errors related to permission refreshing. + + On a successful refresh, the currentAccessToken will be updated so you typically only need to + observe the `FBSDKAccessTokenDidChangeNotification` notification. + + If a token is already expired, it cannot be refreshed. + */ ++ (void)refreshCurrentAccessTokenWithCompletion:(nullable FBSDKGraphRequestCompletion)completion; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAccessTokenProtocols.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAccessTokenProtocols.h new file mode 100644 index 0000000..5c033ca --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAccessTokenProtocols.h @@ -0,0 +1,43 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@class FBSDKAccessToken; +@protocol FBSDKTokenCaching; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(AccessTokenProviding) +@protocol FBSDKAccessTokenProviding + +@property (class, nullable, nonatomic, readonly, copy) FBSDKAccessToken *currentAccessToken; +@property (class, nullable, nonatomic, copy) id tokenCache; + +@end + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(AccessTokenSetting) +@protocol FBSDKAccessTokenSetting + +@property (class, nullable, nonatomic, copy) FBSDKAccessToken *currentAccessToken; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAdvertisingTrackingStatus.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAdvertisingTrackingStatus.h new file mode 100644 index 0000000..730b90d --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAdvertisingTrackingStatus.h @@ -0,0 +1,25 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +typedef NS_ENUM(NSUInteger, FBSDKAdvertisingTrackingStatus) { + FBSDKAdvertisingTrackingAllowed, + FBSDKAdvertisingTrackingDisallowed, + FBSDKAdvertisingTrackingUnspecified, +} NS_SWIFT_NAME(AdvertisingTrackingStatus); + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppAvailabilityChecker.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppAvailabilityChecker.h new file mode 100644 index 0000000..21a1f44 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppAvailabilityChecker.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AppAvailabilityChecker) +@protocol FBSDKAppAvailabilityChecker + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nonatomic, readonly, assign) BOOL isMessengerAppInstalled; +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nonatomic, readonly, assign) BOOL isFacebookAppInstalled; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEventName.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEventName.h new file mode 100644 index 0000000..b55589b --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEventName.h @@ -0,0 +1,92 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/** + @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 `FBSDKAppEventParameterName` constants. + */ + +/// typedef for FBSDKAppEventName +typedef NSString *FBSDKAppEventName NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(AppEvents.Name); + +// MARK: - General Purpose + +/// Log this event when the user clicks an ad. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameAdClick; + +/// Log this event when the user views an ad. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameAdImpression; + +/// Log this event when a user has completed registration with the app. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameCompletedRegistration; + +/// Log this event when the user has completed a tutorial in the app. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameCompletedTutorial; + +/// A telephone/SMS, email, chat or other type of contact between a customer and your business. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameContact; + +/// The customization of products through a configuration tool or other application your business owns. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameCustomizeProduct; + +/// The donation of funds to your organization or cause. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameDonate; + +/// When a person finds one of your locations via web or application, with an intention to visit (example: find product at a local store). +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameFindLocation; + +/// Log this event when the user has rated an item in the app. The valueToSum passed to logEvent should be the numeric rating. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameRated; + +/// The booking of an appointment to visit one of your locations. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameSchedule; + +/// Log this event when a user has performed a search within the app. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameSearched; + +/// The start of a free trial of a product or service you offer (example: trial subscription). +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameStartTrial; + +/// The submission of an application for a product, service or program you offer (example: credit card, educational program or job). +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameSubmitApplication; + +/// The start of a paid subscription for a product or service you offer. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameSubscribe; + +/// Log this event when a user has viewed a form of content in the app. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameViewedContent; + +// MARK: - E-Commerce + +/// Log this event when the user has entered their payment info. +FOUNDATION_EXPORT FBSDKAppEventName 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. +FOUNDATION_EXPORT FBSDKAppEventName 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. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameAddedToWishlist; + +/// Log this event when the user has entered the checkout process. The valueToSum passed to logEvent should be the total price in the cart. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameInitiatedCheckout; + +/// Log this event when the user has completed a transaction. The valueToSum passed to logEvent should be the total price of the transaction. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNamePurchased; + +// MARK: - Gaming + +/// Log this event when the user has achieved a level in the app. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameAchievedLevel; + +/// Log this event when the user has unlocked an achievement in the app. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameUnlockedAchievement; + +/// Log this event when the user has spent app credits. The valueToSum passed to logEvent should be the number of credits spent. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameSpentCredits; diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterName.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterName.h new file mode 100644 index 0000000..ceb5e2d --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterName.h @@ -0,0 +1,73 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/** + @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. + */ + +/// typedef for FBSDKAppEventParameterName +typedef NSString *FBSDKAppEventParameterName NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(AppEvents.ParameterName); + +/** + * Parameter key used to specify data for the one or more pieces of content being logged about. + * Data should be a JSON encoded string. + * Example: + * "[{\"id\": \"1234\", \"quantity\": 2, \"item_price\": 5.99}, {\"id\": \"5678\", \"quantity\": 1, \"item_price\": 9.99}]" + */ +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameContent; + +/// Parameter key used to specify an ID for the specific piece of content being logged about. Could be an EAN, article identifier, etc., depending on the nature of the app. +FOUNDATION_EXPORT FBSDKAppEventParameterName 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. +FOUNDATION_EXPORT FBSDKAppEventParameterName 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 . +FOUNDATION_EXPORT FBSDKAppEventParameterName 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. +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameDescription; + +/// Parameter key used to specify the level achieved in a `FBAppEventNameAchieved` event. +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameLevel; + +/// Parameter key used to specify the maximum rating available for the `FBAppEventNameRate` event. E.g., "5" or "10". +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameMaxRatingValue; + +/// Parameter key used to specify how many items are being processed for an `FBAppEventNameInitiatedCheckout` or `FBAppEventNamePurchased` event. +FOUNDATION_EXPORT FBSDKAppEventParameterName 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. +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNamePaymentInfoAvailable; + +/// Parameter key used to specify method user has used to register for the app, e.g., "Facebook", "email", "Twitter", etc +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameRegistrationMethod; + +/// Parameter key used to specify the string provided by the user for a search operation. +FOUNDATION_EXPORT FBSDKAppEventParameterName 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. +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameSuccess; + +/** Parameter key used to specify the type of ad in an FBSDKAppEventNameAdImpression + * or FBSDKAppEventNameAdClick event. + * E.g. "banner", "interstitial", "rewarded_video", "native" */ +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameAdType; + +/** Parameter key used to specify the unique ID for all events within a subscription + * in an FBSDKAppEventNameSubscribe or FBSDKAppEventNameStartTrial event. */ +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameOrderID; + +/// Parameter key used to specify event name. +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameEventName; + +/// Parameter key used to specify event log time. +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameLogTime; diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterProduct.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterProduct.h new file mode 100644 index 0000000..ff0b036 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterProduct.h @@ -0,0 +1,77 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/// @methodgroup Predefined event name parameters for common additional information to accompany events logged through the `logProductItem` method on `FBSDKAppEvents`. + +/// typedef for FBSDKAppEventParameterProduct +typedef NSString *const FBSDKAppEventParameterProduct NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(AppEvents.ParameterProduct); + +/// Parameter key used to specify the product item's category. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCategory; + +/// Parameter key used to specify the product item's custom label 0. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCustomLabel0; + +/// Parameter key used to specify the product item's custom label 1. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCustomLabel1; + +/// Parameter key used to specify the product item's custom label 2. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCustomLabel2; + +/// Parameter key used to specify the product item's custom label 3. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCustomLabel3; + +/// Parameter key used to specify the product item's custom label 4. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCustomLabel4; + +/// Parameter key used to specify the product item's AppLink app URL for iOS. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIOSUrl; + +/// Parameter key used to specify the product item's AppLink app ID for iOS App Store. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIOSAppStoreID; + +/// Parameter key used to specify the product item's AppLink app name for iOS. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIOSAppName; + +/// Parameter key used to specify the product item's AppLink app URL for iPhone. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPhoneUrl; + +/// Parameter key used to specify the product item's AppLink app ID for iPhone App Store. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPhoneAppStoreID; + +/// Parameter key used to specify the product item's AppLink app name for iPhone. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPhoneAppName; + +/// Parameter key used to specify the product item's AppLink app URL for iPad. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPadUrl; + +/// Parameter key used to specify the product item's AppLink app ID for iPad App Store. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPadAppStoreID; + +/// Parameter key used to specify the product item's AppLink app name for iPad. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPadAppName; + +/// Parameter key used to specify the product item's AppLink app URL for Android. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkAndroidUrl; + +/// Parameter key used to specify the product item's AppLink fully-qualified package name for intent generation. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkAndroidPackage; + +/// Parameter key used to specify the product item's AppLink app name for Android. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkAndroidAppName; + +/// Parameter key used to specify the product item's AppLink app URL for Windows Phone. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkWindowsPhoneUrl; + +/// Parameter key used to specify the product item's AppLink app ID, as a GUID, for App Store. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkWindowsPhoneAppID; + +/// Parameter key used to specify the product item's AppLink app name for Windows Phone. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkWindowsPhoneAppName; diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterValue.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterValue.h new file mode 100644 index 0000000..796e2e1 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterValue.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/* + @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. + */ + +/// typedef for FBSDKAppEventParameterValue +typedef NSString *const FBSDKAppEventParameterValue NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(AppEvents.ParameterValue); + +/// Yes-valued parameter value to be used with parameter keys that need a Yes/No value +FOUNDATION_EXPORT FBSDKAppEventParameterValue FBSDKAppEventParameterValueYes; + +/// No-valued parameter value to be used with parameter keys that need a Yes/No value +FOUNDATION_EXPORT FBSDKAppEventParameterValue FBSDKAppEventParameterValueNo; diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEventUserDataType.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEventUserDataType.h new file mode 100644 index 0000000..194443d --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEventUserDataType.h @@ -0,0 +1,44 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +typedef NSString *const FBSDKAppEventUserDataType NS_TYPED_EXTENSIBLE_ENUM; + +/// Parameter key used to specify user's email. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventEmail; + +/// Parameter key used to specify user's first name. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventFirstName; + +/// Parameter key used to specify user's last name. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventLastName; + +/// Parameter key used to specify user's phone. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventPhone; + +/// Parameter key used to specify user's date of birth. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventDateOfBirth; + +/// Parameter key used to specify user's gender. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventGender; + +/// Parameter key used to specify user's city. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventCity; + +/// Parameter key used to specify user's state. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventState; + +/// Parameter key used to specify user's zip. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventZip; + +/// Parameter key used to specify user's country. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventCountry; + +/// Parameter key used to specify user's external id. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventExternalId; diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h new file mode 100644 index 0000000..1504e74 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h @@ -0,0 +1,521 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + #import +#endif + +#import +#import +#import +#import +#import +#import +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +@class FBSDKAccessToken; + +/// Optional plist key ("FacebookLoggingOverrideAppID") for setting `loggingOverrideAppID` +FOUNDATION_EXPORT NSString *const FBSDKAppEventsOverrideAppIDBundleKey +NS_SWIFT_NAME(AppEventsOverrideAppIDBundleKey); + +/** + Client-side event logging for specialized application analytics available through Facebook App Insights + and for use with Facebook Ads conversion tracking and optimization. + + 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. + */ +NS_SWIFT_NAME(AppEvents) +@interface FBSDKAppEvents : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/// The shared instance of AppEvents. +@property (class, nonatomic, readonly, strong) FBSDKAppEvents *shared; + +/// Control over event batching/flushing + +/// The current event flushing behavior specifying when events are sent back to Facebook servers. +@property (nonatomic) FBSDKAppEventsFlushBehavior flushBehavior; + +/** + Set the 'override' App ID for App Event logging. + + 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 `Settings.shared.appID`. + + This should be set before any other calls are made to `AppEvents`. Thus, you should set it in your application + delegate's `application(_:didFinishLaunchingWithOptions:)` method. + */ +@property (nullable, nonatomic, copy) NSString *loggingOverrideAppID; + +/** + The custom user ID to associate with all app events. + + The userID is persisted until it is cleared by passing `nil`. + */ +@property (nullable, nonatomic, copy) NSString *userID; + +/// Returns generated anonymous id that persisted with current install of the app +@property (nonatomic, readonly) NSString *anonymousID; + +/* + * Basic event logging + */ + +/** + Log an event with just an event name. + + @param eventName The name of the event to record. Limitations on number of events and name length + are given in the `AppEvents` documentation. + */ +- (void)logEvent:(FBSDKAppEventName)eventName; + +/** + Log an event with an event name 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 `AppEvents` documentation. Common event names are provided in `AppEvents.Name` constants. + + @param valueToSum Amount to be aggregated into all events of this event name, and App Insights will report + the cumulative and average value of this amount. + */ +- (void)logEvent:(FBSDKAppEventName)eventName + valueToSum:(double)valueToSum; + +/** + Log an event with an event name 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 `AppEvents` documentation. Common event names are provided in `AppEvents.Name` 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 `AppEvents` documentation. Commonly used parameter names + are provided in `AppEvents.ParameterName` constants. + */ +- (void)logEvent:(FBSDKAppEventName)eventName + parameters:(nullable NSDictionary *)parameters; + +/** + Log an event with an event name, 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 `AppEvents` documentation. Common event names are provided in `AppEvents.Name` constants. + + @param valueToSum Amount to be aggregated into all events of this event name, 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 `AppEvents` documentation. Commonly used parameter names + are provided in `AppEvents.ParameterName` constants. + */ +- (void)logEvent:(FBSDKAppEventName)eventName + valueToSum:(double)valueToSum + parameters:(nullable NSDictionary *)parameters; + +/** + Log an event with an event name, 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 `AppEvents` documentation. Common event names are provided in `AppEvents.Name` 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 `AppEvents` documentation. Commonly used parameter names + are provided in `AppEvents.ParameterName` constants. + + @param accessToken The optional access token to log the event as. + */ +- (void)logEvent:(FBSDKAppEventName)eventName + valueToSum:(nullable NSNumber *)valueToSum + parameters:(nullable NSDictionary *)parameters + accessToken:(nullable FBSDKAccessToken *)accessToken; + +/* + * Purchase logging + */ + +/** + 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 string (e.g., "USD", "EUR", "GBP"); see ISO-4217 for + specific values. One reference for these is . + + This event immediately triggers a flush of the `AppEvents` event queue, unless the `flushBehavior` is set + to `FBSDKAppEventsFlushBehaviorExplicitOnly`. + */ +// UNCRUSTIFY_FORMAT_OFF +- (void)logPurchase:(double)purchaseAmount currency:(NSString *)currency + NS_SWIFT_NAME(logPurchase(amount:currency:)); +// UNCRUSTIFY_FORMAT_ON + +/** + 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 string (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 `AppEvents` documentation. Commonly used parameter names + are provided in `AppEvents.ParameterName` constants. + + This event immediately triggers a flush of the `AppEvents` event queue, unless the `flushBehavior` is set + to `FBSDKAppEventsFlushBehaviorExplicitOnly`. + */ +// UNCRUSTIFY_FORMAT_OFF +- (void)logPurchase:(double)purchaseAmount + currency:(NSString *)currency + parameters:(nullable NSDictionary *)parameters + NS_SWIFT_NAME(logPurchase(amount:currency:parameters:)); +// UNCRUSTIFY_FORMAT_ON + +/** + 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 string (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 `AppEvents` documentation. Commonly used parameter names + are provided in `AppEvents.ParameterName` constants. + + @param accessToken The optional access token to log the event as. + + This event immediately triggers a flush of the `AppEvents` event queue, unless the `flushBehavior` is set + to `FBSDKAppEventsFlushBehaviorExplicitOnly`. + */ +// UNCRUSTIFY_FORMAT_OFF +- (void)logPurchase:(double)purchaseAmount + currency:(NSString *)currency + parameters:(nullable NSDictionary *)parameters + accessToken:(nullable FBSDKAccessToken *)accessToken + NS_SWIFT_NAME(logPurchase(amount:currency:parameters:accessToken:)); +// UNCRUSTIFY_FORMAT_ON + +/* + * Push Notifications Logging + */ + +/** + Log an app event that tracks that the application was open via Push Notification. + + @param payload Notification payload received via `UIApplicationDelegate`. + */ +// UNCRUSTIFY_FORMAT_OFF +- (void)logPushNotificationOpen:(NSDictionary *)payload + NS_SWIFT_NAME(logPushNotificationOpen(payload:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Log an app event that tracks that a custom action was taken from a push notification. + + @param payload Notification payload received via `UIApplicationDelegate`. + @param action Name of the action that was taken. + */ +// UNCRUSTIFY_FORMAT_OFF +- (void)logPushNotificationOpen:(NSDictionary *)payload action:(NSString *)action + NS_SWIFT_NAME(logPushNotificationOpen(payload:action:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Uploads product catalog product item as an app event + + @param itemID Unique ID for the item. Can be a variant for a product. + Max size is 100. + @param availability If item is in stock. Accepted values are: + in stock - Item ships immediately + out of stock - No plan to restock + preorder - Available in future + available for order - Ships in 1-2 weeks + discontinued - Discontinued + @param condition Product condition: new, refurbished or used. + @param description Short text describing product. Max size is 5000. + @param imageLink Link to item image used in ad. + @param link Link to merchant's site where someone can buy the item. + @param title Title of item. + @param priceAmount Amount of purchase, in the currency specified by the 'currency' + parameter. This value will be rounded to the thousandths place + (e.g., 12.34567 becomes 12.346). + @param currency Currency string (e.g., "USD", "EUR", "GBP"); see ISO-4217 for + specific values. One reference for these is . + @param gtin Global Trade Item Number including UPC, EAN, JAN and ISBN + @param mpn Unique manufacture ID for product + @param brand Name of the brand + Note: Either gtin, mpn or brand is required. + @param parameters Optional fields for deep link specification. + */ +// UNCRUSTIFY_FORMAT_OFF +- (void)logProductItem:(NSString *)itemID + availability:(FBSDKProductAvailability)availability + condition:(FBSDKProductCondition)condition + description:(NSString *)description + imageLink:(NSString *)imageLink + link:(NSString *)link + title:(NSString *)title + priceAmount:(double)priceAmount + currency:(NSString *)currency + gtin:(nullable NSString *)gtin + mpn:(nullable NSString *)mpn + brand:(nullable NSString *)brand + parameters:(nullable NSDictionary *)parameters + NS_SWIFT_NAME(logProductItem(id:availability:condition:description:imageLink:link:title:priceAmount:currency:gtin:mpn:brand:parameters:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Notifies the events system that the app has launched and, when appropriate, logs an "activated app" event. + This function is called automatically from FBSDKApplicationDelegate applicationDidBecomeActive, unless + one overrides 'FacebookAutoLogAppEventsEnabled' key to false in the project info plist file. + In case 'FacebookAutoLogAppEventsEnabled' is set to false, then it 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. + + `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; + +/* + * Push Notifications Registration and Uninstall Tracking + */ + +/** + Sets and sends device token to register the current application for push notifications. + + Sets and sends a device token from the `Data` representation that you get from + `UIApplicationDelegate.application(_:didRegisterForRemoteNotificationsWithDeviceToken:)`. + + @param deviceToken Device token data. + */ +- (void)setPushNotificationsDeviceToken:(nullable NSData *)deviceToken; + +/** + Sets and sends device token string to register the current application for push notifications. + + Sets and sends a device token string + + @param deviceTokenString Device token string. + */ +// UNCRUSTIFY_FORMAT_OFF +- (void)setPushNotificationsDeviceTokenString:(nullable NSString *)deviceTokenString +NS_SWIFT_NAME(setPushNotificationsDeviceToken(_:)); +// UNCRUSTIFY_FORMAT_ON + +/** + 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; + +/** + 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. + + The JSON in the request's response will include a "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 `Settings.shared.isEventDataUsageLimited` flag, or a specific Facebook user cannot be identified. + + @param accessToken The access token to use to establish the user's identity for users logged into Facebook through this app. + If `nil`, then `AccessToken.current` is used. + */ +// UNCRUSTIFY_FORMAT_OFF +- (nullable FBSDKGraphRequest *)requestForCustomAudienceThirdPartyIDWithAccessToken:(nullable FBSDKAccessToken *)accessToken +NS_SWIFT_NAME(requestForCustomAudienceThirdPartyID(accessToken:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Sets custom user data to associate with all app events. All user data are hashed + and used to match Facebook user from this instance of an application. + + The user data will be persisted between application instances. + + @param email user's email + @param firstName user's first name + @param lastName user's last name + @param phone user's phone + @param dateOfBirth user's date of birth + @param gender user's gender + @param city user's city + @param state user's state + @param zip user's zip + @param country user's country + */ + +// UNCRUSTIFY_FORMAT_OFF +- (void)setUserEmail:(nullable NSString *)email + firstName:(nullable NSString *)firstName + lastName:(nullable NSString *)lastName + phone:(nullable NSString *)phone + dateOfBirth:(nullable NSString *)dateOfBirth + gender:(nullable NSString *)gender + city:(nullable NSString *)city + state:(nullable NSString *)state + zip:(nullable NSString *)zip + country:(nullable NSString *)country +NS_SWIFT_NAME(setUser(email:firstName:lastName:phone:dateOfBirth:gender:city:state:zip:country:)); +// UNCRUSTIFY_FORMAT_ON + +/// Returns the set user data else nil +- (nullable NSString *)getUserData; + +/// Clears the current user data +- (void)clearUserData; + +/** + Sets custom user data to associate with all app events. All user data are hashed + and used to match Facebook user from this instance of an application. + + The user data will be persisted between application instances. + + @param data data + @param type data type, e.g. FBSDKAppEventEmail, FBSDKAppEventPhone + */ +- (void)setUserData:(nullable NSString *)data + forType:(FBSDKAppEventUserDataType)type; + +/// Clears the current user data of certain type +- (void)clearUserDataForType:(FBSDKAppEventUserDataType)type; + +#if !TARGET_OS_TV +/** + Intended to be used as part of a hybrid webapp. + If you call this method, the FB SDK will inject a new JavaScript object into your webview. + If the FB Pixel is used within the webview, and references the app ID of this app, + then it will detect the presence of this injected JavaScript object + and pass Pixel events back to the FB SDK for logging using the AppEvents framework. + + @param webView The webview to augment with the additional JavaScript behavior + */ +- (void)augmentHybridWebView:(WKWebView *)webView; +#endif + +/* + * Unity helper functions + */ + +/** + Set whether Unity is already initialized. + + @param isUnityInitialized Whether Unity is initialized. + */ +- (void)setIsUnityInitialized:(BOOL)isUnityInitialized; + +/// Send event bindings to Unity +- (void)sendEventBindingsToUnity; + +/* + * SDK Specific Event Logging + * Do not call directly outside of the SDK itself. + */ + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void)logInternalEvent:(FBSDKAppEventName)eventName + parameters:(nullable NSDictionary *)parameters + isImplicitlyLogged:(BOOL)isImplicitlyLogged; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void)logInternalEvent:(FBSDKAppEventName)eventName + parameters:(nullable NSDictionary *)parameters + isImplicitlyLogged:(BOOL)isImplicitlyLogged + accessToken:(nullable FBSDKAccessToken *)accessToken; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEventsFlushBehavior.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEventsFlushBehavior.h new file mode 100644 index 0000000..872ef49 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEventsFlushBehavior.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/** + NS_ENUM (NSUInteger, FBSDKAppEventsFlushBehavior) + + 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, +} NS_SWIFT_NAME(AppEvents.FlushBehavior); diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEventsNotificationName.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEventsNotificationName.h new file mode 100644 index 0000000..159e27d --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEventsNotificationName.h @@ -0,0 +1,13 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/// NSNotificationCenter name indicating a result of a failed log flush attempt. The posted object will be an NSError instance. +FOUNDATION_EXPORT NSNotificationName const FBSDKAppEventsLoggingResultNotification +NS_SWIFT_NAME(AppEventsLoggingResult); diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLink.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLink.h new file mode 100644 index 0000000..a995c02 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLink.h @@ -0,0 +1,65 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// The version of the App Link protocol that this library supports +FOUNDATION_EXPORT NSString *const FBSDKAppLinkVersion +NS_SWIFT_NAME(AppLinkVersion); + +/** + Contains App Link metadata relevant for navigation on this device + derived from the HTML at a given URL. + */ +NS_SWIFT_NAME(AppLink) +@interface FBSDKAppLink : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + Creates a FBSDKAppLink with the given list of FBSDKAppLinkTargets and target URL. + + Generally, this will only be used by implementers of the FBSDKAppLinkResolving protocol, + as these implementers will produce App Link metadata for a given URL. + + @param sourceURL the URL from which this App Link is derived + @param targets an ordered list of FBSDKAppLinkTargets for this platform derived + from App Link metadata. + @param webURL the fallback web URL, if any, for the app link. + */ +// UNCRUSTIFY_FORMAT_OFF ++ (instancetype)appLinkWithSourceURL:(nullable NSURL *)sourceURL + targets:(NSArray *)targets + webURL:(nullable NSURL *)webURL +NS_SWIFT_NAME(init(sourceURL:targets:webURL:)); +// UNCRUSTIFY_FORMAT_ON + +/// The URL from which this FBSDKAppLink was derived +@property (nullable, nonatomic, readonly, strong) NSURL *sourceURL; + +/** + The ordered list of targets applicable to this platform that will be used + for navigation. + */ +@property (nonatomic, readonly, copy) NSArray> *targets; + +/// The fallback web URL to use if no targets are installed on this device. +@property (nullable, nonatomic, readonly, strong) NSURL *webURL; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkNavigation.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkNavigation.h new file mode 100644 index 0000000..bfc1bbf --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkNavigation.h @@ -0,0 +1,137 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +#import +#import + +@protocol FBSDKSettings; + +NS_ASSUME_NONNULL_BEGIN + +/// The result of calling navigate on a FBSDKAppLinkNavigation +typedef NS_ENUM(NSInteger, FBSDKAppLinkNavigationType) { + /// Indicates that the navigation failed and no app was opened + FBSDKAppLinkNavigationTypeFailure, + /// Indicates that the navigation succeeded by opening the URL in the browser + FBSDKAppLinkNavigationTypeBrowser, + /// Indicates that the navigation succeeded by opening the URL in an app on the device + FBSDKAppLinkNavigationTypeApp, +} NS_SWIFT_NAME(AppLinkNavigation.Type); + +/** + Describes the callback for appLinkFromURLInBackground. + @param navType the FBSDKAppLink representing the deferred App Link + @param error the error during the request, if any + */ +typedef void (^ FBSDKAppLinkNavigationBlock)(FBSDKAppLinkNavigationType navType, NSError *_Nullable error) +NS_SWIFT_NAME(AppLinkNavigationBlock); + +/** + Represents a pending request to navigate to an App Link. Most developers will + simply use navigateToURLInBackground: to open a URL, but developers can build + custom requests with additional navigation and app data attached to them by + creating FBSDKAppLinkNavigations themselves. + */ +NS_EXTENSION_UNAVAILABLE_IOS("Not available in app extension") +NS_SWIFT_NAME(AppLinkNavigation) +@interface FBSDKAppLinkNavigation : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + The default resolver to be used for App Link resolution. If the developer has not set one explicitly, + a basic, built-in FBSDKWebViewAppLinkResolver will be used. + */ +@property (class, nonatomic, strong) id defaultResolver +NS_SWIFT_NAME(default); + +/** + The extras for the AppLinkNavigation. This will generally contain application-specific + data that should be passed along with the request, such as advertiser or affiliate IDs or + other such metadata relevant on this device. + */ +@property (nonatomic, readonly, copy) NSDictionary *extras; + +/** + The al_applink_data for the AppLinkNavigation. This will generally contain data common to + navigation attempts such as back-links, user agents, and other information that may be used + in routing and handling an App Link request. + */ +@property (nonatomic, readonly, copy) NSDictionary *appLinkData; + +/// The AppLink to navigate to +@property (nonatomic, readonly, strong) FBSDKAppLink *appLink; + +/** + Return navigation type for current instance. + No-side-effect version of navigate: + */ +@property (nonatomic, readonly) FBSDKAppLinkNavigationType navigationType; + +// UNCRUSTIFY_FORMAT_OFF +/// Creates an AppLinkNavigation with the given link, extras, and App Link data ++ (instancetype)navigationWithAppLink:(FBSDKAppLink *)appLink + extras:(NSDictionary *)extras + appLinkData:(NSDictionary *)appLinkData + settings:(id)settings +NS_SWIFT_NAME(init(appLink:extras:appLinkData:settings:)); + +/** + Creates an NSDictionary with the correct format for iOS callback URLs, + to be used as 'appLinkData' argument in the call to navigationWithAppLink:extras:appLinkData: + */ ++ (NSDictionary *> *)callbackAppLinkDataForAppWithName:(NSString *)appName + url:(NSString *)url +NS_SWIFT_NAME(callbackAppLinkData(forApp:url:)); +// UNCRUSTIFY_FORMAT_ON + +/// Performs the navigation +- (FBSDKAppLinkNavigationType)navigate:(NSError **)error + __attribute__((swift_error(nonnull_error))); + +/// Returns a FBSDKAppLink for the given URL ++ (void)resolveAppLink:(NSURL *)destination handler:(FBSDKAppLinkBlock)handler; + +/// Returns a FBSDKAppLink for the given URL using the given App Link resolution strategy ++ (void)resolveAppLink:(NSURL *)destination + resolver:(id)resolver + handler:(FBSDKAppLinkBlock)handler; + +/// Navigates to a FBSDKAppLink and returns whether it opened in-app or in-browser ++ (FBSDKAppLinkNavigationType)navigateToAppLink:(FBSDKAppLink *)link error:(NSError **)error + __attribute__((swift_error(nonnull_error))); + +/** + Returns a FBSDKAppLinkNavigationType based on a FBSDKAppLink. + It's essentially a no-side-effect version of navigateToAppLink:error:, + allowing apps to determine flow based on the link type (e.g. open an + internal web view instead of going straight to the browser for regular links.) + */ ++ (FBSDKAppLinkNavigationType)navigationTypeForLink:(FBSDKAppLink *)link; + +/// Navigates to a URL (an asynchronous action) and returns a FBSDKNavigationType ++ (void)navigateToURL:(NSURL *)destination handler:(FBSDKAppLinkNavigationBlock)handler; + +/** + Navigates to a URL (an asynchronous action) using the given App Link resolution + strategy and returns a FBSDKNavigationType + */ ++ (void)navigateToURL:(NSURL *)destination + resolver:(id)resolver + handler:(FBSDKAppLinkNavigationBlock)handler; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h new file mode 100644 index 0000000..23056a3 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h @@ -0,0 +1,57 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Describes the callback for appLinkFromURLInBackground. + @param appLinks the FBSDKAppLinks representing the deferred App Links + @param error the error during the request, if any + */ +typedef void (^ FBSDKAppLinksBlock)(NSDictionary *appLinks, + NSError *_Nullable error) +NS_SWIFT_NAME(AppLinksBlock); + +/** + Provides an implementation of the FBSDKAppLinkResolving 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. + + Usage of this type requires a client token. See `[FBSDKSettings setClientToken:]` + */ + +NS_SWIFT_NAME(AppLinkResolver) +@interface FBSDKAppLinkResolver : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + Asynchronously resolves App Link data for a given array of URLs. + + @param urls The URLs to resolve into an App Link. + @param handler The completion block that will return an App Link for the given URL. + */ +- (void)appLinksFromURLs:(NSArray *)urls handler:(FBSDKAppLinksBlock)handler + NS_EXTENSION_UNAVAILABLE_IOS("Not available in app extension"); + +/// Allocates and initializes a new instance of FBSDKAppLinkResolver. ++ (instancetype)resolver + NS_SWIFT_NAME(init()); + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolving.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolving.h new file mode 100644 index 0000000..41a9276 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolving.h @@ -0,0 +1,46 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +@class FBSDKAppLink; + +/** + Describes the callback for appLinkFromURLInBackground. + @param appLink the FBSDKAppLink representing the deferred App Link + @param error the error during the request, if any + */ +typedef void (^ FBSDKAppLinkBlock)(FBSDKAppLink *_Nullable appLink, NSError *_Nullable error) +NS_SWIFT_NAME(AppLinkBlock); + +/** + 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. + */ +NS_SWIFT_NAME(AppLinkResolving) +@protocol FBSDKAppLinkResolving + +/** + Asynchronously resolves App Link data for a given URL. + + @param url The URL to resolve into an App Link. + @param handler The completion block that will return an App Link for the given URL. + */ +- (void)appLinkFromURL:(NSURL *)url handler:(FBSDKAppLinkBlock)handler + NS_EXTENSION_UNAVAILABLE_IOS("Not available in app extension"); + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkTarget.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkTarget.h new file mode 100644 index 0000000..75ecb37 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkTarget.h @@ -0,0 +1,48 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Represents a target defined in App Link metadata, consisting of at least + a URL, and optionally an App Store ID and name. + */ +NS_SWIFT_NAME(AppLinkTarget) +@interface FBSDKAppLinkTarget : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/// Creates a FBSDKAppLinkTarget with the given app site and target URL. +// UNCRUSTIFY_FORMAT_OFF ++ (instancetype)appLinkTargetWithURL:(nullable NSURL *)url + appStoreId:(nullable NSString *)appStoreId + appName:(NSString *)appName +NS_SWIFT_NAME(init(url:appStoreId:appName:)); +// UNCRUSTIFY_FORMAT_ON + +/// The URL prefix for this app link target +@property (nullable, nonatomic, readonly, strong) NSURL *URL; + +/// The app ID for the app store +@property (nullable, nonatomic, readonly, copy) NSString *appStoreId; + +/// The name of the app +@property (nonatomic, readonly, copy) NSString *appName; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkTargetProtocol.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkTargetProtocol.h new file mode 100644 index 0000000..2bd5cd3 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkTargetProtocol.h @@ -0,0 +1,39 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// A protocol to describe an AppLinkTarget +NS_SWIFT_NAME(AppLinkTargetProtocol) +@protocol FBSDKAppLinkTarget + +// UNCRUSTIFY_FORMAT_OFF ++ (instancetype)appLinkTargetWithURL:(nullable NSURL *)url + appStoreId:(nullable NSString *)appStoreId + appName:(NSString *)appName +NS_SWIFT_NAME(init(url:appStoreId:appName:)); +// UNCRUSTIFY_FORMAT_ON + +/// The URL prefix for this app link target +@property (nullable, nonatomic, readonly) NSURL *URL; + +/// The app ID for the app store +@property (nullable, nonatomic, readonly, copy) NSString *appStoreId; + +/// The name of the app +@property (nonatomic, readonly, copy) NSString *appName; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h new file mode 100644 index 0000000..cc886b5 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h @@ -0,0 +1,75 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Describes the callback for fetchDeferredAppLink. + @param url the url representing the deferred App Link + @param error the error during the request, if any + + The url may also have a fb_click_time_utc query parameter that + represents when the click occurred that caused the deferred App Link to be created. + */ +typedef void (^ FBSDKURLBlock)(NSURL *_Nullable url, NSError *_Nullable error) +NS_SWIFT_NAME(URLBlock); + +/// Class containing App Links related utility methods. +NS_SWIFT_NAME(AppLinkUtility) +@interface FBSDKAppLinkUtility : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + 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 + + 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:(nullable FBSDKURLBlock)handler; + +/** + Call this method to fetch promotion code from the url, if it's present. + + @param url App Link url that was passed to the app. + + @return Promotion code string. + + Call this method to fetch App Invite Promotion Code from applink if present. + This can be used to fetch the promotion code that was associated with the invite when it + was created. This method should be called with the url from the openURL method. + */ ++ (nullable NSString *)appInvitePromotionCodeFromURL:(NSURL *)url; + +/** + Check whether the scheme is defined in the app's URL schemes. + @param scheme the scheme of App Link URL + @return YES if the scheme is defined, otherwise NO. + */ ++ (BOOL)isMatchURLScheme:(NSString *)scheme; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppURLSchemeProviding.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppURLSchemeProviding.h new file mode 100644 index 0000000..c8b39fa --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppURLSchemeProviding.h @@ -0,0 +1,34 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AppURLSchemeProviding) +@protocol FBSDKAppURLSchemeProviding + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nonatomic, readonly, copy) NSString *appURLScheme; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void)validateURLSchemes; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h new file mode 100644 index 0000000..585fb0c --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h @@ -0,0 +1,131 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + 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). + + 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. + */ +NS_SWIFT_NAME(ApplicationDelegate) +@interface FBSDKApplicationDelegate : NSObject + +#if !DEBUG +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; +#endif + +#if DEBUG +@property (nonnull, nonatomic, readonly) NSHashTable> *applicationObservers; +#endif + +/// Gets the singleton instance. +@property (class, nonatomic, readonly, strong) FBSDKApplicationDelegate *sharedInstance +NS_SWIFT_NAME(shared); + +/** + Call this method from the [UIApplicationDelegate application:continue:restorationHandler:] method + of the AppDelegate for your app. It should be invoked in order to properly process the web URL (universal link) + once the end user is redirected to your app. + + @param application The application as passed to [UIApplicationDelegate application:continue:restorationHandler:]. + @param userActivity The user activity as passed to [UIApplicationDelegate application:continue:restorationHandler:]. + + @return YES if the URL was intended for the Facebook SDK, NO if not. +*/ +- (BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity; + +/** + 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:(nullable NSString *)sourceApplication + annotation:(nullable id)annotation; + +/** + Call this method from the [UIApplicationDelegate application:openURL:options:] 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:options:]. + + @param url The URL as passed to [UIApplicationDelegate application:openURL:options:]. + + @param options The options dictionary as passed to [UIApplicationDelegate application:openURL:options:]. + + @return YES if the URL was intended for the Facebook SDK, NO if not. + */ +- (BOOL)application:(UIApplication *)application + openURL:(NSURL *)url + options:(NSDictionary *)options; + +/** + 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. + As part of SDK initialization basic auto logging of app events will occur, this can be + controlled via 'FacebookAutoLogAppEventsEnabled' key in the project info plist file. + + @param application The application as passed to [UIApplicationDelegate application:didFinishLaunchingWithOptions:]. + + @param launchOptions The launchOptions as passed to [UIApplicationDelegate application:didFinishLaunchingWithOptions:]. + + @return True if there are any added application observers that themselves return true from calling `application:didFinishLaunchingWithOptions:`. + Otherwise will return false. Note: If this method is called after calling `initializeSDK` then the return type will always be false. + */ +- (BOOL) application:(UIApplication *)application + didFinishLaunchingWithOptions:(nullable NSDictionary *)launchOptions; + +/** + Initializes the SDK. + + If you are using the SDK within the context of the UIApplication lifecycle, do not use this method. + Instead use `application: didFinishLaunchingWithOptions:`. + + As part of SDK initialization basic auto logging of app events will occur, this can be + controlled via 'FacebookAutoLogAppEventsEnabled' key in the project info plist file. + */ +- (void)initializeSDK; + +/** + Adds an observer that will be informed about application lifecycle events. + + @note Observers are weakly held + */ +- (void)addObserver:(id)observer; + +/** + Removes an observer so that it will no longer be informed about application lifecycle events. + + @note Observers are weakly held + */ +- (void)removeObserver:(id)observer; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKApplicationObserving.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKApplicationObserving.h new file mode 100644 index 0000000..14de894 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKApplicationObserving.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/* + Describes any types that optionally responds to various lifecycle events + received by the system and propagated by `ApplicationDelegate`. + */ +@protocol FBSDKApplicationObserving + +@optional +- (void)applicationDidBecomeActive:(nullable UIApplication *)application; +- (void)applicationWillResignActive:(nullable UIApplication *)application; +- (void)applicationDidEnterBackground:(nullable UIApplication *)application; +- (BOOL) application:(UIApplication *)application + didFinishLaunchingWithOptions:(nullable NSDictionary *)launchOptions; + +- (BOOL)application:(UIApplication *)application + openURL:(NSURL *)url + sourceApplication:(nullable NSString *)sourceApplication + annotation:(nullable id)annotation; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationToken.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationToken.h new file mode 100644 index 0000000..90648c9 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationToken.h @@ -0,0 +1,53 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +@class FBSDKAuthenticationTokenClaims; +@protocol FBSDKTokenCaching; + +NS_ASSUME_NONNULL_BEGIN + +/// Represent an AuthenticationToken used for a login attempt +NS_SWIFT_NAME(AuthenticationToken) +@interface FBSDKAuthenticationToken : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + The "global" authentication token that represents the currently logged in user. + + The `currentAuthenticationToken` represents the authentication token of the + current user and can be used by a client to verify an authentication attempt. + */ +@property (class, nullable, nonatomic, copy) FBSDKAuthenticationToken *currentAuthenticationToken; + +/// The raw token string from the authentication response +@property (nonatomic, readonly, copy) NSString *tokenString; + +/// The nonce from the decoded authentication response +@property (nonatomic, readonly, copy) NSString *nonce; + +/// The graph domain where the user is authenticated. +@property (nonatomic, readonly, copy) NSString *graphDomain; + +/// Returns the claims encoded in the AuthenticationToken +- (nullable FBSDKAuthenticationTokenClaims *)claims; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (class, nullable, nonatomic, copy) id tokenCache; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenClaims.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenClaims.h new file mode 100644 index 0000000..874fe07 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenClaims.h @@ -0,0 +1,89 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AuthenticationTokenClaims) +@interface FBSDKAuthenticationTokenClaims : NSObject + +/// A unique identifier for the token. +@property (nonatomic, readonly, strong) NSString *jti; + +/// Issuer Identifier for the Issuer of the response. +@property (nonatomic, readonly, strong) NSString *iss; + +/// Audience(s) that this ID Token is intended for. +@property (nonatomic, readonly, strong) NSString *aud; + +/// String value used to associate a Client session with an ID Token, and to mitigate replay attacks. +@property (nonatomic, readonly, strong) NSString *nonce; + +/// Expiration time on or after which the ID Token MUST NOT be accepted for processing. +@property (nonatomic, readonly, assign) NSTimeInterval exp; + +/// Time at which the JWT was issued. +@property (nonatomic, readonly, assign) NSTimeInterval iat; + +/// Subject - Identifier for the End-User at the Issuer. +@property (nonatomic, readonly, strong) NSString *sub; + +/// End-User's full name in displayable form including all name parts. +@property (nullable, nonatomic, readonly, strong) NSString *name; + +/// End-User's given name in displayable form +@property (nullable, nonatomic, readonly, strong) NSString *givenName; + +/// End-User's middle name in displayable form +@property (nullable, nonatomic, readonly, strong) NSString *middleName; + +/// End-User's family name in displayable form +@property (nullable, nonatomic, readonly, strong) NSString *familyName; + +/** + End-User's preferred e-mail address. + + IMPORTANT: This field will only be populated if your user has granted your application the 'email' permission. + */ +@property (nullable, nonatomic, readonly, strong) NSString *email; + +/// URL of the End-User's profile picture. +@property (nullable, nonatomic, readonly, strong) NSString *picture; + +/** + End-User's friends. + + IMPORTANT: This field will only be populated if your user has granted your application the 'user_friends' permission. + */ +@property (nullable, nonatomic, readonly, strong) NSArray *userFriends; + +/// End-User's birthday +@property (nullable, nonatomic, readonly, strong) NSString *userBirthday; + +/// End-User's age range +@property (nullable, nonatomic, readonly, strong) NSDictionary *userAgeRange; + +/// End-User's hometown +@property (nullable, nonatomic, readonly, strong) NSDictionary *userHometown; + +/// End-User's location +@property (nullable, nonatomic, readonly, strong) NSDictionary *userLocation; + +/// End-User's gender +@property (nullable, nonatomic, readonly, strong) NSString *userGender; + +/// End-User's link +@property (nullable, nonatomic, readonly, strong) NSString *userLink; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenProtocols.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenProtocols.h new file mode 100644 index 0000000..4f64230 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenProtocols.h @@ -0,0 +1,31 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AuthenticationTokenProviding) +@protocol FBSDKAuthenticationTokenProviding + +@property (class, nullable, nonatomic, readonly, copy) FBSDKAuthenticationToken *currentAuthenticationToken; +@property (class, nullable, nonatomic, copy) id tokenCache; + +@end + +NS_SWIFT_NAME(AuthenticationTokenSetting) +@protocol FBSDKAuthenticationTokenSetting + +@property (class, nullable, nonatomic, copy) FBSDKAuthenticationToken *currentAuthenticationToken; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPI.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPI.h new file mode 100644 index 0000000..75036b6 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPI.h @@ -0,0 +1,54 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + + #import + #import + #import + #import + #import + #import + #import + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +typedef void (^FBSDKAuthenticationCompletionHandler)(NSURL *_Nullable callbackURL, NSError *_Nullable error); + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(BridgeAPI) +@interface FBSDKBridgeAPI : NSObject + +@property (class, nonatomic, readonly, strong) FBSDKBridgeAPI *sharedInstance +NS_SWIFT_NAME(shared); +@property (nonatomic, readonly, getter = isActive) BOOL active; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIProtocol.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIProtocol.h new file mode 100644 index 0000000..d394ff3 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIProtocol.h @@ -0,0 +1,44 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +FOUNDATION_EXPORT NSString *const FBSDKBridgeAPIAppIDKey; +FOUNDATION_EXPORT NSString *const FBSDKBridgeAPISchemeSuffixKey; +FOUNDATION_EXPORT NSString *const FBSDKBridgeAPIVersionKey; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(BridgeAPIProtocol) +@protocol FBSDKBridgeAPIProtocol + +- (nullable NSURL *)requestURLWithActionID:(NSString *)actionID + scheme:(NSString *)scheme + methodName:(NSString *)methodName + parameters:(NSDictionary *)parameters + error:(NSError *_Nullable *)errorRef; +- (nullable NSDictionary *)responseParametersForActionID:(NSString *)actionID + queryParameters:(NSDictionary *)queryParameters + cancelled:(nullable BOOL *)cancelledRef + error:(NSError *_Nullable *)errorRef; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIProtocolType.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIProtocolType.h new file mode 100644 index 0000000..7f86623 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIProtocolType.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +typedef NS_ENUM(NSUInteger, FBSDKBridgeAPIProtocolType) { + FBSDKBridgeAPIProtocolTypeNative, + FBSDKBridgeAPIProtocolTypeWeb, +}; + +#endif diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequest.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequest.h new file mode 100644 index 0000000..b55f870 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequest.h @@ -0,0 +1,50 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +#import +#import +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(BridgeAPIRequest) +@interface FBSDKBridgeAPIRequest : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; ++ (nullable instancetype)bridgeAPIRequestWithProtocolType:(FBSDKBridgeAPIProtocolType)protocolType + scheme:(FBSDKURLScheme)scheme + methodName:(nullable NSString *)methodName + parameters:(nullable NSDictionary *)parameters + userInfo:(nullable NSDictionary *)userInfo; + +@property (nonatomic, readonly, copy) NSString *actionID; +@property (nullable, nonatomic, readonly, copy) NSString *methodName; +@property (nullable, nonatomic, readonly, copy) NSDictionary *parameters; +@property (nonatomic, readonly, assign) FBSDKBridgeAPIProtocolType protocolType; +@property (nonatomic, readonly, copy) FBSDKURLScheme scheme; +@property (nullable, nonatomic, readonly, copy) NSDictionary *userInfo; + +- (nullable NSURL *)requestURL:(NSError *_Nullable *)errorRef; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestCreating.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestCreating.h new file mode 100644 index 0000000..5c76020 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestCreating.h @@ -0,0 +1,38 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +#import + +@protocol FBSDKBridgeAPIRequest; + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(BridgeAPIRequestCreating) +@protocol FBSDKBridgeAPIRequestCreating + +- (nullable id)bridgeAPIRequestWithProtocolType:(FBSDKBridgeAPIProtocolType)protocolType + scheme:(NSString *)scheme + methodName:(nullable NSString *)methodName + parameters:(nullable NSDictionary *)parameters + userInfo:(nullable NSDictionary *)userInfo; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestOpening.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestOpening.h new file mode 100644 index 0000000..11039fb --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestOpening.h @@ -0,0 +1,51 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import +#import + +#import +#import + +@protocol FBSDKBridgeAPIRequest; +@protocol FBSDKURLOpening; + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(BridgeAPIRequestOpening) +@protocol FBSDKBridgeAPIRequestOpening + +- (void)openBridgeAPIRequest:(NSObject *)request + useSafariViewController:(BOOL)useSafariViewController + fromViewController:(nullable UIViewController *)fromViewController + completionBlock:(FBSDKBridgeAPIResponseBlock)completionBlock; + +// UNCRUSTIFY_FORMAT_OFF +- (void)openURLWithSafariViewController:(NSURL *)url + sender:(nullable id)sender + fromViewController:(nullable UIViewController *)fromViewController + handler:(FBSDKSuccessBlock)handler +NS_SWIFT_NAME(openURLWithSafariViewController(url:sender:from:handler:)); +// UNCRUSTIFY_FORMAT_ON + +- (void)openURL:(NSURL *)url + sender:(nullable id)sender + handler:(FBSDKSuccessBlock)handler; +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestProtocol.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestProtocol.h new file mode 100644 index 0000000..4cdbd85 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestProtocol.h @@ -0,0 +1,40 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +#import + +@protocol FBSDKBridgeAPIProtocol; + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(BridgeAPIRequestProtocol) +@protocol FBSDKBridgeAPIRequest + +@property (nonatomic, readonly, copy) NSString *scheme; +@property (nonatomic, readonly, copy) NSString *actionID; +@property (nullable, nonatomic, readonly, copy) NSString *methodName; +@property (nonatomic, readonly, assign) FBSDKBridgeAPIProtocolType protocolType; +@property (nullable, nonatomic, readonly, strong) id protocol; + +- (nullable NSURL *)requestURL:(NSError *_Nullable *)errorRef; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIResponse.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIResponse.h new file mode 100644 index 0000000..1ccb94b --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIResponse.h @@ -0,0 +1,56 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +@protocol FBSDKBridgeAPIRequest; +@class FBSDKBridgeAPIResponse; + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +typedef void (^ FBSDKBridgeAPIResponseBlock)(FBSDKBridgeAPIResponse *response) +NS_SWIFT_NAME(BridgeAPIResponseBlock); + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(BridgeAPIResponse) +@interface FBSDKBridgeAPIResponse : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + ++ (instancetype)bridgeAPIResponseWithRequest:(NSObject *)request + error:(nullable NSError *)error; ++ (nullable instancetype)bridgeAPIResponseWithRequest:(NSObject *)request + responseURL:(NSURL *)responseURL + sourceApplication:(nullable NSString *)sourceApplication + error:(NSError *__autoreleasing *)errorRef; ++ (instancetype)bridgeAPIResponseCancelledWithRequest:(NSObject *)request; + +@property (nonatomic, readonly, getter = isCancelled, assign) BOOL cancelled; +@property (nullable, nonatomic, readonly, copy) NSError *error; +@property (nonatomic, readonly, copy) NSObject *request; +@property (nullable, nonatomic, readonly, copy) NSDictionary *responseParameters; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKButton.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKButton.h new file mode 100644 index 0000000..beae11a --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKButton.h @@ -0,0 +1,80 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import +#import + +@class FBSDKIcon; + +NS_ASSUME_NONNULL_BEGIN + +/// A base class for common SDK buttons. +NS_SWIFT_NAME(FBButton) +@interface FBSDKButton : FBSDKImpressionLoggingButton + +@property (nonatomic, readonly, getter = isImplicitlyDisabled) BOOL implicitlyDisabled; + +- (void)checkImplicitlyDisabled; +- (void)configureWithIcon:(nullable FBSDKIcon *)icon + title:(nullable NSString *)title + backgroundColor:(nullable UIColor *)backgroundColor + highlightedColor:(nullable UIColor *)highlightedColor; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void) configureWithIcon:(nullable FBSDKIcon *)icon + title:(nullable NSString *)title + backgroundColor:(nullable UIColor *)backgroundColor + highlightedColor:(nullable UIColor *)highlightedColor + selectedTitle:(nullable NSString *)selectedTitle + selectedIcon:(nullable FBSDKIcon *)selectedIcon + selectedColor:(nullable UIColor *)selectedColor + selectedHighlightedColor:(nullable UIColor *)selectedHighlightedColor; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (UIColor *)defaultBackgroundColor; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (CGSize)sizeThatFits:(CGSize)size title:(NSString *)title; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (CGSize)textSizeForText:(NSString *)text font:(UIFont *)font constrainedSize:(CGSize)constrainedSize lineBreakMode:(NSLineBreakMode)lineBreakMode; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void)logTapEventWithEventName:(FBSDKAppEventName)eventName + parameters:(nullable NSDictionary *)parameters; +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKButtonImpressionLogging.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKButtonImpressionLogging.h new file mode 100644 index 0000000..806edb4 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKButtonImpressionLogging.h @@ -0,0 +1,31 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(FBButtonImpressionLogging) +@protocol FBSDKButtonImpressionLogging + +@property (nullable, nonatomic, readonly, copy) NSDictionary *analyticsParameters; +@property (nonatomic, readonly, copy) FBSDKAppEventName impressionTrackingEventName; +@property (nonatomic, readonly, copy) NSString *impressionTrackingIdentifier; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKConstants.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKConstants.h new file mode 100644 index 0000000..d746dca --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKConstants.h @@ -0,0 +1,206 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + The error domain for all errors from FBSDKCoreKit. + + Error codes from the SDK in the range 0-99 are reserved for this domain. + */ +FOUNDATION_EXPORT NSErrorDomain const FBSDKErrorDomain +NS_SWIFT_NAME(ErrorDomain); + +/* + @methodgroup error userInfo keys + */ + +/** + The userInfo key for the invalid collection for errors with FBSDKErrorInvalidArgument. + + If the invalid argument is a collection, the collection can be found with this key and the individual + invalid item can be found with FBSDKErrorArgumentValueKey. + */ +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorArgumentCollectionKey +NS_SWIFT_NAME(ErrorArgumentCollectionKey); + +/// The userInfo key for the invalid argument name for errors with FBSDKErrorInvalidArgument. +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorArgumentNameKey +NS_SWIFT_NAME(ErrorArgumentNameKey); + +/// The userInfo key for the invalid argument value for errors with FBSDKErrorInvalidArgument. +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorArgumentValueKey +NS_SWIFT_NAME(ErrorArgumentValueKey); + +/** + The userInfo key for the message for developers in NSErrors that originate from the SDK. + + The developer message will not be localized and is not intended to be presented within the app. + */ +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorDeveloperMessageKey +NS_SWIFT_NAME(ErrorDeveloperMessageKey); + +/// The userInfo key describing a localized description that can be presented to the user. +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorLocalizedDescriptionKey +NS_SWIFT_NAME(ErrorLocalizedDescriptionKey); + +/// The userInfo key describing a localized title that can be presented to the user, used with `FBSDKLocalizedErrorDescriptionKey`. +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorLocalizedTitleKey +NS_SWIFT_NAME(ErrorLocalizedTitleKey); + +/* + @methodgroup FBSDKGraphRequest error userInfo keys + */ + +/** + The userInfo key describing the error category, for error recovery purposes. + + See `FBSDKGraphErrorRecoveryProcessor` and `[FBSDKGraphRequest disableErrorRecovery]`. + */ +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorKey +NS_SWIFT_NAME(GraphRequestErrorKey); + +/* + The userInfo key for the Graph API error code. + */ +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorGraphErrorCodeKey +NS_SWIFT_NAME(GraphRequestErrorGraphErrorCodeKey); + +/* + The userInfo key for the Graph API error subcode. + */ +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorGraphErrorSubcodeKey +NS_SWIFT_NAME(GraphRequestErrorGraphErrorSubcodeKey); + +/* + The userInfo key for the HTTP status code. + */ +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorHTTPStatusCodeKey +NS_SWIFT_NAME(GraphRequestErrorHTTPStatusCodeKey); + +/* + The userInfo key for the raw JSON response. + */ +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorParsedJSONResponseKey +NS_SWIFT_NAME(GraphRequestErrorParsedJSONResponseKey); + +/* + @methodgroup Common Code Block typedefs + */ + +/// Success Block +typedef void (^ FBSDKCodeBlock)(void) +NS_SWIFT_NAME(CodeBlock); + +/// Error Block +typedef void (^ FBSDKErrorBlock)(NSError *_Nullable error) +NS_SWIFT_NAME(ErrorBlock); + +/// Success Block +typedef void (^ FBSDKSuccessBlock)(BOOL success, NSError *_Nullable error) +NS_SWIFT_NAME(SuccessBlock); + +/* + @methodgroup Enums + */ + +#ifndef NS_ERROR_ENUM + #define NS_ERROR_ENUM(_domain, _name) \ + enum _name : NSInteger _name; \ + enum __attribute__((ns_error_domain(_domain))) _name: NSInteger +#endif + +/** + FBSDKCoreError + Error codes for FBSDKErrorDomain. + */ +typedef NS_ERROR_ENUM (FBSDKErrorDomain, FBSDKCoreError) +{ + /// Reserved. + FBSDKErrorReserved = 0, + + /// The error code for errors from invalid encryption on incoming encryption URLs. + FBSDKErrorEncryption, + + /// The error code for errors from invalid arguments to SDK methods. + FBSDKErrorInvalidArgument, + + /// The error code for unknown errors. + FBSDKErrorUnknown, + + /** + A request failed due to a network error. Use NSUnderlyingErrorKey to retrieve + the error object from the NSURLSession for more information. + */ + FBSDKErrorNetwork, + + /// The error code for errors encountered during an App Events flush. + FBSDKErrorAppEventsFlush, + + /** + An endpoint that returns a binary response was used with FBSDKGraphRequestConnection. + + Endpoints that return image/jpg, etc. should be accessed using NSURLRequest + */ + FBSDKErrorGraphRequestNonTextMimeTypeReturned, + + /** + The operation failed because the server returned an unexpected response. + + You can get this error if you are not using the most recent SDK, or you are accessing a version of the + Graph API incompatible with the current SDK. + */ + FBSDKErrorGraphRequestProtocolMismatch, + + /** + The Graph API returned an error. + + See below for useful userInfo keys (beginning with FBSDKGraphRequestError*) + */ + FBSDKErrorGraphRequestGraphAPI, + + /** + The specified dialog configuration is not available. + + This error may signify that the configuration for the dialogs has not yet been downloaded from the server + or that the dialog is unavailable. Subsequent attempts to use the dialog may succeed as the configuration is loaded. + */ + FBSDKErrorDialogUnavailable, + + /// Indicates an operation failed because a required access token was not found. + FBSDKErrorAccessTokenRequired, + + /// Indicates an app switch (typically for a dialog) failed because the destination app is out of date. + FBSDKErrorAppVersionUnsupported, + + /// Indicates an app switch to the browser (typically for a dialog) failed. + FBSDKErrorBrowserUnavailable, + + /// Indicates that a bridge api interaction was interrupted. + FBSDKErrorBridgeAPIInterruption, + + /// Indicates that a bridge api response creation failed. + FBSDKErrorBridgeAPIResponse, +} NS_SWIFT_NAME(CoreError); + +/** + FBSDKGraphRequestError + Describes the category of Facebook error. See `FBSDKGraphRequestErrorKey`. + */ +typedef NS_ENUM(NSUInteger, FBSDKGraphRequestError) { + /// The default error category that is not known to be recoverable. Check `FBSDKLocalizedErrorDescriptionKey` for a user facing message. + FBSDKGraphRequestErrorOther = 0, + /// Indicates the error is temporary (such as server throttling). While a recoveryAttempter will be provided with the error instance, the attempt is guaranteed to succeed so you can simply retry the operation if you do not want to present an alert. + FBSDKGraphRequestErrorTransient = 1, + /// Indicates the error can be recovered (such as requiring a login). A recoveryAttempter will be provided with the error instance that can take UI action. + FBSDKGraphRequestErrorRecoverable = 2, +} NS_SWIFT_NAME(GraphRequestError); + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-Swift.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-Swift.h new file mode 100644 index 0000000..095752d --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-Swift.h @@ -0,0 +1,500 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +#ifndef FBSDKCOREKIT_SWIFT_H +#define FBSDKCOREKIT_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import Foundation; +@import ObjectiveC; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKCoreKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + +@protocol FBSDKGraphRequestFactory; +@protocol FBSDKSettings; +@class NSString; + +SWIFT_PROTOCOL_NAMED("CAPIReporter") +@protocol FBSDKCAPIReporter +- (void)enable; +- (void)configureWithFactory:(id _Nonnull)factory settings:(id _Nonnull)settings; +- (void)recordEvent:(NSDictionary * _Nonnull)parameters; +@end + + +SWIFT_CLASS("_TtC12FBSDKCoreKit25FBSDKAppEventsCAPIManager") +@interface FBSDKAppEventsCAPIManager : NSObject +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FBSDKAppEventsCAPIManager * _Nonnull shared;) ++ (FBSDKAppEventsCAPIManager * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +- (void)configureWithFactory:(id _Nonnull)factory settings:(id _Nonnull)settings; +- (void)enable; +- (void)recordEvent:(NSDictionary * _Nonnull)parameters; +@end + + +SWIFT_CLASS("_TtC12FBSDKCoreKit35FBSDKTransformerGraphRequestFactory") +@interface FBSDKTransformerGraphRequestFactory : NSObject +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FBSDKTransformerGraphRequestFactory * _Nonnull shared;) ++ (FBSDKTransformerGraphRequestFactory * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +- (void)configureWithDatasetID:(NSString * _Nonnull)datasetID url:(NSString * _Nonnull)url accessKey:(NSString * _Nonnull)accessKey; +- (void)callCapiGatewayAPIWith:(NSDictionary * _Nonnull)parameters; +@end + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +#ifndef FBSDKCOREKIT_SWIFT_H +#define FBSDKCOREKIT_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import Foundation; +@import ObjectiveC; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKCoreKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + +@protocol FBSDKGraphRequestFactory; +@protocol FBSDKSettings; +@class NSString; + +SWIFT_PROTOCOL_NAMED("CAPIReporter") +@protocol FBSDKCAPIReporter +- (void)enable; +- (void)configureWithFactory:(id _Nonnull)factory settings:(id _Nonnull)settings; +- (void)recordEvent:(NSDictionary * _Nonnull)parameters; +@end + + +SWIFT_CLASS("_TtC12FBSDKCoreKit25FBSDKAppEventsCAPIManager") +@interface FBSDKAppEventsCAPIManager : NSObject +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FBSDKAppEventsCAPIManager * _Nonnull shared;) ++ (FBSDKAppEventsCAPIManager * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +- (void)configureWithFactory:(id _Nonnull)factory settings:(id _Nonnull)settings; +- (void)enable; +- (void)recordEvent:(NSDictionary * _Nonnull)parameters; +@end + + +SWIFT_CLASS("_TtC12FBSDKCoreKit35FBSDKTransformerGraphRequestFactory") +@interface FBSDKTransformerGraphRequestFactory : NSObject +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FBSDKTransformerGraphRequestFactory * _Nonnull shared;) ++ (FBSDKTransformerGraphRequestFactory * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +- (void)configureWithDatasetID:(NSString * _Nonnull)datasetID url:(NSString * _Nonnull)url accessKey:(NSString * _Nonnull)accessKey; +- (void)callCapiGatewayAPIWith:(NSDictionary * _Nonnull)parameters; +@end + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#endif diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h new file mode 100644 index 0000000..8a4569c --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h @@ -0,0 +1,112 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import + +#import + +#if !TARGET_OS_TV + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import +#endif diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKCoreKitVersions.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKCoreKitVersions.h new file mode 100644 index 0000000..14be1be --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKCoreKitVersions.h @@ -0,0 +1,10 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#define FBSDK_VERSION_STRING @"13.2.0" +#define FBSDK_DEFAULT_GRAPH_API_VERSION @"v13.0" diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKDeviceButton.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKDeviceButton.h new file mode 100644 index 0000000..73ac851 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKDeviceButton.h @@ -0,0 +1,28 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +/* + An internal base class for device related flows. + + This is an internal API that should not be used directly and is subject to change. + */ +NS_SWIFT_NAME(FBDeviceButton) +@interface FBSDKDeviceButton : FBSDKButton +- (CGSize)sizeThatFits:(CGSize)size attributedTitle:(NSAttributedString *)title; +- (nullable NSAttributedString *)attributedTitleStringFromString:(NSString *)string; +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKDeviceDialogView.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKDeviceDialogView.h new file mode 100644 index 0000000..b98e122 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKDeviceDialogView.h @@ -0,0 +1,45 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(DeviceDialogViewDelegate) +@protocol FBSDKDeviceDialogViewDelegate; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ + +NS_SWIFT_NAME(FBDeviceDialogView) +@interface FBSDKDeviceDialogView : UIView + +@property (nonatomic, weak) id delegate; +@property (nonatomic, copy) NSString *confirmationCode; + +// override point for subclasses. +- (void)buildView; + +@end + +NS_SWIFT_NAME(DeviceDialogViewDelegate) +@protocol FBSDKDeviceDialogViewDelegate + +- (void)deviceDialogViewDidCancel:(FBSDKDeviceDialogView *)deviceDialogView; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKDeviceViewControllerBase.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKDeviceViewControllerBase.h new file mode 100644 index 0000000..b4e309a --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKDeviceViewControllerBase.h @@ -0,0 +1,28 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if TARGET_OS_TV + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/* + An internal base class for device related flows. + + This is an internal API that should not be used directly and is subject to change. + */ +NS_SWIFT_NAME(FBDeviceViewControllerBase) +@interface FBSDKDeviceViewControllerBase : UIViewController +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKDynamicFrameworkLoaderProxy.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKDynamicFrameworkLoaderProxy.h new file mode 100644 index 0000000..a46a303 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKDynamicFrameworkLoaderProxy.h @@ -0,0 +1,29 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(DynamicFrameworkLoaderProxy) +@interface FBSDKDynamicFrameworkLoaderProxy : NSObject +/** + Load the kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly value from the Security Framework + + @return The kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly value or nil. + */ ++ (CFTypeRef)loadkSecAttrAccessibleAfterFirstUnlockThisDeviceOnly; +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKDynamicSocialFrameworkLoader.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKDynamicSocialFrameworkLoader.h new file mode 100644 index 0000000..bad1414 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKDynamicSocialFrameworkLoader.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - Social Constants + +/// Dynamically loaded constant for SLServiceTypeFacebook +FOUNDATION_EXPORT NSString *fbsdkdfl_SLServiceTypeFacebook(void); + +#pragma mark - Social Classes + +FOUNDATION_EXPORT Class fbsdkdfl_SLComposeViewControllerClass(void); + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKErrorCreating.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKErrorCreating.h new file mode 100644 index 0000000..85c9e19 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKErrorCreating.h @@ -0,0 +1,81 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(ErrorCreating) +@protocol FBSDKErrorCreating + +// MARK: - General Errors + +// UNCRUSTIFY_FORMAT_OFF +- (NSError *)errorWithCode:(NSInteger)code + userInfo:(nullable NSDictionary *)userInfo + message:(nullable NSString *)message + underlyingError:(nullable NSError *)underlyingError +NS_SWIFT_NAME(error(code:userInfo:message:underlyingError:)); +// UNCRUSTIFY_FORMAT_ON + +// UNCRUSTIFY_FORMAT_OFF +- (NSError *)errorWithDomain:(NSErrorDomain)domain + code:(NSInteger)code + userInfo:(nullable NSDictionary *)userInfo + message:(nullable NSString *)message + underlyingError:(nullable NSError *)underlyingError +NS_SWIFT_NAME(error(domain:code:userInfo:message:underlyingError:)); +// UNCRUSTIFY_FORMAT_ON + +// MARK: - Invalid Argument Errors + +// UNCRUSTIFY_FORMAT_OFF +- (NSError *)invalidArgumentErrorWithName:(NSString *)name + value:(nullable id)value + message:(nullable NSString *)message + underlyingError:(nullable NSError *)underlyingError +NS_SWIFT_NAME(invalidArgumentError(name:value:message:underlyingError:)); +// UNCRUSTIFY_FORMAT_ON + +// UNCRUSTIFY_FORMAT_OFF +- (NSError *)invalidArgumentErrorWithDomain:(NSErrorDomain)domain + name:(NSString *)name + value:(nullable id)value + message:(nullable NSString *)message + underlyingError:(nullable NSError *)underlyingError +NS_SWIFT_NAME(invalidArgumentError(domain:name:value:message:underlyingError:)); +// UNCRUSTIFY_FORMAT_ON + +// MARK: - Required Argument Errors + +// UNCRUSTIFY_FORMAT_OFF +- (NSError *)requiredArgumentErrorWithName:(NSString *)name + message:(nullable NSString *)message + underlyingError:(nullable NSError *)underlyingError +NS_SWIFT_NAME(requiredArgumentError(name:message:underlyingError:)); +// UNCRUSTIFY_FORMAT_ON + +// UNCRUSTIFY_FORMAT_OFF +- (NSError *)requiredArgumentErrorWithDomain:(NSErrorDomain)domain + name:(NSString *)name + message:(nullable NSString *)message + underlyingError:(nullable NSError *)underlyingError + NS_SWIFT_NAME(requiredArgumentError(domain:name:message:underlyingError:)); +// UNCRUSTIFY_FORMAT_ON + +// MARK: - Unknown Errors + +// UNCRUSTIFY_FORMAT_OFF +- (NSError *)unknownErrorWithMessage:(nullable NSString *)message + userInfo:(nullable NSDictionary *)userInfo +NS_SWIFT_NAME(unknownError(message:userInfo:)); +// UNCRUSTIFY_FORMAT_ON + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKErrorFactory.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKErrorFactory.h new file mode 100644 index 0000000..217c00b --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKErrorFactory.h @@ -0,0 +1,18 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(ErrorFactory) +@interface FBSDKErrorFactory : NSObject + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKErrorRecoveryAttempting.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKErrorRecoveryAttempting.h new file mode 100644 index 0000000..b005f8e --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKErrorRecoveryAttempting.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + A formal protocol very similar to the informal protocol NSErrorRecoveryAttempting + Internal use only + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(ErrorRecoveryAttempting) +@protocol FBSDKErrorRecoveryAttempting + +/** + Attempt the recovery + @param error the error + @param completionHandler the handler called upon completion of error recovery + + Attempt recovery from the error, and call the completion handler. The value passed for didRecover must be YES if error recovery was completely successful, NO otherwise. + */ +- (void)attemptRecoveryFromError:(NSError *)error + completionHandler:(void (^)(BOOL didRecover))completionHandler; +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKFeature.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKFeature.h new file mode 100644 index 0000000..09a72fa --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKFeature.h @@ -0,0 +1,84 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + FBSDKFeature enum + Defines features in SDK + + Sample: + FBSDKFeatureAppEvents = 0x00010000, + ^ ^ ^ ^ + | | | | + kit | | | + feature | | + sub-feature | + sub-sub-feature + 1st byte: kit + 2nd byte: feature + 3rd byte: sub-feature + 4th byte: sub-sub-feature + + @warning INTERNAL - DO NOT USE + */ +typedef NS_ENUM(NSUInteger, FBSDKFeature) { + FBSDKFeatureNone = 0x00000000, + // Features in CoreKit + /// Essential of CoreKit + FBSDKFeatureCore = 0x01000000, + /// App Events + FBSDKFeatureAppEvents = 0x01010000, + FBSDKFeatureCodelessEvents = 0x01010100, + FBSDKFeatureRestrictiveDataFiltering = 0x01010200, + FBSDKFeatureAAM = 0x01010300, + FBSDKFeaturePrivacyProtection = 0x01010400, + FBSDKFeatureSuggestedEvents = 0x01010401, + FBSDKFeatureIntelligentIntegrity = 0x01010402, + FBSDKFeatureModelRequest = 0x01010403, + FBSDKFeatureEventDeactivation = 0x01010500, + FBSDKFeatureSKAdNetwork = 0x01010600, + FBSDKFeatureSKAdNetworkConversionValue = 0x01010601, + FBSDKFeatureATELogging = 0x01010700, + FBSDKFeatureAEM = 0x01010800, + FBSDKFeatureAEMConversionFiltering = 0x01010801, + FBSDKFeatureAEMCatalogMatching = 0x01010802, + FBSDKFeatureAppEventsCloudbridge = 0x01010900, + /// Instrument + FBSDKFeatureInstrument = 0x01020000, + FBSDKFeatureCrashReport = 0x01020100, + FBSDKFeatureCrashShield = 0x01020101, + FBSDKFeatureErrorReport = 0x01020200, + + // Features in LoginKit + /// Essential of LoginKit + FBSDKFeatureLogin = 0x02000000, + + // Features in ShareKit + /// Essential of ShareKit + FBSDKFeatureShare = 0x03000000, + + // Features in GamingServicesKit + /// Essential of GamingServicesKit + FBSDKFeatureGamingServices = 0x04000000, +} NS_SWIFT_NAME(SDKFeature); + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +typedef void (^FBSDKFeatureManagerBlock)(BOOL enabled); + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKFeatureChecking.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKFeatureChecking.h new file mode 100644 index 0000000..bdb5d53 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKFeatureChecking.h @@ -0,0 +1,29 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(FeatureChecking) +@protocol FBSDKFeatureChecking + +- (BOOL)isEnabled:(FBSDKFeature)feature; + +- (void)checkFeature:(FBSDKFeature)feature + completionBlock:(FBSDKFeatureManagerBlock)completionBlock; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h new file mode 100644 index 0000000..1fee9dd --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h @@ -0,0 +1,97 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +@class FBSDKGraphErrorRecoveryProcessor; +@protocol FBSDKGraphRequest; + +/// Defines a delegate for `FBSDKGraphErrorRecoveryProcessor`. +NS_SWIFT_NAME(GraphErrorRecoveryProcessorDelegate) +@protocol FBSDKGraphErrorRecoveryProcessorDelegate + +/** + 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:(nullable NSError *)error; + +@optional +/** + Indicates the processor is about to process the error. + @param processor the processor instance. + @param error the error is about to be processed. + + return NO if the processor should not process the error. For example, + if you want to prevent alerts of localized messages but otherwise perform retries and recoveries, + you could return NO for errors where userInfo[FBSDKGraphRequestErrorKey] equal to FBSDKGraphRequestErrorOther + */ +- (BOOL)processorWillProcessError:(FBSDKGraphErrorRecoveryProcessor *)processor + error:(nullable NSError *)error; + +@end + +NS_ASSUME_NONNULL_END + +NS_ASSUME_NONNULL_BEGIN + +/** + Defines a type that can process Facebook NSErrors with best practices. + + 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 FBSDKGraphRequestErrorKey, assume the recovery succeeded and + notify the delegate. + 2. If a FBSDKErrorRecoveryAttempting instance is available, display an alert (dispatched to main thread) + with the recovery options and call the instance's attemptRecoveryFromError method. + 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 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. + . + */ +NS_SWIFT_NAME(GraphErrorRecoveryProcessor) +@interface FBSDKGraphErrorRecoveryProcessor : NSObject + +/// Initializes a GraphErrorRecoveryProcessor with an access token string. +- (instancetype)initWithAccessTokenString:(NSString *)accessTokenString; + +/** + Attempts to process the error, return YES if the error can be processed. + @param error the error to process. + @param request the related request that may be reissued. + @param delegate the delegate that will be retained until recovery is complete. + */ +- (BOOL)processError:(NSError *)error + request:(id)request + delegate:(nullable id)delegate; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h new file mode 100644 index 0000000..bd14952 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h @@ -0,0 +1,167 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import +#import +#import +#import +#import + +NS_ASSUME_NONNULL_BEGIN +/** + Represents a request to the Facebook Graph API. + + `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 + */ +NS_SWIFT_NAME(GraphRequest) +@interface FBSDKGraphRequest : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +// UNCRUSTIFY_FORMAT_OFF ++ (void) configureWithSettings:(id)settings + currentAccessTokenStringProvider:(Class)accessTokenProvider + graphRequestConnectionFactory:(id)_graphRequestConnectionFactory +NS_SWIFT_NAME(configure(settings:currentAccessTokenStringProvider:graphRequestConnectionFactory:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Initializes a new instance that use use `[FBSDKAccessToken currentAccessToken]`. + @param graphPath the graph path (e.g., @"me"). + */ +- (instancetype)initWithGraphPath:(NSString *)graphPath; + +/** + Initializes a new instance that use use `[FBSDKAccessToken currentAccessToken]`. + @param graphPath the graph path (e.g., @"me"). + @param method the HTTP method. Empty String defaults to @"GET". + */ +- (instancetype)initWithGraphPath:(NSString *)graphPath + HTTPMethod:(FBSDKHTTPMethod)method; + +/** + 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; + +/** + Initializes a new instance that use use `[FBSDKAccessToken currentAccessToken]`. + @param graphPath the graph path (e.g., @"me"). + @param parameters the optional parameters dictionary. + @param method the HTTP method. Empty String defaults to @"GET". + */ +- (instancetype)initWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + HTTPMethod:(FBSDKHTTPMethod)method; + +/** + 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 `[FBSDKSettings graphAPIVersion]`. + @param method the HTTP method. Empty String defaults to @"GET". + */ +- (instancetype)initWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + tokenString:(nullable NSString *)tokenString + version:(nullable NSString *)version + HTTPMethod:(FBSDKHTTPMethod)method + NS_DESIGNATED_INITIALIZER; + +/** + Initializes a new instance. + @param graphPath the graph path (e.g., @"me"). + @param parameters the optional parameters dictionary. + @param requestFlags flags that indicate how a graph request should be treated in various scenarios + */ +- (instancetype)initWithGraphPath:(NSString *)graphPath + parameters:(nullable NSDictionary *)parameters + flags:(FBSDKGraphRequestFlags)requestFlags; + +/** + 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 HTTPMethod the HTTP method. Empty String defaults to @"GET". + @param flags flags that indicate how a graph request should be treated in various scenarios + */ +- (instancetype)initWithGraphPath:(NSString *)graphPath + parameters:(nullable NSDictionary *)parameters + tokenString:(nullable NSString *)tokenString + HTTPMethod:(nullable NSString *)HTTPMethod + flags:(FBSDKGraphRequestFlags)flags; + +/// The request parameters. +@property (nonatomic, copy) NSDictionary *parameters; + +/// The access token string used by the request. +@property (nullable, nonatomic, readonly, copy) NSString *tokenString; + +/// The Graph API endpoint to use for the request, for example "me". +@property (nonatomic, readonly, copy) NSString *graphPath; + +/// The HTTPMethod to use for the request, for example "GET" or "POST". +@property (nonatomic, readonly, copy) FBSDKHTTPMethod HTTPMethod; + +/// The Graph API version to use (e.g., "v2.0") +@property (nonatomic, readonly, copy) NSString *version; + +/** + If set, disables the automatic error recovery mechanism. + @param disable whether to disable the automatic error recovery mechanism + + By default, non-batched FBSDKGraphRequest instances will automatically try to recover + from errors by constructing a `FBSDKGraphErrorRecoveryProcessor` instance that + 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:]. + */ + +// UNCRUSTIFY_FORMAT_OFF +- (void)setGraphErrorRecoveryDisabled:(BOOL)disable +NS_SWIFT_NAME(setGraphErrorRecovery(disabled:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Starts a connection to the Graph API. + @param completion The handler block to call when the request completes. + */ +- (id)startWithCompletion:(nullable FBSDKGraphRequestCompletion)completion; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnecting.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnecting.h new file mode 100644 index 0000000..a64cb00 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnecting.h @@ -0,0 +1,54 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol FBSDKGraphRequest; +@protocol FBSDKGraphRequestConnecting; +@protocol FBSDKGraphRequestConnectionDelegate; + +/** + FBSDKGraphRequestCompletion + + A block that is passed to addRequest to register for a callback with the results of that + request once the connection completes. + + 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 connection 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. + */ +NS_SWIFT_NAME(GraphRequestCompletion) +typedef void (^FBSDKGraphRequestCompletion)(id _Nullable connection, + id _Nullable result, + NSError *_Nullable error); + +/// A protocol to describe an object that can manage graph requests +NS_SWIFT_NAME(GraphRequestConnecting) +@protocol FBSDKGraphRequestConnecting + +@property (nonatomic, assign) NSTimeInterval timeout; +@property (nullable, nonatomic, weak) id delegate; + +- (void)addRequest:(id)request + completion:(FBSDKGraphRequestCompletion)handler; + +- (void)start; +- (void)cancel; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h new file mode 100644 index 0000000..99966bf --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h @@ -0,0 +1,173 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + The key in the result dictionary for requests to old versions of the Graph API + whose response is not a JSON object. + + 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. + */ +FOUNDATION_EXPORT NSString *const FBSDKNonJSONResponseProperty +NS_SWIFT_NAME(NonJSONResponseProperty); + +@protocol FBSDKGraphRequest; + +/** + The `FBSDKGraphRequestConnection` represents a single connection to Facebook to service a request. + + 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. + */ +NS_SWIFT_NAME(GraphRequestConnection) +@interface FBSDKGraphRequestConnection : NSObject + +/// The default timeout on all FBSDKGraphRequestConnection instances. Defaults to 60 seconds. +@property (class, nonatomic, assign) NSTimeInterval defaultConnectionTimeout; + +/// The delegate object that receives updates. +@property (nullable, nonatomic, weak) id delegate; + +/// Gets or sets the timeout interval to wait for a response before giving up. +@property (nonatomic, assign) NSTimeInterval timeout; + +/** + The raw response that was returned from the server. (readonly) + + 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 FBSDKGraphRequestBlock callback. + */ +@property (nullable, nonatomic, readonly, retain) NSHTTPURLResponse *urlResponse; + +/** + Determines the operation queue that is used to call methods on the connection's delegate. + + 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. + */ +@property (nullable, nonatomic) NSOperationQueue *delegateQueue; + +/// @methodgroup Class methods + +/// @methodgroup Adding requests + +/** + @method + + This method adds an object to this connection. + + @param request A request to be included in the round-trip when start is called. + @param completion A handler to call back when the round-trip completes or times out. + + The completion handler is retained until the block is called upon the + completion or cancellation of the connection. + */ +- (void)addRequest:(id)request + completion:(FBSDKGraphRequestCompletion)completion; + +/** + @method + + This method adds an object to this connection. + + @param request A request to be included in the round-trip when start is called. + + @param completion A handler to call back when the round-trip completes or times out. + The handler will be invoked on the main thread. + + @param name A 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/ ). + + 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:(id)request + name:(NSString *)name + completion:(FBSDKGraphRequestCompletion)completion; + +/** + @method + + This method adds an object to this connection. + + @param request A request to be included in the round-trip when start is called. + + @param completion A handler to call back when the round-trip completes or times out. + + @param parameters The 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". + + 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:(id)request + parameters:(nullable NSDictionary *)parameters + completion:(FBSDKGraphRequestCompletion)completion; + +/// @methodgroup Instance methods + +/** + @method + + Signals that a connection should be logically terminated as the + application is no longer interested in a response. + + 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 + + This method starts a connection with the server and is capable of handling all of the + requests that were added to the connection. + + 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; + +/** + @method + + Overrides the default version for a batch request + + 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)overrideGraphAPIVersion:(NSString *)version; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionDelegate.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionDelegate.h new file mode 100644 index 0000000..738ad47 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionDelegate.h @@ -0,0 +1,93 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + @protocol + + The `FBSDKGraphRequestConnectionDelegate` protocol defines the methods used to receive network + activity progress information from a . + */ +NS_SWIFT_NAME(GraphRequestConnectionDelegate) +@protocol FBSDKGraphRequestConnectionDelegate + +@optional + +/** + @method + + Tells the delegate the request connection will begin loading + + 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:(id)connection; + +/** + @method + + Tells the delegate the request connection finished loading + + If the request connection completes without a network error occurring 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 FBSDKGraphRequestBlock + 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:(id)connection; + +/** + @method + + Tells the delegate the request connection failed with an error + + 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 + FBSDKGraphRequestBlock 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:(id)connection + didFailWithError:(NSError *)error; + +/** + @method + + Tells the delegate how much data has been sent and is planned to send to the remote host + + The byte count arguments refer to the aggregated objects, not a particular . + + Like `NSURLSession`, 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:(id)connection + didSendBodyData:(NSInteger)bytesWritten + totalBytesWritten:(NSInteger)totalBytesWritten + totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactory.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactory.h new file mode 100644 index 0000000..19e62d2 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactory.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal type not intended for use outside of the SDKs. + + A factory for providing objects that conform to `GraphRequestConnecting`. + */ +NS_SWIFT_NAME(GraphRequestConnectionFactory) +@interface FBSDKGraphRequestConnectionFactory : NSObject +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactoryProtocol.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactoryProtocol.h new file mode 100644 index 0000000..96b43df --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactoryProtocol.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol FBSDKGraphRequestConnecting; + +/// Describes anything that can provide instances of `FBSDKGraphRequestConnecting` +NS_SWIFT_NAME(GraphRequestConnectionFactoryProtocol) +@protocol FBSDKGraphRequestConnectionFactory + +- (id)createGraphRequestConnection; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h new file mode 100644 index 0000000..3775cb4 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h @@ -0,0 +1,42 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// A container class for data attachments so that additional metadata can be provided about the attachment. +NS_SWIFT_NAME(GraphRequestDataAttachment) +@interface FBSDKGraphRequestDataAttachment : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + 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; + +/// The content type for the attachment. +@property (nonatomic, readonly, copy) NSString *contentType; + +/// The attachment data. +@property (nonatomic, readonly, strong) NSData *data; + +/// The filename for the attachment. +@property (nonatomic, readonly, copy) NSString *filename; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactory.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactory.h new file mode 100644 index 0000000..6661ac1 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactory.h @@ -0,0 +1,26 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol FBSDKGraphRequestFactory; + +/** + Internal type not intended for use outside of the SDKs. + + A factory for providing objects that conform to `GraphRequest` + */ +NS_SWIFT_NAME(GraphRequestFactory) +@interface FBSDKGraphRequestFactory : NSObject +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactoryProtocol.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactoryProtocol.h new file mode 100644 index 0000000..eb85a3b --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactoryProtocol.h @@ -0,0 +1,54 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +@protocol FBSDKGraphRequest; + +typedef NSString *const FBSDKHTTPMethod NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(HTTPMethod); + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal type not intended for use outside of the SDKs. + +Describes anything that can provide instances of `GraphRequestProtocol` + */ +NS_SWIFT_NAME(GraphRequestFactoryProtocol) +@protocol FBSDKGraphRequestFactory + +- (id)createGraphRequestWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + tokenString:(nullable NSString *)tokenString + HTTPMethod:(nullable FBSDKHTTPMethod)method + flags:(FBSDKGraphRequestFlags)flags; + +- (id)createGraphRequestWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters; + +- (id)createGraphRequestWithGraphPath:(NSString *)graphPath; + +- (id)createGraphRequestWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + HTTPMethod:(FBSDKHTTPMethod)method; + +- (id)createGraphRequestWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + tokenString:(nullable NSString *)tokenString + version:(nullable NSString *)version + HTTPMethod:(FBSDKHTTPMethod)method; + +- (id)createGraphRequestWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + flags:(FBSDKGraphRequestFlags)flags; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFlags.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFlags.h new file mode 100644 index 0000000..68e7c8d --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFlags.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Flags that indicate how a graph request should be treated in various scenarios +typedef NS_OPTIONS(NSUInteger, FBSDKGraphRequestFlags) { + FBSDKGraphRequestFlagNone = 0, + /// indicates this request should not use a client token as its token parameter + FBSDKGraphRequestFlagSkipClientToken = 1 << 1, + /// indicates this request should not close the session if its response is an oauth error + FBSDKGraphRequestFlagDoNotInvalidateTokenOnError = 1 << 2, + /// indicates this request should not perform error recovery + FBSDKGraphRequestFlagDisableErrorRecovery = 1 << 3, +} NS_SWIFT_NAME(GraphRequestFlags); + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestHTTPMethod.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestHTTPMethod.h new file mode 100644 index 0000000..e79728d --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestHTTPMethod.h @@ -0,0 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/// typedef for FBSDKHTTPMethod +typedef NSString *const FBSDKHTTPMethod NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(HTTPMethod); + +/// GET Request +FOUNDATION_EXPORT FBSDKHTTPMethod FBSDKHTTPMethodGET NS_SWIFT_NAME(get); + +/// POST Request +FOUNDATION_EXPORT FBSDKHTTPMethod FBSDKHTTPMethodPOST NS_SWIFT_NAME(post); + +/// DELETE Request +FOUNDATION_EXPORT FBSDKHTTPMethod FBSDKHTTPMethodDELETE NS_SWIFT_NAME(delete); diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestProtocol.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestProtocol.h new file mode 100644 index 0000000..6cc4da3 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestProtocol.h @@ -0,0 +1,66 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +@class FBSDKGraphRequestConnection; +@protocol FBSDKGraphRequestConnecting; + +typedef void (^FBSDKGraphRequestCompletion)(id _Nullable connection, + id _Nullable result, + NSError *_Nullable error); + +typedef void (^FBSDKGraphRequestBlock)(FBSDKGraphRequestConnection *_Nullable connection, + id _Nullable result, + NSError *_Nullable error); + +/// A protocol to describe anything that represents a graph request +NS_SWIFT_NAME(GraphRequestProtocol) +@protocol FBSDKGraphRequest + +/// The request parameters. +@property (nonatomic, copy) NSDictionary *parameters; + +/// The access token string used by the request. +@property (nullable, nonatomic, readonly, copy) NSString *tokenString; + +/// The Graph API endpoint to use for the request, for example "me". +@property (nonatomic, readonly, copy) NSString *graphPath; + +/// The HTTPMethod to use for the request, for example "GET" or "POST". +@property (nonatomic, readonly, copy) FBSDKHTTPMethod HTTPMethod; + +/// The Graph API version to use (e.g., "v2.0") +@property (nonatomic, readonly, copy) NSString *version; + +/// The graph request flags to use +@property (nonatomic, readonly, assign) FBSDKGraphRequestFlags flags; + +/// Convenience property to determine if graph error recover is disabled +@property (nonatomic, getter = isGraphErrorRecoveryDisabled) BOOL graphErrorRecoveryDisabled; + +/// Convenience property to determine if the request has attachments +@property (nonatomic, readonly) BOOL hasAttachments; + +/** + Starts a connection to the Graph API. + @param completion The handler block to call when the request completes. + */ +- (id)startWithCompletion:(nullable FBSDKGraphRequestCompletion)completion; + +/// A formatted description of the graph request +- (NSString *)formattedDescription; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKIcon.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKIcon.h new file mode 100644 index 0000000..0404e39 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKIcon.h @@ -0,0 +1,26 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(Icon) +@interface FBSDKIcon : NSObject + +- (nullable CGPathRef)pathWithSize:(CGSize)size; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKImpressionLoggingButton.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKImpressionLoggingButton.h new file mode 100644 index 0000000..4202de7 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKImpressionLoggingButton.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(ImpressionLoggingButton) +@interface FBSDKImpressionLoggingButton : UIButton +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKInternalUtility.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKInternalUtility.h new file mode 100644 index 0000000..c48e086 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKInternalUtility.h @@ -0,0 +1,83 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import + +#import +#import +#import +#import + +#if !TARGET_OS_TV + #import +#endif + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(InternalUtility) +@interface FBSDKInternalUtility : NSObject +#if !TARGET_OS_TV + +#else + +#endif + +#if !DEBUG +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; +#endif + +@property (class, nonnull, readonly) FBSDKInternalUtility *sharedUtility; + +/** + Returns bundle for returning localized strings + + We assume a convention of a bundle named FBSDKStrings.bundle, otherwise we + return the main bundle. + */ +@property (nonatomic, readonly, strong) NSBundle *bundleForStrings; + +/** + Tests whether the supplied URL is a valid URL for opening in the browser. + @param URL The URL to test. + @return YES if the URL refers to an http or https resource, otherwise NO. + */ +- (BOOL)isBrowserURL:(NSURL *)URL; + +/** + Checks equality between 2 objects. + + Checks for pointer equality, nils, isEqual:. + @param object The first object to compare. + @param other The second object to compare. + @return YES if the objects are equal, otherwise NO. + */ +- (BOOL)object:(id)object isEqualToObject:(id)other; + +/// Attempts to find the first UIViewController in the view's responder chain. Returns nil if not found. +- (nullable UIViewController *)viewControllerForView:(UIView *)view; + +/// returns true if the url scheme is registered in the CFBundleURLTypes +- (BOOL)isRegisteredURLScheme:(NSString *)urlScheme; + +/// returns currently displayed top view controller. +- (nullable UIViewController *)topMostViewController; + +/// returns the current key window +- (nullable UIWindow *)findWindow; + +#pragma mark - FB Apps Installed + +@property (nonatomic, readonly, assign) BOOL isMessengerAppInstalled; + +- (BOOL)isRegisteredCanOpenURLScheme:(NSString *)urlScheme; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKInternalUtilityProtocol.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKInternalUtilityProtocol.h new file mode 100644 index 0000000..1084682 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKInternalUtilityProtocol.h @@ -0,0 +1,135 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(InternalUtilityProtocol) +@protocol FBSDKInternalUtility + +#pragma mark - FB Apps Installed + +@property (nonatomic, readonly) BOOL isFacebookAppInstalled; + +/* + Checks if the app is Unity. + */ +@property (nonatomic, readonly) BOOL isUnity; + +/** + Constructs an NSURL. + @param scheme The scheme for the URL. + @param host The host for the URL. + @param path The path for the URL. + @param queryParameters The query parameters for the URL. This will be converted into a query string. + @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. + @return The URL. + */ +- (nullable NSURL *)URLWithScheme:(NSString *)scheme + host:(NSString *)host + path:(NSString *)path + queryParameters:(NSDictionary *)queryParameters + error:(NSError *__autoreleasing *)errorRef; + +/** + Constructs an URL for the current app. + @param host The host for the URL. + @param path The path for the URL. + @param queryParameters The query parameters for the URL. This will be converted into a query string. + @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. + @return The app URL. + */ +- (nullable NSURL *)appURLWithHost:(NSString *)host + path:(NSString *)path + queryParameters:(NSDictionary *)queryParameters + error:(NSError *__autoreleasing *)errorRef; + +/** + Constructs a Facebook URL. + @param hostPrefix The prefix for the host, such as 'm', 'graph', etc. + @param path The path for the URL. This may or may not include a version. + @param queryParameters The query parameters for the URL. This will be converted into a query string. + @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. + @return The Facebook URL. + */ +- (nullable NSURL *)facebookURLWithHostPrefix:(NSString *)hostPrefix + path:(NSString *)path + queryParameters:(NSDictionary *)queryParameters + error:(NSError *__autoreleasing *)errorRef; + +/** + Registers a transient object so that it will not be deallocated until unregistered + @param object The transient object + */ +- (void)registerTransientObject:(id)object; + +/** + Unregisters a transient object that was previously registered with registerTransientObject: + @param object The transient object + */ +- (void)unregisterTransientObject:(__weak id)object; + +- (void)checkRegisteredCanOpenURLScheme:(NSString *)urlScheme; + +/// Validates that the right URL schemes are registered, throws an NSException if not. +- (void)validateURLSchemes; + +/// add data processing options to the dictionary. +- (void)extendDictionaryWithDataProcessingOptions:(NSMutableDictionary *)parameters; + +/// Converts NSData to a hexadecimal UTF8 String. +- (nullable NSString *)hexadecimalStringFromData:(NSData *)data; + +/// validates that the app ID is non-nil, throws an NSException if nil. +- (void)validateAppID; + +/** + Validates that the client access token is non-nil, otherwise - throws an NSException otherwise. + Returns the composed client access token. + */ +- (NSString *)validateRequiredClientAccessToken; + +/** + Extracts permissions from a response fetched from me/permissions + @param responseObject the response + @param grantedPermissions the set to add granted permissions to + @param declinedPermissions the set to add declined permissions to. + */ +- (void)extractPermissionsFromResponse:(NSDictionary *)responseObject + grantedPermissions:(NSMutableSet *)grantedPermissions + declinedPermissions:(NSMutableSet *)declinedPermissions + expiredPermissions:(NSMutableSet *)expiredPermissions; + +/// validates that Facebook reserved URL schemes are not registered, throws an NSException if they are. +- (void)validateFacebookReservedURLSchemes; + +/** + Parses an FB url's query params (and potentially fragment) into a dictionary. + @param url The FB url. + @return A dictionary with the key/value pairs. + */ +- (NSDictionary *)parametersFromFBURL:(NSURL *)url; + +/** + Returns bundle for returning localized strings + + We assume a convention of a bundle named FBSDKStrings.bundle, otherwise we + return the main bundle. + */ +@property (nonatomic, readonly, strong) NSBundle *bundleForStrings; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKKeychainStore.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKKeychainStore.h new file mode 100644 index 0000000..a4292d5 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKKeychainStore.h @@ -0,0 +1,34 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(KeychainStore) +@interface FBSDKKeychainStore : NSObject + +@property (nonatomic, readonly, copy) NSString *service; +@property (nullable, nonatomic, readonly, copy) NSString *accessGroup; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +- (instancetype)initWithService:(NSString *)service accessGroup:(nullable NSString *)accessGroup NS_DESIGNATED_INITIALIZER; + +- (BOOL)setData:(nullable NSData *)value forKey:(NSString *)key accessibility:(CFTypeRef)accessibility; +- (nullable NSData *)dataForKey:(NSString *)key; + +// hook for subclasses to override keychain query construction. +- (NSMutableDictionary *)queryForKey:(NSString *)key; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreFactory.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreFactory.h new file mode 100644 index 0000000..149c59d --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreFactory.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal type not intended for use outside of the SDKs. + + A factory for providing objects that conform to `KeychainStore` + */ +NS_SWIFT_NAME(KeychainStoreFactory) +@interface FBSDKKeychainStoreFactory : NSObject +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProtocol.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProtocol.h new file mode 100644 index 0000000..4f8636a --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProtocol.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(KeychainStoreProtocol) +@protocol FBSDKKeychainStore + +- (nullable NSString *)stringForKey:(NSString *)key; +- (nullable NSDictionary *)dictionaryForKey:(NSString *)key; + +- (BOOL)setString:(nullable NSString *)value forKey:(NSString *)key accessibility:(nullable CFTypeRef)accessibility; +- (BOOL)setDictionary:(nullable NSDictionary *)value forKey:(NSString *)key accessibility:(nullable CFTypeRef)accessibility; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProviding.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProviding.h new file mode 100644 index 0000000..af0263c --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProviding.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(KeychainStoreProviding) +@protocol FBSDKKeychainStoreProviding + +- (nonnull id)createKeychainStoreWithService:(NSString *)service + accessGroup:(nullable NSString *)accessGroup; +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKLocation.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKLocation.h new file mode 100644 index 0000000..e9fd130 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKLocation.h @@ -0,0 +1,34 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(Location) +@interface FBSDKLocation : NSObject + +/// Location id +@property (nonatomic, readonly, strong) NSString *id; +/// Location name +@property (nonatomic, readonly, strong) NSString *name; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + Returns a Location object from a dinctionary containing valid location information. + @param dictionary The dictionary containing raw location + + Valid location will consist of "id" and "name" strings. + */ ++ (nullable instancetype)locationFromDictionary:(NSDictionary *)dictionary; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKLogger.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKLogger.h new file mode 100644 index 0000000..d6a3100 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKLogger.h @@ -0,0 +1,38 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Simple logging utility for conditionally logging strings and then emitting them + via NSLog(). + + @unsorted + + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(Logger) +@interface FBSDKLogger : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +// Simple helper to write a single log entry, based upon whether the behavior matches a specified on. ++ (void)singleShotLogEntry:(FBSDKLoggingBehavior)loggingBehavior + logEntry:(NSString *)logEntry; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKLogging.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKLogging.h new file mode 100644 index 0000000..dbef541 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKLogging.h @@ -0,0 +1,30 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(Logging) +@protocol FBSDKLogging + +@property (nonatomic, readonly, copy) NSString *contents; +@property (nonatomic, readonly, copy) FBSDKLoggingBehavior loggingBehavior; + +- (instancetype)initWithLoggingBehavior:(FBSDKLoggingBehavior)loggingBehavior; + ++ (void)singleShotLogEntry:(FBSDKLoggingBehavior)loggingBehavior + logEntry:(NSString *)logEntry; + +- (void)logEntry:(NSString *)logEntry; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKLoggingBehavior.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKLoggingBehavior.h new file mode 100644 index 0000000..900542d --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKLoggingBehavior.h @@ -0,0 +1,51 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/* + * Constants defining logging behavior. Use with <[FBSDKSettings setLoggingBehavior]>. + */ + +typedef NSString *FBSDKLoggingBehavior NS_TYPED_ENUM NS_SWIFT_NAME(LoggingBehavior); + +/// Include access token in logging. +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorAccessTokens; + +/// Log performance characteristics +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorPerformanceCharacteristics; + +/// Log FBSDKAppEvents interactions +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorAppEvents; + +/// Log Informational occurrences +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorInformational; + +/// Log cache errors. +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorCacheErrors; + +/// Log errors from SDK UI controls +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorUIControlErrors; + +/// Log debug warnings from API response, i.e. when friends fields requested, but user_friends permission isn't granted. +FOUNDATION_EXPORT FBSDKLoggingBehavior 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. + */ +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorGraphAPIDebugInfo; + +/// Log errors from SDK network requests +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorNetworkRequests; + +/// Log errors likely to be preventable by the developer. This is in the default set of enabled logging behaviors. +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorDeveloperErrors; + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKLoginTooltip.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKLoginTooltip.h new file mode 100644 index 0000000..a663749 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKLoginTooltip.h @@ -0,0 +1,31 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** +Internal Type exposed to facilitate transition to Swift. +API Subject to change or removal without warning. Do not use. + +@warning INTERNAL - DO NOT USE + */ +@interface FBSDKLoginTooltip : NSObject +@property (nonatomic, readonly, getter = isEnabled, assign) BOOL enabled; +@property (nonatomic, readonly, copy) NSString *text; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +- (instancetype)initWithText:(NSString *)text + enabled:(BOOL)enabled + NS_DESIGNATED_INITIALIZER; +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKMeasurementEvent.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKMeasurementEvent.h new file mode 100644 index 0000000..3403551 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKMeasurementEvent.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(MeasurementEvent) +@interface FBSDKMeasurementEvent : NSObject + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h new file mode 100644 index 0000000..219d3fe --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Extension protocol for NSMutableCopying that adds the mutableCopy method, which is implemented on NSObject. + + NSObject implicitly conforms to this protocol. + */ +NS_SWIFT_NAME(MutableCopying) +@protocol FBSDKMutableCopying + +/** + Implemented by NSObject as a convenience to mutableCopyWithZone:. + @return A mutable copy of the receiver. + */ +- (id)mutableCopy; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKNetworkErrorChecker.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKNetworkErrorChecker.h new file mode 100644 index 0000000..5b157c2 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKNetworkErrorChecker.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Concrete type providing functionality that checks whether an error represents a + network error. + */ +NS_SWIFT_NAME(NetworkErrorChecker) +@interface FBSDKNetworkErrorChecker : NSObject + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKNetworkErrorChecking.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKNetworkErrorChecking.h new file mode 100644 index 0000000..2868737 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKNetworkErrorChecking.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_SWIFT_NAME(NetworkErrorChecking) +@protocol FBSDKNetworkErrorChecking + +/** + Checks whether an error is a network error. + + @param error An error that may or may not represent a network error. + + @return `YES` if the error represents a network error, otherwise `NO`. + */ +- (BOOL)isNetworkError:(NSError *)error; + +@end diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKProductAvailability.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKProductAvailability.h new file mode 100644 index 0000000..fa8f4cd --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKProductAvailability.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** + NS_ENUM(NSUInteger, FBSDKProductAvailability) + Specifies product availability for Product Catalog product item update + */ +typedef NS_ENUM(NSUInteger, FBSDKProductAvailability) { + /// Item ships immediately + FBSDKProductAvailabilityInStock = 0, + /// No plan to restock + FBSDKProductAvailabilityOutOfStock, + /// Available in future + FBSDKProductAvailabilityPreOrder, + /// Ships in 1-2 weeks + FBSDKProductAvailabilityAvailableForOrder, + /// Discontinued + FBSDKProductAvailabilityDiscontinued, +} NS_SWIFT_NAME(AppEvents.ProductAvailability); diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKProductCondition.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKProductCondition.h new file mode 100644 index 0000000..41e23b1 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKProductCondition.h @@ -0,0 +1,17 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** + NS_ENUM(NSUInteger, FBSDKProductCondition) + Specifies product condition for Product Catalog product item update + */ +typedef NS_ENUM(NSUInteger, FBSDKProductCondition) { + FBSDKProductConditionNew = 0, + FBSDKProductConditionRefurbished, + FBSDKProductConditionUsed, +} NS_SWIFT_NAME(AppEvents.ProductCondition); diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKProfile.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKProfile.h new file mode 100644 index 0000000..a38aa45 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKProfile.h @@ -0,0 +1,289 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +@class FBSDKLocation; +@class FBSDKProfile; +@class FBSDKUserAgeRange; + +NS_ASSUME_NONNULL_BEGIN + +/** + Notification indicating that the `currentProfile` has changed. + + the userInfo dictionary of the notification will contain keys + `FBSDKProfileChangeOldKey` and + `FBSDKProfileChangeNewKey`. + */ +FOUNDATION_EXPORT NSNotificationName const FBSDKProfileDidChangeNotification +NS_SWIFT_NAME(ProfileDidChange); + +/* key in notification's userInfo object for getting the old profile. + + If there was no old profile, the key will not be present. + */ +FOUNDATION_EXPORT NSString *const FBSDKProfileChangeOldKey +NS_SWIFT_NAME(ProfileChangeOldKey); + +/* key in notification's userInfo object for getting the new profile. + + If there is no new profile, the key will not be present. + */ +FOUNDATION_EXPORT NSString *const FBSDKProfileChangeNewKey +NS_SWIFT_NAME(ProfileChangeNewKey); + +/** + Describes the callback for loadCurrentProfileWithCompletion. + @param profile the FBSDKProfile + @param error the error during the request, if any + */ +typedef void (^ FBSDKProfileBlock)(FBSDKProfile *_Nullable profile, NSError *_Nullable error) +NS_SWIFT_NAME(ProfileBlock); + +/// Represents the unique identifier for an end user +typedef NSString FBSDKUserIdentifier + NS_SWIFT_NAME(UserIdentifier); + +/** + Represents an immutable Facebook profile + + 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". + */ +NS_SWIFT_NAME(Profile) +@interface FBSDKProfile : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + 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:(FBSDKUserIdentifier *)userID + firstName:(nullable NSString *)firstName + middleName:(nullable NSString *)middleName + lastName:(nullable NSString *)lastName + name:(nullable NSString *)name + linkURL:(nullable NSURL *)linkURL + refreshDate:(nullable NSDate *)refreshDate; + +/** + @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]. + @param imageURL an optional URL to use for fetching a user's profile image + @param email the user's email + @param friendIDs a list of identifiers for the user's friends + @param birthday the user's birthday + @param ageRange the user's age range + @param hometown the user's hometown + @param location the user's location + @param gender the user's gender + @param isLimited indicates if the information provided is incomplete in some way. + When true, `loadCurrentProfileWithCompletion:` will assume the profile is + incomplete and disregard any cached profile. Defaults to false. + */ +- (instancetype)initWithUserID:(FBSDKUserIdentifier *)userID + firstName:(nullable NSString *)firstName + middleName:(nullable NSString *)middleName + lastName:(nullable NSString *)lastName + name:(nullable NSString *)name + linkURL:(nullable NSURL *)linkURL + refreshDate:(nullable NSDate *)refreshDate + imageURL:(nullable NSURL *)imageURL + email:(nullable NSString *)email + friendIDs:(nullable NSArray *)friendIDs + birthday:(nullable NSDate *)birthday + ageRange:(nullable FBSDKUserAgeRange *)ageRange + hometown:(nullable FBSDKLocation *)hometown + location:(nullable FBSDKLocation *)location + gender:(nullable NSString *)gender + isLimited:(BOOL)isLimited; + +/** + 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]. + @param imageURL an optional URL to use for fetching a user's profile image + @param email the user's email + @param friendIDs a list of identifiers for the user's friends + @param birthday the user's birthday + @param ageRange the user's age range + @param hometown the user's hometown + @param location the user's location + @param gender the user's gender + */ +- (instancetype)initWithUserID:(FBSDKUserIdentifier *)userID + firstName:(nullable NSString *)firstName + middleName:(nullable NSString *)middleName + lastName:(nullable NSString *)lastName + name:(nullable NSString *)name + linkURL:(nullable NSURL *)linkURL + refreshDate:(nullable NSDate *)refreshDate + imageURL:(nullable NSURL *)imageURL + email:(nullable NSString *)email + friendIDs:(nullable NSArray *)friendIDs + birthday:(nullable NSDate *)birthday + ageRange:(nullable FBSDKUserAgeRange *)ageRange + hometown:(nullable FBSDKLocation *)hometown + location:(nullable FBSDKLocation *)location + gender:(nullable NSString *)gender + NS_DESIGNATED_INITIALIZER; + +/** + The current profile instance and posts the appropriate notification + if the profile parameter is different than the receiver. + + This persists the profile to NSUserDefaults. + */ + +/// The current profile +@property (class, nullable, nonatomic, strong) FBSDKProfile *currentProfile +NS_SWIFT_NAME(current); + +/// The user id +@property (nonatomic, readonly, copy) FBSDKUserIdentifier *userID; +/// The user's first name +@property (nullable, nonatomic, readonly, copy) NSString *firstName; +/// The user's middle name +@property (nullable, nonatomic, readonly, copy) NSString *middleName; +/// The user's last name +@property (nullable, nonatomic, readonly, copy) NSString *lastName; +/// The user's complete name +@property (nullable, nonatomic, readonly, copy) NSString *name; +/** + A URL to the user's profile. + + IMPORTANT: This field will only be populated if your user has granted your application the 'user_link' permission + + Consider using `FBSDKAppLinkResolver` to resolve this + to an app link to link directly to the user's profile in the Facebook app. + */ +@property (nullable, nonatomic, readonly) NSURL *linkURL; + +/// The last time the profile data was fetched. +@property (nonatomic, readonly) NSDate *refreshDate; +/// A URL to use for fetching a user's profile image. +@property (nullable, nonatomic, readonly) NSURL *imageURL; +/** + The user's email. + + IMPORTANT: This field will only be populated if your user has granted your application the 'email' permission. + */ +@property (nullable, nonatomic, readonly, copy) NSString *email; +/** + A list of identifiers of the user's friends. + + IMPORTANT: This field will only be populated if your user has granted your application the 'user_friends' permission. + */ +@property (nullable, nonatomic, readonly, copy) NSArray *friendIDs; + +/** + The user's birthday. + + IMPORTANT: This field will only be populated if your user has granted your application the 'user_birthday' permission. + */ +@property (nullable, nonatomic, readonly, copy) NSDate *birthday; + +/** + The user's age range + + IMPORTANT: This field will only be populated if your user has granted your application the 'user_age_range' permission. + */ +@property (nullable, nonatomic, readonly, copy) FBSDKUserAgeRange *ageRange; + +/** + The user's hometown + + IMPORTANT: This field will only be populated if your user has granted your application the 'user_hometown' permission. + */ +@property (nullable, nonatomic, readonly, copy) FBSDKLocation *hometown; + +/** + The user's location + + IMPORTANT: This field will only be populated if your user has granted your application the 'user_location' permission. + */ +@property (nullable, nonatomic, readonly, copy) FBSDKLocation *location; + +/** + The user's gender + + IMPORTANT: This field will only be populated if your user has granted your application the 'user_gender' permission. + */ +@property (nullable, nonatomic, readonly, copy) NSString *gender; + +/** + Indicates if `currentProfile` will automatically observe `FBSDKAccessTokenDidChangeNotification` notifications + @param enable YES is observing + + If observing, this class will issue a graph request for public profile data when the current token's userID + differs from the current profile. You can observe `FBSDKProfileDidChangeNotification` for when the profile is updated. + + 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. + */ +// UNCRUSTIFY_FORMAT_OFF ++ (void)enableUpdatesOnAccessTokenChange:(BOOL)enable +NS_SWIFT_NAME(enableUpdatesOnAccessTokenChange(_:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Loads the current profile and passes it to the completion block. + @param completion The block to be executed once the profile is loaded + + If the profile is already loaded, this method will call the completion block synchronously, otherwise it + will begin a graph request to update `currentProfile` and then call the completion block when finished. + */ ++ (void)loadCurrentProfileWithCompletion:(nullable FBSDKProfileBlock)completion; + +/** + 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. + */ +// UNCRUSTIFY_FORMAT_OFF +- (nullable NSURL *)imageURLForPictureMode:(FBSDKProfilePictureMode)mode size:(CGSize)size +NS_SWIFT_NAME(imageURL(forMode:size:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Returns YES if the profile is equivalent to the receiver. + @param profile the profile to compare to. + */ +- (BOOL)isEqualToProfile:(FBSDKProfile *)profile; +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKProfilePictureView.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKProfilePictureView.h new file mode 100644 index 0000000..36bf8c5 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKProfilePictureView.h @@ -0,0 +1,72 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +@class FBSDKProfile; + +NS_ASSUME_NONNULL_BEGIN + +/** + FBSDKProfilePictureMode enum + Defines the aspect ratio mode for the source image of the profile picture. + */ +typedef NS_ENUM(NSUInteger, FBSDKProfilePictureMode) { + /// A square cropped version of the image will be included in the view. + FBSDKProfilePictureModeSquare, + /// The original picture's aspect ratio will be used for the source image in the view. + FBSDKProfilePictureModeNormal, + /// The original picture's aspect ratio will be used for the source image in the view. + FBSDKProfilePictureModeAlbum, + /// The original picture's aspect ratio will be used for the source image in the view. + FBSDKProfilePictureModeSmall, + /// The original picture's aspect ratio will be used for the source image in the view. + FBSDKProfilePictureModeLarge, +} NS_SWIFT_NAME(Profile.PictureMode); + +/// A view to display a profile picture. +NS_SWIFT_NAME(FBProfilePictureView) +@interface FBSDKProfilePictureView : UIView + +/** + Create a new instance of `FBSDKProfilePictureView`. + + - Parameter frame: Frame rectangle for the view. + - Parameter profile: Optional profile to display a picture for. + */ +- (instancetype)initWithFrame:(CGRect)frame + profile:(FBSDKProfile *_Nullable)profile; + +/** + Create a new instance of `FBSDKProfilePictureView`. + + - Parameter profile: Optional profile to display a picture for. + */ +- (instancetype)initWithProfile:(FBSDKProfile *_Nullable)profile; + +/// The mode for the receiver to determine the aspect ratio of the source image. +@property (nonatomic, assign) FBSDKProfilePictureMode pictureMode; + +/// The profile ID to show the picture for. +@property (nonatomic, copy) NSString *profileID; + +/** + Explicitly marks the receiver as needing to update the image. + + 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 + +NS_ASSUME_NONNULL_END + +#endif diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKProfileProtocols.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKProfileProtocols.h new file mode 100644 index 0000000..ac05481 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKProfileProtocols.h @@ -0,0 +1,29 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +@class FBSDKProfile; + +NS_SWIFT_NAME(ProfileProviding) +@protocol FBSDKProfileProviding + +@property (class, nullable, nonatomic, strong) FBSDKProfile *currentProfile +NS_SWIFT_NAME(current); + ++ (nullable FBSDKProfile *)fetchCachedProfile; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKRandom.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKRandom.h new file mode 100644 index 0000000..653a038 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKRandom.h @@ -0,0 +1,15 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/** + Provides a random string + @param numberOfBytes the number of bytes to use + */ +extern NSString *fb_randomString(NSUInteger numberOfBytes); diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKServerConfigurationProvider.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKServerConfigurationProvider.h new file mode 100644 index 0000000..8c651e1 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKServerConfigurationProvider.h @@ -0,0 +1,67 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal block type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(LoginTooltipBlock) +typedef void (^FBSDKLoginTooltipBlock)(FBSDKLoginTooltip *_Nullable loginTooltip, NSError *_Nullable error); + +/** +Internal Type exposed to facilitate transition to Swift. +API Subject to change or removal without warning. Do not use. + +@warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(ServerConfigurationProvider) +@interface FBSDKServerConfigurationProvider : NSObject + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nonatomic, readonly) NSString *loggingToken; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (NSUInteger)cachedSmartLoginOptions; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (BOOL)useSafariViewControllerForDialogName:(NSString *)dialogName; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void)loadServerConfigurationWithCompletionBlock:(nullable FBSDKLoginTooltipBlock)completionBlock + NS_SWIFT_NAME(loadServerConfiguration(completion:)); +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKSettings.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKSettings.h new file mode 100644 index 0000000..9a00e27 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKSettings.h @@ -0,0 +1,197 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(Settings) +@interface FBSDKSettings : NSObject + +#if !DEBUG +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; +#endif + +/// The shared settings instance. Prefer this and the exposed instance methods over the class variants. +@property (class, nonatomic, readonly) FBSDKSettings *sharedSettings; + +/// Retrieve the current iOS SDK version. +@property (nonatomic, readonly, copy) NSString *sdkVersion; + +/// Retrieve the current default Graph API version. +@property (nonatomic, readonly, copy) NSString *defaultGraphAPIVersion; + +/** + The quality of JPEG images sent to Facebook from the SDK, + expressed as a value from 0.0 to 1.0. + + If not explicitly set, the default is 0.9. +*/ +@property (nonatomic) CGFloat JPEGCompressionQuality +NS_SWIFT_NAME(jpegCompressionQuality); + +/** + Controls the auto logging of basic app events, such as activateApp and deactivateApp. + If not explicitly set, the default is true + */ +@property (nonatomic, getter = isAutoLogAppEventsEnabled) BOOL autoLogAppEventsEnabled; + +/** + Controls the fb_codeless_debug logging event + If not explicitly set, the default is true + */ +@property (nonatomic, getter = isCodelessDebugLogEnabled) BOOL codelessDebugLogEnabled; + +/** + Controls the access to IDFA + If not explicitly set, the default is true + */ +@property (nonatomic, getter = isAdvertiserIDCollectionEnabled) BOOL advertiserIDCollectionEnabled; + +/** + Controls the SKAdNetwork report + If not explicitly set, the default is true + */ +@property (nonatomic, getter = isSKAdNetworkReportEnabled) BOOL skAdNetworkReportEnabled; + +/** + 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. + */ +@property (nonatomic) BOOL isEventDataUsageLimited; + +/** + Whether in memory cached values should be used for expensive metadata fields, such as + carrier and advertiser ID, that are fetched on many applicationDidBecomeActive notifications. + Defaults to NO. This value is stored on the device and persists across app launches. + */ +@property (nonatomic) BOOL shouldUseCachedValuesForExpensiveMetadata; + +/// A convenient way to toggle error recovery for all FBSDKGraphRequest instances created after this is set. +@property (nonatomic) BOOL isGraphErrorRecoveryEnabled; + +/** + The Facebook App ID used by the SDK. + + If not explicitly set, the default will be read from the application's plist (FacebookAppID). + */ +@property (nullable, nonatomic, copy) NSString *appID; + +/** + The default url scheme suffix used for sessions. + + If not explicitly set, the default will be read from the application's plist (FacebookUrlSchemeSuffix). + */ +@property (nullable, nonatomic, copy) NSString *appURLSchemeSuffix; + +/** + The Client Token that has been set via [[FBSDKSettings sharedSettings] setClientToken]. + This is needed for certain API calls when made anonymously, without a user-based access token. + + 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 + + If not explicitly set, the default will be read from the application's plist (FacebookClientToken). + */ +@property (nullable, nonatomic, copy) NSString *clientToken; + +/** + The Facebook Display Name used by the SDK. + + This should match the Display Name that has been set for the app with the corresponding Facebook App ID, + in the Facebook App Dashboard. + + If not explicitly set, the default will be read from the application's plist (FacebookDisplayName). + */ +@property (nullable, nonatomic, copy) NSString *displayName; + +/** + The Facebook domain part. This can be used to change the Facebook domain + (e.g. @"beta") so that requests will be sent to `graph.beta.facebook.com` + + If not explicitly set, the default will be read from the application's plist (FacebookDomainPart). + */ +@property (nullable, nonatomic, copy) NSString *facebookDomainPart; + +/** + The current Facebook SDK logging behavior. This should consist of strings + defined as constants with FBSDKLoggingBehavior*. + + This should consist a set of strings indicating what information should be logged + defined as constants with FBSDKLoggingBehavior*. Set to an empty set in order to disable all logging. + + You can also define this via an array in your app plist with key "FacebookLoggingBehavior" or add and remove individual values via enableLoggingBehavior: or disableLoggingBehavior: + + The default is a set consisting of FBSDKLoggingBehaviorDeveloperErrors + */ +@property (nonatomic, copy) NSSet *loggingBehaviors; + +/** + Overrides the default Graph API version to use with `FBSDKGraphRequests`. + + The string should be of the form `@"v2.7"`. + + Defaults to `defaultGraphAPIVersion`. + */ +@property (nonatomic, copy) NSString *graphAPIVersion; + +/** + Internal property exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nullable, nonatomic, copy) NSString *userAgentSuffix; + +/** + The value of the flag advertiser_tracking_enabled that controls the advertiser tracking status of the data sent to Facebook + If not explicitly set in iOS14 or above, the default is false in iOS14 or above. + */ +@property (nonatomic, getter = isAdvertiserTrackingEnabled) BOOL advertiserTrackingEnabled; + +/** +Set the data processing options. + + @param options list of options + */ +- (void)setDataProcessingOptions:(nullable NSArray *)options; + +/** +Set the data processing options. + + @param options list of the options + @param country code of the country + @param state code of the state + */ +- (void)setDataProcessingOptions:(nullable NSArray *)options + country:(int)country + state:(int)state; + +/** + Enable a particular Facebook SDK logging behavior. + + @param loggingBehavior The LoggingBehavior to enable. This should be a string defined as a constant with FBSDKLoggingBehavior*. + */ +- (void)enableLoggingBehavior:(FBSDKLoggingBehavior)loggingBehavior; + +/** + 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:(FBSDKLoggingBehavior)loggingBehavior; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKSettingsLogging.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKSettingsLogging.h new file mode 100644 index 0000000..1e21fe0 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKSettingsLogging.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(SettingsLogging) +@protocol FBSDKSettingsLogging + +- (void)logWarnings; +- (void)logIfSDKSettingsChanged; +- (void)recordInstall; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKSettingsProtocol.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKSettingsProtocol.h new file mode 100644 index 0000000..d0eeb7a --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKSettingsProtocol.h @@ -0,0 +1,63 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(SettingsProtocol) +@protocol FBSDKSettings + +@property (nullable, nonatomic, copy) NSString *appID; +@property (nullable, nonatomic, copy) NSString *clientToken; +@property (nullable, nonatomic, copy) NSString *userAgentSuffix; +@property (nonatomic, readonly, copy) NSString *sdkVersion; +@property (nullable, nonatomic, copy) NSString *displayName; +@property (nullable, nonatomic, copy) NSString *facebookDomainPart; +@property (nonnull, nonatomic, copy) NSSet *loggingBehaviors; +@property (nullable, nonatomic, copy) NSString *appURLSchemeSuffix; +@property (nonatomic, readonly) BOOL isDataProcessingRestricted; +@property (nonatomic, readonly) BOOL isAutoLogAppEventsEnabled; +@property (nonatomic, getter = isCodelessDebugLogEnabled) BOOL codelessDebugLogEnabled; +@property (nonatomic, getter = isAdvertiserIDCollectionEnabled) BOOL advertiserIDCollectionEnabled; +@property (nonatomic, readonly) BOOL isSetATETimeExceedsInstallTime; +@property (nonatomic, readonly) BOOL isSKAdNetworkReportEnabled; +@property (nonatomic, readonly) FBSDKAdvertisingTrackingStatus advertisingTrackingStatus; +@property (nullable, nonatomic, readonly) NSDate *installTimestamp; +@property (nullable, nonatomic, readonly) NSDate *advertiserTrackingEnabledTimestamp; +@property (nonatomic) BOOL isEventDataUsageLimited; +@property (nonatomic) BOOL shouldUseTokenOptimizations; +@property (nonatomic, copy) NSString *graphAPIVersion; +@property (nonatomic) BOOL isGraphErrorRecoveryEnabled; +@property (nullable, nonatomic, readonly, copy) NSString *graphAPIDebugParamValue; +@property (nonatomic, getter = isAdvertiserTrackingEnabled) BOOL advertiserTrackingEnabled; +@property (nonatomic) BOOL shouldUseCachedValuesForExpensiveMetadata; +@property (nullable, nonatomic, readonly) NSDictionary *persistableDataProcessingOptions; + +/** + Set the data processing options. + + @param options list of options + */ +- (void)setDataProcessingOptions:(nullable NSArray *)options; + +/** + Set the data processing options. + + @param options list of the options + @param country code of the country + @param state code of the state + */ +- (void)setDataProcessingOptions:(nullable NSArray *)options + country:(int)country + state:(int)state; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKShareDialogConfiguration.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKShareDialogConfiguration.h new file mode 100644 index 0000000..4d30ced --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKShareDialogConfiguration.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Constant used to describe the 'Message' dialog +FOUNDATION_EXPORT NSString *const FBSDKDialogConfigurationNameMessage; +/// Constant used to describe the 'Share' dialog +FOUNDATION_EXPORT NSString *const FBSDKDialogConfigurationNameShare; + +/** + A lightweight interface to expose aspects of FBSDKServerConfiguration that are used by dialogs in ShareKit. + + Internal Use Only + */ +NS_SWIFT_NAME(ShareDialogConfiguration) +@interface FBSDKShareDialogConfiguration : NSObject + +@property (nonatomic, readonly, copy) NSString *defaultShareMode; + +- (BOOL)shouldUseNativeDialogForDialogName:(NSString *)dialogName; +- (BOOL)shouldUseSafariViewControllerForDialogName:(NSString *)dialogName; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKTokenCaching.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKTokenCaching.h new file mode 100644 index 0000000..6b07cb4 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKTokenCaching.h @@ -0,0 +1,43 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@class FBSDKAccessToken; +@class FBSDKAuthenticationToken; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(TokenCaching) +@protocol FBSDKTokenCaching + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nullable, nonatomic, copy) FBSDKAccessToken *accessToken; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nullable, nonatomic, copy) FBSDKAuthenticationToken *authenticationToken; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKTokenStringProviding.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKTokenStringProviding.h new file mode 100644 index 0000000..87f227d --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKTokenStringProviding.h @@ -0,0 +1,29 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(TokenStringProviding) +@protocol FBSDKTokenStringProviding + +/** + Return the token string of the current access token. + + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ + +@property (class, nullable, nonatomic, readonly, copy) NSString *tokenString; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKTransformer.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKTransformer.h new file mode 100644 index 0000000..ea415c8 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKTransformer.h @@ -0,0 +1,28 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +extern CATransform3D const FBSDKCATransform3DIdentity; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@interface FBSDKTransformer : NSObject +- (CATransform3D)CATransform3DMakeScale:(CGFloat)sx sy:(CGFloat)sy sz:(CGFloat)sz; +- (CATransform3D)CATransform3DMakeTranslation:(CGFloat)tx ty:(CGFloat)ty tz:(CGFloat)tz; +- (CATransform3D)CATransform3DConcat:(CATransform3D)a b:(CATransform3D)b; +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKURL.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKURL.h new file mode 100644 index 0000000..292430f --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKURL.h @@ -0,0 +1,86 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol FBSDKAppLink; + +/** + Provides a set of utilities for working with NSURLs, such as parsing of query parameters + and handling for App Link requests. + */ +NS_SWIFT_NAME(AppLinkURL) +@interface FBSDKURL : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + Creates a link target from a raw URL. + On success, this posts the FBSDKAppLinkParseEventName measurement event. If you are constructing the FBSDKURL within your application delegate's + application:openURL:sourceApplication:annotation:, you should instead use URLWithInboundURL:sourceApplication: + to support better FBSDKMeasurementEvent notifications + @param url The instance of `NSURL` to create FBSDKURL from. + */ + +// UNCRUSTIFY_FORMAT_OFF ++ (instancetype)URLWithURL:(NSURL *)url +NS_SWIFT_NAME(init(url:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Creates a link target from a raw URL received from an external application. This is typically called from the app delegate's + application:openURL:sourceApplication:annotation: and will post the FBSDKAppLinkNavigateInEventName measurement event. + @param url The instance of `NSURL` to create FBSDKURL from. + @param sourceApplication the bundle ID of the app that is requesting your app to open the URL. The same sourceApplication in application:openURL:sourceApplication:annotation: + */ + +// UNCRUSTIFY_FORMAT_OFF ++ (instancetype)URLWithInboundURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication +NS_SWIFT_NAME(init(inboundURL:sourceApplication:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Gets the target URL. If the link is an App Link, this is the target of the App Link. + Otherwise, it is the url that created the target. + */ +@property (nonatomic, readonly, strong) NSURL *targetURL; + +/// Gets the query parameters for the target, parsed into an NSDictionary. +@property (nonatomic, readonly, strong) NSDictionary *targetQueryParameters; + +/** + If this link target is an App Link, this is the data found in al_applink_data. + Otherwise, it is nil. + */ +@property (nullable, nonatomic, readonly, strong) NSDictionary *appLinkData; + +/// If this link target is an App Link, this is the data found in extras. +@property (nullable, nonatomic, readonly, strong) NSDictionary *appLinkExtras; + +/// The App Link indicating how to navigate back to the referer app, if any. +@property (nullable, nonatomic, readonly, strong) id appLinkReferer; + +/// The URL that was used to create this FBSDKURL. +@property (nonatomic, readonly, strong) NSURL *inputURL; + +/// The query parameters of the inputURL, parsed into an NSDictionary. +@property (nonatomic, readonly, strong) NSDictionary *inputQueryParameters; + +/// The flag indicating whether the URL comes from auto app link +@property (nonatomic, readonly, getter = isAutoAppLink) BOOL isAutoAppLink; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKURLHosting.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKURLHosting.h new file mode 100644 index 0000000..31741f4 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKURLHosting.h @@ -0,0 +1,40 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(URLHosting) +@protocol FBSDKURLHosting + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (nullable NSURL *)appURLWithHost:(NSString *)host + path:(NSString *)path + queryParameters:(NSDictionary *)queryParameters + error:(NSError *__autoreleasing *)errorRef; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (nullable NSURL *)facebookURLWithHostPrefix:(NSString *)hostPrefix + path:(NSString *)path + queryParameters:(NSDictionary *)queryParameters + error:(NSError *__autoreleasing *)errorRef; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKURLOpener.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKURLOpener.h new file mode 100644 index 0000000..ff91da7 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKURLOpener.h @@ -0,0 +1,36 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +NS_ASSUME_NONNULL_BEGIN + +@protocol FBSDKURLOpening; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(URLOpener) +@protocol FBSDKURLOpener + +- (void)openURL:(NSURL *)url + sender:(nullable id)sender + handler:(FBSDKSuccessBlock)handler; + +// UNCRUSTIFY_FORMAT_OFF +- (void)openURLWithSafariViewController:(NSURL *)url + sender:(id)sender + fromViewController:(UIViewController *)fromViewController + handler:(FBSDKSuccessBlock)handler +NS_SWIFT_NAME(openURLWithSafariViewController(url:sender:from:handler:)); +// UNCRUSTIFY_FORMAT_ON + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKURLOpening.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKURLOpening.h new file mode 100644 index 0000000..65772a5 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKURLOpening.h @@ -0,0 +1,51 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(URLOpening) +@protocol FBSDKURLOpening + +// Implementations should make sure they can handle nil parameters +// which is possible in SafariViewController. +// see canOpenURL below. +- (BOOL)application:(nullable UIApplication *)application + openURL:(nullable NSURL *)url + sourceApplication:(nullable NSString *)sourceApplication + annotation:(nullable id)annotation; + +// create a different handler to return YES/NO if the receiver can process the above openURL:. +// This is separated so that we can process the openURL: in callbacks, while still returning +// the result of canOpenURL synchronously in FBSDKApplicationDelegate +- (BOOL) canOpenURL:(NSURL *)url + forApplication:(nullable UIApplication *)application + sourceApplication:(nullable NSString *)sourceApplication + annotation:(nullable id)annotation; + +- (void)applicationDidBecomeActive:(UIApplication *)application; + +- (BOOL)isAuthenticationURL:(NSURL *)url; + +@optional +- (BOOL)shouldStopPropagationOfURL:(NSURL *)url; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKURLScheme.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKURLScheme.h new file mode 100644 index 0000000..f728392 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKURLScheme.h @@ -0,0 +1,17 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +typedef NSString *FBSDKURLScheme NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(URLScheme); + +FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeFacebookAPI; +FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeMessengerApp; +FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeHTTPS NS_SWIFT_NAME(https); +FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeHTTP NS_SWIFT_NAME(http); +FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeWeb; diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKUserAgeRange.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKUserAgeRange.h new file mode 100644 index 0000000..7d71916 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKUserAgeRange.h @@ -0,0 +1,35 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(UserAgeRange) +@interface FBSDKUserAgeRange : NSObject + +/// The user's minimun age, nil if unspecified +@property (nullable, nonatomic, readonly, strong) NSNumber *min; +/// The user's maximun age, nil if unspecified +@property (nullable, nonatomic, readonly, strong) NSNumber *max; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + Returns a UserAgeRange object from a dinctionary containing valid user age range. + @param dictionary The dictionary containing raw user age range + + Valid user age range will consist of "min" and/or "max" values that are + positive integers, where "min" is smaller than or equal to "max". + */ ++ (nullable instancetype)ageRangeFromDictionary:(NSDictionary *)dictionary; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKUtility.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKUtility.h new file mode 100644 index 0000000..eb5ca0a --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKUtility.h @@ -0,0 +1,108 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Class to contain common utility methods. +NS_SWIFT_NAME(Utility) +@interface FBSDKUtility : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + Parses a query string into a dictionary. + @param queryString The query string value. + @return A dictionary with the key/value pairs. + */ + +// UNCRUSTIFY_FORMAT_OFF ++ (NSDictionary *)dictionaryWithQueryString:(NSString *)queryString +NS_SWIFT_NAME(dictionary(withQuery:)); +// UNCRUSTIFY_FORMAT_ON + +/** + 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. + @return Query string representation of the parameters. + */ + +// UNCRUSTIFY_FORMAT_OFF ++ (NSString *)queryStringWithDictionary:(NSDictionary *)dictionary + error:(NSError **)errorRef +NS_SWIFT_NAME(query(from:)) +__attribute__((swift_error(nonnull_error))); +// UNCRUSTIFY_FORMAT_ON + +/** + Decodes a value from an URL. + @param value The value to decode. + @return The decoded value. + */ + +// UNCRUSTIFY_FORMAT_OFF ++ (NSString *)URLDecode:(NSString *)value +NS_SWIFT_NAME(decode(urlString:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Encodes a value for an URL. + @param value The value to encode. + @return The encoded value. + */ + +// UNCRUSTIFY_FORMAT_OFF ++ (NSString *)URLEncode:(NSString *)value +NS_SWIFT_NAME(encode(urlString:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Creates a timer using Grand Central Dispatch. + @param interval The interval to fire the timer, in seconds. + @param block The code block to execute when timer is fired. + @return The dispatch handle. + */ ++ (dispatch_source_t)startGCDTimerWithInterval:(double)interval block:(dispatch_block_t)block; + +/** + Stop a timer that was started by startGCDTimerWithInterval. + @param timer The dispatch handle received from startGCDTimerWithInterval. + */ ++ (void)stopGCDTimer:(dispatch_source_t)timer; + +/** + Get SHA256 hased string of NSString/NSData + + @param input The data that needs to be hashed, it could be NSString or NSData. + */ + +// UNCRUSTIFY_FORMAT_OFF ++ (nullable NSString *)SHA256Hash:(NSObject *)input +NS_SWIFT_NAME(sha256Hash(_:)); +// UNCRUSTIFY_FORMAT_ON + +/// Returns the graphdomain stored in FBSDKAuthenticationToken ++ (nullable NSString *)getGraphDomainFromToken; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ ++ (NSURL *)unversionedFacebookURLWithHostPrefix:(NSString *)hostPrefix + path:(NSString *)path + queryParameters:(NSDictionary *)queryParameters + error:(NSError *__autoreleasing *)errorRef; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKWebDialog.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKWebDialog.h new file mode 100644 index 0000000..136683d --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKWebDialog.h @@ -0,0 +1,77 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import +#import +#import + +#import + +@protocol _FBSDKWindowFinding; + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(WebDialog) +@interface FBSDKWebDialog : NSObject + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nonatomic) BOOL shouldDeferVisibility; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nullable, nonatomic, strong) id<_FBSDKWindowFinding> windowFinder; + ++ (instancetype)new NS_UNAVAILABLE; +- (instancetype)init NS_UNAVAILABLE; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ ++ (instancetype)dialogWithName:(NSString *)name + delegate:(id)delegate; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +// UNCRUSTIFY_FORMAT_OFF ++ (instancetype)createAndShowWithName:(NSString *)name + parameters:(nullable NSDictionary *)parameters + frame:(CGRect)frame + delegate:(id)delegate + windowFinder:(nullable id<_FBSDKWindowFinding>)windowFinder +NS_SWIFT_NAME(createAndShow(name:parameters:frame:delegate:windowFinder:)); +// UNCRUSTIFY_FORMAT_ON + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKWebDialogDelegate.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKWebDialogDelegate.h new file mode 100644 index 0000000..6dd4b92 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKWebDialogDelegate.h @@ -0,0 +1,56 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +#import + +@class FBSDKWebDialog; + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(WebDialogDelegate) +@protocol FBSDKWebDialogDelegate + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void)webDialog:(FBSDKWebDialog *)webDialog didCompleteWithResults:(NSDictionary *)results; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void)webDialog:(FBSDKWebDialog *)webDialog didFailWithError:(NSError *)error; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void)webDialogDidCancel:(FBSDKWebDialog *)webDialog; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKWebDialogView.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKWebDialogView.h new file mode 100644 index 0000000..b0861b8 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKWebDialogView.h @@ -0,0 +1,39 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +@protocol FBSDKWebDialogViewDelegate; + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(FBWebDialogView) +@interface FBSDKWebDialogView : UIView + +@property (nonatomic, weak) id delegate; + +- (void)loadURL:(NSURL *)URL; +- (void)stopLoading; + +@end + +NS_SWIFT_NAME(WebDialogViewDelegate) +@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 + +NS_ASSUME_NONNULL_END + +#endif diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKWebViewAppLinkResolver.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKWebViewAppLinkResolver.h new file mode 100644 index 0000000..f1d7dbe --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/FBSDKWebViewAppLinkResolver.h @@ -0,0 +1,32 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + A reference implementation for an App Link resolver that uses a hidden WKWebView + to parse the HTML containing App Link metadata. + */ +NS_SWIFT_NAME(WebViewAppLinkResolver) +@interface FBSDKWebViewAppLinkResolver : NSObject + +/// Gets the instance of a FBSDKWebViewAppLinkResolver. +@property (class, nonatomic, readonly, strong) FBSDKWebViewAppLinkResolver *sharedInstance +NS_SWIFT_NAME(shared); + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/_FBSDKWindowFinding.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/_FBSDKWindowFinding.h new file mode 100644 index 0000000..a9d946f --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/_FBSDKWindowFinding.h @@ -0,0 +1,36 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_WindowFinding) +@protocol _FBSDKWindowFinding + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (nullable UIWindow *)findWindow; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/__FBSDKLoggerCreating.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/__FBSDKLoggerCreating.h new file mode 100644 index 0000000..a8114b1 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Headers/__FBSDKLoggerCreating.h @@ -0,0 +1,29 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(LoggerCreating) +@protocol __FBSDKLoggerCreating + +- (id)createLoggerWithLoggingBehavior:(FBSDKLoggingBehavior)loggingBehavior; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Info.plist b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Info.plist index a1c47a1..6e0fde9 100644 Binary files a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Info.plist and b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Info.plist differ diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000..6c9b6c8 Binary files /dev/null and b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000..2106aeb --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -0,0 +1,99 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKCoreKit +@_exported import FBSDKCoreKit +import FBSDKCoreKit_Basics +import Foundation +import Swift +import UIKit +import _Concurrency +extension FBSDKCoreKit.AccessToken { + public var permissions: Swift.Set { + get + } + public var declinedPermissions: Swift.Set { + get + } + public var expiredPermissions: Swift.Set { + get + } + public func hasGranted(_ permission: FBSDKCoreKit.Permission) -> Swift.Bool +} +@objc(FBSDKCAPIReporter) public protocol CAPIReporter { + @objc func enable() + @objc func configure(factory: FBSDKCoreKit.GraphRequestFactoryProtocol, settings: FBSDKCoreKit.SettingsProtocol) + @objc func recordEvent(_ parameters: [Swift.String : Any]) +} +@objc @_inheritsConvenienceInitializers @objcMembers public class FBSDKAppEventsCAPIManager : ObjectiveC.NSObject, FBSDKCoreKit.CAPIReporter { + @objc public static let shared: FBSDKCoreKit.FBSDKAppEventsCAPIManager + @objc override dynamic public init() + @objc public func configure(factory: FBSDKCoreKit.GraphRequestFactoryProtocol, settings: FBSDKCoreKit.SettingsProtocol) + @objc public func enable() + @objc public func recordEvent(_ parameters: [Swift.String : Any]) + @objc deinit +} +@objc @_inheritsConvenienceInitializers @objcMembers public class FBSDKTransformerGraphRequestFactory : ObjectiveC.NSObject { + @objc public static let shared: FBSDKCoreKit.FBSDKTransformerGraphRequestFactory + public var credentials: FBSDKCoreKit.FBSDKTransformerGraphRequestFactory.CapiGCredentials? { + get + } + public struct CapiGCredentials { + public let accessKey: Swift.String + public let capiGatewayURL: Swift.String + public let datasetID: Swift.String + } + @objc override dynamic public init() + @objc public func configure(datasetID: Swift.String, url: Swift.String, accessKey: Swift.String) + @objc public func callCapiGatewayAPI(with parameters: [Swift.String : Any]) + @objc deinit +} +public enum Permission : Swift.Hashable, Swift.ExpressibleByStringLiteral { + case publicProfile + case userFriends + case email + case userAboutMe + case userActionsBooks + case userActionsFitness + case userActionsMusic + case userActionsNews + case userActionsVideo + case userBirthday + case userEducationHistory + case userEvents + case userGamesActivity + case userGender + case userHometown + case userLikes + case userLocation + case userManagedGroups + case userPhotos + case userPosts + case userRelationships + case userRelationshipDetails + case userReligionPolitics + case userTaggedPlaces + case userVideos + case userWebsite + case userWorkHistory + case readCustomFriendlists + case readInsights + case readAudienceNetworkInsights + case readPageMailboxes + case pagesShowList + case pagesManageCta + case pagesManageInstantArticles + case adsRead + case custom(Swift.String) + public init(stringLiteral value: Swift.String) + public var name: Swift.String { + get + } + public func hash(into hasher: inout Swift.Hasher) + public static func == (a: FBSDKCoreKit.Permission, b: FBSDKCoreKit.Permission) -> Swift.Bool + public typealias ExtendedGraphemeClusterLiteralType = Swift.String + public typealias StringLiteralType = Swift.String + public typealias UnicodeScalarLiteralType = Swift.String + public var hashValue: Swift.Int { + get + } +} diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftdoc b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..6c9b6c8 Binary files /dev/null and b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftdoc differ diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftinterface b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..2106aeb --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftinterface @@ -0,0 +1,99 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKCoreKit +@_exported import FBSDKCoreKit +import FBSDKCoreKit_Basics +import Foundation +import Swift +import UIKit +import _Concurrency +extension FBSDKCoreKit.AccessToken { + public var permissions: Swift.Set { + get + } + public var declinedPermissions: Swift.Set { + get + } + public var expiredPermissions: Swift.Set { + get + } + public func hasGranted(_ permission: FBSDKCoreKit.Permission) -> Swift.Bool +} +@objc(FBSDKCAPIReporter) public protocol CAPIReporter { + @objc func enable() + @objc func configure(factory: FBSDKCoreKit.GraphRequestFactoryProtocol, settings: FBSDKCoreKit.SettingsProtocol) + @objc func recordEvent(_ parameters: [Swift.String : Any]) +} +@objc @_inheritsConvenienceInitializers @objcMembers public class FBSDKAppEventsCAPIManager : ObjectiveC.NSObject, FBSDKCoreKit.CAPIReporter { + @objc public static let shared: FBSDKCoreKit.FBSDKAppEventsCAPIManager + @objc override dynamic public init() + @objc public func configure(factory: FBSDKCoreKit.GraphRequestFactoryProtocol, settings: FBSDKCoreKit.SettingsProtocol) + @objc public func enable() + @objc public func recordEvent(_ parameters: [Swift.String : Any]) + @objc deinit +} +@objc @_inheritsConvenienceInitializers @objcMembers public class FBSDKTransformerGraphRequestFactory : ObjectiveC.NSObject { + @objc public static let shared: FBSDKCoreKit.FBSDKTransformerGraphRequestFactory + public var credentials: FBSDKCoreKit.FBSDKTransformerGraphRequestFactory.CapiGCredentials? { + get + } + public struct CapiGCredentials { + public let accessKey: Swift.String + public let capiGatewayURL: Swift.String + public let datasetID: Swift.String + } + @objc override dynamic public init() + @objc public func configure(datasetID: Swift.String, url: Swift.String, accessKey: Swift.String) + @objc public func callCapiGatewayAPI(with parameters: [Swift.String : Any]) + @objc deinit +} +public enum Permission : Swift.Hashable, Swift.ExpressibleByStringLiteral { + case publicProfile + case userFriends + case email + case userAboutMe + case userActionsBooks + case userActionsFitness + case userActionsMusic + case userActionsNews + case userActionsVideo + case userBirthday + case userEducationHistory + case userEvents + case userGamesActivity + case userGender + case userHometown + case userLikes + case userLocation + case userManagedGroups + case userPhotos + case userPosts + case userRelationships + case userRelationshipDetails + case userReligionPolitics + case userTaggedPlaces + case userVideos + case userWebsite + case userWorkHistory + case readCustomFriendlists + case readInsights + case readAudienceNetworkInsights + case readPageMailboxes + case pagesShowList + case pagesManageCta + case pagesManageInstantArticles + case adsRead + case custom(Swift.String) + public init(stringLiteral value: Swift.String) + public var name: Swift.String { + get + } + public func hash(into hasher: inout Swift.Hasher) + public static func == (a: FBSDKCoreKit.Permission, b: FBSDKCoreKit.Permission) -> Swift.Bool + public typealias ExtendedGraphemeClusterLiteralType = Swift.String + public typealias StringLiteralType = Swift.String + public typealias UnicodeScalarLiteralType = Swift.String + public var hashValue: Swift.Int { + get + } +} diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000..331f8b1 Binary files /dev/null and b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000..a934f1a --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -0,0 +1,99 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKCoreKit +@_exported import FBSDKCoreKit +import FBSDKCoreKit_Basics +import Foundation +import Swift +import UIKit +import _Concurrency +extension FBSDKCoreKit.AccessToken { + public var permissions: Swift.Set { + get + } + public var declinedPermissions: Swift.Set { + get + } + public var expiredPermissions: Swift.Set { + get + } + public func hasGranted(_ permission: FBSDKCoreKit.Permission) -> Swift.Bool +} +@objc(FBSDKCAPIReporter) public protocol CAPIReporter { + @objc func enable() + @objc func configure(factory: FBSDKCoreKit.GraphRequestFactoryProtocol, settings: FBSDKCoreKit.SettingsProtocol) + @objc func recordEvent(_ parameters: [Swift.String : Any]) +} +@objc @_inheritsConvenienceInitializers @objcMembers public class FBSDKAppEventsCAPIManager : ObjectiveC.NSObject, FBSDKCoreKit.CAPIReporter { + @objc public static let shared: FBSDKCoreKit.FBSDKAppEventsCAPIManager + @objc override dynamic public init() + @objc public func configure(factory: FBSDKCoreKit.GraphRequestFactoryProtocol, settings: FBSDKCoreKit.SettingsProtocol) + @objc public func enable() + @objc public func recordEvent(_ parameters: [Swift.String : Any]) + @objc deinit +} +@objc @_inheritsConvenienceInitializers @objcMembers public class FBSDKTransformerGraphRequestFactory : ObjectiveC.NSObject { + @objc public static let shared: FBSDKCoreKit.FBSDKTransformerGraphRequestFactory + public var credentials: FBSDKCoreKit.FBSDKTransformerGraphRequestFactory.CapiGCredentials? { + get + } + public struct CapiGCredentials { + public let accessKey: Swift.String + public let capiGatewayURL: Swift.String + public let datasetID: Swift.String + } + @objc override dynamic public init() + @objc public func configure(datasetID: Swift.String, url: Swift.String, accessKey: Swift.String) + @objc public func callCapiGatewayAPI(with parameters: [Swift.String : Any]) + @objc deinit +} +public enum Permission : Swift.Hashable, Swift.ExpressibleByStringLiteral { + case publicProfile + case userFriends + case email + case userAboutMe + case userActionsBooks + case userActionsFitness + case userActionsMusic + case userActionsNews + case userActionsVideo + case userBirthday + case userEducationHistory + case userEvents + case userGamesActivity + case userGender + case userHometown + case userLikes + case userLocation + case userManagedGroups + case userPhotos + case userPosts + case userRelationships + case userRelationshipDetails + case userReligionPolitics + case userTaggedPlaces + case userVideos + case userWebsite + case userWorkHistory + case readCustomFriendlists + case readInsights + case readAudienceNetworkInsights + case readPageMailboxes + case pagesShowList + case pagesManageCta + case pagesManageInstantArticles + case adsRead + case custom(Swift.String) + public init(stringLiteral value: Swift.String) + public var name: Swift.String { + get + } + public func hash(into hasher: inout Swift.Hasher) + public static func == (a: FBSDKCoreKit.Permission, b: FBSDKCoreKit.Permission) -> Swift.Bool + public typealias ExtendedGraphemeClusterLiteralType = Swift.String + public typealias StringLiteralType = Swift.String + public typealias UnicodeScalarLiteralType = Swift.String + public var hashValue: Swift.Int { + get + } +} diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftdoc b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftdoc new file mode 100644 index 0000000..331f8b1 Binary files /dev/null and b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftdoc differ diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftinterface b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftinterface new file mode 100644 index 0000000..a934f1a --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftinterface @@ -0,0 +1,99 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKCoreKit +@_exported import FBSDKCoreKit +import FBSDKCoreKit_Basics +import Foundation +import Swift +import UIKit +import _Concurrency +extension FBSDKCoreKit.AccessToken { + public var permissions: Swift.Set { + get + } + public var declinedPermissions: Swift.Set { + get + } + public var expiredPermissions: Swift.Set { + get + } + public func hasGranted(_ permission: FBSDKCoreKit.Permission) -> Swift.Bool +} +@objc(FBSDKCAPIReporter) public protocol CAPIReporter { + @objc func enable() + @objc func configure(factory: FBSDKCoreKit.GraphRequestFactoryProtocol, settings: FBSDKCoreKit.SettingsProtocol) + @objc func recordEvent(_ parameters: [Swift.String : Any]) +} +@objc @_inheritsConvenienceInitializers @objcMembers public class FBSDKAppEventsCAPIManager : ObjectiveC.NSObject, FBSDKCoreKit.CAPIReporter { + @objc public static let shared: FBSDKCoreKit.FBSDKAppEventsCAPIManager + @objc override dynamic public init() + @objc public func configure(factory: FBSDKCoreKit.GraphRequestFactoryProtocol, settings: FBSDKCoreKit.SettingsProtocol) + @objc public func enable() + @objc public func recordEvent(_ parameters: [Swift.String : Any]) + @objc deinit +} +@objc @_inheritsConvenienceInitializers @objcMembers public class FBSDKTransformerGraphRequestFactory : ObjectiveC.NSObject { + @objc public static let shared: FBSDKCoreKit.FBSDKTransformerGraphRequestFactory + public var credentials: FBSDKCoreKit.FBSDKTransformerGraphRequestFactory.CapiGCredentials? { + get + } + public struct CapiGCredentials { + public let accessKey: Swift.String + public let capiGatewayURL: Swift.String + public let datasetID: Swift.String + } + @objc override dynamic public init() + @objc public func configure(datasetID: Swift.String, url: Swift.String, accessKey: Swift.String) + @objc public func callCapiGatewayAPI(with parameters: [Swift.String : Any]) + @objc deinit +} +public enum Permission : Swift.Hashable, Swift.ExpressibleByStringLiteral { + case publicProfile + case userFriends + case email + case userAboutMe + case userActionsBooks + case userActionsFitness + case userActionsMusic + case userActionsNews + case userActionsVideo + case userBirthday + case userEducationHistory + case userEvents + case userGamesActivity + case userGender + case userHometown + case userLikes + case userLocation + case userManagedGroups + case userPhotos + case userPosts + case userRelationships + case userRelationshipDetails + case userReligionPolitics + case userTaggedPlaces + case userVideos + case userWebsite + case userWorkHistory + case readCustomFriendlists + case readInsights + case readAudienceNetworkInsights + case readPageMailboxes + case pagesShowList + case pagesManageCta + case pagesManageInstantArticles + case adsRead + case custom(Swift.String) + public init(stringLiteral value: Swift.String) + public var name: Swift.String { + get + } + public func hash(into hasher: inout Swift.Hasher) + public static func == (a: FBSDKCoreKit.Permission, b: FBSDKCoreKit.Permission) -> Swift.Bool + public typealias ExtendedGraphemeClusterLiteralType = Swift.String + public typealias StringLiteralType = Swift.String + public typealias UnicodeScalarLiteralType = Swift.String + public var hashValue: Swift.Int { + get + } +} diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Modules/module.modulemap b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Modules/module.modulemap similarity index 100% rename from src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Modules/module.modulemap rename to plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/Modules/module.modulemap diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/_CodeSignature/CodeDirectory b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/_CodeSignature/CodeDirectory new file mode 100644 index 0000000..a087aea Binary files /dev/null and b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/_CodeSignature/CodeDirectory differ diff --git a/src/ios/EmbeddedFrameworksSIM/FBAEMKit.framework/_CodeSignature/CodeRequirements b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/_CodeSignature/CodeRequirements similarity index 100% rename from src/ios/EmbeddedFrameworksSIM/FBAEMKit.framework/_CodeSignature/CodeRequirements rename to plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/_CodeSignature/CodeRequirements diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/_CodeSignature/CodeRequirements-1 b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/_CodeSignature/CodeRequirements-1 new file mode 100644 index 0000000..db9d346 Binary files /dev/null and b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/_CodeSignature/CodeRequirements-1 differ diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/_CodeSignature/CodeResources b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/_CodeSignature/CodeResources new file mode 100644 index 0000000..64cc217 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/_CodeSignature/CodeResources @@ -0,0 +1,1887 @@ + + + + + files + + Headers/FBSDKAccessToken.h + + Zwalh7WGm73EGYq6r0hOtY6TVyM= + + Headers/FBSDKAccessTokenProtocols.h + + QpJzB6oI1x1D3M0cC8Yw7FSuwKg= + + Headers/FBSDKAdvertisingTrackingStatus.h + + s2/tT+xSXPH4xXaQ+yW41JtgT58= + + Headers/FBSDKAppAvailabilityChecker.h + + Wyf9l4OPVlNw4rmgihSwsLLXekY= + + Headers/FBSDKAppEventName.h + + EU49DFEvgz3pfVKd2Gh6GcVz19w= + + Headers/FBSDKAppEventParameterName.h + + jMPwz6fdms/XUiUDkGZXO8LsEPs= + + Headers/FBSDKAppEventParameterProduct.h + + r+KeRcYNIPkXBrMbyUHT2wI7s9Y= + + Headers/FBSDKAppEventParameterValue.h + + 040yhBlHKamIDlwNu0ImpgLTCqc= + + Headers/FBSDKAppEventUserDataType.h + + A3lEI7gxtNx4AHoXWeE0s7u1zK8= + + Headers/FBSDKAppEvents.h + + ZabZwehtvq6nno9KnlPUHOfoXSA= + + Headers/FBSDKAppEventsFlushBehavior.h + + tGoQfvz6uAy5DjnhPnzX/Ai2vl4= + + Headers/FBSDKAppEventsNotificationName.h + + y7c3PKWx/w77oSbeugClHIvTMS8= + + Headers/FBSDKAppLink.h + + 5EIxpe89PDf7uNARo4Jy4QH+Qo4= + + Headers/FBSDKAppLinkNavigation.h + + RY5XtfOnoyCwcpgHKJiSeuMPBIA= + + Headers/FBSDKAppLinkResolver.h + + 7sO6Yn5KZcxXlo5Y+w+lhkolKk8= + + Headers/FBSDKAppLinkResolving.h + + vW0iP2TWioh9F2xVFhjb96AWH/M= + + Headers/FBSDKAppLinkTarget.h + + Jv4V7jimmNWdukOakiI+cOXPRTU= + + Headers/FBSDKAppLinkTargetProtocol.h + + KjpJOKaE7Hu4fZ/kcuexDfd7h/E= + + Headers/FBSDKAppLinkUtility.h + + eg8m/+VYcUPPXnNT1s5tbmf4z60= + + Headers/FBSDKAppURLSchemeProviding.h + + G7H5ArEaw56tAdukKkeFnHJW3yM= + + Headers/FBSDKApplicationDelegate.h + + ffAxY4yzMyaQxX1xI1pkYmGpaa0= + + Headers/FBSDKApplicationObserving.h + + E5Ew6Wmyl//0dt7F2wSyYMbL8Uc= + + Headers/FBSDKAuthenticationToken.h + + 8MSOJbkw+GYK17UVaHITUogBFow= + + Headers/FBSDKAuthenticationTokenClaims.h + + xojLcwuGpunIQjN3S1ntX2IxWxk= + + Headers/FBSDKAuthenticationTokenProtocols.h + + ll9VzBIGgFDag+gJiL8CfwN8Vmc= + + Headers/FBSDKBridgeAPI.h + + I5hqZr4+zcVZsAmHsy4JSL1Fgt8= + + Headers/FBSDKBridgeAPIProtocol.h + + MsZsfhF27cV7UwnA9wtLWKut7x8= + + Headers/FBSDKBridgeAPIProtocolType.h + + DblZg5KWlfoY7uhozPWbR8A+C+Q= + + Headers/FBSDKBridgeAPIRequest.h + + /49KetCwFynSQPcoa2fwqdM6WCU= + + Headers/FBSDKBridgeAPIRequestCreating.h + + fSrgRjXiEf48iO5SW4tUzCK4Dfw= + + Headers/FBSDKBridgeAPIRequestOpening.h + + +Du1Slb3MvBO9hnallcqMyu0oAw= + + Headers/FBSDKBridgeAPIRequestProtocol.h + + QvIJ69YhObUzXyvQTDogepJbLIY= + + Headers/FBSDKBridgeAPIResponse.h + + 0xHREU5UN9V2806Plbv9YnZCtvo= + + Headers/FBSDKButton.h + + Q5s1g6x77uecqksyNP9YvwAxGKo= + + Headers/FBSDKButtonImpressionLogging.h + + LsVpQhR6smaHCPnF/ITEWiKGkKA= + + Headers/FBSDKConstants.h + + 8uLZKrsuXsxVHJGVSrF1lCoNawo= + + Headers/FBSDKCoreKit-Swift.h + + fu059kzrvFABk/Ncld4vk4y9vUI= + + Headers/FBSDKCoreKit.h + + rSB/5qnmwQ/YfcHSajkFConHwuI= + + Headers/FBSDKCoreKitVersions.h + + 5h80jtLpxKnIOkErVQzQ9esYVVM= + + Headers/FBSDKDeviceButton.h + + 4LIheHz+TKvNTDHMFLx9U5N9muI= + + Headers/FBSDKDeviceDialogView.h + + 0aubj8CDlLTz/o8MfbxQrck/VQs= + + Headers/FBSDKDeviceViewControllerBase.h + + 9d5jpsDwPq4ZpbCHYzNDectdVyE= + + Headers/FBSDKDynamicFrameworkLoaderProxy.h + + gQze+1wXFmg8HHDE0Ba4/AdlSbk= + + Headers/FBSDKDynamicSocialFrameworkLoader.h + + VkK7+4REIGtAPH/eFKxy/bj9hQ0= + + Headers/FBSDKErrorCreating.h + + hSTHauBFdEYzYLgpazD8Nu2mbvA= + + Headers/FBSDKErrorFactory.h + + BbwtPEHEtIq6FGLxlzJ+93hv4XU= + + Headers/FBSDKErrorRecoveryAttempting.h + + r3mkBDHcKe63UzmZCJLFEisXL3I= + + Headers/FBSDKFeature.h + + oi8Vqy8v5+vpnJjJcnkEXSeEshQ= + + Headers/FBSDKFeatureChecking.h + + rYTkx84W03mL0rrno4sthw6poiM= + + Headers/FBSDKGraphErrorRecoveryProcessor.h + + /3AE6n6eta/pkvOIaQ5ZDZrxIwc= + + Headers/FBSDKGraphRequest.h + + mDiia1xQGNDzGWkoO2IrQrHcVCo= + + Headers/FBSDKGraphRequestConnecting.h + + paaU79+o3FwlCqzfosIGlXZTwL4= + + Headers/FBSDKGraphRequestConnection.h + + ZCtXBvpuATZKAZvJLOo9h5KrckA= + + Headers/FBSDKGraphRequestConnectionDelegate.h + + FSHiVcHDpJTlfdfBczQNHtjDJ8s= + + Headers/FBSDKGraphRequestConnectionFactory.h + + gAfT3DO/vuTTlEaJPEP8hL5P3Eo= + + Headers/FBSDKGraphRequestConnectionFactoryProtocol.h + + A26a5H79Zb1dRO6YHMFB4DbS+D8= + + Headers/FBSDKGraphRequestDataAttachment.h + + 7vvCqPiZp4o6JKVaJJ4FP9XkXKE= + + Headers/FBSDKGraphRequestFactory.h + + lAwX1CKv5VHiJ07/xZZylICOdg4= + + Headers/FBSDKGraphRequestFactoryProtocol.h + + Nz3K53RPMCO3ckDCvhJoBJ9TIKI= + + Headers/FBSDKGraphRequestFlags.h + + Zas2ccUoNaCrjUffAdLC6TmKLWs= + + Headers/FBSDKGraphRequestHTTPMethod.h + + sF4WT7ko2ZXuQ91thBewwSb29Cc= + + Headers/FBSDKGraphRequestProtocol.h + + E72bbJ8BaX/EV/so4aPEeaLRTkY= + + Headers/FBSDKIcon.h + + nSUcEGcswYAb2H/1Kk1Ibii38sQ= + + Headers/FBSDKImpressionLoggingButton.h + + aaainoJHYRbRmab8MpwHmrU4hVo= + + Headers/FBSDKInternalUtility.h + + SGKxlebDOswyK9ij4YkNeiS+jmM= + + Headers/FBSDKInternalUtilityProtocol.h + + Fv2HZA8YkLc1F/996f+/OhkAzZM= + + Headers/FBSDKKeychainStore.h + + VSfBFlzguwgAJhVey77PM3TiKzI= + + Headers/FBSDKKeychainStoreFactory.h + + EokxqDkQxYQBz5YnFwcqJvVKd8I= + + Headers/FBSDKKeychainStoreProtocol.h + + Vl4nIrUwT7cqcjwlXymbPkKUVDo= + + Headers/FBSDKKeychainStoreProviding.h + + mIeRZ1Khyvf/6V2HXI3+7c15XfU= + + Headers/FBSDKLocation.h + + lVldFN//gmPckkWOntm6/lMe0QE= + + Headers/FBSDKLogger.h + + rtRqjTXsaZXv5x8H14rMIs3g7Gk= + + Headers/FBSDKLogging.h + + /DbryGZcqEQACAktvCjPjV6SDG4= + + Headers/FBSDKLoggingBehavior.h + + 2RipnoPNHjzmVyzHpZjxsO+csE0= + + Headers/FBSDKLoginTooltip.h + + t9qlwGoUeyWhxDfXE8Ky6RnF/gg= + + Headers/FBSDKMeasurementEvent.h + + iDxUikYGmDa2FVGCbslgxrjwXLA= + + Headers/FBSDKMutableCopying.h + + CdAKmAi79FHfugMUCBcou38XjyY= + + Headers/FBSDKNetworkErrorChecker.h + + lc4ltIsnGN0wefVKZeW3BTQqt8o= + + Headers/FBSDKNetworkErrorChecking.h + + DQOOpk+tae6sTARv6zgYkUNQv+4= + + Headers/FBSDKProductAvailability.h + + 4z6lAOLiyG+H6sMmuDzBXlrBO4Q= + + Headers/FBSDKProductCondition.h + + p2M86R+0XjuIIHBALGh4qHhF0sg= + + Headers/FBSDKProfile.h + + a1wf8Hf9JZZ6hWCfCShWPzBo7hk= + + Headers/FBSDKProfilePictureView.h + + Ha1FZWHpTkpVErTLPsBp8dmIzFY= + + Headers/FBSDKProfileProtocols.h + + osJIfxC8jjnWg+nZiIydGspDpKo= + + Headers/FBSDKRandom.h + + R8FED9YvoEocX/AhmRTKcVPRw2o= + + Headers/FBSDKServerConfigurationProvider.h + + AhAGmLml8AEa2qhdMA2aHiBseRk= + + Headers/FBSDKSettings.h + + R6dyUp+m+ea3r1bDBUkuxV3X6AY= + + Headers/FBSDKSettingsLogging.h + + j4NKiO1um7BzI27sPShA+WNNV6E= + + Headers/FBSDKSettingsProtocol.h + + QogmjQBweHFkUWSIRYsBQvR4gHE= + + Headers/FBSDKShareDialogConfiguration.h + + WPPtv+9HV+w3NbzlQBfQDXQ6qlQ= + + Headers/FBSDKTokenCaching.h + + Y9D8zDMXaiaJEPNG6yqmuv8sdxU= + + Headers/FBSDKTokenStringProviding.h + + 1ULLCT9qWhm7HkrSyND4RJwRF6Y= + + Headers/FBSDKTransformer.h + + Ui2GFPACS7T6kK9LcCLcdJyCYyo= + + Headers/FBSDKURL.h + + d5KoDUOKDIKe8CdBCFa5iFYqMyQ= + + Headers/FBSDKURLHosting.h + + t5Vuvclz3txsOHO/DxRweisyVC8= + + Headers/FBSDKURLOpener.h + + A0FSD5yqJH1esXZTdJ5le57N30Q= + + Headers/FBSDKURLOpening.h + + ExR8Hwm+b4hQrM+eFZoUR3yLS1U= + + Headers/FBSDKURLScheme.h + + 36HfFNYLwWfRajDYFDJeNZe/evc= + + Headers/FBSDKUserAgeRange.h + + eRyqSxEieMcqdjv0yKXNIDnmRIg= + + Headers/FBSDKUtility.h + + ACK+e48w6WLwZDhZT9VIaXDWTlk= + + Headers/FBSDKWebDialog.h + + s8cqZqq/NcQyFzujtEc+0qtxxx0= + + Headers/FBSDKWebDialogDelegate.h + + Chc8NMEwHSvrQkghQPV6O7rBAW8= + + Headers/FBSDKWebDialogView.h + + hui2sUnpJKWcSpt107HTbPs4cps= + + Headers/FBSDKWebViewAppLinkResolver.h + + jEC9UH9Inm7DYqoFZv2qaN3Pe14= + + Headers/_FBSDKWindowFinding.h + + Gac9mAAYHny41SRhpW53CbfSo2s= + + Headers/__FBSDKLoggerCreating.h + + y1VVRA/XNhhKMaoTUc/66smvRqI= + + Info.plist + + lltDqe3Ami3QR7sP8HyMXHOd1Nk= + + Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + xxy9Zg411X2b8tgLXwG0d+q8HJs= + + Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + MCNnHOKeoDSKGaOUJPZHqNwX8as= + + Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + U1YB4ZwVD/iT+2nKP/SXuY7HVC8= + + Modules/FBSDKCoreKit.swiftmodule/arm64.swiftdoc + + xxy9Zg411X2b8tgLXwG0d+q8HJs= + + Modules/FBSDKCoreKit.swiftmodule/arm64.swiftinterface + + MCNnHOKeoDSKGaOUJPZHqNwX8as= + + Modules/FBSDKCoreKit.swiftmodule/arm64.swiftmodule + + U1YB4ZwVD/iT+2nKP/SXuY7HVC8= + + Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + W8QJ2rBBxhqbEZ8A1qLxEMiXjcs= + + Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + qMKtG8LoKGyhsXiGztt/a/hSzPQ= + + Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule + + 4MbDY0gj4SbSSa2pcWxhp43Gufo= + + Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftdoc + + W8QJ2rBBxhqbEZ8A1qLxEMiXjcs= + + Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftinterface + + qMKtG8LoKGyhsXiGztt/a/hSzPQ= + + Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftmodule + + 4MbDY0gj4SbSSa2pcWxhp43Gufo= + + Modules/module.modulemap + + dqxVNYXT9nBvFc3sI+M8nUrDXuA= + + + files2 + + Headers/FBSDKAccessToken.h + + hash + + Zwalh7WGm73EGYq6r0hOtY6TVyM= + + hash2 + + 1HuXQBYX9e+yfKLIyhwED67a3VCkpra3DxlLwws0NvA= + + + Headers/FBSDKAccessTokenProtocols.h + + hash + + QpJzB6oI1x1D3M0cC8Yw7FSuwKg= + + hash2 + + VuMGgje9C8CglYD1qDMt29vcNIUBUZlTAdNo+qvSeXM= + + + Headers/FBSDKAdvertisingTrackingStatus.h + + hash + + s2/tT+xSXPH4xXaQ+yW41JtgT58= + + hash2 + + pj5HBFKU2AJRVkryxLDxsNyV+Hq0vhsL7ESLeXA7gco= + + + Headers/FBSDKAppAvailabilityChecker.h + + hash + + Wyf9l4OPVlNw4rmgihSwsLLXekY= + + hash2 + + WCKAfRQSLZ76amGNcy7D85Zr0FqbK3yqgD2x9Q2KMVc= + + + Headers/FBSDKAppEventName.h + + hash + + EU49DFEvgz3pfVKd2Gh6GcVz19w= + + hash2 + + qlGcgxs7AVCOJpK7+czagW3XaPQIdPFE23qdql2xK3s= + + + Headers/FBSDKAppEventParameterName.h + + hash + + jMPwz6fdms/XUiUDkGZXO8LsEPs= + + hash2 + + P5BcIc7FNHua2MKnE3mmflQlvvdqk25zXugjGZGRhJk= + + + Headers/FBSDKAppEventParameterProduct.h + + hash + + r+KeRcYNIPkXBrMbyUHT2wI7s9Y= + + hash2 + + FIPXmw+JMv7bBSbF0zhfVC2Ib03Sx9JYrwjlNp1XInI= + + + Headers/FBSDKAppEventParameterValue.h + + hash + + 040yhBlHKamIDlwNu0ImpgLTCqc= + + hash2 + + Q2olYJJI/DN976h566Nwy3D+obhtAQAKHOJ5lKeTfm8= + + + Headers/FBSDKAppEventUserDataType.h + + hash + + A3lEI7gxtNx4AHoXWeE0s7u1zK8= + + hash2 + + 7pjsRgcXBeV8tJeLjrQvQ/3ZBmzY9k086Z46TsArMag= + + + Headers/FBSDKAppEvents.h + + hash + + ZabZwehtvq6nno9KnlPUHOfoXSA= + + hash2 + + /dqfqBWS1XAnIVpkJtTdrw+vGtx3hEWCNfcr96cZ7rU= + + + Headers/FBSDKAppEventsFlushBehavior.h + + hash + + tGoQfvz6uAy5DjnhPnzX/Ai2vl4= + + hash2 + + iUxqEKL4pmF7f47Qul2Oe8QI0MjDPnOn3VhWjVQWe90= + + + Headers/FBSDKAppEventsNotificationName.h + + hash + + y7c3PKWx/w77oSbeugClHIvTMS8= + + hash2 + + 7JmzpHhHPCXS4WcGYrhN2g1u5YXUgR/ltWdRyfv8l0I= + + + Headers/FBSDKAppLink.h + + hash + + 5EIxpe89PDf7uNARo4Jy4QH+Qo4= + + hash2 + + g/IxfDNhT5FlzCFaIqj87XZGnrfTh/0pcEjCqf8dc+Y= + + + Headers/FBSDKAppLinkNavigation.h + + hash + + RY5XtfOnoyCwcpgHKJiSeuMPBIA= + + hash2 + + 2CTZLIVldVIEEyp7qR0dEELZmUYjxrNoSe2J/m1affQ= + + + Headers/FBSDKAppLinkResolver.h + + hash + + 7sO6Yn5KZcxXlo5Y+w+lhkolKk8= + + hash2 + + 8aNQx4mlqNBxl/I9nP8S50yHG6KvLKKNYr2AOITTlko= + + + Headers/FBSDKAppLinkResolving.h + + hash + + vW0iP2TWioh9F2xVFhjb96AWH/M= + + hash2 + + qb3BIqDSak/QEJVHaa0UyJE2SIhRWJTvILOUETHKNbU= + + + Headers/FBSDKAppLinkTarget.h + + hash + + Jv4V7jimmNWdukOakiI+cOXPRTU= + + hash2 + + irWS1LgTXSXbrL6LszL/lt6uruZKKTG4ZIR+JPSYy5s= + + + Headers/FBSDKAppLinkTargetProtocol.h + + hash + + KjpJOKaE7Hu4fZ/kcuexDfd7h/E= + + hash2 + + xRIohRLTU/DyWAlvJeGXzuTsyj3d0Pb9Erqu0nLl2Qo= + + + Headers/FBSDKAppLinkUtility.h + + hash + + eg8m/+VYcUPPXnNT1s5tbmf4z60= + + hash2 + + TbJ3O5YJdrGHT7yvN5AV2LwUY7TCwYXzOU8UkYqesEU= + + + Headers/FBSDKAppURLSchemeProviding.h + + hash + + G7H5ArEaw56tAdukKkeFnHJW3yM= + + hash2 + + o9vW113QSBrXeTu8w1RgrMfMpi3Li+ZHpavPt/xYGa4= + + + Headers/FBSDKApplicationDelegate.h + + hash + + ffAxY4yzMyaQxX1xI1pkYmGpaa0= + + hash2 + + PwSs6xMf/ybhlatFk/DLtcVQSIsuPncA99fqc9Q7QBc= + + + Headers/FBSDKApplicationObserving.h + + hash + + E5Ew6Wmyl//0dt7F2wSyYMbL8Uc= + + hash2 + + I09jTNQCgePthHc0fW/okp1bhMUx7+PPWoHkC8vl+Ls= + + + Headers/FBSDKAuthenticationToken.h + + hash + + 8MSOJbkw+GYK17UVaHITUogBFow= + + hash2 + + vMJ3N8rqdWY+q5wZWX5vjz3+YpiIueuJEVZ63TxUS6s= + + + Headers/FBSDKAuthenticationTokenClaims.h + + hash + + xojLcwuGpunIQjN3S1ntX2IxWxk= + + hash2 + + aBU/e5udieGDwDgz+qcP4zTL0e86m4akTzjoHIZViY4= + + + Headers/FBSDKAuthenticationTokenProtocols.h + + hash + + ll9VzBIGgFDag+gJiL8CfwN8Vmc= + + hash2 + + 9hunZocu2ArA/iddd/8a9xWZwt0gHDZPA7mNEhsFEgQ= + + + Headers/FBSDKBridgeAPI.h + + hash + + I5hqZr4+zcVZsAmHsy4JSL1Fgt8= + + hash2 + + /VHa8dL7WXWTHDTBxYJJ/126TykZLdGDcG5xOUHAbIg= + + + Headers/FBSDKBridgeAPIProtocol.h + + hash + + MsZsfhF27cV7UwnA9wtLWKut7x8= + + hash2 + + X+z7XuqGNwH+3YPu+QB5WCsbNcdIaK5qh1sdLvUKelY= + + + Headers/FBSDKBridgeAPIProtocolType.h + + hash + + DblZg5KWlfoY7uhozPWbR8A+C+Q= + + hash2 + + A5XYnc2oBVddlLz3wGiibtMvO6i/A+82gXL5XY+AsgA= + + + Headers/FBSDKBridgeAPIRequest.h + + hash + + /49KetCwFynSQPcoa2fwqdM6WCU= + + hash2 + + skJUk4euPJRaKtWFNSusDh5VCs+v8OI5CRiaykPJyNw= + + + Headers/FBSDKBridgeAPIRequestCreating.h + + hash + + fSrgRjXiEf48iO5SW4tUzCK4Dfw= + + hash2 + + NX+gToQ0lPJ7TSH2qMy4mIDEYMYzkZhwyZbP0XvC1iI= + + + Headers/FBSDKBridgeAPIRequestOpening.h + + hash + + +Du1Slb3MvBO9hnallcqMyu0oAw= + + hash2 + + s2lyojY76IEBtZow3eRPQRAb8vLKp8C63M/45OEbA1I= + + + Headers/FBSDKBridgeAPIRequestProtocol.h + + hash + + QvIJ69YhObUzXyvQTDogepJbLIY= + + hash2 + + zXyn4IrEQSs/K0vIuWaHZHWeYSHJfjrS2xjq3hrHThs= + + + Headers/FBSDKBridgeAPIResponse.h + + hash + + 0xHREU5UN9V2806Plbv9YnZCtvo= + + hash2 + + VpEoCY99wbTWk0mTFsof9zSkSb9JK0bc0ty0LHM0GGE= + + + Headers/FBSDKButton.h + + hash + + Q5s1g6x77uecqksyNP9YvwAxGKo= + + hash2 + + VGY0AU3C6L7ZwTarF+0BOGRkeoqOQcLDpxQJ6sRMJXY= + + + Headers/FBSDKButtonImpressionLogging.h + + hash + + LsVpQhR6smaHCPnF/ITEWiKGkKA= + + hash2 + + pShKA3myYUve8S5W/TI08BTWmhPh0RgoZQ6lY9c5S9g= + + + Headers/FBSDKConstants.h + + hash + + 8uLZKrsuXsxVHJGVSrF1lCoNawo= + + hash2 + + LxzBWAAzRjmjvoPtHtvZHe66BnfzV1RlnGfB8ljOYVA= + + + Headers/FBSDKCoreKit-Swift.h + + hash + + fu059kzrvFABk/Ncld4vk4y9vUI= + + hash2 + + 926NIy8nLmTFB9VLIZvz3MlJF/PLsp2Zl2P9Gwl6mXc= + + + Headers/FBSDKCoreKit.h + + hash + + rSB/5qnmwQ/YfcHSajkFConHwuI= + + hash2 + + wiDLJIdGwhq62RT8NUGC9H3Ji6WVgPCTE3q7FTMneJw= + + + Headers/FBSDKCoreKitVersions.h + + hash + + 5h80jtLpxKnIOkErVQzQ9esYVVM= + + hash2 + + KZ7nwRhL5CEca+znQ0DVoRblUrDBB2r4A/rsTIAq9m8= + + + Headers/FBSDKDeviceButton.h + + hash + + 4LIheHz+TKvNTDHMFLx9U5N9muI= + + hash2 + + jraVs1muJpXk8r7ljiHH2+6sCGrZ0j+17u95Jn5xgKM= + + + Headers/FBSDKDeviceDialogView.h + + hash + + 0aubj8CDlLTz/o8MfbxQrck/VQs= + + hash2 + + 5SsLAz81rfMji3a9qaEVQ9gWESKGuH6ziUaSTA4K+k4= + + + Headers/FBSDKDeviceViewControllerBase.h + + hash + + 9d5jpsDwPq4ZpbCHYzNDectdVyE= + + hash2 + + 996f3WvoxwknKnreRc5JpTLQcUB27LR5tq5tV3qRHe0= + + + Headers/FBSDKDynamicFrameworkLoaderProxy.h + + hash + + gQze+1wXFmg8HHDE0Ba4/AdlSbk= + + hash2 + + DKzc5A2VHGjb5zjiW11FfYE+be1Je5rxetWvpGpLWP8= + + + Headers/FBSDKDynamicSocialFrameworkLoader.h + + hash + + VkK7+4REIGtAPH/eFKxy/bj9hQ0= + + hash2 + + I6uYOLsEUDxk7HKK39oiWyshO9sP8I6Ul2aPS4AGbaM= + + + Headers/FBSDKErrorCreating.h + + hash + + hSTHauBFdEYzYLgpazD8Nu2mbvA= + + hash2 + + J1rXYSPoy877pIwlZKDP6n/b3DufexQeIl0pOymmYVY= + + + Headers/FBSDKErrorFactory.h + + hash + + BbwtPEHEtIq6FGLxlzJ+93hv4XU= + + hash2 + + PwxuvjiaBR9QpRJl5SjDI8lRM5aDTxvbBAloH4txjBs= + + + Headers/FBSDKErrorRecoveryAttempting.h + + hash + + r3mkBDHcKe63UzmZCJLFEisXL3I= + + hash2 + + bbQLx2KLum7BokOQzq6eMFMcPRKyQgeSJyYi567SqfQ= + + + Headers/FBSDKFeature.h + + hash + + oi8Vqy8v5+vpnJjJcnkEXSeEshQ= + + hash2 + + Yhm/pHM7ISu9kydXaHMtqHPBvvrmM/scVpvj5OfXQ24= + + + Headers/FBSDKFeatureChecking.h + + hash + + rYTkx84W03mL0rrno4sthw6poiM= + + hash2 + + QtYErERzFYGRmUpt4HXd8p062xQtrNl5l+J2nUhhc1k= + + + Headers/FBSDKGraphErrorRecoveryProcessor.h + + hash + + /3AE6n6eta/pkvOIaQ5ZDZrxIwc= + + hash2 + + boW9M+T41fcjt/4pL+1wAI0jjDX2bGoZKHNSOiS3GCA= + + + Headers/FBSDKGraphRequest.h + + hash + + mDiia1xQGNDzGWkoO2IrQrHcVCo= + + hash2 + + cObAdeSuYo3AG0Il/A6PknPlmQQkmsy8p6wzTTeJnFc= + + + Headers/FBSDKGraphRequestConnecting.h + + hash + + paaU79+o3FwlCqzfosIGlXZTwL4= + + hash2 + + ly7JyuRHRTif+4dhHHyNJrgci4jYJ1SPobEAWFdeBG8= + + + Headers/FBSDKGraphRequestConnection.h + + hash + + ZCtXBvpuATZKAZvJLOo9h5KrckA= + + hash2 + + ZbfPRx7gmcdeVKVyDE+cliM8ehWUJBPao1Kbkzn0Xv8= + + + Headers/FBSDKGraphRequestConnectionDelegate.h + + hash + + FSHiVcHDpJTlfdfBczQNHtjDJ8s= + + hash2 + + pbeIgtjILQ+9lWJviGFFqpO8IqXWnVf2DQ094YKDKMY= + + + Headers/FBSDKGraphRequestConnectionFactory.h + + hash + + gAfT3DO/vuTTlEaJPEP8hL5P3Eo= + + hash2 + + xgTvIuiH3O0GP4dAfx+lVweVvj/3VUFzk/ZwDkEd6UM= + + + Headers/FBSDKGraphRequestConnectionFactoryProtocol.h + + hash + + A26a5H79Zb1dRO6YHMFB4DbS+D8= + + hash2 + + ZSBkNkUs6k4hh3lOO6aa5+j5kuh9vwSm6BTbH++KEH4= + + + Headers/FBSDKGraphRequestDataAttachment.h + + hash + + 7vvCqPiZp4o6JKVaJJ4FP9XkXKE= + + hash2 + + rrQm0dv7u0VNuBOOr4bOsLq22U2VRKN5+/8z8dvg8ac= + + + Headers/FBSDKGraphRequestFactory.h + + hash + + lAwX1CKv5VHiJ07/xZZylICOdg4= + + hash2 + + VHji6+eQJ/noGhXoav1+rDhYGkeNSPac5f3JMIMO4OQ= + + + Headers/FBSDKGraphRequestFactoryProtocol.h + + hash + + Nz3K53RPMCO3ckDCvhJoBJ9TIKI= + + hash2 + + 4EdOx1EfPwkCg86SDjtSacKJozvb0RRnJZ19a7qirAA= + + + Headers/FBSDKGraphRequestFlags.h + + hash + + Zas2ccUoNaCrjUffAdLC6TmKLWs= + + hash2 + + QaBxTTw493IFQLv0fwkhBkWu57wAPkAZ/fexBSmcWuA= + + + Headers/FBSDKGraphRequestHTTPMethod.h + + hash + + sF4WT7ko2ZXuQ91thBewwSb29Cc= + + hash2 + + s/ZdV1PYtfb+e5MToTE5eWQ/g8Ea8Lfbn1y5cPXIois= + + + Headers/FBSDKGraphRequestProtocol.h + + hash + + E72bbJ8BaX/EV/so4aPEeaLRTkY= + + hash2 + + GDWolFR0Dj6corFdcjDQZdk7rfU0AEPiBD4Ij/x0efk= + + + Headers/FBSDKIcon.h + + hash + + nSUcEGcswYAb2H/1Kk1Ibii38sQ= + + hash2 + + +bRm7DWEBj2Qs6f5L8UwS8K4WF3DXn9C+47shPYf33Q= + + + Headers/FBSDKImpressionLoggingButton.h + + hash + + aaainoJHYRbRmab8MpwHmrU4hVo= + + hash2 + + YdoyQtxZm0tnh9jsgEZSnzReYlue+nwzRR4z3AsUkdg= + + + Headers/FBSDKInternalUtility.h + + hash + + SGKxlebDOswyK9ij4YkNeiS+jmM= + + hash2 + + ITLHu17JQHXN5BRP/aB0T2nlEkV6l8gADgjDCHMcOm0= + + + Headers/FBSDKInternalUtilityProtocol.h + + hash + + Fv2HZA8YkLc1F/996f+/OhkAzZM= + + hash2 + + mbZQDpstOa8EgXL6i2KXC/6Al3EIoKxJT0wqzk2UNfs= + + + Headers/FBSDKKeychainStore.h + + hash + + VSfBFlzguwgAJhVey77PM3TiKzI= + + hash2 + + sQGCel/07cMPMZI0kl8wscwPV9WL/JIYf1ns0PSf8v0= + + + Headers/FBSDKKeychainStoreFactory.h + + hash + + EokxqDkQxYQBz5YnFwcqJvVKd8I= + + hash2 + + la/OM0KnLr35SmfD02P88Sr62T2F8+uRVF/wDtbdfSw= + + + Headers/FBSDKKeychainStoreProtocol.h + + hash + + Vl4nIrUwT7cqcjwlXymbPkKUVDo= + + hash2 + + XNfcYyJYq69j5eL0ARtTlzkh8SdVCq+G/s9eY4Pd8O8= + + + Headers/FBSDKKeychainStoreProviding.h + + hash + + mIeRZ1Khyvf/6V2HXI3+7c15XfU= + + hash2 + + N5iX620VVuEnU9MNl/truAcPdvE78EoCZ13WK/XGM7w= + + + Headers/FBSDKLocation.h + + hash + + lVldFN//gmPckkWOntm6/lMe0QE= + + hash2 + + 4VM07vWgUKPPsLEMLF29hXYKIHBkc9vETSX506Z++Uw= + + + Headers/FBSDKLogger.h + + hash + + rtRqjTXsaZXv5x8H14rMIs3g7Gk= + + hash2 + + Qfqspxm3/sPBdO0HFJAKtqdycEFIM/L2eebvKieQ5F4= + + + Headers/FBSDKLogging.h + + hash + + /DbryGZcqEQACAktvCjPjV6SDG4= + + hash2 + + IvKTyTv5bHSAJcZqLwaHR/lW5CFnjIggFOzHMRDWMk4= + + + Headers/FBSDKLoggingBehavior.h + + hash + + 2RipnoPNHjzmVyzHpZjxsO+csE0= + + hash2 + + 4aOXHNufAYanMkOEmfMy+Os4pKJrcNj1FhZ5sT1dlwA= + + + Headers/FBSDKLoginTooltip.h + + hash + + t9qlwGoUeyWhxDfXE8Ky6RnF/gg= + + hash2 + + C6wHDAq5ukwucR1FkTnnq3ucsw6y7GR9wDadgB3zHZY= + + + Headers/FBSDKMeasurementEvent.h + + hash + + iDxUikYGmDa2FVGCbslgxrjwXLA= + + hash2 + + pQsOL0XS7oLwroR3nl+OX9iQElmW8sTnvwrqKgbgoas= + + + Headers/FBSDKMutableCopying.h + + hash + + CdAKmAi79FHfugMUCBcou38XjyY= + + hash2 + + 9WETC6Qraw3B3QY90JfYu/elsAnM/L40JTEsRAOO+hQ= + + + Headers/FBSDKNetworkErrorChecker.h + + hash + + lc4ltIsnGN0wefVKZeW3BTQqt8o= + + hash2 + + mQPfqbSnxLTJW64KKhoGcZPQYNTYQABLzG1AZ2hcTSs= + + + Headers/FBSDKNetworkErrorChecking.h + + hash + + DQOOpk+tae6sTARv6zgYkUNQv+4= + + hash2 + + JaxujLpfeoL0uJ15AXk/+TxmnQ+XgmtHYz9sb5k3r1w= + + + Headers/FBSDKProductAvailability.h + + hash + + 4z6lAOLiyG+H6sMmuDzBXlrBO4Q= + + hash2 + + AfSg3sbP+VegxUAApbWi9NSI+/dlu9LbDGiLvCWo3Z0= + + + Headers/FBSDKProductCondition.h + + hash + + p2M86R+0XjuIIHBALGh4qHhF0sg= + + hash2 + + dNGTpMMgyZMruD+nBPSsD0Y3Bc2L8ZoTcsW1f5tdK7Q= + + + Headers/FBSDKProfile.h + + hash + + a1wf8Hf9JZZ6hWCfCShWPzBo7hk= + + hash2 + + iG8YHX07jMMrMI6thsGnT/Xv5wMMTO52dV+w5SBO5fw= + + + Headers/FBSDKProfilePictureView.h + + hash + + Ha1FZWHpTkpVErTLPsBp8dmIzFY= + + hash2 + + +RZ2/BzlpoTMWjbOHFqG6m1hhbE1kZ3UdI7y955aYTE= + + + Headers/FBSDKProfileProtocols.h + + hash + + osJIfxC8jjnWg+nZiIydGspDpKo= + + hash2 + + IEi+jwFakp2U3rTrt+M4o8n/OleKxYtn20oi2/DBfW0= + + + Headers/FBSDKRandom.h + + hash + + R8FED9YvoEocX/AhmRTKcVPRw2o= + + hash2 + + JXR3YBjvsfljeUoFjq/rNAz0+acuqvjZkXBhXXs5bgE= + + + Headers/FBSDKServerConfigurationProvider.h + + hash + + AhAGmLml8AEa2qhdMA2aHiBseRk= + + hash2 + + RXwkFjplbHxdLpEaBMqqLSRR8dDM5WCHUNSq389EwY0= + + + Headers/FBSDKSettings.h + + hash + + R6dyUp+m+ea3r1bDBUkuxV3X6AY= + + hash2 + + XkVFFBY9CgWqcTRO9141I1ojD855VIKzqj32ohj9988= + + + Headers/FBSDKSettingsLogging.h + + hash + + j4NKiO1um7BzI27sPShA+WNNV6E= + + hash2 + + GgfZ+r7AkNT2pA6iA72tqgExzEgxS0MRiVNUSlpsa48= + + + Headers/FBSDKSettingsProtocol.h + + hash + + QogmjQBweHFkUWSIRYsBQvR4gHE= + + hash2 + + vYviw3P0xVBPMPq5TFbuuFWvwiZH9HkZcHV1gavtPLo= + + + Headers/FBSDKShareDialogConfiguration.h + + hash + + WPPtv+9HV+w3NbzlQBfQDXQ6qlQ= + + hash2 + + K875Kx7WBiydIBg/+0ysq8NjN9EUtXTCYJADXXApiGw= + + + Headers/FBSDKTokenCaching.h + + hash + + Y9D8zDMXaiaJEPNG6yqmuv8sdxU= + + hash2 + + adI/CmzszZ3MQwaZv5E3iCsNy9ipB09TK9oNjPirDD4= + + + Headers/FBSDKTokenStringProviding.h + + hash + + 1ULLCT9qWhm7HkrSyND4RJwRF6Y= + + hash2 + + Cmhyy2RK5YdGkiMeYR7YqggjtKl5xi9gfIWd5Rzyos0= + + + Headers/FBSDKTransformer.h + + hash + + Ui2GFPACS7T6kK9LcCLcdJyCYyo= + + hash2 + + 76ADDGvmmKAAjwJQmqZOKN1QRhrUmGE9qELPwGG2F4k= + + + Headers/FBSDKURL.h + + hash + + d5KoDUOKDIKe8CdBCFa5iFYqMyQ= + + hash2 + + z00FICbn5ff0howaGWioLWtllVLJgjG7rjFDC45tHy0= + + + Headers/FBSDKURLHosting.h + + hash + + t5Vuvclz3txsOHO/DxRweisyVC8= + + hash2 + + JCLr3/884XZGGQb+q4SVXOAqYudnP/xSxJwFQrBu/rM= + + + Headers/FBSDKURLOpener.h + + hash + + A0FSD5yqJH1esXZTdJ5le57N30Q= + + hash2 + + wj7zVEbrD0B1jWpZL7ds2JfPoOHbKyQMRQ9zaz1Tkns= + + + Headers/FBSDKURLOpening.h + + hash + + ExR8Hwm+b4hQrM+eFZoUR3yLS1U= + + hash2 + + Tz1w+caBEpltndmOob6oHx2noM6mODsJ8CyYC4022mM= + + + Headers/FBSDKURLScheme.h + + hash + + 36HfFNYLwWfRajDYFDJeNZe/evc= + + hash2 + + BdpEnJgCwk4m/BX4jdUcFWtch+dOASiPi4b4XuShRow= + + + Headers/FBSDKUserAgeRange.h + + hash + + eRyqSxEieMcqdjv0yKXNIDnmRIg= + + hash2 + + HlG9273bkbhwQ3Z40EFALmtcSl7mgJYAMF+i4LVTQuM= + + + Headers/FBSDKUtility.h + + hash + + ACK+e48w6WLwZDhZT9VIaXDWTlk= + + hash2 + + aDJa31ufENPB6jQuSRYbBb60HcsTocEvvcqZw2iWBN8= + + + Headers/FBSDKWebDialog.h + + hash + + s8cqZqq/NcQyFzujtEc+0qtxxx0= + + hash2 + + ATqlu9KYW/pAwdcdpb4GlQIz1Nk2STbt9iCKNwzSp1A= + + + Headers/FBSDKWebDialogDelegate.h + + hash + + Chc8NMEwHSvrQkghQPV6O7rBAW8= + + hash2 + + fAbiGz2QpyZhBW9PcnYlwGajlmRi8TQdfmFST1Ii2ko= + + + Headers/FBSDKWebDialogView.h + + hash + + hui2sUnpJKWcSpt107HTbPs4cps= + + hash2 + + m2WxAYCfc7WCR5dy6dNBQc1AHggtgjChVTABh5wi5aE= + + + Headers/FBSDKWebViewAppLinkResolver.h + + hash + + jEC9UH9Inm7DYqoFZv2qaN3Pe14= + + hash2 + + +Ac5AbGpEiHL5SuKIFm5ORqswif+O0w+zlIxL1qgUd4= + + + Headers/_FBSDKWindowFinding.h + + hash + + Gac9mAAYHny41SRhpW53CbfSo2s= + + hash2 + + QxPymhBROXgyvxD0bzeN+T5ennsD7zaelwvA1a2l3oE= + + + Headers/__FBSDKLoggerCreating.h + + hash + + y1VVRA/XNhhKMaoTUc/66smvRqI= + + hash2 + + /8e+8f0FIi7sNd85JGNd2gXdF5x4vJgOTUOgWIssxL4= + + + Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + hash + + xxy9Zg411X2b8tgLXwG0d+q8HJs= + + hash2 + + b0NWJFLpwCcLPhmEBR9nddAyxoKr5Vq22NDSG+aP57A= + + + Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + hash + + MCNnHOKeoDSKGaOUJPZHqNwX8as= + + hash2 + + JWObaYJU/PggGrQHwchfQ/aUNsi3kVHdXF/z1evyj6c= + + + Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + hash + + U1YB4ZwVD/iT+2nKP/SXuY7HVC8= + + hash2 + + jGJD/eUr90vJ1uBZ0VvJMhIgZdu9/lxCCgGJJEVIS5o= + + + Modules/FBSDKCoreKit.swiftmodule/arm64.swiftdoc + + hash + + xxy9Zg411X2b8tgLXwG0d+q8HJs= + + hash2 + + b0NWJFLpwCcLPhmEBR9nddAyxoKr5Vq22NDSG+aP57A= + + + Modules/FBSDKCoreKit.swiftmodule/arm64.swiftinterface + + hash + + MCNnHOKeoDSKGaOUJPZHqNwX8as= + + hash2 + + JWObaYJU/PggGrQHwchfQ/aUNsi3kVHdXF/z1evyj6c= + + + Modules/FBSDKCoreKit.swiftmodule/arm64.swiftmodule + + hash + + U1YB4ZwVD/iT+2nKP/SXuY7HVC8= + + hash2 + + jGJD/eUr90vJ1uBZ0VvJMhIgZdu9/lxCCgGJJEVIS5o= + + + Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + hash + + W8QJ2rBBxhqbEZ8A1qLxEMiXjcs= + + hash2 + + g6s3gcexpAOU+1PYWGMOXnb/NtXZdPMcPwYZT6UeIsY= + + + Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + hash + + qMKtG8LoKGyhsXiGztt/a/hSzPQ= + + hash2 + + M3CHw8Xc/bhdgN2dB5RQcx1QUd+toHCLILa+0VbDR+4= + + + Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule + + hash + + 4MbDY0gj4SbSSa2pcWxhp43Gufo= + + hash2 + + kLFfuPo05whSVSBPGRdgSbhE3dJK1YiLlPiHzEcwkfM= + + + Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftdoc + + hash + + W8QJ2rBBxhqbEZ8A1qLxEMiXjcs= + + hash2 + + g6s3gcexpAOU+1PYWGMOXnb/NtXZdPMcPwYZT6UeIsY= + + + Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftinterface + + hash + + qMKtG8LoKGyhsXiGztt/a/hSzPQ= + + hash2 + + M3CHw8Xc/bhdgN2dB5RQcx1QUd+toHCLILa+0VbDR+4= + + + Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftmodule + + hash + + 4MbDY0gj4SbSSa2pcWxhp43Gufo= + + hash2 + + kLFfuPo05whSVSBPGRdgSbhE3dJK1YiLlPiHzEcwkfM= + + + Modules/module.modulemap + + hash + + dqxVNYXT9nBvFc3sI+M8nUrDXuA= + + hash2 + + c2A9sHV9BPDFexemM1nM/fNWiYjoYt4V7Zxb+LDeu2Y= + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/src/ios/EmbeddedFrameworksSIM/FBAEMKit.framework/_CodeSignature/CodeSignature b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/_CodeSignature/CodeSignature similarity index 100% rename from src/ios/EmbeddedFrameworksSIM/FBAEMKit.framework/_CodeSignature/CodeSignature rename to plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit.framework/_CodeSignature/CodeSignature diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/FBSDKCoreKit_Basics b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/FBSDKCoreKit_Basics old mode 100755 new mode 100644 index 15f0a15..5184cfe Binary files a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/FBSDKCoreKit_Basics and b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/FBSDKCoreKit_Basics differ diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKBase64.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKBase64.h new file mode 100644 index 0000000..b8b3a02 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKBase64.h @@ -0,0 +1,46 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(Base64) +@interface FBSDKBase64 : NSObject + +/** + Decodes a base-64 encoded string. + @param string The base-64 encoded string. + @return NSData containing the decoded bytes. + */ ++ (nullable NSData *)decodeAsData:(nullable NSString *)string; + +/** + Decodes a base-64 encoded string into a string. + @param string The base-64 encoded string. + @return NSString with the decoded UTF-8 value. + */ ++ (nullable NSString *)decodeAsString:(nullable NSString *)string; + +/** + Encodes string into a base-64 representation. + @param string The string to be encoded. + @return The base-64 encoded string. + */ ++ (nullable NSString *)encodeString:(nullable NSString *)string; + +/** + Encodes URL string into a base-64 representation. + @param base64Url The URL string to be encoded. + @return The base-64 encoded string. + */ ++ (NSString *)base64FromBase64Url:(NSString *)base64Url; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKBasicUtility.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKBasicUtility.h new file mode 100644 index 0000000..4c5de41 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKBasicUtility.h @@ -0,0 +1,121 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Dispatches the specified block on the main thread. + @param block the block to dispatch + */ +extern void fb_dispatch_on_main_thread(dispatch_block_t block); + +/** + Dispatches the specified block on the default thread. + @param block the block to dispatch + */ +extern void fb_dispatch_on_default_thread(dispatch_block_t block); + +/** + Describes the callback for appLinkFromURLInBackground. + @param object the FBSDKAppLink representing the deferred App Link + @param stop the error during the request, if any + */ +typedef id _Nullable (^ FBSDKInvalidObjectHandler)(id object, BOOL *stop) +NS_SWIFT_NAME(InvalidObjectHandler); + +NS_SWIFT_NAME(BasicUtility) +@interface FBSDKBasicUtility : NSObject + +/** + Converts an object into a JSON string. + @param object The object to convert to JSON. + @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. + @param invalidObjectHandler Handles objects that are invalid, returning a replacement value or nil to ignore. + @return A JSON string or nil if the object cannot be converted to JSON. + */ ++ (nullable NSString *)JSONStringForObject:(id)object + error:(NSError *__autoreleasing *)errorRef + invalidObjectHandler:(nullable FBSDKInvalidObjectHandler)invalidObjectHandler; + +/** + Sets an object for a key in a dictionary if it is not nil. + @param dictionary The dictionary to set the value for. + @param object The value to set after serializing to JSON. + @param key The key to set the value for. + @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. + @return NO if an error occurred while serializing the object, otherwise YES. + */ ++ (BOOL) dictionary:(NSMutableDictionary *)dictionary + setJSONStringForObject:(id)object + forKey:(id)key + error:(NSError *__autoreleasing *)errorRef; + +/** + Converts a JSON string into an object + @param string The JSON string to convert. + @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. + @return An NSDictionary, NSArray, NSString or NSNumber containing the object representation, or nil if the string + cannot be converted. + */ ++ (nullable id)objectForJSONString:(NSString *)string error:(NSError *__autoreleasing *)errorRef; + +/** + 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. + @param invalidObjectHandler Handles objects that are invalid, returning a replacement value or nil to ignore. + @return Query string representation of the parameters. + */ ++ (nullable NSString *)queryStringWithDictionary:(NSDictionary *)dictionary + error:(NSError *__autoreleasing *)errorRef + invalidObjectHandler:(nullable FBSDKInvalidObjectHandler)invalidObjectHandler; + +/** + Converts simple value types to the string equivalent for serializing to a request query or body. + @param value The value to be converted. + @return The value that may have been converted if able (otherwise the input param). + */ ++ (id)convertRequestValue:(id)value; + +/** + Encodes a value for an URL. + @param value The value to encode. + @return The encoded value. + */ ++ (NSString *)URLEncode:(NSString *)value; + +/** + 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; + +/** + Decodes a value from an URL. + @param value The value to decode. + @return The decoded value. + */ ++ (NSString *)URLDecode:(NSString *)value; + +/** + Gzip data with default compression level if possible. + @param data The raw data. + @return nil if unable to gzip the data, otherwise gzipped data. + */ ++ (nullable NSData *)gzip:(NSData *)data; + ++ (NSString *)anonymousID; ++ (NSString *)persistenceFilePath:(NSString *)filename; ++ (nullable NSString *)SHA256Hash:(nullable NSObject *)input; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKCoreKit_Basics.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKCoreKit_Basics.h new file mode 100644 index 0000000..4bc09b7 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKCoreKit_Basics.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashHandler.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashHandler.h new file mode 100644 index 0000000..29f004a --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashHandler.h @@ -0,0 +1,34 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(CrashHandler) +@interface FBSDKCrashHandler : NSObject + +@property (class, nonatomic, readonly) FBSDKCrashHandler *shared; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + ++ (void)disable; ++ (void)addObserver:(id)observer; ++ (void)removeObserver:(id)observer; ++ (void)clearCrashReportFiles; ++ (NSString *)getFBSDKVersion; + +- (void)disable; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashHandlerProtocol.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashHandlerProtocol.h new file mode 100644 index 0000000..9335e7d --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashHandlerProtocol.h @@ -0,0 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +NS_ASSUME_NONNULL_BEGIN + +@protocol FBSDKCrashObserving; + +NS_SWIFT_NAME(CrashHandlerProtocol) +@protocol FBSDKCrashHandler + +- (void)addObserver:(id)observer; +- (void)clearCrashReportFiles; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashObserving.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashObserving.h new file mode 100644 index 0000000..230ac9e --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashObserving.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(CrashObserving) +@protocol FBSDKCrashObserving + +@property (nonatomic, copy) NSArray *prefixes; +@property (nullable, nonatomic, copy) NSArray *frameworks; + +- (void)didReceiveCrashLogs:(NSArray *> *)crashLogs; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKDataPersisting.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKDataPersisting.h new file mode 100644 index 0000000..45a949e --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKDataPersisting.h @@ -0,0 +1,29 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// An internal protocol used to describe a simple data store +NS_SWIFT_NAME(DataPersisting) +@protocol FBSDKDataPersisting + +- (void)setInteger:(NSInteger)value + forKey:(NSString *)defaultName; +- (void)setObject:(id)value + forKey:(NSString *)defaultName; +- (nullable NSData *)dataForKey:(NSString *)defaultName; +- (NSInteger)integerForKey:(NSString *)defaultName; +- (nullable NSString *)stringForKey:(NSString *)defaultName; +- (nullable id)objectForKey:(NSString *)defaultName; +- (void)removeObjectForKey:(NSString *)defaultName; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKFileDataExtracting.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKFileDataExtracting.h new file mode 100644 index 0000000..395e08b --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKFileDataExtracting.h @@ -0,0 +1,26 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// An internal protocol used to describe a type that can extract data from a file +NS_SWIFT_NAME(FileDataExtracting) +@protocol FBSDKFileDataExtracting + ++ (nullable NSData *)dataWithContentsOfFile:(NSString *)path + options:(NSDataReadingOptions)readOptionsMask + error:(NSError *_Nullable *)errorPtr; + +@end + +@interface NSData (FileDataExtracting) +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKFileManaging.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKFileManaging.h new file mode 100644 index 0000000..17bd385 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKFileManaging.h @@ -0,0 +1,41 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// An internal protocol used to describe a file manager +NS_SWIFT_NAME(FileManaging) +@protocol FBSDKFileManaging + +- (nullable NSURL *)URLForDirectory:(NSSearchPathDirectory)directory + inDomain:(NSSearchPathDomainMask)domain + appropriateForURL:(NSURL *)url + create:(BOOL)shouldCreate + error:(NSError *_Nullable *)error; + +- (BOOL)createDirectoryAtPath:(NSString *)path + withIntermediateDirectories:(BOOL)createIntermediates + attributes:(NSDictionary *_Nullable)attributes + error:(NSError *_Nullable *)error; + +- (BOOL)fileExistsAtPath:(NSString *)path; + +- (BOOL)removeItemAtPath:(NSString *)path + error:(NSError *_Nullable *)error; + +- (NSArray *)contentsOfDirectoryAtPath:(NSString *)path + error:(NSError *_Nullable *)error; + +@end + +@interface NSFileManager (FBSDKFileManaging) +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKInfoDictionaryProviding.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKInfoDictionaryProviding.h new file mode 100644 index 0000000..f524405 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKInfoDictionaryProviding.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(InfoDictionaryProviding) +@protocol FBSDKInfoDictionaryProviding + +@property (nullable, readonly, copy) NSDictionary *infoDictionary; +@property (nullable, readonly, copy) NSString *bundleIdentifier; + +- (nullable id)objectForInfoDictionaryKey:(NSString *)key; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKLibAnalyzer.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKLibAnalyzer.h new file mode 100644 index 0000000..eb1192b --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKLibAnalyzer.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(LibAnalyzer) +@interface FBSDKLibAnalyzer : NSObject + ++ (NSDictionary *)getMethodsTable:(NSArray *)prefixes + frameworks:(NSArray *_Nullable)frameworks; ++ (nullable NSArray *)symbolicateCallstack:(NSArray *)callstack + methodMapping:(NSDictionary *)methodMapping; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKSessionProviding.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKSessionProviding.h new file mode 100644 index 0000000..494839e --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKSessionProviding.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// An internal protocol used to describe a session data task +NS_SWIFT_NAME(SessionDataTask) +@protocol FBSDKSessionDataTask + +@property (readonly) NSURLSessionTaskState state; + +- (void)resume; +- (void)cancel; + +@end + +/// An internal protocol used to describe a url session +NS_SWIFT_NAME(SessionProviding) +@protocol FBSDKSessionProviding + +- (id)dataTaskWithRequest:(NSURLRequest *)request + completionHandler:(void (^)(NSData *_Nullable data, NSURLResponse *_Nullable response, NSError *_Nullable error))completionHandler; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKTypeUtility.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKTypeUtility.h new file mode 100644 index 0000000..c0b4b61 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKTypeUtility.h @@ -0,0 +1,113 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(TypeUtility) +@interface FBSDKTypeUtility : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/// Returns an NSArray if the provided object is an NSArray, otherwise returns nil. ++ (nullable NSArray *)arrayValue:(nullable id)object; + +/** + Return an object at a given index if the index is valid, otherwise return nil + @param array The array to retrieve the object from. + @param index The index to retrieve the object from. + */ ++ (nullable id)array:(NSArray *)array objectAtIndex:(NSUInteger)index; + +/** + Adds an object to an array if it is not nil. + @param array The array to add the object to. + @param object The object to add to the array. + */ ++ (void)array:(NSMutableArray *)array addObject:(nullable id)object; + +/// Returns a BOOL if the provided object is a BOOL, otherwise returns nil. ++ (BOOL)boolValue:(id)object; + +/// Returns an NSDictionary if the provided object is an NSDictionary, otherwise returns nil. ++ (nullable NSDictionary *)dictionaryValue:(nullable id)object; + +/// Returns an object for a given key in the provided dictionary if it matches the stated type ++ (nullable id)dictionary:(NSDictionary *)dictionary objectForKey:(NSString *)key ofType:(Class)type; + +/** + Sets an object for a key in a dictionary if it is not nil. + @param dictionary The dictionary to set the value for. + @param object The value to set. + @param key The key to set the value for. + */ ++ (void)dictionary:(NSMutableDictionary *)dictionary + setObject:(nullable id)object + forKey:(nullable id)key; + +/// Checks if an object is a valid dictionary type before enumerating its keys and objects ++ (void)dictionary:(NSDictionary *)dictionary enumerateKeysAndObjectsUsingBlock:(void(NS_NOESCAPE ^)(id key, id obj, BOOL *stop))block; + +/// Returns an NSInteger if the provided object is an NSInteger, otherwise returns nil. ++ (NSInteger)integerValue:(id)object; + +/// Returns a double if the provided object is a double, otherwise returns 0. ++ (double)doubleValue:(id)object; + +/// Returns an NSNumber if the provided object is an NSNumber, otherwise returns nil. ++ (NSNumber *)numberValue:(id)object; + +/// Returns an NSString if the provided object is an NSString, otherwise returns nil. ++ (NSString *)stringValueOrNil:(id)object; + +/// Returns the provided object if it is non-null ++ (nullable id)objectValue:(id)object; + +/// Returns an NSString if the provided object can be coered to an NSString, otherwise returns nil. ++ (nullable NSString *)coercedToStringValue:(id)object; + +/// Returns an NSTimeInterval if the provided object is an NSTimeInterval, otherwise returns nil. ++ (NSTimeInterval)timeIntervalValue:(id)object; + +/// Returns an NSUInteger if the provided object is an NSUInteger, otherwise returns nil. ++ (NSUInteger)unsignedIntegerValue:(id)object; + +/// Returns an NSURL if the provided object is an NSURL; will attempt to create an NSURL if the object is an NSString; returns nil otherwise. ++ (nullable NSURL *)coercedToURLValue:(id)object; + +/* + Lightweight safety wrapper around Foundation's NSJSONSerialization:dataWithJSONObject:options:error: + + Generate JSON data from a Foundation object. + If the object will not produce valid JSON then null is returned. + Setting the NSJSONWritingPrettyPrinted option will generate JSON with whitespace designed to make the output more readable. + If that option is not set, the most compact possible JSON will be generated. + If an error occurs, the error parameter will be set and the return value will be nil. + The resulting data is a encoded in UTF-8. + */ ++ (nullable NSData *)dataWithJSONObject:(id)obj options:(NSJSONWritingOptions)opt error:(NSError **)error; + +/* + Lightweight safety wrapper around Foundation's NSJSONSerialization:JSONObjectWithData:options:error: + + Create a Foundation object from JSON data. + Set the NSJSONReadingAllowFragments option if the parser should allow top-level objects that are not an NSArray or NSDictionary. + Setting the NSJSONReadingMutableContainers option will make the parser generate mutable NSArrays and NSDictionaries. + Setting the NSJSONReadingMutableLeaves option will make the parser generate mutable NSString objects. + If an error occurs during the parse, then the error parameter will be set and the result will be nil. + The data must be in one of the 5 supported encodings listed in the JSON specification: UTF-8, UTF-16LE, UTF-16BE, UTF-32LE, UTF-32BE. + The data may or may not have a BOM. + The most efficient encoding to use for parsing is UTF-8, so if you have a choice in encoding the data passed to this method, use UTF-8. + */ ++ (nullable id)JSONObjectWithData:(NSData *)data options:(NSJSONReadingOptions)opt error:(NSError **)error; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKURLSession.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKURLSession.h new file mode 100644 index 0000000..15d8cb6 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKURLSession.h @@ -0,0 +1,38 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +@interface FBSDKURLSession : NSObject + +@property (nullable, atomic, strong) NSURLSession *session; +@property (nullable, nonatomic, weak) id delegate; +@property (nullable, nonatomic, retain) NSOperationQueue *delegateQueue; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +- (instancetype)initWithDelegate:(id)delegate + delegateQueue:(NSOperationQueue *)delegateQueue; + +- (void)executeURLRequest:(NSURLRequest *)request + completionHandler:(FBSDKURLSessionTaskBlock)handler; + +- (void)updateSessionWithBlock:(dispatch_block_t)block; + +- (void)invalidateAndCancel; + +- (BOOL)valid; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKURLSessionTask.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKURLSessionTask.h new file mode 100644 index 0000000..128efb8 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/FBSDKURLSessionTask.h @@ -0,0 +1,42 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +typedef void (^ FBSDKURLSessionTaskBlock)(NSData *_Nullable responseData, + NSURLResponse *_Nullable response, + NSError *_Nullable error) +NS_SWIFT_NAME(UrlSessionTaskBlock); + +NS_SWIFT_NAME(UrlSessionTask) +@interface FBSDKURLSessionTask : NSObject + +@property (nonatomic, strong) id task; +@property (atomic, readonly) NSURLSessionTaskState state; +@property (nonatomic, readonly, strong) NSDate *requestStartDate; +@property (nullable, nonatomic, copy) FBSDKURLSessionTaskBlock handler; +@property (nonatomic, assign) uint64_t requestStartTime; +@property (nonatomic, assign) NSUInteger loggerSerialNumber; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +- (nullable instancetype)initWithRequest:(NSURLRequest *)request + fromSession:(id)session + completionHandler:(nullable FBSDKURLSessionTaskBlock)handler; + +- (void)start; +- (void)cancel; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/NSBundle+InfoDictionaryProviding.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/NSBundle+InfoDictionaryProviding.h new file mode 100644 index 0000000..a75e146 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/NSBundle+InfoDictionaryProviding.h @@ -0,0 +1,19 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Default conformance to the info dictionary providing protocol +@interface NSBundle (InfoDictionaryProviding) +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/NSUserDefaults+FBSDKDataPersisting.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/NSUserDefaults+FBSDKDataPersisting.h new file mode 100644 index 0000000..4de9320 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Headers/NSUserDefaults+FBSDKDataPersisting.h @@ -0,0 +1,19 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Default conformance to the data persisting protocol +@interface NSUserDefaults (DataPersisting) +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Info.plist b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Info.plist index 2f1f9ac..0b85a20 100644 Binary files a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Info.plist and b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Info.plist differ diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Modules/module.modulemap b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Modules/module.modulemap new file mode 100644 index 0000000..b30d9eb --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/Modules/module.modulemap @@ -0,0 +1,6 @@ +framework module FBSDKCoreKit_Basics { + umbrella header "FBSDKCoreKit_Basics.h" + + export * + module * { export * } +} diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/_CodeSignature/CodeDirectory b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/_CodeSignature/CodeDirectory new file mode 100644 index 0000000..a6975ac Binary files /dev/null and b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/_CodeSignature/CodeDirectory differ diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/_CodeSignature/CodeRequirements b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/_CodeSignature/CodeRequirements similarity index 100% rename from src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/_CodeSignature/CodeRequirements rename to plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/_CodeSignature/CodeRequirements diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/_CodeSignature/CodeRequirements-1 b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/_CodeSignature/CodeRequirements-1 new file mode 100644 index 0000000..88fd45a Binary files /dev/null and b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/_CodeSignature/CodeRequirements-1 differ diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/_CodeSignature/CodeResources b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/_CodeSignature/CodeResources new file mode 100644 index 0000000..64fbc97 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/_CodeSignature/CodeResources @@ -0,0 +1,372 @@ + + + + + files + + Headers/FBSDKBase64.h + + 4WPA7ov2bAhRn5QP5eZDBYX+spk= + + Headers/FBSDKBasicUtility.h + + 3Ij+0qMFvTmtUIuRbymzor6FDzg= + + Headers/FBSDKCoreKit_Basics.h + + sdYFifkG6LjAL2gVGzVD4yiGokI= + + Headers/FBSDKCrashHandler.h + + 9qyZhKdBiv/2JqsnbqJjzs6JDp4= + + Headers/FBSDKCrashHandlerProtocol.h + + PlP4CtaRgnMKzXyn0Cd6eWV10r8= + + Headers/FBSDKCrashObserving.h + + UhJc2ZYtB2hcyXxk00KbwKbTgcc= + + Headers/FBSDKDataPersisting.h + + g8WRKHOVC7O4vDzcESc4nl6IrS8= + + Headers/FBSDKFileDataExtracting.h + + LaiRhfHoweHIv08y19Rl1bKPTwU= + + Headers/FBSDKFileManaging.h + + zEID6Ct6C8vfKzOG+NiXbiQRLBw= + + Headers/FBSDKInfoDictionaryProviding.h + + 96kTJJn3CsFC9EpCzQGrMMnxoDw= + + Headers/FBSDKLibAnalyzer.h + + Sr7GpMqIG4HmNNhoU6xSJrR36F8= + + Headers/FBSDKSessionProviding.h + + bPzFkDKe6de6K5IwqpGectQjKmQ= + + Headers/FBSDKTypeUtility.h + + qgaA6wWpYIa+hM+VZSTB1P0w8Jk= + + Headers/FBSDKURLSession.h + + lNyxKy0KC2f37l17PcuP0Gv/EDA= + + Headers/FBSDKURLSessionTask.h + + kV58WzW39iZxupFSArvSXn3K8W8= + + Headers/NSBundle+InfoDictionaryProviding.h + + LQYuP7h8HIOQcOgzp9G/wjytXFE= + + Headers/NSUserDefaults+FBSDKDataPersisting.h + + bnAslOCiggux3zXflp6F2JcibGg= + + Info.plist + + i4PjTm4kgYk0gqYXuKo7mXqNqrU= + + Modules/module.modulemap + + dAKyD+E6uMaCMsZEO7c47okujEM= + + + files2 + + Headers/FBSDKBase64.h + + hash + + 4WPA7ov2bAhRn5QP5eZDBYX+spk= + + hash2 + + ePF4YsPJC4jFg1uvNt6fb83WN1IDTijvBhGt+V0Rh/8= + + + Headers/FBSDKBasicUtility.h + + hash + + 3Ij+0qMFvTmtUIuRbymzor6FDzg= + + hash2 + + 4HOJGD9dL2BJIlaj/ej0J6MTNqBvYgF0/XrWiZtsT3E= + + + Headers/FBSDKCoreKit_Basics.h + + hash + + sdYFifkG6LjAL2gVGzVD4yiGokI= + + hash2 + + m2OfhFb3YJB9xZdoeWb3jGwtlzC+fFRL3OvxsSyJFiM= + + + Headers/FBSDKCrashHandler.h + + hash + + 9qyZhKdBiv/2JqsnbqJjzs6JDp4= + + hash2 + + IVTN0V/IdMwICexRs9MiG/lIQQLOiqU/aXDP+5QfgDY= + + + Headers/FBSDKCrashHandlerProtocol.h + + hash + + PlP4CtaRgnMKzXyn0Cd6eWV10r8= + + hash2 + + woEHrSFdQvUOUdlyH0JGdVNem49byRaZAMw+19Pe+Sc= + + + Headers/FBSDKCrashObserving.h + + hash + + UhJc2ZYtB2hcyXxk00KbwKbTgcc= + + hash2 + + tO6F4Bbijxuct9m9xB8pcqmAlnyPPJ0EqbN+Z8/EM1w= + + + Headers/FBSDKDataPersisting.h + + hash + + g8WRKHOVC7O4vDzcESc4nl6IrS8= + + hash2 + + U4CbBRkZKqUmvVM6czJbCCMQnHOikLVo+sln0V5PwpU= + + + Headers/FBSDKFileDataExtracting.h + + hash + + LaiRhfHoweHIv08y19Rl1bKPTwU= + + hash2 + + No8SNuna5s6hBe6z7rrhuaOccAq19c7TgMxr/tTH/BM= + + + Headers/FBSDKFileManaging.h + + hash + + zEID6Ct6C8vfKzOG+NiXbiQRLBw= + + hash2 + + VciJQtgUlelDAY1xRcTmKgt6cQknm/5hZEuuAr/BX4Y= + + + Headers/FBSDKInfoDictionaryProviding.h + + hash + + 96kTJJn3CsFC9EpCzQGrMMnxoDw= + + hash2 + + r1HYofHvcKSm6OwMFb0NMlU3HWk3NQRE6wffAJf1wzY= + + + Headers/FBSDKLibAnalyzer.h + + hash + + Sr7GpMqIG4HmNNhoU6xSJrR36F8= + + hash2 + + vcTMWhsIb/z29oxTpsnEfTWCnlgLS7qlPQuTTREW6Ek= + + + Headers/FBSDKSessionProviding.h + + hash + + bPzFkDKe6de6K5IwqpGectQjKmQ= + + hash2 + + 1EO8Q16A83EsCIlaeWEa1ly8UaLgWSEMtrwrO9dDWY4= + + + Headers/FBSDKTypeUtility.h + + hash + + qgaA6wWpYIa+hM+VZSTB1P0w8Jk= + + hash2 + + Xm2cMC3iy1kvQn8EXXkZ0eKLNRVCmSlSbefuvvTCTTs= + + + Headers/FBSDKURLSession.h + + hash + + lNyxKy0KC2f37l17PcuP0Gv/EDA= + + hash2 + + 5L3MvrHaYDNtK2zrxdEtZNCRnhTQHNM0bvoh0pAfKg0= + + + Headers/FBSDKURLSessionTask.h + + hash + + kV58WzW39iZxupFSArvSXn3K8W8= + + hash2 + + p05rvhLSmlFGAIUL94Ow7U6/25AfiIq3zBQkI19aMw4= + + + Headers/NSBundle+InfoDictionaryProviding.h + + hash + + LQYuP7h8HIOQcOgzp9G/wjytXFE= + + hash2 + + prKkDnp04YVMOPQH+h/YUPwUEFJuHKQbMxiL1PkGRYM= + + + Headers/NSUserDefaults+FBSDKDataPersisting.h + + hash + + bnAslOCiggux3zXflp6F2JcibGg= + + hash2 + + F0axQ9q1u74YAyMfIa9uyxde6rbjKmxC4wxD6M00k0Y= + + + Modules/module.modulemap + + hash + + dAKyD+E6uMaCMsZEO7c47okujEM= + + hash2 + + Ax5EJgz2ae9iwvEaJiJhRzHL4ePWe4qZhIaEdKJk27I= + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/_CodeSignature/CodeSignature b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/_CodeSignature/CodeSignature similarity index 100% rename from src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/_CodeSignature/CodeSignature rename to plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKCoreKit_Basics.framework/_CodeSignature/CodeSignature diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/FBSDKLoginKit b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/FBSDKLoginKit old mode 100755 new mode 100644 index 6a6faa1..947241a Binary files a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/FBSDKLoginKit and b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/FBSDKLoginKit differ diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKCodeVerifier.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKCodeVerifier.h new file mode 100644 index 0000000..67250d6 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKCodeVerifier.h @@ -0,0 +1,45 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + Represents a code verifier used in the PKCE (Proof Key for Code Exchange) + process. This is a cryptographically random string using the characters + A-Z, a-z, 0-9, and the punctuation characters -._~ (hyphen, period, + underscore, and tilde), between 43 and 128 characters long. + */ +NS_SWIFT_NAME(CodeVerifier) +@interface FBSDKCodeVerifier : NSObject + +/// The string value of the code verifier +@property (nonatomic, readonly, copy) NSString *value; + +/// The SHA256 hashed challenge of the code verifier +@property (nonatomic, readonly, copy) NSString *challenge; + +/** + Attempts to initialize a new code verifier instance with the given string. + Creation will fail and return nil if the string is invalid. + + @param string the code verifier string + */ +- (nullable instancetype)initWithString:(NSString *)string + NS_DESIGNATED_INITIALIZER; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKDefaultAudience.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKDefaultAudience.h new file mode 100644 index 0000000..e7c41d7 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKDefaultAudience.h @@ -0,0 +1,34 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +NS_ASSUME_NONNULL_BEGIN + +/** + FBSDKDefaultAudience enum + + Passed to openURL to indicate which default audience to use for sessions that post data to Facebook. + + 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, +} NS_SWIFT_NAME(DefaultAudience); + +NS_ASSUME_NONNULL_END + +#endif diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginCodeInfo.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginCodeInfo.h new file mode 100644 index 0000000..fc08ff2 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginCodeInfo.h @@ -0,0 +1,41 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Describes the initial response when starting the device login flow. + This is used by `FBSDKDeviceLoginManager`. + */ +NS_SWIFT_NAME(DeviceLoginCodeInfo) +@interface FBSDKDeviceLoginCodeInfo : NSObject + +// There is no public initializer. +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/// The unique id for this login flow. +@property (nonatomic, readonly, copy) NSString *identifier; + +/// The short "user_code" that should be presented to the user. +@property (nonatomic, readonly, copy) NSString *loginCode; + +/// The verification URL. +@property (nonatomic, readonly, copy) NSURL *verificationURL; + +/// The expiration date. +@property (nonatomic, readonly, copy) NSDate *expirationDate; + +/// The polling interval +@property (nonatomic, readonly, assign) NSUInteger pollingInterval; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManager.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManager.h new file mode 100644 index 0000000..89def80 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManager.h @@ -0,0 +1,63 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol FBSDKDeviceLoginManagerDelegate; + +/** + Use this class to perform a device login flow. + The device login flow starts by requesting a code from the device login API. + This class informs the delegate when this code is received. You should then present the + code to the user to enter. In the meantime, this class polls the device login API + periodically and informs the delegate of the results. + + See [Facebook Device Login](https://developers.facebook.com/docs/facebook-login/for-devices). + */ +NS_SWIFT_NAME(DeviceLoginManager) +@interface FBSDKDeviceLoginManager : NSObject + +/** + Initializes a new instance. + @param permissions permissions to request. + */ +- (instancetype)initWithPermissions:(NSArray *)permissions + enableSmartLogin:(BOOL)enableSmartLogin; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/// The delegate. +@property (nonatomic, weak) id delegate; + +/// The requested permissions. +@property (nonatomic, readonly, copy) NSArray *permissions; + +/** + The optional URL to redirect the user to after they complete the login. + The URL must be configured in your App Settings -> Advanced -> OAuth Redirect URIs + */ +@property (nullable, nonatomic, copy) NSURL *redirectURL; + +/** + Starts the device login flow + This instance will retain self until the flow is finished or cancelled. + */ +- (void)start; + +/// Attempts to cancel the device login flow. +- (void)cancel; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerDelegate.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerDelegate.h new file mode 100644 index 0000000..cdcf804 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerDelegate.h @@ -0,0 +1,43 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +@class FBSDKDeviceLoginCodeInfo; +@class FBSDKDeviceLoginManager; +@class FBSDKDeviceLoginManagerResult; + +NS_ASSUME_NONNULL_BEGIN + +/// A delegate for `FBSDKDeviceLoginManager`. +NS_SWIFT_NAME(DeviceLoginManagerDelegate) +@protocol FBSDKDeviceLoginManagerDelegate + +/** + Indicates the device login flow has started. You should parse `codeInfo` to present the code to the user to enter. + @param loginManager the login manager instance. + @param codeInfo the code info data. + */ + +- (void)deviceLoginManager:(FBSDKDeviceLoginManager *)loginManager + startedWithCodeInfo:(FBSDKDeviceLoginCodeInfo *)codeInfo; + +/** + Indicates the device login flow has finished. + @param loginManager the login manager instance. + @param result the results of the login flow. + @param error the error, if available. + The flow can be finished if the user completed the flow, cancelled, or if the code has expired. + */ +- (void)deviceLoginManager:(FBSDKDeviceLoginManager *)loginManager + completedWithResult:(nullable FBSDKDeviceLoginManagerResult *)result + error:(nullable NSError *)error; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerResult.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerResult.h new file mode 100644 index 0000000..93266b9 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerResult.h @@ -0,0 +1,37 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +@class FBSDKAccessToken; + +NS_ASSUME_NONNULL_BEGIN + +/** + Represents the results of the a device login flow. + This is used by `FBSDKDeviceLoginManager`. + */ +NS_SWIFT_NAME(DeviceLoginManagerResult) +@interface FBSDKDeviceLoginManagerResult : NSObject + +// There is no public initializer. +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/// The token. +@property (nullable, nonatomic, readonly, strong) FBSDKAccessToken *accessToken; + +/** + Indicates if the login was cancelled by the user, or if the device + login code has expired. + */ +@property (nonatomic, readonly, getter = isCancelled, assign) BOOL cancelled; + +@end + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginAuthType.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginAuthType.h new file mode 100644 index 0000000..360c320 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginAuthType.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + +/// typedef for FBSDKLoginAuthType +/// See: https://developers.facebook.com/docs/reference/javascript/FB.login/v10.0#options +typedef NSString *const FBSDKLoginAuthType NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(LoginAuthType); + +/// Rerequest +FOUNDATION_EXPORT FBSDKLoginAuthType FBSDKLoginAuthTypeRerequest; + +/// Reauthorize +FOUNDATION_EXPORT FBSDKLoginAuthType FBSDKLoginAuthTypeReauthorize; + +#endif diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h new file mode 100644 index 0000000..aa55443 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h @@ -0,0 +1,86 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + The error domain for all errors from FBSDKLoginKit + + Error codes from the SDK in the range 300-399 are reserved for this domain. + */ +FOUNDATION_EXPORT NSErrorDomain const FBSDKLoginErrorDomain +NS_SWIFT_NAME(LoginErrorDomain); + +#ifndef NS_ERROR_ENUM + #define NS_ERROR_ENUM(_domain, _name) \ + enum _name : NSInteger _name; \ + enum __attribute__((ns_error_domain(_domain))) _name: NSInteger +#endif + +/** + FBSDKLoginError + Error codes for FBSDKLoginErrorDomain. + */ +typedef NS_ERROR_ENUM (FBSDKLoginErrorDomain, FBSDKLoginError) +{ + /// Reserved. + FBSDKLoginErrorReserved = 300, + + /// The error code for unknown errors. + FBSDKLoginErrorUnknown, + + /// The user's password has changed and must log in again + FBSDKLoginErrorPasswordChanged, + + /// The user must log in to their account on www.facebook.com to restore access + FBSDKLoginErrorUserCheckpointed, + + /// Indicates a failure to request new permissions because the user has changed. + FBSDKLoginErrorUserMismatch, + + /// The user must confirm their account with Facebook before logging in + FBSDKLoginErrorUnconfirmedUser, + + /** + The Accounts framework failed without returning an error, indicating the + app's slider in the iOS Facebook Settings (device Settings -> Facebook -> App Name) has + been disabled. + */ + FBSDKLoginErrorSystemAccountAppDisabled, + + /// An error occurred related to Facebook system Account store + FBSDKLoginErrorSystemAccountUnavailable, + + /// The login response was missing a valid challenge string. + FBSDKLoginErrorBadChallengeString, + + /// The ID token returned in login response was invalid + FBSDKLoginErrorInvalidIDToken, + + /// A current access token was required and not provided + FBSDKLoginErrorMissingAccessToken, +} NS_SWIFT_NAME(LoginError); + +/** + FBSDKDeviceLoginError + Error codes for FBSDKDeviceLoginErrorDomain. + */ +typedef NS_ERROR_ENUM (FBSDKLoginErrorDomain, FBSDKDeviceLoginError) { + /// Your device is polling too frequently. + FBSDKDeviceLoginErrorExcessivePolling = 1349172, + /// User has declined to authorize your application. + FBSDKDeviceLoginErrorAuthorizationDeclined = 1349173, + /// User has not yet authorized your application. Continue polling. + FBSDKDeviceLoginErrorAuthorizationPending = 1349174, + /// The code you entered has expired. + FBSDKDeviceLoginErrorCodeExpired = 1349152 +} NS_SWIFT_NAME(DeviceLoginError); + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginKit-Swift.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginKit-Swift.h new file mode 100644 index 0000000..f2f67b0 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginKit-Swift.h @@ -0,0 +1,978 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +#ifndef FBSDKLOGINKIT_SWIFT_H +#define FBSDKLOGINKIT_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import CoreGraphics; +@import FBSDKCoreKit; +@import Foundation; +@import ObjectiveC; +#endif + +#import + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKLoginKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +@class NSNumber; + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_PROTOCOL_NAMED("_LoginEventLogging") +@protocol _FBSDKLoginEventLogging +@property (nonatomic, readonly) FBSDKAppEventsFlushBehavior flushBehavior; +- (void)logInternalEvent:(FBSDKAppEventName _Nonnull)eventName parameters:(NSDictionary * _Nullable)parameters isImplicitlyLogged:(BOOL)isImplicitlyLogged; +- (void)flush; +@end + + +@interface FBSDKAppEvents (SWIFT_EXTENSION(FBSDKLoginKit)) <_FBSDKLoginEventLogging> +@end + +@protocol FBSDKLoginButtonDelegate; +@class NSString; +enum FBSDKLoginButtonTooltipBehavior : NSUInteger; +enum FBSDKLoginTracking : NSUInteger; +@class FBSDKCodeVerifier; +@class NSCoder; + +/// A button that initiates a log in or log out flow upon tapping. +/// LoginButton works with AccessToken.current to determine what to display, +/// and automatically starts authentication when tapped (i.e., you do not need to manually subscribe action targets). +/// Like LoginManager, you should make sure your app delegate is connected to ApplicationDelegate +/// in order for the button’s delegate to receive messages. +/// LoginButton has a fixed height of 30 pixels, but you may change the width. +/// Initializing the button with nil frame will size the button to its minimum frame. +SWIFT_CLASS_NAMED("FBLoginButton") +@interface FBSDKLoginButton : FBSDKButton +/// The default audience to use, if publish permissions are requested at login time. +@property (nonatomic) FBSDKDefaultAudience defaultAudience; +/// Gets or sets the delegate. +@property (nonatomic, weak) IBOutlet id _Nullable delegate; +/// The permissions to request. +/// To provide the best experience, you should minimize the number of permissions you request, and only ask for them when needed. +/// For example, do not ask for “user_location” until you the information is actually used by the app. +/// Note this is converted to NSSet and is only +/// an NSArray for the convenience of literal syntax. +/// See the permissions guide for more details. +@property (nonatomic, copy) NSArray * _Nonnull permissions; +/// Gets or sets the desired tooltip behavior. +@property (nonatomic) enum FBSDKLoginButtonTooltipBehavior tooltipBehavior; +/// Gets or sets the desired tooltip color style. +@property (nonatomic) FBSDKTooltipColorStyle tooltipColorStyle; +/// Gets or sets the desired tracking preference to use for login attempts. Defaults to .enabled +@property (nonatomic) enum FBSDKLoginTracking loginTracking; +/// Gets or sets an optional nonce to use for login attempts. A valid nonce must be a non-empty string without whitespace. +/// An invalid nonce will not be set. Instead, default unique nonces will be used for login attempts. +@property (nonatomic, copy) NSString * _Nullable nonce; +/// Gets or sets an optional page id to use for login attempts. +@property (nonatomic, copy) NSString * _Nullable messengerPageId; +/// Gets or sets the auth_type to use in the login request. Defaults to rerequest. +@property (nonatomic) FBSDKLoginAuthType _Nullable authType; +/// The code verifier used in the PKCE process. +/// If not provided, a code verifier will be randomly generated. +@property (nonatomic, strong) FBSDKCodeVerifier * _Nonnull codeVerifier; +- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; +- (void)didMoveToWindow; +- (CGRect)imageRectForContentRect:(CGRect)contentRect SWIFT_WARN_UNUSED_RESULT; +- (CGRect)titleRectForContentRect:(CGRect)contentRect SWIFT_WARN_UNUSED_RESULT; +- (void)layoutSubviews; +- (CGSize)sizeThatFits:(CGSize)size SWIFT_WARN_UNUSED_RESULT; +@end + +/// Indicates the desired login tooltip behavior. +typedef SWIFT_ENUM_NAMED(NSUInteger, FBSDKLoginButtonTooltipBehavior, "TooltipBehavior", open) { +/// 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, +}; + + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +///
    +///
  • +/// Warning INTERNAL: DO NOT USE +///
  • +///
+SWIFT_CLASS_NAMED("FBPermission") +@interface FBSDKPermission : NSObject +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +@property (nonatomic, readonly) NSUInteger hash; +/// Attempts to initialize a new permission with the given string. +/// Creation will fail and return nil if the string is invalid. +/// \param string The raw permission string +/// +- (nullable instancetype)initWithString:(NSString * _Nonnull)string OBJC_DESIGNATED_INITIALIZER; +/// Returns a set of FBPermission from a set of raw permissions strings. +/// Will return nil if any of the input permissions is invalid. ++ (NSSet * _Nullable)permissionsFromRawPermissions:(NSSet * _Nonnull)rawPermissions SWIFT_WARN_UNUSED_RESULT; +/// Returns a set of string permissions from a set of FBPermission by +/// extracting the “value” property for each element. ++ (NSSet * _Nonnull)rawPermissionsFromPermissions:(NSSet * _Nonnull)permissions SWIFT_WARN_UNUSED_RESULT; +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +@class UIViewController; +@class UIView; + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_PROTOCOL_NAMED("_UserInterfaceElementProviding") +@protocol _FBSDKUserInterfaceElementProviding +- (UIViewController * _Nullable)topMostViewController SWIFT_WARN_UNUSED_RESULT; +- (UIViewController * _Nullable)viewControllerForView:(UIView * _Nonnull)view SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKInternalUtility (SWIFT_EXTENSION(FBSDKLoginKit)) <_FBSDKUserInterfaceElementProviding> +@end + +@class NSBundle; + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_PROTOCOL_NAMED("_UserInterfaceStringProviding") +@protocol _FBSDKUserInterfaceStringProviding +@property (nonatomic, readonly, strong) NSBundle * _Nonnull bundleForStrings; +@end + + +@interface FBSDKInternalUtility (SWIFT_EXTENSION(FBSDKLoginKit)) <_FBSDKUserInterfaceStringProviding> +@end + +@class FBSDKLoginManagerLoginResult; + +/// A delegate for FBSDKLoginButton +SWIFT_PROTOCOL_NAMED("LoginButtonDelegate") +@protocol FBSDKLoginButtonDelegate +/// Sent to the delegate when the button was used to login. +/// @param loginButton The button being used to log in +/// @param result The results of the login +/// @param error The error (if any) from the login +- (void)loginButton:(FBSDKLoginButton * _Nonnull)loginButton didCompleteWithResult:(FBSDKLoginManagerLoginResult * _Nullable)result error:(NSError * _Nullable)error; +/// Sent to the delegate when the button was used to logout. +/// @param loginButton The button being used to log out. +- (void)loginButtonDidLogOut:(FBSDKLoginButton * _Nonnull)loginButton; +@optional +/// Sent to the delegate when the button is about to login. +/// @param loginButton The button being used to log in +/// @return true if the login should be allowed to proceed, false otherwise +- (BOOL)loginButtonWillLogin:(FBSDKLoginButton * _Nonnull)loginButton SWIFT_WARN_UNUSED_RESULT; +@end + + +/// A configuration to use for modifying the behavior of a login attempt. +SWIFT_CLASS_NAMED("LoginConfiguration") +@interface FBSDKLoginConfiguration : NSObject +/// The nonce that the configuration was created with. +/// A unique nonce will be used if none is provided to the initializer. +@property (nonatomic, readonly, copy) NSString * _Nonnull nonce; +/// The tracking preference. Defaults to .enabled. +@property (nonatomic, readonly) enum FBSDKLoginTracking tracking; +/// The requested permissions for the login attempt. Defaults to an empty set. +@property (nonatomic, readonly, copy) NSSet * _Nonnull requestedPermissions; +/// The Messenger Page Id associated with this login request. +@property (nonatomic, readonly, copy) NSString * _Nullable messengerPageId; +/// The auth type associated with this login request. +@property (nonatomic, readonly) FBSDKLoginAuthType _Nullable authType; +/// The code verifier used in the PKCE process. +/// If not provided, a code verifier will be randomly generated. +@property (nonatomic, readonly, strong) FBSDKCodeVerifier * _Nonnull codeVerifier; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for a login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +/// @param nonce an optional nonce to use for the login attempt. A valid nonce must be a non-empty string without whitespace. +/// Creation of the configuration will fail if the nonce is invalid. +/// @param messengerPageId the associated page id to use for a login attempt. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking nonce:(NSString * _Nonnull)nonce messengerPageId:(NSString * _Nullable)messengerPageId; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for a login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +/// @param nonce an optional nonce to use for the login attempt. A valid nonce must be a non-empty string without whitespace. +/// Creation of the configuration will fail if the nonce is invalid. +/// @param messengerPageId the associated page id to use for a login attempt. +/// @param authType auth_type param to use for login. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking nonce:(NSString * _Nonnull)nonce messengerPageId:(NSString * _Nullable)messengerPageId authType:(FBSDKLoginAuthType _Nullable)authType; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for a login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +/// @param nonce an optional nonce to use for the login attempt. A valid nonce must be a non-empty string without whitespace. +/// Creation of the configuration will fail if the nonce is invalid. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking nonce:(NSString * _Nonnull)nonce; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for the login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +/// @param messengerPageId the associated page id to use for a login attempt. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking messengerPageId:(NSString * _Nullable)messengerPageId; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for the login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +/// @param messengerPageId the associated page id to use for a login attempt. +/// @param authType auth_type param to use for login. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking messengerPageId:(NSString * _Nullable)messengerPageId authType:(FBSDKLoginAuthType _Nullable)authType; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for a login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +/// @param nonce an optional nonce to use for the login attempt. A valid nonce must be a non-empty string without whitespace. +/// Creation of the configuration will fail if the nonce is invalid. +/// @param messengerPageId the associated page id to use for a login attempt. +/// @param authType auth_type param to use for login. +/// @param codeVerifier The code verifier used in the PKCE process. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking nonce:(NSString * _Nonnull)nonce messengerPageId:(NSString * _Nullable)messengerPageId authType:(FBSDKLoginAuthType _Nullable)authType codeVerifier:(FBSDKCodeVerifier * _Nonnull)codeVerifier OBJC_DESIGNATED_INITIALIZER; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for the login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param tracking the login tracking preference to use for a login attempt. +- (nullable instancetype)initWithTracking:(enum FBSDKLoginTracking)tracking; +/// Given a string, return the corresponding FBSDKLoginAuthType. Returns nil if the string cannot be mapped to a valid auth type +/// @param rawValue the raw auth type. ++ (FBSDKLoginAuthType _Nullable)authTypeForString:(NSString * _Nonnull)rawValue SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("This method is deprecated and will be removed in the next major release."); +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// enabled and limited see: https://developers.facebook.com/docs/facebook-login/ios/limited-login/ +typedef SWIFT_ENUM_NAMED(NSUInteger, FBSDKLoginTracking, "LoginTracking", open) { + FBSDKLoginTrackingEnabled = 0, + FBSDKLoginTrackingLimited = 1, +}; + + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_PROTOCOL_NAMED("_ServerConfigurationProviding") +@protocol _FBSDKServerConfigurationProviding +- (void)loadServerConfigurationWithCompletionBlock:(FBSDKLoginTooltipBlock _Nullable)completion; +@end + + +@interface FBSDKServerConfigurationProvider (SWIFT_EXTENSION(FBSDKLoginKit)) <_FBSDKServerConfigurationProviding> +@end + + +@class NSURL; + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_CLASS_NAMED("_LoginUtility") +@interface FBSDKLoginUtility : NSObject ++ (NSString * _Nonnull)stringForAudience:(FBSDKDefaultAudience)audience SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nullable)queryParamsFromLoginURL:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)userIDFromSignedRequest:(NSString * _Nullable)signedRequest SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +#ifndef FBSDKLOGINKIT_SWIFT_H +#define FBSDKLOGINKIT_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import CoreGraphics; +@import FBSDKCoreKit; +@import Foundation; +@import ObjectiveC; +#endif + +#import + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKLoginKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +@class NSNumber; + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_PROTOCOL_NAMED("_LoginEventLogging") +@protocol _FBSDKLoginEventLogging +@property (nonatomic, readonly) FBSDKAppEventsFlushBehavior flushBehavior; +- (void)logInternalEvent:(FBSDKAppEventName _Nonnull)eventName parameters:(NSDictionary * _Nullable)parameters isImplicitlyLogged:(BOOL)isImplicitlyLogged; +- (void)flush; +@end + + +@interface FBSDKAppEvents (SWIFT_EXTENSION(FBSDKLoginKit)) <_FBSDKLoginEventLogging> +@end + +@protocol FBSDKLoginButtonDelegate; +@class NSString; +enum FBSDKLoginButtonTooltipBehavior : NSUInteger; +enum FBSDKLoginTracking : NSUInteger; +@class FBSDKCodeVerifier; +@class NSCoder; + +/// A button that initiates a log in or log out flow upon tapping. +/// LoginButton works with AccessToken.current to determine what to display, +/// and automatically starts authentication when tapped (i.e., you do not need to manually subscribe action targets). +/// Like LoginManager, you should make sure your app delegate is connected to ApplicationDelegate +/// in order for the button’s delegate to receive messages. +/// LoginButton has a fixed height of 30 pixels, but you may change the width. +/// Initializing the button with nil frame will size the button to its minimum frame. +SWIFT_CLASS_NAMED("FBLoginButton") +@interface FBSDKLoginButton : FBSDKButton +/// The default audience to use, if publish permissions are requested at login time. +@property (nonatomic) FBSDKDefaultAudience defaultAudience; +/// Gets or sets the delegate. +@property (nonatomic, weak) IBOutlet id _Nullable delegate; +/// The permissions to request. +/// To provide the best experience, you should minimize the number of permissions you request, and only ask for them when needed. +/// For example, do not ask for “user_location” until you the information is actually used by the app. +/// Note this is converted to NSSet and is only +/// an NSArray for the convenience of literal syntax. +/// See the permissions guide for more details. +@property (nonatomic, copy) NSArray * _Nonnull permissions; +/// Gets or sets the desired tooltip behavior. +@property (nonatomic) enum FBSDKLoginButtonTooltipBehavior tooltipBehavior; +/// Gets or sets the desired tooltip color style. +@property (nonatomic) FBSDKTooltipColorStyle tooltipColorStyle; +/// Gets or sets the desired tracking preference to use for login attempts. Defaults to .enabled +@property (nonatomic) enum FBSDKLoginTracking loginTracking; +/// Gets or sets an optional nonce to use for login attempts. A valid nonce must be a non-empty string without whitespace. +/// An invalid nonce will not be set. Instead, default unique nonces will be used for login attempts. +@property (nonatomic, copy) NSString * _Nullable nonce; +/// Gets or sets an optional page id to use for login attempts. +@property (nonatomic, copy) NSString * _Nullable messengerPageId; +/// Gets or sets the auth_type to use in the login request. Defaults to rerequest. +@property (nonatomic) FBSDKLoginAuthType _Nullable authType; +/// The code verifier used in the PKCE process. +/// If not provided, a code verifier will be randomly generated. +@property (nonatomic, strong) FBSDKCodeVerifier * _Nonnull codeVerifier; +- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; +- (void)didMoveToWindow; +- (CGRect)imageRectForContentRect:(CGRect)contentRect SWIFT_WARN_UNUSED_RESULT; +- (CGRect)titleRectForContentRect:(CGRect)contentRect SWIFT_WARN_UNUSED_RESULT; +- (void)layoutSubviews; +- (CGSize)sizeThatFits:(CGSize)size SWIFT_WARN_UNUSED_RESULT; +@end + +/// Indicates the desired login tooltip behavior. +typedef SWIFT_ENUM_NAMED(NSUInteger, FBSDKLoginButtonTooltipBehavior, "TooltipBehavior", open) { +/// 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, +}; + + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +///
    +///
  • +/// Warning INTERNAL: DO NOT USE +///
  • +///
+SWIFT_CLASS_NAMED("FBPermission") +@interface FBSDKPermission : NSObject +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +@property (nonatomic, readonly) NSUInteger hash; +/// Attempts to initialize a new permission with the given string. +/// Creation will fail and return nil if the string is invalid. +/// \param string The raw permission string +/// +- (nullable instancetype)initWithString:(NSString * _Nonnull)string OBJC_DESIGNATED_INITIALIZER; +/// Returns a set of FBPermission from a set of raw permissions strings. +/// Will return nil if any of the input permissions is invalid. ++ (NSSet * _Nullable)permissionsFromRawPermissions:(NSSet * _Nonnull)rawPermissions SWIFT_WARN_UNUSED_RESULT; +/// Returns a set of string permissions from a set of FBPermission by +/// extracting the “value” property for each element. ++ (NSSet * _Nonnull)rawPermissionsFromPermissions:(NSSet * _Nonnull)permissions SWIFT_WARN_UNUSED_RESULT; +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +@class UIViewController; +@class UIView; + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_PROTOCOL_NAMED("_UserInterfaceElementProviding") +@protocol _FBSDKUserInterfaceElementProviding +- (UIViewController * _Nullable)topMostViewController SWIFT_WARN_UNUSED_RESULT; +- (UIViewController * _Nullable)viewControllerForView:(UIView * _Nonnull)view SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKInternalUtility (SWIFT_EXTENSION(FBSDKLoginKit)) <_FBSDKUserInterfaceElementProviding> +@end + +@class NSBundle; + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_PROTOCOL_NAMED("_UserInterfaceStringProviding") +@protocol _FBSDKUserInterfaceStringProviding +@property (nonatomic, readonly, strong) NSBundle * _Nonnull bundleForStrings; +@end + + +@interface FBSDKInternalUtility (SWIFT_EXTENSION(FBSDKLoginKit)) <_FBSDKUserInterfaceStringProviding> +@end + +@class FBSDKLoginManagerLoginResult; + +/// A delegate for FBSDKLoginButton +SWIFT_PROTOCOL_NAMED("LoginButtonDelegate") +@protocol FBSDKLoginButtonDelegate +/// Sent to the delegate when the button was used to login. +/// @param loginButton The button being used to log in +/// @param result The results of the login +/// @param error The error (if any) from the login +- (void)loginButton:(FBSDKLoginButton * _Nonnull)loginButton didCompleteWithResult:(FBSDKLoginManagerLoginResult * _Nullable)result error:(NSError * _Nullable)error; +/// Sent to the delegate when the button was used to logout. +/// @param loginButton The button being used to log out. +- (void)loginButtonDidLogOut:(FBSDKLoginButton * _Nonnull)loginButton; +@optional +/// Sent to the delegate when the button is about to login. +/// @param loginButton The button being used to log in +/// @return true if the login should be allowed to proceed, false otherwise +- (BOOL)loginButtonWillLogin:(FBSDKLoginButton * _Nonnull)loginButton SWIFT_WARN_UNUSED_RESULT; +@end + + +/// A configuration to use for modifying the behavior of a login attempt. +SWIFT_CLASS_NAMED("LoginConfiguration") +@interface FBSDKLoginConfiguration : NSObject +/// The nonce that the configuration was created with. +/// A unique nonce will be used if none is provided to the initializer. +@property (nonatomic, readonly, copy) NSString * _Nonnull nonce; +/// The tracking preference. Defaults to .enabled. +@property (nonatomic, readonly) enum FBSDKLoginTracking tracking; +/// The requested permissions for the login attempt. Defaults to an empty set. +@property (nonatomic, readonly, copy) NSSet * _Nonnull requestedPermissions; +/// The Messenger Page Id associated with this login request. +@property (nonatomic, readonly, copy) NSString * _Nullable messengerPageId; +/// The auth type associated with this login request. +@property (nonatomic, readonly) FBSDKLoginAuthType _Nullable authType; +/// The code verifier used in the PKCE process. +/// If not provided, a code verifier will be randomly generated. +@property (nonatomic, readonly, strong) FBSDKCodeVerifier * _Nonnull codeVerifier; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for a login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +/// @param nonce an optional nonce to use for the login attempt. A valid nonce must be a non-empty string without whitespace. +/// Creation of the configuration will fail if the nonce is invalid. +/// @param messengerPageId the associated page id to use for a login attempt. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking nonce:(NSString * _Nonnull)nonce messengerPageId:(NSString * _Nullable)messengerPageId; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for a login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +/// @param nonce an optional nonce to use for the login attempt. A valid nonce must be a non-empty string without whitespace. +/// Creation of the configuration will fail if the nonce is invalid. +/// @param messengerPageId the associated page id to use for a login attempt. +/// @param authType auth_type param to use for login. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking nonce:(NSString * _Nonnull)nonce messengerPageId:(NSString * _Nullable)messengerPageId authType:(FBSDKLoginAuthType _Nullable)authType; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for a login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +/// @param nonce an optional nonce to use for the login attempt. A valid nonce must be a non-empty string without whitespace. +/// Creation of the configuration will fail if the nonce is invalid. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking nonce:(NSString * _Nonnull)nonce; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for the login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +/// @param messengerPageId the associated page id to use for a login attempt. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking messengerPageId:(NSString * _Nullable)messengerPageId; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for the login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +/// @param messengerPageId the associated page id to use for a login attempt. +/// @param authType auth_type param to use for login. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking messengerPageId:(NSString * _Nullable)messengerPageId authType:(FBSDKLoginAuthType _Nullable)authType; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for a login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +/// @param nonce an optional nonce to use for the login attempt. A valid nonce must be a non-empty string without whitespace. +/// Creation of the configuration will fail if the nonce is invalid. +/// @param messengerPageId the associated page id to use for a login attempt. +/// @param authType auth_type param to use for login. +/// @param codeVerifier The code verifier used in the PKCE process. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking nonce:(NSString * _Nonnull)nonce messengerPageId:(NSString * _Nullable)messengerPageId authType:(FBSDKLoginAuthType _Nullable)authType codeVerifier:(FBSDKCodeVerifier * _Nonnull)codeVerifier OBJC_DESIGNATED_INITIALIZER; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for the login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param tracking the login tracking preference to use for a login attempt. +- (nullable instancetype)initWithTracking:(enum FBSDKLoginTracking)tracking; +/// Given a string, return the corresponding FBSDKLoginAuthType. Returns nil if the string cannot be mapped to a valid auth type +/// @param rawValue the raw auth type. ++ (FBSDKLoginAuthType _Nullable)authTypeForString:(NSString * _Nonnull)rawValue SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("This method is deprecated and will be removed in the next major release."); +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// enabled and limited see: https://developers.facebook.com/docs/facebook-login/ios/limited-login/ +typedef SWIFT_ENUM_NAMED(NSUInteger, FBSDKLoginTracking, "LoginTracking", open) { + FBSDKLoginTrackingEnabled = 0, + FBSDKLoginTrackingLimited = 1, +}; + + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_PROTOCOL_NAMED("_ServerConfigurationProviding") +@protocol _FBSDKServerConfigurationProviding +- (void)loadServerConfigurationWithCompletionBlock:(FBSDKLoginTooltipBlock _Nullable)completion; +@end + + +@interface FBSDKServerConfigurationProvider (SWIFT_EXTENSION(FBSDKLoginKit)) <_FBSDKServerConfigurationProviding> +@end + + +@class NSURL; + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_CLASS_NAMED("_LoginUtility") +@interface FBSDKLoginUtility : NSObject ++ (NSString * _Nonnull)stringForAudience:(FBSDKDefaultAudience)audience SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nullable)queryParamsFromLoginURL:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)userIDFromSignedRequest:(NSString * _Nullable)signedRequest SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#endif diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h new file mode 100644 index 0000000..a451819 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h @@ -0,0 +1,25 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import + +#import diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h new file mode 100644 index 0000000..20e2969 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h @@ -0,0 +1,131 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +#if !TARGET_OS_TV + +@class FBSDKLoginConfiguration; + +/** + `FBSDKLoginManager` provides methods for logging the user in and out. + + `FBSDKLoginManager` serves to help manage sessions represented by tokens for authentication, + `AuthenticationToken`, and data access, `AccessToken`. + + You should check if the type of token you expect is present as a singleton instance, either `AccessToken.current` + or `AuthenticationToken.current` before calling any of the login methods to see if there is a cached token + available. A standard place to do this is in `viewDidLoad`. + + @warning If you are managing your own token instances outside of `AccessToken.current`, you will need to set + `AccessToken.current` before calling any of the login methods to authorize further permissions on your tokens. + */ +NS_SWIFT_NAME(LoginManager) +@interface FBSDKLoginManager : NSObject + +/** + the default audience. + + you should set this if you intend to ask for publish permissions. + */ +@property (nonatomic, assign) FBSDKDefaultAudience defaultAudience; + +/** + 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. + + 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 `FBSDKLoginManagerLoginResultBlock`'s + `result.declinedPermissions` to provide more information to the user if they decline permissions. + You typically should check if `AccessToken.current` already contains the permissions you need before + asking to reduce unnecessary login attempts. For example, you could perform that check in `viewDidLoad`. + + @warning You can only perform one login call at a time. Calling a login method before the completion handler is called + on a previous login attempt will result in an error. + @warning This method will present a UI to the user and thus should be called on the main thread. + */ + +// UNCRUSTIFY_FORMAT_OFF +- (void)logInWithPermissions:(NSArray *)permissions + fromViewController:(nullable UIViewController *)fromViewController + handler:(nullable FBSDKLoginManagerLoginResultBlock)handler +NS_SWIFT_NAME(logIn(permissions:from:handler:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Logs the user in or authorizes additional permissions. + + @param viewController the view controller from which to present the login UI. If nil, the topmost view + controller will be automatically determined and used. + @param configuration the login configuration to use. + @param completion the login completion handler. + + Use this method when asking for permissions. You should only ask for permissions when they + are needed and the value should be explained to the user. You can inspect the + `FBSDKLoginManagerLoginResultBlock`'s `result.declinedPermissions` to provide more information + to the user if they decline permissions. + To reduce unnecessary login attempts, you should typically check if `AccessToken.current` + already contains the permissions you need. If it does, you probably do not need to call this method. + + @warning You can only perform one login call at a time. Calling a login method before the completion handler is called + on a previous login attempt will result in an error. + @warning This method will present a UI to the user and thus should be called on the main thread. + */ +- (void)logInFromViewController:(nullable UIViewController *)viewController + configuration:(FBSDKLoginConfiguration *)configuration + completion:(FBSDKLoginManagerLoginResultBlock)completion + NS_REFINED_FOR_SWIFT; + +/** + Requests user's permission to reathorize application's data access, after it has expired due to inactivity. + @param fromViewController the view controller from which to present the login UI. If nil, the topmost view + controller will be automatically determined and used. + @param handler the callback. + +Use this method when you need to reathorize your app's access to user data via the Graph API. +You should only call this after access has expired. +You should provide as much context to the user as possible as to why you need to reauthorize the access, the +scope of access being reathorized, and what added value your app provides when the access is reathorized. +You can inspect the `result.declinedPermissions` to determine if you should provide more information to the +user based on any declined permissions. + + @warning This method will reauthorize using a `LoginConfiguration` with `FBSDKLoginTracking` set to `.enabled`. + @warning This method will present UI the user. You typically should call this if `AccessToken.isDataAccessExpired` is true. + */ + +// UNCRUSTIFY_FORMAT_OFF +- (void)reauthorizeDataAccess:(UIViewController *)fromViewController + handler:(FBSDKLoginManagerLoginResultBlock)handler +NS_SWIFT_NAME(reauthorizeDataAccess(from:handler:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Logs the user out + + This nils out the singleton instances of `AccessToken` `AuthenticationToken` and `Profle`. + + @note This is only a client side logout. It will not log the user out of their Facebook account. + */ +- (void)logOut; + +@end + +#endif + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h new file mode 100644 index 0000000..21df36e --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h @@ -0,0 +1,66 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +#if !TARGET_OS_TV + +@class FBSDKAccessToken; +@class FBSDKAuthenticationToken; + +/// Describes the result of a login attempt. +NS_SWIFT_NAME(LoginManagerLoginResult) +@interface FBSDKLoginManagerLoginResult : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/// the access token. +@property (nullable, nonatomic, copy) FBSDKAccessToken *token; + +/// the authentication token. +@property (nullable, nonatomic, copy) FBSDKAuthenticationToken *authenticationToken; + +/// whether the login was cancelled by the user. +@property (nonatomic, readonly) BOOL isCancelled; + +/** + the set of permissions granted by the user in the associated request. + + inspect the token's permissions set for a complete list. + */ +@property (nonatomic, copy) NSSet *grantedPermissions; + +/** + the set of permissions declined by the user in the associated request. + + inspect the token's permissions set for a complete list. + */ +@property (nonatomic, copy) NSSet *declinedPermissions; + +/** + Initializes a new instance. + @param token the access token + @param authenticationToken the authentication 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:(nullable FBSDKAccessToken *)token + authenticationToken:(nullable FBSDKAuthenticationToken *)authenticationToken + isCancelled:(BOOL)isCancelled + grantedPermissions:(NSSet *)grantedPermissions + declinedPermissions:(NSSet *)declinedPermissions + NS_DESIGNATED_INITIALIZER; +@end + +#endif + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResultBlock.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResultBlock.h new file mode 100644 index 0000000..4207825 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResultBlock.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +@class FBSDKLoginManagerLoginResult; + +/** + Describes the call back to the FBSDKLoginManager + @param result the result of the authorization + @param error the authorization error, if any. + */ +typedef void (^ FBSDKLoginManagerLoginResultBlock)(FBSDKLoginManagerLoginResult *_Nullable result, + NSError *_Nullable error) +NS_SWIFT_NAME(LoginManagerLoginResultBlock); + +#endif diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginProviding.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginProviding.h new file mode 100644 index 0000000..82a2e60 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginProviding.h @@ -0,0 +1,42 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + #import + +NS_ASSUME_NONNULL_BEGIN + +@class FBSDKLoginConfiguration; + +NS_SWIFT_NAME(_LoginProviding) +@protocol FBSDKLoginProviding + +@property (nonatomic, assign) FBSDKDefaultAudience defaultAudience; + +- (void)logInFromViewController:(nullable UIViewController *)viewController + configuration:(FBSDKLoginConfiguration *)configuration + completion:(FBSDKLoginManagerLoginResultBlock)completion NS_REFINED_FOR_SWIFT; + +// UNCRUSTIFY_FORMAT_OFF +- (void)logInWithPermissions:(NSArray *)permissions + fromViewController:(nullable UIViewController *)viewController + handler:(FBSDKLoginManagerLoginResultBlock)handler +NS_SWIFT_NAME(logIn(permissions:from:handler:)); +// UNCRUSTIFY_FORMAT_ON + +- (void)logOut; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h new file mode 100644 index 0000000..c703f57 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h @@ -0,0 +1,47 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + + #import + +NS_ASSUME_NONNULL_BEGIN + +@protocol FBSDKLoginTooltipViewDelegate; + +/** + Represents a tooltip to be displayed next to a Facebook login button + to highlight features for new users. + + 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. + */ +NS_SWIFT_NAME(FBLoginTooltipView) +@interface FBSDKLoginTooltipView : FBSDKTooltipView + +/// the delegate +@property (nonatomic, weak) id delegate; + +/** if set to YES, the view will always be displayed and the delegate's + `loginTooltipView:shouldAppear:` will NOT be called. */ +@property (nonatomic, getter = shouldForceDisplay, assign) BOOL forceDisplay; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipViewDelegate.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipViewDelegate.h new file mode 100644 index 0000000..9d60943 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipViewDelegate.h @@ -0,0 +1,57 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + +NS_ASSUME_NONNULL_BEGIN + +/** + @protocol + + The `FBSDKLoginTooltipViewDelegate` protocol defines the methods used to receive event + notifications from `FBSDKLoginTooltipView` objects. + */ +NS_SWIFT_NAME(LoginTooltipViewDelegate) +@protocol FBSDKLoginTooltipViewDelegate + +@optional + +/** + 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. + + Use this method to customize display behavior. + */ +- (BOOL)loginTooltipView:(FBSDKLoginTooltipView *)view shouldAppear:(BOOL)appIsEligible; + +/** + 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; + +/** + 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 + +NS_ASSUME_NONNULL_END + +#endif diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h new file mode 100644 index 0000000..ab8bab0 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h @@ -0,0 +1,129 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + FBSDKTooltipViewArrowDirection enum + + 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, +} NS_SWIFT_NAME(FBTooltipView.ArrowDirection); + +/** + FBSDKTooltipColorStyle enum + + 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, +} NS_SWIFT_NAME(FBTooltipView.ColorStyle); + +/** + Tooltip bubble with text in it used to display tips for UI elements, + with a pointed arrow (to refer to the UI element). + + The tooltip fades in and will automatically fade out. See `displayDuration`. + */ +NS_SWIFT_NAME(FBTooltipView) +@interface FBSDKTooltipView : UIView + +/** + Gets or sets the amount of time in seconds the tooltip should be displayed. + Set this to zero to make the display permanent until explicitly dismissed. + Defaults to six seconds. + */ +@property (nonatomic, assign) CFTimeInterval displayDuration; + +/** + Gets or sets the color style after initialization. + Defaults to value passed to -initWithTagline:message:colorStyle:. + */ +@property (nonatomic, assign) FBSDKTooltipColorStyle colorStyle; + +/// Gets or sets the message. +@property (nullable, nonatomic, copy) NSString *message; + +/// Gets or sets the optional phrase that comprises the first part of the label (and is highlighted differently). +@property (nullable, nonatomic, copy) NSString *tagline; + +/** + 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. + + If you need to show a tooltip for login, consider using the `FBSDKLoginTooltipView` view. + + See FBSDKLoginTooltipView + */ +- (instancetype)initWithTagline:(nullable NSString *)tagline + message:(nullable NSString *)message + colorStyle:(FBSDKTooltipColorStyle)colorStyle; + +/** + 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) + + 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; + +/** + 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). + */ + +// UNCRUSTIFY_FORMAT_OFF +- (void)presentInView:(UIView *)view + withArrowPosition:(CGPoint)arrowPosition + direction:(FBSDKTooltipViewArrowDirection)arrowDirection +NS_SWIFT_NAME(present(in:arrowPosition:direction:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Remove tooltip manually. + + Calling this method isn't necessary - tooltip will dismiss itself automatically after the `displayDuration`. + */ +- (void)dismiss; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Info.plist b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Info.plist index 6f51a76..9268e18 100644 Binary files a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Info.plist and b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Info.plist differ diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000..d26f3a1 Binary files /dev/null and b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000..18d2708 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -0,0 +1,139 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKLoginKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +@_exported import FBSDKLoginKit +import Foundation +import Swift +import UIKit +import _Concurrency +extension FBSDKCoreKit.AppEvents : FBSDKLoginKit._LoginEventLogging { +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKLoginButton) @_Concurrency.MainActor(unsafe) final public class FBLoginButton : FBSDKCoreKit.FBButton { + @objc @_Concurrency.MainActor(unsafe) final public var defaultAudience: FBSDKLoginKit.DefaultAudience { + @objc get + @objc set + } + @objc @IBOutlet @_Concurrency.MainActor(unsafe) weak final public var delegate: FBSDKLoginKit.LoginButtonDelegate? + @objc @_Concurrency.MainActor(unsafe) final public var permissions: [Swift.String] + @objc @_Concurrency.MainActor(unsafe) final public var tooltipBehavior: FBSDKLoginKit.FBLoginButton.TooltipBehavior + @objc @_Concurrency.MainActor(unsafe) final public var tooltipColorStyle: FBSDKLoginKit.FBTooltipView.ColorStyle + @objc @_Concurrency.MainActor(unsafe) final public var loginTracking: FBSDKLoginKit.LoginTracking + @objc @_Concurrency.MainActor(unsafe) final public var nonce: Swift.String? { + @objc get + @objc set + } + @objc @_Concurrency.MainActor(unsafe) final public var messengerPageId: Swift.String? + @objc @_Concurrency.MainActor(unsafe) final public var authType: FBSDKLoginKit.LoginAuthType? + @objc @_Concurrency.MainActor(unsafe) final public var codeVerifier: FBSDKLoginKit.CodeVerifier + @objc(FBSDKLoginButtonTooltipBehavior) public enum TooltipBehavior : Swift.UInt { + case automatic = 0 + case forceDisplay + case disable + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } + } + @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) + @_Concurrency.MainActor(unsafe) @objc override final public func didMoveToWindow() + @_Concurrency.MainActor(unsafe) @objc override final public func imageRect(forContentRect contentRect: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @_Concurrency.MainActor(unsafe) @objc override final public func titleRect(forContentRect contentRect: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @_Concurrency.MainActor(unsafe) @objc override final public func layoutSubviews() + @_Concurrency.MainActor(unsafe) @objc override final public func sizeThatFits(_ size: CoreGraphics.CGSize) -> CoreGraphics.CGSize + @objc deinit +} +@objcMembers @objc(FBSDKPermission) final public class FBPermission : ObjectiveC.NSObject { + @objc override final public var description: Swift.String { + @objc get + } + @objc override final public var hash: Swift.Int { + @objc get + } + @objc public init?(string: Swift.String) + @objc(permissionsFromRawPermissions:) public static func permissions(fromRawPermissions rawPermissions: Swift.Set) -> Swift.Set? + @objc(rawPermissionsFromPermissions:) public static func rawPermissions(from permissions: Swift.Set) -> Swift.Set + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc deinit +} +extension FBSDKCoreKit.InternalUtility : FBSDKLoginKit._UserInterfaceElementProviding { +} +extension FBSDKCoreKit.InternalUtility : FBSDKLoginKit._UserInterfaceStringProviding { +} +@objc(FBSDKLoginButtonDelegate) public protocol LoginButtonDelegate : ObjectiveC.NSObjectProtocol { + @objc(loginButton:didCompleteWithResult:error:) func loginButton(_ loginButton: FBSDKLoginKit.FBLoginButton, didCompleteWith result: FBSDKLoginKit.LoginManagerLoginResult?, error: Swift.Error?) + @objc func loginButtonDidLogOut(_ loginButton: FBSDKLoginKit.FBLoginButton) + @objc optional func loginButtonWillLogin(_ loginButton: FBSDKLoginKit.FBLoginButton) -> Swift.Bool +} +@objcMembers @objc(FBSDKLoginConfiguration) final public class LoginConfiguration : ObjectiveC.NSObject { + @objc final public let nonce: Swift.String + @objc final public let tracking: FBSDKLoginKit.LoginTracking + @objc final public let requestedPermissions: Swift.Set + @objc final public let messengerPageId: Swift.String? + @objc final public let authType: FBSDKLoginKit.LoginAuthType? + @objc final public let codeVerifier: FBSDKLoginKit.CodeVerifier + @objc(initWithPermissions:tracking:nonce:messengerPageId:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String, messengerPageId: Swift.String?) + @objc(initWithPermissions:tracking:nonce:messengerPageId:authType:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String, messengerPageId: Swift.String?, authType: FBSDKLoginKit.LoginAuthType?) + @objc(initWithPermissions:tracking:nonce:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String) + @objc(initWithPermissions:tracking:messengerPageId:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, messengerPageId: Swift.String?) + @objc(initWithPermissions:tracking:messengerPageId:authType:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, messengerPageId: Swift.String?, authType: FBSDKLoginKit.LoginAuthType?) + @objc(initWithPermissions:tracking:nonce:messengerPageId:authType:codeVerifier:) public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String, messengerPageId: Swift.String?, authType: FBSDKLoginKit.LoginAuthType?, codeVerifier: FBSDKLoginKit.CodeVerifier) + @objc(initWithPermissions:tracking:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking) + @objc(initWithTracking:) convenience public init?(tracking: FBSDKLoginKit.LoginTracking) + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release.") + @objc(authTypeForString:) public static func authType(for rawValue: Swift.String) -> FBSDKLoginKit.LoginAuthType? + convenience public init?(permissions: Swift.Set = [], tracking: FBSDKLoginKit.LoginTracking = .enabled, nonce: Swift.String = UUID().uuidString, messengerPageId: Swift.String? = nil, authType: FBSDKLoginKit.LoginAuthType? = .rerequest, codeVerifier: FBSDKLoginKit.CodeVerifier = CodeVerifier()) + @objc deinit +} +public typealias LoginResultBlock = (FBSDKLoginKit.LoginResult) -> Swift.Void +@frozen public enum LoginResult { + case success(granted: Swift.Set, declined: Swift.Set, token: FBSDKCoreKit.AccessToken?) + case cancelled + case failed(Swift.Error) +} +extension FBSDKLoginKit.LoginManager { + convenience public init(defaultAudience: FBSDKLoginKit.DefaultAudience = .friends) + public func logIn(permissions: [FBSDKCoreKit.Permission] = [.publicProfile], viewController: UIKit.UIViewController? = nil, completion: FBSDKLoginKit.LoginResultBlock? = nil) + public func logIn(viewController: UIKit.UIViewController? = nil, configuration: FBSDKLoginKit.LoginConfiguration, completion: @escaping FBSDKLoginKit.LoginResultBlock) +} +@objc(FBSDKLoginTracking) public enum LoginTracking : Swift.UInt { + case enabled + case limited + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } +} +extension FBSDKCoreKit.ServerConfigurationProvider : FBSDKLoginKit._ServerConfigurationProviding { +} +@objc(_FBSDKLoginEventLogging) public protocol _LoginEventLogging { + @objc var flushBehavior: FBSDKCoreKit.AppEvents.FlushBehavior { get } + @objc func logInternalEvent(_ eventName: FBSDKCoreKit.AppEvents.Name, parameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]?, isImplicitlyLogged: Swift.Bool) + @objc func flush() +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKLoginUtility) final public class _LoginUtility : ObjectiveC.NSObject { + @objc public static func string(forAudience audience: FBSDKLoginKit.DefaultAudience) -> Swift.String + @objc public static func queryParams(fromLoginURL url: Foundation.URL) -> [Swift.String : Any]? + @objc public static func userID(fromSignedRequest signedRequest: Swift.String?) -> Swift.String? + @objc override dynamic public init() + @objc deinit +} +@objc(_FBSDKServerConfigurationProviding) public protocol _ServerConfigurationProviding { + @objc(loadServerConfigurationWithCompletionBlock:) func loadServerConfiguration(completion: FBSDKCoreKit.LoginTooltipBlock?) +} +@objc(_FBSDKUserInterfaceElementProviding) public protocol _UserInterfaceElementProviding { + @objc func topMostViewController() -> UIKit.UIViewController? + @objc(viewControllerForView:) func viewController(for view: UIKit.UIView) -> UIKit.UIViewController? +} +@objc(_FBSDKUserInterfaceStringProviding) public protocol _UserInterfaceStringProviding { + @objc var bundleForStrings: Foundation.Bundle { get } +} +extension FBSDKLoginKit.FBLoginButton.TooltipBehavior : Swift.Equatable {} +extension FBSDKLoginKit.FBLoginButton.TooltipBehavior : Swift.Hashable {} +extension FBSDKLoginKit.FBLoginButton.TooltipBehavior : Swift.RawRepresentable {} +extension FBSDKLoginKit.LoginTracking : Swift.Equatable {} +extension FBSDKLoginKit.LoginTracking : Swift.Hashable {} +extension FBSDKLoginKit.LoginTracking : Swift.RawRepresentable {} diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftdoc b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..d26f3a1 Binary files /dev/null and b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftdoc differ diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftinterface b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..18d2708 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftinterface @@ -0,0 +1,139 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKLoginKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +@_exported import FBSDKLoginKit +import Foundation +import Swift +import UIKit +import _Concurrency +extension FBSDKCoreKit.AppEvents : FBSDKLoginKit._LoginEventLogging { +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKLoginButton) @_Concurrency.MainActor(unsafe) final public class FBLoginButton : FBSDKCoreKit.FBButton { + @objc @_Concurrency.MainActor(unsafe) final public var defaultAudience: FBSDKLoginKit.DefaultAudience { + @objc get + @objc set + } + @objc @IBOutlet @_Concurrency.MainActor(unsafe) weak final public var delegate: FBSDKLoginKit.LoginButtonDelegate? + @objc @_Concurrency.MainActor(unsafe) final public var permissions: [Swift.String] + @objc @_Concurrency.MainActor(unsafe) final public var tooltipBehavior: FBSDKLoginKit.FBLoginButton.TooltipBehavior + @objc @_Concurrency.MainActor(unsafe) final public var tooltipColorStyle: FBSDKLoginKit.FBTooltipView.ColorStyle + @objc @_Concurrency.MainActor(unsafe) final public var loginTracking: FBSDKLoginKit.LoginTracking + @objc @_Concurrency.MainActor(unsafe) final public var nonce: Swift.String? { + @objc get + @objc set + } + @objc @_Concurrency.MainActor(unsafe) final public var messengerPageId: Swift.String? + @objc @_Concurrency.MainActor(unsafe) final public var authType: FBSDKLoginKit.LoginAuthType? + @objc @_Concurrency.MainActor(unsafe) final public var codeVerifier: FBSDKLoginKit.CodeVerifier + @objc(FBSDKLoginButtonTooltipBehavior) public enum TooltipBehavior : Swift.UInt { + case automatic = 0 + case forceDisplay + case disable + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } + } + @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) + @_Concurrency.MainActor(unsafe) @objc override final public func didMoveToWindow() + @_Concurrency.MainActor(unsafe) @objc override final public func imageRect(forContentRect contentRect: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @_Concurrency.MainActor(unsafe) @objc override final public func titleRect(forContentRect contentRect: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @_Concurrency.MainActor(unsafe) @objc override final public func layoutSubviews() + @_Concurrency.MainActor(unsafe) @objc override final public func sizeThatFits(_ size: CoreGraphics.CGSize) -> CoreGraphics.CGSize + @objc deinit +} +@objcMembers @objc(FBSDKPermission) final public class FBPermission : ObjectiveC.NSObject { + @objc override final public var description: Swift.String { + @objc get + } + @objc override final public var hash: Swift.Int { + @objc get + } + @objc public init?(string: Swift.String) + @objc(permissionsFromRawPermissions:) public static func permissions(fromRawPermissions rawPermissions: Swift.Set) -> Swift.Set? + @objc(rawPermissionsFromPermissions:) public static func rawPermissions(from permissions: Swift.Set) -> Swift.Set + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc deinit +} +extension FBSDKCoreKit.InternalUtility : FBSDKLoginKit._UserInterfaceElementProviding { +} +extension FBSDKCoreKit.InternalUtility : FBSDKLoginKit._UserInterfaceStringProviding { +} +@objc(FBSDKLoginButtonDelegate) public protocol LoginButtonDelegate : ObjectiveC.NSObjectProtocol { + @objc(loginButton:didCompleteWithResult:error:) func loginButton(_ loginButton: FBSDKLoginKit.FBLoginButton, didCompleteWith result: FBSDKLoginKit.LoginManagerLoginResult?, error: Swift.Error?) + @objc func loginButtonDidLogOut(_ loginButton: FBSDKLoginKit.FBLoginButton) + @objc optional func loginButtonWillLogin(_ loginButton: FBSDKLoginKit.FBLoginButton) -> Swift.Bool +} +@objcMembers @objc(FBSDKLoginConfiguration) final public class LoginConfiguration : ObjectiveC.NSObject { + @objc final public let nonce: Swift.String + @objc final public let tracking: FBSDKLoginKit.LoginTracking + @objc final public let requestedPermissions: Swift.Set + @objc final public let messengerPageId: Swift.String? + @objc final public let authType: FBSDKLoginKit.LoginAuthType? + @objc final public let codeVerifier: FBSDKLoginKit.CodeVerifier + @objc(initWithPermissions:tracking:nonce:messengerPageId:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String, messengerPageId: Swift.String?) + @objc(initWithPermissions:tracking:nonce:messengerPageId:authType:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String, messengerPageId: Swift.String?, authType: FBSDKLoginKit.LoginAuthType?) + @objc(initWithPermissions:tracking:nonce:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String) + @objc(initWithPermissions:tracking:messengerPageId:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, messengerPageId: Swift.String?) + @objc(initWithPermissions:tracking:messengerPageId:authType:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, messengerPageId: Swift.String?, authType: FBSDKLoginKit.LoginAuthType?) + @objc(initWithPermissions:tracking:nonce:messengerPageId:authType:codeVerifier:) public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String, messengerPageId: Swift.String?, authType: FBSDKLoginKit.LoginAuthType?, codeVerifier: FBSDKLoginKit.CodeVerifier) + @objc(initWithPermissions:tracking:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking) + @objc(initWithTracking:) convenience public init?(tracking: FBSDKLoginKit.LoginTracking) + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release.") + @objc(authTypeForString:) public static func authType(for rawValue: Swift.String) -> FBSDKLoginKit.LoginAuthType? + convenience public init?(permissions: Swift.Set = [], tracking: FBSDKLoginKit.LoginTracking = .enabled, nonce: Swift.String = UUID().uuidString, messengerPageId: Swift.String? = nil, authType: FBSDKLoginKit.LoginAuthType? = .rerequest, codeVerifier: FBSDKLoginKit.CodeVerifier = CodeVerifier()) + @objc deinit +} +public typealias LoginResultBlock = (FBSDKLoginKit.LoginResult) -> Swift.Void +@frozen public enum LoginResult { + case success(granted: Swift.Set, declined: Swift.Set, token: FBSDKCoreKit.AccessToken?) + case cancelled + case failed(Swift.Error) +} +extension FBSDKLoginKit.LoginManager { + convenience public init(defaultAudience: FBSDKLoginKit.DefaultAudience = .friends) + public func logIn(permissions: [FBSDKCoreKit.Permission] = [.publicProfile], viewController: UIKit.UIViewController? = nil, completion: FBSDKLoginKit.LoginResultBlock? = nil) + public func logIn(viewController: UIKit.UIViewController? = nil, configuration: FBSDKLoginKit.LoginConfiguration, completion: @escaping FBSDKLoginKit.LoginResultBlock) +} +@objc(FBSDKLoginTracking) public enum LoginTracking : Swift.UInt { + case enabled + case limited + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } +} +extension FBSDKCoreKit.ServerConfigurationProvider : FBSDKLoginKit._ServerConfigurationProviding { +} +@objc(_FBSDKLoginEventLogging) public protocol _LoginEventLogging { + @objc var flushBehavior: FBSDKCoreKit.AppEvents.FlushBehavior { get } + @objc func logInternalEvent(_ eventName: FBSDKCoreKit.AppEvents.Name, parameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]?, isImplicitlyLogged: Swift.Bool) + @objc func flush() +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKLoginUtility) final public class _LoginUtility : ObjectiveC.NSObject { + @objc public static func string(forAudience audience: FBSDKLoginKit.DefaultAudience) -> Swift.String + @objc public static func queryParams(fromLoginURL url: Foundation.URL) -> [Swift.String : Any]? + @objc public static func userID(fromSignedRequest signedRequest: Swift.String?) -> Swift.String? + @objc override dynamic public init() + @objc deinit +} +@objc(_FBSDKServerConfigurationProviding) public protocol _ServerConfigurationProviding { + @objc(loadServerConfigurationWithCompletionBlock:) func loadServerConfiguration(completion: FBSDKCoreKit.LoginTooltipBlock?) +} +@objc(_FBSDKUserInterfaceElementProviding) public protocol _UserInterfaceElementProviding { + @objc func topMostViewController() -> UIKit.UIViewController? + @objc(viewControllerForView:) func viewController(for view: UIKit.UIView) -> UIKit.UIViewController? +} +@objc(_FBSDKUserInterfaceStringProviding) public protocol _UserInterfaceStringProviding { + @objc var bundleForStrings: Foundation.Bundle { get } +} +extension FBSDKLoginKit.FBLoginButton.TooltipBehavior : Swift.Equatable {} +extension FBSDKLoginKit.FBLoginButton.TooltipBehavior : Swift.Hashable {} +extension FBSDKLoginKit.FBLoginButton.TooltipBehavior : Swift.RawRepresentable {} +extension FBSDKLoginKit.LoginTracking : Swift.Equatable {} +extension FBSDKLoginKit.LoginTracking : Swift.Hashable {} +extension FBSDKLoginKit.LoginTracking : Swift.RawRepresentable {} diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000..6f64269 Binary files /dev/null and b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000..69067f1 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -0,0 +1,139 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKLoginKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +@_exported import FBSDKLoginKit +import Foundation +import Swift +import UIKit +import _Concurrency +extension FBSDKCoreKit.AppEvents : FBSDKLoginKit._LoginEventLogging { +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKLoginButton) @_Concurrency.MainActor(unsafe) final public class FBLoginButton : FBSDKCoreKit.FBButton { + @objc @_Concurrency.MainActor(unsafe) final public var defaultAudience: FBSDKLoginKit.DefaultAudience { + @objc get + @objc set + } + @objc @IBOutlet @_Concurrency.MainActor(unsafe) weak final public var delegate: FBSDKLoginKit.LoginButtonDelegate? + @objc @_Concurrency.MainActor(unsafe) final public var permissions: [Swift.String] + @objc @_Concurrency.MainActor(unsafe) final public var tooltipBehavior: FBSDKLoginKit.FBLoginButton.TooltipBehavior + @objc @_Concurrency.MainActor(unsafe) final public var tooltipColorStyle: FBSDKLoginKit.FBTooltipView.ColorStyle + @objc @_Concurrency.MainActor(unsafe) final public var loginTracking: FBSDKLoginKit.LoginTracking + @objc @_Concurrency.MainActor(unsafe) final public var nonce: Swift.String? { + @objc get + @objc set + } + @objc @_Concurrency.MainActor(unsafe) final public var messengerPageId: Swift.String? + @objc @_Concurrency.MainActor(unsafe) final public var authType: FBSDKLoginKit.LoginAuthType? + @objc @_Concurrency.MainActor(unsafe) final public var codeVerifier: FBSDKLoginKit.CodeVerifier + @objc(FBSDKLoginButtonTooltipBehavior) public enum TooltipBehavior : Swift.UInt { + case automatic = 0 + case forceDisplay + case disable + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } + } + @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) + @_Concurrency.MainActor(unsafe) @objc override final public func didMoveToWindow() + @_Concurrency.MainActor(unsafe) @objc override final public func imageRect(forContentRect contentRect: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @_Concurrency.MainActor(unsafe) @objc override final public func titleRect(forContentRect contentRect: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @_Concurrency.MainActor(unsafe) @objc override final public func layoutSubviews() + @_Concurrency.MainActor(unsafe) @objc override final public func sizeThatFits(_ size: CoreGraphics.CGSize) -> CoreGraphics.CGSize + @objc deinit +} +@objcMembers @objc(FBSDKPermission) final public class FBPermission : ObjectiveC.NSObject { + @objc override final public var description: Swift.String { + @objc get + } + @objc override final public var hash: Swift.Int { + @objc get + } + @objc public init?(string: Swift.String) + @objc(permissionsFromRawPermissions:) public static func permissions(fromRawPermissions rawPermissions: Swift.Set) -> Swift.Set? + @objc(rawPermissionsFromPermissions:) public static func rawPermissions(from permissions: Swift.Set) -> Swift.Set + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc deinit +} +extension FBSDKCoreKit.InternalUtility : FBSDKLoginKit._UserInterfaceElementProviding { +} +extension FBSDKCoreKit.InternalUtility : FBSDKLoginKit._UserInterfaceStringProviding { +} +@objc(FBSDKLoginButtonDelegate) public protocol LoginButtonDelegate : ObjectiveC.NSObjectProtocol { + @objc(loginButton:didCompleteWithResult:error:) func loginButton(_ loginButton: FBSDKLoginKit.FBLoginButton, didCompleteWith result: FBSDKLoginKit.LoginManagerLoginResult?, error: Swift.Error?) + @objc func loginButtonDidLogOut(_ loginButton: FBSDKLoginKit.FBLoginButton) + @objc optional func loginButtonWillLogin(_ loginButton: FBSDKLoginKit.FBLoginButton) -> Swift.Bool +} +@objcMembers @objc(FBSDKLoginConfiguration) final public class LoginConfiguration : ObjectiveC.NSObject { + @objc final public let nonce: Swift.String + @objc final public let tracking: FBSDKLoginKit.LoginTracking + @objc final public let requestedPermissions: Swift.Set + @objc final public let messengerPageId: Swift.String? + @objc final public let authType: FBSDKLoginKit.LoginAuthType? + @objc final public let codeVerifier: FBSDKLoginKit.CodeVerifier + @objc(initWithPermissions:tracking:nonce:messengerPageId:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String, messengerPageId: Swift.String?) + @objc(initWithPermissions:tracking:nonce:messengerPageId:authType:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String, messengerPageId: Swift.String?, authType: FBSDKLoginKit.LoginAuthType?) + @objc(initWithPermissions:tracking:nonce:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String) + @objc(initWithPermissions:tracking:messengerPageId:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, messengerPageId: Swift.String?) + @objc(initWithPermissions:tracking:messengerPageId:authType:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, messengerPageId: Swift.String?, authType: FBSDKLoginKit.LoginAuthType?) + @objc(initWithPermissions:tracking:nonce:messengerPageId:authType:codeVerifier:) public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String, messengerPageId: Swift.String?, authType: FBSDKLoginKit.LoginAuthType?, codeVerifier: FBSDKLoginKit.CodeVerifier) + @objc(initWithPermissions:tracking:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking) + @objc(initWithTracking:) convenience public init?(tracking: FBSDKLoginKit.LoginTracking) + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release.") + @objc(authTypeForString:) public static func authType(for rawValue: Swift.String) -> FBSDKLoginKit.LoginAuthType? + convenience public init?(permissions: Swift.Set = [], tracking: FBSDKLoginKit.LoginTracking = .enabled, nonce: Swift.String = UUID().uuidString, messengerPageId: Swift.String? = nil, authType: FBSDKLoginKit.LoginAuthType? = .rerequest, codeVerifier: FBSDKLoginKit.CodeVerifier = CodeVerifier()) + @objc deinit +} +public typealias LoginResultBlock = (FBSDKLoginKit.LoginResult) -> Swift.Void +@frozen public enum LoginResult { + case success(granted: Swift.Set, declined: Swift.Set, token: FBSDKCoreKit.AccessToken?) + case cancelled + case failed(Swift.Error) +} +extension FBSDKLoginKit.LoginManager { + convenience public init(defaultAudience: FBSDKLoginKit.DefaultAudience = .friends) + public func logIn(permissions: [FBSDKCoreKit.Permission] = [.publicProfile], viewController: UIKit.UIViewController? = nil, completion: FBSDKLoginKit.LoginResultBlock? = nil) + public func logIn(viewController: UIKit.UIViewController? = nil, configuration: FBSDKLoginKit.LoginConfiguration, completion: @escaping FBSDKLoginKit.LoginResultBlock) +} +@objc(FBSDKLoginTracking) public enum LoginTracking : Swift.UInt { + case enabled + case limited + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } +} +extension FBSDKCoreKit.ServerConfigurationProvider : FBSDKLoginKit._ServerConfigurationProviding { +} +@objc(_FBSDKLoginEventLogging) public protocol _LoginEventLogging { + @objc var flushBehavior: FBSDKCoreKit.AppEvents.FlushBehavior { get } + @objc func logInternalEvent(_ eventName: FBSDKCoreKit.AppEvents.Name, parameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]?, isImplicitlyLogged: Swift.Bool) + @objc func flush() +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKLoginUtility) final public class _LoginUtility : ObjectiveC.NSObject { + @objc public static func string(forAudience audience: FBSDKLoginKit.DefaultAudience) -> Swift.String + @objc public static func queryParams(fromLoginURL url: Foundation.URL) -> [Swift.String : Any]? + @objc public static func userID(fromSignedRequest signedRequest: Swift.String?) -> Swift.String? + @objc override dynamic public init() + @objc deinit +} +@objc(_FBSDKServerConfigurationProviding) public protocol _ServerConfigurationProviding { + @objc(loadServerConfigurationWithCompletionBlock:) func loadServerConfiguration(completion: FBSDKCoreKit.LoginTooltipBlock?) +} +@objc(_FBSDKUserInterfaceElementProviding) public protocol _UserInterfaceElementProviding { + @objc func topMostViewController() -> UIKit.UIViewController? + @objc(viewControllerForView:) func viewController(for view: UIKit.UIView) -> UIKit.UIViewController? +} +@objc(_FBSDKUserInterfaceStringProviding) public protocol _UserInterfaceStringProviding { + @objc var bundleForStrings: Foundation.Bundle { get } +} +extension FBSDKLoginKit.FBLoginButton.TooltipBehavior : Swift.Equatable {} +extension FBSDKLoginKit.FBLoginButton.TooltipBehavior : Swift.Hashable {} +extension FBSDKLoginKit.FBLoginButton.TooltipBehavior : Swift.RawRepresentable {} +extension FBSDKLoginKit.LoginTracking : Swift.Equatable {} +extension FBSDKLoginKit.LoginTracking : Swift.Hashable {} +extension FBSDKLoginKit.LoginTracking : Swift.RawRepresentable {} diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftdoc b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftdoc new file mode 100644 index 0000000..6f64269 Binary files /dev/null and b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftdoc differ diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftinterface b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftinterface new file mode 100644 index 0000000..69067f1 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftinterface @@ -0,0 +1,139 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKLoginKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +@_exported import FBSDKLoginKit +import Foundation +import Swift +import UIKit +import _Concurrency +extension FBSDKCoreKit.AppEvents : FBSDKLoginKit._LoginEventLogging { +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKLoginButton) @_Concurrency.MainActor(unsafe) final public class FBLoginButton : FBSDKCoreKit.FBButton { + @objc @_Concurrency.MainActor(unsafe) final public var defaultAudience: FBSDKLoginKit.DefaultAudience { + @objc get + @objc set + } + @objc @IBOutlet @_Concurrency.MainActor(unsafe) weak final public var delegate: FBSDKLoginKit.LoginButtonDelegate? + @objc @_Concurrency.MainActor(unsafe) final public var permissions: [Swift.String] + @objc @_Concurrency.MainActor(unsafe) final public var tooltipBehavior: FBSDKLoginKit.FBLoginButton.TooltipBehavior + @objc @_Concurrency.MainActor(unsafe) final public var tooltipColorStyle: FBSDKLoginKit.FBTooltipView.ColorStyle + @objc @_Concurrency.MainActor(unsafe) final public var loginTracking: FBSDKLoginKit.LoginTracking + @objc @_Concurrency.MainActor(unsafe) final public var nonce: Swift.String? { + @objc get + @objc set + } + @objc @_Concurrency.MainActor(unsafe) final public var messengerPageId: Swift.String? + @objc @_Concurrency.MainActor(unsafe) final public var authType: FBSDKLoginKit.LoginAuthType? + @objc @_Concurrency.MainActor(unsafe) final public var codeVerifier: FBSDKLoginKit.CodeVerifier + @objc(FBSDKLoginButtonTooltipBehavior) public enum TooltipBehavior : Swift.UInt { + case automatic = 0 + case forceDisplay + case disable + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } + } + @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) + @_Concurrency.MainActor(unsafe) @objc override final public func didMoveToWindow() + @_Concurrency.MainActor(unsafe) @objc override final public func imageRect(forContentRect contentRect: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @_Concurrency.MainActor(unsafe) @objc override final public func titleRect(forContentRect contentRect: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @_Concurrency.MainActor(unsafe) @objc override final public func layoutSubviews() + @_Concurrency.MainActor(unsafe) @objc override final public func sizeThatFits(_ size: CoreGraphics.CGSize) -> CoreGraphics.CGSize + @objc deinit +} +@objcMembers @objc(FBSDKPermission) final public class FBPermission : ObjectiveC.NSObject { + @objc override final public var description: Swift.String { + @objc get + } + @objc override final public var hash: Swift.Int { + @objc get + } + @objc public init?(string: Swift.String) + @objc(permissionsFromRawPermissions:) public static func permissions(fromRawPermissions rawPermissions: Swift.Set) -> Swift.Set? + @objc(rawPermissionsFromPermissions:) public static func rawPermissions(from permissions: Swift.Set) -> Swift.Set + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc deinit +} +extension FBSDKCoreKit.InternalUtility : FBSDKLoginKit._UserInterfaceElementProviding { +} +extension FBSDKCoreKit.InternalUtility : FBSDKLoginKit._UserInterfaceStringProviding { +} +@objc(FBSDKLoginButtonDelegate) public protocol LoginButtonDelegate : ObjectiveC.NSObjectProtocol { + @objc(loginButton:didCompleteWithResult:error:) func loginButton(_ loginButton: FBSDKLoginKit.FBLoginButton, didCompleteWith result: FBSDKLoginKit.LoginManagerLoginResult?, error: Swift.Error?) + @objc func loginButtonDidLogOut(_ loginButton: FBSDKLoginKit.FBLoginButton) + @objc optional func loginButtonWillLogin(_ loginButton: FBSDKLoginKit.FBLoginButton) -> Swift.Bool +} +@objcMembers @objc(FBSDKLoginConfiguration) final public class LoginConfiguration : ObjectiveC.NSObject { + @objc final public let nonce: Swift.String + @objc final public let tracking: FBSDKLoginKit.LoginTracking + @objc final public let requestedPermissions: Swift.Set + @objc final public let messengerPageId: Swift.String? + @objc final public let authType: FBSDKLoginKit.LoginAuthType? + @objc final public let codeVerifier: FBSDKLoginKit.CodeVerifier + @objc(initWithPermissions:tracking:nonce:messengerPageId:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String, messengerPageId: Swift.String?) + @objc(initWithPermissions:tracking:nonce:messengerPageId:authType:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String, messengerPageId: Swift.String?, authType: FBSDKLoginKit.LoginAuthType?) + @objc(initWithPermissions:tracking:nonce:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String) + @objc(initWithPermissions:tracking:messengerPageId:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, messengerPageId: Swift.String?) + @objc(initWithPermissions:tracking:messengerPageId:authType:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, messengerPageId: Swift.String?, authType: FBSDKLoginKit.LoginAuthType?) + @objc(initWithPermissions:tracking:nonce:messengerPageId:authType:codeVerifier:) public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String, messengerPageId: Swift.String?, authType: FBSDKLoginKit.LoginAuthType?, codeVerifier: FBSDKLoginKit.CodeVerifier) + @objc(initWithPermissions:tracking:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking) + @objc(initWithTracking:) convenience public init?(tracking: FBSDKLoginKit.LoginTracking) + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release.") + @objc(authTypeForString:) public static func authType(for rawValue: Swift.String) -> FBSDKLoginKit.LoginAuthType? + convenience public init?(permissions: Swift.Set = [], tracking: FBSDKLoginKit.LoginTracking = .enabled, nonce: Swift.String = UUID().uuidString, messengerPageId: Swift.String? = nil, authType: FBSDKLoginKit.LoginAuthType? = .rerequest, codeVerifier: FBSDKLoginKit.CodeVerifier = CodeVerifier()) + @objc deinit +} +public typealias LoginResultBlock = (FBSDKLoginKit.LoginResult) -> Swift.Void +@frozen public enum LoginResult { + case success(granted: Swift.Set, declined: Swift.Set, token: FBSDKCoreKit.AccessToken?) + case cancelled + case failed(Swift.Error) +} +extension FBSDKLoginKit.LoginManager { + convenience public init(defaultAudience: FBSDKLoginKit.DefaultAudience = .friends) + public func logIn(permissions: [FBSDKCoreKit.Permission] = [.publicProfile], viewController: UIKit.UIViewController? = nil, completion: FBSDKLoginKit.LoginResultBlock? = nil) + public func logIn(viewController: UIKit.UIViewController? = nil, configuration: FBSDKLoginKit.LoginConfiguration, completion: @escaping FBSDKLoginKit.LoginResultBlock) +} +@objc(FBSDKLoginTracking) public enum LoginTracking : Swift.UInt { + case enabled + case limited + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } +} +extension FBSDKCoreKit.ServerConfigurationProvider : FBSDKLoginKit._ServerConfigurationProviding { +} +@objc(_FBSDKLoginEventLogging) public protocol _LoginEventLogging { + @objc var flushBehavior: FBSDKCoreKit.AppEvents.FlushBehavior { get } + @objc func logInternalEvent(_ eventName: FBSDKCoreKit.AppEvents.Name, parameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]?, isImplicitlyLogged: Swift.Bool) + @objc func flush() +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKLoginUtility) final public class _LoginUtility : ObjectiveC.NSObject { + @objc public static func string(forAudience audience: FBSDKLoginKit.DefaultAudience) -> Swift.String + @objc public static func queryParams(fromLoginURL url: Foundation.URL) -> [Swift.String : Any]? + @objc public static func userID(fromSignedRequest signedRequest: Swift.String?) -> Swift.String? + @objc override dynamic public init() + @objc deinit +} +@objc(_FBSDKServerConfigurationProviding) public protocol _ServerConfigurationProviding { + @objc(loadServerConfigurationWithCompletionBlock:) func loadServerConfiguration(completion: FBSDKCoreKit.LoginTooltipBlock?) +} +@objc(_FBSDKUserInterfaceElementProviding) public protocol _UserInterfaceElementProviding { + @objc func topMostViewController() -> UIKit.UIViewController? + @objc(viewControllerForView:) func viewController(for view: UIKit.UIView) -> UIKit.UIViewController? +} +@objc(_FBSDKUserInterfaceStringProviding) public protocol _UserInterfaceStringProviding { + @objc var bundleForStrings: Foundation.Bundle { get } +} +extension FBSDKLoginKit.FBLoginButton.TooltipBehavior : Swift.Equatable {} +extension FBSDKLoginKit.FBLoginButton.TooltipBehavior : Swift.Hashable {} +extension FBSDKLoginKit.FBLoginButton.TooltipBehavior : Swift.RawRepresentable {} +extension FBSDKLoginKit.LoginTracking : Swift.Equatable {} +extension FBSDKLoginKit.LoginTracking : Swift.Hashable {} +extension FBSDKLoginKit.LoginTracking : Swift.RawRepresentable {} diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Modules/module.modulemap b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Modules/module.modulemap similarity index 100% rename from src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Modules/module.modulemap rename to plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/Modules/module.modulemap diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/_CodeSignature/CodeDirectory b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/_CodeSignature/CodeDirectory new file mode 100644 index 0000000..a022d45 Binary files /dev/null and b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/_CodeSignature/CodeDirectory differ diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/_CodeSignature/CodeRequirements b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/_CodeSignature/CodeRequirements similarity index 100% rename from src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/_CodeSignature/CodeRequirements rename to plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/_CodeSignature/CodeRequirements diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/_CodeSignature/CodeRequirements-1 b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/_CodeSignature/CodeRequirements-1 new file mode 100644 index 0000000..f83a863 Binary files /dev/null and b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/_CodeSignature/CodeRequirements-1 differ diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/_CodeSignature/CodeResources b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/_CodeSignature/CodeResources new file mode 100644 index 0000000..521c325 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/_CodeSignature/CodeResources @@ -0,0 +1,552 @@ + + + + + files + + Headers/FBSDKCodeVerifier.h + + EjPHvLMqGbP/vUT9DPNoJJuyWAo= + + Headers/FBSDKDefaultAudience.h + + 0lqdNpKhDY+rvRDMbrStMGOixZU= + + Headers/FBSDKDeviceLoginCodeInfo.h + + FXtwVMamqT11doLljBddZfXdSN4= + + Headers/FBSDKDeviceLoginManager.h + + uD4FVlO9bIJ1fR4+nlGBS1+Iyno= + + Headers/FBSDKDeviceLoginManagerDelegate.h + + hY/wg20i+M+NFVer6d3an7JfcP0= + + Headers/FBSDKDeviceLoginManagerResult.h + + 5ZIzt8USCIvWtanSVwUd08QOKpw= + + Headers/FBSDKLoginAuthType.h + + ibPkb+47YBsPRVtVXEm87LQ6CeI= + + Headers/FBSDKLoginConstants.h + + MPfHPqxSclz/yRUCIFSiHttaiIE= + + Headers/FBSDKLoginKit-Swift.h + + zWSJMPjAmtQruJ70Vd/tIFlVQ+c= + + Headers/FBSDKLoginKit.h + + h7gN3CVhHDdEWHcpfFb61D1IVqA= + + Headers/FBSDKLoginManager.h + + HdhrsZQzoF/ZZWlRZjzSoF8C3Ek= + + Headers/FBSDKLoginManagerLoginResult.h + + dLNZGf9Q4o1RMToPN2NatvHKj/E= + + Headers/FBSDKLoginManagerLoginResultBlock.h + + hdGFhcZwp8w9OhQTkCmMyUDevXU= + + Headers/FBSDKLoginProviding.h + + bjlQxobN7WaN/4XunqVNRXo4OnM= + + Headers/FBSDKLoginTooltipView.h + + lqBCv5OIAQGg0a9VvMVQafx/0oE= + + Headers/FBSDKLoginTooltipViewDelegate.h + + mkidijks/G9jwN7xSa/cxtEyq1A= + + Headers/FBSDKTooltipView.h + + Azg+uzHoPWlUAbPTg3eXaCXhgok= + + Info.plist + + wwwk8YcVnAG9/eNUFAfRaWuXKx4= + + Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + jn+ScUUj1CUmKBqt5OJmHBp8kio= + + Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + mgj9c3m1Z89hdzey+5FZvSk//TQ= + + Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + CcAyh8nZT5yoWKJz5glvmJ1iKwU= + + Modules/FBSDKLoginKit.swiftmodule/arm64.swiftdoc + + jn+ScUUj1CUmKBqt5OJmHBp8kio= + + Modules/FBSDKLoginKit.swiftmodule/arm64.swiftinterface + + mgj9c3m1Z89hdzey+5FZvSk//TQ= + + Modules/FBSDKLoginKit.swiftmodule/arm64.swiftmodule + + CcAyh8nZT5yoWKJz5glvmJ1iKwU= + + Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + AxZ6Q/jsfRdIL1l7oGat0+2xS30= + + Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + PjKWB3eaRN+N0ksCNIcUkVu1SLU= + + Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule + + 4ivk4DIQB3+eTiPgWlW1npeopcE= + + Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftdoc + + AxZ6Q/jsfRdIL1l7oGat0+2xS30= + + Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftinterface + + PjKWB3eaRN+N0ksCNIcUkVu1SLU= + + Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftmodule + + 4ivk4DIQB3+eTiPgWlW1npeopcE= + + Modules/module.modulemap + + tfc04nZSIwhoHV/QsoW1UgsqZrM= + + + files2 + + Headers/FBSDKCodeVerifier.h + + hash + + EjPHvLMqGbP/vUT9DPNoJJuyWAo= + + hash2 + + TT1hvLT7CD93434WRpckoVDjq/IxyTaGc58KDH/Riw4= + + + Headers/FBSDKDefaultAudience.h + + hash + + 0lqdNpKhDY+rvRDMbrStMGOixZU= + + hash2 + + 1prTgalKOgbTj+chSf4AR5fEQvjo/p+vVawJsWvaxm4= + + + Headers/FBSDKDeviceLoginCodeInfo.h + + hash + + FXtwVMamqT11doLljBddZfXdSN4= + + hash2 + + g5Rwb6XgmK+lz75XESEgOIetBB/BS9DOpWgyhvRDpZg= + + + Headers/FBSDKDeviceLoginManager.h + + hash + + uD4FVlO9bIJ1fR4+nlGBS1+Iyno= + + hash2 + + v4dQNFbtB6k/JBptSYTCub0GAQvz63TBwZgcwUu0Xg4= + + + Headers/FBSDKDeviceLoginManagerDelegate.h + + hash + + hY/wg20i+M+NFVer6d3an7JfcP0= + + hash2 + + JhcXcmGyXN2YV183sGawyEtz/A4HgiGfuaH6F4xQAMk= + + + Headers/FBSDKDeviceLoginManagerResult.h + + hash + + 5ZIzt8USCIvWtanSVwUd08QOKpw= + + hash2 + + 9So69KdlNzNSmMcFA/ZxVMrlETnJJM35bb6QSIb6f7s= + + + Headers/FBSDKLoginAuthType.h + + hash + + ibPkb+47YBsPRVtVXEm87LQ6CeI= + + hash2 + + 1BY9tT41dfIo0DTJayklKqzrlgKtOIkhEFfDkCRAJ24= + + + Headers/FBSDKLoginConstants.h + + hash + + MPfHPqxSclz/yRUCIFSiHttaiIE= + + hash2 + + b4XDaENl+R7u4kCcB7RCYie6oPCP8dwvUe92f5RzDz8= + + + Headers/FBSDKLoginKit-Swift.h + + hash + + zWSJMPjAmtQruJ70Vd/tIFlVQ+c= + + hash2 + + UrMYwbAlQBS8kmiXV+x8TM5tu47VYf8NU5fKF87RXMc= + + + Headers/FBSDKLoginKit.h + + hash + + h7gN3CVhHDdEWHcpfFb61D1IVqA= + + hash2 + + oCgZyqxDhXcPJnf60xLzEH51mxMlTngZF/cMjH4nJN8= + + + Headers/FBSDKLoginManager.h + + hash + + HdhrsZQzoF/ZZWlRZjzSoF8C3Ek= + + hash2 + + dfMOQiKTs9cUidKvOkDK1PFXWeuCw7E4c3w+I9ezM/M= + + + Headers/FBSDKLoginManagerLoginResult.h + + hash + + dLNZGf9Q4o1RMToPN2NatvHKj/E= + + hash2 + + ZvH4brMd8ozOL8xV55KSpnX4vgUabuG4R9rp/WbAL8g= + + + Headers/FBSDKLoginManagerLoginResultBlock.h + + hash + + hdGFhcZwp8w9OhQTkCmMyUDevXU= + + hash2 + + Zb9GWGgaSc6xOtE0UsSlBLPOxWMfbTeNdSsr0fvIp74= + + + Headers/FBSDKLoginProviding.h + + hash + + bjlQxobN7WaN/4XunqVNRXo4OnM= + + hash2 + + Mub/XP4zv9ENaijMfLv1/pv4/8DoYhOYh9Nq53YmMiQ= + + + Headers/FBSDKLoginTooltipView.h + + hash + + lqBCv5OIAQGg0a9VvMVQafx/0oE= + + hash2 + + LARd9poj4pkMqmAsIay5DV4seppcLTgUqKysGr4VwHw= + + + Headers/FBSDKLoginTooltipViewDelegate.h + + hash + + mkidijks/G9jwN7xSa/cxtEyq1A= + + hash2 + + RD5LXdo3q7UGvx+j1hQeKPY/sOu3SfdIA4pJMs0Rd7A= + + + Headers/FBSDKTooltipView.h + + hash + + Azg+uzHoPWlUAbPTg3eXaCXhgok= + + hash2 + + rQrJFU+VFezXq6XJ07u0l1iicG5RbRD30K87A3VS4hs= + + + Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + hash + + jn+ScUUj1CUmKBqt5OJmHBp8kio= + + hash2 + + 6mul0HClebs0jMZiLgyCzmG3yrXi9kRaB1I/S1tSRPk= + + + Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + hash + + mgj9c3m1Z89hdzey+5FZvSk//TQ= + + hash2 + + EWqDMEZO/FTjmoD+MnmZqXeDfobD50CclcBLAidAKZA= + + + Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + hash + + CcAyh8nZT5yoWKJz5glvmJ1iKwU= + + hash2 + + hOIHdDkNKwzTjXttoJ1WbcWFSz2jSHwC5hyCYA+Pecw= + + + Modules/FBSDKLoginKit.swiftmodule/arm64.swiftdoc + + hash + + jn+ScUUj1CUmKBqt5OJmHBp8kio= + + hash2 + + 6mul0HClebs0jMZiLgyCzmG3yrXi9kRaB1I/S1tSRPk= + + + Modules/FBSDKLoginKit.swiftmodule/arm64.swiftinterface + + hash + + mgj9c3m1Z89hdzey+5FZvSk//TQ= + + hash2 + + EWqDMEZO/FTjmoD+MnmZqXeDfobD50CclcBLAidAKZA= + + + Modules/FBSDKLoginKit.swiftmodule/arm64.swiftmodule + + hash + + CcAyh8nZT5yoWKJz5glvmJ1iKwU= + + hash2 + + hOIHdDkNKwzTjXttoJ1WbcWFSz2jSHwC5hyCYA+Pecw= + + + Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + hash + + AxZ6Q/jsfRdIL1l7oGat0+2xS30= + + hash2 + + 1TVJjmrnxYCf28pI0/1AeZsEwpRrqbPSdB5ybSfGaHs= + + + Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + hash + + PjKWB3eaRN+N0ksCNIcUkVu1SLU= + + hash2 + + 8BWxDTqKO+U+cGPfubJ8hB/e0RLSZlUa9jRKLeuoeeg= + + + Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule + + hash + + 4ivk4DIQB3+eTiPgWlW1npeopcE= + + hash2 + + +mp5C+bubVO7Er2d2z4bUahtEmbWB8UHEbddlW4lXOQ= + + + Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftdoc + + hash + + AxZ6Q/jsfRdIL1l7oGat0+2xS30= + + hash2 + + 1TVJjmrnxYCf28pI0/1AeZsEwpRrqbPSdB5ybSfGaHs= + + + Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftinterface + + hash + + PjKWB3eaRN+N0ksCNIcUkVu1SLU= + + hash2 + + 8BWxDTqKO+U+cGPfubJ8hB/e0RLSZlUa9jRKLeuoeeg= + + + Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftmodule + + hash + + 4ivk4DIQB3+eTiPgWlW1npeopcE= + + hash2 + + +mp5C+bubVO7Er2d2z4bUahtEmbWB8UHEbddlW4lXOQ= + + + Modules/module.modulemap + + hash + + tfc04nZSIwhoHV/QsoW1UgsqZrM= + + hash2 + + mg/tLWcmTWvzzkcRtPQSnONw1PhzIM4vXke4Qdm7upM= + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/_CodeSignature/CodeSignature b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/_CodeSignature/CodeSignature similarity index 100% rename from src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/_CodeSignature/CodeSignature rename to plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKLoginKit.framework/_CodeSignature/CodeSignature diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/FBSDKShareKit b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/FBSDKShareKit old mode 100755 new mode 100644 index 5320bf3..1776008 Binary files a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/FBSDKShareKit and b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/FBSDKShareKit differ diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/Headers/FBSDKShareBridgeOptions.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/Headers/FBSDKShareBridgeOptions.h new file mode 100644 index 0000000..02dcbb2 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/Headers/FBSDKShareBridgeOptions.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Flags to indicate support for newer bridge options beyond the initial 20130410 implementation. +typedef NS_OPTIONS(NSUInteger, FBSDKShareBridgeOptions) { + FBSDKShareBridgeOptionsDefault = 0, + FBSDKShareBridgeOptionsPhotoAsset = 1 << 0, + FBSDKShareBridgeOptionsPhotoImageURL = 1 << 1, // if set, a web-based URL is required; asset, image, and imageURL.isFileURL not allowed + FBSDKShareBridgeOptionsVideoAsset = 1 << 2, + FBSDKShareBridgeOptionsVideoData = 1 << 3, + FBSDKShareBridgeOptionsWebHashtag = 1 << 4, // if set, pass the hashtag as a string value, not an array of one string +} NS_SWIFT_NAME(ShareBridgeOptions); + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/Headers/FBSDKShareErrorDomain.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/Headers/FBSDKShareErrorDomain.h new file mode 100644 index 0000000..a4dfe60 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/Headers/FBSDKShareErrorDomain.h @@ -0,0 +1,20 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + The error domain for all errors from FBSDKShareKit. + + Error codes from the SDK in the range 200-299 are reserved for this domain. + */ +FOUNDATION_EXPORT NSErrorDomain const FBSDKShareErrorDomain; + +NS_ASSUME_NONNULL_END diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/Headers/FBSDKShareKit-Swift.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/Headers/FBSDKShareKit-Swift.h new file mode 100644 index 0000000..c6cd09f --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/Headers/FBSDKShareKit-Swift.h @@ -0,0 +1,1924 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +#ifndef FBSDKSHAREKIT_SWIFT_H +#define FBSDKSHAREKIT_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import CoreGraphics; +@import FBSDKCoreKit; +@import Foundation; +@import ObjectiveC; +#endif + +#import + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKShareKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + +@class NSURL; +@class NSString; +enum FBSDKAppInviteDestination : NSInteger; + +/// A model for app invite +SWIFT_CLASS_NAMED("AppInviteContent") +@interface FBSDKAppInviteContent : NSObject +/// A URL to a preview image that will be displayed with the app invite +/// This is optional. If you don’t include it a fallback image will be used. +@property (nonatomic, copy) NSURL * _Nullable appInvitePreviewImageURL; +/// An app link target that will be used as a target when the user accept the invite. +@property (nonatomic, copy) NSURL * _Nonnull appLinkURL; +/// Promotional code to be displayed while sending and receiving the invite. +/// This is optional. This can be between 0 and 10 characters long and can contain +/// alphanumeric characters only. To set a promo code, you need to set promo text. +@property (nonatomic, copy) NSString * _Nullable promotionCode; +/// Promotional text to be displayed while sending and receiving the invite. +/// This is optional. This can be between 0 and 80 characters long and can contain +/// alphanumeric and spaces only. +@property (nonatomic, copy) NSString * _Nullable promotionText; +/// Destination for the app invite. The default value is .facebook. +@property (nonatomic) enum FBSDKAppInviteDestination destination; +- (nonnull instancetype)initWithAppLinkURL:(NSURL * _Nonnull)appLinkURL OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// Specifies the privacy of a group. +typedef SWIFT_ENUM_NAMED(NSInteger, FBSDKAppInviteDestination, "Destination", open) { +/// Deliver to Facebook + FBSDKAppInviteDestinationFacebook = 0, + FBSDKAppInviteDestinationMessenger = 1, +}; + + +/// A base interface for validation of content and media. +SWIFT_PROTOCOL_NAMED("SharingValidation") +@protocol FBSDKSharingValidation +/// Asks the receiver to validate that its content or media values are valid. +/// \param options The share bridge options to use for validation. +/// +/// +/// throws: +/// If the values are not valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)options error:(NSError * _Nullable * _Nullable)error; +@end + + +@interface FBSDKAppInviteContent (SWIFT_EXTENSION(FBSDKShareKit)) +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + + +/// A container of arguments for a camera effect. +/// An argument is a String or [String] identified by a String key. +SWIFT_CLASS_NAMED("CameraEffectArguments") +@interface FBSDKCameraEffectArguments : NSObject +/// Sets a string argument in the container. +/// @param string The argument +/// @param key The key for the argument +- (void)setString:(NSString * _Nullable)string forKey:(NSString * _Nonnull)key; +/// Gets a string argument from the container. +/// @param key The key for the argument +/// @return The string value or nil +- (NSString * _Nullable)stringForKey:(NSString * _Nonnull)key SWIFT_WARN_UNUSED_RESULT; +/// Sets a string array argument in the container. +/// @param array The array argument +/// @param key The key for the argument +- (void)setArray:(NSArray * _Nullable)array forKey:(NSString * _Nonnull)key; +/// Gets an array argument from the container. +/// @param key The key for the argument +/// @return The array argument +- (NSArray * _Nullable)arrayForKey:(NSString * _Nonnull)key SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@class UIImage; + +/// A container of textures for a camera effect. +/// A texture for a camera effect is an UIImages identified by a NSString key. +SWIFT_CLASS_NAMED("CameraEffectTextures") +@interface FBSDKCameraEffectTextures : NSObject +/// Sets the image for a texture key. +/// @param image The UIImage for the texture +/// @param key The key for the texture +- (void)setImage:(UIImage * _Nullable)image forKey:(NSString * _Nonnull)key; +/// Gets the image for a texture key. +/// @param key The key for the texture +/// @return The texture UIImage or nil +- (UIImage * _Nullable)imageForKey:(NSString * _Nonnull)key SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@protocol FBSDKSharingContent; + +/// The common interface for sharing buttons. +/// See FBSendButton and FBShareButton +SWIFT_PROTOCOL_NAMED("SharingButton") SWIFT_AVAILABILITY(tvos,unavailable) +@protocol FBSDKSharingButton +/// The content to be shared. +@property (nonatomic, strong) id _Nullable shareContent; +@end + +@class FBSDKMessageDialog; +@class NSNumber; +@class NSCoder; + +/// A button to send content through Messenger. +/// Tapping the receiver will invoke the FBSDKShareDialog with the attached shareContent. If the dialog cannot +/// be shown, the button will be disable. +SWIFT_CLASS_NAMED("FBSendButton") +@interface FBSDKSendButton : FBSDKButton +@property (nonatomic, strong) FBSDKMessageDialog * _Nullable dialog; +@property (nonatomic, strong) id _Nullable shareContent; +@property (nonatomic, readonly, copy) NSDictionary * _Nullable analyticsParameters; +@property (nonatomic, readonly) FBSDKAppEventName _Nonnull impressionTrackingEventName; +@property (nonatomic, readonly, copy) NSString * _Nonnull impressionTrackingIdentifier; +@property (nonatomic, readonly, getter=isImplicitlyDisabled) BOOL implicitlyDisabled; +- (void)configureButton; +- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; +@end + + + +/// A button to share content. +/// Tapping the receiver will invoke the FBSDKShareDialog with the attached shareContent. If the dialog cannot +/// be shown, the button will be disabled. +SWIFT_CLASS_NAMED("FBShareButton") +@interface FBSDKShareButton : FBSDKButton +@property (nonatomic, strong) id _Nullable shareContent; +@property (nonatomic, readonly, copy) NSDictionary * _Nullable analyticsParameters; +@property (nonatomic, readonly) FBSDKAppEventName _Nonnull impressionTrackingEventName; +@property (nonatomic, readonly, copy) NSString * _Nonnull impressionTrackingIdentifier; +@property (nonatomic, readonly, getter=isImplicitlyDisabled) BOOL implicitlyDisabled; +- (void)configureButton; +- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; +@end + + + +/// Represents a single hashtag that can be used with the share dialog. +SWIFT_CLASS_NAMED("Hashtag") +@interface FBSDKHashtag : NSObject +/// The hashtag string. +/// You are responsible for making sure that stringRepresentation is a valid hashtag (a single ‘#’ followed by one or more +/// word characters). Invalid hashtags are ignored when sharing content. You can check validity with thevalid property. +/// @return The hashtag string +@property (nonatomic, copy) NSString * _Nonnull stringRepresentation; +- (nonnull instancetype)initWithString:(NSString * _Nonnull)string OBJC_DESIGNATED_INITIALIZER; +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// Tests if a hashtag is valid. +/// A valid hashtag matches the regular expression “#\w+”: A single ‘#’ followed by one or more word characters. +/// @return true if the hashtag is valid, false otherwise. +@property (nonatomic, readonly) BOOL isValid; +@property (nonatomic, readonly) NSUInteger hash; +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@protocol FBSDKSharingDelegate; + +/// The common interface for components that initiate sharing. +/// See ShareDialog, MessageDialog +SWIFT_PROTOCOL_NAMED("Sharing") +@protocol FBSDKSharing +/// The receiver’s delegate or nil if it doesn’t have a delegate. +@property (nonatomic, weak) id _Nullable delegate; +/// The content to be shared. +@property (nonatomic, strong) id _Nullable shareContent; +/// A boolean value that indicates whether the receiver should fail if it finds an error with the share content. +/// If false, the sharer will still be displayed without the data that was misconfigured. For example, an +/// invalid placeID specified on the shareContent would produce a data error. +@property (nonatomic) BOOL shouldFailOnDataError; +/// Validates the content on the receiver. +/// @throws An error if the content is invalid +- (BOOL)validateWithError:(NSError * _Nullable * _Nullable)error; +@end + + +/// The common interface for dialogs that initiate sharing. +SWIFT_PROTOCOL_NAMED("SharingDialog") +@protocol FBSDKSharingDialog +/// A boolean value that indicates whether the receiver can initiate a share. +/// May return false if the appropriate Facebook app is not installed and is required or an access token is +/// required but not available. This method does not validate the content on the receiver, so this can be checked before +/// building up the content. +/// See Sharing.validate(error:) +/// @return true if the receiver can share, otherwise false. +@property (nonatomic, readonly) BOOL canShow; +/// Shows the dialog. +/// @return true if the receiver was able to begin sharing, otherwise false. +- (BOOL)show; +@end + + +/// A dialog for sharing content through Messenger. +/// SUPPORTED SHARE TYPES +///
    +///
  • +/// FBSDKShareLinkContent +///
  • +///
+/// UNSUPPORTED SHARE TYPES (DEPRECATED AUGUST 2018) +///
    +///
  • +/// FBSDKShareOpenGraphContent +///
  • +///
  • +/// FBSDKSharePhotoContent +///
  • +///
  • +/// FBSDKShareVideoContent +///
  • +///
  • +/// FBSDKShareMessengerOpenGraphMusicTemplateContent +///
  • +///
  • +/// FBSDKShareMessengerMediaTemplateContent +///
  • +///
  • +/// FBSDKShareMessengerGenericTemplateContent +///
  • +///
  • +/// Any other types that are not one of the four supported types listed above +///
  • +///
+SWIFT_CLASS_NAMED("MessageDialog") +@interface FBSDKMessageDialog : NSObject +/// The receiver’s delegate or nil if it doesn’t have a delegate. +@property (nonatomic, weak) id _Nullable delegate; +/// The content to be shared. +@property (nonatomic, strong) id _Nullable shareContent; +/// A Boolean value that indicates whether the receiver should fail if it finds an error with the share content. +/// If false, the sharer will still be displayed without the data that was mis-configured. For example, an +/// invalid placeID specified on the shareContent would produce a data error. +@property (nonatomic) BOOL shouldFailOnDataError; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// Convenience initializer to return a Message Share Dialog with content and a delegate. +/// @param content The content to be shared. +/// @param delegate The receiver’s delegate. +- (nonnull instancetype)initWithContent:(id _Nullable)content delegate:(id _Nullable)delegate; +/// Convenience method to return a Message Share Dialog with content and a delegate. +/// @param content The content to be shared. +/// @param delegate The receiver’s delegate. ++ (FBSDKMessageDialog * _Nonnull)dialogWithContent:(id _Nullable)content delegate:(id _Nullable)delegate SWIFT_WARN_UNUSED_RESULT; +/// Convenience method to show a Message Share Dialog with content and a delegate. +/// @param content The content to be shared. +/// @param delegate The receiver’s delegate. ++ (FBSDKMessageDialog * _Nonnull)showWithContent:(id _Nullable)content delegate:(id _Nullable)delegate SWIFT_WARN_UNUSED_RESULT; +/// A Boolean value that indicates whether the receiver can initiate a share. +/// May return false if the appropriate Facebook app is not installed and is required or an access token is +/// required but not available. This method does not validate the content on the receiver, so this can be checked before +/// building up the content. +/// See Sharing.validate() +/// @return true if the receiver can share, otherwise false. +@property (nonatomic, readonly) BOOL canShow; +/// Shows the dialog. +/// @return true if the receiver was able to begin sharing, otherwise false. +- (BOOL)show; +/// Validates the content on the receiver. +/// @return true if the content is valid, otherwise false. +- (BOOL)validateWithError:(NSError * _Nullable * _Nullable)error; +@end + + + +/// A model for content to share with a Facebook camera effect. +SWIFT_CLASS_NAMED("ShareCameraEffectContent") +@interface FBSDKShareCameraEffectContent : NSObject +/// ID of the camera effect to use. +@property (nonatomic, copy) NSString * _Nonnull effectID; +/// Arguments for the effect. +@property (nonatomic, strong) FBSDKCameraEffectArguments * _Nonnull effectArguments; +/// Textures for the effect. +@property (nonatomic, strong) FBSDKCameraEffectTextures * _Nonnull effectTextures; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A base interface for content to be shared. +SWIFT_PROTOCOL_NAMED("SharingContent") +@protocol FBSDKSharingContent +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. +/// See documentation for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKShareCameraEffectContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + +@class UIViewController; +enum FBSDKShareDialogMode : NSUInteger; + +/// A dialog for sharing content on Facebook. +SWIFT_CLASS_NAMED("ShareDialog") +@interface FBSDKShareDialog : NSObject +/// A UIViewController from which to present the dialog. +/// If not specified, the topmost view controller will be automatically determined as best as possible. +@property (nonatomic, weak) UIViewController * _Nullable fromViewController; +/// The mode with which to display the dialog. +/// Defaults to .automatic, which will automatically choose the best available mode. +@property (nonatomic) enum FBSDKShareDialogMode mode; +/// The receiver’s delegate or nil if it doesn’t have a delegate. +@property (nonatomic, weak) id _Nullable delegate; +/// The content to be shared. +@property (nonatomic, strong) id _Nullable shareContent; +/// A Boolean value that indicates whether the receiver should fail if it finds an error with the share content. +/// If false, the sharer will still be displayed without the data that was misconfigured. For example, an +/// invalid placeID specified on the shareContent would produce a data error. +@property (nonatomic) BOOL shouldFailOnDataError; +/// Convenience initializer to initialize a ShareDialog with a view controller, content and delegate. +/// @param viewController A view controller from which to present the dialog, if appropriate. +/// @param content The content to be shared. +/// @param delegate The dialog’s delegate. +- (nonnull instancetype)initWithViewController:(UIViewController * _Nullable)viewController content:(id _Nullable)content delegate:(id _Nullable)delegate OBJC_DESIGNATED_INITIALIZER; +/// Convenience method to create a ShareDialog with a view controller, content and delegate. +/// @param viewController A view controller from which to present the dialog, if appropriate. +/// @param content The content to be shared. +/// @param delegate The dialog’s delegate. ++ (FBSDKShareDialog * _Nonnull)dialogWithViewController:(UIViewController * _Nullable)viewController withContent:(id _Nullable)content delegate:(id _Nullable)delegate SWIFT_WARN_UNUSED_RESULT; +/// Convenience method to show a ShareDialog with a view controller, content and delegate. +/// @param viewController A view controller from which to present the dialog, if appropriate. +/// @param content The content to be shared. +/// @param delegate The dialog’s delegate. ++ (FBSDKShareDialog * _Nonnull)showFromViewController:(UIViewController * _Nullable)viewController withContent:(id _Nullable)content delegate:(id _Nullable)delegate; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface FBSDKShareDialog (SWIFT_EXTENSION(FBSDKShareKit)) +@end + +/// Modes for the FBSDKShareDialog. +/// The automatic mode will progressively check the availability of different modes and open the most +/// appropriate mode for the dialog that is available. +typedef SWIFT_ENUM_NAMED(NSUInteger, FBSDKShareDialogMode, "Mode", open) { +/// Acts with the most appropriate mode that is available. + FBSDKShareDialogModeAutomatic = 0, +/// Displays the dialog in the main native Facebook app. + FBSDKShareDialogModeNative = 1, +/// Displays the dialog in the iOS integrated share sheet. + FBSDKShareDialogModeShareSheet = 2, +/// Displays the dialog in Safari. + FBSDKShareDialogModeBrowser = 3, +/// Displays the dialog in a WKWebView within the app. + FBSDKShareDialogModeWeb = 4, +/// Displays the feed dialog in Safari. + FBSDKShareDialogModeFeedBrowser = 5, +/// Displays the feed dialog in a WKWebView within the app. + FBSDKShareDialogModeFeedWeb = 6, +}; + +@class FBSDKWebDialog; + +@interface FBSDKShareDialog (SWIFT_EXTENSION(FBSDKShareKit)) +- (void)webDialog:(FBSDKWebDialog * _Nonnull)webDialog didCompleteWithResults:(NSDictionary * _Nonnull)results; +- (void)webDialog:(FBSDKWebDialog * _Nonnull)webDialog didFailWithError:(NSError * _Nonnull)error; +- (void)webDialogDidCancel:(FBSDKWebDialog * _Nonnull)webDialog; +@end + + + +@interface FBSDKShareDialog (SWIFT_EXTENSION(FBSDKShareKit)) +@property (nonatomic, readonly) BOOL canShow; +- (BOOL)show; +- (BOOL)validateWithError:(NSError * _Nullable * _Nullable)error; +@end + + +/// ShareError +/// Error codes for ShareErrorDomain. +typedef SWIFT_ENUM_NAMED(NSInteger, FBSDKShareError, "ShareError", open) { +/// Reserved + FBSDKShareErrorReserved = 200, +/// The error code for errors from uploading open graph objects. + FBSDKShareErrorOpenGraph = 201, +/// The error code for when a sharing dialog is not available. +/// Use the canShare methods to check for this case before calling show. + FBSDKShareErrorDialogNotAvailable = 202, +/// The error code for unknown errors. + FBSDKShareErrorUnknown = 203, +}; + + +/// A model for status and link content to be shared. +SWIFT_CLASS_NAMED("ShareLinkContent") +@interface FBSDKShareLinkContent : NSObject +/// Some quote text of the link. +/// If specified, the quote text will render with custom styling on top of the link. +@property (nonatomic, copy) NSString * _Nullable quote; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface FBSDKShareLinkContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKShareLinkContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Asks the receiver to validate that its content or media values are valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + +/// A protocol for media content (photo or video) to be shared. +SWIFT_PROTOCOL_NAMED("ShareMedia") +@protocol FBSDKShareMedia +@end + + +/// A model for media content (photo or video) to be shared. +SWIFT_CLASS_NAMED("ShareMediaContent") +@interface FBSDKShareMediaContent : NSObject +/// Media to be shared: an array of SharePhoto or ShareVideo +@property (nonatomic, copy) NSArray> * _Nonnull media; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface FBSDKShareMediaContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Asks the receiver to validate that its content or media values are valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + +@interface FBSDKShareMediaContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + +@class PHAsset; + +/// A photo for sharing. +SWIFT_CLASS_NAMED("SharePhoto") +@interface FBSDKSharePhoto : NSObject +/// If the photo is resident in memory, this method supplies the data. +@property (nonatomic, strong) UIImage * _Nullable image; +/// URL that points to a network location or the location of the photo on disk +@property (nonatomic, copy) NSURL * _Nullable imageURL; +/// The representation of the photo in the Photos library. +@property (nonatomic, strong) PHAsset * _Nullable photoAsset; +/// Specifies whether the photo represented by the receiver was generated by the user (true) +/// or by the application (false). +@property (nonatomic) BOOL isUserGenerated; +/// The user-generated caption for the photo. Note that the ‘caption’ must come from +/// the user, as pre-filled content is forbidden by the Platform Policies (2.3). +@property (nonatomic, copy) NSString * _Nullable caption; +/// Convenience method to build a new photo object with an image. +/// \param image If the photo is resident in memory, this method supplies the data +/// +/// \param isUserGenerated Specifies whether the photo represented by the receiver was generated by the user or by the +/// application +/// +- (nonnull instancetype)initWithImage:(UIImage * _Nonnull)image isUserGenerated:(BOOL)isUserGenerated; +/// Convenience method to build a new photo object with an imageURL. +/// This method should only be used when adding photo content to open graph stories. +/// For example, if you’re trying to share a photo from the web by itself, download the image and use +/// init(image:isUserGenerated:) instead. +/// \param imageURL The URL to the photo +/// +/// \param isUserGenerated Specifies whether the photo represented by the receiver was generated by the user or by the +/// application +/// +- (nonnull instancetype)initWithImageURL:(NSURL * _Nonnull)imageURL isUserGenerated:(BOOL)isUserGenerated; +/// Convenience method to build a new photo object with a PHAsset. +/// \param photoAsset The PHAsset that represents the photo in the Photos library. +/// +/// \param isUserGenerated Specifies whether the photo represented by the receiver was generated by the user or by +/// the application +/// +- (nonnull instancetype)initWithPhotoAsset:(PHAsset * _Nonnull)photoAsset isUserGenerated:(BOOL)isUserGenerated; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +@interface FBSDKSharePhoto (SWIFT_EXTENSION(FBSDKShareKit)) +/// Asks the receiver to validate that its content or media values are valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + + +/// A model for photo content to be shared. +SWIFT_CLASS_NAMED("SharePhotoContent") +@interface FBSDKSharePhotoContent : NSObject +/// Photos to be shared. +@property (nonatomic, copy) NSArray * _Nonnull photos; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface FBSDKSharePhotoContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKSharePhotoContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Validate that this content contains valid values +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + +@class NSData; + +/// A video for sharing. +SWIFT_CLASS_NAMED("ShareVideo") +@interface FBSDKShareVideo : NSObject +/// The raw video data. +@property (nonatomic, copy) NSData * _Nullable data; +/// The representation of the video in the Photos library. +@property (nonatomic, strong) PHAsset * _Nullable videoAsset; +/// The file URL to the video. +@property (nonatomic, copy) NSURL * _Nullable videoURL; +/// The photo that represents the video. +@property (nonatomic, strong) FBSDKSharePhoto * _Nullable previewPhoto; +/// Convenience method to build a new video object from raw data and an optional preview photo. +/// \param data The Data object that holds the raw video data. +/// +/// \param previewPhoto The photo that represents the video. +/// +- (nonnull instancetype)initWithData:(NSData * _Nonnull)data previewPhoto:(FBSDKSharePhoto * _Nullable)previewPhoto; +/// Convenience method to build a new video object from a PHAsset and an optional preview photo. +/// \param videoAsset The PHAsset that represents the video in the Photos library. +/// +/// \param previewPhoto The photo that represents the video. +/// +- (nonnull instancetype)initWithVideoAsset:(PHAsset * _Nonnull)videoAsset previewPhoto:(FBSDKSharePhoto * _Nullable)previewPhoto; +/// Convenience method to build a new video object from a URL and an optional preview photo. +/// \param videoURL The URL to the video. +/// +/// \param previewPhoto The photo that represents the video. +/// +- (nonnull instancetype)initWithVideoURL:(NSURL * _Nonnull)videoURL previewPhoto:(FBSDKSharePhoto * _Nullable)previewPhoto; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +@interface FBSDKShareVideo (SWIFT_EXTENSION(FBSDKShareKit)) +/// Asks the receiver to validate that its content or media values are valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + + +/// A model for video content to be shared. +SWIFT_CLASS_NAMED("ShareVideoContent") +@interface FBSDKShareVideoContent : NSObject +/// The video to be shared +@property (nonatomic, strong) FBSDKShareVideo * _Nonnull video; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface FBSDKShareVideoContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKShareVideoContent (SWIFT_EXTENSION(FBSDKShareKit)) +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + + + + + +/// A delegate for types conforming to the Sharing protocol. +/// The delegate is notified with the results of the sharer as long as the application has permissions to +/// receive the information. For example, if the person is not signed into the containing app, the sharer may not be able +/// to distinguish between completion of a share and cancellation. +SWIFT_PROTOCOL_NAMED("SharingDelegate") +@protocol FBSDKSharingDelegate +/// Sent to the delegate when sharing completes without error or cancellation. +/// @param sharer The sharer that completed. +/// @param results The results from the sharer. This may be nil or empty. +- (void)sharer:(id _Nonnull)sharer didCompleteWithResults:(NSDictionary * _Nonnull)results; +/// Sent to the delegate when the sharer encounters an error. +/// @param sharer The sharer that completed. +/// @param error The error. +- (void)sharer:(id _Nonnull)sharer didFailWithError:(NSError * _Nonnull)error; +/// Sent to the delegate when the sharer is cancelled. +/// @param sharer The sharer that completed. +- (void)sharerDidCancel:(id _Nonnull)sharer; +@end + + + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +#ifndef FBSDKSHAREKIT_SWIFT_H +#define FBSDKSHAREKIT_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import CoreGraphics; +@import FBSDKCoreKit; +@import Foundation; +@import ObjectiveC; +#endif + +#import + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKShareKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + +@class NSURL; +@class NSString; +enum FBSDKAppInviteDestination : NSInteger; + +/// A model for app invite +SWIFT_CLASS_NAMED("AppInviteContent") +@interface FBSDKAppInviteContent : NSObject +/// A URL to a preview image that will be displayed with the app invite +/// This is optional. If you don’t include it a fallback image will be used. +@property (nonatomic, copy) NSURL * _Nullable appInvitePreviewImageURL; +/// An app link target that will be used as a target when the user accept the invite. +@property (nonatomic, copy) NSURL * _Nonnull appLinkURL; +/// Promotional code to be displayed while sending and receiving the invite. +/// This is optional. This can be between 0 and 10 characters long and can contain +/// alphanumeric characters only. To set a promo code, you need to set promo text. +@property (nonatomic, copy) NSString * _Nullable promotionCode; +/// Promotional text to be displayed while sending and receiving the invite. +/// This is optional. This can be between 0 and 80 characters long and can contain +/// alphanumeric and spaces only. +@property (nonatomic, copy) NSString * _Nullable promotionText; +/// Destination for the app invite. The default value is .facebook. +@property (nonatomic) enum FBSDKAppInviteDestination destination; +- (nonnull instancetype)initWithAppLinkURL:(NSURL * _Nonnull)appLinkURL OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// Specifies the privacy of a group. +typedef SWIFT_ENUM_NAMED(NSInteger, FBSDKAppInviteDestination, "Destination", open) { +/// Deliver to Facebook + FBSDKAppInviteDestinationFacebook = 0, + FBSDKAppInviteDestinationMessenger = 1, +}; + + +/// A base interface for validation of content and media. +SWIFT_PROTOCOL_NAMED("SharingValidation") +@protocol FBSDKSharingValidation +/// Asks the receiver to validate that its content or media values are valid. +/// \param options The share bridge options to use for validation. +/// +/// +/// throws: +/// If the values are not valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)options error:(NSError * _Nullable * _Nullable)error; +@end + + +@interface FBSDKAppInviteContent (SWIFT_EXTENSION(FBSDKShareKit)) +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + + +/// A container of arguments for a camera effect. +/// An argument is a String or [String] identified by a String key. +SWIFT_CLASS_NAMED("CameraEffectArguments") +@interface FBSDKCameraEffectArguments : NSObject +/// Sets a string argument in the container. +/// @param string The argument +/// @param key The key for the argument +- (void)setString:(NSString * _Nullable)string forKey:(NSString * _Nonnull)key; +/// Gets a string argument from the container. +/// @param key The key for the argument +/// @return The string value or nil +- (NSString * _Nullable)stringForKey:(NSString * _Nonnull)key SWIFT_WARN_UNUSED_RESULT; +/// Sets a string array argument in the container. +/// @param array The array argument +/// @param key The key for the argument +- (void)setArray:(NSArray * _Nullable)array forKey:(NSString * _Nonnull)key; +/// Gets an array argument from the container. +/// @param key The key for the argument +/// @return The array argument +- (NSArray * _Nullable)arrayForKey:(NSString * _Nonnull)key SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@class UIImage; + +/// A container of textures for a camera effect. +/// A texture for a camera effect is an UIImages identified by a NSString key. +SWIFT_CLASS_NAMED("CameraEffectTextures") +@interface FBSDKCameraEffectTextures : NSObject +/// Sets the image for a texture key. +/// @param image The UIImage for the texture +/// @param key The key for the texture +- (void)setImage:(UIImage * _Nullable)image forKey:(NSString * _Nonnull)key; +/// Gets the image for a texture key. +/// @param key The key for the texture +/// @return The texture UIImage or nil +- (UIImage * _Nullable)imageForKey:(NSString * _Nonnull)key SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@protocol FBSDKSharingContent; + +/// The common interface for sharing buttons. +/// See FBSendButton and FBShareButton +SWIFT_PROTOCOL_NAMED("SharingButton") SWIFT_AVAILABILITY(tvos,unavailable) +@protocol FBSDKSharingButton +/// The content to be shared. +@property (nonatomic, strong) id _Nullable shareContent; +@end + +@class FBSDKMessageDialog; +@class NSNumber; +@class NSCoder; + +/// A button to send content through Messenger. +/// Tapping the receiver will invoke the FBSDKShareDialog with the attached shareContent. If the dialog cannot +/// be shown, the button will be disable. +SWIFT_CLASS_NAMED("FBSendButton") +@interface FBSDKSendButton : FBSDKButton +@property (nonatomic, strong) FBSDKMessageDialog * _Nullable dialog; +@property (nonatomic, strong) id _Nullable shareContent; +@property (nonatomic, readonly, copy) NSDictionary * _Nullable analyticsParameters; +@property (nonatomic, readonly) FBSDKAppEventName _Nonnull impressionTrackingEventName; +@property (nonatomic, readonly, copy) NSString * _Nonnull impressionTrackingIdentifier; +@property (nonatomic, readonly, getter=isImplicitlyDisabled) BOOL implicitlyDisabled; +- (void)configureButton; +- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; +@end + + + +/// A button to share content. +/// Tapping the receiver will invoke the FBSDKShareDialog with the attached shareContent. If the dialog cannot +/// be shown, the button will be disabled. +SWIFT_CLASS_NAMED("FBShareButton") +@interface FBSDKShareButton : FBSDKButton +@property (nonatomic, strong) id _Nullable shareContent; +@property (nonatomic, readonly, copy) NSDictionary * _Nullable analyticsParameters; +@property (nonatomic, readonly) FBSDKAppEventName _Nonnull impressionTrackingEventName; +@property (nonatomic, readonly, copy) NSString * _Nonnull impressionTrackingIdentifier; +@property (nonatomic, readonly, getter=isImplicitlyDisabled) BOOL implicitlyDisabled; +- (void)configureButton; +- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; +@end + + + +/// Represents a single hashtag that can be used with the share dialog. +SWIFT_CLASS_NAMED("Hashtag") +@interface FBSDKHashtag : NSObject +/// The hashtag string. +/// You are responsible for making sure that stringRepresentation is a valid hashtag (a single ‘#’ followed by one or more +/// word characters). Invalid hashtags are ignored when sharing content. You can check validity with thevalid property. +/// @return The hashtag string +@property (nonatomic, copy) NSString * _Nonnull stringRepresentation; +- (nonnull instancetype)initWithString:(NSString * _Nonnull)string OBJC_DESIGNATED_INITIALIZER; +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// Tests if a hashtag is valid. +/// A valid hashtag matches the regular expression “#\w+”: A single ‘#’ followed by one or more word characters. +/// @return true if the hashtag is valid, false otherwise. +@property (nonatomic, readonly) BOOL isValid; +@property (nonatomic, readonly) NSUInteger hash; +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@protocol FBSDKSharingDelegate; + +/// The common interface for components that initiate sharing. +/// See ShareDialog, MessageDialog +SWIFT_PROTOCOL_NAMED("Sharing") +@protocol FBSDKSharing +/// The receiver’s delegate or nil if it doesn’t have a delegate. +@property (nonatomic, weak) id _Nullable delegate; +/// The content to be shared. +@property (nonatomic, strong) id _Nullable shareContent; +/// A boolean value that indicates whether the receiver should fail if it finds an error with the share content. +/// If false, the sharer will still be displayed without the data that was misconfigured. For example, an +/// invalid placeID specified on the shareContent would produce a data error. +@property (nonatomic) BOOL shouldFailOnDataError; +/// Validates the content on the receiver. +/// @throws An error if the content is invalid +- (BOOL)validateWithError:(NSError * _Nullable * _Nullable)error; +@end + + +/// The common interface for dialogs that initiate sharing. +SWIFT_PROTOCOL_NAMED("SharingDialog") +@protocol FBSDKSharingDialog +/// A boolean value that indicates whether the receiver can initiate a share. +/// May return false if the appropriate Facebook app is not installed and is required or an access token is +/// required but not available. This method does not validate the content on the receiver, so this can be checked before +/// building up the content. +/// See Sharing.validate(error:) +/// @return true if the receiver can share, otherwise false. +@property (nonatomic, readonly) BOOL canShow; +/// Shows the dialog. +/// @return true if the receiver was able to begin sharing, otherwise false. +- (BOOL)show; +@end + + +/// A dialog for sharing content through Messenger. +/// SUPPORTED SHARE TYPES +///
    +///
  • +/// FBSDKShareLinkContent +///
  • +///
+/// UNSUPPORTED SHARE TYPES (DEPRECATED AUGUST 2018) +///
    +///
  • +/// FBSDKShareOpenGraphContent +///
  • +///
  • +/// FBSDKSharePhotoContent +///
  • +///
  • +/// FBSDKShareVideoContent +///
  • +///
  • +/// FBSDKShareMessengerOpenGraphMusicTemplateContent +///
  • +///
  • +/// FBSDKShareMessengerMediaTemplateContent +///
  • +///
  • +/// FBSDKShareMessengerGenericTemplateContent +///
  • +///
  • +/// Any other types that are not one of the four supported types listed above +///
  • +///
+SWIFT_CLASS_NAMED("MessageDialog") +@interface FBSDKMessageDialog : NSObject +/// The receiver’s delegate or nil if it doesn’t have a delegate. +@property (nonatomic, weak) id _Nullable delegate; +/// The content to be shared. +@property (nonatomic, strong) id _Nullable shareContent; +/// A Boolean value that indicates whether the receiver should fail if it finds an error with the share content. +/// If false, the sharer will still be displayed without the data that was mis-configured. For example, an +/// invalid placeID specified on the shareContent would produce a data error. +@property (nonatomic) BOOL shouldFailOnDataError; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// Convenience initializer to return a Message Share Dialog with content and a delegate. +/// @param content The content to be shared. +/// @param delegate The receiver’s delegate. +- (nonnull instancetype)initWithContent:(id _Nullable)content delegate:(id _Nullable)delegate; +/// Convenience method to return a Message Share Dialog with content and a delegate. +/// @param content The content to be shared. +/// @param delegate The receiver’s delegate. ++ (FBSDKMessageDialog * _Nonnull)dialogWithContent:(id _Nullable)content delegate:(id _Nullable)delegate SWIFT_WARN_UNUSED_RESULT; +/// Convenience method to show a Message Share Dialog with content and a delegate. +/// @param content The content to be shared. +/// @param delegate The receiver’s delegate. ++ (FBSDKMessageDialog * _Nonnull)showWithContent:(id _Nullable)content delegate:(id _Nullable)delegate SWIFT_WARN_UNUSED_RESULT; +/// A Boolean value that indicates whether the receiver can initiate a share. +/// May return false if the appropriate Facebook app is not installed and is required or an access token is +/// required but not available. This method does not validate the content on the receiver, so this can be checked before +/// building up the content. +/// See Sharing.validate() +/// @return true if the receiver can share, otherwise false. +@property (nonatomic, readonly) BOOL canShow; +/// Shows the dialog. +/// @return true if the receiver was able to begin sharing, otherwise false. +- (BOOL)show; +/// Validates the content on the receiver. +/// @return true if the content is valid, otherwise false. +- (BOOL)validateWithError:(NSError * _Nullable * _Nullable)error; +@end + + + +/// A model for content to share with a Facebook camera effect. +SWIFT_CLASS_NAMED("ShareCameraEffectContent") +@interface FBSDKShareCameraEffectContent : NSObject +/// ID of the camera effect to use. +@property (nonatomic, copy) NSString * _Nonnull effectID; +/// Arguments for the effect. +@property (nonatomic, strong) FBSDKCameraEffectArguments * _Nonnull effectArguments; +/// Textures for the effect. +@property (nonatomic, strong) FBSDKCameraEffectTextures * _Nonnull effectTextures; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A base interface for content to be shared. +SWIFT_PROTOCOL_NAMED("SharingContent") +@protocol FBSDKSharingContent +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. +/// See documentation for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKShareCameraEffectContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + +@class UIViewController; +enum FBSDKShareDialogMode : NSUInteger; + +/// A dialog for sharing content on Facebook. +SWIFT_CLASS_NAMED("ShareDialog") +@interface FBSDKShareDialog : NSObject +/// A UIViewController from which to present the dialog. +/// If not specified, the topmost view controller will be automatically determined as best as possible. +@property (nonatomic, weak) UIViewController * _Nullable fromViewController; +/// The mode with which to display the dialog. +/// Defaults to .automatic, which will automatically choose the best available mode. +@property (nonatomic) enum FBSDKShareDialogMode mode; +/// The receiver’s delegate or nil if it doesn’t have a delegate. +@property (nonatomic, weak) id _Nullable delegate; +/// The content to be shared. +@property (nonatomic, strong) id _Nullable shareContent; +/// A Boolean value that indicates whether the receiver should fail if it finds an error with the share content. +/// If false, the sharer will still be displayed without the data that was misconfigured. For example, an +/// invalid placeID specified on the shareContent would produce a data error. +@property (nonatomic) BOOL shouldFailOnDataError; +/// Convenience initializer to initialize a ShareDialog with a view controller, content and delegate. +/// @param viewController A view controller from which to present the dialog, if appropriate. +/// @param content The content to be shared. +/// @param delegate The dialog’s delegate. +- (nonnull instancetype)initWithViewController:(UIViewController * _Nullable)viewController content:(id _Nullable)content delegate:(id _Nullable)delegate OBJC_DESIGNATED_INITIALIZER; +/// Convenience method to create a ShareDialog with a view controller, content and delegate. +/// @param viewController A view controller from which to present the dialog, if appropriate. +/// @param content The content to be shared. +/// @param delegate The dialog’s delegate. ++ (FBSDKShareDialog * _Nonnull)dialogWithViewController:(UIViewController * _Nullable)viewController withContent:(id _Nullable)content delegate:(id _Nullable)delegate SWIFT_WARN_UNUSED_RESULT; +/// Convenience method to show a ShareDialog with a view controller, content and delegate. +/// @param viewController A view controller from which to present the dialog, if appropriate. +/// @param content The content to be shared. +/// @param delegate The dialog’s delegate. ++ (FBSDKShareDialog * _Nonnull)showFromViewController:(UIViewController * _Nullable)viewController withContent:(id _Nullable)content delegate:(id _Nullable)delegate; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface FBSDKShareDialog (SWIFT_EXTENSION(FBSDKShareKit)) +@end + +/// Modes for the FBSDKShareDialog. +/// The automatic mode will progressively check the availability of different modes and open the most +/// appropriate mode for the dialog that is available. +typedef SWIFT_ENUM_NAMED(NSUInteger, FBSDKShareDialogMode, "Mode", open) { +/// Acts with the most appropriate mode that is available. + FBSDKShareDialogModeAutomatic = 0, +/// Displays the dialog in the main native Facebook app. + FBSDKShareDialogModeNative = 1, +/// Displays the dialog in the iOS integrated share sheet. + FBSDKShareDialogModeShareSheet = 2, +/// Displays the dialog in Safari. + FBSDKShareDialogModeBrowser = 3, +/// Displays the dialog in a WKWebView within the app. + FBSDKShareDialogModeWeb = 4, +/// Displays the feed dialog in Safari. + FBSDKShareDialogModeFeedBrowser = 5, +/// Displays the feed dialog in a WKWebView within the app. + FBSDKShareDialogModeFeedWeb = 6, +}; + +@class FBSDKWebDialog; + +@interface FBSDKShareDialog (SWIFT_EXTENSION(FBSDKShareKit)) +- (void)webDialog:(FBSDKWebDialog * _Nonnull)webDialog didCompleteWithResults:(NSDictionary * _Nonnull)results; +- (void)webDialog:(FBSDKWebDialog * _Nonnull)webDialog didFailWithError:(NSError * _Nonnull)error; +- (void)webDialogDidCancel:(FBSDKWebDialog * _Nonnull)webDialog; +@end + + + +@interface FBSDKShareDialog (SWIFT_EXTENSION(FBSDKShareKit)) +@property (nonatomic, readonly) BOOL canShow; +- (BOOL)show; +- (BOOL)validateWithError:(NSError * _Nullable * _Nullable)error; +@end + + +/// ShareError +/// Error codes for ShareErrorDomain. +typedef SWIFT_ENUM_NAMED(NSInteger, FBSDKShareError, "ShareError", open) { +/// Reserved + FBSDKShareErrorReserved = 200, +/// The error code for errors from uploading open graph objects. + FBSDKShareErrorOpenGraph = 201, +/// The error code for when a sharing dialog is not available. +/// Use the canShare methods to check for this case before calling show. + FBSDKShareErrorDialogNotAvailable = 202, +/// The error code for unknown errors. + FBSDKShareErrorUnknown = 203, +}; + + +/// A model for status and link content to be shared. +SWIFT_CLASS_NAMED("ShareLinkContent") +@interface FBSDKShareLinkContent : NSObject +/// Some quote text of the link. +/// If specified, the quote text will render with custom styling on top of the link. +@property (nonatomic, copy) NSString * _Nullable quote; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface FBSDKShareLinkContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKShareLinkContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Asks the receiver to validate that its content or media values are valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + +/// A protocol for media content (photo or video) to be shared. +SWIFT_PROTOCOL_NAMED("ShareMedia") +@protocol FBSDKShareMedia +@end + + +/// A model for media content (photo or video) to be shared. +SWIFT_CLASS_NAMED("ShareMediaContent") +@interface FBSDKShareMediaContent : NSObject +/// Media to be shared: an array of SharePhoto or ShareVideo +@property (nonatomic, copy) NSArray> * _Nonnull media; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface FBSDKShareMediaContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Asks the receiver to validate that its content or media values are valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + +@interface FBSDKShareMediaContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + +@class PHAsset; + +/// A photo for sharing. +SWIFT_CLASS_NAMED("SharePhoto") +@interface FBSDKSharePhoto : NSObject +/// If the photo is resident in memory, this method supplies the data. +@property (nonatomic, strong) UIImage * _Nullable image; +/// URL that points to a network location or the location of the photo on disk +@property (nonatomic, copy) NSURL * _Nullable imageURL; +/// The representation of the photo in the Photos library. +@property (nonatomic, strong) PHAsset * _Nullable photoAsset; +/// Specifies whether the photo represented by the receiver was generated by the user (true) +/// or by the application (false). +@property (nonatomic) BOOL isUserGenerated; +/// The user-generated caption for the photo. Note that the ‘caption’ must come from +/// the user, as pre-filled content is forbidden by the Platform Policies (2.3). +@property (nonatomic, copy) NSString * _Nullable caption; +/// Convenience method to build a new photo object with an image. +/// \param image If the photo is resident in memory, this method supplies the data +/// +/// \param isUserGenerated Specifies whether the photo represented by the receiver was generated by the user or by the +/// application +/// +- (nonnull instancetype)initWithImage:(UIImage * _Nonnull)image isUserGenerated:(BOOL)isUserGenerated; +/// Convenience method to build a new photo object with an imageURL. +/// This method should only be used when adding photo content to open graph stories. +/// For example, if you’re trying to share a photo from the web by itself, download the image and use +/// init(image:isUserGenerated:) instead. +/// \param imageURL The URL to the photo +/// +/// \param isUserGenerated Specifies whether the photo represented by the receiver was generated by the user or by the +/// application +/// +- (nonnull instancetype)initWithImageURL:(NSURL * _Nonnull)imageURL isUserGenerated:(BOOL)isUserGenerated; +/// Convenience method to build a new photo object with a PHAsset. +/// \param photoAsset The PHAsset that represents the photo in the Photos library. +/// +/// \param isUserGenerated Specifies whether the photo represented by the receiver was generated by the user or by +/// the application +/// +- (nonnull instancetype)initWithPhotoAsset:(PHAsset * _Nonnull)photoAsset isUserGenerated:(BOOL)isUserGenerated; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +@interface FBSDKSharePhoto (SWIFT_EXTENSION(FBSDKShareKit)) +/// Asks the receiver to validate that its content or media values are valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + + +/// A model for photo content to be shared. +SWIFT_CLASS_NAMED("SharePhotoContent") +@interface FBSDKSharePhotoContent : NSObject +/// Photos to be shared. +@property (nonatomic, copy) NSArray * _Nonnull photos; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface FBSDKSharePhotoContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKSharePhotoContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Validate that this content contains valid values +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + +@class NSData; + +/// A video for sharing. +SWIFT_CLASS_NAMED("ShareVideo") +@interface FBSDKShareVideo : NSObject +/// The raw video data. +@property (nonatomic, copy) NSData * _Nullable data; +/// The representation of the video in the Photos library. +@property (nonatomic, strong) PHAsset * _Nullable videoAsset; +/// The file URL to the video. +@property (nonatomic, copy) NSURL * _Nullable videoURL; +/// The photo that represents the video. +@property (nonatomic, strong) FBSDKSharePhoto * _Nullable previewPhoto; +/// Convenience method to build a new video object from raw data and an optional preview photo. +/// \param data The Data object that holds the raw video data. +/// +/// \param previewPhoto The photo that represents the video. +/// +- (nonnull instancetype)initWithData:(NSData * _Nonnull)data previewPhoto:(FBSDKSharePhoto * _Nullable)previewPhoto; +/// Convenience method to build a new video object from a PHAsset and an optional preview photo. +/// \param videoAsset The PHAsset that represents the video in the Photos library. +/// +/// \param previewPhoto The photo that represents the video. +/// +- (nonnull instancetype)initWithVideoAsset:(PHAsset * _Nonnull)videoAsset previewPhoto:(FBSDKSharePhoto * _Nullable)previewPhoto; +/// Convenience method to build a new video object from a URL and an optional preview photo. +/// \param videoURL The URL to the video. +/// +/// \param previewPhoto The photo that represents the video. +/// +- (nonnull instancetype)initWithVideoURL:(NSURL * _Nonnull)videoURL previewPhoto:(FBSDKSharePhoto * _Nullable)previewPhoto; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +@interface FBSDKShareVideo (SWIFT_EXTENSION(FBSDKShareKit)) +/// Asks the receiver to validate that its content or media values are valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + + +/// A model for video content to be shared. +SWIFT_CLASS_NAMED("ShareVideoContent") +@interface FBSDKShareVideoContent : NSObject +/// The video to be shared +@property (nonatomic, strong) FBSDKShareVideo * _Nonnull video; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface FBSDKShareVideoContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKShareVideoContent (SWIFT_EXTENSION(FBSDKShareKit)) +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + + + + + +/// A delegate for types conforming to the Sharing protocol. +/// The delegate is notified with the results of the sharer as long as the application has permissions to +/// receive the information. For example, if the person is not signed into the containing app, the sharer may not be able +/// to distinguish between completion of a share and cancellation. +SWIFT_PROTOCOL_NAMED("SharingDelegate") +@protocol FBSDKSharingDelegate +/// Sent to the delegate when sharing completes without error or cancellation. +/// @param sharer The sharer that completed. +/// @param results The results from the sharer. This may be nil or empty. +- (void)sharer:(id _Nonnull)sharer didCompleteWithResults:(NSDictionary * _Nonnull)results; +/// Sent to the delegate when the sharer encounters an error. +/// @param sharer The sharer that completed. +/// @param error The error. +- (void)sharer:(id _Nonnull)sharer didFailWithError:(NSError * _Nonnull)error; +/// Sent to the delegate when the sharer is cancelled. +/// @param sharer The sharer that completed. +- (void)sharerDidCancel:(id _Nonnull)sharer; +@end + + + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#endif diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/Headers/FBSDKShareKit.h b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/Headers/FBSDKShareKit.h new file mode 100644 index 0000000..1600ab9 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/Headers/FBSDKShareKit.h @@ -0,0 +1,10 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/Info.plist b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/Info.plist index 291d925..25917f6 100644 Binary files a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/Info.plist and b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/Info.plist differ diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000..57764ce Binary files /dev/null and b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000..ac61b51 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -0,0 +1,367 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKShareKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +@_exported import FBSDKShareKit +import Foundation +import Photos +import Social +import Swift +import UIKit +import _Concurrency +@objcMembers @objc(FBSDKAppInviteContent) final public class AppInviteContent : ObjectiveC.NSObject { + @objc(FBSDKAppInviteDestination) public enum Destination : Swift.Int { + case facebook + case messenger + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + } + @objc final public var appInvitePreviewImageURL: Foundation.URL? + @objc final public var appLinkURL: Foundation.URL + @objc final public var promotionCode: Swift.String? + @objc final public var promotionText: Swift.String? + @objc final public var destination: FBSDKShareKit.AppInviteContent.Destination + @objc(initWithAppLinkURL:) public init(appLinkURL: Foundation.URL) + @objc deinit +} +extension FBSDKShareKit.AppInviteContent : FBSDKShareKit.SharingValidation { + @objc final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKCameraEffectArguments) final public class CameraEffectArguments : ObjectiveC.NSObject { + @objc(setString:forKey:) final public func set(_ string: Swift.String?, forKey key: Swift.String) + @objc final public func string(forKey key: Swift.String) -> Swift.String? + @objc(setArray:forKey:) final public func set(_ array: [Swift.String]?, forKey key: Swift.String) + @objc final public func array(forKey key: Swift.String) -> [Swift.String]? + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKCameraEffectTextures) final public class CameraEffectTextures : ObjectiveC.NSObject { + @objc(setImage:forKey:) final public func set(_ image: UIKit.UIImage?, forKey key: Swift.String) + @objc(imageForKey:) final public func image(forKey key: Swift.String) -> UIKit.UIImage? + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKSendButton) @_Concurrency.MainActor(unsafe) final public class FBSendButton : FBSDKCoreKit.FBButton, FBSDKShareKit.SharingButton, FBSDKCoreKit.FBButtonImpressionLogging { + @objc @_Concurrency.MainActor(unsafe) final public var dialog: FBSDKShareKit.MessageDialog? + @_Concurrency.MainActor(unsafe) @objc final public var shareContent: FBSDKShareKit.SharingContent? { + @objc get + @objc set + } + @_Concurrency.MainActor(unsafe) @objc final public var analyticsParameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]? { + @objc get + } + @_Concurrency.MainActor(unsafe) @objc final public var impressionTrackingEventName: FBSDKCoreKit.AppEvents.Name { + @objc get + } + @_Concurrency.MainActor(unsafe) @objc final public var impressionTrackingIdentifier: Swift.String { + @objc get + } + @_Concurrency.MainActor(unsafe) @objc override final public var isImplicitlyDisabled: Swift.Bool { + @_Concurrency.MainActor(unsafe) @objc get + } + @objc @_Concurrency.MainActor(unsafe) final public func configureButton() + @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) + @_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder) + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareButton) @_Concurrency.MainActor(unsafe) final public class FBShareButton : FBSDKCoreKit.FBButton, FBSDKShareKit.SharingButton { + @_Concurrency.MainActor(unsafe) @objc final public var shareContent: FBSDKShareKit.SharingContent? { + @objc get + @objc set + } + @objc @_Concurrency.MainActor(unsafe) final public var analyticsParameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]? { + @objc get + } + @objc @_Concurrency.MainActor(unsafe) final public var impressionTrackingEventName: FBSDKCoreKit.AppEvents.Name { + @objc get + } + @objc @_Concurrency.MainActor(unsafe) final public var impressionTrackingIdentifier: Swift.String { + @objc get + } + @_Concurrency.MainActor(unsafe) @objc override final public var isImplicitlyDisabled: Swift.Bool { + @_Concurrency.MainActor(unsafe) @objc get + } + @objc @_Concurrency.MainActor(unsafe) final public func configureButton() + @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) + @_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder) + @objc deinit +} +@objcMembers @objc(FBSDKHashtag) final public class Hashtag : ObjectiveC.NSObject { + @objc final public var stringRepresentation: Swift.String + @objc(initWithString:) public init(_ string: Swift.String) + @objc override final public var description: Swift.String { + @objc get + } + @objc final public var isValid: Swift.Bool { + @objc get + } + @objc override final public var hash: Swift.Int { + @objc get + } + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKMessageDialog) public class MessageDialog : ObjectiveC.NSObject, FBSDKShareKit.SharingDialog { + @objc weak public var delegate: FBSDKShareKit.SharingDelegate? + @objc public var shareContent: FBSDKShareKit.SharingContent? + @objc public var shouldFailOnDataError: Swift.Bool + @objc(initWithContent:delegate:) convenience public init(content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) + @objc(dialogWithContent:delegate:) public static func dialog(content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.MessageDialog + @objc(showWithContent:delegate:) public static func show(content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.MessageDialog + @objc public var canShow: Swift.Bool { + @objc get + } + @discardableResult + @objc public func show() -> Swift.Bool + @objc public func validate() throws + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareCameraEffectContent) final public class ShareCameraEffectContent : ObjectiveC.NSObject { + @objc final public var effectID: Swift.String + @objc final public var effectArguments: FBSDKShareKit.CameraEffectArguments + @objc final public var effectTextures: FBSDKShareKit.CameraEffectTextures + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public var shareUUID: Swift.String? { + get + } + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareCameraEffectContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objcMembers @objc(FBSDKShareDialog) public class ShareDialog : ObjectiveC.NSObject, FBSDKShareKit.SharingDialog { + @objc weak public var fromViewController: UIKit.UIViewController? + @objc public var mode: FBSDKShareKit.ShareDialog.Mode + @objc weak public var delegate: FBSDKShareKit.SharingDelegate? + @objc public var shareContent: FBSDKShareKit.SharingContent? + @objc public var shouldFailOnDataError: Swift.Bool + @objc(initWithViewController:content:delegate:) public init(viewController: UIKit.UIViewController?, content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) + @objc deinit + @objc(dialogWithViewController:withContent:delegate:) public class func dialog(viewController: UIKit.UIViewController?, content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.ShareDialog + @discardableResult + @objc(showFromViewController:withContent:delegate:) public class func show(viewController: UIKit.UIViewController?, content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.ShareDialog +} +extension FBSDKShareKit.ShareDialog { + @objc dynamic public var canShow: Swift.Bool { + @objc get + } + @discardableResult + @objc dynamic public func show() -> Swift.Bool + @objc dynamic public func validate() throws +} +extension FBSDKShareKit.ShareDialog : FBSDKCoreKit.WebDialogDelegate { + @objc dynamic public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didCompleteWithResults results: [Swift.String : Any]) + @objc dynamic public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didFailWithError error: Swift.Error) + @objc dynamic public func webDialogDidCancel(_ webDialog: FBSDKCoreKit.WebDialog) +} +extension FBSDKShareKit.ShareDialog { + @objc(FBSDKShareDialogMode) public enum Mode : Swift.UInt, Swift.CustomStringConvertible { + case automatic + case native + case shareSheet + case browser + case web + case feedBrowser + case feedWeb + public var description: Swift.String { + get + } + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } + } +} +public let ShareErrorDomain: Swift.String +@objc(FBSDKShareError) public enum ShareError : Swift.Int { + case reserved = 200 + case openGraph + case dialogNotAvailable + case unknown + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareLinkContent) final public class ShareLinkContent : ObjectiveC.NSObject { + @objc final public var quote: Swift.String? + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareLinkContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareLinkContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objc(FBSDKShareMedia) public protocol ShareMedia { +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareMediaContent) final public class ShareMediaContent : ObjectiveC.NSObject { + @objc final public var media: [FBSDKShareKit.ShareMedia] + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareMediaContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareMediaContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKSharePhoto) final public class SharePhoto : ObjectiveC.NSObject, FBSDKShareKit.ShareMedia { + @objc final public var image: UIKit.UIImage? { + @objc get + @objc set + } + @objc final public var imageURL: Foundation.URL? { + @objc get + @objc set + } + @objc final public var photoAsset: Photos.PHAsset? { + @objc get + @objc set + } + @objc final public var isUserGenerated: Swift.Bool + @objc final public var caption: Swift.String? + @objc convenience public init(image: UIKit.UIImage, isUserGenerated: Swift.Bool) + @objc convenience public init(imageURL: Foundation.URL, isUserGenerated: Swift.Bool) + @objc convenience public init(photoAsset: Photos.PHAsset, isUserGenerated: Swift.Bool) + @objc deinit +} +extension FBSDKShareKit.SharePhoto : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKSharePhotoContent) final public class SharePhotoContent : ObjectiveC.NSObject { + @objc final public var photos: [FBSDKShareKit.SharePhoto] + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.SharePhotoContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.SharePhotoContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKShareVideo) final public class ShareVideo : ObjectiveC.NSObject, FBSDKShareKit.ShareMedia { + @objc final public var data: Foundation.Data? { + @objc get + @objc set + } + @objc final public var videoAsset: Photos.PHAsset? { + @objc get + @objc set + } + @objc final public var videoURL: Foundation.URL? { + @objc get + @objc set + } + @objc final public var previewPhoto: FBSDKShareKit.SharePhoto? + @objc convenience public init(data: Foundation.Data, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc convenience public init(videoAsset: Photos.PHAsset, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc convenience public init(videoURL: Foundation.URL, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc deinit +} +extension FBSDKShareKit.ShareVideo : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareVideoContent) final public class ShareVideoContent : ObjectiveC.NSObject { + @objc final public var video: FBSDKShareKit.ShareVideo + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public var shareUUID: Swift.String? { + get + } + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareVideoContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareVideoContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objc(FBSDKSharing) public protocol Sharing { + @objc weak var delegate: FBSDKShareKit.SharingDelegate? { get set } + @objc var shareContent: FBSDKShareKit.SharingContent? { get set } + @objc var shouldFailOnDataError: Swift.Bool { get set } + @objc(validateWithError:) func validate() throws +} +@available(tvOS, unavailable) +@objc(FBSDKSharingButton) public protocol SharingButton { + @objc var shareContent: FBSDKShareKit.SharingContent? { get set } +} +@objc(FBSDKSharingContent) public protocol SharingContent : FBSDKShareKit.SharingValidation, ObjectiveC.NSObjectProtocol { + @objc var contentURL: Foundation.URL? { get set } + @objc var hashtag: FBSDKShareKit.Hashtag? { get set } + @objc var peopleIDs: [Swift.String] { get set } + @objc var placeID: Swift.String? { get set } + @objc var ref: Swift.String? { get set } + @objc var pageID: Swift.String? { get set } + @objc var shareUUID: Swift.String? { get } + @objc(addParameters:bridgeOptions:) func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +@objc(FBSDKSharingDelegate) public protocol SharingDelegate { + @objc(sharer:didCompleteWithResults:) func sharer(_ sharer: FBSDKShareKit.Sharing, didCompleteWithResults results: [Swift.String : Any]) + @objc(sharer:didFailWithError:) func sharer(_ sharer: FBSDKShareKit.Sharing, didFailWithError error: Swift.Error) + @objc(sharerDidCancel:) func sharerDidCancel(_ sharer: FBSDKShareKit.Sharing) +} +@objc(FBSDKSharingDialog) public protocol SharingDialog : FBSDKShareKit.Sharing { + @objc var canShow: Swift.Bool { get } + @objc @discardableResult + func show() -> Swift.Bool +} +@objc(FBSDKSharingValidation) public protocol SharingValidation { + @objc(validateWithOptions:error:) func validate(options: FBSDKShareKit.ShareBridgeOptions) throws +} +public enum _ShareUtility { +} +extension FBSDKShareKit._ShareUtility { + public static func validateRequiredValue(_ value: Any, named name: Swift.String) throws + public static func validateArgument(_ value: Argument, named name: Swift.String, in possibleValues: Swift.Set) throws where Argument : Swift.Hashable +} +extension FBSDKShareKit.AppInviteContent.Destination : Swift.Equatable {} +extension FBSDKShareKit.AppInviteContent.Destination : Swift.Hashable {} +extension FBSDKShareKit.AppInviteContent.Destination : Swift.RawRepresentable {} +extension FBSDKShareKit.ShareDialog.Mode : Swift.Equatable {} +extension FBSDKShareKit.ShareDialog.Mode : Swift.Hashable {} +extension FBSDKShareKit.ShareDialog.Mode : Swift.RawRepresentable {} +extension FBSDKShareKit.ShareError : Swift.Equatable {} +extension FBSDKShareKit.ShareError : Swift.Hashable {} +extension FBSDKShareKit.ShareError : Swift.RawRepresentable {} diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftdoc b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..57764ce Binary files /dev/null and b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftdoc differ diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftinterface b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..ac61b51 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftinterface @@ -0,0 +1,367 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKShareKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +@_exported import FBSDKShareKit +import Foundation +import Photos +import Social +import Swift +import UIKit +import _Concurrency +@objcMembers @objc(FBSDKAppInviteContent) final public class AppInviteContent : ObjectiveC.NSObject { + @objc(FBSDKAppInviteDestination) public enum Destination : Swift.Int { + case facebook + case messenger + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + } + @objc final public var appInvitePreviewImageURL: Foundation.URL? + @objc final public var appLinkURL: Foundation.URL + @objc final public var promotionCode: Swift.String? + @objc final public var promotionText: Swift.String? + @objc final public var destination: FBSDKShareKit.AppInviteContent.Destination + @objc(initWithAppLinkURL:) public init(appLinkURL: Foundation.URL) + @objc deinit +} +extension FBSDKShareKit.AppInviteContent : FBSDKShareKit.SharingValidation { + @objc final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKCameraEffectArguments) final public class CameraEffectArguments : ObjectiveC.NSObject { + @objc(setString:forKey:) final public func set(_ string: Swift.String?, forKey key: Swift.String) + @objc final public func string(forKey key: Swift.String) -> Swift.String? + @objc(setArray:forKey:) final public func set(_ array: [Swift.String]?, forKey key: Swift.String) + @objc final public func array(forKey key: Swift.String) -> [Swift.String]? + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKCameraEffectTextures) final public class CameraEffectTextures : ObjectiveC.NSObject { + @objc(setImage:forKey:) final public func set(_ image: UIKit.UIImage?, forKey key: Swift.String) + @objc(imageForKey:) final public func image(forKey key: Swift.String) -> UIKit.UIImage? + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKSendButton) @_Concurrency.MainActor(unsafe) final public class FBSendButton : FBSDKCoreKit.FBButton, FBSDKShareKit.SharingButton, FBSDKCoreKit.FBButtonImpressionLogging { + @objc @_Concurrency.MainActor(unsafe) final public var dialog: FBSDKShareKit.MessageDialog? + @_Concurrency.MainActor(unsafe) @objc final public var shareContent: FBSDKShareKit.SharingContent? { + @objc get + @objc set + } + @_Concurrency.MainActor(unsafe) @objc final public var analyticsParameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]? { + @objc get + } + @_Concurrency.MainActor(unsafe) @objc final public var impressionTrackingEventName: FBSDKCoreKit.AppEvents.Name { + @objc get + } + @_Concurrency.MainActor(unsafe) @objc final public var impressionTrackingIdentifier: Swift.String { + @objc get + } + @_Concurrency.MainActor(unsafe) @objc override final public var isImplicitlyDisabled: Swift.Bool { + @_Concurrency.MainActor(unsafe) @objc get + } + @objc @_Concurrency.MainActor(unsafe) final public func configureButton() + @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) + @_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder) + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareButton) @_Concurrency.MainActor(unsafe) final public class FBShareButton : FBSDKCoreKit.FBButton, FBSDKShareKit.SharingButton { + @_Concurrency.MainActor(unsafe) @objc final public var shareContent: FBSDKShareKit.SharingContent? { + @objc get + @objc set + } + @objc @_Concurrency.MainActor(unsafe) final public var analyticsParameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]? { + @objc get + } + @objc @_Concurrency.MainActor(unsafe) final public var impressionTrackingEventName: FBSDKCoreKit.AppEvents.Name { + @objc get + } + @objc @_Concurrency.MainActor(unsafe) final public var impressionTrackingIdentifier: Swift.String { + @objc get + } + @_Concurrency.MainActor(unsafe) @objc override final public var isImplicitlyDisabled: Swift.Bool { + @_Concurrency.MainActor(unsafe) @objc get + } + @objc @_Concurrency.MainActor(unsafe) final public func configureButton() + @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) + @_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder) + @objc deinit +} +@objcMembers @objc(FBSDKHashtag) final public class Hashtag : ObjectiveC.NSObject { + @objc final public var stringRepresentation: Swift.String + @objc(initWithString:) public init(_ string: Swift.String) + @objc override final public var description: Swift.String { + @objc get + } + @objc final public var isValid: Swift.Bool { + @objc get + } + @objc override final public var hash: Swift.Int { + @objc get + } + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKMessageDialog) public class MessageDialog : ObjectiveC.NSObject, FBSDKShareKit.SharingDialog { + @objc weak public var delegate: FBSDKShareKit.SharingDelegate? + @objc public var shareContent: FBSDKShareKit.SharingContent? + @objc public var shouldFailOnDataError: Swift.Bool + @objc(initWithContent:delegate:) convenience public init(content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) + @objc(dialogWithContent:delegate:) public static func dialog(content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.MessageDialog + @objc(showWithContent:delegate:) public static func show(content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.MessageDialog + @objc public var canShow: Swift.Bool { + @objc get + } + @discardableResult + @objc public func show() -> Swift.Bool + @objc public func validate() throws + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareCameraEffectContent) final public class ShareCameraEffectContent : ObjectiveC.NSObject { + @objc final public var effectID: Swift.String + @objc final public var effectArguments: FBSDKShareKit.CameraEffectArguments + @objc final public var effectTextures: FBSDKShareKit.CameraEffectTextures + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public var shareUUID: Swift.String? { + get + } + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareCameraEffectContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objcMembers @objc(FBSDKShareDialog) public class ShareDialog : ObjectiveC.NSObject, FBSDKShareKit.SharingDialog { + @objc weak public var fromViewController: UIKit.UIViewController? + @objc public var mode: FBSDKShareKit.ShareDialog.Mode + @objc weak public var delegate: FBSDKShareKit.SharingDelegate? + @objc public var shareContent: FBSDKShareKit.SharingContent? + @objc public var shouldFailOnDataError: Swift.Bool + @objc(initWithViewController:content:delegate:) public init(viewController: UIKit.UIViewController?, content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) + @objc deinit + @objc(dialogWithViewController:withContent:delegate:) public class func dialog(viewController: UIKit.UIViewController?, content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.ShareDialog + @discardableResult + @objc(showFromViewController:withContent:delegate:) public class func show(viewController: UIKit.UIViewController?, content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.ShareDialog +} +extension FBSDKShareKit.ShareDialog { + @objc dynamic public var canShow: Swift.Bool { + @objc get + } + @discardableResult + @objc dynamic public func show() -> Swift.Bool + @objc dynamic public func validate() throws +} +extension FBSDKShareKit.ShareDialog : FBSDKCoreKit.WebDialogDelegate { + @objc dynamic public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didCompleteWithResults results: [Swift.String : Any]) + @objc dynamic public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didFailWithError error: Swift.Error) + @objc dynamic public func webDialogDidCancel(_ webDialog: FBSDKCoreKit.WebDialog) +} +extension FBSDKShareKit.ShareDialog { + @objc(FBSDKShareDialogMode) public enum Mode : Swift.UInt, Swift.CustomStringConvertible { + case automatic + case native + case shareSheet + case browser + case web + case feedBrowser + case feedWeb + public var description: Swift.String { + get + } + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } + } +} +public let ShareErrorDomain: Swift.String +@objc(FBSDKShareError) public enum ShareError : Swift.Int { + case reserved = 200 + case openGraph + case dialogNotAvailable + case unknown + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareLinkContent) final public class ShareLinkContent : ObjectiveC.NSObject { + @objc final public var quote: Swift.String? + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareLinkContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareLinkContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objc(FBSDKShareMedia) public protocol ShareMedia { +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareMediaContent) final public class ShareMediaContent : ObjectiveC.NSObject { + @objc final public var media: [FBSDKShareKit.ShareMedia] + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareMediaContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareMediaContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKSharePhoto) final public class SharePhoto : ObjectiveC.NSObject, FBSDKShareKit.ShareMedia { + @objc final public var image: UIKit.UIImage? { + @objc get + @objc set + } + @objc final public var imageURL: Foundation.URL? { + @objc get + @objc set + } + @objc final public var photoAsset: Photos.PHAsset? { + @objc get + @objc set + } + @objc final public var isUserGenerated: Swift.Bool + @objc final public var caption: Swift.String? + @objc convenience public init(image: UIKit.UIImage, isUserGenerated: Swift.Bool) + @objc convenience public init(imageURL: Foundation.URL, isUserGenerated: Swift.Bool) + @objc convenience public init(photoAsset: Photos.PHAsset, isUserGenerated: Swift.Bool) + @objc deinit +} +extension FBSDKShareKit.SharePhoto : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKSharePhotoContent) final public class SharePhotoContent : ObjectiveC.NSObject { + @objc final public var photos: [FBSDKShareKit.SharePhoto] + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.SharePhotoContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.SharePhotoContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKShareVideo) final public class ShareVideo : ObjectiveC.NSObject, FBSDKShareKit.ShareMedia { + @objc final public var data: Foundation.Data? { + @objc get + @objc set + } + @objc final public var videoAsset: Photos.PHAsset? { + @objc get + @objc set + } + @objc final public var videoURL: Foundation.URL? { + @objc get + @objc set + } + @objc final public var previewPhoto: FBSDKShareKit.SharePhoto? + @objc convenience public init(data: Foundation.Data, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc convenience public init(videoAsset: Photos.PHAsset, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc convenience public init(videoURL: Foundation.URL, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc deinit +} +extension FBSDKShareKit.ShareVideo : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareVideoContent) final public class ShareVideoContent : ObjectiveC.NSObject { + @objc final public var video: FBSDKShareKit.ShareVideo + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public var shareUUID: Swift.String? { + get + } + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareVideoContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareVideoContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objc(FBSDKSharing) public protocol Sharing { + @objc weak var delegate: FBSDKShareKit.SharingDelegate? { get set } + @objc var shareContent: FBSDKShareKit.SharingContent? { get set } + @objc var shouldFailOnDataError: Swift.Bool { get set } + @objc(validateWithError:) func validate() throws +} +@available(tvOS, unavailable) +@objc(FBSDKSharingButton) public protocol SharingButton { + @objc var shareContent: FBSDKShareKit.SharingContent? { get set } +} +@objc(FBSDKSharingContent) public protocol SharingContent : FBSDKShareKit.SharingValidation, ObjectiveC.NSObjectProtocol { + @objc var contentURL: Foundation.URL? { get set } + @objc var hashtag: FBSDKShareKit.Hashtag? { get set } + @objc var peopleIDs: [Swift.String] { get set } + @objc var placeID: Swift.String? { get set } + @objc var ref: Swift.String? { get set } + @objc var pageID: Swift.String? { get set } + @objc var shareUUID: Swift.String? { get } + @objc(addParameters:bridgeOptions:) func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +@objc(FBSDKSharingDelegate) public protocol SharingDelegate { + @objc(sharer:didCompleteWithResults:) func sharer(_ sharer: FBSDKShareKit.Sharing, didCompleteWithResults results: [Swift.String : Any]) + @objc(sharer:didFailWithError:) func sharer(_ sharer: FBSDKShareKit.Sharing, didFailWithError error: Swift.Error) + @objc(sharerDidCancel:) func sharerDidCancel(_ sharer: FBSDKShareKit.Sharing) +} +@objc(FBSDKSharingDialog) public protocol SharingDialog : FBSDKShareKit.Sharing { + @objc var canShow: Swift.Bool { get } + @objc @discardableResult + func show() -> Swift.Bool +} +@objc(FBSDKSharingValidation) public protocol SharingValidation { + @objc(validateWithOptions:error:) func validate(options: FBSDKShareKit.ShareBridgeOptions) throws +} +public enum _ShareUtility { +} +extension FBSDKShareKit._ShareUtility { + public static func validateRequiredValue(_ value: Any, named name: Swift.String) throws + public static func validateArgument(_ value: Argument, named name: Swift.String, in possibleValues: Swift.Set) throws where Argument : Swift.Hashable +} +extension FBSDKShareKit.AppInviteContent.Destination : Swift.Equatable {} +extension FBSDKShareKit.AppInviteContent.Destination : Swift.Hashable {} +extension FBSDKShareKit.AppInviteContent.Destination : Swift.RawRepresentable {} +extension FBSDKShareKit.ShareDialog.Mode : Swift.Equatable {} +extension FBSDKShareKit.ShareDialog.Mode : Swift.Hashable {} +extension FBSDKShareKit.ShareDialog.Mode : Swift.RawRepresentable {} +extension FBSDKShareKit.ShareError : Swift.Equatable {} +extension FBSDKShareKit.ShareError : Swift.Hashable {} +extension FBSDKShareKit.ShareError : Swift.RawRepresentable {} diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000..9605601 Binary files /dev/null and b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000..a50d8b5 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -0,0 +1,367 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKShareKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +@_exported import FBSDKShareKit +import Foundation +import Photos +import Social +import Swift +import UIKit +import _Concurrency +@objcMembers @objc(FBSDKAppInviteContent) final public class AppInviteContent : ObjectiveC.NSObject { + @objc(FBSDKAppInviteDestination) public enum Destination : Swift.Int { + case facebook + case messenger + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + } + @objc final public var appInvitePreviewImageURL: Foundation.URL? + @objc final public var appLinkURL: Foundation.URL + @objc final public var promotionCode: Swift.String? + @objc final public var promotionText: Swift.String? + @objc final public var destination: FBSDKShareKit.AppInviteContent.Destination + @objc(initWithAppLinkURL:) public init(appLinkURL: Foundation.URL) + @objc deinit +} +extension FBSDKShareKit.AppInviteContent : FBSDKShareKit.SharingValidation { + @objc final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKCameraEffectArguments) final public class CameraEffectArguments : ObjectiveC.NSObject { + @objc(setString:forKey:) final public func set(_ string: Swift.String?, forKey key: Swift.String) + @objc final public func string(forKey key: Swift.String) -> Swift.String? + @objc(setArray:forKey:) final public func set(_ array: [Swift.String]?, forKey key: Swift.String) + @objc final public func array(forKey key: Swift.String) -> [Swift.String]? + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKCameraEffectTextures) final public class CameraEffectTextures : ObjectiveC.NSObject { + @objc(setImage:forKey:) final public func set(_ image: UIKit.UIImage?, forKey key: Swift.String) + @objc(imageForKey:) final public func image(forKey key: Swift.String) -> UIKit.UIImage? + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKSendButton) @_Concurrency.MainActor(unsafe) final public class FBSendButton : FBSDKCoreKit.FBButton, FBSDKShareKit.SharingButton, FBSDKCoreKit.FBButtonImpressionLogging { + @objc @_Concurrency.MainActor(unsafe) final public var dialog: FBSDKShareKit.MessageDialog? + @_Concurrency.MainActor(unsafe) @objc final public var shareContent: FBSDKShareKit.SharingContent? { + @objc get + @objc set + } + @_Concurrency.MainActor(unsafe) @objc final public var analyticsParameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]? { + @objc get + } + @_Concurrency.MainActor(unsafe) @objc final public var impressionTrackingEventName: FBSDKCoreKit.AppEvents.Name { + @objc get + } + @_Concurrency.MainActor(unsafe) @objc final public var impressionTrackingIdentifier: Swift.String { + @objc get + } + @_Concurrency.MainActor(unsafe) @objc override final public var isImplicitlyDisabled: Swift.Bool { + @_Concurrency.MainActor(unsafe) @objc get + } + @objc @_Concurrency.MainActor(unsafe) final public func configureButton() + @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) + @_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder) + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareButton) @_Concurrency.MainActor(unsafe) final public class FBShareButton : FBSDKCoreKit.FBButton, FBSDKShareKit.SharingButton { + @_Concurrency.MainActor(unsafe) @objc final public var shareContent: FBSDKShareKit.SharingContent? { + @objc get + @objc set + } + @objc @_Concurrency.MainActor(unsafe) final public var analyticsParameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]? { + @objc get + } + @objc @_Concurrency.MainActor(unsafe) final public var impressionTrackingEventName: FBSDKCoreKit.AppEvents.Name { + @objc get + } + @objc @_Concurrency.MainActor(unsafe) final public var impressionTrackingIdentifier: Swift.String { + @objc get + } + @_Concurrency.MainActor(unsafe) @objc override final public var isImplicitlyDisabled: Swift.Bool { + @_Concurrency.MainActor(unsafe) @objc get + } + @objc @_Concurrency.MainActor(unsafe) final public func configureButton() + @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) + @_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder) + @objc deinit +} +@objcMembers @objc(FBSDKHashtag) final public class Hashtag : ObjectiveC.NSObject { + @objc final public var stringRepresentation: Swift.String + @objc(initWithString:) public init(_ string: Swift.String) + @objc override final public var description: Swift.String { + @objc get + } + @objc final public var isValid: Swift.Bool { + @objc get + } + @objc override final public var hash: Swift.Int { + @objc get + } + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKMessageDialog) public class MessageDialog : ObjectiveC.NSObject, FBSDKShareKit.SharingDialog { + @objc weak public var delegate: FBSDKShareKit.SharingDelegate? + @objc public var shareContent: FBSDKShareKit.SharingContent? + @objc public var shouldFailOnDataError: Swift.Bool + @objc(initWithContent:delegate:) convenience public init(content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) + @objc(dialogWithContent:delegate:) public static func dialog(content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.MessageDialog + @objc(showWithContent:delegate:) public static func show(content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.MessageDialog + @objc public var canShow: Swift.Bool { + @objc get + } + @discardableResult + @objc public func show() -> Swift.Bool + @objc public func validate() throws + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareCameraEffectContent) final public class ShareCameraEffectContent : ObjectiveC.NSObject { + @objc final public var effectID: Swift.String + @objc final public var effectArguments: FBSDKShareKit.CameraEffectArguments + @objc final public var effectTextures: FBSDKShareKit.CameraEffectTextures + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public var shareUUID: Swift.String? { + get + } + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareCameraEffectContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objcMembers @objc(FBSDKShareDialog) public class ShareDialog : ObjectiveC.NSObject, FBSDKShareKit.SharingDialog { + @objc weak public var fromViewController: UIKit.UIViewController? + @objc public var mode: FBSDKShareKit.ShareDialog.Mode + @objc weak public var delegate: FBSDKShareKit.SharingDelegate? + @objc public var shareContent: FBSDKShareKit.SharingContent? + @objc public var shouldFailOnDataError: Swift.Bool + @objc(initWithViewController:content:delegate:) public init(viewController: UIKit.UIViewController?, content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) + @objc deinit + @objc(dialogWithViewController:withContent:delegate:) public class func dialog(viewController: UIKit.UIViewController?, content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.ShareDialog + @discardableResult + @objc(showFromViewController:withContent:delegate:) public class func show(viewController: UIKit.UIViewController?, content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.ShareDialog +} +extension FBSDKShareKit.ShareDialog { + @objc dynamic public var canShow: Swift.Bool { + @objc get + } + @discardableResult + @objc dynamic public func show() -> Swift.Bool + @objc dynamic public func validate() throws +} +extension FBSDKShareKit.ShareDialog : FBSDKCoreKit.WebDialogDelegate { + @objc dynamic public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didCompleteWithResults results: [Swift.String : Any]) + @objc dynamic public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didFailWithError error: Swift.Error) + @objc dynamic public func webDialogDidCancel(_ webDialog: FBSDKCoreKit.WebDialog) +} +extension FBSDKShareKit.ShareDialog { + @objc(FBSDKShareDialogMode) public enum Mode : Swift.UInt, Swift.CustomStringConvertible { + case automatic + case native + case shareSheet + case browser + case web + case feedBrowser + case feedWeb + public var description: Swift.String { + get + } + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } + } +} +public let ShareErrorDomain: Swift.String +@objc(FBSDKShareError) public enum ShareError : Swift.Int { + case reserved = 200 + case openGraph + case dialogNotAvailable + case unknown + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareLinkContent) final public class ShareLinkContent : ObjectiveC.NSObject { + @objc final public var quote: Swift.String? + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareLinkContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareLinkContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objc(FBSDKShareMedia) public protocol ShareMedia { +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareMediaContent) final public class ShareMediaContent : ObjectiveC.NSObject { + @objc final public var media: [FBSDKShareKit.ShareMedia] + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareMediaContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareMediaContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKSharePhoto) final public class SharePhoto : ObjectiveC.NSObject, FBSDKShareKit.ShareMedia { + @objc final public var image: UIKit.UIImage? { + @objc get + @objc set + } + @objc final public var imageURL: Foundation.URL? { + @objc get + @objc set + } + @objc final public var photoAsset: Photos.PHAsset? { + @objc get + @objc set + } + @objc final public var isUserGenerated: Swift.Bool + @objc final public var caption: Swift.String? + @objc convenience public init(image: UIKit.UIImage, isUserGenerated: Swift.Bool) + @objc convenience public init(imageURL: Foundation.URL, isUserGenerated: Swift.Bool) + @objc convenience public init(photoAsset: Photos.PHAsset, isUserGenerated: Swift.Bool) + @objc deinit +} +extension FBSDKShareKit.SharePhoto : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKSharePhotoContent) final public class SharePhotoContent : ObjectiveC.NSObject { + @objc final public var photos: [FBSDKShareKit.SharePhoto] + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.SharePhotoContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.SharePhotoContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKShareVideo) final public class ShareVideo : ObjectiveC.NSObject, FBSDKShareKit.ShareMedia { + @objc final public var data: Foundation.Data? { + @objc get + @objc set + } + @objc final public var videoAsset: Photos.PHAsset? { + @objc get + @objc set + } + @objc final public var videoURL: Foundation.URL? { + @objc get + @objc set + } + @objc final public var previewPhoto: FBSDKShareKit.SharePhoto? + @objc convenience public init(data: Foundation.Data, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc convenience public init(videoAsset: Photos.PHAsset, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc convenience public init(videoURL: Foundation.URL, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc deinit +} +extension FBSDKShareKit.ShareVideo : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareVideoContent) final public class ShareVideoContent : ObjectiveC.NSObject { + @objc final public var video: FBSDKShareKit.ShareVideo + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public var shareUUID: Swift.String? { + get + } + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareVideoContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareVideoContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objc(FBSDKSharing) public protocol Sharing { + @objc weak var delegate: FBSDKShareKit.SharingDelegate? { get set } + @objc var shareContent: FBSDKShareKit.SharingContent? { get set } + @objc var shouldFailOnDataError: Swift.Bool { get set } + @objc(validateWithError:) func validate() throws +} +@available(tvOS, unavailable) +@objc(FBSDKSharingButton) public protocol SharingButton { + @objc var shareContent: FBSDKShareKit.SharingContent? { get set } +} +@objc(FBSDKSharingContent) public protocol SharingContent : FBSDKShareKit.SharingValidation, ObjectiveC.NSObjectProtocol { + @objc var contentURL: Foundation.URL? { get set } + @objc var hashtag: FBSDKShareKit.Hashtag? { get set } + @objc var peopleIDs: [Swift.String] { get set } + @objc var placeID: Swift.String? { get set } + @objc var ref: Swift.String? { get set } + @objc var pageID: Swift.String? { get set } + @objc var shareUUID: Swift.String? { get } + @objc(addParameters:bridgeOptions:) func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +@objc(FBSDKSharingDelegate) public protocol SharingDelegate { + @objc(sharer:didCompleteWithResults:) func sharer(_ sharer: FBSDKShareKit.Sharing, didCompleteWithResults results: [Swift.String : Any]) + @objc(sharer:didFailWithError:) func sharer(_ sharer: FBSDKShareKit.Sharing, didFailWithError error: Swift.Error) + @objc(sharerDidCancel:) func sharerDidCancel(_ sharer: FBSDKShareKit.Sharing) +} +@objc(FBSDKSharingDialog) public protocol SharingDialog : FBSDKShareKit.Sharing { + @objc var canShow: Swift.Bool { get } + @objc @discardableResult + func show() -> Swift.Bool +} +@objc(FBSDKSharingValidation) public protocol SharingValidation { + @objc(validateWithOptions:error:) func validate(options: FBSDKShareKit.ShareBridgeOptions) throws +} +public enum _ShareUtility { +} +extension FBSDKShareKit._ShareUtility { + public static func validateRequiredValue(_ value: Any, named name: Swift.String) throws + public static func validateArgument(_ value: Argument, named name: Swift.String, in possibleValues: Swift.Set) throws where Argument : Swift.Hashable +} +extension FBSDKShareKit.AppInviteContent.Destination : Swift.Equatable {} +extension FBSDKShareKit.AppInviteContent.Destination : Swift.Hashable {} +extension FBSDKShareKit.AppInviteContent.Destination : Swift.RawRepresentable {} +extension FBSDKShareKit.ShareDialog.Mode : Swift.Equatable {} +extension FBSDKShareKit.ShareDialog.Mode : Swift.Hashable {} +extension FBSDKShareKit.ShareDialog.Mode : Swift.RawRepresentable {} +extension FBSDKShareKit.ShareError : Swift.Equatable {} +extension FBSDKShareKit.ShareError : Swift.Hashable {} +extension FBSDKShareKit.ShareError : Swift.RawRepresentable {} diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64.swiftdoc b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64.swiftdoc new file mode 100644 index 0000000..9605601 Binary files /dev/null and b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64.swiftdoc differ diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64.swiftinterface b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64.swiftinterface new file mode 100644 index 0000000..a50d8b5 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64.swiftinterface @@ -0,0 +1,367 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKShareKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +@_exported import FBSDKShareKit +import Foundation +import Photos +import Social +import Swift +import UIKit +import _Concurrency +@objcMembers @objc(FBSDKAppInviteContent) final public class AppInviteContent : ObjectiveC.NSObject { + @objc(FBSDKAppInviteDestination) public enum Destination : Swift.Int { + case facebook + case messenger + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + } + @objc final public var appInvitePreviewImageURL: Foundation.URL? + @objc final public var appLinkURL: Foundation.URL + @objc final public var promotionCode: Swift.String? + @objc final public var promotionText: Swift.String? + @objc final public var destination: FBSDKShareKit.AppInviteContent.Destination + @objc(initWithAppLinkURL:) public init(appLinkURL: Foundation.URL) + @objc deinit +} +extension FBSDKShareKit.AppInviteContent : FBSDKShareKit.SharingValidation { + @objc final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKCameraEffectArguments) final public class CameraEffectArguments : ObjectiveC.NSObject { + @objc(setString:forKey:) final public func set(_ string: Swift.String?, forKey key: Swift.String) + @objc final public func string(forKey key: Swift.String) -> Swift.String? + @objc(setArray:forKey:) final public func set(_ array: [Swift.String]?, forKey key: Swift.String) + @objc final public func array(forKey key: Swift.String) -> [Swift.String]? + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKCameraEffectTextures) final public class CameraEffectTextures : ObjectiveC.NSObject { + @objc(setImage:forKey:) final public func set(_ image: UIKit.UIImage?, forKey key: Swift.String) + @objc(imageForKey:) final public func image(forKey key: Swift.String) -> UIKit.UIImage? + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKSendButton) @_Concurrency.MainActor(unsafe) final public class FBSendButton : FBSDKCoreKit.FBButton, FBSDKShareKit.SharingButton, FBSDKCoreKit.FBButtonImpressionLogging { + @objc @_Concurrency.MainActor(unsafe) final public var dialog: FBSDKShareKit.MessageDialog? + @_Concurrency.MainActor(unsafe) @objc final public var shareContent: FBSDKShareKit.SharingContent? { + @objc get + @objc set + } + @_Concurrency.MainActor(unsafe) @objc final public var analyticsParameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]? { + @objc get + } + @_Concurrency.MainActor(unsafe) @objc final public var impressionTrackingEventName: FBSDKCoreKit.AppEvents.Name { + @objc get + } + @_Concurrency.MainActor(unsafe) @objc final public var impressionTrackingIdentifier: Swift.String { + @objc get + } + @_Concurrency.MainActor(unsafe) @objc override final public var isImplicitlyDisabled: Swift.Bool { + @_Concurrency.MainActor(unsafe) @objc get + } + @objc @_Concurrency.MainActor(unsafe) final public func configureButton() + @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) + @_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder) + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareButton) @_Concurrency.MainActor(unsafe) final public class FBShareButton : FBSDKCoreKit.FBButton, FBSDKShareKit.SharingButton { + @_Concurrency.MainActor(unsafe) @objc final public var shareContent: FBSDKShareKit.SharingContent? { + @objc get + @objc set + } + @objc @_Concurrency.MainActor(unsafe) final public var analyticsParameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]? { + @objc get + } + @objc @_Concurrency.MainActor(unsafe) final public var impressionTrackingEventName: FBSDKCoreKit.AppEvents.Name { + @objc get + } + @objc @_Concurrency.MainActor(unsafe) final public var impressionTrackingIdentifier: Swift.String { + @objc get + } + @_Concurrency.MainActor(unsafe) @objc override final public var isImplicitlyDisabled: Swift.Bool { + @_Concurrency.MainActor(unsafe) @objc get + } + @objc @_Concurrency.MainActor(unsafe) final public func configureButton() + @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) + @_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder) + @objc deinit +} +@objcMembers @objc(FBSDKHashtag) final public class Hashtag : ObjectiveC.NSObject { + @objc final public var stringRepresentation: Swift.String + @objc(initWithString:) public init(_ string: Swift.String) + @objc override final public var description: Swift.String { + @objc get + } + @objc final public var isValid: Swift.Bool { + @objc get + } + @objc override final public var hash: Swift.Int { + @objc get + } + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKMessageDialog) public class MessageDialog : ObjectiveC.NSObject, FBSDKShareKit.SharingDialog { + @objc weak public var delegate: FBSDKShareKit.SharingDelegate? + @objc public var shareContent: FBSDKShareKit.SharingContent? + @objc public var shouldFailOnDataError: Swift.Bool + @objc(initWithContent:delegate:) convenience public init(content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) + @objc(dialogWithContent:delegate:) public static func dialog(content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.MessageDialog + @objc(showWithContent:delegate:) public static func show(content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.MessageDialog + @objc public var canShow: Swift.Bool { + @objc get + } + @discardableResult + @objc public func show() -> Swift.Bool + @objc public func validate() throws + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareCameraEffectContent) final public class ShareCameraEffectContent : ObjectiveC.NSObject { + @objc final public var effectID: Swift.String + @objc final public var effectArguments: FBSDKShareKit.CameraEffectArguments + @objc final public var effectTextures: FBSDKShareKit.CameraEffectTextures + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public var shareUUID: Swift.String? { + get + } + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareCameraEffectContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objcMembers @objc(FBSDKShareDialog) public class ShareDialog : ObjectiveC.NSObject, FBSDKShareKit.SharingDialog { + @objc weak public var fromViewController: UIKit.UIViewController? + @objc public var mode: FBSDKShareKit.ShareDialog.Mode + @objc weak public var delegate: FBSDKShareKit.SharingDelegate? + @objc public var shareContent: FBSDKShareKit.SharingContent? + @objc public var shouldFailOnDataError: Swift.Bool + @objc(initWithViewController:content:delegate:) public init(viewController: UIKit.UIViewController?, content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) + @objc deinit + @objc(dialogWithViewController:withContent:delegate:) public class func dialog(viewController: UIKit.UIViewController?, content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.ShareDialog + @discardableResult + @objc(showFromViewController:withContent:delegate:) public class func show(viewController: UIKit.UIViewController?, content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.ShareDialog +} +extension FBSDKShareKit.ShareDialog { + @objc dynamic public var canShow: Swift.Bool { + @objc get + } + @discardableResult + @objc dynamic public func show() -> Swift.Bool + @objc dynamic public func validate() throws +} +extension FBSDKShareKit.ShareDialog : FBSDKCoreKit.WebDialogDelegate { + @objc dynamic public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didCompleteWithResults results: [Swift.String : Any]) + @objc dynamic public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didFailWithError error: Swift.Error) + @objc dynamic public func webDialogDidCancel(_ webDialog: FBSDKCoreKit.WebDialog) +} +extension FBSDKShareKit.ShareDialog { + @objc(FBSDKShareDialogMode) public enum Mode : Swift.UInt, Swift.CustomStringConvertible { + case automatic + case native + case shareSheet + case browser + case web + case feedBrowser + case feedWeb + public var description: Swift.String { + get + } + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } + } +} +public let ShareErrorDomain: Swift.String +@objc(FBSDKShareError) public enum ShareError : Swift.Int { + case reserved = 200 + case openGraph + case dialogNotAvailable + case unknown + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareLinkContent) final public class ShareLinkContent : ObjectiveC.NSObject { + @objc final public var quote: Swift.String? + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareLinkContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareLinkContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objc(FBSDKShareMedia) public protocol ShareMedia { +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareMediaContent) final public class ShareMediaContent : ObjectiveC.NSObject { + @objc final public var media: [FBSDKShareKit.ShareMedia] + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareMediaContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareMediaContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKSharePhoto) final public class SharePhoto : ObjectiveC.NSObject, FBSDKShareKit.ShareMedia { + @objc final public var image: UIKit.UIImage? { + @objc get + @objc set + } + @objc final public var imageURL: Foundation.URL? { + @objc get + @objc set + } + @objc final public var photoAsset: Photos.PHAsset? { + @objc get + @objc set + } + @objc final public var isUserGenerated: Swift.Bool + @objc final public var caption: Swift.String? + @objc convenience public init(image: UIKit.UIImage, isUserGenerated: Swift.Bool) + @objc convenience public init(imageURL: Foundation.URL, isUserGenerated: Swift.Bool) + @objc convenience public init(photoAsset: Photos.PHAsset, isUserGenerated: Swift.Bool) + @objc deinit +} +extension FBSDKShareKit.SharePhoto : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKSharePhotoContent) final public class SharePhotoContent : ObjectiveC.NSObject { + @objc final public var photos: [FBSDKShareKit.SharePhoto] + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.SharePhotoContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.SharePhotoContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKShareVideo) final public class ShareVideo : ObjectiveC.NSObject, FBSDKShareKit.ShareMedia { + @objc final public var data: Foundation.Data? { + @objc get + @objc set + } + @objc final public var videoAsset: Photos.PHAsset? { + @objc get + @objc set + } + @objc final public var videoURL: Foundation.URL? { + @objc get + @objc set + } + @objc final public var previewPhoto: FBSDKShareKit.SharePhoto? + @objc convenience public init(data: Foundation.Data, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc convenience public init(videoAsset: Photos.PHAsset, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc convenience public init(videoURL: Foundation.URL, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc deinit +} +extension FBSDKShareKit.ShareVideo : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareVideoContent) final public class ShareVideoContent : ObjectiveC.NSObject { + @objc final public var video: FBSDKShareKit.ShareVideo + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public var shareUUID: Swift.String? { + get + } + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareVideoContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareVideoContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objc(FBSDKSharing) public protocol Sharing { + @objc weak var delegate: FBSDKShareKit.SharingDelegate? { get set } + @objc var shareContent: FBSDKShareKit.SharingContent? { get set } + @objc var shouldFailOnDataError: Swift.Bool { get set } + @objc(validateWithError:) func validate() throws +} +@available(tvOS, unavailable) +@objc(FBSDKSharingButton) public protocol SharingButton { + @objc var shareContent: FBSDKShareKit.SharingContent? { get set } +} +@objc(FBSDKSharingContent) public protocol SharingContent : FBSDKShareKit.SharingValidation, ObjectiveC.NSObjectProtocol { + @objc var contentURL: Foundation.URL? { get set } + @objc var hashtag: FBSDKShareKit.Hashtag? { get set } + @objc var peopleIDs: [Swift.String] { get set } + @objc var placeID: Swift.String? { get set } + @objc var ref: Swift.String? { get set } + @objc var pageID: Swift.String? { get set } + @objc var shareUUID: Swift.String? { get } + @objc(addParameters:bridgeOptions:) func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +@objc(FBSDKSharingDelegate) public protocol SharingDelegate { + @objc(sharer:didCompleteWithResults:) func sharer(_ sharer: FBSDKShareKit.Sharing, didCompleteWithResults results: [Swift.String : Any]) + @objc(sharer:didFailWithError:) func sharer(_ sharer: FBSDKShareKit.Sharing, didFailWithError error: Swift.Error) + @objc(sharerDidCancel:) func sharerDidCancel(_ sharer: FBSDKShareKit.Sharing) +} +@objc(FBSDKSharingDialog) public protocol SharingDialog : FBSDKShareKit.Sharing { + @objc var canShow: Swift.Bool { get } + @objc @discardableResult + func show() -> Swift.Bool +} +@objc(FBSDKSharingValidation) public protocol SharingValidation { + @objc(validateWithOptions:error:) func validate(options: FBSDKShareKit.ShareBridgeOptions) throws +} +public enum _ShareUtility { +} +extension FBSDKShareKit._ShareUtility { + public static func validateRequiredValue(_ value: Any, named name: Swift.String) throws + public static func validateArgument(_ value: Argument, named name: Swift.String, in possibleValues: Swift.Set) throws where Argument : Swift.Hashable +} +extension FBSDKShareKit.AppInviteContent.Destination : Swift.Equatable {} +extension FBSDKShareKit.AppInviteContent.Destination : Swift.Hashable {} +extension FBSDKShareKit.AppInviteContent.Destination : Swift.RawRepresentable {} +extension FBSDKShareKit.ShareDialog.Mode : Swift.Equatable {} +extension FBSDKShareKit.ShareDialog.Mode : Swift.Hashable {} +extension FBSDKShareKit.ShareDialog.Mode : Swift.RawRepresentable {} +extension FBSDKShareKit.ShareError : Swift.Equatable {} +extension FBSDKShareKit.ShareError : Swift.Hashable {} +extension FBSDKShareKit.ShareError : Swift.RawRepresentable {} diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Modules/module.modulemap b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/Modules/module.modulemap similarity index 100% rename from src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Modules/module.modulemap rename to plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/Modules/module.modulemap diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/_CodeSignature/CodeDirectory b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/_CodeSignature/CodeDirectory new file mode 100644 index 0000000..99ecb3a Binary files /dev/null and b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/_CodeSignature/CodeDirectory differ diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/_CodeSignature/CodeRequirements b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/_CodeSignature/CodeRequirements new file mode 100644 index 0000000..dbf9d61 Binary files /dev/null and b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/_CodeSignature/CodeRequirements differ diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/_CodeSignature/CodeRequirements-1 b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/_CodeSignature/CodeRequirements-1 new file mode 100644 index 0000000..c211f45 Binary files /dev/null and b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/_CodeSignature/CodeRequirements-1 differ diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/_CodeSignature/CodeResources b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/_CodeSignature/CodeResources new file mode 100644 index 0000000..425bb63 --- /dev/null +++ b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/_CodeSignature/CodeResources @@ -0,0 +1,357 @@ + + + + + files + + Headers/FBSDKShareBridgeOptions.h + + UnSjaUXm5qLeLGXDUNVRzXY9NrQ= + + Headers/FBSDKShareErrorDomain.h + + ccdtzvuodQ/lvKIVoHt8KIM9u2U= + + Headers/FBSDKShareKit-Swift.h + + aVUQZbuIsqNpPcngJcxuQfGido4= + + Headers/FBSDKShareKit.h + + 3Vlzn/6bUD/wgctBGh6x9fepcJg= + + Info.plist + + PpxGvOLGEFrZM1akmcWul2quF3E= + + Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + rXuomqfEApLcl7udXB5MIv9u2Vc= + + Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + FNkn1HZYXlogzJspZ0E49+z/E1s= + + Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + +uftgP0rKWFdBBJ7zSIAPNwGrzY= + + Modules/FBSDKShareKit.swiftmodule/arm64.swiftdoc + + rXuomqfEApLcl7udXB5MIv9u2Vc= + + Modules/FBSDKShareKit.swiftmodule/arm64.swiftinterface + + FNkn1HZYXlogzJspZ0E49+z/E1s= + + Modules/FBSDKShareKit.swiftmodule/arm64.swiftmodule + + +uftgP0rKWFdBBJ7zSIAPNwGrzY= + + Modules/FBSDKShareKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + zZDCrYoKHcaNBprPIuHvBtaLYKs= + + Modules/FBSDKShareKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + 27021WjhfivNVDy/s3aFzxSx/Lg= + + Modules/FBSDKShareKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule + + t3W66xFt3Z9L2LHOGlAOuTvpSek= + + Modules/FBSDKShareKit.swiftmodule/x86_64.swiftdoc + + zZDCrYoKHcaNBprPIuHvBtaLYKs= + + Modules/FBSDKShareKit.swiftmodule/x86_64.swiftinterface + + 27021WjhfivNVDy/s3aFzxSx/Lg= + + Modules/FBSDKShareKit.swiftmodule/x86_64.swiftmodule + + t3W66xFt3Z9L2LHOGlAOuTvpSek= + + Modules/module.modulemap + + c/1l3+MTRWj+XKPFv/2HWhKeUtA= + + + files2 + + Headers/FBSDKShareBridgeOptions.h + + hash + + UnSjaUXm5qLeLGXDUNVRzXY9NrQ= + + hash2 + + IxpwBSGJEUrCXBdjRGpZ0yehzDl7wfNF5HReqM5qO/8= + + + Headers/FBSDKShareErrorDomain.h + + hash + + ccdtzvuodQ/lvKIVoHt8KIM9u2U= + + hash2 + + Gq/jBWHIi9/+dLPC1EqzBf+XM4GcHg1JpVUb0DiK6jM= + + + Headers/FBSDKShareKit-Swift.h + + hash + + aVUQZbuIsqNpPcngJcxuQfGido4= + + hash2 + + 6l2PR35Ku4t+0Q59SbbzZyL40lnWDiX4RNSkh00JzTQ= + + + Headers/FBSDKShareKit.h + + hash + + 3Vlzn/6bUD/wgctBGh6x9fepcJg= + + hash2 + + BizbBQ3VvhD8p64UL0pkalRRg0wPwYLFP3IXGeJnkE4= + + + Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + hash + + rXuomqfEApLcl7udXB5MIv9u2Vc= + + hash2 + + 0k/C5slXOr3xoQoKepqzpQzcDem5DRnu8zzptSolmUg= + + + Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + hash + + FNkn1HZYXlogzJspZ0E49+z/E1s= + + hash2 + + lwui+YYSqeCy9O0TH9PBcHOwMlZNY2S9XatMvZMARTc= + + + Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + hash + + +uftgP0rKWFdBBJ7zSIAPNwGrzY= + + hash2 + + p1XfJ1hCZgZRKpWjwih8dXLXvg68/rfaKx13l77ZDtY= + + + Modules/FBSDKShareKit.swiftmodule/arm64.swiftdoc + + hash + + rXuomqfEApLcl7udXB5MIv9u2Vc= + + hash2 + + 0k/C5slXOr3xoQoKepqzpQzcDem5DRnu8zzptSolmUg= + + + Modules/FBSDKShareKit.swiftmodule/arm64.swiftinterface + + hash + + FNkn1HZYXlogzJspZ0E49+z/E1s= + + hash2 + + lwui+YYSqeCy9O0TH9PBcHOwMlZNY2S9XatMvZMARTc= + + + Modules/FBSDKShareKit.swiftmodule/arm64.swiftmodule + + hash + + +uftgP0rKWFdBBJ7zSIAPNwGrzY= + + hash2 + + p1XfJ1hCZgZRKpWjwih8dXLXvg68/rfaKx13l77ZDtY= + + + Modules/FBSDKShareKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + hash + + zZDCrYoKHcaNBprPIuHvBtaLYKs= + + hash2 + + s91RrZA0YsEUDGEuraSw1RUJEOrXgKbw/J+imDqnpK0= + + + Modules/FBSDKShareKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + hash + + 27021WjhfivNVDy/s3aFzxSx/Lg= + + hash2 + + pyh9kPvMQNXO+wsUnPZlXsO5q5xCBoxWrSV7WBzdQ8w= + + + Modules/FBSDKShareKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule + + hash + + t3W66xFt3Z9L2LHOGlAOuTvpSek= + + hash2 + + UvqC4wIPZ81ekbG1GT5KpXzPhv39tQAEXiDfvFrGLRI= + + + Modules/FBSDKShareKit.swiftmodule/x86_64.swiftdoc + + hash + + zZDCrYoKHcaNBprPIuHvBtaLYKs= + + hash2 + + s91RrZA0YsEUDGEuraSw1RUJEOrXgKbw/J+imDqnpK0= + + + Modules/FBSDKShareKit.swiftmodule/x86_64.swiftinterface + + hash + + 27021WjhfivNVDy/s3aFzxSx/Lg= + + hash2 + + pyh9kPvMQNXO+wsUnPZlXsO5q5xCBoxWrSV7WBzdQ8w= + + + Modules/FBSDKShareKit.swiftmodule/x86_64.swiftmodule + + hash + + t3W66xFt3Z9L2LHOGlAOuTvpSek= + + hash2 + + UvqC4wIPZ81ekbG1GT5KpXzPhv39tQAEXiDfvFrGLRI= + + + Modules/module.modulemap + + hash + + c/1l3+MTRWj+XKPFv/2HWhKeUtA= + + hash2 + + LFKLAS36xoxx786XN6Efo7GDNLqGNFpjOc/zQ1+JRXY= + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/_CodeSignature/CodeSignature b/plugins/2020.3569/iphone-sim/resources/Frameworks/FBSDKShareKit.framework/_CodeSignature/CodeSignature new file mode 100644 index 0000000..e69de29 diff --git a/plugins/2020.3569/iphone/.DS_Store b/plugins/2020.3569/iphone/.DS_Store index a8215d3..6494267 100644 Binary files a/plugins/2020.3569/iphone/.DS_Store and b/plugins/2020.3569/iphone/.DS_Store differ diff --git a/plugins/2020.3569/iphone/libplugin_facebook.a b/plugins/2020.3569/iphone/libplugin_facebook.a index f1c813a..3253257 100644 Binary files a/plugins/2020.3569/iphone/libplugin_facebook.a and b/plugins/2020.3569/iphone/libplugin_facebook.a differ diff --git a/plugins/2020.3569/iphone/resources/.DS_Store b/plugins/2020.3569/iphone/resources/.DS_Store index 22568dc..9240803 100644 Binary files a/plugins/2020.3569/iphone/resources/.DS_Store and b/plugins/2020.3569/iphone/resources/.DS_Store differ diff --git a/plugins/2020.3569/iphone/resources/Frameworks/.DS_Store b/plugins/2020.3569/iphone/resources/Frameworks/.DS_Store new file mode 100644 index 0000000..35e550b Binary files /dev/null and b/plugins/2020.3569/iphone/resources/Frameworks/.DS_Store differ diff --git a/plugins/2020.3569/iphone/resources/Frameworks/FBAEMKit.framework/FBAEMKit b/plugins/2020.3569/iphone/resources/Frameworks/FBAEMKit.framework/FBAEMKit deleted file mode 100755 index aeb2bdf..0000000 Binary files a/plugins/2020.3569/iphone/resources/Frameworks/FBAEMKit.framework/FBAEMKit and /dev/null differ diff --git a/plugins/2020.3569/iphone/resources/Frameworks/FBAEMKit.framework/Headers/FBAEMKit.h b/plugins/2020.3569/iphone/resources/Frameworks/FBAEMKit.framework/Headers/FBAEMKit.h deleted file mode 100644 index 45c33e0..0000000 --- a/plugins/2020.3569/iphone/resources/Frameworks/FBAEMKit.framework/Headers/FBAEMKit.h +++ /dev/null @@ -1,11 +0,0 @@ -/* - * Copyright (c) Meta Platforms, Inc. and affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import -#import -#import diff --git a/plugins/2020.3569/iphone/resources/Frameworks/FBAEMKit.framework/Headers/FBAEMReporter.h b/plugins/2020.3569/iphone/resources/Frameworks/FBAEMKit.framework/Headers/FBAEMReporter.h deleted file mode 100644 index 3e0fbea..0000000 --- a/plugins/2020.3569/iphone/resources/Frameworks/FBAEMKit.framework/Headers/FBAEMReporter.h +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright (c) Meta Platforms, Inc. and affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#if !TARGET_OS_TV - - #import - - #import - #import - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(AEMReporter) -@interface FBAEMReporter : NSObject - -/** - - Configure networker used for calling Facebook AEM Graph API endpoint - and Facebook App ID - - This function should be called in application(_:open:options:) from ApplicationDelegate - and BEFORE [FBAEMReporter enable] function - - @param networker An optional networker conforms to FBAEMNetworking which handles Graph API request - @param appID An optional Facebook app ID, if it's null, we will get it from info.plist file with key: FacebookAppID - */ -+ (void)configureWithNetworker:(nullable id)networker - appID:(nullable NSString *)appID; - -/** - - Configure networker used for calling Facebook AEM Graph API endpoint - and Facebook App ID - - This function should be called in application(_:open:options:) from ApplicationDelegate - and BEFORE [FBAEMReporter enable] function. We will use SKAdNetwork reporter to prevent - double counting. - - @param networker An optional networker conforms to FBAEMNetworking which handles Graph API request - @param appID An optional Facebook app ID, if it's null, we will get it from info.plist file with key: FacebookAppID - @param reporter The SKAdNetwork repoter - */ -+ (void)configureWithNetworker:(nullable id)networker - appID:(nullable NSString *)appID - reporter:(nullable id)reporter; - -/** - - Enable AEM reporting - - This function should be called in application(_:open:options:) from ApplicationDelegate - */ -+ (void)enable; - -/** - - Control whether to enable catalog reporting - - This function should be called in application(_:open:options:) from ApplicationDelegate - */ -+ (void)setCatalogReportEnabled:(BOOL)enabled; - -/** - - Handle deeplink - - This function should be called in application(_:open:options:) from ApplicationDelegate - */ -+ (void)handleURL:(NSURL *)url; - -/** - - Calculate the conversion value for the app event based on the AEM configuration - - This function should be called when you log any in-app events - */ - -// UNCRUSTIFY_FORMAT_OFF -+ (void)recordAndUpdateEvent:(NSString *)event - currency:(nullable NSString *)currency - value:(nullable NSNumber *)value - parameters:(nullable NSDictionary *)parameters -NS_SWIFT_NAME(recordAndUpdate(event:currency:value:parameters:)); -// UNCRUSTIFY_FORMAT_ON - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/plugins/2020.3569/iphone/resources/Frameworks/FBAEMKit.framework/Info.plist b/plugins/2020.3569/iphone/resources/Frameworks/FBAEMKit.framework/Info.plist deleted file mode 100644 index ec78fc7..0000000 Binary files a/plugins/2020.3569/iphone/resources/Frameworks/FBAEMKit.framework/Info.plist and /dev/null differ diff --git a/plugins/2020.3569/iphone/resources/Frameworks/FBAEMKit.framework/Modules/module.modulemap b/plugins/2020.3569/iphone/resources/Frameworks/FBAEMKit.framework/Modules/module.modulemap deleted file mode 100644 index 14349e5..0000000 --- a/plugins/2020.3569/iphone/resources/Frameworks/FBAEMKit.framework/Modules/module.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module FBAEMKit { - umbrella header "FBAEMKit.h" - - export * - module * { export * } -} diff --git a/plugins/2020.3569/iphone/resources/Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit b/plugins/2020.3569/iphone/resources/Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit deleted file mode 100755 index ba4bc29..0000000 Binary files a/plugins/2020.3569/iphone/resources/Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit and /dev/null differ diff --git a/plugins/2020.3569/iphone/resources/Frameworks/FBSDKCoreKit.framework/Info.plist b/plugins/2020.3569/iphone/resources/Frameworks/FBSDKCoreKit.framework/Info.plist deleted file mode 100644 index 5e62807..0000000 Binary files a/plugins/2020.3569/iphone/resources/Frameworks/FBSDKCoreKit.framework/Info.plist and /dev/null differ diff --git a/plugins/2020.3569/iphone/resources/Frameworks/FBSDKCoreKit_Basics.framework/FBSDKCoreKit_Basics b/plugins/2020.3569/iphone/resources/Frameworks/FBSDKCoreKit_Basics.framework/FBSDKCoreKit_Basics deleted file mode 100755 index c2cc797..0000000 Binary files a/plugins/2020.3569/iphone/resources/Frameworks/FBSDKCoreKit_Basics.framework/FBSDKCoreKit_Basics and /dev/null differ diff --git a/plugins/2020.3569/iphone/resources/Frameworks/FBSDKCoreKit_Basics.framework/Info.plist b/plugins/2020.3569/iphone/resources/Frameworks/FBSDKCoreKit_Basics.framework/Info.plist deleted file mode 100644 index e1eb5eb..0000000 Binary files a/plugins/2020.3569/iphone/resources/Frameworks/FBSDKCoreKit_Basics.framework/Info.plist and /dev/null differ diff --git a/plugins/2020.3569/iphone/resources/Frameworks/FBSDKLoginKit.framework/FBSDKLoginKit b/plugins/2020.3569/iphone/resources/Frameworks/FBSDKLoginKit.framework/FBSDKLoginKit deleted file mode 100755 index 693026a..0000000 Binary files a/plugins/2020.3569/iphone/resources/Frameworks/FBSDKLoginKit.framework/FBSDKLoginKit and /dev/null differ diff --git a/plugins/2020.3569/iphone/resources/Frameworks/FBSDKLoginKit.framework/Info.plist b/plugins/2020.3569/iphone/resources/Frameworks/FBSDKLoginKit.framework/Info.plist deleted file mode 100644 index 5b7c1a8..0000000 Binary files a/plugins/2020.3569/iphone/resources/Frameworks/FBSDKLoginKit.framework/Info.plist and /dev/null differ diff --git a/plugins/2020.3569/iphone/resources/Frameworks/FBSDKShareKit.framework/FBSDKShareKit b/plugins/2020.3569/iphone/resources/Frameworks/FBSDKShareKit.framework/FBSDKShareKit old mode 100755 new mode 100644 index c6aa17b..630cc20 Binary files a/plugins/2020.3569/iphone/resources/Frameworks/FBSDKShareKit.framework/FBSDKShareKit and b/plugins/2020.3569/iphone/resources/Frameworks/FBSDKShareKit.framework/FBSDKShareKit differ diff --git a/plugins/2020.3569/iphone/resources/Frameworks/FBSDKShareKit.framework/Info.plist b/plugins/2020.3569/iphone/resources/Frameworks/FBSDKShareKit.framework/Info.plist index 0ff4c8f..a02c7c2 100644 Binary files a/plugins/2020.3569/iphone/resources/Frameworks/FBSDKShareKit.framework/Info.plist and b/plugins/2020.3569/iphone/resources/Frameworks/FBSDKShareKit.framework/Info.plist differ diff --git a/plugins/2020.3569/mac-sim/plugin_facebook_v4a.lua b/plugins/2020.3569/mac-sim/plugin_facebook_v4a.lua index 1b2ea81..33c305b 100644 --- a/plugins/2020.3569/mac-sim/plugin_facebook_v4a.lua +++ b/plugins/2020.3569/mac-sim/plugin_facebook_v4a.lua @@ -41,6 +41,7 @@ lib.init = defaultFunction lib.disableLoggingBehaviors = defaultFunction lib.enableLoggingBehaviors = defaultFunction lib.getSDKVersion = defaultFunction +lib.logEvent = defaultFunction -- Introduced in Android Beta v1 and deprecated later lib.currentAccessToken = defaultFunctionReturnNil diff --git a/plugins/2020.3569/win32-sim/plugin_facebook_v4a.lua b/plugins/2020.3569/win32-sim/plugin_facebook_v4a.lua index 1b2ea81..33c305b 100644 --- a/plugins/2020.3569/win32-sim/plugin_facebook_v4a.lua +++ b/plugins/2020.3569/win32-sim/plugin_facebook_v4a.lua @@ -41,6 +41,7 @@ lib.init = defaultFunction lib.disableLoggingBehaviors = defaultFunction lib.enableLoggingBehaviors = defaultFunction lib.getSDKVersion = defaultFunction +lib.logEvent = defaultFunction -- Introduced in Android Beta v1 and deprecated later lib.currentAccessToken = defaultFunctionReturnNil diff --git a/src/Corona/build.settings b/src/Corona/build.settings index 0f1bee3..9911c12 100644 --- a/src/Corona/build.settings +++ b/src/Corona/build.settings @@ -7,8 +7,8 @@ -- https://docs.coronalabs.com/guide/social/setupFacebook/index.html -- When you've got your Facebook App ID enter it here: -local myFacebookAppID = "407318409718485" - +local myFacebookAppID = "1588880691401715" +local myFacebookClientToken = "4a18d06f315e892d14aa857873bde0da" settings = { orientation = { @@ -64,11 +64,18 @@ settings = android = { - facebookAppId = myFacebookAppID, + facebookAppId = myFacebookAppID, usesPermissions = { "android.permission.INTERNET", }, + applicationChildElements = + { + -- Array of strings + [[ + + ]], + }, }, diff --git a/src/Corona/main.lua b/src/Corona/main.lua index b800ff1..22af457 100644 --- a/src/Corona/main.lua +++ b/src/Corona/main.lua @@ -217,7 +217,7 @@ local function listener( event ) end end -facebook.init(listener) +--facebook.init(listener) local function buttonOnRelease( event ) diff --git a/src/android/app/src/main/res/values/strings.xml b/src/android/app/src/main/res/values/strings.xml index b44b69f..5c8f51d 100644 --- a/src/android/app/src/main/res/values/strings.xml +++ b/src/android/app/src/main/res/values/strings.xml @@ -1,4 +1,5 @@ Corona App + 1588880691401715 diff --git a/src/android/plugin/build.gradle b/src/android/plugin/build.gradle index 84083c9..470ec3e 100644 --- a/src/android/plugin/build.gradle +++ b/src/android/plugin/build.gradle @@ -13,9 +13,9 @@ android { dependencies { implementation ':Corona@aar' - implementation("com.facebook.android:facebook-core:12.3.0") - implementation("com.facebook.android:facebook-login:12.3.0") - implementation("com.facebook.android:facebook-share:12.3.0") + implementation("com.facebook.android:facebook-core:13.2.0") + implementation("com.facebook.android:facebook-login:13.2.0") + implementation("com.facebook.android:facebook-share:13.2.0") } task extractPluginJar() { diff --git a/src/android/plugin/src/main/java/picker/GraphObjectAdapter.java b/src/android/plugin/src/main/java/picker/GraphObjectAdapter.java index e9aa99d..b5f2d5f 100644 --- a/src/android/plugin/src/main/java/picker/GraphObjectAdapter.java +++ b/src/android/plugin/src/main/java/picker/GraphObjectAdapter.java @@ -69,6 +69,24 @@ class GraphObjectAdapter extends BaseAdapter implements SectionIndexer { private ArrayList prefetchedProfilePictureIds = new ArrayList(); private OnErrorListener onErrorListener; + //since hasSameId was removed (v13) + private boolean hasSameId(JSONObject a, JSONObject b){ + if(a == null || b == null || !a.has("id") || !b.has("id") ){ + return false; + } + if(a == b){ + return true; + } + String idA = a.optString("id"); + String idB = b.optString("id"); + if( idA == null || idB == null){ + return false; + }else{ + return idA == idB; + } + } + + public interface DataNeededListener { public void onDataNeeded(); } @@ -565,7 +583,8 @@ int getPosition(String sectionKey, JSONObject graphObject) { // Now find index of this item within that section. for (JSONObject t : graphObjectsBySection.get(sectionKey)) { - if (Utility.hasSameId(t, graphObject)) { + + if (hasSameId(t, graphObject)) { return position; } position++; diff --git a/src/android/plugin/src/main/java/plugin/facebook/v4a/FacebookController.java b/src/android/plugin/src/main/java/plugin/facebook/v4a/FacebookController.java index 29199fa..1e7e1df 100644 --- a/src/android/plugin/src/main/java/plugin/facebook/v4a/FacebookController.java +++ b/src/android/plugin/src/main/java/plugin/facebook/v4a/FacebookController.java @@ -128,6 +128,19 @@ class FacebookController { public static final String DIALOG_CANCELLED_MSG = "Dialog was cancelled by user."; public static final String INVALID_PARAMS_SHOW_DIALOG_ERR_MSG = ": Invalid parameters passed " + "to facebook.showDialog( action [, params] )."; + /** + * getMetadata for App to check + */ + public static Bundle getMetadata() { + try { + return CoronaEnvironment.getCoronaActivity().getPackageManager() + .getApplicationInfo(CoronaEnvironment.getCoronaActivity().getPackageName(), PackageManager.GET_META_DATA) + .metaData; + } catch (PackageManager.NameNotFoundException e) { + return null; + } + } + /** * Login callback */ @@ -877,8 +890,23 @@ public void run() { fbActivityResultHandler, 0xface); //100 if (!FacebookSdk.isInitialized()) { // Initialize the Facebook SDK - - FacebookSdk.sdkInitialize(activity.getApplicationContext(), requestCodeOffset); + if(getMetadata().containsKey("com.facebook.sdk.ClientToken")){ + FacebookSdk.sdkInitialize(activity.getApplicationContext(), requestCodeOffset); + }else{ + //Show warning if no client Id + AlertDialog fbWarningDialog = new AlertDialog.Builder(activity).create(); + fbWarningDialog.setTitle("Missing Facebook Client Token"); + fbWarningDialog.setMessage("Facebook now requires a client token which you are missing in your build.settings, see documentation for more information https://docs.coronalabs.com/plugin/facebook-v4a"); + fbWarningDialog.setButton(AlertDialog.BUTTON_NEUTRAL, "Ok", + new DialogInterface.OnClickListener() { + public void onClick(DialogInterface dialog, int which) { + dialog.dismiss(); + System.exit(0); + } + }); + fbWarningDialog.show(); + return; + } } // Create our callback manager and set up forwarding of login results diff --git a/src/android/plugin/src/main/java/plugin/facebook/v4a/LuaLoader.java b/src/android/plugin/src/main/java/plugin/facebook/v4a/LuaLoader.java index 8987287..61c35f7 100644 --- a/src/android/plugin/src/main/java/plugin/facebook/v4a/LuaLoader.java +++ b/src/android/plugin/src/main/java/plugin/facebook/v4a/LuaLoader.java @@ -8,6 +8,7 @@ package plugin.facebook.v4a; import android.content.ActivityNotFoundException; +import android.os.Bundle; import android.util.Log; import com.ansca.corona.CoronaActivity; @@ -17,13 +18,17 @@ import com.ansca.corona.CoronaRuntimeProvider; import com.ansca.corona.CoronaSystemApiHandler; import com.facebook.FacebookSdk; +import com.facebook.appevents.AppEventsConstants; +import com.facebook.appevents.AppEventsLogger; import com.naef.jnlua.JavaFunction; import com.naef.jnlua.LuaState; import com.naef.jnlua.LuaType; import com.naef.jnlua.NamedJavaFunction; import java.util.ArrayList; +import java.util.HashMap; import java.util.Hashtable; +import java.util.Map; // TODO: Null check Lua states in each namedJavaFunction. @SuppressWarnings("WeakerAccess") @@ -32,6 +37,54 @@ public class LuaLoader implements JavaFunction { // Set to true to compile in debug messages private static final boolean Rtt_DEBUG = true; // false; + //App Event Name & Param + Map AppEventName = new HashMap() + { + { + put("achievedLevel", AppEventsConstants.EVENT_NAME_ACHIEVED_LEVEL); + put("adClick", AppEventsConstants.EVENT_NAME_AD_CLICK); + put("adImpression", AppEventsConstants.EVENT_NAME_AD_IMPRESSION); + put("addedPaymentInfo", AppEventsConstants.EVENT_NAME_ADDED_PAYMENT_INFO); + put("addedToCart", AppEventsConstants.EVENT_NAME_ADDED_TO_CART); + put("addedToWishlist", AppEventsConstants.EVENT_NAME_ADDED_TO_WISHLIST); + put("completedRegistration", AppEventsConstants.EVENT_NAME_COMPLETED_REGISTRATION); + put("completedTutorial", AppEventsConstants.EVENT_NAME_COMPLETED_TUTORIAL); + put("contact", AppEventsConstants.EVENT_NAME_CONTACT); + put("customizeProduct", AppEventsConstants.EVENT_NAME_CUSTOMIZE_PRODUCT); + put("donate", AppEventsConstants.EVENT_NAME_DONATE); + put("findLocation", AppEventsConstants.EVENT_NAME_FIND_LOCATION); + put("initiatedCheckout", AppEventsConstants.EVENT_NAME_INITIATED_CHECKOUT); + put("rated", AppEventsConstants.EVENT_NAME_RATED); + put("searched", AppEventsConstants.EVENT_NAME_SEARCHED); + put("spentCredits", AppEventsConstants.EVENT_NAME_SPENT_CREDITS); + put("startTrial", AppEventsConstants.EVENT_NAME_START_TRIAL); + put("submitApplication", AppEventsConstants.EVENT_NAME_SUBMIT_APPLICATION); + put("subscribe", AppEventsConstants.EVENT_NAME_SUBSCRIBE); + put("viewedContent", AppEventsConstants.EVENT_NAME_VIEWED_CONTENT); + } + }; + Map AppEventParams = new HashMap() + { + { + put("adType", AppEventsConstants.EVENT_PARAM_AD_TYPE); + put("content", AppEventsConstants.EVENT_PARAM_CONTENT); + put("contentID", AppEventsConstants.EVENT_PARAM_CONTENT_ID); + put("contentType", AppEventsConstants.EVENT_PARAM_CONTENT_TYPE); + put("currency", AppEventsConstants.EVENT_PARAM_CURRENCY); + put("description", AppEventsConstants.EVENT_PARAM_DESCRIPTION); + put("level", AppEventsConstants.EVENT_PARAM_LEVEL); + put("maxRatingValue", AppEventsConstants.EVENT_PARAM_MAX_RATING_VALUE); + put("numItems", AppEventsConstants.EVENT_PARAM_NUM_ITEMS); + put("orderID", AppEventsConstants.EVENT_PARAM_ORDER_ID); + put("paymentInfoAvailable", AppEventsConstants.EVENT_PARAM_PAYMENT_INFO_AVAILABLE); + put("registrationMethod", AppEventsConstants.EVENT_PARAM_REGISTRATION_METHOD); + put("searchString", AppEventsConstants.EVENT_PARAM_SEARCH_STRING); + put("success", AppEventsConstants.EVENT_PARAM_SUCCESS); + + } + }; + + @SuppressWarnings("FieldCanBeLocal") private CoronaRuntime mRuntime; @@ -72,6 +125,7 @@ public int invoke(LuaState L) { new SetFBConnectListenerWrapper(), new ShowDialogWrapper(), new GetSDKVersionWrapper(), + new LogEvent(), }; String libName = L.toString( 1 ); @@ -429,4 +483,67 @@ public int invoke(LuaState L) { return 1; } } + private class LogEvent implements NamedJavaFunction + { + @Override + public String getName() { + return "logEvent"; + } + + @Override + public int invoke(LuaState L) { + + AppEventsLogger logger = AppEventsLogger.newLogger(CoronaEnvironment.getCoronaActivity()); + if(L.isString(1) && L.isNil(2)){ + if(AppEventName.containsKey(L.toString(1))){ + logger.logEvent(AppEventName.get(L.toString(1))); + }else{ + logger.logEvent(L.toString(1)); + } + }else if(L.isString(1) && L.isNumber(2)){ + if(AppEventName.containsKey(L.toString(1))){ + logger.logEvent(AppEventName.get(L.toString(1)), L.toNumber(2)); + }else{ + logger.logEvent(L.toString(1), L.toNumber(2)); + } + }else if(L.isString(1) && L.isNumber(2)){ + if(AppEventName.containsKey(L.toString(1))){ + logger.logEvent(AppEventName.get(L.toString(1)), L.toNumber(2)); + }else{ + logger.logEvent(L.toString(1), L.toNumber(2)); + } + }else if(L.isString(1) && L.isTable(2) && L.isNumber(3)){ + Bundle appParams = new Bundle(); + for(L.pushNil(); L.next(2); L.pop(1)){ + String keyName = L.toString(-2); + if(AppEventName.containsKey(keyName)){ + keyName = AppEventParams.get(keyName); + } + appParams.putString(keyName, L.toString(-1)); + } + if(AppEventName.containsKey(L.toString(1))){ + logger.logEvent(AppEventName.get(L.toString(1)), L.toNumber(3), appParams); + }else{ + logger.logEvent(L.toString(1), L.toNumber(3), appParams); + } + + }else if(L.isString(1) && L.isTable(2)){ + Bundle appParams = new Bundle(); + for(L.pushNil(); L.next(2); L.pop(1)){ + String keyName = L.toString(-2); + if(AppEventName.containsKey(keyName)){ + keyName = AppEventParams.get(keyName); + } + appParams.putString(keyName, L.toString(-1)); + } + if(AppEventName.containsKey(L.toString(1))){ + logger.logEvent(AppEventName.get(L.toString(1)), appParams); + }else{ + logger.logEvent(L.toString(1), appParams); + } + } + return 1; + } + } + } diff --git a/src/ios/App.xcodeproj/project.pbxproj b/src/ios/App.xcodeproj/project.pbxproj index e8af800..39d9935 100644 --- a/src/ios/App.xcodeproj/project.pbxproj +++ b/src/ios/App.xcodeproj/project.pbxproj @@ -58,6 +58,12 @@ A4C2449C1683FA5300C395D1 /* Social.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A4C244991683FA5300C395D1 /* Social.framework */; settings = {ATTRIBUTES = (Weak, ); }; }; A4E2537F166AE3DC00DCDC2C /* Twitter.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A4E2537E166AE3DC00DCDC2C /* Twitter.framework */; settings = {ATTRIBUTES = (Weak, ); }; }; C22C1E4B1E981D9000D74196 /* LaunchScreen.storyboardc in Resources */ = {isa = PBXBuildFile; fileRef = C22C1E4A1E981D9000D74196 /* LaunchScreen.storyboardc */; }; + DB04A94B282C40A900AE2DB7 /* FBAEMKit.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = DB04A945282C40A900AE2DB7 /* FBAEMKit.xcframework */; }; + DB04A94C282C40A900AE2DB7 /* FBSDKCoreKit_Basics.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = DB04A946282C40A900AE2DB7 /* FBSDKCoreKit_Basics.xcframework */; }; + DB04A94D282C40A900AE2DB7 /* FBSDKCoreKit.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = DB04A947282C40A900AE2DB7 /* FBSDKCoreKit.xcframework */; }; + DB04A94E282C40A900AE2DB7 /* FBSDKShareKit.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = DB04A948282C40A900AE2DB7 /* FBSDKShareKit.xcframework */; }; + DB04A94F282C40A900AE2DB7 /* FBSDKGamingServicesKit.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = DB04A949282C40A900AE2DB7 /* FBSDKGamingServicesKit.xcframework */; }; + DB04A950282C40A900AE2DB7 /* FBSDKLoginKit.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = DB04A94A282C40A900AE2DB7 /* FBSDKLoginKit.xcframework */; }; DB84F99127975E2D00892C2E /* blank.swift in Sources */ = {isa = PBXBuildFile; fileRef = DB84F99027975E2D00892C2E /* blank.swift */; }; DB84F99327975EA700892C2E /* Accelerate.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DB84F99227975EA700892C2E /* Accelerate.framework */; }; E640B2F21BFC00B00031FAE9 /* AssetsLibrary.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E640B2F11BFC00B00031FAE9 /* AssetsLibrary.framework */; settings = {ATTRIBUTES = (Weak, ); }; }; @@ -131,6 +137,12 @@ A4E253DA166DE7C800DCDC2C /* Plugin.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; path = Plugin.xcodeproj; sourceTree = ""; }; C22C1E4A1E981D9000D74196 /* LaunchScreen.storyboardc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = wrapper.storyboardc; name = LaunchScreen.storyboardc; path = ../Corona/LaunchScreen.storyboardc; sourceTree = ""; }; C277D3B51EBB9F8E00966BA1 /* _CoronaSplashScreen.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = _CoronaSplashScreen.png; sourceTree = ""; }; + DB04A945282C40A900AE2DB7 /* FBAEMKit.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = FBAEMKit.xcframework; path = EmbeddedFrameworks/FBAEMKit.xcframework; sourceTree = ""; }; + DB04A946282C40A900AE2DB7 /* FBSDKCoreKit_Basics.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = FBSDKCoreKit_Basics.xcframework; path = EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework; sourceTree = ""; }; + DB04A947282C40A900AE2DB7 /* FBSDKCoreKit.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = FBSDKCoreKit.xcframework; path = EmbeddedFrameworks/FBSDKCoreKit.xcframework; sourceTree = ""; }; + DB04A948282C40A900AE2DB7 /* FBSDKShareKit.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = FBSDKShareKit.xcframework; path = EmbeddedFrameworks/FBSDKShareKit.xcframework; sourceTree = ""; }; + DB04A949282C40A900AE2DB7 /* FBSDKGamingServicesKit.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = FBSDKGamingServicesKit.xcframework; path = EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework; sourceTree = ""; }; + DB04A94A282C40A900AE2DB7 /* FBSDKLoginKit.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = FBSDKLoginKit.xcframework; path = EmbeddedFrameworks/FBSDKLoginKit.xcframework; sourceTree = ""; }; DB84F99027975E2D00892C2E /* blank.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = blank.swift; sourceTree = ""; }; DB84F99227975EA700892C2E /* Accelerate.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Accelerate.framework; path = System/Library/Frameworks/Accelerate.framework; sourceTree = SDKROOT; }; E640B2F11BFC00B00031FAE9 /* AssetsLibrary.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AssetsLibrary.framework; path = System/Library/Frameworks/AssetsLibrary.framework; sourceTree = SDKROOT; }; @@ -151,12 +163,14 @@ files = ( F51C66D61EE0D3B20040E4BE /* libplugin_facebook.a in Frameworks */, E640B2F41BFC00BA0031FAE9 /* Photos.framework in Frameworks */, + DB04A94F282C40A900AE2DB7 /* FBSDKGamingServicesKit.xcframework in Frameworks */, E640B2F21BFC00B00031FAE9 /* AssetsLibrary.framework in Frameworks */, DB84F99327975EA700892C2E /* Accelerate.framework in Frameworks */, F5BB41531BC42ACF0033F6FA /* CoreText.framework in Frameworks */, A46885F418068C2900381941 /* CoreVideo.framework in Frameworks */, A46885F218068C2200381941 /* GLKit.framework in Frameworks */, A4C2449A1683FA5300C395D1 /* Accounts.framework in Frameworks */, + DB04A950282C40A900AE2DB7 /* FBSDKLoginKit.xcframework in Frameworks */, A4C2449C1683FA5300C395D1 /* Social.framework in Frameworks */, A484117715128D5D0074BD57 /* AddressBook.framework in Frameworks */, A484117815128D5D0074BD57 /* AddressBookUI.framework in Frameworks */, @@ -167,6 +181,8 @@ A484117C15128D5D0074BD57 /* CoreLocation.framework in Frameworks */, A484117D15128D5D0074BD57 /* CoreMedia.framework in Frameworks */, A484117E15128D5D0074BD57 /* CoreMotion.framework in Frameworks */, + DB04A94E282C40A900AE2DB7 /* FBSDKShareKit.xcframework in Frameworks */, + DB04A94B282C40A900AE2DB7 /* FBAEMKit.xcframework in Frameworks */, A484112015114F700074BD57 /* Foundation.framework in Frameworks */, A484117F15128D5D0074BD57 /* GameKit.framework in Frameworks */, F5E548091BE7FF0200091810 /* GameController.framework in Frameworks */, @@ -174,9 +190,11 @@ A484118115128D5D0074BD57 /* libobjc.dylib in Frameworks */, A48411CA15129F610074BD57 /* libsqlite3.dylib in Frameworks */, A484118215128D5D0074BD57 /* MapKit.framework in Frameworks */, + DB04A94D282C40A900AE2DB7 /* FBSDKCoreKit.xcframework in Frameworks */, A484118315128D5D0074BD57 /* MediaPlayer.framework in Frameworks */, A484118415128D5D0074BD57 /* MessageUI.framework in Frameworks */, A484118515128D5D0074BD57 /* MobileCoreServices.framework in Frameworks */, + DB04A94C282C40A900AE2DB7 /* FBSDKCoreKit_Basics.xcframework in Frameworks */, A484118615128D5D0074BD57 /* OpenAL.framework in Frameworks */, A484112615114F700074BD57 /* OpenGLES.framework in Frameworks */, A484118715128D5D0074BD57 /* QuartzCore.framework in Frameworks */, @@ -213,6 +231,12 @@ A484110E15114F700074BD57 = { isa = PBXGroup; children = ( + DB04A945282C40A900AE2DB7 /* FBAEMKit.xcframework */, + DB04A946282C40A900AE2DB7 /* FBSDKCoreKit_Basics.xcframework */, + DB04A947282C40A900AE2DB7 /* FBSDKCoreKit.xcframework */, + DB04A949282C40A900AE2DB7 /* FBSDKGamingServicesKit.xcframework */, + DB04A94A282C40A900AE2DB7 /* FBSDKLoginKit.xcframework */, + DB04A948282C40A900AE2DB7 /* FBSDKShareKit.xcframework */, DB84F99027975E2D00892C2E /* blank.swift */, A4E253DA166DE7C800DCDC2C /* Plugin.xcodeproj */, A484112715114F700074BD57 /* App */, diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.framework/FBAEMKit b/src/ios/EmbeddedFrameworks/FBAEMKit.framework/FBAEMKit deleted file mode 100644 index 30d7172..0000000 Binary files a/src/ios/EmbeddedFrameworks/FBAEMKit.framework/FBAEMKit and /dev/null differ diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.framework/Headers/FBAEMKit.h b/src/ios/EmbeddedFrameworks/FBAEMKit.framework/Headers/FBAEMKit.h deleted file mode 100644 index c87fe32..0000000 --- a/src/ios/EmbeddedFrameworks/FBAEMKit.framework/Headers/FBAEMKit.h +++ /dev/null @@ -1,11 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import -#import -#import diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.framework/Headers/FBAEMNetworking.h b/src/ios/EmbeddedFrameworks/FBAEMKit.framework/Headers/FBAEMNetworking.h deleted file mode 100644 index 9387e79..0000000 --- a/src/ios/EmbeddedFrameworks/FBAEMKit.framework/Headers/FBAEMNetworking.h +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#if !TARGET_OS_TV - - #import - -NS_ASSUME_NONNULL_BEGIN - -typedef void (^FBGraphRequestCompletion)(id _Nullable result, NSError *_Nullable error); - -NS_SWIFT_NAME(AEMNetworking) -@protocol FBAEMNetworking - -- (void)startGraphRequestWithGraphPath:(NSString *)graphPath - parameters:(NSDictionary *)parameters - tokenString:(nullable NSString *)tokenString - HTTPMethod:(nullable NSString *)method - completion:(FBGraphRequestCompletion)completion; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.framework/Headers/FBAEMReporter.h b/src/ios/EmbeddedFrameworks/FBAEMKit.framework/Headers/FBAEMReporter.h deleted file mode 100644 index 4885776..0000000 --- a/src/ios/EmbeddedFrameworks/FBAEMKit.framework/Headers/FBAEMReporter.h +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#if !TARGET_OS_TV - - #import - - #import - #import - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(AEMReporter) -@interface FBAEMReporter : NSObject - -/** - - Configure networker used for calling Facebook AEM Graph API endpoint - and Facebook App ID - - This function should be called in application(_:open:options:) from ApplicationDelegate - and BEFORE [FBAEMReporter enable] function - - @param networker An optional networker conforms to FBAEMNetworking which handles Graph API request - @param appID An optional Facebook app ID, if it's null, we will get it from info.plist file with key: FacebookAppID - */ -+ (void)configureWithNetworker:(nullable id)networker - appID:(nullable NSString *)appID; - -/** - - Configure networker used for calling Facebook AEM Graph API endpoint - and Facebook App ID - - This function should be called in application(_:open:options:) from ApplicationDelegate - and BEFORE [FBAEMReporter enable] function. We will use SKAdNetwork reporter to prevent - double counting. - - @param networker An optional networker conforms to FBAEMNetworking which handles Graph API request - @param appID An optional Facebook app ID, if it's null, we will get it from info.plist file with key: FacebookAppID - @param reporter The SKAdNetwork repoter - */ -+ (void)configureWithNetworker:(nullable id)networker - appID:(nullable NSString *)appID - reporter:(nullable id)reporter; - -/** - - Enable AEM reporting - - This function should be called in application(_:open:options:) from ApplicationDelegate - */ -+ (void)enable; - -/** - - Control whether to enable catalog reporting - - This function should be called in application(_:open:options:) from ApplicationDelegate - */ -+ (void)setCatalogReportEnabled:(BOOL)enabled; - -/** - - Handle deeplink - - This function should be called in application(_:open:options:) from ApplicationDelegate - */ -+ (void)handleURL:(NSURL *)url; - -/** - - Calculate the conversion value for the app event based on the AEM configuration - - This function should be called when you log any in-app events - */ - -// UNCRUSTIFY_FORMAT_OFF -+ (void)recordAndUpdateEvent:(NSString *)event - currency:(nullable NSString *)currency - value:(nullable NSNumber *)value - parameters:(nullable NSDictionary *)parameters -NS_SWIFT_NAME(recordAndUpdate(event:currency:value:parameters:)); -// UNCRUSTIFY_FORMAT_ON - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.framework/Headers/FBSKAdNetworkReporting.h b/src/ios/EmbeddedFrameworks/FBAEMKit.framework/Headers/FBSKAdNetworkReporting.h deleted file mode 100644 index 4e9fc90..0000000 --- a/src/ios/EmbeddedFrameworks/FBAEMKit.framework/Headers/FBSKAdNetworkReporting.h +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(SKAdNetworkReporting) -@protocol FBSKAdNetworkReporting - -- (BOOL)shouldCutoff; - -- (BOOL)isReportingEvent:(NSString *)event; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.framework/Info.plist b/src/ios/EmbeddedFrameworks/FBAEMKit.framework/Info.plist deleted file mode 100644 index c293228..0000000 Binary files a/src/ios/EmbeddedFrameworks/FBAEMKit.framework/Info.plist and /dev/null differ diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.framework/Modules/module.modulemap b/src/ios/EmbeddedFrameworks/FBAEMKit.framework/Modules/module.modulemap deleted file mode 100644 index 14349e5..0000000 --- a/src/ios/EmbeddedFrameworks/FBAEMKit.framework/Modules/module.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module FBAEMKit { - umbrella header "FBAEMKit.h" - - export * - module * { export * } -} diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/Info.plist b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/Info.plist new file mode 100644 index 0000000..d6b6aff --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/Info.plist @@ -0,0 +1,82 @@ + + + + + AvailableLibraries + + + LibraryIdentifier + ios-arm64_x86_64-maccatalyst + LibraryPath + FBAEMKit.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + maccatalyst + + + LibraryIdentifier + tvos-arm64 + LibraryPath + FBAEMKit.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + tvos + + + LibraryIdentifier + tvos-arm64_x86_64-simulator + LibraryPath + FBAEMKit.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + tvos + SupportedPlatformVariant + simulator + + + LibraryIdentifier + ios-arm64 + LibraryPath + FBAEMKit.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + + + LibraryIdentifier + ios-arm64_x86_64-simulator + LibraryPath + FBAEMKit.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/LICENSE b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/LICENSE new file mode 100644 index 0000000..2eecb62 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/LICENSE @@ -0,0 +1,17 @@ +Copyright (c) Meta Platforms, Inc. and affiliates. 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 Platform Policy +[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. diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/FBAEMKit b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/FBAEMKit new file mode 100644 index 0000000..6028062 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/FBAEMKit differ diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleFactory.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleFactory.h new file mode 100644 index 0000000..dabe6a6 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleFactory.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + + #import + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_AEMAdvertiserRuleFactory) +@interface FBAEMAdvertiserRuleFactory : NSObject + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleMatching.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleMatching.h new file mode 100644 index 0000000..1645610 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleMatching.h @@ -0,0 +1,32 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_AEMAdvertiserRuleMatching) +@protocol FBAEMAdvertiserRuleMatching + +- (BOOL)isMatchedEventParameters:(nullable NSDictionary *)eventParams; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleOperator.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleOperator.h new file mode 100644 index 0000000..7e6f4ba --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleOperator.h @@ -0,0 +1,46 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +typedef NS_CLOSED_ENUM (NSInteger, FBAEMAdvertiserRuleOperator) +{ + FBAEMAdvertiserRuleOperatorUnknown = 0, + // Multi Entry Rule Operator + FBAEMAdvertiserRuleOperatorAnd, + FBAEMAdvertiserRuleOperatorOr, + FBAEMAdvertiserRuleOperatorNot, + // Single Entry Rule Operator + FBAEMAdvertiserRuleOperatorContains, + FBAEMAdvertiserRuleOperatorNotContains, + FBAEMAdvertiserRuleOperatorStartsWith, + FBAEMAdvertiserRuleOperatorCaseInsensitiveContains, + FBAEMAdvertiserRuleOperatorCaseInsensitiveNotContains, + FBAEMAdvertiserRuleOperatorCaseInsensitiveStartsWith, + FBAEMAdvertiserRuleOperatorRegexMatch, + FBAEMAdvertiserRuleOperatorEqual, + FBAEMAdvertiserRuleOperatorNotEqual, + FBAEMAdvertiserRuleOperatorLessThan, + FBAEMAdvertiserRuleOperatorLessThanOrEqual, + FBAEMAdvertiserRuleOperatorGreaterThan, + FBAEMAdvertiserRuleOperatorGreaterThanOrEqual, + FBAEMAdvertiserRuleOperatorCaseInsensitiveIsAny, + FBAEMAdvertiserRuleOperatorCaseInsensitiveIsNotAny, + FBAEMAdvertiserRuleOperatorIsAny, + FBAEMAdvertiserRuleOperatorIsNotAny +} NS_SWIFT_NAME(_AEMAdvertiserRuleOperator); + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleProviding.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleProviding.h new file mode 100644 index 0000000..0a99291 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleProviding.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +/// Describes anything that can provide instances of `AEMAdvertiserRuleMatching` +NS_SWIFT_NAME(_AEMAdvertiserRuleProviding) +@protocol FBAEMAdvertiserRuleProviding + +- (nullable id)createRuleWithJson:(nullable NSString *)json; + +- (nullable id)createRuleWithDict:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMAdvertiserSingleEntryRule.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMAdvertiserSingleEntryRule.h new file mode 100644 index 0000000..79c12ee --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMAdvertiserSingleEntryRule.h @@ -0,0 +1,48 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + + #import + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_AEMAdvertiserSingleEntryRule) +@interface FBAEMAdvertiserSingleEntryRule : NSObject + +@property (nonatomic, readonly, assign)FBAEMAdvertiserRuleOperator operator; +@property (nonatomic, readonly) NSString *paramKey; +@property (nullable, nonatomic, readonly) NSString *linguisticCondition; +@property (nullable, nonatomic, readonly) NSNumber *numericalCondition; +@property (nullable, nonatomic, readonly) NSArray *arrayCondition; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +- (instancetype)initWithOperator:(FBAEMAdvertiserRuleOperator)op + paramKey:(NSString *)paramKey + linguisticCondition:(nullable NSString *)linguisticCondition + numericalCondition:(nullable NSNumber *)numericalCondition + arrayCondition:(nullable NSArray *)arrayCondition; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMInvocation.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMInvocation.h new file mode 100644 index 0000000..f102955 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMInvocation.h @@ -0,0 +1,92 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + +@class FBAEMConfiguration; + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_AEMInvocation) +@interface FBAEMInvocation : NSObject + +@property (nonatomic, readonly, copy) NSString *campaignID; + +@property (nonatomic, readonly, copy) NSString *ACSToken; + +@property (nullable, nonatomic, readonly, copy) NSString *ACSSharedSecret; + +@property (nullable, nonatomic, readonly, copy) NSString *ACSConfigID; + +@property (nullable, nonatomic, readonly, copy) NSString *businessID; + +@property (nullable, nonatomic, readonly, copy) NSString *catalogID; + +@property (nonatomic, readonly, assign) BOOL isTestMode; + +@property (nonatomic, readonly, assign) BOOL hasSKAN; + +@property (nonatomic, readonly, assign) BOOL isConversionFilteringEligible; + +@property (nonatomic, readonly, copy) NSDate *timestamp; + +@property (nonatomic, readonly, copy) NSString *configMode; + +/// The unique identifier of the config, it's the same as config's validFrom +@property (nonatomic, readonly, assign) NSInteger configID; + +@property (nonatomic, readonly) NSMutableSet *recordedEvents; + +@property (nonatomic, readonly) NSMutableDictionary *> *recordedValues; + +@property (nonatomic, readonly, assign) NSInteger conversionValue; + +@property (nonatomic, readonly, assign) NSInteger priority; + +@property (nullable, nonatomic, readonly) NSDate *conversionTimestamp; + +@property (nonatomic, assign) BOOL isAggregated; + ++ (instancetype)new NS_UNAVAILABLE; +- (instancetype)init NS_UNAVAILABLE; + ++ (nullable instancetype)invocationWithAppLinkData:(nullable NSDictionary *)applinkData; + +- (BOOL)attributeEvent:(NSString *)event + currency:(nullable NSString *)currency + value:(nullable NSNumber *)value + parameters:(nullable NSDictionary *)parameters + configs:(nullable NSDictionary *> *)configs + shouldUpdateCache:(BOOL)shouldUpdateCache; + +- (BOOL)updateConversionValueWithConfigs:(nullable NSDictionary *> *)configs + event:(NSString *)event + shouldBoostPriority:(BOOL)shouldBoostPriority; + +- (BOOL)isOptimizedEvent:(NSString *)event + configs:(nullable NSDictionary *> *)configs; + +- (BOOL)isOutOfWindowWithConfigs:(nullable NSDictionary *> *)configs; + +- (nullable NSString *)getHMAC:(NSInteger)delay; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMKit-Prefix-Header.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMKit-Prefix-Header.h new file mode 100644 index 0000000..040ca1e --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMKit-Prefix-Header.h @@ -0,0 +1,9 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMKit-Swift.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMKit-Swift.h new file mode 100644 index 0000000..aa38632 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMKit-Swift.h @@ -0,0 +1,296 @@ +// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +#ifndef FBAEMKIT_SWIFT_H +#define FBAEMKIT_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import Foundation; +@import ObjectiveC; +#endif + +#import + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBAEMKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +@class NSString; +@class NSNumber; +@class NSCoder; + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_CLASS_NAMED("_AEMAdvertiserMultiEntryRule") +@interface FBAEMAdvertiserMultiEntryRule : NSObject +- (nonnull instancetype)initWithOperator:(enum FBAEMAdvertiserRuleOperator)operator_ rules:(NSArray> * _Nonnull)rules OBJC_DESIGNATED_INITIALIZER; +- (BOOL)isMatchedEventParameters:(NSDictionary * _Nullable)eventParams SWIFT_WARN_UNUSED_RESULT; +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) BOOL supportsSecureCoding;) ++ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder; +- (void)encodeWithCoder:(NSCoder * _Nonnull)coder; +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +@class FBAEMRule; +@protocol FBAEMAdvertiserRuleProviding; + +SWIFT_CLASS_NAMED("_AEMConfiguration") +@interface FBAEMConfiguration : NSObject +@property (nonatomic, readonly) NSInteger cutoffTime; +/// The UNIX timestamp of config’s valid date and works as a unqiue identifier of the config +@property (nonatomic, readonly) NSInteger validFrom; +@property (nonatomic, readonly, copy) NSString * _Nonnull defaultCurrency; +@property (nonatomic, readonly, copy) NSString * _Nonnull configMode; +@property (nonatomic, readonly, copy) NSString * _Nullable businessID; +@property (nonatomic, readonly, strong) id _Nullable matchingRule; +@property (nonatomic, readonly, copy) NSArray * _Nonnull conversionValueRules; +@property (nonatomic, readonly, copy) NSSet * _Nonnull eventSet; +@property (nonatomic, readonly, copy) NSSet * _Nonnull currencySet; +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) id _Nullable ruleProvider;) ++ (id _Nullable)ruleProvider SWIFT_WARN_UNUSED_RESULT; ++ (void)configureWithRuleProvider:(id _Nonnull)ruleProvider; +- (nullable instancetype)initWithJSON:(NSDictionary * _Nullable)dict OBJC_DESIGNATED_INITIALIZER; +- (BOOL)isSameValidFrom:(NSInteger)validFrom businessID:(NSString * _Nullable)businessID SWIFT_WARN_UNUSED_RESULT; +- (BOOL)isSameBusinessID:(NSString * _Nullable)businessID SWIFT_WARN_UNUSED_RESULT; +- (void)encodeWithCoder:(NSCoder * _Nonnull)coder; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder; +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) BOOL supportsSecureCoding;) ++ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT; +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_CLASS_NAMED("_AEMEvent") +@interface FBAEMEvent : NSObject +@property (nonatomic, readonly, copy) NSString * _Nonnull eventName; +@property (nonatomic, readonly, copy) NSDictionary * _Nullable values; +- (nullable instancetype)initWithJSON:(NSDictionary * _Nullable)dict OBJC_DESIGNATED_INITIALIZER; +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) BOOL supportsSecureCoding;) ++ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder; +- (void)encodeWithCoder:(NSCoder * _Nonnull)coder; +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_CLASS_NAMED("_AEMSettings") +@interface FBAEMSettings : NSObject ++ (NSString * _Nullable)appID SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMKit.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMKit.h new file mode 100644 index 0000000..71137f8 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMKit.h @@ -0,0 +1,26 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import +#import + +// Temporarily public +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMKitVersions.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMKitVersions.h new file mode 100644 index 0000000..1093c0b --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMKitVersions.h @@ -0,0 +1,10 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#define FBAEMKit_VERSION_STRING @"13.2.0" +#define FBSDK_DEFAULT_GRAPH_API_VERSION @"v13.0" diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMNetworker.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMNetworker.h new file mode 100644 index 0000000..5e50c9e --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMNetworker.h @@ -0,0 +1,40 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_AEMNetworker) +@interface FBAEMNetworker : NSObject + +@property (nullable, nonatomic, copy) NSString *userAgentSuffix; + +- (void)startGraphRequestWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + tokenString:(nullable NSString *)tokenString + HTTPMethod:(nullable NSString *)method + completion:(FBGraphRequestCompletion)completion; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/plugins/2020.3569/iphone/resources/Frameworks/FBAEMKit.framework/Headers/FBAEMNetworking.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMNetworking.h similarity index 100% rename from plugins/2020.3569/iphone/resources/Frameworks/FBAEMKit.framework/Headers/FBAEMNetworking.h rename to src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMNetworking.h diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMReporter.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMReporter.h new file mode 100644 index 0000000..6810e36 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMReporter.h @@ -0,0 +1,116 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + + #import + #import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AEMReporter) +@interface FBAEMReporter : NSObject + +/** + Configure networker used for calling Facebook AEM Graph API endpoint + and Facebook App ID + + This function should be called in application(_:open:options:) from ApplicationDelegate + and BEFORE [FBAEMReporter enable] function + + @param networker An optional networker conforms to FBAEMNetworking which handles Graph API request + @param appID An optional Facebook app ID, if it's null, we will get it from info.plist file with key: FacebookAppID + */ ++ (void)configureWithNetworker:(nullable id)networker + appID:(nullable NSString *)appID __attribute__((deprecated("use configureWithNetworker:appID:reporter: instead."))); + +/** + Configure networker used for calling Facebook AEM Graph API endpoint + Facebook App ID and SKAdNetwork reporter + + This function should be called in application(_:open:options:) from ApplicationDelegate + and BEFORE [FBAEMReporter enable] function. We will use SKAdNetwork reporter to prevent + double counting. + + @param networker An optional networker conforms to FBAEMNetworking which handles Graph API request + @param appID An optional Facebook app ID, if it's null, we will get it from info.plist file with key: FacebookAppID + @param reporter The SKAdNetwork repoter + */ ++ (void)configureWithNetworker:(nullable id)networker + appID:(nullable NSString *)appID + reporter:(nullable id)reporter; + +/** + Configure networker used for calling Facebook AEM Graph API endpoint + Facebook App ID, SKAdNetwork reporter and Analytics App ID + + This function should be called in application(_:open:options:) from ApplicationDelegate + and BEFORE [FBAEMReporter enable] function. We will use SKAdNetwork reporter to prevent + double counting. + + @param networker An optional networker conforms to FBAEMNetworking which handles Graph API request + @param appID An optional Facebook app ID, if it's null, we will get it from info.plist file with key: FacebookAppID + @param reporter The SKAdNetwork repoter + @param analyticsAppID An optional Analytics app ID. + */ ++ (void)configureWithNetworker:(nullable id)networker + appID:(nullable NSString *)appID + reporter:(nullable id)reporter + analyticsAppID:(nullable NSString *)analyticsAppID; + +/** + Enable AEM reporting + + This function should be called in application(_:open:options:) from ApplicationDelegate + */ ++ (void)enable; + +/** + Control whether to enable conversion filtering + + This function should be called in application(_:open:options:) from ApplicationDelegate + */ ++ (void)setConversionFilteringEnabled:(BOOL)enabled; + +/** + Control whether to enable catalog matching + + This function should be called in application(_:open:options:) from ApplicationDelegate + */ ++ (void)setCatalogMatchingEnabled:(BOOL)enabled; + +/** + Handle deeplink + + This function should be called in application(_:open:options:) from ApplicationDelegate + */ ++ (void)handleURL:(NSURL *)url; + +/** + Calculate the conversion value for the app event based on the AEM configuration + + This function should be called when you log any in-app events + */ + +// UNCRUSTIFY_FORMAT_OFF ++ (void)recordAndUpdateEvent:(NSString *)event + currency:(nullable NSString *)currency + value:(nullable NSNumber *)value + parameters:(nullable NSDictionary *)parameters +NS_SWIFT_NAME(recordAndUpdate(event:currency:value:parameters:)); +// UNCRUSTIFY_FORMAT_ON + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMRequestBody.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMRequestBody.h new file mode 100644 index 0000000..e3941bd --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMRequestBody.h @@ -0,0 +1,41 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_AEMRequestBody) +@interface FBAEMRequestBody : NSObject + +@property (nonatomic, readonly, retain) NSData *data; + +- (void)appendWithKey:(NSString *)key + formValue:(NSString *)value; + +- (nullable NSData *)compressedData; + + #if DEBUG +@property (nonatomic, readonly, retain) NSData *multipartData; + #endif + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMRule.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMRule.h new file mode 100644 index 0000000..bd02214 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMRule.h @@ -0,0 +1,46 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + +@class FBAEMEvent; + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_AEMRule) +@interface FBAEMRule : NSObject + +@property (nonatomic) NSInteger conversionValue; +@property (nonatomic) NSInteger priority; +@property (nonatomic, copy) NSArray *events; + ++ (instancetype)new NS_UNAVAILABLE; +- (instancetype)init NS_UNAVAILABLE; + +- (nullable instancetype)initWithJSON:(nullable NSDictionary *)dict; + +- (BOOL)containsEvent:(NSString *)event; + +- (BOOL)isMatchedWithRecordedEvents:(nullable NSSet *)recordedEvents + recordedValues:(nullable NSDictionary *> *)recordedValues; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMUtility.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMUtility.h new file mode 100644 index 0000000..a09adeb --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBAEMUtility.h @@ -0,0 +1,42 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_AEMUtility) +@interface FBAEMUtility : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +@property (class, nonatomic, readonly) FBAEMUtility *sharedUtility; + +- (NSNumber *)getInSegmentValue:(nullable NSDictionary *)parameters + matchingRule:(id)matchingRule; + +- (nullable NSString *)getContentID:(nullable NSDictionary *)parameters; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/plugins/2020.3569/iphone/resources/Frameworks/FBAEMKit.framework/Headers/FBSKAdNetworkReporting.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBSKAdNetworkReporting.h similarity index 100% rename from plugins/2020.3569/iphone/resources/Frameworks/FBAEMKit.framework/Headers/FBSKAdNetworkReporting.h rename to src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Headers/FBSKAdNetworkReporting.h diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Info.plist b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Info.plist new file mode 100644 index 0000000..f4fc529 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Info.plist differ diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64-apple-ios.swiftdoc b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64-apple-ios.swiftdoc new file mode 100644 index 0000000..48d7aaf Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64-apple-ios.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64-apple-ios.swiftinterface b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64-apple-ios.swiftinterface new file mode 100644 index 0000000..3436ee5 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64-apple-ios.swiftinterface @@ -0,0 +1,82 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBAEMKit +@_exported import FBAEMKit +import Swift +import _Concurrency +@objcMembers @objc(FBAEMAdvertiserMultiEntryRule) final public class _AEMAdvertiserMultiEntryRule : ObjectiveC.NSObject, FBAEMKit._AEMAdvertiserRuleMatching, Foundation.NSCopying, Foundation.NSSecureCoding { + @objc(initWithOperator:rules:) public init(with operator: FBAEMKit._AEMAdvertiserRuleOperator, rules: [FBAEMKit._AEMAdvertiserRuleMatching]) + @objc final public func isMatchedEventParameters(_ eventParams: [Swift.String : Any]?) -> Swift.Bool + @objc public static var supportsSecureCoding: Swift.Bool { + @objc get + } + @objc convenience public init?(coder: Foundation.NSCoder) + @objc final public func encode(with coder: Foundation.NSCoder) + @objc final public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBAEMConfiguration) final public class _AEMConfiguration : ObjectiveC.NSObject, Foundation.NSCopying, Foundation.NSSecureCoding { + @objc final public var cutoffTime: Swift.Int { + get + } + @objc final public var validFrom: Swift.Int { + get + } + @objc final public var defaultCurrency: Swift.String { + get + } + @objc final public var configMode: Swift.String { + get + } + @objc final public var businessID: Swift.String? { + get + } + @objc final public var matchingRule: FBAEMKit._AEMAdvertiserRuleMatching? { + get + } + @objc final public var conversionValueRules: [FBAEMKit._AEMRule] { + get + } + @objc final public var eventSet: Swift.Set { + get + } + @objc final public var currencySet: Swift.Set { + get + } + @objc public static var ruleProvider: FBAEMKit._AEMAdvertiserRuleProviding? { + get + } + @objc public static func configure(withRuleProvider ruleProvider: FBAEMKit._AEMAdvertiserRuleProviding) + @objc(initWithJSON:) public init?(json dict: [Swift.String : Any]?) + @objc final public func isSameValid(from validFrom: Swift.Int, businessID: Swift.String?) -> Swift.Bool + @objc final public func isSameBusinessID(_ businessID: Swift.String?) -> Swift.Bool + @objc final public func encode(with coder: Foundation.NSCoder) + @objc convenience public init?(coder: Foundation.NSCoder) + @objc public static var supportsSecureCoding: Swift.Bool { + @objc get + } + @objc final public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBAEMEvent) final public class _AEMEvent : ObjectiveC.NSObject, Foundation.NSCopying, Foundation.NSSecureCoding { + @objc final public var eventName: Swift.String { + get + } + @objc final public var values: [Swift.String : Swift.Int]? { + get + } + @objc(initWithJSON:) public init?(dict: [Swift.String : Any]?) + @objc public static var supportsSecureCoding: Swift.Bool { + @objc get + } + @objc convenience public init?(coder: Foundation.NSCoder) + @objc final public func encode(with coder: Foundation.NSCoder) + @objc final public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBAEMSettings) final public class _AEMSettings : ObjectiveC.NSObject { + @objc public static func appID() -> Swift.String? + @objc override dynamic public init() + @objc deinit +} diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64.swiftdoc b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..48d7aaf Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64.swiftinterface b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..3436ee5 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64.swiftinterface @@ -0,0 +1,82 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBAEMKit +@_exported import FBAEMKit +import Swift +import _Concurrency +@objcMembers @objc(FBAEMAdvertiserMultiEntryRule) final public class _AEMAdvertiserMultiEntryRule : ObjectiveC.NSObject, FBAEMKit._AEMAdvertiserRuleMatching, Foundation.NSCopying, Foundation.NSSecureCoding { + @objc(initWithOperator:rules:) public init(with operator: FBAEMKit._AEMAdvertiserRuleOperator, rules: [FBAEMKit._AEMAdvertiserRuleMatching]) + @objc final public func isMatchedEventParameters(_ eventParams: [Swift.String : Any]?) -> Swift.Bool + @objc public static var supportsSecureCoding: Swift.Bool { + @objc get + } + @objc convenience public init?(coder: Foundation.NSCoder) + @objc final public func encode(with coder: Foundation.NSCoder) + @objc final public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBAEMConfiguration) final public class _AEMConfiguration : ObjectiveC.NSObject, Foundation.NSCopying, Foundation.NSSecureCoding { + @objc final public var cutoffTime: Swift.Int { + get + } + @objc final public var validFrom: Swift.Int { + get + } + @objc final public var defaultCurrency: Swift.String { + get + } + @objc final public var configMode: Swift.String { + get + } + @objc final public var businessID: Swift.String? { + get + } + @objc final public var matchingRule: FBAEMKit._AEMAdvertiserRuleMatching? { + get + } + @objc final public var conversionValueRules: [FBAEMKit._AEMRule] { + get + } + @objc final public var eventSet: Swift.Set { + get + } + @objc final public var currencySet: Swift.Set { + get + } + @objc public static var ruleProvider: FBAEMKit._AEMAdvertiserRuleProviding? { + get + } + @objc public static func configure(withRuleProvider ruleProvider: FBAEMKit._AEMAdvertiserRuleProviding) + @objc(initWithJSON:) public init?(json dict: [Swift.String : Any]?) + @objc final public func isSameValid(from validFrom: Swift.Int, businessID: Swift.String?) -> Swift.Bool + @objc final public func isSameBusinessID(_ businessID: Swift.String?) -> Swift.Bool + @objc final public func encode(with coder: Foundation.NSCoder) + @objc convenience public init?(coder: Foundation.NSCoder) + @objc public static var supportsSecureCoding: Swift.Bool { + @objc get + } + @objc final public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBAEMEvent) final public class _AEMEvent : ObjectiveC.NSObject, Foundation.NSCopying, Foundation.NSSecureCoding { + @objc final public var eventName: Swift.String { + get + } + @objc final public var values: [Swift.String : Swift.Int]? { + get + } + @objc(initWithJSON:) public init?(dict: [Swift.String : Any]?) + @objc public static var supportsSecureCoding: Swift.Bool { + @objc get + } + @objc convenience public init?(coder: Foundation.NSCoder) + @objc final public func encode(with coder: Foundation.NSCoder) + @objc final public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBAEMSettings) final public class _AEMSettings : ObjectiveC.NSObject { + @objc public static func appID() -> Swift.String? + @objc override dynamic public init() + @objc deinit +} diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Modules/module.modulemap b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Modules/module.modulemap new file mode 100644 index 0000000..f7b1373 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64/FBAEMKit.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module FBAEMKit { + umbrella header "FBAEMKit.h" + + export * + module * { export * } +} + +module FBAEMKit.Swift { + header "FBAEMKit-Swift.h" + requires objc +} diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/FBAEMKit b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/FBAEMKit new file mode 100644 index 0000000..95ba910 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/FBAEMKit differ diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleFactory.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleFactory.h new file mode 100644 index 0000000..dabe6a6 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleFactory.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + + #import + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_AEMAdvertiserRuleFactory) +@interface FBAEMAdvertiserRuleFactory : NSObject + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleMatching.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleMatching.h new file mode 100644 index 0000000..1645610 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleMatching.h @@ -0,0 +1,32 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_AEMAdvertiserRuleMatching) +@protocol FBAEMAdvertiserRuleMatching + +- (BOOL)isMatchedEventParameters:(nullable NSDictionary *)eventParams; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleOperator.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleOperator.h new file mode 100644 index 0000000..7e6f4ba --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleOperator.h @@ -0,0 +1,46 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +typedef NS_CLOSED_ENUM (NSInteger, FBAEMAdvertiserRuleOperator) +{ + FBAEMAdvertiserRuleOperatorUnknown = 0, + // Multi Entry Rule Operator + FBAEMAdvertiserRuleOperatorAnd, + FBAEMAdvertiserRuleOperatorOr, + FBAEMAdvertiserRuleOperatorNot, + // Single Entry Rule Operator + FBAEMAdvertiserRuleOperatorContains, + FBAEMAdvertiserRuleOperatorNotContains, + FBAEMAdvertiserRuleOperatorStartsWith, + FBAEMAdvertiserRuleOperatorCaseInsensitiveContains, + FBAEMAdvertiserRuleOperatorCaseInsensitiveNotContains, + FBAEMAdvertiserRuleOperatorCaseInsensitiveStartsWith, + FBAEMAdvertiserRuleOperatorRegexMatch, + FBAEMAdvertiserRuleOperatorEqual, + FBAEMAdvertiserRuleOperatorNotEqual, + FBAEMAdvertiserRuleOperatorLessThan, + FBAEMAdvertiserRuleOperatorLessThanOrEqual, + FBAEMAdvertiserRuleOperatorGreaterThan, + FBAEMAdvertiserRuleOperatorGreaterThanOrEqual, + FBAEMAdvertiserRuleOperatorCaseInsensitiveIsAny, + FBAEMAdvertiserRuleOperatorCaseInsensitiveIsNotAny, + FBAEMAdvertiserRuleOperatorIsAny, + FBAEMAdvertiserRuleOperatorIsNotAny +} NS_SWIFT_NAME(_AEMAdvertiserRuleOperator); + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleProviding.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleProviding.h new file mode 100644 index 0000000..0a99291 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleProviding.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +/// Describes anything that can provide instances of `AEMAdvertiserRuleMatching` +NS_SWIFT_NAME(_AEMAdvertiserRuleProviding) +@protocol FBAEMAdvertiserRuleProviding + +- (nullable id)createRuleWithJson:(nullable NSString *)json; + +- (nullable id)createRuleWithDict:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMAdvertiserSingleEntryRule.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMAdvertiserSingleEntryRule.h new file mode 100644 index 0000000..79c12ee --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMAdvertiserSingleEntryRule.h @@ -0,0 +1,48 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + + #import + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_AEMAdvertiserSingleEntryRule) +@interface FBAEMAdvertiserSingleEntryRule : NSObject + +@property (nonatomic, readonly, assign)FBAEMAdvertiserRuleOperator operator; +@property (nonatomic, readonly) NSString *paramKey; +@property (nullable, nonatomic, readonly) NSString *linguisticCondition; +@property (nullable, nonatomic, readonly) NSNumber *numericalCondition; +@property (nullable, nonatomic, readonly) NSArray *arrayCondition; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +- (instancetype)initWithOperator:(FBAEMAdvertiserRuleOperator)op + paramKey:(NSString *)paramKey + linguisticCondition:(nullable NSString *)linguisticCondition + numericalCondition:(nullable NSNumber *)numericalCondition + arrayCondition:(nullable NSArray *)arrayCondition; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMInvocation.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMInvocation.h new file mode 100644 index 0000000..f102955 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMInvocation.h @@ -0,0 +1,92 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + +@class FBAEMConfiguration; + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_AEMInvocation) +@interface FBAEMInvocation : NSObject + +@property (nonatomic, readonly, copy) NSString *campaignID; + +@property (nonatomic, readonly, copy) NSString *ACSToken; + +@property (nullable, nonatomic, readonly, copy) NSString *ACSSharedSecret; + +@property (nullable, nonatomic, readonly, copy) NSString *ACSConfigID; + +@property (nullable, nonatomic, readonly, copy) NSString *businessID; + +@property (nullable, nonatomic, readonly, copy) NSString *catalogID; + +@property (nonatomic, readonly, assign) BOOL isTestMode; + +@property (nonatomic, readonly, assign) BOOL hasSKAN; + +@property (nonatomic, readonly, assign) BOOL isConversionFilteringEligible; + +@property (nonatomic, readonly, copy) NSDate *timestamp; + +@property (nonatomic, readonly, copy) NSString *configMode; + +/// The unique identifier of the config, it's the same as config's validFrom +@property (nonatomic, readonly, assign) NSInteger configID; + +@property (nonatomic, readonly) NSMutableSet *recordedEvents; + +@property (nonatomic, readonly) NSMutableDictionary *> *recordedValues; + +@property (nonatomic, readonly, assign) NSInteger conversionValue; + +@property (nonatomic, readonly, assign) NSInteger priority; + +@property (nullable, nonatomic, readonly) NSDate *conversionTimestamp; + +@property (nonatomic, assign) BOOL isAggregated; + ++ (instancetype)new NS_UNAVAILABLE; +- (instancetype)init NS_UNAVAILABLE; + ++ (nullable instancetype)invocationWithAppLinkData:(nullable NSDictionary *)applinkData; + +- (BOOL)attributeEvent:(NSString *)event + currency:(nullable NSString *)currency + value:(nullable NSNumber *)value + parameters:(nullable NSDictionary *)parameters + configs:(nullable NSDictionary *> *)configs + shouldUpdateCache:(BOOL)shouldUpdateCache; + +- (BOOL)updateConversionValueWithConfigs:(nullable NSDictionary *> *)configs + event:(NSString *)event + shouldBoostPriority:(BOOL)shouldBoostPriority; + +- (BOOL)isOptimizedEvent:(NSString *)event + configs:(nullable NSDictionary *> *)configs; + +- (BOOL)isOutOfWindowWithConfigs:(nullable NSDictionary *> *)configs; + +- (nullable NSString *)getHMAC:(NSInteger)delay; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMKit-Prefix-Header.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMKit-Prefix-Header.h new file mode 100644 index 0000000..040ca1e --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMKit-Prefix-Header.h @@ -0,0 +1,9 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMKit-Swift.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMKit-Swift.h new file mode 100644 index 0000000..17b5604 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMKit-Swift.h @@ -0,0 +1,598 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +#ifndef FBAEMKIT_SWIFT_H +#define FBAEMKIT_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import Foundation; +@import ObjectiveC; +#endif + +#import + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBAEMKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +@class NSString; +@class NSNumber; +@class NSCoder; + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_CLASS_NAMED("_AEMAdvertiserMultiEntryRule") +@interface FBAEMAdvertiserMultiEntryRule : NSObject +- (nonnull instancetype)initWithOperator:(enum FBAEMAdvertiserRuleOperator)operator_ rules:(NSArray> * _Nonnull)rules OBJC_DESIGNATED_INITIALIZER; +- (BOOL)isMatchedEventParameters:(NSDictionary * _Nullable)eventParams SWIFT_WARN_UNUSED_RESULT; +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) BOOL supportsSecureCoding;) ++ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder; +- (void)encodeWithCoder:(NSCoder * _Nonnull)coder; +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +@class FBAEMRule; +@protocol FBAEMAdvertiserRuleProviding; + +SWIFT_CLASS_NAMED("_AEMConfiguration") +@interface FBAEMConfiguration : NSObject +@property (nonatomic, readonly) NSInteger cutoffTime; +/// The UNIX timestamp of config’s valid date and works as a unqiue identifier of the config +@property (nonatomic, readonly) NSInteger validFrom; +@property (nonatomic, readonly, copy) NSString * _Nonnull defaultCurrency; +@property (nonatomic, readonly, copy) NSString * _Nonnull configMode; +@property (nonatomic, readonly, copy) NSString * _Nullable businessID; +@property (nonatomic, readonly, strong) id _Nullable matchingRule; +@property (nonatomic, readonly, copy) NSArray * _Nonnull conversionValueRules; +@property (nonatomic, readonly, copy) NSSet * _Nonnull eventSet; +@property (nonatomic, readonly, copy) NSSet * _Nonnull currencySet; +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) id _Nullable ruleProvider;) ++ (id _Nullable)ruleProvider SWIFT_WARN_UNUSED_RESULT; ++ (void)configureWithRuleProvider:(id _Nonnull)ruleProvider; +- (nullable instancetype)initWithJSON:(NSDictionary * _Nullable)dict OBJC_DESIGNATED_INITIALIZER; +- (BOOL)isSameValidFrom:(NSInteger)validFrom businessID:(NSString * _Nullable)businessID SWIFT_WARN_UNUSED_RESULT; +- (BOOL)isSameBusinessID:(NSString * _Nullable)businessID SWIFT_WARN_UNUSED_RESULT; +- (void)encodeWithCoder:(NSCoder * _Nonnull)coder; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder; +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) BOOL supportsSecureCoding;) ++ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT; +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_CLASS_NAMED("_AEMEvent") +@interface FBAEMEvent : NSObject +@property (nonatomic, readonly, copy) NSString * _Nonnull eventName; +@property (nonatomic, readonly, copy) NSDictionary * _Nullable values; +- (nullable instancetype)initWithJSON:(NSDictionary * _Nullable)dict OBJC_DESIGNATED_INITIALIZER; +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) BOOL supportsSecureCoding;) ++ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder; +- (void)encodeWithCoder:(NSCoder * _Nonnull)coder; +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_CLASS_NAMED("_AEMSettings") +@interface FBAEMSettings : NSObject ++ (NSString * _Nullable)appID SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +#ifndef FBAEMKIT_SWIFT_H +#define FBAEMKIT_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import Foundation; +@import ObjectiveC; +#endif + +#import + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBAEMKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +@class NSString; +@class NSNumber; +@class NSCoder; + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_CLASS_NAMED("_AEMAdvertiserMultiEntryRule") +@interface FBAEMAdvertiserMultiEntryRule : NSObject +- (nonnull instancetype)initWithOperator:(enum FBAEMAdvertiserRuleOperator)operator_ rules:(NSArray> * _Nonnull)rules OBJC_DESIGNATED_INITIALIZER; +- (BOOL)isMatchedEventParameters:(NSDictionary * _Nullable)eventParams SWIFT_WARN_UNUSED_RESULT; +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) BOOL supportsSecureCoding;) ++ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder; +- (void)encodeWithCoder:(NSCoder * _Nonnull)coder; +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +@class FBAEMRule; +@protocol FBAEMAdvertiserRuleProviding; + +SWIFT_CLASS_NAMED("_AEMConfiguration") +@interface FBAEMConfiguration : NSObject +@property (nonatomic, readonly) NSInteger cutoffTime; +/// The UNIX timestamp of config’s valid date and works as a unqiue identifier of the config +@property (nonatomic, readonly) NSInteger validFrom; +@property (nonatomic, readonly, copy) NSString * _Nonnull defaultCurrency; +@property (nonatomic, readonly, copy) NSString * _Nonnull configMode; +@property (nonatomic, readonly, copy) NSString * _Nullable businessID; +@property (nonatomic, readonly, strong) id _Nullable matchingRule; +@property (nonatomic, readonly, copy) NSArray * _Nonnull conversionValueRules; +@property (nonatomic, readonly, copy) NSSet * _Nonnull eventSet; +@property (nonatomic, readonly, copy) NSSet * _Nonnull currencySet; +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) id _Nullable ruleProvider;) ++ (id _Nullable)ruleProvider SWIFT_WARN_UNUSED_RESULT; ++ (void)configureWithRuleProvider:(id _Nonnull)ruleProvider; +- (nullable instancetype)initWithJSON:(NSDictionary * _Nullable)dict OBJC_DESIGNATED_INITIALIZER; +- (BOOL)isSameValidFrom:(NSInteger)validFrom businessID:(NSString * _Nullable)businessID SWIFT_WARN_UNUSED_RESULT; +- (BOOL)isSameBusinessID:(NSString * _Nullable)businessID SWIFT_WARN_UNUSED_RESULT; +- (void)encodeWithCoder:(NSCoder * _Nonnull)coder; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder; +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) BOOL supportsSecureCoding;) ++ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT; +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_CLASS_NAMED("_AEMEvent") +@interface FBAEMEvent : NSObject +@property (nonatomic, readonly, copy) NSString * _Nonnull eventName; +@property (nonatomic, readonly, copy) NSDictionary * _Nullable values; +- (nullable instancetype)initWithJSON:(NSDictionary * _Nullable)dict OBJC_DESIGNATED_INITIALIZER; +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) BOOL supportsSecureCoding;) ++ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder; +- (void)encodeWithCoder:(NSCoder * _Nonnull)coder; +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_CLASS_NAMED("_AEMSettings") +@interface FBAEMSettings : NSObject ++ (NSString * _Nullable)appID SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMKit.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMKit.h new file mode 100644 index 0000000..71137f8 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMKit.h @@ -0,0 +1,26 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import +#import + +// Temporarily public +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMKitVersions.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMKitVersions.h new file mode 100644 index 0000000..1093c0b --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMKitVersions.h @@ -0,0 +1,10 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#define FBAEMKit_VERSION_STRING @"13.2.0" +#define FBSDK_DEFAULT_GRAPH_API_VERSION @"v13.0" diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMNetworker.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMNetworker.h new file mode 100644 index 0000000..5e50c9e --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMNetworker.h @@ -0,0 +1,40 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_AEMNetworker) +@interface FBAEMNetworker : NSObject + +@property (nullable, nonatomic, copy) NSString *userAgentSuffix; + +- (void)startGraphRequestWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + tokenString:(nullable NSString *)tokenString + HTTPMethod:(nullable NSString *)method + completion:(FBGraphRequestCompletion)completion; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMNetworking.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMNetworking.h new file mode 100644 index 0000000..d1d34dc --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMNetworking.h @@ -0,0 +1,32 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + +NS_ASSUME_NONNULL_BEGIN + +typedef void (^FBGraphRequestCompletion)(id _Nullable result, NSError *_Nullable error); + +NS_SWIFT_NAME(AEMNetworking) +@protocol FBAEMNetworking + +- (void)startGraphRequestWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + tokenString:(nullable NSString *)tokenString + HTTPMethod:(nullable NSString *)method + completion:(FBGraphRequestCompletion)completion; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMReporter.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMReporter.h new file mode 100644 index 0000000..6810e36 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMReporter.h @@ -0,0 +1,116 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + + #import + #import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AEMReporter) +@interface FBAEMReporter : NSObject + +/** + Configure networker used for calling Facebook AEM Graph API endpoint + and Facebook App ID + + This function should be called in application(_:open:options:) from ApplicationDelegate + and BEFORE [FBAEMReporter enable] function + + @param networker An optional networker conforms to FBAEMNetworking which handles Graph API request + @param appID An optional Facebook app ID, if it's null, we will get it from info.plist file with key: FacebookAppID + */ ++ (void)configureWithNetworker:(nullable id)networker + appID:(nullable NSString *)appID __attribute__((deprecated("use configureWithNetworker:appID:reporter: instead."))); + +/** + Configure networker used for calling Facebook AEM Graph API endpoint + Facebook App ID and SKAdNetwork reporter + + This function should be called in application(_:open:options:) from ApplicationDelegate + and BEFORE [FBAEMReporter enable] function. We will use SKAdNetwork reporter to prevent + double counting. + + @param networker An optional networker conforms to FBAEMNetworking which handles Graph API request + @param appID An optional Facebook app ID, if it's null, we will get it from info.plist file with key: FacebookAppID + @param reporter The SKAdNetwork repoter + */ ++ (void)configureWithNetworker:(nullable id)networker + appID:(nullable NSString *)appID + reporter:(nullable id)reporter; + +/** + Configure networker used for calling Facebook AEM Graph API endpoint + Facebook App ID, SKAdNetwork reporter and Analytics App ID + + This function should be called in application(_:open:options:) from ApplicationDelegate + and BEFORE [FBAEMReporter enable] function. We will use SKAdNetwork reporter to prevent + double counting. + + @param networker An optional networker conforms to FBAEMNetworking which handles Graph API request + @param appID An optional Facebook app ID, if it's null, we will get it from info.plist file with key: FacebookAppID + @param reporter The SKAdNetwork repoter + @param analyticsAppID An optional Analytics app ID. + */ ++ (void)configureWithNetworker:(nullable id)networker + appID:(nullable NSString *)appID + reporter:(nullable id)reporter + analyticsAppID:(nullable NSString *)analyticsAppID; + +/** + Enable AEM reporting + + This function should be called in application(_:open:options:) from ApplicationDelegate + */ ++ (void)enable; + +/** + Control whether to enable conversion filtering + + This function should be called in application(_:open:options:) from ApplicationDelegate + */ ++ (void)setConversionFilteringEnabled:(BOOL)enabled; + +/** + Control whether to enable catalog matching + + This function should be called in application(_:open:options:) from ApplicationDelegate + */ ++ (void)setCatalogMatchingEnabled:(BOOL)enabled; + +/** + Handle deeplink + + This function should be called in application(_:open:options:) from ApplicationDelegate + */ ++ (void)handleURL:(NSURL *)url; + +/** + Calculate the conversion value for the app event based on the AEM configuration + + This function should be called when you log any in-app events + */ + +// UNCRUSTIFY_FORMAT_OFF ++ (void)recordAndUpdateEvent:(NSString *)event + currency:(nullable NSString *)currency + value:(nullable NSNumber *)value + parameters:(nullable NSDictionary *)parameters +NS_SWIFT_NAME(recordAndUpdate(event:currency:value:parameters:)); +// UNCRUSTIFY_FORMAT_ON + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMRequestBody.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMRequestBody.h new file mode 100644 index 0000000..e3941bd --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMRequestBody.h @@ -0,0 +1,41 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_AEMRequestBody) +@interface FBAEMRequestBody : NSObject + +@property (nonatomic, readonly, retain) NSData *data; + +- (void)appendWithKey:(NSString *)key + formValue:(NSString *)value; + +- (nullable NSData *)compressedData; + + #if DEBUG +@property (nonatomic, readonly, retain) NSData *multipartData; + #endif + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMRule.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMRule.h new file mode 100644 index 0000000..bd02214 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMRule.h @@ -0,0 +1,46 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + +@class FBAEMEvent; + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_AEMRule) +@interface FBAEMRule : NSObject + +@property (nonatomic) NSInteger conversionValue; +@property (nonatomic) NSInteger priority; +@property (nonatomic, copy) NSArray *events; + ++ (instancetype)new NS_UNAVAILABLE; +- (instancetype)init NS_UNAVAILABLE; + +- (nullable instancetype)initWithJSON:(nullable NSDictionary *)dict; + +- (BOOL)containsEvent:(NSString *)event; + +- (BOOL)isMatchedWithRecordedEvents:(nullable NSSet *)recordedEvents + recordedValues:(nullable NSDictionary *> *)recordedValues; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMUtility.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMUtility.h new file mode 100644 index 0000000..a09adeb --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBAEMUtility.h @@ -0,0 +1,42 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_AEMUtility) +@interface FBAEMUtility : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +@property (class, nonatomic, readonly) FBAEMUtility *sharedUtility; + +- (NSNumber *)getInSegmentValue:(nullable NSDictionary *)parameters + matchingRule:(id)matchingRule; + +- (nullable NSString *)getContentID:(nullable NSDictionary *)parameters; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBSKAdNetworkReporting.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBSKAdNetworkReporting.h new file mode 100644 index 0000000..226bdcb --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Headers/FBSKAdNetworkReporting.h @@ -0,0 +1,28 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(SKAdNetworkReporting) +@protocol FBSKAdNetworkReporting + +- (BOOL)shouldCutoff; + +- (BOOL)isReportingEvent:(NSString *)event; + +- (void)checkAndRevokeTimer; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64-apple-ios-macabi.swiftdoc b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64-apple-ios-macabi.swiftdoc new file mode 100644 index 0000000..46f6dcd Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64-apple-ios-macabi.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64-apple-ios-macabi.swiftinterface b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64-apple-ios-macabi.swiftinterface new file mode 100644 index 0000000..16f425c --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64-apple-ios-macabi.swiftinterface @@ -0,0 +1,81 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBAEMKit +@_exported import FBAEMKit +import Swift +@objcMembers @objc(FBAEMAdvertiserMultiEntryRule) final public class _AEMAdvertiserMultiEntryRule : ObjectiveC.NSObject, FBAEMKit._AEMAdvertiserRuleMatching, Foundation.NSCopying, Foundation.NSSecureCoding { + @objc(initWithOperator:rules:) public init(with operator: FBAEMKit._AEMAdvertiserRuleOperator, rules: [FBAEMKit._AEMAdvertiserRuleMatching]) + @objc final public func isMatchedEventParameters(_ eventParams: [Swift.String : Any]?) -> Swift.Bool + @objc public static var supportsSecureCoding: Swift.Bool { + @objc get + } + @objc convenience public init?(coder: Foundation.NSCoder) + @objc final public func encode(with coder: Foundation.NSCoder) + @objc final public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBAEMConfiguration) final public class _AEMConfiguration : ObjectiveC.NSObject, Foundation.NSCopying, Foundation.NSSecureCoding { + @objc final public var cutoffTime: Swift.Int { + get + } + @objc final public var validFrom: Swift.Int { + get + } + @objc final public var defaultCurrency: Swift.String { + get + } + @objc final public var configMode: Swift.String { + get + } + @objc final public var businessID: Swift.String? { + get + } + @objc final public var matchingRule: FBAEMKit._AEMAdvertiserRuleMatching? { + get + } + @objc final public var conversionValueRules: [FBAEMKit._AEMRule] { + get + } + @objc final public var eventSet: Swift.Set { + get + } + @objc final public var currencySet: Swift.Set { + get + } + @objc public static var ruleProvider: FBAEMKit._AEMAdvertiserRuleProviding? { + get + } + @objc public static func configure(withRuleProvider ruleProvider: FBAEMKit._AEMAdvertiserRuleProviding) + @objc(initWithJSON:) public init?(json dict: [Swift.String : Any]?) + @objc final public func isSameValid(from validFrom: Swift.Int, businessID: Swift.String?) -> Swift.Bool + @objc final public func isSameBusinessID(_ businessID: Swift.String?) -> Swift.Bool + @objc final public func encode(with coder: Foundation.NSCoder) + @objc convenience public init?(coder: Foundation.NSCoder) + @objc public static var supportsSecureCoding: Swift.Bool { + @objc get + } + @objc final public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBAEMEvent) final public class _AEMEvent : ObjectiveC.NSObject, Foundation.NSCopying, Foundation.NSSecureCoding { + @objc final public var eventName: Swift.String { + get + } + @objc final public var values: [Swift.String : Swift.Int]? { + get + } + @objc(initWithJSON:) public init?(dict: [Swift.String : Any]?) + @objc public static var supportsSecureCoding: Swift.Bool { + @objc get + } + @objc convenience public init?(coder: Foundation.NSCoder) + @objc final public func encode(with coder: Foundation.NSCoder) + @objc final public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBAEMSettings) final public class _AEMSettings : ObjectiveC.NSObject { + @objc public static func appID() -> Swift.String? + @objc override dynamic public init() + @objc deinit +} diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64.swiftdoc b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..46f6dcd Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64.swiftinterface b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..16f425c --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64.swiftinterface @@ -0,0 +1,81 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBAEMKit +@_exported import FBAEMKit +import Swift +@objcMembers @objc(FBAEMAdvertiserMultiEntryRule) final public class _AEMAdvertiserMultiEntryRule : ObjectiveC.NSObject, FBAEMKit._AEMAdvertiserRuleMatching, Foundation.NSCopying, Foundation.NSSecureCoding { + @objc(initWithOperator:rules:) public init(with operator: FBAEMKit._AEMAdvertiserRuleOperator, rules: [FBAEMKit._AEMAdvertiserRuleMatching]) + @objc final public func isMatchedEventParameters(_ eventParams: [Swift.String : Any]?) -> Swift.Bool + @objc public static var supportsSecureCoding: Swift.Bool { + @objc get + } + @objc convenience public init?(coder: Foundation.NSCoder) + @objc final public func encode(with coder: Foundation.NSCoder) + @objc final public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBAEMConfiguration) final public class _AEMConfiguration : ObjectiveC.NSObject, Foundation.NSCopying, Foundation.NSSecureCoding { + @objc final public var cutoffTime: Swift.Int { + get + } + @objc final public var validFrom: Swift.Int { + get + } + @objc final public var defaultCurrency: Swift.String { + get + } + @objc final public var configMode: Swift.String { + get + } + @objc final public var businessID: Swift.String? { + get + } + @objc final public var matchingRule: FBAEMKit._AEMAdvertiserRuleMatching? { + get + } + @objc final public var conversionValueRules: [FBAEMKit._AEMRule] { + get + } + @objc final public var eventSet: Swift.Set { + get + } + @objc final public var currencySet: Swift.Set { + get + } + @objc public static var ruleProvider: FBAEMKit._AEMAdvertiserRuleProviding? { + get + } + @objc public static func configure(withRuleProvider ruleProvider: FBAEMKit._AEMAdvertiserRuleProviding) + @objc(initWithJSON:) public init?(json dict: [Swift.String : Any]?) + @objc final public func isSameValid(from validFrom: Swift.Int, businessID: Swift.String?) -> Swift.Bool + @objc final public func isSameBusinessID(_ businessID: Swift.String?) -> Swift.Bool + @objc final public func encode(with coder: Foundation.NSCoder) + @objc convenience public init?(coder: Foundation.NSCoder) + @objc public static var supportsSecureCoding: Swift.Bool { + @objc get + } + @objc final public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBAEMEvent) final public class _AEMEvent : ObjectiveC.NSObject, Foundation.NSCopying, Foundation.NSSecureCoding { + @objc final public var eventName: Swift.String { + get + } + @objc final public var values: [Swift.String : Swift.Int]? { + get + } + @objc(initWithJSON:) public init?(dict: [Swift.String : Any]?) + @objc public static var supportsSecureCoding: Swift.Bool { + @objc get + } + @objc convenience public init?(coder: Foundation.NSCoder) + @objc final public func encode(with coder: Foundation.NSCoder) + @objc final public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBAEMSettings) final public class _AEMSettings : ObjectiveC.NSObject { + @objc public static func appID() -> Swift.String? + @objc override dynamic public init() + @objc deinit +} diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/x86_64-apple-ios-macabi.swiftdoc b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/x86_64-apple-ios-macabi.swiftdoc new file mode 100644 index 0000000..adf7ab2 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/x86_64-apple-ios-macabi.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/x86_64-apple-ios-macabi.swiftinterface b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/x86_64-apple-ios-macabi.swiftinterface new file mode 100644 index 0000000..9b03873 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/x86_64-apple-ios-macabi.swiftinterface @@ -0,0 +1,81 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target x86_64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBAEMKit +@_exported import FBAEMKit +import Swift +@objcMembers @objc(FBAEMAdvertiserMultiEntryRule) final public class _AEMAdvertiserMultiEntryRule : ObjectiveC.NSObject, FBAEMKit._AEMAdvertiserRuleMatching, Foundation.NSCopying, Foundation.NSSecureCoding { + @objc(initWithOperator:rules:) public init(with operator: FBAEMKit._AEMAdvertiserRuleOperator, rules: [FBAEMKit._AEMAdvertiserRuleMatching]) + @objc final public func isMatchedEventParameters(_ eventParams: [Swift.String : Any]?) -> Swift.Bool + @objc public static var supportsSecureCoding: Swift.Bool { + @objc get + } + @objc convenience public init?(coder: Foundation.NSCoder) + @objc final public func encode(with coder: Foundation.NSCoder) + @objc final public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBAEMConfiguration) final public class _AEMConfiguration : ObjectiveC.NSObject, Foundation.NSCopying, Foundation.NSSecureCoding { + @objc final public var cutoffTime: Swift.Int { + get + } + @objc final public var validFrom: Swift.Int { + get + } + @objc final public var defaultCurrency: Swift.String { + get + } + @objc final public var configMode: Swift.String { + get + } + @objc final public var businessID: Swift.String? { + get + } + @objc final public var matchingRule: FBAEMKit._AEMAdvertiserRuleMatching? { + get + } + @objc final public var conversionValueRules: [FBAEMKit._AEMRule] { + get + } + @objc final public var eventSet: Swift.Set { + get + } + @objc final public var currencySet: Swift.Set { + get + } + @objc public static var ruleProvider: FBAEMKit._AEMAdvertiserRuleProviding? { + get + } + @objc public static func configure(withRuleProvider ruleProvider: FBAEMKit._AEMAdvertiserRuleProviding) + @objc(initWithJSON:) public init?(json dict: [Swift.String : Any]?) + @objc final public func isSameValid(from validFrom: Swift.Int, businessID: Swift.String?) -> Swift.Bool + @objc final public func isSameBusinessID(_ businessID: Swift.String?) -> Swift.Bool + @objc final public func encode(with coder: Foundation.NSCoder) + @objc convenience public init?(coder: Foundation.NSCoder) + @objc public static var supportsSecureCoding: Swift.Bool { + @objc get + } + @objc final public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBAEMEvent) final public class _AEMEvent : ObjectiveC.NSObject, Foundation.NSCopying, Foundation.NSSecureCoding { + @objc final public var eventName: Swift.String { + get + } + @objc final public var values: [Swift.String : Swift.Int]? { + get + } + @objc(initWithJSON:) public init?(dict: [Swift.String : Any]?) + @objc public static var supportsSecureCoding: Swift.Bool { + @objc get + } + @objc convenience public init?(coder: Foundation.NSCoder) + @objc final public func encode(with coder: Foundation.NSCoder) + @objc final public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBAEMSettings) final public class _AEMSettings : ObjectiveC.NSObject { + @objc public static func appID() -> Swift.String? + @objc override dynamic public init() + @objc deinit +} diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/x86_64.swiftdoc b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/x86_64.swiftdoc new file mode 100644 index 0000000..adf7ab2 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/x86_64.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/x86_64.swiftinterface b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/x86_64.swiftinterface new file mode 100644 index 0000000..9b03873 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/x86_64.swiftinterface @@ -0,0 +1,81 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target x86_64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBAEMKit +@_exported import FBAEMKit +import Swift +@objcMembers @objc(FBAEMAdvertiserMultiEntryRule) final public class _AEMAdvertiserMultiEntryRule : ObjectiveC.NSObject, FBAEMKit._AEMAdvertiserRuleMatching, Foundation.NSCopying, Foundation.NSSecureCoding { + @objc(initWithOperator:rules:) public init(with operator: FBAEMKit._AEMAdvertiserRuleOperator, rules: [FBAEMKit._AEMAdvertiserRuleMatching]) + @objc final public func isMatchedEventParameters(_ eventParams: [Swift.String : Any]?) -> Swift.Bool + @objc public static var supportsSecureCoding: Swift.Bool { + @objc get + } + @objc convenience public init?(coder: Foundation.NSCoder) + @objc final public func encode(with coder: Foundation.NSCoder) + @objc final public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBAEMConfiguration) final public class _AEMConfiguration : ObjectiveC.NSObject, Foundation.NSCopying, Foundation.NSSecureCoding { + @objc final public var cutoffTime: Swift.Int { + get + } + @objc final public var validFrom: Swift.Int { + get + } + @objc final public var defaultCurrency: Swift.String { + get + } + @objc final public var configMode: Swift.String { + get + } + @objc final public var businessID: Swift.String? { + get + } + @objc final public var matchingRule: FBAEMKit._AEMAdvertiserRuleMatching? { + get + } + @objc final public var conversionValueRules: [FBAEMKit._AEMRule] { + get + } + @objc final public var eventSet: Swift.Set { + get + } + @objc final public var currencySet: Swift.Set { + get + } + @objc public static var ruleProvider: FBAEMKit._AEMAdvertiserRuleProviding? { + get + } + @objc public static func configure(withRuleProvider ruleProvider: FBAEMKit._AEMAdvertiserRuleProviding) + @objc(initWithJSON:) public init?(json dict: [Swift.String : Any]?) + @objc final public func isSameValid(from validFrom: Swift.Int, businessID: Swift.String?) -> Swift.Bool + @objc final public func isSameBusinessID(_ businessID: Swift.String?) -> Swift.Bool + @objc final public func encode(with coder: Foundation.NSCoder) + @objc convenience public init?(coder: Foundation.NSCoder) + @objc public static var supportsSecureCoding: Swift.Bool { + @objc get + } + @objc final public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBAEMEvent) final public class _AEMEvent : ObjectiveC.NSObject, Foundation.NSCopying, Foundation.NSSecureCoding { + @objc final public var eventName: Swift.String { + get + } + @objc final public var values: [Swift.String : Swift.Int]? { + get + } + @objc(initWithJSON:) public init?(dict: [Swift.String : Any]?) + @objc public static var supportsSecureCoding: Swift.Bool { + @objc get + } + @objc convenience public init?(coder: Foundation.NSCoder) + @objc final public func encode(with coder: Foundation.NSCoder) + @objc final public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBAEMSettings) final public class _AEMSettings : ObjectiveC.NSObject { + @objc public static func appID() -> Swift.String? + @objc override dynamic public init() + @objc deinit +} diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Modules/module.modulemap b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Modules/module.modulemap new file mode 100644 index 0000000..f7b1373 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module FBAEMKit { + umbrella header "FBAEMKit.h" + + export * + module * { export * } +} + +module FBAEMKit.Swift { + header "FBAEMKit-Swift.h" + requires objc +} diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Resources/Info.plist b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Resources/Info.plist new file mode 100644 index 0000000..86a44c6 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst/FBAEMKit.framework/Resources/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 21E258 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FBAEMKit + CFBundleIdentifier + com.facebook.sdk.FBAEMKit + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FBAEMKit + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 13.2.0 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 13A233 + DTPlatformName + macosx + DTPlatformVersion + 11.3 + DTSDKBuild + 20E214 + DTSDKName + macosx11.3 + DTXcode + 1300 + DTXcodeBuild + 13A233 + LSMinimumSystemVersion + 10.15 + UIDeviceFamily + + 2 + + + diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/FBAEMKit b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/FBAEMKit new file mode 100644 index 0000000..d215ed2 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/FBAEMKit differ diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleFactory.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleFactory.h new file mode 100644 index 0000000..dabe6a6 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleFactory.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + + #import + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_AEMAdvertiserRuleFactory) +@interface FBAEMAdvertiserRuleFactory : NSObject + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleMatching.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleMatching.h new file mode 100644 index 0000000..1645610 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleMatching.h @@ -0,0 +1,32 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_AEMAdvertiserRuleMatching) +@protocol FBAEMAdvertiserRuleMatching + +- (BOOL)isMatchedEventParameters:(nullable NSDictionary *)eventParams; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleOperator.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleOperator.h new file mode 100644 index 0000000..7e6f4ba --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleOperator.h @@ -0,0 +1,46 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +typedef NS_CLOSED_ENUM (NSInteger, FBAEMAdvertiserRuleOperator) +{ + FBAEMAdvertiserRuleOperatorUnknown = 0, + // Multi Entry Rule Operator + FBAEMAdvertiserRuleOperatorAnd, + FBAEMAdvertiserRuleOperatorOr, + FBAEMAdvertiserRuleOperatorNot, + // Single Entry Rule Operator + FBAEMAdvertiserRuleOperatorContains, + FBAEMAdvertiserRuleOperatorNotContains, + FBAEMAdvertiserRuleOperatorStartsWith, + FBAEMAdvertiserRuleOperatorCaseInsensitiveContains, + FBAEMAdvertiserRuleOperatorCaseInsensitiveNotContains, + FBAEMAdvertiserRuleOperatorCaseInsensitiveStartsWith, + FBAEMAdvertiserRuleOperatorRegexMatch, + FBAEMAdvertiserRuleOperatorEqual, + FBAEMAdvertiserRuleOperatorNotEqual, + FBAEMAdvertiserRuleOperatorLessThan, + FBAEMAdvertiserRuleOperatorLessThanOrEqual, + FBAEMAdvertiserRuleOperatorGreaterThan, + FBAEMAdvertiserRuleOperatorGreaterThanOrEqual, + FBAEMAdvertiserRuleOperatorCaseInsensitiveIsAny, + FBAEMAdvertiserRuleOperatorCaseInsensitiveIsNotAny, + FBAEMAdvertiserRuleOperatorIsAny, + FBAEMAdvertiserRuleOperatorIsNotAny +} NS_SWIFT_NAME(_AEMAdvertiserRuleOperator); + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleProviding.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleProviding.h new file mode 100644 index 0000000..0a99291 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleProviding.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +/// Describes anything that can provide instances of `AEMAdvertiserRuleMatching` +NS_SWIFT_NAME(_AEMAdvertiserRuleProviding) +@protocol FBAEMAdvertiserRuleProviding + +- (nullable id)createRuleWithJson:(nullable NSString *)json; + +- (nullable id)createRuleWithDict:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMAdvertiserSingleEntryRule.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMAdvertiserSingleEntryRule.h new file mode 100644 index 0000000..79c12ee --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMAdvertiserSingleEntryRule.h @@ -0,0 +1,48 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + + #import + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_AEMAdvertiserSingleEntryRule) +@interface FBAEMAdvertiserSingleEntryRule : NSObject + +@property (nonatomic, readonly, assign)FBAEMAdvertiserRuleOperator operator; +@property (nonatomic, readonly) NSString *paramKey; +@property (nullable, nonatomic, readonly) NSString *linguisticCondition; +@property (nullable, nonatomic, readonly) NSNumber *numericalCondition; +@property (nullable, nonatomic, readonly) NSArray *arrayCondition; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +- (instancetype)initWithOperator:(FBAEMAdvertiserRuleOperator)op + paramKey:(NSString *)paramKey + linguisticCondition:(nullable NSString *)linguisticCondition + numericalCondition:(nullable NSNumber *)numericalCondition + arrayCondition:(nullable NSArray *)arrayCondition; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMInvocation.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMInvocation.h new file mode 100644 index 0000000..f102955 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMInvocation.h @@ -0,0 +1,92 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + +@class FBAEMConfiguration; + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_AEMInvocation) +@interface FBAEMInvocation : NSObject + +@property (nonatomic, readonly, copy) NSString *campaignID; + +@property (nonatomic, readonly, copy) NSString *ACSToken; + +@property (nullable, nonatomic, readonly, copy) NSString *ACSSharedSecret; + +@property (nullable, nonatomic, readonly, copy) NSString *ACSConfigID; + +@property (nullable, nonatomic, readonly, copy) NSString *businessID; + +@property (nullable, nonatomic, readonly, copy) NSString *catalogID; + +@property (nonatomic, readonly, assign) BOOL isTestMode; + +@property (nonatomic, readonly, assign) BOOL hasSKAN; + +@property (nonatomic, readonly, assign) BOOL isConversionFilteringEligible; + +@property (nonatomic, readonly, copy) NSDate *timestamp; + +@property (nonatomic, readonly, copy) NSString *configMode; + +/// The unique identifier of the config, it's the same as config's validFrom +@property (nonatomic, readonly, assign) NSInteger configID; + +@property (nonatomic, readonly) NSMutableSet *recordedEvents; + +@property (nonatomic, readonly) NSMutableDictionary *> *recordedValues; + +@property (nonatomic, readonly, assign) NSInteger conversionValue; + +@property (nonatomic, readonly, assign) NSInteger priority; + +@property (nullable, nonatomic, readonly) NSDate *conversionTimestamp; + +@property (nonatomic, assign) BOOL isAggregated; + ++ (instancetype)new NS_UNAVAILABLE; +- (instancetype)init NS_UNAVAILABLE; + ++ (nullable instancetype)invocationWithAppLinkData:(nullable NSDictionary *)applinkData; + +- (BOOL)attributeEvent:(NSString *)event + currency:(nullable NSString *)currency + value:(nullable NSNumber *)value + parameters:(nullable NSDictionary *)parameters + configs:(nullable NSDictionary *> *)configs + shouldUpdateCache:(BOOL)shouldUpdateCache; + +- (BOOL)updateConversionValueWithConfigs:(nullable NSDictionary *> *)configs + event:(NSString *)event + shouldBoostPriority:(BOOL)shouldBoostPriority; + +- (BOOL)isOptimizedEvent:(NSString *)event + configs:(nullable NSDictionary *> *)configs; + +- (BOOL)isOutOfWindowWithConfigs:(nullable NSDictionary *> *)configs; + +- (nullable NSString *)getHMAC:(NSInteger)delay; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMKit-Prefix-Header.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMKit-Prefix-Header.h new file mode 100644 index 0000000..040ca1e --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMKit-Prefix-Header.h @@ -0,0 +1,9 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMKit-Swift.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMKit-Swift.h new file mode 100644 index 0000000..17b5604 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMKit-Swift.h @@ -0,0 +1,598 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +#ifndef FBAEMKIT_SWIFT_H +#define FBAEMKIT_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import Foundation; +@import ObjectiveC; +#endif + +#import + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBAEMKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +@class NSString; +@class NSNumber; +@class NSCoder; + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_CLASS_NAMED("_AEMAdvertiserMultiEntryRule") +@interface FBAEMAdvertiserMultiEntryRule : NSObject +- (nonnull instancetype)initWithOperator:(enum FBAEMAdvertiserRuleOperator)operator_ rules:(NSArray> * _Nonnull)rules OBJC_DESIGNATED_INITIALIZER; +- (BOOL)isMatchedEventParameters:(NSDictionary * _Nullable)eventParams SWIFT_WARN_UNUSED_RESULT; +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) BOOL supportsSecureCoding;) ++ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder; +- (void)encodeWithCoder:(NSCoder * _Nonnull)coder; +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +@class FBAEMRule; +@protocol FBAEMAdvertiserRuleProviding; + +SWIFT_CLASS_NAMED("_AEMConfiguration") +@interface FBAEMConfiguration : NSObject +@property (nonatomic, readonly) NSInteger cutoffTime; +/// The UNIX timestamp of config’s valid date and works as a unqiue identifier of the config +@property (nonatomic, readonly) NSInteger validFrom; +@property (nonatomic, readonly, copy) NSString * _Nonnull defaultCurrency; +@property (nonatomic, readonly, copy) NSString * _Nonnull configMode; +@property (nonatomic, readonly, copy) NSString * _Nullable businessID; +@property (nonatomic, readonly, strong) id _Nullable matchingRule; +@property (nonatomic, readonly, copy) NSArray * _Nonnull conversionValueRules; +@property (nonatomic, readonly, copy) NSSet * _Nonnull eventSet; +@property (nonatomic, readonly, copy) NSSet * _Nonnull currencySet; +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) id _Nullable ruleProvider;) ++ (id _Nullable)ruleProvider SWIFT_WARN_UNUSED_RESULT; ++ (void)configureWithRuleProvider:(id _Nonnull)ruleProvider; +- (nullable instancetype)initWithJSON:(NSDictionary * _Nullable)dict OBJC_DESIGNATED_INITIALIZER; +- (BOOL)isSameValidFrom:(NSInteger)validFrom businessID:(NSString * _Nullable)businessID SWIFT_WARN_UNUSED_RESULT; +- (BOOL)isSameBusinessID:(NSString * _Nullable)businessID SWIFT_WARN_UNUSED_RESULT; +- (void)encodeWithCoder:(NSCoder * _Nonnull)coder; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder; +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) BOOL supportsSecureCoding;) ++ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT; +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_CLASS_NAMED("_AEMEvent") +@interface FBAEMEvent : NSObject +@property (nonatomic, readonly, copy) NSString * _Nonnull eventName; +@property (nonatomic, readonly, copy) NSDictionary * _Nullable values; +- (nullable instancetype)initWithJSON:(NSDictionary * _Nullable)dict OBJC_DESIGNATED_INITIALIZER; +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) BOOL supportsSecureCoding;) ++ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder; +- (void)encodeWithCoder:(NSCoder * _Nonnull)coder; +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_CLASS_NAMED("_AEMSettings") +@interface FBAEMSettings : NSObject ++ (NSString * _Nullable)appID SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +#ifndef FBAEMKIT_SWIFT_H +#define FBAEMKIT_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import Foundation; +@import ObjectiveC; +#endif + +#import + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBAEMKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +@class NSString; +@class NSNumber; +@class NSCoder; + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_CLASS_NAMED("_AEMAdvertiserMultiEntryRule") +@interface FBAEMAdvertiserMultiEntryRule : NSObject +- (nonnull instancetype)initWithOperator:(enum FBAEMAdvertiserRuleOperator)operator_ rules:(NSArray> * _Nonnull)rules OBJC_DESIGNATED_INITIALIZER; +- (BOOL)isMatchedEventParameters:(NSDictionary * _Nullable)eventParams SWIFT_WARN_UNUSED_RESULT; +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) BOOL supportsSecureCoding;) ++ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder; +- (void)encodeWithCoder:(NSCoder * _Nonnull)coder; +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +@class FBAEMRule; +@protocol FBAEMAdvertiserRuleProviding; + +SWIFT_CLASS_NAMED("_AEMConfiguration") +@interface FBAEMConfiguration : NSObject +@property (nonatomic, readonly) NSInteger cutoffTime; +/// The UNIX timestamp of config’s valid date and works as a unqiue identifier of the config +@property (nonatomic, readonly) NSInteger validFrom; +@property (nonatomic, readonly, copy) NSString * _Nonnull defaultCurrency; +@property (nonatomic, readonly, copy) NSString * _Nonnull configMode; +@property (nonatomic, readonly, copy) NSString * _Nullable businessID; +@property (nonatomic, readonly, strong) id _Nullable matchingRule; +@property (nonatomic, readonly, copy) NSArray * _Nonnull conversionValueRules; +@property (nonatomic, readonly, copy) NSSet * _Nonnull eventSet; +@property (nonatomic, readonly, copy) NSSet * _Nonnull currencySet; +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) id _Nullable ruleProvider;) ++ (id _Nullable)ruleProvider SWIFT_WARN_UNUSED_RESULT; ++ (void)configureWithRuleProvider:(id _Nonnull)ruleProvider; +- (nullable instancetype)initWithJSON:(NSDictionary * _Nullable)dict OBJC_DESIGNATED_INITIALIZER; +- (BOOL)isSameValidFrom:(NSInteger)validFrom businessID:(NSString * _Nullable)businessID SWIFT_WARN_UNUSED_RESULT; +- (BOOL)isSameBusinessID:(NSString * _Nullable)businessID SWIFT_WARN_UNUSED_RESULT; +- (void)encodeWithCoder:(NSCoder * _Nonnull)coder; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder; +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) BOOL supportsSecureCoding;) ++ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT; +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_CLASS_NAMED("_AEMEvent") +@interface FBAEMEvent : NSObject +@property (nonatomic, readonly, copy) NSString * _Nonnull eventName; +@property (nonatomic, readonly, copy) NSDictionary * _Nullable values; +- (nullable instancetype)initWithJSON:(NSDictionary * _Nullable)dict OBJC_DESIGNATED_INITIALIZER; +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) BOOL supportsSecureCoding;) ++ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder; +- (void)encodeWithCoder:(NSCoder * _Nonnull)coder; +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_CLASS_NAMED("_AEMSettings") +@interface FBAEMSettings : NSObject ++ (NSString * _Nullable)appID SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMKit.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMKit.h new file mode 100644 index 0000000..71137f8 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMKit.h @@ -0,0 +1,26 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import +#import + +// Temporarily public +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMKitVersions.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMKitVersions.h new file mode 100644 index 0000000..1093c0b --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMKitVersions.h @@ -0,0 +1,10 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#define FBAEMKit_VERSION_STRING @"13.2.0" +#define FBSDK_DEFAULT_GRAPH_API_VERSION @"v13.0" diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMNetworker.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMNetworker.h new file mode 100644 index 0000000..5e50c9e --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMNetworker.h @@ -0,0 +1,40 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_AEMNetworker) +@interface FBAEMNetworker : NSObject + +@property (nullable, nonatomic, copy) NSString *userAgentSuffix; + +- (void)startGraphRequestWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + tokenString:(nullable NSString *)tokenString + HTTPMethod:(nullable NSString *)method + completion:(FBGraphRequestCompletion)completion; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMNetworking.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMNetworking.h new file mode 100644 index 0000000..d1d34dc --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMNetworking.h @@ -0,0 +1,32 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + +NS_ASSUME_NONNULL_BEGIN + +typedef void (^FBGraphRequestCompletion)(id _Nullable result, NSError *_Nullable error); + +NS_SWIFT_NAME(AEMNetworking) +@protocol FBAEMNetworking + +- (void)startGraphRequestWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + tokenString:(nullable NSString *)tokenString + HTTPMethod:(nullable NSString *)method + completion:(FBGraphRequestCompletion)completion; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMReporter.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMReporter.h new file mode 100644 index 0000000..6810e36 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMReporter.h @@ -0,0 +1,116 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + + #import + #import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AEMReporter) +@interface FBAEMReporter : NSObject + +/** + Configure networker used for calling Facebook AEM Graph API endpoint + and Facebook App ID + + This function should be called in application(_:open:options:) from ApplicationDelegate + and BEFORE [FBAEMReporter enable] function + + @param networker An optional networker conforms to FBAEMNetworking which handles Graph API request + @param appID An optional Facebook app ID, if it's null, we will get it from info.plist file with key: FacebookAppID + */ ++ (void)configureWithNetworker:(nullable id)networker + appID:(nullable NSString *)appID __attribute__((deprecated("use configureWithNetworker:appID:reporter: instead."))); + +/** + Configure networker used for calling Facebook AEM Graph API endpoint + Facebook App ID and SKAdNetwork reporter + + This function should be called in application(_:open:options:) from ApplicationDelegate + and BEFORE [FBAEMReporter enable] function. We will use SKAdNetwork reporter to prevent + double counting. + + @param networker An optional networker conforms to FBAEMNetworking which handles Graph API request + @param appID An optional Facebook app ID, if it's null, we will get it from info.plist file with key: FacebookAppID + @param reporter The SKAdNetwork repoter + */ ++ (void)configureWithNetworker:(nullable id)networker + appID:(nullable NSString *)appID + reporter:(nullable id)reporter; + +/** + Configure networker used for calling Facebook AEM Graph API endpoint + Facebook App ID, SKAdNetwork reporter and Analytics App ID + + This function should be called in application(_:open:options:) from ApplicationDelegate + and BEFORE [FBAEMReporter enable] function. We will use SKAdNetwork reporter to prevent + double counting. + + @param networker An optional networker conforms to FBAEMNetworking which handles Graph API request + @param appID An optional Facebook app ID, if it's null, we will get it from info.plist file with key: FacebookAppID + @param reporter The SKAdNetwork repoter + @param analyticsAppID An optional Analytics app ID. + */ ++ (void)configureWithNetworker:(nullable id)networker + appID:(nullable NSString *)appID + reporter:(nullable id)reporter + analyticsAppID:(nullable NSString *)analyticsAppID; + +/** + Enable AEM reporting + + This function should be called in application(_:open:options:) from ApplicationDelegate + */ ++ (void)enable; + +/** + Control whether to enable conversion filtering + + This function should be called in application(_:open:options:) from ApplicationDelegate + */ ++ (void)setConversionFilteringEnabled:(BOOL)enabled; + +/** + Control whether to enable catalog matching + + This function should be called in application(_:open:options:) from ApplicationDelegate + */ ++ (void)setCatalogMatchingEnabled:(BOOL)enabled; + +/** + Handle deeplink + + This function should be called in application(_:open:options:) from ApplicationDelegate + */ ++ (void)handleURL:(NSURL *)url; + +/** + Calculate the conversion value for the app event based on the AEM configuration + + This function should be called when you log any in-app events + */ + +// UNCRUSTIFY_FORMAT_OFF ++ (void)recordAndUpdateEvent:(NSString *)event + currency:(nullable NSString *)currency + value:(nullable NSNumber *)value + parameters:(nullable NSDictionary *)parameters +NS_SWIFT_NAME(recordAndUpdate(event:currency:value:parameters:)); +// UNCRUSTIFY_FORMAT_ON + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMRequestBody.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMRequestBody.h new file mode 100644 index 0000000..e3941bd --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMRequestBody.h @@ -0,0 +1,41 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_AEMRequestBody) +@interface FBAEMRequestBody : NSObject + +@property (nonatomic, readonly, retain) NSData *data; + +- (void)appendWithKey:(NSString *)key + formValue:(NSString *)value; + +- (nullable NSData *)compressedData; + + #if DEBUG +@property (nonatomic, readonly, retain) NSData *multipartData; + #endif + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMRule.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMRule.h new file mode 100644 index 0000000..bd02214 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMRule.h @@ -0,0 +1,46 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + +@class FBAEMEvent; + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_AEMRule) +@interface FBAEMRule : NSObject + +@property (nonatomic) NSInteger conversionValue; +@property (nonatomic) NSInteger priority; +@property (nonatomic, copy) NSArray *events; + ++ (instancetype)new NS_UNAVAILABLE; +- (instancetype)init NS_UNAVAILABLE; + +- (nullable instancetype)initWithJSON:(nullable NSDictionary *)dict; + +- (BOOL)containsEvent:(NSString *)event; + +- (BOOL)isMatchedWithRecordedEvents:(nullable NSSet *)recordedEvents + recordedValues:(nullable NSDictionary *> *)recordedValues; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMUtility.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMUtility.h new file mode 100644 index 0000000..a09adeb --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMUtility.h @@ -0,0 +1,42 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_AEMUtility) +@interface FBAEMUtility : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +@property (class, nonatomic, readonly) FBAEMUtility *sharedUtility; + +- (NSNumber *)getInSegmentValue:(nullable NSDictionary *)parameters + matchingRule:(id)matchingRule; + +- (nullable NSString *)getContentID:(nullable NSDictionary *)parameters; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBSKAdNetworkReporting.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBSKAdNetworkReporting.h new file mode 100644 index 0000000..226bdcb --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBSKAdNetworkReporting.h @@ -0,0 +1,28 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(SKAdNetworkReporting) +@protocol FBSKAdNetworkReporting + +- (BOOL)shouldCutoff; + +- (BOOL)isReportingEvent:(NSString *)event; + +- (void)checkAndRevokeTimer; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Info.plist b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Info.plist new file mode 100644 index 0000000..c0856fc Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Info.plist differ diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000..60c69aa Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000..5e21748 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -0,0 +1,82 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBAEMKit +@_exported import FBAEMKit +import Swift +import _Concurrency +@objcMembers @objc(FBAEMAdvertiserMultiEntryRule) final public class _AEMAdvertiserMultiEntryRule : ObjectiveC.NSObject, FBAEMKit._AEMAdvertiserRuleMatching, Foundation.NSCopying, Foundation.NSSecureCoding { + @objc(initWithOperator:rules:) public init(with operator: FBAEMKit._AEMAdvertiserRuleOperator, rules: [FBAEMKit._AEMAdvertiserRuleMatching]) + @objc final public func isMatchedEventParameters(_ eventParams: [Swift.String : Any]?) -> Swift.Bool + @objc public static var supportsSecureCoding: Swift.Bool { + @objc get + } + @objc convenience public init?(coder: Foundation.NSCoder) + @objc final public func encode(with coder: Foundation.NSCoder) + @objc final public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBAEMConfiguration) final public class _AEMConfiguration : ObjectiveC.NSObject, Foundation.NSCopying, Foundation.NSSecureCoding { + @objc final public var cutoffTime: Swift.Int { + get + } + @objc final public var validFrom: Swift.Int { + get + } + @objc final public var defaultCurrency: Swift.String { + get + } + @objc final public var configMode: Swift.String { + get + } + @objc final public var businessID: Swift.String? { + get + } + @objc final public var matchingRule: FBAEMKit._AEMAdvertiserRuleMatching? { + get + } + @objc final public var conversionValueRules: [FBAEMKit._AEMRule] { + get + } + @objc final public var eventSet: Swift.Set { + get + } + @objc final public var currencySet: Swift.Set { + get + } + @objc public static var ruleProvider: FBAEMKit._AEMAdvertiserRuleProviding? { + get + } + @objc public static func configure(withRuleProvider ruleProvider: FBAEMKit._AEMAdvertiserRuleProviding) + @objc(initWithJSON:) public init?(json dict: [Swift.String : Any]?) + @objc final public func isSameValid(from validFrom: Swift.Int, businessID: Swift.String?) -> Swift.Bool + @objc final public func isSameBusinessID(_ businessID: Swift.String?) -> Swift.Bool + @objc final public func encode(with coder: Foundation.NSCoder) + @objc convenience public init?(coder: Foundation.NSCoder) + @objc public static var supportsSecureCoding: Swift.Bool { + @objc get + } + @objc final public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBAEMEvent) final public class _AEMEvent : ObjectiveC.NSObject, Foundation.NSCopying, Foundation.NSSecureCoding { + @objc final public var eventName: Swift.String { + get + } + @objc final public var values: [Swift.String : Swift.Int]? { + get + } + @objc(initWithJSON:) public init?(dict: [Swift.String : Any]?) + @objc public static var supportsSecureCoding: Swift.Bool { + @objc get + } + @objc convenience public init?(coder: Foundation.NSCoder) + @objc final public func encode(with coder: Foundation.NSCoder) + @objc final public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBAEMSettings) final public class _AEMSettings : ObjectiveC.NSObject { + @objc public static func appID() -> Swift.String? + @objc override dynamic public init() + @objc deinit +} diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64.swiftdoc b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..60c69aa Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64.swiftinterface b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..5e21748 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64.swiftinterface @@ -0,0 +1,82 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBAEMKit +@_exported import FBAEMKit +import Swift +import _Concurrency +@objcMembers @objc(FBAEMAdvertiserMultiEntryRule) final public class _AEMAdvertiserMultiEntryRule : ObjectiveC.NSObject, FBAEMKit._AEMAdvertiserRuleMatching, Foundation.NSCopying, Foundation.NSSecureCoding { + @objc(initWithOperator:rules:) public init(with operator: FBAEMKit._AEMAdvertiserRuleOperator, rules: [FBAEMKit._AEMAdvertiserRuleMatching]) + @objc final public func isMatchedEventParameters(_ eventParams: [Swift.String : Any]?) -> Swift.Bool + @objc public static var supportsSecureCoding: Swift.Bool { + @objc get + } + @objc convenience public init?(coder: Foundation.NSCoder) + @objc final public func encode(with coder: Foundation.NSCoder) + @objc final public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBAEMConfiguration) final public class _AEMConfiguration : ObjectiveC.NSObject, Foundation.NSCopying, Foundation.NSSecureCoding { + @objc final public var cutoffTime: Swift.Int { + get + } + @objc final public var validFrom: Swift.Int { + get + } + @objc final public var defaultCurrency: Swift.String { + get + } + @objc final public var configMode: Swift.String { + get + } + @objc final public var businessID: Swift.String? { + get + } + @objc final public var matchingRule: FBAEMKit._AEMAdvertiserRuleMatching? { + get + } + @objc final public var conversionValueRules: [FBAEMKit._AEMRule] { + get + } + @objc final public var eventSet: Swift.Set { + get + } + @objc final public var currencySet: Swift.Set { + get + } + @objc public static var ruleProvider: FBAEMKit._AEMAdvertiserRuleProviding? { + get + } + @objc public static func configure(withRuleProvider ruleProvider: FBAEMKit._AEMAdvertiserRuleProviding) + @objc(initWithJSON:) public init?(json dict: [Swift.String : Any]?) + @objc final public func isSameValid(from validFrom: Swift.Int, businessID: Swift.String?) -> Swift.Bool + @objc final public func isSameBusinessID(_ businessID: Swift.String?) -> Swift.Bool + @objc final public func encode(with coder: Foundation.NSCoder) + @objc convenience public init?(coder: Foundation.NSCoder) + @objc public static var supportsSecureCoding: Swift.Bool { + @objc get + } + @objc final public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBAEMEvent) final public class _AEMEvent : ObjectiveC.NSObject, Foundation.NSCopying, Foundation.NSSecureCoding { + @objc final public var eventName: Swift.String { + get + } + @objc final public var values: [Swift.String : Swift.Int]? { + get + } + @objc(initWithJSON:) public init?(dict: [Swift.String : Any]?) + @objc public static var supportsSecureCoding: Swift.Bool { + @objc get + } + @objc convenience public init?(coder: Foundation.NSCoder) + @objc final public func encode(with coder: Foundation.NSCoder) + @objc final public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBAEMSettings) final public class _AEMSettings : ObjectiveC.NSObject { + @objc public static func appID() -> Swift.String? + @objc override dynamic public init() + @objc deinit +} diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000..719c894 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000..59c7746 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -0,0 +1,82 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBAEMKit +@_exported import FBAEMKit +import Swift +import _Concurrency +@objcMembers @objc(FBAEMAdvertiserMultiEntryRule) final public class _AEMAdvertiserMultiEntryRule : ObjectiveC.NSObject, FBAEMKit._AEMAdvertiserRuleMatching, Foundation.NSCopying, Foundation.NSSecureCoding { + @objc(initWithOperator:rules:) public init(with operator: FBAEMKit._AEMAdvertiserRuleOperator, rules: [FBAEMKit._AEMAdvertiserRuleMatching]) + @objc final public func isMatchedEventParameters(_ eventParams: [Swift.String : Any]?) -> Swift.Bool + @objc public static var supportsSecureCoding: Swift.Bool { + @objc get + } + @objc convenience public init?(coder: Foundation.NSCoder) + @objc final public func encode(with coder: Foundation.NSCoder) + @objc final public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBAEMConfiguration) final public class _AEMConfiguration : ObjectiveC.NSObject, Foundation.NSCopying, Foundation.NSSecureCoding { + @objc final public var cutoffTime: Swift.Int { + get + } + @objc final public var validFrom: Swift.Int { + get + } + @objc final public var defaultCurrency: Swift.String { + get + } + @objc final public var configMode: Swift.String { + get + } + @objc final public var businessID: Swift.String? { + get + } + @objc final public var matchingRule: FBAEMKit._AEMAdvertiserRuleMatching? { + get + } + @objc final public var conversionValueRules: [FBAEMKit._AEMRule] { + get + } + @objc final public var eventSet: Swift.Set { + get + } + @objc final public var currencySet: Swift.Set { + get + } + @objc public static var ruleProvider: FBAEMKit._AEMAdvertiserRuleProviding? { + get + } + @objc public static func configure(withRuleProvider ruleProvider: FBAEMKit._AEMAdvertiserRuleProviding) + @objc(initWithJSON:) public init?(json dict: [Swift.String : Any]?) + @objc final public func isSameValid(from validFrom: Swift.Int, businessID: Swift.String?) -> Swift.Bool + @objc final public func isSameBusinessID(_ businessID: Swift.String?) -> Swift.Bool + @objc final public func encode(with coder: Foundation.NSCoder) + @objc convenience public init?(coder: Foundation.NSCoder) + @objc public static var supportsSecureCoding: Swift.Bool { + @objc get + } + @objc final public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBAEMEvent) final public class _AEMEvent : ObjectiveC.NSObject, Foundation.NSCopying, Foundation.NSSecureCoding { + @objc final public var eventName: Swift.String { + get + } + @objc final public var values: [Swift.String : Swift.Int]? { + get + } + @objc(initWithJSON:) public init?(dict: [Swift.String : Any]?) + @objc public static var supportsSecureCoding: Swift.Bool { + @objc get + } + @objc convenience public init?(coder: Foundation.NSCoder) + @objc final public func encode(with coder: Foundation.NSCoder) + @objc final public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBAEMSettings) final public class _AEMSettings : ObjectiveC.NSObject { + @objc public static func appID() -> Swift.String? + @objc override dynamic public init() + @objc deinit +} diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/x86_64.swiftdoc b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/x86_64.swiftdoc new file mode 100644 index 0000000..719c894 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/x86_64.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/x86_64.swiftinterface b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/x86_64.swiftinterface new file mode 100644 index 0000000..59c7746 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/x86_64.swiftinterface @@ -0,0 +1,82 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBAEMKit +@_exported import FBAEMKit +import Swift +import _Concurrency +@objcMembers @objc(FBAEMAdvertiserMultiEntryRule) final public class _AEMAdvertiserMultiEntryRule : ObjectiveC.NSObject, FBAEMKit._AEMAdvertiserRuleMatching, Foundation.NSCopying, Foundation.NSSecureCoding { + @objc(initWithOperator:rules:) public init(with operator: FBAEMKit._AEMAdvertiserRuleOperator, rules: [FBAEMKit._AEMAdvertiserRuleMatching]) + @objc final public func isMatchedEventParameters(_ eventParams: [Swift.String : Any]?) -> Swift.Bool + @objc public static var supportsSecureCoding: Swift.Bool { + @objc get + } + @objc convenience public init?(coder: Foundation.NSCoder) + @objc final public func encode(with coder: Foundation.NSCoder) + @objc final public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBAEMConfiguration) final public class _AEMConfiguration : ObjectiveC.NSObject, Foundation.NSCopying, Foundation.NSSecureCoding { + @objc final public var cutoffTime: Swift.Int { + get + } + @objc final public var validFrom: Swift.Int { + get + } + @objc final public var defaultCurrency: Swift.String { + get + } + @objc final public var configMode: Swift.String { + get + } + @objc final public var businessID: Swift.String? { + get + } + @objc final public var matchingRule: FBAEMKit._AEMAdvertiserRuleMatching? { + get + } + @objc final public var conversionValueRules: [FBAEMKit._AEMRule] { + get + } + @objc final public var eventSet: Swift.Set { + get + } + @objc final public var currencySet: Swift.Set { + get + } + @objc public static var ruleProvider: FBAEMKit._AEMAdvertiserRuleProviding? { + get + } + @objc public static func configure(withRuleProvider ruleProvider: FBAEMKit._AEMAdvertiserRuleProviding) + @objc(initWithJSON:) public init?(json dict: [Swift.String : Any]?) + @objc final public func isSameValid(from validFrom: Swift.Int, businessID: Swift.String?) -> Swift.Bool + @objc final public func isSameBusinessID(_ businessID: Swift.String?) -> Swift.Bool + @objc final public func encode(with coder: Foundation.NSCoder) + @objc convenience public init?(coder: Foundation.NSCoder) + @objc public static var supportsSecureCoding: Swift.Bool { + @objc get + } + @objc final public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBAEMEvent) final public class _AEMEvent : ObjectiveC.NSObject, Foundation.NSCopying, Foundation.NSSecureCoding { + @objc final public var eventName: Swift.String { + get + } + @objc final public var values: [Swift.String : Swift.Int]? { + get + } + @objc(initWithJSON:) public init?(dict: [Swift.String : Any]?) + @objc public static var supportsSecureCoding: Swift.Bool { + @objc get + } + @objc convenience public init?(coder: Foundation.NSCoder) + @objc final public func encode(with coder: Foundation.NSCoder) + @objc final public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBAEMSettings) final public class _AEMSettings : ObjectiveC.NSObject { + @objc public static func appID() -> Swift.String? + @objc override dynamic public init() + @objc deinit +} diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Modules/module.modulemap b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Modules/module.modulemap new file mode 100644 index 0000000..f7b1373 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module FBAEMKit { + umbrella header "FBAEMKit.h" + + export * + module * { export * } +} + +module FBAEMKit.Swift { + header "FBAEMKit-Swift.h" + requires objc +} diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/_CodeSignature/CodeDirectory b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/_CodeSignature/CodeDirectory new file mode 100644 index 0000000..7d14ec6 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/_CodeSignature/CodeDirectory differ diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/_CodeSignature/CodeRequirements b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/_CodeSignature/CodeRequirements new file mode 100644 index 0000000..dbf9d61 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/_CodeSignature/CodeRequirements differ diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/_CodeSignature/CodeRequirements-1 b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/_CodeSignature/CodeRequirements-1 new file mode 100644 index 0000000..c23e8cd Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/_CodeSignature/CodeRequirements-1 differ diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/_CodeSignature/CodeResources b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/_CodeSignature/CodeResources new file mode 100644 index 0000000..242abd0 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/_CodeSignature/CodeResources @@ -0,0 +1,552 @@ + + + + + files + + Headers/FBAEMAdvertiserRuleFactory.h + + yKvLFvS6IAEnl4wy2Hr+qpLlTZQ= + + Headers/FBAEMAdvertiserRuleMatching.h + + J4XLVbU1QkQ+vsp96NbE2CDglZw= + + Headers/FBAEMAdvertiserRuleOperator.h + + pxydqvI15BpRVBvfSn9RXFP6zz0= + + Headers/FBAEMAdvertiserRuleProviding.h + + oBjpGjCzOkGy0g6v8hbcpjXxy9I= + + Headers/FBAEMAdvertiserSingleEntryRule.h + + hLUkAkmODucoUntMPo6uLRF72Lo= + + Headers/FBAEMInvocation.h + + vA7s6hcnI31hKtWSwAIwWaQVe2E= + + Headers/FBAEMKit-Prefix-Header.h + + K7g/zhr5ZA6vVqsMHKBc4hwRqTs= + + Headers/FBAEMKit-Swift.h + + VJNYOT8HoihxHQd97uBTLkjXbKk= + + Headers/FBAEMKit.h + + gB02kjZCTPSjf3JmciNaczoklC4= + + Headers/FBAEMKitVersions.h + + 6axPztwda+5bKIIkkxzurKmP/p4= + + Headers/FBAEMNetworker.h + + 1YIulr37EaDtIX9J+Qhun6tLf+U= + + Headers/FBAEMNetworking.h + + ghTzHaeILWcH507QH7tTFKT45po= + + Headers/FBAEMReporter.h + + p+LiA7Shk5uAVBAzAFEy20Rvm/Y= + + Headers/FBAEMRequestBody.h + + /3dF50huTEGkN3puysyndoBwaSI= + + Headers/FBAEMRule.h + + vf04ru85SXUoqaOlvLiBjJTWiPw= + + Headers/FBAEMUtility.h + + tYxNbX/UFxFuy8CvDSrX2P7eHnA= + + Headers/FBSKAdNetworkReporting.h + + pky/QYIj/dB780WrIohjghUSH/E= + + Info.plist + + tcscdGawl3zyhl6H7YHtGzpjYv8= + + Modules/FBAEMKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + JrOCHipruUf3+HSHdIBhwKKb7jk= + + Modules/FBAEMKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + d1StN9SPacbwEyvwRzGRR12zQT0= + + Modules/FBAEMKit.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + CiwqbqioDp7qr9/M2xL2DyZQ6aI= + + Modules/FBAEMKit.swiftmodule/arm64.swiftdoc + + JrOCHipruUf3+HSHdIBhwKKb7jk= + + Modules/FBAEMKit.swiftmodule/arm64.swiftinterface + + d1StN9SPacbwEyvwRzGRR12zQT0= + + Modules/FBAEMKit.swiftmodule/arm64.swiftmodule + + CiwqbqioDp7qr9/M2xL2DyZQ6aI= + + Modules/FBAEMKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + 8XTNqFKw4f9nnj8xAtMf0ck8A3Y= + + Modules/FBAEMKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + z8W7+ZTIYZfut6N6OZRIDV8fZ3I= + + Modules/FBAEMKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule + + r+NSS6KsfWcmmEEI9E1q32FbRtI= + + Modules/FBAEMKit.swiftmodule/x86_64.swiftdoc + + 8XTNqFKw4f9nnj8xAtMf0ck8A3Y= + + Modules/FBAEMKit.swiftmodule/x86_64.swiftinterface + + z8W7+ZTIYZfut6N6OZRIDV8fZ3I= + + Modules/FBAEMKit.swiftmodule/x86_64.swiftmodule + + r+NSS6KsfWcmmEEI9E1q32FbRtI= + + Modules/module.modulemap + + JELH5jXIzrBpYB3cXkE3/w648tU= + + + files2 + + Headers/FBAEMAdvertiserRuleFactory.h + + hash + + yKvLFvS6IAEnl4wy2Hr+qpLlTZQ= + + hash2 + + n4ff1JqmRT9hLIChw9LKJPnHikWNW437YLQcMbqWaNI= + + + Headers/FBAEMAdvertiserRuleMatching.h + + hash + + J4XLVbU1QkQ+vsp96NbE2CDglZw= + + hash2 + + b7OWeUClIk3eMzKQ88dpyks5XwvN2rqz8ma+jGc9aC0= + + + Headers/FBAEMAdvertiserRuleOperator.h + + hash + + pxydqvI15BpRVBvfSn9RXFP6zz0= + + hash2 + + V/lKJil+YXykdXxtDcsdsCAVbcXhTZXclpWuGeikoDA= + + + Headers/FBAEMAdvertiserRuleProviding.h + + hash + + oBjpGjCzOkGy0g6v8hbcpjXxy9I= + + hash2 + + T2S5e1Qb400jRGUaIKao17m6TOTttA7oUvD1YHgFZpo= + + + Headers/FBAEMAdvertiserSingleEntryRule.h + + hash + + hLUkAkmODucoUntMPo6uLRF72Lo= + + hash2 + + MtpELt09rYat78RMDpRCuog7xUYkwdT7soZkIk1MIJI= + + + Headers/FBAEMInvocation.h + + hash + + vA7s6hcnI31hKtWSwAIwWaQVe2E= + + hash2 + + dr9DQsVF22nH0/TalKjpcBPOXpwc9VH2NjSh2s6AVyU= + + + Headers/FBAEMKit-Prefix-Header.h + + hash + + K7g/zhr5ZA6vVqsMHKBc4hwRqTs= + + hash2 + + X95o1ZqRBk75B/twsFPDGwnE0rcJzZZ+aHVXYs2e24Q= + + + Headers/FBAEMKit-Swift.h + + hash + + VJNYOT8HoihxHQd97uBTLkjXbKk= + + hash2 + + H3TwYsS+HREQkMwTFyiQ3fdiNz9qiYj4wuGWvIFOyBo= + + + Headers/FBAEMKit.h + + hash + + gB02kjZCTPSjf3JmciNaczoklC4= + + hash2 + + w8Gz6WgkveMjXpcHO9d3+sGON32lDdCWFHKYR+7dgas= + + + Headers/FBAEMKitVersions.h + + hash + + 6axPztwda+5bKIIkkxzurKmP/p4= + + hash2 + + KWnWNB7wiPlGi15HlfozeaVQOsIDExVCf3foG7AIEjQ= + + + Headers/FBAEMNetworker.h + + hash + + 1YIulr37EaDtIX9J+Qhun6tLf+U= + + hash2 + + 6ul/TswN5q6XDTJd1EBQZZwZd0BsTpmTidGQ/6qtLiY= + + + Headers/FBAEMNetworking.h + + hash + + ghTzHaeILWcH507QH7tTFKT45po= + + hash2 + + 7e2i1241Ft2Xvaut6NIyhoHw6N+wMpOIsbrTDlI81g0= + + + Headers/FBAEMReporter.h + + hash + + p+LiA7Shk5uAVBAzAFEy20Rvm/Y= + + hash2 + + E0wsApaYPPtNFUlZqr8dn+npXeZUlXOuLVvUBbwBAsE= + + + Headers/FBAEMRequestBody.h + + hash + + /3dF50huTEGkN3puysyndoBwaSI= + + hash2 + + 9x7kOSgzLDOkVitO5IJz7RCkuY9b5wOZIMnd5i51dKA= + + + Headers/FBAEMRule.h + + hash + + vf04ru85SXUoqaOlvLiBjJTWiPw= + + hash2 + + dmaO4ah5Qj0cVSMksb9T3A8EnGyeQRkKAQqrn0kzUmU= + + + Headers/FBAEMUtility.h + + hash + + tYxNbX/UFxFuy8CvDSrX2P7eHnA= + + hash2 + + jiGNk1M6flw8FBdRaKmRowNraky5j+WeQuqNRmfEXiM= + + + Headers/FBSKAdNetworkReporting.h + + hash + + pky/QYIj/dB780WrIohjghUSH/E= + + hash2 + + elf75HlZ2bDZbULPVssKTSgy8K957SFxGfCuUVz2S6c= + + + Modules/FBAEMKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + hash + + JrOCHipruUf3+HSHdIBhwKKb7jk= + + hash2 + + RLzvhE5EiAB2ui4cX/AS90g8o3q1svDNlLmDMfC3QWE= + + + Modules/FBAEMKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + hash + + d1StN9SPacbwEyvwRzGRR12zQT0= + + hash2 + + wDRRlfC2aXIlYu6GjgqLigcKNKRKc59CfwDlCYwDCyc= + + + Modules/FBAEMKit.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + hash + + CiwqbqioDp7qr9/M2xL2DyZQ6aI= + + hash2 + + UDAygLCTZr1c36s/rbyp/RMkzoU+JGEWo5gPOTsmEX0= + + + Modules/FBAEMKit.swiftmodule/arm64.swiftdoc + + hash + + JrOCHipruUf3+HSHdIBhwKKb7jk= + + hash2 + + RLzvhE5EiAB2ui4cX/AS90g8o3q1svDNlLmDMfC3QWE= + + + Modules/FBAEMKit.swiftmodule/arm64.swiftinterface + + hash + + d1StN9SPacbwEyvwRzGRR12zQT0= + + hash2 + + wDRRlfC2aXIlYu6GjgqLigcKNKRKc59CfwDlCYwDCyc= + + + Modules/FBAEMKit.swiftmodule/arm64.swiftmodule + + hash + + CiwqbqioDp7qr9/M2xL2DyZQ6aI= + + hash2 + + UDAygLCTZr1c36s/rbyp/RMkzoU+JGEWo5gPOTsmEX0= + + + Modules/FBAEMKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + hash + + 8XTNqFKw4f9nnj8xAtMf0ck8A3Y= + + hash2 + + Q9Rnh4aPKdc+ZnDyHQCnS3LVhm2dZOHxzJbs6oZnK1M= + + + Modules/FBAEMKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + hash + + z8W7+ZTIYZfut6N6OZRIDV8fZ3I= + + hash2 + + UjwrRmxfYHZ70QhRjfnUZks7Jk6UfyayAleQYlTEjXI= + + + Modules/FBAEMKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule + + hash + + r+NSS6KsfWcmmEEI9E1q32FbRtI= + + hash2 + + 4n6yt54kNwS246Js0zI3JdutvjzkGqQ/bG21rSGfpc8= + + + Modules/FBAEMKit.swiftmodule/x86_64.swiftdoc + + hash + + 8XTNqFKw4f9nnj8xAtMf0ck8A3Y= + + hash2 + + Q9Rnh4aPKdc+ZnDyHQCnS3LVhm2dZOHxzJbs6oZnK1M= + + + Modules/FBAEMKit.swiftmodule/x86_64.swiftinterface + + hash + + z8W7+ZTIYZfut6N6OZRIDV8fZ3I= + + hash2 + + UjwrRmxfYHZ70QhRjfnUZks7Jk6UfyayAleQYlTEjXI= + + + Modules/FBAEMKit.swiftmodule/x86_64.swiftmodule + + hash + + r+NSS6KsfWcmmEEI9E1q32FbRtI= + + hash2 + + 4n6yt54kNwS246Js0zI3JdutvjzkGqQ/bG21rSGfpc8= + + + Modules/module.modulemap + + hash + + JELH5jXIzrBpYB3cXkE3/w648tU= + + hash2 + + WLmw/LmU8blwOPh6slu/vPmQN0rS9XKWqm0gRWm7Kyk= + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/_CodeSignature/CodeSignature b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator/FBAEMKit.framework/_CodeSignature/CodeSignature new file mode 100644 index 0000000..e69de29 diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/FBAEMKit b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/FBAEMKit new file mode 100644 index 0000000..8638103 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/FBAEMKit differ diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleFactory.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleFactory.h new file mode 100644 index 0000000..dabe6a6 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleFactory.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + + #import + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_AEMAdvertiserRuleFactory) +@interface FBAEMAdvertiserRuleFactory : NSObject + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleMatching.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleMatching.h new file mode 100644 index 0000000..1645610 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleMatching.h @@ -0,0 +1,32 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_AEMAdvertiserRuleMatching) +@protocol FBAEMAdvertiserRuleMatching + +- (BOOL)isMatchedEventParameters:(nullable NSDictionary *)eventParams; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleOperator.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleOperator.h new file mode 100644 index 0000000..7e6f4ba --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleOperator.h @@ -0,0 +1,46 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +typedef NS_CLOSED_ENUM (NSInteger, FBAEMAdvertiserRuleOperator) +{ + FBAEMAdvertiserRuleOperatorUnknown = 0, + // Multi Entry Rule Operator + FBAEMAdvertiserRuleOperatorAnd, + FBAEMAdvertiserRuleOperatorOr, + FBAEMAdvertiserRuleOperatorNot, + // Single Entry Rule Operator + FBAEMAdvertiserRuleOperatorContains, + FBAEMAdvertiserRuleOperatorNotContains, + FBAEMAdvertiserRuleOperatorStartsWith, + FBAEMAdvertiserRuleOperatorCaseInsensitiveContains, + FBAEMAdvertiserRuleOperatorCaseInsensitiveNotContains, + FBAEMAdvertiserRuleOperatorCaseInsensitiveStartsWith, + FBAEMAdvertiserRuleOperatorRegexMatch, + FBAEMAdvertiserRuleOperatorEqual, + FBAEMAdvertiserRuleOperatorNotEqual, + FBAEMAdvertiserRuleOperatorLessThan, + FBAEMAdvertiserRuleOperatorLessThanOrEqual, + FBAEMAdvertiserRuleOperatorGreaterThan, + FBAEMAdvertiserRuleOperatorGreaterThanOrEqual, + FBAEMAdvertiserRuleOperatorCaseInsensitiveIsAny, + FBAEMAdvertiserRuleOperatorCaseInsensitiveIsNotAny, + FBAEMAdvertiserRuleOperatorIsAny, + FBAEMAdvertiserRuleOperatorIsNotAny +} NS_SWIFT_NAME(_AEMAdvertiserRuleOperator); + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleProviding.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleProviding.h new file mode 100644 index 0000000..0a99291 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleProviding.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +/// Describes anything that can provide instances of `AEMAdvertiserRuleMatching` +NS_SWIFT_NAME(_AEMAdvertiserRuleProviding) +@protocol FBAEMAdvertiserRuleProviding + +- (nullable id)createRuleWithJson:(nullable NSString *)json; + +- (nullable id)createRuleWithDict:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMAdvertiserSingleEntryRule.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMAdvertiserSingleEntryRule.h new file mode 100644 index 0000000..79c12ee --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMAdvertiserSingleEntryRule.h @@ -0,0 +1,48 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + + #import + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_AEMAdvertiserSingleEntryRule) +@interface FBAEMAdvertiserSingleEntryRule : NSObject + +@property (nonatomic, readonly, assign)FBAEMAdvertiserRuleOperator operator; +@property (nonatomic, readonly) NSString *paramKey; +@property (nullable, nonatomic, readonly) NSString *linguisticCondition; +@property (nullable, nonatomic, readonly) NSNumber *numericalCondition; +@property (nullable, nonatomic, readonly) NSArray *arrayCondition; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +- (instancetype)initWithOperator:(FBAEMAdvertiserRuleOperator)op + paramKey:(NSString *)paramKey + linguisticCondition:(nullable NSString *)linguisticCondition + numericalCondition:(nullable NSNumber *)numericalCondition + arrayCondition:(nullable NSArray *)arrayCondition; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMInvocation.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMInvocation.h new file mode 100644 index 0000000..f102955 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMInvocation.h @@ -0,0 +1,92 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + +@class FBAEMConfiguration; + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_AEMInvocation) +@interface FBAEMInvocation : NSObject + +@property (nonatomic, readonly, copy) NSString *campaignID; + +@property (nonatomic, readonly, copy) NSString *ACSToken; + +@property (nullable, nonatomic, readonly, copy) NSString *ACSSharedSecret; + +@property (nullable, nonatomic, readonly, copy) NSString *ACSConfigID; + +@property (nullable, nonatomic, readonly, copy) NSString *businessID; + +@property (nullable, nonatomic, readonly, copy) NSString *catalogID; + +@property (nonatomic, readonly, assign) BOOL isTestMode; + +@property (nonatomic, readonly, assign) BOOL hasSKAN; + +@property (nonatomic, readonly, assign) BOOL isConversionFilteringEligible; + +@property (nonatomic, readonly, copy) NSDate *timestamp; + +@property (nonatomic, readonly, copy) NSString *configMode; + +/// The unique identifier of the config, it's the same as config's validFrom +@property (nonatomic, readonly, assign) NSInteger configID; + +@property (nonatomic, readonly) NSMutableSet *recordedEvents; + +@property (nonatomic, readonly) NSMutableDictionary *> *recordedValues; + +@property (nonatomic, readonly, assign) NSInteger conversionValue; + +@property (nonatomic, readonly, assign) NSInteger priority; + +@property (nullable, nonatomic, readonly) NSDate *conversionTimestamp; + +@property (nonatomic, assign) BOOL isAggregated; + ++ (instancetype)new NS_UNAVAILABLE; +- (instancetype)init NS_UNAVAILABLE; + ++ (nullable instancetype)invocationWithAppLinkData:(nullable NSDictionary *)applinkData; + +- (BOOL)attributeEvent:(NSString *)event + currency:(nullable NSString *)currency + value:(nullable NSNumber *)value + parameters:(nullable NSDictionary *)parameters + configs:(nullable NSDictionary *> *)configs + shouldUpdateCache:(BOOL)shouldUpdateCache; + +- (BOOL)updateConversionValueWithConfigs:(nullable NSDictionary *> *)configs + event:(NSString *)event + shouldBoostPriority:(BOOL)shouldBoostPriority; + +- (BOOL)isOptimizedEvent:(NSString *)event + configs:(nullable NSDictionary *> *)configs; + +- (BOOL)isOutOfWindowWithConfigs:(nullable NSDictionary *> *)configs; + +- (nullable NSString *)getHMAC:(NSInteger)delay; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMKit-Prefix-Header.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMKit-Prefix-Header.h new file mode 100644 index 0000000..040ca1e --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMKit-Prefix-Header.h @@ -0,0 +1,9 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMKit-Swift.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMKit-Swift.h new file mode 100644 index 0000000..925d37d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMKit-Swift.h @@ -0,0 +1,212 @@ +// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +#ifndef FBAEMKIT_SWIFT_H +#define FBAEMKIT_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBAEMKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMKit.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMKit.h new file mode 100644 index 0000000..71137f8 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMKit.h @@ -0,0 +1,26 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import +#import + +// Temporarily public +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMKitVersions.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMKitVersions.h new file mode 100644 index 0000000..1093c0b --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMKitVersions.h @@ -0,0 +1,10 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#define FBAEMKit_VERSION_STRING @"13.2.0" +#define FBSDK_DEFAULT_GRAPH_API_VERSION @"v13.0" diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMNetworker.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMNetworker.h new file mode 100644 index 0000000..5e50c9e --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMNetworker.h @@ -0,0 +1,40 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_AEMNetworker) +@interface FBAEMNetworker : NSObject + +@property (nullable, nonatomic, copy) NSString *userAgentSuffix; + +- (void)startGraphRequestWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + tokenString:(nullable NSString *)tokenString + HTTPMethod:(nullable NSString *)method + completion:(FBGraphRequestCompletion)completion; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMNetworking.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMNetworking.h new file mode 100644 index 0000000..d1d34dc --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMNetworking.h @@ -0,0 +1,32 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + +NS_ASSUME_NONNULL_BEGIN + +typedef void (^FBGraphRequestCompletion)(id _Nullable result, NSError *_Nullable error); + +NS_SWIFT_NAME(AEMNetworking) +@protocol FBAEMNetworking + +- (void)startGraphRequestWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + tokenString:(nullable NSString *)tokenString + HTTPMethod:(nullable NSString *)method + completion:(FBGraphRequestCompletion)completion; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMReporter.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMReporter.h new file mode 100644 index 0000000..6810e36 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMReporter.h @@ -0,0 +1,116 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + + #import + #import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AEMReporter) +@interface FBAEMReporter : NSObject + +/** + Configure networker used for calling Facebook AEM Graph API endpoint + and Facebook App ID + + This function should be called in application(_:open:options:) from ApplicationDelegate + and BEFORE [FBAEMReporter enable] function + + @param networker An optional networker conforms to FBAEMNetworking which handles Graph API request + @param appID An optional Facebook app ID, if it's null, we will get it from info.plist file with key: FacebookAppID + */ ++ (void)configureWithNetworker:(nullable id)networker + appID:(nullable NSString *)appID __attribute__((deprecated("use configureWithNetworker:appID:reporter: instead."))); + +/** + Configure networker used for calling Facebook AEM Graph API endpoint + Facebook App ID and SKAdNetwork reporter + + This function should be called in application(_:open:options:) from ApplicationDelegate + and BEFORE [FBAEMReporter enable] function. We will use SKAdNetwork reporter to prevent + double counting. + + @param networker An optional networker conforms to FBAEMNetworking which handles Graph API request + @param appID An optional Facebook app ID, if it's null, we will get it from info.plist file with key: FacebookAppID + @param reporter The SKAdNetwork repoter + */ ++ (void)configureWithNetworker:(nullable id)networker + appID:(nullable NSString *)appID + reporter:(nullable id)reporter; + +/** + Configure networker used for calling Facebook AEM Graph API endpoint + Facebook App ID, SKAdNetwork reporter and Analytics App ID + + This function should be called in application(_:open:options:) from ApplicationDelegate + and BEFORE [FBAEMReporter enable] function. We will use SKAdNetwork reporter to prevent + double counting. + + @param networker An optional networker conforms to FBAEMNetworking which handles Graph API request + @param appID An optional Facebook app ID, if it's null, we will get it from info.plist file with key: FacebookAppID + @param reporter The SKAdNetwork repoter + @param analyticsAppID An optional Analytics app ID. + */ ++ (void)configureWithNetworker:(nullable id)networker + appID:(nullable NSString *)appID + reporter:(nullable id)reporter + analyticsAppID:(nullable NSString *)analyticsAppID; + +/** + Enable AEM reporting + + This function should be called in application(_:open:options:) from ApplicationDelegate + */ ++ (void)enable; + +/** + Control whether to enable conversion filtering + + This function should be called in application(_:open:options:) from ApplicationDelegate + */ ++ (void)setConversionFilteringEnabled:(BOOL)enabled; + +/** + Control whether to enable catalog matching + + This function should be called in application(_:open:options:) from ApplicationDelegate + */ ++ (void)setCatalogMatchingEnabled:(BOOL)enabled; + +/** + Handle deeplink + + This function should be called in application(_:open:options:) from ApplicationDelegate + */ ++ (void)handleURL:(NSURL *)url; + +/** + Calculate the conversion value for the app event based on the AEM configuration + + This function should be called when you log any in-app events + */ + +// UNCRUSTIFY_FORMAT_OFF ++ (void)recordAndUpdateEvent:(NSString *)event + currency:(nullable NSString *)currency + value:(nullable NSNumber *)value + parameters:(nullable NSDictionary *)parameters +NS_SWIFT_NAME(recordAndUpdate(event:currency:value:parameters:)); +// UNCRUSTIFY_FORMAT_ON + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMRequestBody.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMRequestBody.h new file mode 100644 index 0000000..e3941bd --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMRequestBody.h @@ -0,0 +1,41 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_AEMRequestBody) +@interface FBAEMRequestBody : NSObject + +@property (nonatomic, readonly, retain) NSData *data; + +- (void)appendWithKey:(NSString *)key + formValue:(NSString *)value; + +- (nullable NSData *)compressedData; + + #if DEBUG +@property (nonatomic, readonly, retain) NSData *multipartData; + #endif + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMRule.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMRule.h new file mode 100644 index 0000000..bd02214 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMRule.h @@ -0,0 +1,46 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + +@class FBAEMEvent; + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_AEMRule) +@interface FBAEMRule : NSObject + +@property (nonatomic) NSInteger conversionValue; +@property (nonatomic) NSInteger priority; +@property (nonatomic, copy) NSArray *events; + ++ (instancetype)new NS_UNAVAILABLE; +- (instancetype)init NS_UNAVAILABLE; + +- (nullable instancetype)initWithJSON:(nullable NSDictionary *)dict; + +- (BOOL)containsEvent:(NSString *)event; + +- (BOOL)isMatchedWithRecordedEvents:(nullable NSSet *)recordedEvents + recordedValues:(nullable NSDictionary *> *)recordedValues; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMUtility.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMUtility.h new file mode 100644 index 0000000..a09adeb --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBAEMUtility.h @@ -0,0 +1,42 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_AEMUtility) +@interface FBAEMUtility : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +@property (class, nonatomic, readonly) FBAEMUtility *sharedUtility; + +- (NSNumber *)getInSegmentValue:(nullable NSDictionary *)parameters + matchingRule:(id)matchingRule; + +- (nullable NSString *)getContentID:(nullable NSDictionary *)parameters; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBSKAdNetworkReporting.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBSKAdNetworkReporting.h new file mode 100644 index 0000000..226bdcb --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Headers/FBSKAdNetworkReporting.h @@ -0,0 +1,28 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(SKAdNetworkReporting) +@protocol FBSKAdNetworkReporting + +- (BOOL)shouldCutoff; + +- (BOOL)isReportingEvent:(NSString *)event; + +- (void)checkAndRevokeTimer; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Info.plist b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Info.plist new file mode 100644 index 0000000..cc5eb17 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Info.plist differ diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64-apple-tvos.swiftdoc b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64-apple-tvos.swiftdoc new file mode 100644 index 0000000..5a13cff Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64-apple-tvos.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64-apple-tvos.swiftinterface b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64-apple-tvos.swiftinterface new file mode 100644 index 0000000..98c4a18 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64-apple-tvos.swiftinterface @@ -0,0 +1,6 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-tvos11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBAEMKit +@_exported import FBAEMKit +import Swift +import _Concurrency diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64.swiftdoc b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..5a13cff Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64.swiftinterface b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..98c4a18 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64.swiftinterface @@ -0,0 +1,6 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-tvos11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBAEMKit +@_exported import FBAEMKit +import Swift +import _Concurrency diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Modules/module.modulemap b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Modules/module.modulemap new file mode 100644 index 0000000..f7b1373 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64/FBAEMKit.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module FBAEMKit { + umbrella header "FBAEMKit.h" + + export * + module * { export * } +} + +module FBAEMKit.Swift { + header "FBAEMKit-Swift.h" + requires objc +} diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/FBAEMKit b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/FBAEMKit new file mode 100644 index 0000000..1832f96 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/FBAEMKit differ diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleFactory.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleFactory.h new file mode 100644 index 0000000..dabe6a6 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleFactory.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + + #import + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_AEMAdvertiserRuleFactory) +@interface FBAEMAdvertiserRuleFactory : NSObject + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleMatching.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleMatching.h new file mode 100644 index 0000000..1645610 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleMatching.h @@ -0,0 +1,32 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_AEMAdvertiserRuleMatching) +@protocol FBAEMAdvertiserRuleMatching + +- (BOOL)isMatchedEventParameters:(nullable NSDictionary *)eventParams; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleOperator.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleOperator.h new file mode 100644 index 0000000..7e6f4ba --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleOperator.h @@ -0,0 +1,46 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +typedef NS_CLOSED_ENUM (NSInteger, FBAEMAdvertiserRuleOperator) +{ + FBAEMAdvertiserRuleOperatorUnknown = 0, + // Multi Entry Rule Operator + FBAEMAdvertiserRuleOperatorAnd, + FBAEMAdvertiserRuleOperatorOr, + FBAEMAdvertiserRuleOperatorNot, + // Single Entry Rule Operator + FBAEMAdvertiserRuleOperatorContains, + FBAEMAdvertiserRuleOperatorNotContains, + FBAEMAdvertiserRuleOperatorStartsWith, + FBAEMAdvertiserRuleOperatorCaseInsensitiveContains, + FBAEMAdvertiserRuleOperatorCaseInsensitiveNotContains, + FBAEMAdvertiserRuleOperatorCaseInsensitiveStartsWith, + FBAEMAdvertiserRuleOperatorRegexMatch, + FBAEMAdvertiserRuleOperatorEqual, + FBAEMAdvertiserRuleOperatorNotEqual, + FBAEMAdvertiserRuleOperatorLessThan, + FBAEMAdvertiserRuleOperatorLessThanOrEqual, + FBAEMAdvertiserRuleOperatorGreaterThan, + FBAEMAdvertiserRuleOperatorGreaterThanOrEqual, + FBAEMAdvertiserRuleOperatorCaseInsensitiveIsAny, + FBAEMAdvertiserRuleOperatorCaseInsensitiveIsNotAny, + FBAEMAdvertiserRuleOperatorIsAny, + FBAEMAdvertiserRuleOperatorIsNotAny +} NS_SWIFT_NAME(_AEMAdvertiserRuleOperator); + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleProviding.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleProviding.h new file mode 100644 index 0000000..0a99291 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMAdvertiserRuleProviding.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +/// Describes anything that can provide instances of `AEMAdvertiserRuleMatching` +NS_SWIFT_NAME(_AEMAdvertiserRuleProviding) +@protocol FBAEMAdvertiserRuleProviding + +- (nullable id)createRuleWithJson:(nullable NSString *)json; + +- (nullable id)createRuleWithDict:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMAdvertiserSingleEntryRule.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMAdvertiserSingleEntryRule.h new file mode 100644 index 0000000..79c12ee --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMAdvertiserSingleEntryRule.h @@ -0,0 +1,48 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + + #import + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_AEMAdvertiserSingleEntryRule) +@interface FBAEMAdvertiserSingleEntryRule : NSObject + +@property (nonatomic, readonly, assign)FBAEMAdvertiserRuleOperator operator; +@property (nonatomic, readonly) NSString *paramKey; +@property (nullable, nonatomic, readonly) NSString *linguisticCondition; +@property (nullable, nonatomic, readonly) NSNumber *numericalCondition; +@property (nullable, nonatomic, readonly) NSArray *arrayCondition; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +- (instancetype)initWithOperator:(FBAEMAdvertiserRuleOperator)op + paramKey:(NSString *)paramKey + linguisticCondition:(nullable NSString *)linguisticCondition + numericalCondition:(nullable NSNumber *)numericalCondition + arrayCondition:(nullable NSArray *)arrayCondition; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMInvocation.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMInvocation.h new file mode 100644 index 0000000..f102955 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMInvocation.h @@ -0,0 +1,92 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + +@class FBAEMConfiguration; + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_AEMInvocation) +@interface FBAEMInvocation : NSObject + +@property (nonatomic, readonly, copy) NSString *campaignID; + +@property (nonatomic, readonly, copy) NSString *ACSToken; + +@property (nullable, nonatomic, readonly, copy) NSString *ACSSharedSecret; + +@property (nullable, nonatomic, readonly, copy) NSString *ACSConfigID; + +@property (nullable, nonatomic, readonly, copy) NSString *businessID; + +@property (nullable, nonatomic, readonly, copy) NSString *catalogID; + +@property (nonatomic, readonly, assign) BOOL isTestMode; + +@property (nonatomic, readonly, assign) BOOL hasSKAN; + +@property (nonatomic, readonly, assign) BOOL isConversionFilteringEligible; + +@property (nonatomic, readonly, copy) NSDate *timestamp; + +@property (nonatomic, readonly, copy) NSString *configMode; + +/// The unique identifier of the config, it's the same as config's validFrom +@property (nonatomic, readonly, assign) NSInteger configID; + +@property (nonatomic, readonly) NSMutableSet *recordedEvents; + +@property (nonatomic, readonly) NSMutableDictionary *> *recordedValues; + +@property (nonatomic, readonly, assign) NSInteger conversionValue; + +@property (nonatomic, readonly, assign) NSInteger priority; + +@property (nullable, nonatomic, readonly) NSDate *conversionTimestamp; + +@property (nonatomic, assign) BOOL isAggregated; + ++ (instancetype)new NS_UNAVAILABLE; +- (instancetype)init NS_UNAVAILABLE; + ++ (nullable instancetype)invocationWithAppLinkData:(nullable NSDictionary *)applinkData; + +- (BOOL)attributeEvent:(NSString *)event + currency:(nullable NSString *)currency + value:(nullable NSNumber *)value + parameters:(nullable NSDictionary *)parameters + configs:(nullable NSDictionary *> *)configs + shouldUpdateCache:(BOOL)shouldUpdateCache; + +- (BOOL)updateConversionValueWithConfigs:(nullable NSDictionary *> *)configs + event:(NSString *)event + shouldBoostPriority:(BOOL)shouldBoostPriority; + +- (BOOL)isOptimizedEvent:(NSString *)event + configs:(nullable NSDictionary *> *)configs; + +- (BOOL)isOutOfWindowWithConfigs:(nullable NSDictionary *> *)configs; + +- (nullable NSString *)getHMAC:(NSInteger)delay; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMKit-Prefix-Header.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMKit-Prefix-Header.h new file mode 100644 index 0000000..040ca1e --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMKit-Prefix-Header.h @@ -0,0 +1,9 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMKit-Swift.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMKit-Swift.h new file mode 100644 index 0000000..611c876 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMKit-Swift.h @@ -0,0 +1,430 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +#ifndef FBAEMKIT_SWIFT_H +#define FBAEMKIT_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBAEMKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +#ifndef FBAEMKIT_SWIFT_H +#define FBAEMKIT_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBAEMKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMKit.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMKit.h new file mode 100644 index 0000000..71137f8 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMKit.h @@ -0,0 +1,26 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import +#import + +// Temporarily public +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMKitVersions.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMKitVersions.h new file mode 100644 index 0000000..1093c0b --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMKitVersions.h @@ -0,0 +1,10 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#define FBAEMKit_VERSION_STRING @"13.2.0" +#define FBSDK_DEFAULT_GRAPH_API_VERSION @"v13.0" diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMNetworker.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMNetworker.h new file mode 100644 index 0000000..5e50c9e --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMNetworker.h @@ -0,0 +1,40 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_AEMNetworker) +@interface FBAEMNetworker : NSObject + +@property (nullable, nonatomic, copy) NSString *userAgentSuffix; + +- (void)startGraphRequestWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + tokenString:(nullable NSString *)tokenString + HTTPMethod:(nullable NSString *)method + completion:(FBGraphRequestCompletion)completion; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMNetworking.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMNetworking.h new file mode 100644 index 0000000..d1d34dc --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMNetworking.h @@ -0,0 +1,32 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + +NS_ASSUME_NONNULL_BEGIN + +typedef void (^FBGraphRequestCompletion)(id _Nullable result, NSError *_Nullable error); + +NS_SWIFT_NAME(AEMNetworking) +@protocol FBAEMNetworking + +- (void)startGraphRequestWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + tokenString:(nullable NSString *)tokenString + HTTPMethod:(nullable NSString *)method + completion:(FBGraphRequestCompletion)completion; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMReporter.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMReporter.h new file mode 100644 index 0000000..6810e36 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMReporter.h @@ -0,0 +1,116 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + + #import + #import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AEMReporter) +@interface FBAEMReporter : NSObject + +/** + Configure networker used for calling Facebook AEM Graph API endpoint + and Facebook App ID + + This function should be called in application(_:open:options:) from ApplicationDelegate + and BEFORE [FBAEMReporter enable] function + + @param networker An optional networker conforms to FBAEMNetworking which handles Graph API request + @param appID An optional Facebook app ID, if it's null, we will get it from info.plist file with key: FacebookAppID + */ ++ (void)configureWithNetworker:(nullable id)networker + appID:(nullable NSString *)appID __attribute__((deprecated("use configureWithNetworker:appID:reporter: instead."))); + +/** + Configure networker used for calling Facebook AEM Graph API endpoint + Facebook App ID and SKAdNetwork reporter + + This function should be called in application(_:open:options:) from ApplicationDelegate + and BEFORE [FBAEMReporter enable] function. We will use SKAdNetwork reporter to prevent + double counting. + + @param networker An optional networker conforms to FBAEMNetworking which handles Graph API request + @param appID An optional Facebook app ID, if it's null, we will get it from info.plist file with key: FacebookAppID + @param reporter The SKAdNetwork repoter + */ ++ (void)configureWithNetworker:(nullable id)networker + appID:(nullable NSString *)appID + reporter:(nullable id)reporter; + +/** + Configure networker used for calling Facebook AEM Graph API endpoint + Facebook App ID, SKAdNetwork reporter and Analytics App ID + + This function should be called in application(_:open:options:) from ApplicationDelegate + and BEFORE [FBAEMReporter enable] function. We will use SKAdNetwork reporter to prevent + double counting. + + @param networker An optional networker conforms to FBAEMNetworking which handles Graph API request + @param appID An optional Facebook app ID, if it's null, we will get it from info.plist file with key: FacebookAppID + @param reporter The SKAdNetwork repoter + @param analyticsAppID An optional Analytics app ID. + */ ++ (void)configureWithNetworker:(nullable id)networker + appID:(nullable NSString *)appID + reporter:(nullable id)reporter + analyticsAppID:(nullable NSString *)analyticsAppID; + +/** + Enable AEM reporting + + This function should be called in application(_:open:options:) from ApplicationDelegate + */ ++ (void)enable; + +/** + Control whether to enable conversion filtering + + This function should be called in application(_:open:options:) from ApplicationDelegate + */ ++ (void)setConversionFilteringEnabled:(BOOL)enabled; + +/** + Control whether to enable catalog matching + + This function should be called in application(_:open:options:) from ApplicationDelegate + */ ++ (void)setCatalogMatchingEnabled:(BOOL)enabled; + +/** + Handle deeplink + + This function should be called in application(_:open:options:) from ApplicationDelegate + */ ++ (void)handleURL:(NSURL *)url; + +/** + Calculate the conversion value for the app event based on the AEM configuration + + This function should be called when you log any in-app events + */ + +// UNCRUSTIFY_FORMAT_OFF ++ (void)recordAndUpdateEvent:(NSString *)event + currency:(nullable NSString *)currency + value:(nullable NSNumber *)value + parameters:(nullable NSDictionary *)parameters +NS_SWIFT_NAME(recordAndUpdate(event:currency:value:parameters:)); +// UNCRUSTIFY_FORMAT_ON + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMRequestBody.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMRequestBody.h new file mode 100644 index 0000000..e3941bd --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMRequestBody.h @@ -0,0 +1,41 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_AEMRequestBody) +@interface FBAEMRequestBody : NSObject + +@property (nonatomic, readonly, retain) NSData *data; + +- (void)appendWithKey:(NSString *)key + formValue:(NSString *)value; + +- (nullable NSData *)compressedData; + + #if DEBUG +@property (nonatomic, readonly, retain) NSData *multipartData; + #endif + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMRule.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMRule.h new file mode 100644 index 0000000..bd02214 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMRule.h @@ -0,0 +1,46 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + +@class FBAEMEvent; + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_AEMRule) +@interface FBAEMRule : NSObject + +@property (nonatomic) NSInteger conversionValue; +@property (nonatomic) NSInteger priority; +@property (nonatomic, copy) NSArray *events; + ++ (instancetype)new NS_UNAVAILABLE; +- (instancetype)init NS_UNAVAILABLE; + +- (nullable instancetype)initWithJSON:(nullable NSDictionary *)dict; + +- (BOOL)containsEvent:(NSString *)event; + +- (BOOL)isMatchedWithRecordedEvents:(nullable NSSet *)recordedEvents + recordedValues:(nullable NSDictionary *> *)recordedValues; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMUtility.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMUtility.h new file mode 100644 index 0000000..a09adeb --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBAEMUtility.h @@ -0,0 +1,42 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_AEMUtility) +@interface FBAEMUtility : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +@property (class, nonatomic, readonly) FBAEMUtility *sharedUtility; + +- (NSNumber *)getInSegmentValue:(nullable NSDictionary *)parameters + matchingRule:(id)matchingRule; + +- (nullable NSString *)getContentID:(nullable NSDictionary *)parameters; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBSKAdNetworkReporting.h b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBSKAdNetworkReporting.h new file mode 100644 index 0000000..226bdcb --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Headers/FBSKAdNetworkReporting.h @@ -0,0 +1,28 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(SKAdNetworkReporting) +@protocol FBSKAdNetworkReporting + +- (BOOL)shouldCutoff; + +- (BOOL)isReportingEvent:(NSString *)event; + +- (void)checkAndRevokeTimer; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Info.plist b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Info.plist new file mode 100644 index 0000000..ab12947 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Info.plist differ diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64-apple-tvos-simulator.swiftdoc b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64-apple-tvos-simulator.swiftdoc new file mode 100644 index 0000000..ab8926f Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64-apple-tvos-simulator.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64-apple-tvos-simulator.swiftinterface b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64-apple-tvos-simulator.swiftinterface new file mode 100644 index 0000000..9e18791 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64-apple-tvos-simulator.swiftinterface @@ -0,0 +1,6 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-tvos11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBAEMKit +@_exported import FBAEMKit +import Swift +import _Concurrency diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64.swiftdoc b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..ab8926f Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64.swiftinterface b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..9e18791 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/arm64.swiftinterface @@ -0,0 +1,6 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-tvos11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBAEMKit +@_exported import FBAEMKit +import Swift +import _Concurrency diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/x86_64-apple-tvos-simulator.swiftdoc b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/x86_64-apple-tvos-simulator.swiftdoc new file mode 100644 index 0000000..e62c4dc Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/x86_64-apple-tvos-simulator.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/x86_64-apple-tvos-simulator.swiftinterface b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/x86_64-apple-tvos-simulator.swiftinterface new file mode 100644 index 0000000..d69a463 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/x86_64-apple-tvos-simulator.swiftinterface @@ -0,0 +1,6 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target x86_64-apple-tvos11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBAEMKit +@_exported import FBAEMKit +import Swift +import _Concurrency diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/x86_64.swiftdoc b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/x86_64.swiftdoc new file mode 100644 index 0000000..e62c4dc Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/x86_64.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/x86_64.swiftinterface b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/x86_64.swiftinterface new file mode 100644 index 0000000..d69a463 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/x86_64.swiftinterface @@ -0,0 +1,6 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target x86_64-apple-tvos11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBAEMKit +@_exported import FBAEMKit +import Swift +import _Concurrency diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Modules/module.modulemap b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Modules/module.modulemap new file mode 100644 index 0000000..f7b1373 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module FBAEMKit { + umbrella header "FBAEMKit.h" + + export * + module * { export * } +} + +module FBAEMKit.Swift { + header "FBAEMKit-Swift.h" + requires objc +} diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/_CodeSignature/CodeDirectory b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/_CodeSignature/CodeDirectory new file mode 100644 index 0000000..1dff458 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/_CodeSignature/CodeDirectory differ diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/_CodeSignature/CodeRequirements b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/_CodeSignature/CodeRequirements new file mode 100644 index 0000000..dbf9d61 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/_CodeSignature/CodeRequirements differ diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/_CodeSignature/CodeRequirements-1 b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/_CodeSignature/CodeRequirements-1 new file mode 100644 index 0000000..b17c264 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/_CodeSignature/CodeRequirements-1 differ diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/_CodeSignature/CodeResources b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/_CodeSignature/CodeResources new file mode 100644 index 0000000..6210656 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/_CodeSignature/CodeResources @@ -0,0 +1,552 @@ + + + + + files + + Headers/FBAEMAdvertiserRuleFactory.h + + yKvLFvS6IAEnl4wy2Hr+qpLlTZQ= + + Headers/FBAEMAdvertiserRuleMatching.h + + J4XLVbU1QkQ+vsp96NbE2CDglZw= + + Headers/FBAEMAdvertiserRuleOperator.h + + pxydqvI15BpRVBvfSn9RXFP6zz0= + + Headers/FBAEMAdvertiserRuleProviding.h + + oBjpGjCzOkGy0g6v8hbcpjXxy9I= + + Headers/FBAEMAdvertiserSingleEntryRule.h + + hLUkAkmODucoUntMPo6uLRF72Lo= + + Headers/FBAEMInvocation.h + + vA7s6hcnI31hKtWSwAIwWaQVe2E= + + Headers/FBAEMKit-Prefix-Header.h + + K7g/zhr5ZA6vVqsMHKBc4hwRqTs= + + Headers/FBAEMKit-Swift.h + + PpLMnFpacN35/sqxwa+Ppy7UDDY= + + Headers/FBAEMKit.h + + gB02kjZCTPSjf3JmciNaczoklC4= + + Headers/FBAEMKitVersions.h + + 6axPztwda+5bKIIkkxzurKmP/p4= + + Headers/FBAEMNetworker.h + + 1YIulr37EaDtIX9J+Qhun6tLf+U= + + Headers/FBAEMNetworking.h + + ghTzHaeILWcH507QH7tTFKT45po= + + Headers/FBAEMReporter.h + + p+LiA7Shk5uAVBAzAFEy20Rvm/Y= + + Headers/FBAEMRequestBody.h + + /3dF50huTEGkN3puysyndoBwaSI= + + Headers/FBAEMRule.h + + vf04ru85SXUoqaOlvLiBjJTWiPw= + + Headers/FBAEMUtility.h + + tYxNbX/UFxFuy8CvDSrX2P7eHnA= + + Headers/FBSKAdNetworkReporting.h + + pky/QYIj/dB780WrIohjghUSH/E= + + Info.plist + + TXMqT1HomZAeSqYWAQsuafMl1Vo= + + Modules/FBAEMKit.swiftmodule/arm64-apple-tvos-simulator.swiftdoc + + Mn3/D/d9iVZflfhXIayU6zSqzkw= + + Modules/FBAEMKit.swiftmodule/arm64-apple-tvos-simulator.swiftinterface + + E+4f1d8VnMfG2h5JfuQyoLFoRo8= + + Modules/FBAEMKit.swiftmodule/arm64-apple-tvos-simulator.swiftmodule + + 65pLt/sqEvN66f1MIyWNDzXk8mI= + + Modules/FBAEMKit.swiftmodule/arm64.swiftdoc + + Mn3/D/d9iVZflfhXIayU6zSqzkw= + + Modules/FBAEMKit.swiftmodule/arm64.swiftinterface + + E+4f1d8VnMfG2h5JfuQyoLFoRo8= + + Modules/FBAEMKit.swiftmodule/arm64.swiftmodule + + 65pLt/sqEvN66f1MIyWNDzXk8mI= + + Modules/FBAEMKit.swiftmodule/x86_64-apple-tvos-simulator.swiftdoc + + IgRB2RpXK2t9PDDIoWjLCsDVbt4= + + Modules/FBAEMKit.swiftmodule/x86_64-apple-tvos-simulator.swiftinterface + + Ld8CilsQXfapZcf7JgpvH3egBOU= + + Modules/FBAEMKit.swiftmodule/x86_64-apple-tvos-simulator.swiftmodule + + EMQVI+sZUuuGj+wBixyUJwNzWoE= + + Modules/FBAEMKit.swiftmodule/x86_64.swiftdoc + + IgRB2RpXK2t9PDDIoWjLCsDVbt4= + + Modules/FBAEMKit.swiftmodule/x86_64.swiftinterface + + Ld8CilsQXfapZcf7JgpvH3egBOU= + + Modules/FBAEMKit.swiftmodule/x86_64.swiftmodule + + EMQVI+sZUuuGj+wBixyUJwNzWoE= + + Modules/module.modulemap + + JELH5jXIzrBpYB3cXkE3/w648tU= + + + files2 + + Headers/FBAEMAdvertiserRuleFactory.h + + hash + + yKvLFvS6IAEnl4wy2Hr+qpLlTZQ= + + hash2 + + n4ff1JqmRT9hLIChw9LKJPnHikWNW437YLQcMbqWaNI= + + + Headers/FBAEMAdvertiserRuleMatching.h + + hash + + J4XLVbU1QkQ+vsp96NbE2CDglZw= + + hash2 + + b7OWeUClIk3eMzKQ88dpyks5XwvN2rqz8ma+jGc9aC0= + + + Headers/FBAEMAdvertiserRuleOperator.h + + hash + + pxydqvI15BpRVBvfSn9RXFP6zz0= + + hash2 + + V/lKJil+YXykdXxtDcsdsCAVbcXhTZXclpWuGeikoDA= + + + Headers/FBAEMAdvertiserRuleProviding.h + + hash + + oBjpGjCzOkGy0g6v8hbcpjXxy9I= + + hash2 + + T2S5e1Qb400jRGUaIKao17m6TOTttA7oUvD1YHgFZpo= + + + Headers/FBAEMAdvertiserSingleEntryRule.h + + hash + + hLUkAkmODucoUntMPo6uLRF72Lo= + + hash2 + + MtpELt09rYat78RMDpRCuog7xUYkwdT7soZkIk1MIJI= + + + Headers/FBAEMInvocation.h + + hash + + vA7s6hcnI31hKtWSwAIwWaQVe2E= + + hash2 + + dr9DQsVF22nH0/TalKjpcBPOXpwc9VH2NjSh2s6AVyU= + + + Headers/FBAEMKit-Prefix-Header.h + + hash + + K7g/zhr5ZA6vVqsMHKBc4hwRqTs= + + hash2 + + X95o1ZqRBk75B/twsFPDGwnE0rcJzZZ+aHVXYs2e24Q= + + + Headers/FBAEMKit-Swift.h + + hash + + PpLMnFpacN35/sqxwa+Ppy7UDDY= + + hash2 + + pQytZ0vo3eeI9X30dQrzopwZ9mFqgCscygwnvhz4eLo= + + + Headers/FBAEMKit.h + + hash + + gB02kjZCTPSjf3JmciNaczoklC4= + + hash2 + + w8Gz6WgkveMjXpcHO9d3+sGON32lDdCWFHKYR+7dgas= + + + Headers/FBAEMKitVersions.h + + hash + + 6axPztwda+5bKIIkkxzurKmP/p4= + + hash2 + + KWnWNB7wiPlGi15HlfozeaVQOsIDExVCf3foG7AIEjQ= + + + Headers/FBAEMNetworker.h + + hash + + 1YIulr37EaDtIX9J+Qhun6tLf+U= + + hash2 + + 6ul/TswN5q6XDTJd1EBQZZwZd0BsTpmTidGQ/6qtLiY= + + + Headers/FBAEMNetworking.h + + hash + + ghTzHaeILWcH507QH7tTFKT45po= + + hash2 + + 7e2i1241Ft2Xvaut6NIyhoHw6N+wMpOIsbrTDlI81g0= + + + Headers/FBAEMReporter.h + + hash + + p+LiA7Shk5uAVBAzAFEy20Rvm/Y= + + hash2 + + E0wsApaYPPtNFUlZqr8dn+npXeZUlXOuLVvUBbwBAsE= + + + Headers/FBAEMRequestBody.h + + hash + + /3dF50huTEGkN3puysyndoBwaSI= + + hash2 + + 9x7kOSgzLDOkVitO5IJz7RCkuY9b5wOZIMnd5i51dKA= + + + Headers/FBAEMRule.h + + hash + + vf04ru85SXUoqaOlvLiBjJTWiPw= + + hash2 + + dmaO4ah5Qj0cVSMksb9T3A8EnGyeQRkKAQqrn0kzUmU= + + + Headers/FBAEMUtility.h + + hash + + tYxNbX/UFxFuy8CvDSrX2P7eHnA= + + hash2 + + jiGNk1M6flw8FBdRaKmRowNraky5j+WeQuqNRmfEXiM= + + + Headers/FBSKAdNetworkReporting.h + + hash + + pky/QYIj/dB780WrIohjghUSH/E= + + hash2 + + elf75HlZ2bDZbULPVssKTSgy8K957SFxGfCuUVz2S6c= + + + Modules/FBAEMKit.swiftmodule/arm64-apple-tvos-simulator.swiftdoc + + hash + + Mn3/D/d9iVZflfhXIayU6zSqzkw= + + hash2 + + wYsVJQNIh5DlHtyughnOsl4+0M615O1WaHJsE3hNn0U= + + + Modules/FBAEMKit.swiftmodule/arm64-apple-tvos-simulator.swiftinterface + + hash + + E+4f1d8VnMfG2h5JfuQyoLFoRo8= + + hash2 + + mKn0YOy+upHj8071Urt9Fmnv9Jtg9Bs9VYoDQHJvKJ8= + + + Modules/FBAEMKit.swiftmodule/arm64-apple-tvos-simulator.swiftmodule + + hash + + 65pLt/sqEvN66f1MIyWNDzXk8mI= + + hash2 + + B8CN4s3ta4Zwtp6GBCfKrGk0tdI8m2w+grqjjav5LqY= + + + Modules/FBAEMKit.swiftmodule/arm64.swiftdoc + + hash + + Mn3/D/d9iVZflfhXIayU6zSqzkw= + + hash2 + + wYsVJQNIh5DlHtyughnOsl4+0M615O1WaHJsE3hNn0U= + + + Modules/FBAEMKit.swiftmodule/arm64.swiftinterface + + hash + + E+4f1d8VnMfG2h5JfuQyoLFoRo8= + + hash2 + + mKn0YOy+upHj8071Urt9Fmnv9Jtg9Bs9VYoDQHJvKJ8= + + + Modules/FBAEMKit.swiftmodule/arm64.swiftmodule + + hash + + 65pLt/sqEvN66f1MIyWNDzXk8mI= + + hash2 + + B8CN4s3ta4Zwtp6GBCfKrGk0tdI8m2w+grqjjav5LqY= + + + Modules/FBAEMKit.swiftmodule/x86_64-apple-tvos-simulator.swiftdoc + + hash + + IgRB2RpXK2t9PDDIoWjLCsDVbt4= + + hash2 + + dbINumt5/0S3ORrOEmBkrlRvZmCFQauPp/jesaPyOcY= + + + Modules/FBAEMKit.swiftmodule/x86_64-apple-tvos-simulator.swiftinterface + + hash + + Ld8CilsQXfapZcf7JgpvH3egBOU= + + hash2 + + P2OE6hXiskM6t/nUDvMoJOAUQUe12dFuk+0fJcb0ZJg= + + + Modules/FBAEMKit.swiftmodule/x86_64-apple-tvos-simulator.swiftmodule + + hash + + EMQVI+sZUuuGj+wBixyUJwNzWoE= + + hash2 + + MDdqSAf1jgzeLl70eBKrvBFGiTFo/zuxoJw0Om5c0Wo= + + + Modules/FBAEMKit.swiftmodule/x86_64.swiftdoc + + hash + + IgRB2RpXK2t9PDDIoWjLCsDVbt4= + + hash2 + + dbINumt5/0S3ORrOEmBkrlRvZmCFQauPp/jesaPyOcY= + + + Modules/FBAEMKit.swiftmodule/x86_64.swiftinterface + + hash + + Ld8CilsQXfapZcf7JgpvH3egBOU= + + hash2 + + P2OE6hXiskM6t/nUDvMoJOAUQUe12dFuk+0fJcb0ZJg= + + + Modules/FBAEMKit.swiftmodule/x86_64.swiftmodule + + hash + + EMQVI+sZUuuGj+wBixyUJwNzWoE= + + hash2 + + MDdqSAf1jgzeLl70eBKrvBFGiTFo/zuxoJw0Om5c0Wo= + + + Modules/module.modulemap + + hash + + JELH5jXIzrBpYB3cXkE3/w648tU= + + hash2 + + WLmw/LmU8blwOPh6slu/vPmQN0rS9XKWqm0gRWm7Kyk= + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/_CodeSignature/CodeSignature b/src/ios/EmbeddedFrameworks/FBAEMKit.xcframework/tvos-arm64_x86_64-simulator/FBAEMKit.framework/_CodeSignature/CodeSignature new file mode 100644 index 0000000..e69de29 diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/FBSDKCoreKit b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/FBSDKCoreKit deleted file mode 100644 index 6a93b99..0000000 Binary files a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/FBSDKCoreKit and /dev/null differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h deleted file mode 100644 index cd77801..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h +++ /dev/null @@ -1,215 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Notification indicating that the `currentAccessToken` has changed. - - the userInfo dictionary of the notification will contain keys - `FBSDKAccessTokenChangeOldKey` and - `FBSDKAccessTokenChangeNewKey`. - */ -FOUNDATION_EXPORT NSNotificationName const FBSDKAccessTokenDidChangeNotification -NS_SWIFT_NAME(AccessTokenDidChange); - -/** - 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. - - 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). - */ -FOUNDATION_EXPORT NSString *const FBSDKAccessTokenDidChangeUserIDKey -NS_SWIFT_NAME(AccessTokenDidChangeUserIDKey); - -/* - key in notification's userInfo object for getting the old token. - - If there was no old token, the key will not be present. - */ -FOUNDATION_EXPORT NSString *const FBSDKAccessTokenChangeOldKey -NS_SWIFT_NAME(AccessTokenChangeOldKey); - -/* - key in notification's userInfo object for getting the new token. - - If there is no new token, the key will not be present. - */ -FOUNDATION_EXPORT NSString *const FBSDKAccessTokenChangeNewKey -NS_SWIFT_NAME(AccessTokenChangeNewKey); - -/* - A key in the notification's userInfo that will be set - if and only if the token has expired. - */ -FOUNDATION_EXPORT NSString *const FBSDKAccessTokenDidExpireKey -NS_SWIFT_NAME(AccessTokenDidExpireKey); - -/** - Represents an immutable access token for using Facebook services. - */ -NS_SWIFT_NAME(AccessToken) -@interface FBSDKAccessToken : NSObject - -/** - The "global" access token that represents the currently logged in user. - - The `currentAccessToken` is a convenient representation of the token of the - current user and is used by other SDK components (like `FBSDKLoginManager`). - */ -@property (class, nullable, nonatomic, copy) FBSDKAccessToken *currentAccessToken; - -/** - Returns YES if currentAccessToken is not nil AND currentAccessToken is not expired - - */ -@property (class, nonatomic, readonly, getter = isCurrentAccessTokenActive, assign) BOOL currentAccessTokenIsActive; - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -@property (class, nullable, nonatomic, copy) id tokenCache; - -/** - Returns the app ID. - */ -@property (nonatomic, readonly, copy) NSString *appID; - -/** - Returns the expiration date for data access - */ -@property (nonatomic, readonly, copy) NSDate *dataAccessExpirationDate; - -/** - Returns the known declined permissions. - */ -@property (nonatomic, readonly, copy) NSSet *declinedPermissions - NS_REFINED_FOR_SWIFT; - -/** - Returns the known declined permissions. - */ -@property (nonatomic, readonly, copy) NSSet *expiredPermissions - NS_REFINED_FOR_SWIFT; - -/** - Returns the expiration date. - */ -@property (nonatomic, readonly, copy) NSDate *expirationDate; - -/** - Returns the known granted permissions. - */ -@property (nonatomic, readonly, copy) NSSet *permissions - NS_REFINED_FOR_SWIFT; - -/** - Returns the date the token was last refreshed. -*/ -@property (nonatomic, readonly, copy) NSDate *refreshDate; - -/** - Returns the opaque token string. - */ -@property (nonatomic, readonly, copy) NSString *tokenString; - -/** - Returns the user ID. - */ -@property (nonatomic, readonly, copy) NSString *userID; - -/** - Returns whether the access token is expired by checking its expirationDate property - */ -@property (nonatomic, readonly, getter = isExpired, assign) BOOL expired; - -/** - Returns whether user data access is still active for the given access token - */ -@property (nonatomic, readonly, getter = isDataAccessExpired, assign) BOOL dataAccessExpired; - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/** - Initializes a new instance. - @param tokenString the opaque token string. - @param permissions the granted permissions. Note this is converted to NSSet and is only - an NSArray for the convenience of literal syntax. - @param declinedPermissions the declined permissions. Note this is converted to NSSet and is only - an NSArray for the convenience of literal syntax. - @param expiredPermissions the expired 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). - @param dataAccessExpirationDate the date which data access will expire for the given user - (defaults to distantFuture). - - This initializer should only be used for advanced apps that - manage tokens explicitly. Typical login flows only need to use `FBSDKLoginManager` - along with `+currentAccessToken`. - */ -- (instancetype)initWithTokenString:(NSString *)tokenString - permissions:(NSArray *)permissions - declinedPermissions:(NSArray *)declinedPermissions - expiredPermissions:(NSArray *)expiredPermissions - appID:(NSString *)appID - userID:(NSString *)userID - expirationDate:(nullable NSDate *)expirationDate - refreshDate:(nullable NSDate *)refreshDate - dataAccessExpirationDate:(nullable NSDate *)dataAccessExpirationDate - NS_DESIGNATED_INITIALIZER; - -/** - Convenience getter to determine if a permission has been granted - @param permission The permission to check. - */ -// UNCRUSTIFY_FORMAT_OFF -- (BOOL)hasGranted:(NSString *)permission -NS_SWIFT_NAME(hasGranted(permission:)); -// UNCRUSTIFY_FORMAT_ON - -/** - 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; - -/** - Refresh the current access token's permission state and extend the token's expiration date, - if possible. - @param completion an optional callback handler that can surface any errors related to permission refreshing. - - On a successful refresh, the currentAccessToken will be updated so you typically only need to - observe the `FBSDKAccessTokenDidChangeNotification` notification. - - If a token is already expired, it cannot be refreshed. - */ -+ (void)refreshCurrentAccessTokenWithCompletion:(nullable FBSDKGraphRequestCompletion)completion; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAccessTokenProtocols.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAccessTokenProtocols.h deleted file mode 100644 index 1bf76f7..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAccessTokenProtocols.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -@class FBSDKAccessToken; -@protocol FBSDKTokenCaching; - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(AccessTokenProviding) -@protocol FBSDKAccessTokenProviding - -@property (class, nullable, nonatomic, readonly, copy) FBSDKAccessToken *currentAccessToken; -@property (class, nullable, nonatomic, copy) id tokenCache; - -@end - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(AccessTokenSetting) -@protocol FBSDKAccessTokenSetting - -@property (class, nullable, nonatomic, copy) FBSDKAccessToken *currentAccessToken; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAdvertisingTrackingStatus.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAdvertisingTrackingStatus.h deleted file mode 100644 index d0692fe..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAdvertisingTrackingStatus.h +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -typedef NS_ENUM(NSUInteger, FBSDKAdvertisingTrackingStatus) { - FBSDKAdvertisingTrackingAllowed, - FBSDKAdvertisingTrackingDisallowed, - FBSDKAdvertisingTrackingUnspecified, -} NS_SWIFT_NAME(AdvertisingTrackingStatus); - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppAvailabilityChecker.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppAvailabilityChecker.h deleted file mode 100644 index 16f8947..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppAvailabilityChecker.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(AppAvailabilityChecker) -@protocol FBSDKAppAvailabilityChecker - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -@property (nonatomic, readonly, assign) BOOL isMessengerAppInstalled; -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -@property (nonatomic, readonly, assign) BOOL isFacebookAppInstalled; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEventName.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEventName.h deleted file mode 100644 index 10f6e0c..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEventName.h +++ /dev/null @@ -1,92 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -/** - @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 `FBSDKAppEventParameterName` constants. - */ - -/// typedef for FBSDKAppEventName -typedef NSString *FBSDKAppEventName NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(AppEvents.Name); - -// MARK: - General Purpose - -/** Log this event when the user clicks an ad. */ -FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameAdClick; - -/** Log this event when the user views an ad. */ -FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameAdImpression; - -/** Log this event when a user has completed registration with the app. */ -FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameCompletedRegistration; - -/** Log this event when the user has completed a tutorial in the app. */ -FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameCompletedTutorial; - -/** A telephone/SMS, email, chat or other type of contact between a customer and your business. */ -FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameContact; - -/** The customization of products through a configuration tool or other application your business owns. */ -FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameCustomizeProduct; - -/** The donation of funds to your organization or cause. */ -FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameDonate; - -/** When a person finds one of your locations via web or application, with an intention to visit (example: find product at a local store). */ -FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameFindLocation; - -/** Log this event when the user has rated an item in the app. The valueToSum passed to logEvent should be the numeric rating. */ -FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameRated; - -/** The booking of an appointment to visit one of your locations. */ -FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameSchedule; - -/** Log this event when a user has performed a search within the app. */ -FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameSearched; - -/** The start of a free trial of a product or service you offer (example: trial subscription). */ -FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameStartTrial; - -/** The submission of an application for a product, service or program you offer (example: credit card, educational program or job). */ -FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameSubmitApplication; - -/** The start of a paid subscription for a product or service you offer. */ -FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameSubscribe; - -/** Log this event when a user has viewed a form of content in the app. */ -FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameViewedContent; - -// MARK: - E-Commerce - -/** Log this event when the user has entered their payment info. */ -FOUNDATION_EXPORT FBSDKAppEventName 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. */ -FOUNDATION_EXPORT FBSDKAppEventName 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. */ -FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameAddedToWishlist; - -/** Log this event when the user has entered the checkout process. The valueToSum passed to logEvent should be the total price in the cart. */ -FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameInitiatedCheckout; - -/** Log this event when the user has completed a transaction. The valueToSum passed to logEvent should be the total price of the transaction. */ -FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNamePurchased; - -// MARK: - Gaming - -/** Log this event when the user has achieved a level in the app. */ -FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameAchievedLevel; - -/** Log this event when the user has unlocked an achievement in the app. */ -FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameUnlockedAchievement; - -/** Log this event when the user has spent app credits. The valueToSum passed to logEvent should be the number of credits spent. */ -FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameSpentCredits; diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterName.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterName.h deleted file mode 100644 index bb7ae6a..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterName.h +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -/** - @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. - */ - -/// typedef for FBSDKAppEventParameterName -typedef NSString *FBSDKAppEventParameterName NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(AppEvents.ParameterName); - -/** - * Parameter key used to specify data for the one or more pieces of content being logged about. - * Data should be a JSON encoded string. - * Example: - * "[{\"id\": \"1234\", \"quantity\": 2, \"item_price\": 5.99}, {\"id\": \"5678\", \"quantity\": 1, \"item_price\": 9.99}]" - */ -FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameContent; - -/** Parameter key used to specify an ID for the specific piece of content being logged about. Could be an EAN, article identifier, etc., depending on the nature of the app. */ -FOUNDATION_EXPORT FBSDKAppEventParameterName 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. */ -FOUNDATION_EXPORT FBSDKAppEventParameterName 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 . */ -FOUNDATION_EXPORT FBSDKAppEventParameterName 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. */ -FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameDescription; - -/** Parameter key used to specify the level achieved in a `FBAppEventNameAchieved` event. */ -FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameLevel; - -/** Parameter key used to specify the maximum rating available for the `FBAppEventNameRate` event. E.g., "5" or "10". */ -FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameMaxRatingValue; - -/** Parameter key used to specify how many items are being processed for an `FBAppEventNameInitiatedCheckout` or `FBAppEventNamePurchased` event. */ -FOUNDATION_EXPORT FBSDKAppEventParameterName 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. */ -FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNamePaymentInfoAvailable; - -/** Parameter key used to specify method user has used to register for the app, e.g., "Facebook", "email", "Twitter", etc */ -FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameRegistrationMethod; - -/** Parameter key used to specify the string provided by the user for a search operation. */ -FOUNDATION_EXPORT FBSDKAppEventParameterName 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. */ -FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameSuccess; - -/** Parameter key used to specify the type of ad in an FBSDKAppEventNameAdImpression - * or FBSDKAppEventNameAdClick event. - * E.g. "banner", "interstitial", "rewarded_video", "native" */ -FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameAdType; - -/** Parameter key used to specify the unique ID for all events within a subscription - * in an FBSDKAppEventNameSubscribe or FBSDKAppEventNameStartTrial event. */ -FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameOrderID; - -/** Parameter key used to specify event name. */ -FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameEventName; - -/** Parameter key used to specify event log time. */ -FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameLogTime; diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterProduct.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterProduct.h deleted file mode 100644 index 6008d09..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterProduct.h +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -/** - @methodgroup Predefined event name parameters for common additional information to accompany events logged through the `logProductItem` method on `FBSDKAppEvents`. - */ - -/// typedef for FBSDKAppEventParameterProduct -typedef NSString *const FBSDKAppEventParameterProduct NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(AppEvents.ParameterProduct); - -/** Parameter key used to specify the product item's category. */ -FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCategory; - -/** Parameter key used to specify the product item's custom label 0. */ -FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCustomLabel0; - -/** Parameter key used to specify the product item's custom label 1. */ -FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCustomLabel1; - -/** Parameter key used to specify the product item's custom label 2. */ -FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCustomLabel2; - -/** Parameter key used to specify the product item's custom label 3. */ -FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCustomLabel3; - -/** Parameter key used to specify the product item's custom label 4. */ -FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCustomLabel4; - -/** Parameter key used to specify the product item's AppLink app URL for iOS. */ -FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIOSUrl; - -/** Parameter key used to specify the product item's AppLink app ID for iOS App Store. */ -FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIOSAppStoreID; - -/** Parameter key used to specify the product item's AppLink app name for iOS. */ -FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIOSAppName; - -/** Parameter key used to specify the product item's AppLink app URL for iPhone. */ -FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPhoneUrl; - -/** Parameter key used to specify the product item's AppLink app ID for iPhone App Store. */ -FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPhoneAppStoreID; - -/** Parameter key used to specify the product item's AppLink app name for iPhone. */ -FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPhoneAppName; - -/** Parameter key used to specify the product item's AppLink app URL for iPad. */ -FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPadUrl; - -/** Parameter key used to specify the product item's AppLink app ID for iPad App Store. */ -FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPadAppStoreID; - -/** Parameter key used to specify the product item's AppLink app name for iPad. */ -FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPadAppName; - -/** Parameter key used to specify the product item's AppLink app URL for Android. */ -FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkAndroidUrl; - -/** Parameter key used to specify the product item's AppLink fully-qualified package name for intent generation. */ -FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkAndroidPackage; - -/** Parameter key used to specify the product item's AppLink app name for Android. */ -FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkAndroidAppName; - -/** Parameter key used to specify the product item's AppLink app URL for Windows Phone. */ -FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkWindowsPhoneUrl; - -/** Parameter key used to specify the product item's AppLink app ID, as a GUID, for App Store. */ -FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkWindowsPhoneAppID; - -/** Parameter key used to specify the product item's AppLink app name for Windows Phone. */ -FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkWindowsPhoneAppName; diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterValue.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterValue.h deleted file mode 100644 index 8dfbd53..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterValue.h +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -/* - @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. - */ - -/// typedef for FBSDKAppEventParameterValue -typedef NSString *const FBSDKAppEventParameterValue NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(AppEvents.ParameterValue); - -/** Yes-valued parameter value to be used with parameter keys that need a Yes/No value */ -FOUNDATION_EXPORT FBSDKAppEventParameterValue FBSDKAppEventParameterValueYes; - -/** No-valued parameter value to be used with parameter keys that need a Yes/No value */ -FOUNDATION_EXPORT FBSDKAppEventParameterValue FBSDKAppEventParameterValueNo; diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEventUserDataType.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEventUserDataType.h deleted file mode 100644 index c199a1f..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEventUserDataType.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -typedef NSString *const FBSDKAppEventUserDataType NS_TYPED_EXTENSIBLE_ENUM; - -/** Parameter key used to specify user's email. */ -FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventEmail; - -/** Parameter key used to specify user's first name. */ -FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventFirstName; - -/** Parameter key used to specify user's last name. */ -FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventLastName; - -/** Parameter key used to specify user's phone. */ -FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventPhone; - -/** Parameter key used to specify user's date of birth. */ -FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventDateOfBirth; - -/** Parameter key used to specify user's gender. */ -FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventGender; - -/** Parameter key used to specify user's city. */ -FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventCity; - -/** Parameter key used to specify user's state. */ -FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventState; - -/** Parameter key used to specify user's zip. */ -FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventZip; - -/** Parameter key used to specify user's country. */ -FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventCountry; - -/** Parameter key used to specify user's external id. */ -FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventExternalId; diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h deleted file mode 100644 index f19c2e6..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h +++ /dev/null @@ -1,931 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#if !TARGET_OS_TV - #import -#endif - -#import -#import -#import -#import -#import -#import -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -@class FBSDKAccessToken; - -/** optional plist key ("FacebookLoggingOverrideAppID") for setting `loggingOverrideAppID` */ -FOUNDATION_EXPORT NSString *const FBSDKAppEventsOverrideAppIDBundleKey -NS_SWIFT_NAME(AppEventsOverrideAppIDBundleKey); - -/** - - - Client-side event logging for specialized application analytics available through Facebook App Insights - and for use with Facebook Ads conversion tracking and optimization. - - - - 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. - - */ - -NS_SWIFT_NAME(AppEvents) -@interface FBSDKAppEvents : NSObject - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/** - The shared instance of AppEvents. - */ -@property (class, nonatomic, readonly, strong) FBSDKAppEvents *shared; - -/* - * Control over event batching/flushing - */ - -/// The current event flushing behavior specifying when events are sent back to Facebook servers. -@property (class, nonatomic) FBSDKAppEventsFlushBehavior flushBehavior - DEPRECATED_MSG_ATTRIBUTE("`AppEvents.flushBehavior` is deprecated and will be removed in the next major release; please use `AppEvents.shared.flushBehavior` instead"); - -/** - Set the 'override' App ID for App Event logging. - - 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 `Settings.shared.appID`. - - This should be set before any other calls are made to `AppEvents`. Thus, you should set it in your application - delegate's `application(_:didFinishLaunchingWithOptions:)` method. - */ -@property (class, nullable, nonatomic, copy) NSString *loggingOverrideAppID - DEPRECATED_MSG_ATTRIBUTE("`AppEvents.loggingOverrideAppID` is deprecated and will be removed in the next major release; please use `AppEvents.shared.loggingOverrideAppID` instead"); - -/** - The custom user ID to associate with all app events. - - The userID is persisted until it is cleared by passing `nil`. - */ -@property (class, nullable, nonatomic, copy) NSString *userID - DEPRECATED_MSG_ATTRIBUTE("`AppEvents.userID` is deprecated and will be removed in the next major release; please use `AppEvents.shared.userID` instead"); - -/// Returns generated anonymous id that persisted with current install of the app -@property (class, nonatomic, readonly) NSString *anonymousID - DEPRECATED_MSG_ATTRIBUTE("`AppEvents.anonymousID` is deprecated and will be removed in the next major release; please use `AppEvents.shared.anonymousID` instead"); - -/// The current event flushing behavior specifying when events are sent back to Facebook servers. -@property (nonatomic) FBSDKAppEventsFlushBehavior flushBehavior; - -/** - Set the 'override' App ID for App Event logging. - - 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 `Settings.shared.appID`. - - This should be set before any other calls are made to `AppEvents`. Thus, you should set it in your application - delegate's `application(_:didFinishLaunchingWithOptions:)` method. - */ -@property (nullable, nonatomic, copy) NSString *loggingOverrideAppID; - -/** - The custom user ID to associate with all app events. - - The userID is persisted until it is cleared by passing `nil`. - */ -@property (nullable, nonatomic, copy) NSString *userID; - -/// Returns generated anonymous id that persisted with current install of the app -@property (nonatomic, readonly) NSString *anonymousID; - -/* - * Basic event logging - */ - -/** - Log an event with just an event name. - - @param eventName The name of the event to record. Limitations on number of events and name length - are given in the `AppEvents` documentation. - */ -+ (void)logEvent:(FBSDKAppEventName)eventName - DEPRECATED_MSG_ATTRIBUTE("`AppEvents.logEvent(_:)` is deprecated and will be removed in the next major release; please use `AppEvents.shared.logEvent(_:)` instead"); - -/** - Log an event with just an event name. - - @param eventName The name of the event to record. Limitations on number of events and name length - are given in the `AppEvents` documentation. - */ -- (void)logEvent:(FBSDKAppEventName)eventName; - -/** - Log an event with an event name 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 `AppEvents` documentation. Common event names are provided in `AppEvents.Name` constants. - - @param valueToSum Amount to be aggregated into all events of this event name, and App Insights will report - the cumulative and average value of this amount. - */ -+ (void)logEvent:(FBSDKAppEventName)eventName - valueToSum:(double)valueToSum - DEPRECATED_MSG_ATTRIBUTE("`AppEvents.logEvent(_:valueToSum:)` is deprecated and will be removed in the next major release; please use `AppEvents.shared.logEvent(_:valueToSum:)` instead"); - -/** - Log an event with an event name 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 `AppEvents` documentation. Common event names are provided in `AppEvents.Name` constants. - - @param valueToSum Amount to be aggregated into all events of this event name, and App Insights will report - the cumulative and average value of this amount. - */ -- (void)logEvent:(FBSDKAppEventName)eventName - valueToSum:(double)valueToSum; - -/** - Log an event with an event name 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 `AppEvents` documentation. Common event names are provided in `AppEvents.Name` 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 `AppEvents` documentation. Commonly used parameter names - are provided in `AppEvents.ParameterName` constants. - */ -+ (void)logEvent:(FBSDKAppEventName)eventName - parameters:(nullable NSDictionary *)parameters - DEPRECATED_MSG_ATTRIBUTE("`AppEvents.logEvent(_:parameters:)` is deprecated and will be removed in the next major release; please use `AppEvents.shared.logEvent(_:parameters:)` instead"); - -/** - Log an event with an event name 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 `AppEvents` documentation. Common event names are provided in `AppEvents.Name` 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 `AppEvents` documentation. Commonly used parameter names - are provided in `AppEvents.ParameterName` constants. - */ -- (void)logEvent:(FBSDKAppEventName)eventName - parameters:(nullable NSDictionary *)parameters; - -/** - Log an event with an event name, 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 `AppEvents` documentation. Common event names are provided in `AppEvents.Name` constants. - - @param valueToSum Amount to be aggregated into all events of this event name, 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 `AppEvents` documentation. Commonly used parameter names - are provided in `AppEvents.ParameterName` constants. - */ -+ (void)logEvent:(FBSDKAppEventName)eventName - valueToSum:(double)valueToSum - parameters:(nullable NSDictionary *)parameters - DEPRECATED_MSG_ATTRIBUTE("`AppEvents.logEvent(_:valueToSum:parameters:)` is deprecated and will be removed in the next major release; please use `AppEvents.shared.logEvent(_:valueToSum:parameters:)` instead"); - -/** - Log an event with an event name, 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 `AppEvents` documentation. Common event names are provided in `AppEvents.Name` constants. - - @param valueToSum Amount to be aggregated into all events of this event name, 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 `AppEvents` documentation. Commonly used parameter names - are provided in `AppEvents.ParameterName` constants. - */ -- (void)logEvent:(FBSDKAppEventName)eventName - valueToSum:(double)valueToSum - parameters:(nullable NSDictionary *)parameters; - -/** - Log an event with an event name, 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 `AppEvents` documentation. Common event names are provided in `AppEvents.Name` 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 `AppEvents` documentation. Commonly used parameter names - are provided in `AppEvents.ParameterName` constants. - - @param accessToken The optional access token to log the event as. - */ -+ (void)logEvent:(FBSDKAppEventName)eventName - valueToSum:(nullable NSNumber *)valueToSum - parameters:(nullable NSDictionary *)parameters - accessToken:(nullable FBSDKAccessToken *)accessToken - DEPRECATED_MSG_ATTRIBUTE("`AppEvents.logEvent(_:valueToSum:parameters:accessToken:)` is deprecated and will be removed in the next major release; please use `AppEvents.shared.logEvent(_:valueToSum:parameters:accessToken:)` instead"); - -/** - Log an event with an event name, 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 `AppEvents` documentation. Common event names are provided in `AppEvents.Name` 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 `AppEvents` documentation. Commonly used parameter names - are provided in `AppEvents.ParameterName` constants. - - @param accessToken The optional access token to log the event as. - */ -- (void)logEvent:(FBSDKAppEventName)eventName - valueToSum:(nullable NSNumber *)valueToSum - parameters:(nullable NSDictionary *)parameters - accessToken:(nullable FBSDKAccessToken *)accessToken; - -/* - * Purchase logging - */ - -/** - 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 string (e.g., "USD", "EUR", "GBP"); see ISO-4217 for - specific values. One reference for these is . - - This event immediately triggers a flush of the `AppEvents` event queue, unless the `flushBehavior` is set - to `FBSDKAppEventsFlushBehaviorExplicitOnly`. - */ -+ (void)logPurchase:(double)purchaseAmount - currency:(NSString *)currency - DEPRECATED_MSG_ATTRIBUTE("`AppEvents.logPurchase(_:currency:)` is deprecated and will be removed in the next major release; please use `AppEvents.shared.logPurchase(amount:currency:)` instead"); - -/** - 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 string (e.g., "USD", "EUR", "GBP"); see ISO-4217 for - specific values. One reference for these is . - - This event immediately triggers a flush of the `AppEvents` event queue, unless the `flushBehavior` is set - to `FBSDKAppEventsFlushBehaviorExplicitOnly`. - */ -// UNCRUSTIFY_FORMAT_OFF -- (void)logPurchase:(double)purchaseAmount currency:(NSString *)currency - NS_SWIFT_NAME(logPurchase(amount:currency:)); -// UNCRUSTIFY_FORMAT_ON - -/** - 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 string (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 `AppEvents` documentation. Commonly used parameter names - are provided in `AppEvents.ParameterName` constants. - - This event immediately triggers a flush of the `AppEvents` event queue, unless the `flushBehavior` is set - to `FBSDKAppEventsFlushBehaviorExplicitOnly`. - */ -+ (void)logPurchase:(double)purchaseAmount - currency:(NSString *)currency - parameters:(nullable NSDictionary *)parameters - DEPRECATED_MSG_ATTRIBUTE("`AppEvents.logPurchase(_:currency:parameters:)` is deprecated and will be removed in the next major release; please use `AppEvents.shared.logPurchase(amount:currency:parameters:)` instead"); - -/** - 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 string (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 `AppEvents` documentation. Commonly used parameter names - are provided in `AppEvents.ParameterName` constants. - - This event immediately triggers a flush of the `AppEvents` event queue, unless the `flushBehavior` is set - to `FBSDKAppEventsFlushBehaviorExplicitOnly`. - */ -// UNCRUSTIFY_FORMAT_OFF -- (void)logPurchase:(double)purchaseAmount - currency:(NSString *)currency - parameters:(nullable NSDictionary *)parameters - NS_SWIFT_NAME(logPurchase(amount:currency:parameters:)); -// UNCRUSTIFY_FORMAT_ON - -/** - 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 string (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 `AppEvents` documentation. Commonly used parameter names - are provided in `AppEvents.ParameterName` constants. - - @param accessToken The optional access token to log the event as. - - This event immediately triggers a flush of the `AppEvents` event queue, unless the `flushBehavior` is set - to `FBSDKAppEventsFlushBehaviorExplicitOnly`. - */ -+ (void)logPurchase:(double)purchaseAmount - currency:(NSString *)currency - parameters:(nullable NSDictionary *)parameters - accessToken:(nullable FBSDKAccessToken *)accessToken - DEPRECATED_MSG_ATTRIBUTE("`AppEvents.logPurchase(_:currency:parameters:accessToken:)` is deprecated and will be removed in the next major release; please use `AppEvents.shared.logPurchase(amount:currency:parameters:accessToken:)` instead"); - -/** - 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 string (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 `AppEvents` documentation. Commonly used parameter names - are provided in `AppEvents.ParameterName` constants. - - @param accessToken The optional access token to log the event as. - - This event immediately triggers a flush of the `AppEvents` event queue, unless the `flushBehavior` is set - to `FBSDKAppEventsFlushBehaviorExplicitOnly`. - */ -// UNCRUSTIFY_FORMAT_OFF -- (void)logPurchase:(double)purchaseAmount - currency:(NSString *)currency - parameters:(nullable NSDictionary *)parameters - accessToken:(nullable FBSDKAccessToken *)accessToken - NS_SWIFT_NAME(logPurchase(amount:currency:parameters:accessToken:)); -// UNCRUSTIFY_FORMAT_ON - -/* - * Push Notifications Logging - */ - -/** - Log an app event that tracks that the application was open via Push Notification. - - @param payload Notification payload received via `UIApplicationDelegate`. - */ -+ (void)logPushNotificationOpen:(NSDictionary *)payload - DEPRECATED_MSG_ATTRIBUTE("`AppEvents.logPushNotificationOpen(_:)` is deprecated and will be removed in the next major release; please use `AppEvents.shared.logPushNotificationOpen(payload:)` instead"); - -/** - Log an app event that tracks that the application was open via Push Notification. - - @param payload Notification payload received via `UIApplicationDelegate`. - */ -// UNCRUSTIFY_FORMAT_OFF -- (void)logPushNotificationOpen:(NSDictionary *)payload - NS_SWIFT_NAME(logPushNotificationOpen(payload:)); -// UNCRUSTIFY_FORMAT_ON - -/** - Log an app event that tracks that a custom action was taken from a push notification. - - @param payload Notification payload received via `UIApplicationDelegate`. - @param action Name of the action that was taken. - */ -+ (void)logPushNotificationOpen:(NSDictionary *)payload action:(NSString *)action - DEPRECATED_MSG_ATTRIBUTE("`AppEvents.logPushNotificationOpen(_:action:)` is deprecated and will be removed in the next major release; please use `AppEvents.shared.logPushNotificationOpen(payload:action:)` instead"); - -/** - Log an app event that tracks that a custom action was taken from a push notification. - - @param payload Notification payload received via `UIApplicationDelegate`. - @param action Name of the action that was taken. - */ -// UNCRUSTIFY_FORMAT_OFF -- (void)logPushNotificationOpen:(NSDictionary *)payload action:(NSString *)action - NS_SWIFT_NAME(logPushNotificationOpen(payload:action:)); -// UNCRUSTIFY_FORMAT_ON - -/** - Uploads product catalog product item as an app event - - @param itemID Unique ID for the item. Can be a variant for a product. - Max size is 100. - @param availability If item is in stock. Accepted values are: - in stock - Item ships immediately - out of stock - No plan to restock - preorder - Available in future - available for order - Ships in 1-2 weeks - discontinued - Discontinued - @param condition Product condition: new, refurbished or used. - @param description Short text describing product. Max size is 5000. - @param imageLink Link to item image used in ad. - @param link Link to merchant's site where someone can buy the item. - @param title Title of item. - @param priceAmount Amount of purchase, in the currency specified by the 'currency' - parameter. This value will be rounded to the thousandths place - (e.g., 12.34567 becomes 12.346). - @param currency Currency string (e.g., "USD", "EUR", "GBP"); see ISO-4217 for - specific values. One reference for these is . - @param gtin Global Trade Item Number including UPC, EAN, JAN and ISBN - @param mpn Unique manufacture ID for product - @param brand Name of the brand - Note: Either gtin, mpn or brand is required. - @param parameters Optional fields for deep link specification. - */ -+ (void)logProductItem:(NSString *)itemID - availability:(FBSDKProductAvailability)availability - condition:(FBSDKProductCondition)condition - description:(NSString *)description - imageLink:(NSString *)imageLink - link:(NSString *)link - title:(NSString *)title - priceAmount:(double)priceAmount - currency:(NSString *)currency - gtin:(nullable NSString *)gtin - mpn:(nullable NSString *)mpn - brand:(nullable NSString *)brand - parameters:(nullable NSDictionary *)parameters - DEPRECATED_MSG_ATTRIBUTE("`AppEvents.logProductItem(_:availability:condition:description:imageLink:link:title:priceAmount:currency:gtin:mpn:brand:parameters:)` is deprecated and will be removed in the next major release; please use `AppEvents.shared.logProductItem(id:availability:condition:description:imageLink:link:title:priceAmount:currency:gtin:mpn:brand:parameters:)` instead"); - -/** - Uploads product catalog product item as an app event - - @param itemID Unique ID for the item. Can be a variant for a product. - Max size is 100. - @param availability If item is in stock. Accepted values are: - in stock - Item ships immediately - out of stock - No plan to restock - preorder - Available in future - available for order - Ships in 1-2 weeks - discontinued - Discontinued - @param condition Product condition: new, refurbished or used. - @param description Short text describing product. Max size is 5000. - @param imageLink Link to item image used in ad. - @param link Link to merchant's site where someone can buy the item. - @param title Title of item. - @param priceAmount Amount of purchase, in the currency specified by the 'currency' - parameter. This value will be rounded to the thousandths place - (e.g., 12.34567 becomes 12.346). - @param currency Currency string (e.g., "USD", "EUR", "GBP"); see ISO-4217 for - specific values. One reference for these is . - @param gtin Global Trade Item Number including UPC, EAN, JAN and ISBN - @param mpn Unique manufacture ID for product - @param brand Name of the brand - Note: Either gtin, mpn or brand is required. - @param parameters Optional fields for deep link specification. - */ -// UNCRUSTIFY_FORMAT_OFF -- (void)logProductItem:(NSString *)itemID - availability:(FBSDKProductAvailability)availability - condition:(FBSDKProductCondition)condition - description:(NSString *)description - imageLink:(NSString *)imageLink - link:(NSString *)link - title:(NSString *)title - priceAmount:(double)priceAmount - currency:(NSString *)currency - gtin:(nullable NSString *)gtin - mpn:(nullable NSString *)mpn - brand:(nullable NSString *)brand - parameters:(nullable NSDictionary *)parameters - NS_SWIFT_NAME(logProductItem(id:availability:condition:description:imageLink:link:title:priceAmount:currency:gtin:mpn:brand:parameters:)); -// UNCRUSTIFY_FORMAT_ON - -/** - - Notifies the events system that the app has launched and, when appropriate, logs an "activated app" event. - This function is called automatically from FBSDKApplicationDelegate applicationDidBecomeActive, unless - one overrides 'FacebookAutoLogAppEventsEnabled' key to false in the project info plist file. - In case 'FacebookAutoLogAppEventsEnabled' is set to false, then it 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. - - - - `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; - -/* - * Push Notifications Registration and Uninstall Tracking - */ - -/** - Sets and sends device token to register the current application for push notifications. - - Sets and sends a device token from the `Data` representation that you get from - `UIApplicationDelegate.application(_:didRegisterForRemoteNotificationsWithDeviceToken:)`. - - @param deviceToken Device token data. - */ -+ (void)setPushNotificationsDeviceToken:(nullable NSData *)deviceToken - DEPRECATED_MSG_ATTRIBUTE("`AppEvents.setPushNotificationsDeviceToken(_:)` is deprecated and will be removed in the next major release; please use `AppEvents.shared.setPushNotificationsDeviceToken(_:)` instead"); - -/** - Sets and sends device token to register the current application for push notifications. - - Sets and sends a device token from the `Data` representation that you get from - `UIApplicationDelegate.application(_:didRegisterForRemoteNotificationsWithDeviceToken:)`. - - @param deviceToken Device token data. - */ -- (void)setPushNotificationsDeviceToken:(nullable NSData *)deviceToken; - -/** - Sets and sends device token string to register the current application for push notifications. - - Sets and sends a device token string - - @param deviceTokenString Device token string. - */ -// UNCRUSTIFY_FORMAT_OFF -+ (void)setPushNotificationsDeviceTokenString:(nullable NSString *)deviceTokenString -NS_SWIFT_NAME(setPushNotificationsDeviceToken(_:)) -DEPRECATED_MSG_ATTRIBUTE("`AppEvents.setPushNotificationsDeviceToken(_:)` is deprecated and will be removed in the next major release; please use `AppEvents.shared.setPushNotificationsDeviceToken(_:)` instead"); -// UNCRUSTIFY_FORMAT_ON - -/** - Sets and sends device token string to register the current application for push notifications. - - Sets and sends a device token string - - @param deviceTokenString Device token string. - */ -// UNCRUSTIFY_FORMAT_OFF -- (void)setPushNotificationsDeviceTokenString:(nullable NSString *)deviceTokenString -NS_SWIFT_NAME(setPushNotificationsDeviceToken(_:)); -// UNCRUSTIFY_FORMAT_ON - -/** - 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 - DEPRECATED_MSG_ATTRIBUTE("`AppEvents.flush()` is deprecated and will be removed in the next major release; please use `AppEvents.shared.flush()` instead"); - -/** - 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; - -/** - 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. - - The JSON in the request's response will include a "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 `Settings.shared.isEventDataUsageLimited` flag, or a specific Facebook user cannot be identified. - - @param accessToken The access token to use to establish the user's identity for users logged into Facebook through this app. - If `nil`, then `AccessToken.current` is used. - */ -+ (nullable FBSDKGraphRequest *)requestForCustomAudienceThirdPartyIDWithAccessToken:(nullable FBSDKAccessToken *)accessToken - DEPRECATED_MSG_ATTRIBUTE("`AppEvents.requestForCustomAudienceThirdPartyID(with:)` is deprecated and will be removed in the next major release; please use `AppEvents.shared.requestForCustomAudienceThirdPartyID(accessToken:)` instead"); - -/** - 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. - - The JSON in the request's response will include a "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 `Settings.shared.isEventDataUsageLimited` flag, or a specific Facebook user cannot be identified. - - @param accessToken The access token to use to establish the user's identity for users logged into Facebook through this app. - If `nil`, then `AccessToken.current` is used. - */ -// UNCRUSTIFY_FORMAT_OFF -- (nullable FBSDKGraphRequest *)requestForCustomAudienceThirdPartyIDWithAccessToken:(nullable FBSDKAccessToken *)accessToken -NS_SWIFT_NAME(requestForCustomAudienceThirdPartyID(accessToken:)); -// UNCRUSTIFY_FORMAT_ON - -/** - Clears the custom user ID to associate with all app events. - */ -+ (void)clearUserID - DEPRECATED_MSG_ATTRIBUTE("`AppEvents.clearUserID` is deprecated and will be removed in the next major release, please set `AppEvents.shared.userID` to `nil` instead"); - -/** - Sets custom user data to associate with all app events. All user data are hashed - and used to match Facebook user from this instance of an application. - - The user data will be persisted between application instances. - - @param email user's email - @param firstName user's first name - @param lastName user's last name - @param phone user's phone - @param dateOfBirth user's date of birth - @param gender user's gender - @param city user's city - @param state user's state - @param zip user's zip - @param country user's country - */ - -// UNCRUSTIFY_FORMAT_OFF -+ (void)setUserEmail:(nullable NSString *)email - firstName:(nullable NSString *)firstName - lastName:(nullable NSString *)lastName - phone:(nullable NSString *)phone - dateOfBirth:(nullable NSString *)dateOfBirth - gender:(nullable NSString *)gender - city:(nullable NSString *)city - state:(nullable NSString *)state - zip:(nullable NSString *)zip - country:(nullable NSString *)country -NS_SWIFT_NAME(setUser(email:firstName:lastName:phone:dateOfBirth:gender:city:state:zip:country:)) -DEPRECATED_MSG_ATTRIBUTE("Class methods for setting user information are deprecated and will be removed in the next major release. Please use the instance method versions instead."); -// UNCRUSTIFY_FORMAT_ON - -/** - Sets custom user data to associate with all app events. All user data are hashed - and used to match Facebook user from this instance of an application. - - The user data will be persisted between application instances. - - @param email user's email - @param firstName user's first name - @param lastName user's last name - @param phone user's phone - @param dateOfBirth user's date of birth - @param gender user's gender - @param city user's city - @param state user's state - @param zip user's zip - @param country user's country - */ - -// UNCRUSTIFY_FORMAT_OFF -- (void)setUserEmail:(nullable NSString *)email - firstName:(nullable NSString *)firstName - lastName:(nullable NSString *)lastName - phone:(nullable NSString *)phone - dateOfBirth:(nullable NSString *)dateOfBirth - gender:(nullable NSString *)gender - city:(nullable NSString *)city - state:(nullable NSString *)state - zip:(nullable NSString *)zip - country:(nullable NSString *)country -NS_SWIFT_NAME(setUser(email:firstName:lastName:phone:dateOfBirth:gender:city:state:zip:country:)); -// UNCRUSTIFY_FORMAT_ON - -/** - Returns the set user data else nil -*/ -+ (nullable NSString *)getUserData - DEPRECATED_MSG_ATTRIBUTE("Class methods for getting user information are deprecated and will be removed in the next major release. Please use the instance method versions instead."); - -/** - Returns the set user data else nil -*/ -- (nullable NSString *)getUserData; - -/** - Clears the current user data -*/ -+ (void)clearUserData - DEPRECATED_MSG_ATTRIBUTE("Class methods for setting user information are deprecated and will be removed in the next major release. Please use the instance method versions instead."); - -/** - Clears the current user data -*/ -- (void)clearUserData; - -/** - Sets custom user data to associate with all app events. All user data are hashed - and used to match Facebook user from this instance of an application. - - The user data will be persisted between application instances. - - @param data data - @param type data type, e.g. FBSDKAppEventEmail, FBSDKAppEventPhone - */ -+ (void)setUserData:(nullable NSString *)data - forType:(FBSDKAppEventUserDataType)type - DEPRECATED_MSG_ATTRIBUTE("Class methods for setting user information are deprecated and will be removed in the next major release. Please use the instance method versions instead."); - -/** - Sets custom user data to associate with all app events. All user data are hashed - and used to match Facebook user from this instance of an application. - - The user data will be persisted between application instances. - - @param data data - @param type data type, e.g. FBSDKAppEventEmail, FBSDKAppEventPhone - */ -- (void)setUserData:(nullable NSString *)data - forType:(FBSDKAppEventUserDataType)type; - -/** - Clears the current user data of certain type - */ -+ (void)clearUserDataForType:(FBSDKAppEventUserDataType)type - DEPRECATED_MSG_ATTRIBUTE("Class methods for setting user information are deprecated and will be removed in the next major release. Please use the instance method versions instead."); - -/** - Clears the current user data of certain type - */ -- (void)clearUserDataForType:(FBSDKAppEventUserDataType)type; - -#if !TARGET_OS_TV -/** - Intended to be used as part of a hybrid webapp. - If you call this method, the FB SDK will inject a new JavaScript object into your webview. - If the FB Pixel is used within the webview, and references the app ID of this app, - then it will detect the presence of this injected JavaScript object - and pass Pixel events back to the FB SDK for logging using the AppEvents framework. - - @param webView The webview to augment with the additional JavaScript behavior - */ -+ (void)augmentHybridWKWebView:(WKWebView *)webView - DEPRECATED_MSG_ATTRIBUTE("`AppEvents.augmentHybridWKWebView(_:)` is deprecated and will be removed in the next major release; please use `AppEvents.shared.augmentHybridWebView(_:)` instead"); - -/** - Intended to be used as part of a hybrid webapp. - If you call this method, the FB SDK will inject a new JavaScript object into your webview. - If the FB Pixel is used within the webview, and references the app ID of this app, - then it will detect the presence of this injected JavaScript object - and pass Pixel events back to the FB SDK for logging using the AppEvents framework. - - @param webView The webview to augment with the additional JavaScript behavior - */ -- (void)augmentHybridWebView:(WKWebView *)webView; -#endif - -/* - * Unity helper functions - */ - -/** - Set whether Unity is already initialized. - - @param isUnityInit Whether Unity is initialized. - - */ -+ (void)setIsUnityInit:(BOOL)isUnityInit - DEPRECATED_MSG_ATTRIBUTE("`AppEvents.setIsUnityInit(_:)` is deprecated and will be removed in the next major release; please use `AppEvents.shared.setIsUnityInitialized(_:)` instead"); - -/** - Set whether Unity is already initialized. - - @param isUnityInitialized Whether Unity is initialized. - - */ -- (void)setIsUnityInitialized:(BOOL)isUnityInitialized; - -/** - Send event bindings to Unity - */ -+ (void)sendEventBindingsToUnity - DEPRECATED_MSG_ATTRIBUTE("`AppEvents.sendEventBindingsToUnity()` is deprecated and will be removed in the next major release; please use `AppEvents.shared.sendEventBindingsToUnity()` instead"); - -/** - Send event bindings to Unity - */ -- (void)sendEventBindingsToUnity; - -/* - * SDK Specific Event Logging - * Do not call directly outside of the SDK itself. - */ - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -- (void)logInternalEvent:(FBSDKAppEventName)eventName - parameters:(nullable NSDictionary *)parameters - isImplicitlyLogged:(BOOL)isImplicitlyLogged; - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -- (void)logInternalEvent:(FBSDKAppEventName)eventName - parameters:(nullable NSDictionary *)parameters - isImplicitlyLogged:(BOOL)isImplicitlyLogged - accessToken:(FBSDKAccessToken *)accessToken; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEventsFlushBehavior.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEventsFlushBehavior.h deleted file mode 100644 index 50e799f..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEventsFlushBehavior.h +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -/** - - NS_ENUM (NSUInteger, FBSDKAppEventsFlushBehavior) - - 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, -} NS_SWIFT_NAME(AppEvents.FlushBehavior); diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEventsNotificationName.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEventsNotificationName.h deleted file mode 100644 index 0183573..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppEventsNotificationName.h +++ /dev/null @@ -1,13 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -/** NSNotificationCenter name indicating a result of a failed log flush attempt. The posted object will be an NSError instance. */ -FOUNDATION_EXPORT NSNotificationName const FBSDKAppEventsLoggingResultNotification -NS_SWIFT_NAME(AppEventsLoggingResult); diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLink.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLink.h deleted file mode 100644 index ba82700..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLink.h +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** The version of the App Link protocol that this library supports */ -FOUNDATION_EXPORT NSString *const FBSDKAppLinkVersion -NS_SWIFT_NAME(AppLinkVersion); - -/** - Contains App Link metadata relevant for navigation on this device - derived from the HTML at a given URL. - */ -NS_SWIFT_NAME(AppLink) -@interface FBSDKAppLink : NSObject - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/** - Creates a FBSDKAppLink with the given list of FBSDKAppLinkTargets and target URL. - - Generally, this will only be used by implementers of the FBSDKAppLinkResolving protocol, - as these implementers will produce App Link metadata for a given URL. - - @param sourceURL the URL from which this App Link is derived - @param targets an ordered list of FBSDKAppLinkTargets for this platform derived - from App Link metadata. - @param webURL the fallback web URL, if any, for the app link. - */ -// UNCRUSTIFY_FORMAT_OFF -+ (instancetype)appLinkWithSourceURL:(nullable NSURL *)sourceURL - targets:(NSArray *)targets - webURL:(nullable NSURL *)webURL -NS_SWIFT_NAME(init(sourceURL:targets:webURL:)); -// UNCRUSTIFY_FORMAT_ON - -/** The URL from which this FBSDKAppLink was derived */ -@property (nullable, nonatomic, readonly, strong) NSURL *sourceURL; - -/** - The ordered list of targets applicable to this platform that will be used - for navigation. - */ -@property (nonatomic, readonly, copy) NSArray> *targets; - -/** The fallback web URL to use if no targets are installed on this device. */ -@property (nullable, nonatomic, readonly, strong) NSURL *webURL; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkNavigation.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkNavigation.h deleted file mode 100644 index aaa8550..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkNavigation.h +++ /dev/null @@ -1,147 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -#import -#import - -@protocol FBSDKSettings; - -NS_ASSUME_NONNULL_BEGIN - -/** - The result of calling navigate on a FBSDKAppLinkNavigation - */ -typedef NS_ENUM(NSInteger, FBSDKAppLinkNavigationType) { - /** Indicates that the navigation failed and no app was opened */ - FBSDKAppLinkNavigationTypeFailure, - /** Indicates that the navigation succeeded by opening the URL in the browser */ - FBSDKAppLinkNavigationTypeBrowser, - /** Indicates that the navigation succeeded by opening the URL in an app on the device */ - FBSDKAppLinkNavigationTypeApp, -} NS_SWIFT_NAME(AppLinkNavigation.Type); - -/** - Describes the callback for appLinkFromURLInBackground. - @param navType the FBSDKAppLink representing the deferred App Link - @param error the error during the request, if any - - */ -typedef void (^ FBSDKAppLinkNavigationBlock)(FBSDKAppLinkNavigationType navType, NSError *_Nullable error) -NS_SWIFT_NAME(AppLinkNavigationBlock); - -/** - Represents a pending request to navigate to an App Link. Most developers will - simply use navigateToURLInBackground: to open a URL, but developers can build - custom requests with additional navigation and app data attached to them by - creating FBSDKAppLinkNavigations themselves. - */ -NS_EXTENSION_UNAVAILABLE_IOS("Not available in app extension") -NS_SWIFT_NAME(AppLinkNavigation) -@interface FBSDKAppLinkNavigation : NSObject - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/** - The default resolver to be used for App Link resolution. If the developer has not set one explicitly, - a basic, built-in FBSDKWebViewAppLinkResolver will be used. - */ -@property (class, nonatomic, strong) id defaultResolver -NS_SWIFT_NAME(default); - -/** - The extras for the AppLinkNavigation. This will generally contain application-specific - data that should be passed along with the request, such as advertiser or affiliate IDs or - other such metadata relevant on this device. - */ -@property (nonatomic, readonly, copy) NSDictionary *extras; - -/** - The al_applink_data for the AppLinkNavigation. This will generally contain data common to - navigation attempts such as back-links, user agents, and other information that may be used - in routing and handling an App Link request. - */ -@property (nonatomic, readonly, copy) NSDictionary *appLinkData; - -/** The AppLink to navigate to */ -@property (nonatomic, readonly, strong) FBSDKAppLink *appLink; - -/** - Return navigation type for current instance. - No-side-effect version of navigate: - */ -@property (nonatomic, readonly) FBSDKAppLinkNavigationType navigationType; - -/** Creates an AppLinkNavigation with the given link, extras, and App Link data */ -// UNCRUSTIFY_FORMAT_OFF -+ (instancetype)navigationWithAppLink:(FBSDKAppLink *)appLink - extras:(NSDictionary *)extras - appLinkData:(NSDictionary *)appLinkData -NS_SWIFT_NAME(init(appLink:extras:appLinkData:)) -DEPRECATED_MSG_ATTRIBUTE("`init(appLink:extras:appLinkData:)` is deprecated and will be removed in the next major release, please use `init(appLink:extras:appLinkData:settings:)` instead"); - -/** Creates an AppLinkNavigation with the given link, extras, and App Link data */ -+ (instancetype)navigationWithAppLink:(FBSDKAppLink *)appLink - extras:(NSDictionary *)extras - appLinkData:(NSDictionary *)appLinkData - settings:(id)settings -NS_SWIFT_NAME(init(appLink:extras:appLinkData:settings:)); - -/** - Creates an NSDictionary with the correct format for iOS callback URLs, - to be used as 'appLinkData' argument in the call to navigationWithAppLink:extras:appLinkData: - */ -+ (NSDictionary *> *)callbackAppLinkDataForAppWithName:(NSString *)appName - url:(NSString *)url -NS_SWIFT_NAME(callbackAppLinkData(forApp:url:)); -// UNCRUSTIFY_FORMAT_ON - -/** Performs the navigation */ -- (FBSDKAppLinkNavigationType)navigate:(NSError **)error - __attribute__((swift_error(nonnull_error))); - -/** Returns a FBSDKAppLink for the given URL */ -+ (void)resolveAppLink:(NSURL *)destination handler:(FBSDKAppLinkBlock)handler; - -/** Returns a FBSDKAppLink for the given URL using the given App Link resolution strategy */ -+ (void)resolveAppLink:(NSURL *)destination - resolver:(id)resolver - handler:(FBSDKAppLinkBlock)handler; - -/** Navigates to a FBSDKAppLink and returns whether it opened in-app or in-browser */ -+ (FBSDKAppLinkNavigationType)navigateToAppLink:(FBSDKAppLink *)link error:(NSError **)error - __attribute__((swift_error(nonnull_error))); - -/** - Returns a FBSDKAppLinkNavigationType based on a FBSDKAppLink. - It's essentially a no-side-effect version of navigateToAppLink:error:, - allowing apps to determine flow based on the link type (e.g. open an - internal web view instead of going straight to the browser for regular links.) - */ -+ (FBSDKAppLinkNavigationType)navigationTypeForLink:(FBSDKAppLink *)link; - -/** Navigates to a URL (an asynchronous action) and returns a FBSDKNavigationType */ -+ (void)navigateToURL:(NSURL *)destination handler:(FBSDKAppLinkNavigationBlock)handler; - -/** - Navigates to a URL (an asynchronous action) using the given App Link resolution - strategy and returns a FBSDKNavigationType - */ -+ (void)navigateToURL:(NSURL *)destination - resolver:(id)resolver - handler:(FBSDKAppLinkNavigationBlock)handler; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h deleted file mode 100644 index 7240a02..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Describes the callback for appLinkFromURLInBackground. - @param appLinks the FBSDKAppLinks representing the deferred App Links - @param error the error during the request, if any - */ -typedef void (^ FBSDKAppLinksBlock)(NSDictionary *appLinks, - NSError *_Nullable error) -NS_SWIFT_NAME(AppLinksBlock); - -/** - - Provides an implementation of the FBSDKAppLinkResolving 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. - - Usage of this type requires a client token. See `[FBSDKSettings setClientToken:]` - */ - -NS_SWIFT_NAME(AppLinkResolver) -@interface FBSDKAppLinkResolver : NSObject - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/** - Asynchronously resolves App Link data for a given array of URLs. - - @param urls The URLs to resolve into an App Link. - @param handler The completion block that will return an App Link for the given URL. - */ -- (void)appLinksFromURLs:(NSArray *)urls handler:(FBSDKAppLinksBlock)handler - NS_EXTENSION_UNAVAILABLE_IOS("Not available in app extension"); - -/** - Allocates and initializes a new instance of FBSDKAppLinkResolver. - */ -+ (instancetype)resolver - NS_SWIFT_NAME(init()); - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolverRequestBuilder.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolverRequestBuilder.h deleted file mode 100644 index 4ee402f..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolverRequestBuilder.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Class responsible for generating the appropriate FBSDKGraphRequest for a given set of urls - */ -NS_SWIFT_NAME(AppLinkResolverRequestBuilder) -DEPRECATED_MSG_ATTRIBUTE("`FBSDKAppLinkResolverRequestBuilder` is deprecated and will be removed in the next major release") -@interface FBSDKAppLinkResolverRequestBuilder : NSObject - -/** - Generates the FBSDKGraphRequest - - @param urls The URLs to build the requests for - */ -- (FBSDKGraphRequest *)requestForURLs:(NSArray *)urls - NS_EXTENSION_UNAVAILABLE_IOS("Not available in app extension"); - -- (nullable NSString *)getIdiomSpecificField - NS_EXTENSION_UNAVAILABLE_IOS("Not available in app extension"); - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolving.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolving.h deleted file mode 100644 index 7bc09b7..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolving.h +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -NS_ASSUME_NONNULL_BEGIN - -@class FBSDKAppLink; - -/** - Describes the callback for appLinkFromURLInBackground. - @param appLink the FBSDKAppLink representing the deferred App Link - @param error the error during the request, if any - - */ -typedef void (^ FBSDKAppLinkBlock)(FBSDKAppLink *_Nullable appLink, NSError *_Nullable error) -NS_SWIFT_NAME(AppLinkBlock); - -/** - 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. - */ -NS_SWIFT_NAME(AppLinkResolving) -@protocol FBSDKAppLinkResolving - -/** - Asynchronously resolves App Link data for a given URL. - - @param url The URL to resolve into an App Link. - @param handler The completion block that will return an App Link for the given URL. - */ -- (void)appLinkFromURL:(NSURL *)url handler:(FBSDKAppLinkBlock)handler - NS_EXTENSION_UNAVAILABLE_IOS("Not available in app extension"); - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkTarget.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkTarget.h deleted file mode 100644 index b439cc7..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkTarget.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Represents a target defined in App Link metadata, consisting of at least - a URL, and optionally an App Store ID and name. - */ -NS_SWIFT_NAME(AppLinkTarget) -@interface FBSDKAppLinkTarget : NSObject - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/** Creates a FBSDKAppLinkTarget with the given app site and target URL. */ -// UNCRUSTIFY_FORMAT_OFF -+ (instancetype)appLinkTargetWithURL:(nullable NSURL *)url - appStoreId:(nullable NSString *)appStoreId - appName:(NSString *)appName -NS_SWIFT_NAME(init(url:appStoreId:appName:)); -// UNCRUSTIFY_FORMAT_ON - -/** The URL prefix for this app link target */ -@property (nullable, nonatomic, readonly, strong) NSURL *URL; - -/** The app ID for the app store */ -@property (nullable, nonatomic, readonly, copy) NSString *appStoreId; - -/** The name of the app */ -@property (nonatomic, readonly, copy) NSString *appName; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkTargetProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkTargetProtocol.h deleted file mode 100644 index bcaa79e..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkTargetProtocol.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -NS_ASSUME_NONNULL_BEGIN - -/// A protocol to describe an AppLinkTarget -NS_SWIFT_NAME(AppLinkTargetProtocol) -@protocol FBSDKAppLinkTarget - -// UNCRUSTIFY_FORMAT_OFF -+ (instancetype)appLinkTargetWithURL:(nullable NSURL *)url - appStoreId:(nullable NSString *)appStoreId - appName:(NSString *)appName -NS_SWIFT_NAME(init(url:appStoreId:appName:)); -// UNCRUSTIFY_FORMAT_ON - -/** The URL prefix for this app link target */ -@property (nullable, nonatomic, readonly) NSURL *URL; - -/** The app ID for the app store */ -@property (nullable, nonatomic, readonly, copy) NSString *appStoreId; - -/** The name of the app */ -@property (nonatomic, readonly, copy) NSString *appName; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h deleted file mode 100644 index 5717354..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Describes the callback for fetchDeferredAppLink. - @param url the url representing the deferred App Link - @param error the error during the request, if any - - - The url may also have a fb_click_time_utc query parameter that - represents when the click occurred that caused the deferred App Link to be created. - */ -typedef void (^ FBSDKURLBlock)(NSURL *_Nullable url, NSError *_Nullable error) -NS_SWIFT_NAME(URLBlock); - -/** - Class containing App Links related utility methods. - */ -NS_SWIFT_NAME(AppLinkUtility) -@interface FBSDKAppLinkUtility : NSObject - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/** - 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 - - - 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:(nullable FBSDKURLBlock)handler; - -/* - Call this method to fetch promotion code from the url, if it's present. - - @param url App Link url that was passed to the app. - - @return Promotion code string. - - - Call this method to fetch App Invite Promotion Code from applink if present. - This can be used to fetch the promotion code that was associated with the invite when it - was created. This method should be called with the url from the openURL method. -*/ -+ (nullable NSString *)appInvitePromotionCodeFromURL:(NSURL *)url; - -/** - Check whether the scheme is defined in the app's URL schemes. - @param scheme the scheme of App Link URL - @return YES if the scheme is defined, otherwise NO. -*/ -+ (BOOL)isMatchURLScheme:(NSString *)scheme; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppURLSchemeProviding.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppURLSchemeProviding.h deleted file mode 100644 index f8c60b2..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAppURLSchemeProviding.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(AppURLSchemeProviding) -@protocol FBSDKAppURLSchemeProviding -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -- (NSString *)appURLScheme; - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -- (void)validateURLSchemes; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h deleted file mode 100644 index 23486e8..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h +++ /dev/null @@ -1,118 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - - 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). - - - - 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. - */ -NS_SWIFT_NAME(ApplicationDelegate) -@interface FBSDKApplicationDelegate : NSObject - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/** - Gets the singleton instance. - */ -@property (class, nonatomic, readonly, strong) FBSDKApplicationDelegate *sharedInstance -NS_SWIFT_NAME(shared); - -/** - 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:(nullable NSString *)sourceApplication - annotation:(nullable id)annotation; - -/** - Call this method from the [UIApplicationDelegate application:openURL:options:] 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:options:]. - - @param url The URL as passed to [UIApplicationDelegate application:openURL:options:]. - - @param options The options dictionary as passed to [UIApplicationDelegate application:openURL:options:]. - - @return YES if the url was intended for the Facebook SDK, NO if not. - */ -- (BOOL)application:(UIApplication *)application - openURL:(NSURL *)url - options:(NSDictionary *)options; - -/** - 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. - As part of SDK initialization basic auto logging of app events will occur, this can be -controlled via 'FacebookAutoLogAppEventsEnabled' key in the project info plist file. - - @param application The application as passed to [UIApplicationDelegate application:didFinishLaunchingWithOptions:]. - - @param launchOptions The launchOptions as passed to [UIApplicationDelegate application:didFinishLaunchingWithOptions:]. - - @return True if there are any added application observers that themselves return true from calling `application:didFinishLaunchingWithOptions:`. - Otherwise will return false. Note: If this method is called after calling `initializeSDK` then the return type will always be false. - */ -- (BOOL) application:(UIApplication *)application - didFinishLaunchingWithOptions:(nullable NSDictionary *)launchOptions; - -/** - Initializes the SDK. - - If you are using the SDK within the context of the UIApplication lifecycle, do not use this method. - Instead use `application: didFinishLaunchingWithOptions:`. - - As part of SDK initialization basic auto logging of app events will occur, this can be - controlled via 'FacebookAutoLogAppEventsEnabled' key in the project info plist file. - */ -- (void)initializeSDK; - -/** - Adds an observer that will be informed about application lifecycle events. - - @note Observers are weakly held - */ -- (void)addObserver:(id)observer; - -/** - Removes an observer so that it will no longer be informed about application lifecycle events. - - @note Observers are weakly held - */ -- (void)removeObserver:(id)observer; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKApplicationObserving.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKApplicationObserving.h deleted file mode 100644 index 36db2b2..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKApplicationObserving.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -/* - Describes any types that optionally responds to various lifecycle events - received by the system and propagated by `ApplicationDelegate`. - */ -@protocol FBSDKApplicationObserving - -@optional -- (void)applicationDidBecomeActive:(nullable UIApplication *)application; -- (void)applicationWillResignActive:(nullable UIApplication *)application; -- (void)applicationDidEnterBackground:(nullable UIApplication *)application; -- (BOOL) application:(UIApplication *)application - didFinishLaunchingWithOptions:(nullable NSDictionary *)launchOptions; - -- (BOOL)application:(UIApplication *)application - openURL:(NSURL *)url - sourceApplication:(nullable NSString *)sourceApplication - annotation:(nullable id)annotation; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationToken.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationToken.h deleted file mode 100644 index 02df879..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationToken.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -@class FBSDKAuthenticationTokenClaims; -@protocol FBSDKTokenCaching; - -NS_ASSUME_NONNULL_BEGIN - -/** - Represent an AuthenticationToken used for a login attempt -*/ -NS_SWIFT_NAME(AuthenticationToken) -@interface FBSDKAuthenticationToken : NSObject - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/** - The "global" authentication token that represents the currently logged in user. - - The `currentAuthenticationToken` represents the authentication token of the - current user and can be used by a client to verify an authentication attempt. - */ -@property (class, nullable, nonatomic, copy) FBSDKAuthenticationToken *currentAuthenticationToken; - -/** - The raw token string from the authentication response - */ -@property (nonatomic, readonly, copy) NSString *tokenString; - -/** - The nonce from the decoded authentication response - */ -@property (nonatomic, readonly, copy) NSString *nonce; - -/** - The graph domain where the user is authenticated. - */ -@property (nonatomic, readonly, copy) NSString *graphDomain; - -/** - Returns the claims encoded in the AuthenticationToken - */ -- (nullable FBSDKAuthenticationTokenClaims *)claims; - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -@property (class, nullable, nonatomic, copy) id tokenCache; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenClaims.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenClaims.h deleted file mode 100644 index e535596..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenClaims.h +++ /dev/null @@ -1,89 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(AuthenticationTokenClaims) -@interface FBSDKAuthenticationTokenClaims : NSObject - -/// A unique identifier for the token. -@property (nonatomic, readonly, strong) NSString *jti; - -/// Issuer Identifier for the Issuer of the response. -@property (nonatomic, readonly, strong) NSString *iss; - -/// Audience(s) that this ID Token is intended for. -@property (nonatomic, readonly, strong) NSString *aud; - -/// String value used to associate a Client session with an ID Token, and to mitigate replay attacks. -@property (nonatomic, readonly, strong) NSString *nonce; - -/// Expiration time on or after which the ID Token MUST NOT be accepted for processing. -@property (nonatomic, readonly, assign) NSTimeInterval exp; - -/// Time at which the JWT was issued. -@property (nonatomic, readonly, assign) NSTimeInterval iat; - -/// Subject - Identifier for the End-User at the Issuer. -@property (nonatomic, readonly, strong) NSString *sub; - -/// End-User's full name in displayable form including all name parts. -@property (nullable, nonatomic, readonly, strong) NSString *name; - -/// End-User's given name in displayable form -@property (nullable, nonatomic, readonly, strong) NSString *givenName; - -/// End-User's middle name in displayable form -@property (nullable, nonatomic, readonly, strong) NSString *middleName; - -/// End-User's family name in displayable form -@property (nullable, nonatomic, readonly, strong) NSString *familyName; - -/** - End-User's preferred e-mail address. - - IMPORTANT: This field will only be populated if your user has granted your application the 'email' permission. - */ -@property (nullable, nonatomic, readonly, strong) NSString *email; - -/// URL of the End-User's profile picture. -@property (nullable, nonatomic, readonly, strong) NSString *picture; - -/** - End-User's friends. - - IMPORTANT: This field will only be populated if your user has granted your application the 'user_friends' permission. - */ -@property (nullable, nonatomic, readonly, strong) NSArray *userFriends; - -/// End-User's birthday -@property (nullable, nonatomic, readonly, strong) NSString *userBirthday; - -/// End-User's age range -@property (nullable, nonatomic, readonly, strong) NSDictionary *userAgeRange; - -/// End-User's hometown -@property (nullable, nonatomic, readonly, strong) NSDictionary *userHometown; - -/// End-User's location -@property (nullable, nonatomic, readonly, strong) NSDictionary *userLocation; - -/// End-User's gender -@property (nullable, nonatomic, readonly, strong) NSString *userGender; - -/// End-User's link -@property (nullable, nonatomic, readonly, strong) NSString *userLink; - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenProtocols.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenProtocols.h deleted file mode 100644 index dc115cc..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenProtocols.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(AuthenticationTokenProviding) -@protocol FBSDKAuthenticationTokenProviding - -@property (class, nullable, nonatomic, readonly, copy) FBSDKAuthenticationToken *currentAuthenticationToken; -@property (class, nullable, nonatomic, copy) id tokenCache; - -@end - -NS_SWIFT_NAME(AuthenticationTokenSetting) -@protocol FBSDKAuthenticationTokenSetting - -@property (class, nullable, nonatomic, copy) FBSDKAuthenticationToken *currentAuthenticationToken; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPI.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPI.h deleted file mode 100644 index f3dc541..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPI.h +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#if !TARGET_OS_TV - - #import - - #import - #import - #import - #import - #import - #import - #import - #import - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -typedef void (^FBSDKAuthenticationCompletionHandler)(NSURL *_Nullable callbackURL, NSError *_Nullable error); - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(BridgeAPI) -@interface FBSDKBridgeAPI : NSObject - -@property (class, nonatomic, readonly, strong) FBSDKBridgeAPI *sharedInstance -NS_SWIFT_NAME(shared); -@property (nonatomic, readonly, getter = isActive) BOOL active; - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -- (void)openURL:(NSURL *)url - sender:(nullable id)sender - handler:(FBSDKSuccessBlock)handler; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIProtocol.h deleted file mode 100644 index 4add727..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIProtocol.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -FOUNDATION_EXPORT NSString *const FBSDKBridgeAPIAppIDKey; -FOUNDATION_EXPORT NSString *const FBSDKBridgeAPISchemeSuffixKey; -FOUNDATION_EXPORT NSString *const FBSDKBridgeAPIVersionKey; - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(BridgeAPIProtocol) -@protocol FBSDKBridgeAPIProtocol - -- (nullable NSURL *)requestURLWithActionID:(NSString *)actionID - scheme:(NSString *)scheme - methodName:(NSString *)methodName - parameters:(NSDictionary *)parameters - error:(NSError *_Nullable *)errorRef; -- (nullable NSDictionary *)responseParametersForActionID:(NSString *)actionID - queryParameters:(NSDictionary *)queryParameters - cancelled:(nullable BOOL *)cancelledRef - error:(NSError *_Nullable *)errorRef; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIProtocolType.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIProtocolType.h deleted file mode 100644 index 080cf57..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIProtocolType.h +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -typedef NS_ENUM(NSUInteger, FBSDKBridgeAPIProtocolType) { - FBSDKBridgeAPIProtocolTypeNative, - FBSDKBridgeAPIProtocolTypeWeb, -}; - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequest.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequest.h deleted file mode 100644 index ff85656..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequest.h +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -#import -#import -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(BridgeAPIRequest) -@interface FBSDKBridgeAPIRequest : NSObject - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; -+ (nullable instancetype)bridgeAPIRequestWithProtocolType:(FBSDKBridgeAPIProtocolType)protocolType - scheme:(FBSDKURLScheme)scheme - methodName:(nullable NSString *)methodName - parameters:(nullable NSDictionary *)parameters - userInfo:(nullable NSDictionary *)userInfo; - -@property (nonatomic, readonly, copy) NSString *actionID; -@property (nullable, nonatomic, readonly, copy) NSString *methodName; -@property (nullable, nonatomic, readonly, copy) NSDictionary *parameters; -@property (nonatomic, readonly, assign) FBSDKBridgeAPIProtocolType protocolType; -@property (nonatomic, readonly, copy) FBSDKURLScheme scheme; -@property (nullable, nonatomic, readonly, copy) NSDictionary *userInfo; - -- (nullable NSURL *)requestURL:(NSError *_Nullable *)errorRef; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestCreating.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestCreating.h deleted file mode 100644 index 888ccb0..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestCreating.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -#import - -@protocol FBSDKBridgeAPIRequest; - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(BridgeAPIRequestCreating) -@protocol FBSDKBridgeAPIRequestCreating - -- (nullable id)bridgeAPIRequestWithProtocolType:(FBSDKBridgeAPIProtocolType)protocolType - scheme:(NSString *)scheme - methodName:(nullable NSString *)methodName - parameters:(nullable NSDictionary *)parameters - userInfo:(nullable NSDictionary *)userInfo; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestOpening.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestOpening.h deleted file mode 100644 index 5319d73..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestOpening.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import -#import - -#import -#import - -@protocol FBSDKBridgeAPIRequest; -@protocol FBSDKURLOpening; - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(BridgeAPIRequestOpening) -@protocol FBSDKBridgeAPIRequestOpening - -- (void)openBridgeAPIRequest:(NSObject *)request - useSafariViewController:(BOOL)useSafariViewController - fromViewController:(nullable UIViewController *)fromViewController - completionBlock:(FBSDKBridgeAPIResponseBlock)completionBlock; - -// UNCRUSTIFY_FORMAT_OFF -- (void)openURLWithSafariViewController:(NSURL *)url - sender:(nullable id)sender - fromViewController:(nullable UIViewController *)fromViewController - handler:(FBSDKSuccessBlock)handler -NS_SWIFT_NAME(openURLWithSafariViewController(url:sender:from:handler:)); -// UNCRUSTIFY_FORMAT_ON - -- (void)openURL:(NSURL *)url - sender:(nullable id)sender - handler:(FBSDKSuccessBlock)handler; -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestProtocol.h deleted file mode 100644 index dad4e11..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestProtocol.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -#import - -@protocol FBSDKBridgeAPIProtocol; - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(BridgeAPIRequestProtocol) -@protocol FBSDKBridgeAPIRequest - -@property (nonatomic, readonly, copy) NSString *scheme; -@property (nonatomic, readonly, copy) NSString *actionID; -@property (nullable, nonatomic, readonly, copy) NSString *methodName; -@property (nonatomic, readonly, assign) FBSDKBridgeAPIProtocolType protocolType; -@property (nullable, nonatomic, readonly, strong) id protocol; - -- (nullable NSURL *)requestURL:(NSError *_Nullable *)errorRef; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIResponse.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIResponse.h deleted file mode 100644 index 58660ce..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIResponse.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -@protocol FBSDKBridgeAPIRequest; -@class FBSDKBridgeAPIResponse; - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -typedef void (^ FBSDKBridgeAPIResponseBlock)(FBSDKBridgeAPIResponse *response) -NS_SWIFT_NAME(BridgeAPIResponseBlock); - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(BridgeAPIResponse) -@interface FBSDKBridgeAPIResponse : NSObject - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -+ (instancetype)bridgeAPIResponseWithRequest:(NSObject *)request error:(NSError *)error; -+ (nullable instancetype)bridgeAPIResponseWithRequest:(NSObject *)request - responseURL:(NSURL *)responseURL - sourceApplication:(nullable NSString *)sourceApplication - error:(NSError *__autoreleasing *)errorRef; -+ (instancetype)bridgeAPIResponseCancelledWithRequest:(NSObject *)request; - -@property (nonatomic, readonly, getter = isCancelled, assign) BOOL cancelled; -@property (nullable, nonatomic, readonly, copy) NSError *error; -@property (nonatomic, readonly, copy) NSObject *request; -@property (nullable, nonatomic, readonly, copy) NSDictionary *responseParameters; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKButton.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKButton.h deleted file mode 100644 index 9d3b61c..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKButton.h +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import -@class FBSDKIcon; - -NS_ASSUME_NONNULL_BEGIN - -/** - A base class for common SDK buttons. - */ -NS_SWIFT_NAME(FBButton) -@interface FBSDKButton : FBSDKImpressionLoggingButton - -@property (nonatomic, readonly, getter = isImplicitlyDisabled) BOOL implicitlyDisabled; - -- (void)checkImplicitlyDisabled; -- (void)configureWithIcon:(nullable FBSDKIcon *)icon - title:(nullable NSString *)title - backgroundColor:(nullable UIColor *)backgroundColor - highlightedColor:(nullable UIColor *)highlightedColor; - -/** - Internal method exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -- (void) configureWithIcon:(nullable FBSDKIcon *)icon - title:(nullable NSString *)title - backgroundColor:(nullable UIColor *)backgroundColor - highlightedColor:(nullable UIColor *)highlightedColor - selectedTitle:(nullable NSString *)selectedTitle - selectedIcon:(nullable FBSDKIcon *)selectedIcon - selectedColor:(nullable UIColor *)selectedColor - selectedHighlightedColor:(nullable UIColor *)selectedHighlightedColor; - -/** - Internal method exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -- (UIColor *)defaultBackgroundColor; - -/** - Internal method exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -- (CGSize)sizeThatFits:(CGSize)size title:(NSString *)title; - -/** - Internal method exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -- (CGSize)textSizeForText:(NSString *)text font:(UIFont *)font constrainedSize:(CGSize)constrainedSize lineBreakMode:(NSLineBreakMode)lineBreakMode; - -/** - Internal method exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -- (void)logTapEventWithEventName:(NSString *)eventName - parameters:(nullable NSDictionary *)parameters; -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKButtonImpressionLogging.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKButtonImpressionLogging.h deleted file mode 100644 index 4cb7b3b..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKButtonImpressionLogging.h +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(FBButtonImpressionLogging) -@protocol FBSDKButtonImpressionLogging - -@property (nullable, nonatomic, readonly, copy) NSDictionary *analyticsParameters; -@property (nonatomic, readonly, copy) FBSDKAppEventName impressionTrackingEventName; -@property (nonatomic, readonly, copy) NSString *impressionTrackingIdentifier; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKConstants.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKConstants.h deleted file mode 100644 index e20ba20..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKConstants.h +++ /dev/null @@ -1,240 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - The error domain for all errors from FBSDKCoreKit. - - Error codes from the SDK in the range 0-99 are reserved for this domain. - */ -FOUNDATION_EXPORT NSErrorDomain const FBSDKErrorDomain -NS_SWIFT_NAME(ErrorDomain); - -/* - @methodgroup error userInfo keys - */ - -/** - The userInfo key for the invalid collection for errors with FBSDKErrorInvalidArgument. - - If the invalid argument is a collection, the collection can be found with this key and the individual - invalid item can be found with FBSDKErrorArgumentValueKey. - */ -FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorArgumentCollectionKey -NS_SWIFT_NAME(ErrorArgumentCollectionKey); - -/** - The userInfo key for the invalid argument name for errors with FBSDKErrorInvalidArgument. - */ -FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorArgumentNameKey -NS_SWIFT_NAME(ErrorArgumentNameKey); - -/** - The userInfo key for the invalid argument value for errors with FBSDKErrorInvalidArgument. - */ -FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorArgumentValueKey -NS_SWIFT_NAME(ErrorArgumentValueKey); - -/** - The userInfo key for the message for developers in NSErrors that originate from the SDK. - - The developer message will not be localized and is not intended to be presented within the app. - */ -FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorDeveloperMessageKey -NS_SWIFT_NAME(ErrorDeveloperMessageKey); - -/** - The userInfo key describing a localized description that can be presented to the user. - */ -FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorLocalizedDescriptionKey -NS_SWIFT_NAME(ErrorLocalizedDescriptionKey); - -/** - The userInfo key describing a localized title that can be presented to the user, used with `FBSDKLocalizedErrorDescriptionKey`. - */ -FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorLocalizedTitleKey -NS_SWIFT_NAME(ErrorLocalizedTitleKey); - -/* - @methodgroup FBSDKGraphRequest error userInfo keys - */ - -/** - The userInfo key describing the error category, for error recovery purposes. - - See `FBSDKGraphErrorRecoveryProcessor` and `[FBSDKGraphRequest disableErrorRecovery]`. - */ -FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorKey -NS_SWIFT_NAME(GraphRequestErrorKey); - -/* - The userInfo key for the Graph API error code. - */ -FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorGraphErrorCodeKey -NS_SWIFT_NAME(GraphRequestErrorGraphErrorCodeKey); - -/* - The userInfo key for the Graph API error subcode. - */ -FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorGraphErrorSubcodeKey -NS_SWIFT_NAME(GraphRequestErrorGraphErrorSubcodeKey); - -/* - The userInfo key for the HTTP status code. - */ -FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorHTTPStatusCodeKey -NS_SWIFT_NAME(GraphRequestErrorHTTPStatusCodeKey); - -/* - The userInfo key for the raw JSON response. - */ -FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorParsedJSONResponseKey -NS_SWIFT_NAME(GraphRequestErrorParsedJSONResponseKey); - -/* - @methodgroup Common Code Block typedefs - */ - -/** - Success Block - */ -typedef void (^ FBSDKCodeBlock)(void) -NS_SWIFT_NAME(CodeBlock); - -/** - Error Block - */ -typedef void (^ FBSDKErrorBlock)(NSError *_Nullable error) -NS_SWIFT_NAME(ErrorBlock); - -/** - Success Block - */ -typedef void (^ FBSDKSuccessBlock)(BOOL success, NSError *_Nullable error) -NS_SWIFT_NAME(SuccessBlock); - -/* - @methodgroup Enums - */ - -#ifndef NS_ERROR_ENUM - #define NS_ERROR_ENUM(_domain, _name) \ - enum _name : NSInteger _name; \ - enum __attribute__((ns_error_domain(_domain))) _name: NSInteger -#endif - -/** - FBSDKCoreError - Error codes for FBSDKErrorDomain. - */ -typedef NS_ERROR_ENUM (FBSDKErrorDomain, FBSDKCoreError) -{ - /** - Reserved. - */ - FBSDKErrorReserved = 0, - - /** - The error code for errors from invalid encryption on incoming encryption URLs. - */ - FBSDKErrorEncryption, - - /** - The error code for errors from invalid arguments to SDK methods. - */ - FBSDKErrorInvalidArgument, - - /** - The error code for unknown errors. - */ - FBSDKErrorUnknown, - - /** - A request failed due to a network error. Use NSUnderlyingErrorKey to retrieve - the error object from the NSURLSession for more information. - */ - FBSDKErrorNetwork, - - /** - The error code for errors encountered during an App Events flush. - */ - FBSDKErrorAppEventsFlush, - - /** - An endpoint that returns a binary response was used with FBSDKGraphRequestConnection. - - Endpoints that return image/jpg, etc. should be accessed using NSURLRequest - */ - FBSDKErrorGraphRequestNonTextMimeTypeReturned, - - /** - The operation failed because the server returned an unexpected response. - - You can get this error if you are not using the most recent SDK, or you are accessing a version of the - Graph API incompatible with the current SDK. - */ - FBSDKErrorGraphRequestProtocolMismatch, - - /** - The Graph API returned an error. - - See below for useful userInfo keys (beginning with FBSDKGraphRequestError*) - */ - FBSDKErrorGraphRequestGraphAPI, - - /** - The specified dialog configuration is not available. - - This error may signify that the configuration for the dialogs has not yet been downloaded from the server - or that the dialog is unavailable. Subsequent attempts to use the dialog may succeed as the configuration is loaded. - */ - FBSDKErrorDialogUnavailable, - - /** - Indicates an operation failed because a required access token was not found. - */ - FBSDKErrorAccessTokenRequired, - - /** - Indicates an app switch (typically for a dialog) failed because the destination app is out of date. - */ - FBSDKErrorAppVersionUnsupported, - - /** - Indicates an app switch to the browser (typically for a dialog) failed. - */ - FBSDKErrorBrowserUnavailable, - - /** - Indicates that a bridge api interaction was interrupted. - */ - FBSDKErrorBridgeAPIInterruption, - - /** - Indicates that a bridge api response creation failed. - */ - FBSDKErrorBridgeAPIResponse, -} NS_SWIFT_NAME(CoreError); - -/** - FBSDKGraphRequestError - Describes the category of Facebook error. See `FBSDKGraphRequestErrorKey`. - */ -typedef NS_ENUM(NSUInteger, FBSDKGraphRequestError) { - /** The default error category that is not known to be recoverable. Check `FBSDKLocalizedErrorDescriptionKey` for a user facing message. */ - FBSDKGraphRequestErrorOther = 0, - /** Indicates the error is temporary (such as server throttling). While a recoveryAttempter will be provided with the error instance, the attempt is guaranteed to succeed so you can simply retry the operation if you do not want to present an alert. */ - FBSDKGraphRequestErrorTransient = 1, - /** Indicates the error can be recovered (such as requiring a login). A recoveryAttempter will be provided with the error instance that can take UI action. */ - FBSDKGraphRequestErrorRecoverable = 2, -} NS_SWIFT_NAME(GraphRequestError); - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-Swift.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-Swift.h deleted file mode 100644 index db31307..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-Swift.h +++ /dev/null @@ -1,432 +0,0 @@ -#if 0 -#elif defined(__arm64__) && __arm64__ -// Generated by Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -#ifndef FBSDKCOREKIT_SWIFT_H -#define FBSDKCOREKIT_SWIFT_H -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wgcc-compat" - -#if !defined(__has_include) -# define __has_include(x) 0 -#endif -#if !defined(__has_attribute) -# define __has_attribute(x) 0 -#endif -#if !defined(__has_feature) -# define __has_feature(x) 0 -#endif -#if !defined(__has_warning) -# define __has_warning(x) 0 -#endif - -#if __has_include() -# include -#endif - -#pragma clang diagnostic ignored "-Wauto-import" -#include -#include -#include -#include - -#if !defined(SWIFT_TYPEDEFS) -# define SWIFT_TYPEDEFS 1 -# if __has_include() -# include -# elif !defined(__cplusplus) -typedef uint_least16_t char16_t; -typedef uint_least32_t char32_t; -# endif -typedef float swift_float2 __attribute__((__ext_vector_type__(2))); -typedef float swift_float3 __attribute__((__ext_vector_type__(3))); -typedef float swift_float4 __attribute__((__ext_vector_type__(4))); -typedef double swift_double2 __attribute__((__ext_vector_type__(2))); -typedef double swift_double3 __attribute__((__ext_vector_type__(3))); -typedef double swift_double4 __attribute__((__ext_vector_type__(4))); -typedef int swift_int2 __attribute__((__ext_vector_type__(2))); -typedef int swift_int3 __attribute__((__ext_vector_type__(3))); -typedef int swift_int4 __attribute__((__ext_vector_type__(4))); -typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); -typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); -typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); -#endif - -#if !defined(SWIFT_PASTE) -# define SWIFT_PASTE_HELPER(x, y) x##y -# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) -#endif -#if !defined(SWIFT_METATYPE) -# define SWIFT_METATYPE(X) Class -#endif -#if !defined(SWIFT_CLASS_PROPERTY) -# if __has_feature(objc_class_property) -# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ -# else -# define SWIFT_CLASS_PROPERTY(...) -# endif -#endif - -#if __has_attribute(objc_runtime_name) -# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) -#else -# define SWIFT_RUNTIME_NAME(X) -#endif -#if __has_attribute(swift_name) -# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) -#else -# define SWIFT_COMPILE_NAME(X) -#endif -#if __has_attribute(objc_method_family) -# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) -#else -# define SWIFT_METHOD_FAMILY(X) -#endif -#if __has_attribute(noescape) -# define SWIFT_NOESCAPE __attribute__((noescape)) -#else -# define SWIFT_NOESCAPE -#endif -#if __has_attribute(ns_consumed) -# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) -#else -# define SWIFT_RELEASES_ARGUMENT -#endif -#if __has_attribute(warn_unused_result) -# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) -#else -# define SWIFT_WARN_UNUSED_RESULT -#endif -#if __has_attribute(noreturn) -# define SWIFT_NORETURN __attribute__((noreturn)) -#else -# define SWIFT_NORETURN -#endif -#if !defined(SWIFT_CLASS_EXTRA) -# define SWIFT_CLASS_EXTRA -#endif -#if !defined(SWIFT_PROTOCOL_EXTRA) -# define SWIFT_PROTOCOL_EXTRA -#endif -#if !defined(SWIFT_ENUM_EXTRA) -# define SWIFT_ENUM_EXTRA -#endif -#if !defined(SWIFT_CLASS) -# if __has_attribute(objc_subclassing_restricted) -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# else -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# endif -#endif -#if !defined(SWIFT_RESILIENT_CLASS) -# if __has_attribute(objc_class_stub) -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) -# else -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) -# endif -#endif - -#if !defined(SWIFT_PROTOCOL) -# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -#endif - -#if !defined(SWIFT_EXTENSION) -# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) -#endif - -#if !defined(OBJC_DESIGNATED_INITIALIZER) -# if __has_attribute(objc_designated_initializer) -# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) -# else -# define OBJC_DESIGNATED_INITIALIZER -# endif -#endif -#if !defined(SWIFT_ENUM_ATTR) -# if defined(__has_attribute) && __has_attribute(enum_extensibility) -# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) -# else -# define SWIFT_ENUM_ATTR(_extensibility) -# endif -#endif -#if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# if __has_feature(generalized_swift_name) -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# else -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) -# endif -#endif -#if !defined(SWIFT_UNAVAILABLE) -# define SWIFT_UNAVAILABLE __attribute__((unavailable)) -#endif -#if !defined(SWIFT_UNAVAILABLE_MSG) -# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) -#endif -#if !defined(SWIFT_AVAILABILITY) -# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) -#endif -#if !defined(SWIFT_WEAK_IMPORT) -# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) -#endif -#if !defined(SWIFT_DEPRECATED) -# define SWIFT_DEPRECATED __attribute__((deprecated)) -#endif -#if !defined(SWIFT_DEPRECATED_MSG) -# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) -#endif -#if __has_feature(attribute_diagnose_if_objc) -# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) -#else -# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) -#endif -#if !defined(IBSegueAction) -# define IBSegueAction -#endif -#if __has_feature(modules) -#if __has_warning("-Watimport-in-framework-header") -#pragma clang diagnostic ignored "-Watimport-in-framework-header" -#endif -#endif - -#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" -#pragma clang diagnostic ignored "-Wduplicate-method-arg" -#if __has_warning("-Wpragma-clang-attribute") -# pragma clang diagnostic ignored "-Wpragma-clang-attribute" -#endif -#pragma clang diagnostic ignored "-Wunknown-pragmas" -#pragma clang diagnostic ignored "-Wnullability" - -#if __has_attribute(external_source_symbol) -# pragma push_macro("any") -# undef any -# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKCoreKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) -# pragma pop_macro("any") -#endif - - -#if __has_attribute(external_source_symbol) -# pragma clang attribute pop -#endif -#pragma clang diagnostic pop -#endif - -#elif defined(__ARM_ARCH_7A__) && __ARM_ARCH_7A__ -// Generated by Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -#ifndef FBSDKCOREKIT_SWIFT_H -#define FBSDKCOREKIT_SWIFT_H -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wgcc-compat" - -#if !defined(__has_include) -# define __has_include(x) 0 -#endif -#if !defined(__has_attribute) -# define __has_attribute(x) 0 -#endif -#if !defined(__has_feature) -# define __has_feature(x) 0 -#endif -#if !defined(__has_warning) -# define __has_warning(x) 0 -#endif - -#if __has_include() -# include -#endif - -#pragma clang diagnostic ignored "-Wauto-import" -#include -#include -#include -#include - -#if !defined(SWIFT_TYPEDEFS) -# define SWIFT_TYPEDEFS 1 -# if __has_include() -# include -# elif !defined(__cplusplus) -typedef uint_least16_t char16_t; -typedef uint_least32_t char32_t; -# endif -typedef float swift_float2 __attribute__((__ext_vector_type__(2))); -typedef float swift_float3 __attribute__((__ext_vector_type__(3))); -typedef float swift_float4 __attribute__((__ext_vector_type__(4))); -typedef double swift_double2 __attribute__((__ext_vector_type__(2))); -typedef double swift_double3 __attribute__((__ext_vector_type__(3))); -typedef double swift_double4 __attribute__((__ext_vector_type__(4))); -typedef int swift_int2 __attribute__((__ext_vector_type__(2))); -typedef int swift_int3 __attribute__((__ext_vector_type__(3))); -typedef int swift_int4 __attribute__((__ext_vector_type__(4))); -typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); -typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); -typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); -#endif - -#if !defined(SWIFT_PASTE) -# define SWIFT_PASTE_HELPER(x, y) x##y -# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) -#endif -#if !defined(SWIFT_METATYPE) -# define SWIFT_METATYPE(X) Class -#endif -#if !defined(SWIFT_CLASS_PROPERTY) -# if __has_feature(objc_class_property) -# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ -# else -# define SWIFT_CLASS_PROPERTY(...) -# endif -#endif - -#if __has_attribute(objc_runtime_name) -# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) -#else -# define SWIFT_RUNTIME_NAME(X) -#endif -#if __has_attribute(swift_name) -# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) -#else -# define SWIFT_COMPILE_NAME(X) -#endif -#if __has_attribute(objc_method_family) -# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) -#else -# define SWIFT_METHOD_FAMILY(X) -#endif -#if __has_attribute(noescape) -# define SWIFT_NOESCAPE __attribute__((noescape)) -#else -# define SWIFT_NOESCAPE -#endif -#if __has_attribute(ns_consumed) -# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) -#else -# define SWIFT_RELEASES_ARGUMENT -#endif -#if __has_attribute(warn_unused_result) -# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) -#else -# define SWIFT_WARN_UNUSED_RESULT -#endif -#if __has_attribute(noreturn) -# define SWIFT_NORETURN __attribute__((noreturn)) -#else -# define SWIFT_NORETURN -#endif -#if !defined(SWIFT_CLASS_EXTRA) -# define SWIFT_CLASS_EXTRA -#endif -#if !defined(SWIFT_PROTOCOL_EXTRA) -# define SWIFT_PROTOCOL_EXTRA -#endif -#if !defined(SWIFT_ENUM_EXTRA) -# define SWIFT_ENUM_EXTRA -#endif -#if !defined(SWIFT_CLASS) -# if __has_attribute(objc_subclassing_restricted) -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# else -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# endif -#endif -#if !defined(SWIFT_RESILIENT_CLASS) -# if __has_attribute(objc_class_stub) -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) -# else -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) -# endif -#endif - -#if !defined(SWIFT_PROTOCOL) -# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -#endif - -#if !defined(SWIFT_EXTENSION) -# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) -#endif - -#if !defined(OBJC_DESIGNATED_INITIALIZER) -# if __has_attribute(objc_designated_initializer) -# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) -# else -# define OBJC_DESIGNATED_INITIALIZER -# endif -#endif -#if !defined(SWIFT_ENUM_ATTR) -# if defined(__has_attribute) && __has_attribute(enum_extensibility) -# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) -# else -# define SWIFT_ENUM_ATTR(_extensibility) -# endif -#endif -#if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# if __has_feature(generalized_swift_name) -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# else -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) -# endif -#endif -#if !defined(SWIFT_UNAVAILABLE) -# define SWIFT_UNAVAILABLE __attribute__((unavailable)) -#endif -#if !defined(SWIFT_UNAVAILABLE_MSG) -# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) -#endif -#if !defined(SWIFT_AVAILABILITY) -# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) -#endif -#if !defined(SWIFT_WEAK_IMPORT) -# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) -#endif -#if !defined(SWIFT_DEPRECATED) -# define SWIFT_DEPRECATED __attribute__((deprecated)) -#endif -#if !defined(SWIFT_DEPRECATED_MSG) -# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) -#endif -#if __has_feature(attribute_diagnose_if_objc) -# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) -#else -# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) -#endif -#if !defined(IBSegueAction) -# define IBSegueAction -#endif -#if __has_feature(modules) -#if __has_warning("-Watimport-in-framework-header") -#pragma clang diagnostic ignored "-Watimport-in-framework-header" -#endif -#endif - -#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" -#pragma clang diagnostic ignored "-Wduplicate-method-arg" -#if __has_warning("-Wpragma-clang-attribute") -# pragma clang diagnostic ignored "-Wpragma-clang-attribute" -#endif -#pragma clang diagnostic ignored "-Wunknown-pragmas" -#pragma clang diagnostic ignored "-Wnullability" - -#if __has_attribute(external_source_symbol) -# pragma push_macro("any") -# undef any -# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKCoreKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) -# pragma pop_macro("any") -#endif - - -#if __has_attribute(external_source_symbol) -# pragma clang attribute pop -#endif -#pragma clang diagnostic pop -#endif - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h deleted file mode 100644 index 858dc59..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import - -#import - -#if !TARGET_OS_TV - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKCoreKitVersions.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKCoreKitVersions.h deleted file mode 100644 index 8b7a287..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKCoreKitVersions.h +++ /dev/null @@ -1,10 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#define FBSDK_VERSION_STRING @"12.2.1" -#define FBSDK_DEFAULT_GRAPH_API_VERSION @"v12.0" diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKDeviceButton.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKDeviceButton.h deleted file mode 100644 index 6745fcb..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKDeviceButton.h +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if TARGET_OS_TV - -#import - -NS_ASSUME_NONNULL_BEGIN - -/* - An internal base class for device related flows. - - This is an internal API that should not be used directly and is subject to change. - */ -NS_SWIFT_NAME(FBDeviceButton) -@interface FBSDKDeviceButton : FBSDKButton -- (CGSize)sizeThatFits:(CGSize)size attributedTitle:(NSAttributedString *)title; -- (nullable NSAttributedString *)attributedTitleStringFromString:(NSString *)string; -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKDeviceDialogView.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKDeviceDialogView.h deleted file mode 100644 index 7e26563..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKDeviceDialogView.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if TARGET_OS_TV - -#import - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(DeviceDialogViewDelegate) -@protocol FBSDKDeviceDialogViewDelegate; - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ - -NS_SWIFT_NAME(FBDeviceDialogView) -@interface FBSDKDeviceDialogView : UIView - -@property (nonatomic, weak) id delegate; -@property (nonatomic, copy) NSString *confirmationCode; - -// override point for subclasses. -- (void)buildView; - -@end - -NS_SWIFT_NAME(DeviceDialogViewDelegate) -@protocol FBSDKDeviceDialogViewDelegate - -- (void)deviceDialogViewDidCancel:(FBSDKDeviceDialogView *)deviceDialogView; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKDeviceViewControllerBase.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKDeviceViewControllerBase.h deleted file mode 100644 index 3dc1908..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKDeviceViewControllerBase.h +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if TARGET_OS_TV - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -/* - An internal base class for device related flows. - - This is an internal API that should not be used directly and is subject to change. -*/ -NS_SWIFT_NAME(FBDeviceViewControllerBase) -@interface FBSDKDeviceViewControllerBase : UIViewController -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKDynamicFrameworkLoaderProxy.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKDynamicFrameworkLoaderProxy.h deleted file mode 100644 index c8e3f06..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKDynamicFrameworkLoaderProxy.h +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(DynamicFrameworkLoaderProxy) -@interface FBSDKDynamicFrameworkLoaderProxy : NSObject -/** - Load the kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly value from the Security Framework - - @return The kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly value or nil. - */ -+ (CFTypeRef)loadkSecAttrAccessibleAfterFirstUnlockThisDeviceOnly; -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKDynamicSocialFrameworkLoader.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKDynamicSocialFrameworkLoader.h deleted file mode 100644 index 213fc62..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKDynamicSocialFrameworkLoader.h +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark - Social Constants - -/** - Dynamically loaded constant for SLServiceTypeFacebook - - */ -FOUNDATION_EXPORT NSString *fbsdkdfl_SLServiceTypeFacebook(void); - -#pragma mark - Social Classes - -FOUNDATION_EXPORT Class fbsdkdfl_SLComposeViewControllerClass(void); - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKError.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKError.h deleted file mode 100644 index 32c795d..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKError.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(SDKError) -@interface FBSDKError : NSObject - -+ (NSError *)errorWithCode:(NSInteger)code message:(nullable NSString *)message; - -+ (NSError *)errorWithDomain:(NSErrorDomain)domain code:(NSInteger)code message:(nullable NSString *)message; - -+ (NSError *)errorWithCode:(NSInteger)code - message:(nullable NSString *)message - underlyingError:(nullable NSError *)underlyingError; - -+ (NSError *)errorWithDomain:(NSErrorDomain)domain - code:(NSInteger)code - message:(nullable NSString *)message - underlyingError:(nullable NSError *)underlyingError; - -+ (NSError *)errorWithDomain:(NSErrorDomain)domain - code:(NSInteger)code - userInfo:(nullable NSDictionary *)userInfo - message:(nullable NSString *)message - underlyingError:(nullable NSError *)underlyingError; - -+ (NSError *)invalidArgumentErrorWithName:(NSString *)name - value:(nullable id)value - message:(nullable NSString *)message; - -+ (NSError *)invalidArgumentErrorWithDomain:(NSErrorDomain)domain - name:(NSString *)name - value:(nullable id)value - message:(nullable NSString *)message; - -+ (NSError *)invalidArgumentErrorWithDomain:(NSErrorDomain)domain - name:(NSString *)name - value:(nullable id)value - message:(nullable NSString *)message - underlyingError:(nullable NSError *)underlyingError; - -+ (NSError *)requiredArgumentErrorWithDomain:(NSErrorDomain)domain - name:(NSString *)name - message:(nullable NSString *)message; - -+ (NSError *)unknownErrorWithMessage:(NSString *)message; - -+ (BOOL)isNetworkError:(NSError *)error; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKErrorRecoveryAttempting.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKErrorRecoveryAttempting.h deleted file mode 100644 index cb177aa..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKErrorRecoveryAttempting.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - A formal protocol very similar to the informal protocol NSErrorRecoveryAttempting - Internal use only - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(ErrorRecoveryAttempting) -@protocol FBSDKErrorRecoveryAttempting - -/** - Attempt the recovery - @param error the error - @param completionHandler the handler called upon completion of error recovery - - Attempt recovery from the error, and call the completion handler. The value passed for didRecover must be YES if error recovery was completely successful, NO otherwise. - */ -- (void)attemptRecoveryFromError:(NSError *)error - completionHandler:(void (^)(BOOL didRecover))completionHandler; -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKFeature.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKFeature.h deleted file mode 100644 index 38d0c1e..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKFeature.h +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - FBSDKFeature enum - Defines features in SDK - - Sample: - FBSDKFeatureAppEvents = 0x00010000, - ^ ^ ^ ^ - | | | | - kit | | | - feature | | - sub-feature | - sub-sub-feature - 1st byte: kit - 2nd byte: feature - 3rd byte: sub-feature - 4th byte: sub-sub-feature - - @warning INTERNAL - DO NOT USE - */ -typedef NS_ENUM(NSUInteger, FBSDKFeature) { - FBSDKFeatureNone = 0x00000000, - // Features in CoreKit - /** Essential of CoreKit */ - FBSDKFeatureCore = 0x01000000, - /** App Events */ - FBSDKFeatureAppEvents = 0x01010000, - FBSDKFeatureCodelessEvents = 0x01010100, - FBSDKFeatureRestrictiveDataFiltering = 0x01010200, - FBSDKFeatureAAM = 0x01010300, - FBSDKFeaturePrivacyProtection = 0x01010400, - FBSDKFeatureSuggestedEvents = 0x01010401, - FBSDKFeatureIntelligentIntegrity = 0x01010402, - FBSDKFeatureModelRequest = 0x01010403, - FBSDKFeatureEventDeactivation = 0x01010500, - FBSDKFeatureSKAdNetwork = 0x01010600, - FBSDKFeatureSKAdNetworkConversionValue = 0x01010601, - FBSDKFeatureATELogging = 0x01010700, - FBSDKFeatureAEM = 0x01010800, - FBSDKFeatureAEMCatalogReport = 0x01010801, - /** Instrument */ - FBSDKFeatureInstrument = 0x01020000, - FBSDKFeatureCrashReport = 0x01020100, - FBSDKFeatureCrashShield = 0x01020101, - FBSDKFeatureErrorReport = 0x01020200, - - // Features in LoginKit - /** Essential of LoginKit */ - FBSDKFeatureLogin = 0x02000000, - - // Features in ShareKit - /** Essential of ShareKit */ - FBSDKFeatureShare = 0x03000000, - - // Features in GamingServicesKit - /** Essential of GamingServicesKit */ - FBSDKFeatureGamingServices = 0x04000000, -} NS_SWIFT_NAME(SDKFeature); - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -typedef void (^FBSDKFeatureManagerBlock)(BOOL enabled); - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKFeatureChecking.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKFeatureChecking.h deleted file mode 100644 index a74ef13..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKFeatureChecking.h +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(FeatureChecking) -@protocol FBSDKFeatureChecking - -- (BOOL)isEnabled:(FBSDKFeature)feature; - -- (void)checkFeature:(FBSDKFeature)feature - completionBlock:(FBSDKFeatureManagerBlock)completionBlock; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h deleted file mode 100644 index fe8202e..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h +++ /dev/null @@ -1,101 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -@class FBSDKGraphErrorRecoveryProcessor; -@protocol FBSDKGraphRequest; - -/** - Defines a delegate for `FBSDKGraphErrorRecoveryProcessor`. - */ -NS_SWIFT_NAME(GraphErrorRecoveryProcessorDelegate) -@protocol FBSDKGraphErrorRecoveryProcessorDelegate - -/** - 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:(nullable NSError *)error; - -@optional -/** - Indicates the processor is about to process the error. - @param processor the processor instance. - @param error the error is about to be processed. - - return NO if the processor should not process the error. For example, - if you want to prevent alerts of localized messages but otherwise perform retries and recoveries, - you could return NO for errors where userInfo[FBSDKGraphRequestErrorKey] equal to FBSDKGraphRequestErrorOther - */ -- (BOOL)processorWillProcessError:(FBSDKGraphErrorRecoveryProcessor *)processor - error:(nullable NSError *)error; - -@end - -NS_ASSUME_NONNULL_END - -NS_ASSUME_NONNULL_BEGIN - -/** - Defines a type that can process Facebook NSErrors with best practices. - - 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 FBSDKGraphRequestErrorKey, assume the recovery succeeded and - notify the delegate. - 2. If a FBSDKErrorRecoveryAttempting instance is available, display an alert (dispatched to main thread) - with the recovery options and call the instance's attemptRecoveryFromError method. - 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 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. - . - */ -NS_SWIFT_NAME(GraphErrorRecoveryProcessor) -@interface FBSDKGraphErrorRecoveryProcessor : NSObject - -/** - Initializes a GraphErrorRecoveryProcessor with an access token string. - */ -- (instancetype)initWithAccessTokenString:(NSString *)accessTokenString; - -/** - Attempts to process the error, return YES if the error can be processed. - @param error the error to process. - @param request the related request that may be reissued. - @param delegate the delegate that will be retained until recovery is complete. - */ -- (BOOL)processError:(NSError *)error - request:(id)request - delegate:(nullable id)delegate; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h deleted file mode 100644 index b18595c..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h +++ /dev/null @@ -1,178 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import -#import -#import -#import -#import -#import - -NS_ASSUME_NONNULL_BEGIN -/** - Represents a request to the Facebook Graph API. - - - `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 - */ -NS_SWIFT_NAME(GraphRequest) -@interface FBSDKGraphRequest : NSObject - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/** - Internal method exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -// UNCRUSTIFY_FORMAT_OFF -+ (void) configureWithSettings:(id)settings - currentAccessTokenStringProvider:(Class)accessTokenProvider - graphRequestConnectionFactory:(id)_graphRequestConnectionFactory -NS_SWIFT_NAME(configure(settings:currentAccessTokenStringProvider:graphRequestConnectionFactory:)); -// UNCRUSTIFY_FORMAT_ON - -/** - Initializes a new instance that use use `[FBSDKAccessToken currentAccessToken]`. - @param graphPath the graph path (e.g., @"me"). - */ -- (instancetype)initWithGraphPath:(NSString *)graphPath; - -/** - Initializes a new instance that use use `[FBSDKAccessToken currentAccessToken]`. - @param graphPath the graph path (e.g., @"me"). - @param method the HTTP method. Empty String defaults to @"GET". - */ -- (instancetype)initWithGraphPath:(NSString *)graphPath - HTTPMethod:(FBSDKHTTPMethod)method; - -/** - 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; - -/** - Initializes a new instance that use use `[FBSDKAccessToken currentAccessToken]`. - @param graphPath the graph path (e.g., @"me"). - @param parameters the optional parameters dictionary. - @param method the HTTP method. Empty String defaults to @"GET". - */ -- (instancetype)initWithGraphPath:(NSString *)graphPath - parameters:(NSDictionary *)parameters - HTTPMethod:(FBSDKHTTPMethod)method; - -/** - 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 `[FBSDKSettings graphAPIVersion]`. - @param method the HTTP method. Empty String defaults to @"GET". - */ -- (instancetype)initWithGraphPath:(NSString *)graphPath - parameters:(NSDictionary *)parameters - tokenString:(nullable NSString *)tokenString - version:(nullable NSString *)version - HTTPMethod:(FBSDKHTTPMethod)method - NS_DESIGNATED_INITIALIZER; - -/** - Initializes a new instance. - @param graphPath the graph path (e.g., @"me"). - @param parameters the optional parameters dictionary. - @param requestFlags flags that indicate how a graph request should be treated in various scenarios - */ -- (instancetype)initWithGraphPath:(NSString *)graphPath - parameters:(nullable NSDictionary *)parameters - flags:(FBSDKGraphRequestFlags)requestFlags; - -/** - 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 HTTPMethod the HTTP method. Empty String defaults to @"GET". - @param flags flags that indicate how a graph request should be treated in various scenarios - */ -- (instancetype)initWithGraphPath:(NSString *)graphPath - parameters:(nullable NSDictionary *)parameters - tokenString:(nullable NSString *)tokenString - HTTPMethod:(nullable NSString *)HTTPMethod - flags:(FBSDKGraphRequestFlags)flags; - -/** - The request parameters. - */ -@property (nonatomic, copy) NSDictionary *parameters; - -/** - The access token string used by the request. - */ -@property (nullable, nonatomic, readonly, copy) NSString *tokenString; - -/** - The Graph API endpoint to use for the request, for example "me". - */ -@property (nonatomic, readonly, copy) NSString *graphPath; - -/** - The HTTPMethod to use for the request, for example "GET" or "POST". - */ -@property (nonatomic, readonly, copy) FBSDKHTTPMethod HTTPMethod; - -/** - The Graph API version to use (e.g., "v2.0") - */ -@property (nonatomic, readonly, copy) NSString *version; - -/** - If set, disables the automatic error recovery mechanism. - @param disable whether to disable the automatic error recovery mechanism - - By default, non-batched FBSDKGraphRequest instances will automatically try to recover - from errors by constructing a `FBSDKGraphErrorRecoveryProcessor` instance that - 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:]. - */ - -// UNCRUSTIFY_FORMAT_OFF -- (void)setGraphErrorRecoveryDisabled:(BOOL)disable -NS_SWIFT_NAME(setGraphErrorRecovery(disabled:)); -// UNCRUSTIFY_FORMAT_ON - -/** - Starts a connection to the Graph API. - @param completion The handler block to call when the request completes. - */ -- (id)startWithCompletion:(nullable FBSDKGraphRequestCompletion)completion; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnecting.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnecting.h deleted file mode 100644 index 7bee17e..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnecting.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -@protocol FBSDKGraphRequest; -@protocol FBSDKGraphRequestConnecting; -@protocol FBSDKGraphRequestConnectionDelegate; - -/** - FBSDKGraphRequestCompletion - - A block that is passed to addRequest to register for a callback with the results of that - request once the connection completes. - - 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 connection 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. - */ -NS_SWIFT_NAME(GraphRequestCompletion) -typedef void (^FBSDKGraphRequestCompletion)(id _Nullable connection, - id _Nullable result, - NSError *_Nullable error); - -/// A protocol to describe an object that can manage graph requests -NS_SWIFT_NAME(GraphRequestConnecting) -@protocol FBSDKGraphRequestConnecting - -@property (nonatomic, assign) NSTimeInterval timeout; -@property (nullable, nonatomic, weak) id delegate; - -- (void)addRequest:(id)request - completion:(FBSDKGraphRequestCompletion)handler; - -- (void)start; -- (void)cancel; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h deleted file mode 100644 index 8193d11..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h +++ /dev/null @@ -1,187 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - The key in the result dictionary for requests to old versions of the Graph API - whose response is not a JSON object. - - - 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. - */ -FOUNDATION_EXPORT NSString *const FBSDKNonJSONResponseProperty -NS_SWIFT_NAME(NonJSONResponseProperty); - -@protocol FBSDKGraphRequest; - -/** - The `FBSDKGraphRequestConnection` represents a single connection to Facebook to service a request. - - 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. - - */ -NS_SWIFT_NAME(GraphRequestConnection) -@interface FBSDKGraphRequestConnection : NSObject - -/** - The default timeout on all FBSDKGraphRequestConnection instances. Defaults to 60 seconds. - */ -@property (class, nonatomic, assign) NSTimeInterval defaultConnectionTimeout; - -/** - The delegate object that receives updates. - */ -@property (nullable, nonatomic, weak) id delegate; - -/** - Gets or sets the timeout interval to wait for a response before giving up. - */ -@property (nonatomic, assign) NSTimeInterval timeout; - -/** - The raw response that was returned from the server. (readonly) - - 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 FBSDKGraphRequestBlock callback. - */ -@property (nullable, nonatomic, readonly, retain) NSHTTPURLResponse *urlResponse; - -/** - Determines the operation queue that is used to call methods on the connection's delegate. - - 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. - */ -@property (nonatomic, retain) NSOperationQueue *delegateQueue; - -/** - @methodgroup Class methods - */ - -/** - @methodgroup Adding requests - */ - -/** - @method - - This method adds an object to this connection. - - @param request A request to be included in the round-trip when start is called. - @param completion A handler to call back when the round-trip completes or times out. - - The completion handler is retained until the block is called upon the - completion or cancellation of the connection. - */ -- (void)addRequest:(id)request - completion:(FBSDKGraphRequestCompletion)completion; - -/** - @method - - This method adds an object to this connection. - - @param request A request to be included in the round-trip when start is called. - - @param completion A handler to call back when the round-trip completes or times out. - The handler will be invoked on the main thread. - - @param name A 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/ ). - - 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:(id)request - name:(NSString *)name - completion:(FBSDKGraphRequestCompletion)completion; - -/** - @method - - This method adds an object to this connection. - - @param request A request to be included in the round-trip when start is called. - - @param completion A handler to call back when the round-trip completes or times out. - - @param parameters The 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". - - 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:(id)request - parameters:(nullable NSDictionary *)parameters - completion:(FBSDKGraphRequestCompletion)completion; - -/** - @methodgroup Instance methods - */ - -/** - @method - - Signals that a connection should be logically terminated as the - application is no longer interested in a response. - - 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 - - This method starts a connection with the server and is capable of handling all of the - requests that were added to the connection. - - 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; - -/** - @method - - Overrides the default version for a batch request - - 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)overrideGraphAPIVersion:(NSString *)version; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionDelegate.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionDelegate.h deleted file mode 100644 index 09c43b7..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionDelegate.h +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - @protocol - - The `FBSDKGraphRequestConnectionDelegate` protocol defines the methods used to receive network - activity progress information from a . - */ -NS_SWIFT_NAME(GraphRequestConnectionDelegate) -@protocol FBSDKGraphRequestConnectionDelegate - -@optional - -/** - @method - - Tells the delegate the request connection will begin loading - - 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:(id)connection; - -/** - @method - - Tells the delegate the request connection finished loading - - If the request connection completes without a network error occurring 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 FBSDKGraphRequestBlock - 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:(id)connection; - -/** - @method - - Tells the delegate the request connection failed with an error - - 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 - FBSDKGraphRequestBlock 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:(id)connection - didFailWithError:(NSError *)error; - -/** - @method - - Tells the delegate how much data has been sent and is planned to send to the remote host - - The byte count arguments refer to the aggregated objects, not a particular . - - Like `NSURLSession`, 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:(id)connection - didSendBodyData:(NSInteger)bytesWritten - totalBytesWritten:(NSInteger)totalBytesWritten - totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactory.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactory.h deleted file mode 100644 index 942c733..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactory.h +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal type not intended for use outside of the SDKs. - - A factory for providing objects that conform to `GraphRequestConnecting`. - */ -NS_SWIFT_NAME(GraphRequestConnectionFactory) -@interface FBSDKGraphRequestConnectionFactory : NSObject -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactoryProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactoryProtocol.h deleted file mode 100644 index c18944a..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactoryProtocol.h +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -@protocol FBSDKGraphRequestConnecting; - -/// Describes anything that can provide instances of `FBSDKGraphRequestConnecting` -NS_SWIFT_NAME(GraphRequestConnectionFactoryProtocol) -@protocol FBSDKGraphRequestConnectionFactory - -- (id)createGraphRequestConnection; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h deleted file mode 100644 index 7819943..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - A container class for data attachments so that additional metadata can be provided about the attachment. - */ -NS_SWIFT_NAME(GraphRequestDataAttachment) -@interface FBSDKGraphRequestDataAttachment : NSObject - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/** - 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; - -/** - The content type for the attachment. - */ -@property (nonatomic, readonly, copy) NSString *contentType; - -/** - The attachment data. - */ -@property (nonatomic, readonly, strong) NSData *data; - -/** - The filename for the attachment. - */ -@property (nonatomic, readonly, copy) NSString *filename; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactory.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactory.h deleted file mode 100644 index a59c92b..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactory.h +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -@protocol FBSDKGraphRequestFactory; - -/** - Internal type not intended for use outside of the SDKs. - - A factory for providing objects that conform to `GraphRequest` -*/ -NS_SWIFT_NAME(GraphRequestFactory) -@interface FBSDKGraphRequestFactory : NSObject -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactoryProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactoryProtocol.h deleted file mode 100644 index 9d175ee..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactoryProtocol.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import - -@protocol FBSDKGraphRequest; - -typedef NSString *const FBSDKHTTPMethod NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(HTTPMethod); - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal type not intended for use outside of the SDKs. - -Describes anything that can provide instances of `GraphRequestProtocol` - */ -NS_SWIFT_NAME(GraphRequestFactoryProtocol) -@protocol FBSDKGraphRequestFactory - -- (id)createGraphRequestWithGraphPath:(NSString *)graphPath - parameters:(NSDictionary *)parameters - tokenString:(nullable NSString *)tokenString - HTTPMethod:(nullable FBSDKHTTPMethod)method - flags:(FBSDKGraphRequestFlags)flags; - -- (id)createGraphRequestWithGraphPath:(NSString *)graphPath - parameters:(NSDictionary *)parameters; - -- (id)createGraphRequestWithGraphPath:(NSString *)graphPath; - -- (id)createGraphRequestWithGraphPath:(NSString *)graphPath - parameters:(NSDictionary *)parameters - HTTPMethod:(FBSDKHTTPMethod)method; - -- (id)createGraphRequestWithGraphPath:(NSString *)graphPath - parameters:(NSDictionary *)parameters - tokenString:(nullable NSString *)tokenString - version:(nullable NSString *)version - HTTPMethod:(FBSDKHTTPMethod)method; - -- (id)createGraphRequestWithGraphPath:(NSString *)graphPath - parameters:(NSDictionary *)parameters - flags:(FBSDKGraphRequestFlags)flags; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFlags.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFlags.h deleted file mode 100644 index d5ee1b8..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFlags.h +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Flags that indicate how a graph request should be treated in various scenarios - */ -typedef NS_OPTIONS(NSUInteger, FBSDKGraphRequestFlags) { - FBSDKGraphRequestFlagNone = 0, - // indicates this request should not use a client token as its token parameter - FBSDKGraphRequestFlagSkipClientToken = 1 << 1, - // indicates this request should not close the session if its response is an oauth error - FBSDKGraphRequestFlagDoNotInvalidateTokenOnError = 1 << 2, - // indicates this request should not perform error recovery - FBSDKGraphRequestFlagDisableErrorRecovery = 1 << 3, -} NS_SWIFT_NAME(GraphRequestFlags); - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestHTTPMethod.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestHTTPMethod.h deleted file mode 100644 index 8d1ee74..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestHTTPMethod.h +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -/// typedef for FBSDKHTTPMethod -typedef NSString *const FBSDKHTTPMethod NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(HTTPMethod); - -/// GET Request -FOUNDATION_EXPORT FBSDKHTTPMethod FBSDKHTTPMethodGET NS_SWIFT_NAME(get); - -/// POST Request -FOUNDATION_EXPORT FBSDKHTTPMethod FBSDKHTTPMethodPOST NS_SWIFT_NAME(post); - -/// DELETE Request -FOUNDATION_EXPORT FBSDKHTTPMethod FBSDKHTTPMethodDELETE NS_SWIFT_NAME(delete); diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestProtocol.h deleted file mode 100644 index 739f11f..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestProtocol.h +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -@class FBSDKGraphRequestConnection; -@protocol FBSDKGraphRequestConnecting; - -typedef void (^FBSDKGraphRequestCompletion)(id _Nullable connection, - id _Nullable result, - NSError *_Nullable error); - -typedef void (^FBSDKGraphRequestBlock)(FBSDKGraphRequestConnection *_Nullable connection, - id _Nullable result, - NSError *_Nullable error); - -/// A protocol to describe anything that represents a graph request -NS_SWIFT_NAME(GraphRequestProtocol) -@protocol FBSDKGraphRequest - -/** - The request parameters. - */ -@property (nonatomic, copy) NSDictionary *parameters; - -/** - The access token string used by the request. - */ -@property (nullable, nonatomic, readonly, copy) NSString *tokenString; - -/** - The Graph API endpoint to use for the request, for example "me". - */ -@property (nonatomic, readonly, copy) NSString *graphPath; - -/** - The HTTPMethod to use for the request, for example "GET" or "POST". - */ -@property (nonatomic, readonly, copy) FBSDKHTTPMethod HTTPMethod; - -/** - The Graph API version to use (e.g., "v2.0") - */ -@property (nonatomic, readonly, copy) NSString *version; - -/** - The graph request flags to use - */ -@property (nonatomic, readonly, assign) FBSDKGraphRequestFlags flags; - -/** - Convenience property to determine if graph error recover is disabled - */ -@property (nonatomic, getter = isGraphErrorRecoveryDisabled) BOOL graphErrorRecoveryDisabled; - -/** - Convenience property to determine if the request has attachments - */ -@property (nonatomic, readonly) BOOL hasAttachments; - -/** - Starts a connection to the Graph API. - @param completion The handler block to call when the request completes. - */ -- (id)startWithCompletion:(nullable FBSDKGraphRequestCompletion)completion; - -/** - A formatted description of the graph request - */ -- (NSString *)formattedDescription; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKIcon.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKIcon.h deleted file mode 100644 index 47dee2e..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKIcon.h +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(Icon) -@interface FBSDKIcon : NSObject - -- (nullable CGPathRef)pathWithSize:(CGSize)size; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKImpressionLoggingButton.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKImpressionLoggingButton.h deleted file mode 100644 index 78376e0..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKImpressionLoggingButton.h +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(ImpressionLoggingButton) -@interface FBSDKImpressionLoggingButton : UIButton -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKInternalUtility.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKInternalUtility.h deleted file mode 100644 index c84d43c..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKInternalUtility.h +++ /dev/null @@ -1,154 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import -#import - -#import -#import -#import - -#if !TARGET_OS_TV - #import -#endif - -NS_ASSUME_NONNULL_BEGIN - -FOUNDATION_EXPORT NSString *const FBSDK_CANOPENURL_FACEBOOK - DEPRECATED_MSG_ATTRIBUTE("`FBSDK_CANOPENURL_FACEBOOK` is deprecated and will be removed in the next major release; please use `URLScheme.facebookAPI` instead"); -FOUNDATION_EXPORT NSString *const FBSDK_CANOPENURL_FBAPI - DEPRECATED_MSG_ATTRIBUTE("`FBSDK_CANOPENURL_FBAPI` is deprecated and will be removed in the next major release; please use `URLScheme.facebookAPI` instead"); -FOUNDATION_EXPORT NSString *const FBSDK_CANOPENURL_MESSENGER - DEPRECATED_MSG_ATTRIBUTE("`FBSDK_CANOPENURL_MESSENGER` is deprecated and will be removed in the next major release; please use `URLScheme.messengerApp` instead"); -FOUNDATION_EXPORT NSString *const FBSDK_CANOPENURL_MSQRD_PLAYER - DEPRECATED_MSG_ATTRIBUTE("`FBSDK_CANOPENURL_MSQRD_PLAYER` is deprecated and will be removed in the next major release"); -FOUNDATION_EXPORT NSString *const FBSDK_CANOPENURL_SHARE_EXTENSION - DEPRECATED_MSG_ATTRIBUTE("`FBSDK_CANOPENURL_SHARE_EXTENSION` is deprecated and will be removed in the next major release; please use `URLScheme.facebookAPI`"); - -NS_SWIFT_NAME(InternalUtility) -@interface FBSDKInternalUtility : NSObject -#if !TARGET_OS_TV - -#else - -#endif - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -@property (class, nonnull, readonly) FBSDKInternalUtility *sharedUtility; - -/** - Returns bundle for returning localized strings - - We assume a convention of a bundle named FBSDKStrings.bundle, otherwise we - return the main bundle. - */ -@property (nonatomic, readonly, strong) NSBundle *bundleForStrings; - -/** - Constructs an URL for the current app. - @param host The host for the URL. - @param path The path for the URL. - @param queryParameters The query parameters for the URL. This will be converted into a query string. - @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. - @return The app URL. - */ -- (NSURL *)appURLWithHost:(NSString *)host - path:(NSString *)path - queryParameters:(NSDictionary *)queryParameters - error:(NSError *__autoreleasing *)errorRef; - -/** - Parses an FB url's query params (and potentially fragment) into a dictionary. - @param url The FB url. - @return A dictionary with the key/value pairs. - */ -- (NSDictionary *)parametersFromFBURL:(NSURL *)url; - -/** - Constructs a Facebook URL. - @param hostPrefix The prefix for the host, such as 'm', 'graph', etc. - @param path The path for the URL. This may or may not include a version. - @param queryParameters The query parameters for the URL. This will be converted into a query string. - @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. - @return The Facebook URL. - */ -- (NSURL *)facebookURLWithHostPrefix:(NSString *)hostPrefix - path:(NSString *)path - queryParameters:(NSDictionary *)queryParameters - error:(NSError *__autoreleasing *)errorRef; - -/** - Tests whether the supplied URL is a valid URL for opening in the browser. - @param URL The URL to test. - @return YES if the URL refers to an http or https resource, otherwise NO. - */ -- (BOOL)isBrowserURL:(NSURL *)URL; - -/** - Checks equality between 2 objects. - - Checks for pointer equality, nils, isEqual:. - @param object The first object to compare. - @param other The second object to compare. - @return YES if the objects are equal, otherwise NO. - */ -- (BOOL)object:(id)object isEqualToObject:(id)other; - -/** - Extracts permissions from a response fetched from me/permissions - @param responseObject the response - @param grantedPermissions the set to add granted permissions to - @param declinedPermissions the set to add declined permissions to. - */ -- (void)extractPermissionsFromResponse:(NSDictionary *)responseObject - grantedPermissions:(NSMutableSet *)grantedPermissions - declinedPermissions:(NSMutableSet *)declinedPermissions - expiredPermissions:(NSMutableSet *)expiredPermissions; - -/** - validates that the app ID is non-nil, throws an NSException if nil. - */ -- (void)validateAppID; - -/** - Validates that the client access token is non-nil, otherwise - throws an NSException otherwise. - Returns the composed client access token. - */ -- (NSString *)validateRequiredClientAccessToken; - -/** - Attempts to find the first UIViewController in the view's responder chain. Returns nil if not found. - */ -- (nullable UIViewController *)viewControllerForView:(UIView *)view; - -/** - returns true if the url scheme is registered in the CFBundleURLTypes - */ -- (BOOL)isRegisteredURLScheme:(NSString *)urlScheme; - -/** - returns currently displayed top view controller. - */ -- (nullable UIViewController *)topMostViewController; - -/** - returns the current key window - */ -- (nullable UIWindow *)findWindow; - -#pragma mark - FB Apps Installed - -@property (nonatomic, readonly, assign) BOOL isMessengerAppInstalled; - -- (BOOL)isRegisteredCanOpenURLScheme:(NSString *)urlScheme; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKInternalUtilityProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKInternalUtilityProtocol.h deleted file mode 100644 index 5847f3f..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKInternalUtilityProtocol.h +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(InternalUtilityProtocol) -@protocol FBSDKInternalUtility - -#pragma mark - FB Apps Installed - -@property (nonatomic, readonly) BOOL isFacebookAppInstalled; - -/** - Constructs an NSURL. - @param scheme The scheme for the URL. - @param host The host for the URL. - @param path The path for the URL. - @param queryParameters The query parameters for the URL. This will be converted into a query string. - @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. - @return The URL. - */ -- (nullable NSURL *)URLWithScheme:(NSString *)scheme - host:(NSString *)host - path:(NSString *)path - queryParameters:(NSDictionary *)queryParameters - error:(NSError *__autoreleasing *)errorRef; - -/** - Registers a transient object so that it will not be deallocated until unregistered - @param object The transient object - */ -- (void)registerTransientObject:(id)object; - -/** - Unregisters a transient object that was previously registered with registerTransientObject: - @param object The transient object - */ -- (void)unregisterTransientObject:(__weak id)object; - -- (void)checkRegisteredCanOpenURLScheme:(NSString *)urlScheme; - -/** - Validates that the right URL schemes are registered, throws an NSException if not. - */ -- (void)validateURLSchemes; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKKeychainStore.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKKeychainStore.h deleted file mode 100644 index 6109057..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKKeychainStore.h +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(KeychainStore) -@interface FBSDKKeychainStore : NSObject - -@property (nonatomic, readonly, copy) NSString *service; -@property (nonatomic, readonly, copy) NSString *accessGroup; - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -- (instancetype)initWithService:(NSString *)service accessGroup:(nullable NSString *)accessGroup NS_DESIGNATED_INITIALIZER; - -- (BOOL)setData:(nullable NSData *)value forKey:(NSString *)key accessibility:(CFTypeRef)accessibility; -- (nullable NSData *)dataForKey:(NSString *)key; - -// hook for subclasses to override keychain query construction. -- (NSMutableDictionary *)queryForKey:(NSString *)key; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreFactory.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreFactory.h deleted file mode 100644 index 230c8f5..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreFactory.h +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal type not intended for use outside of the SDKs. - - A factory for providing objects that conform to `KeychainStore` -*/ -NS_SWIFT_NAME(KeychainStoreFactory) -@interface FBSDKKeychainStoreFactory : NSObject -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProtocol.h deleted file mode 100644 index d73465f..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProtocol.h +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(KeychainStoreProtocol) -@protocol FBSDKKeychainStore - -- (nullable NSString *)stringForKey:(NSString *)key; -- (nullable NSDictionary *)dictionaryForKey:(NSString *)key; - -- (BOOL)setString:(nullable NSString *)value forKey:(NSString *)key accessibility:(nullable CFTypeRef)accessibility; -- (BOOL)setDictionary:(nullable NSDictionary *)value forKey:(NSString *)key accessibility:(nullable CFTypeRef)accessibility; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProviding.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProviding.h deleted file mode 100644 index f95e604..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProviding.h +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(KeychainStoreProviding) -@protocol FBSDKKeychainStoreProviding - -- (nonnull id)createKeychainStoreWithService:(NSString *)service - accessGroup:(nullable NSString *)accessGroup; -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKLocation.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKLocation.h deleted file mode 100644 index dc7eb97..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKLocation.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(Location) -@interface FBSDKLocation : NSObject - -/** - Location id - */ -@property (nonatomic, readonly, strong) NSString *id; -/** - Location name - */ -@property (nonatomic, readonly, strong) NSString *name; - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/** - Returns a Location object from a dinctionary containing valid location information. - @param dictionary The dictionary containing raw location - - Valid location will consist of "id" and "name" strings. - */ -+ (nullable instancetype)locationFromDictionary:(NSDictionary *)dictionary; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKLogger.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKLogger.h deleted file mode 100644 index eb3cc89..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKLogger.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - - Simple logging utility for conditionally logging strings and then emitting them - via NSLog(). - - @unsorted - - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(Logger) -@interface FBSDKLogger : NSObject - -- (instancetype)init DEPRECATED_MSG_ATTRIBUTE("`init` is deprecated and will be removed in the next major release. Please use one of the other available initializers"); -+ (instancetype)new DEPRECATED_MSG_ATTRIBUTE("`new` is deprecated and will be removed in the next major release. Please use one of the other available initializers"); - -// Simple helper to write a single log entry, based upon whether the behavior matches a specified on. -+ (void)singleShotLogEntry:(FBSDKLoggingBehavior)loggingBehavior - logEntry:(NSString *)logEntry; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKLogging.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKLogging.h deleted file mode 100644 index 9936621..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKLogging.h +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(Logging) -@protocol FBSDKLogging - -@property (nonatomic, readonly, copy) NSString *contents; -@property (nonatomic, readonly, copy) FBSDKLoggingBehavior loggingBehavior; - -- (instancetype)initWithLoggingBehavior:(FBSDKLoggingBehavior)loggingBehavior; - -+ (void)singleShotLogEntry:(FBSDKLoggingBehavior)loggingBehavior - logEntry:(NSString *)logEntry; - -- (void)logEntry:(NSString *)logEntry; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKLoggingBehavior.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKLoggingBehavior.h deleted file mode 100644 index 570f9b0..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKLoggingBehavior.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -/* - * Constants defining logging behavior. Use with <[FBSDKSettings setLoggingBehavior]>. - */ - -typedef NSString *FBSDKLoggingBehavior NS_TYPED_ENUM NS_SWIFT_NAME(LoggingBehavior); - -/** Include access token in logging. */ -FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorAccessTokens; - -/** Log performance characteristics */ -FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorPerformanceCharacteristics; - -/** Log FBSDKAppEvents interactions */ -FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorAppEvents; - -/** Log Informational occurrences */ -FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorInformational; - -/** Log cache errors. */ -FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorCacheErrors; - -/** Log errors from SDK UI controls */ -FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorUIControlErrors; - -/** Log debug warnings from API response, i.e. when friends fields requested, but user_friends permission isn't granted. */ -FOUNDATION_EXPORT FBSDKLoggingBehavior 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. - */ -FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorGraphAPIDebugInfo; - -/** Log errors from SDK network requests */ -FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorNetworkRequests; - -/** Log errors likely to be preventable by the developer. This is in the default set of enabled logging behaviors. */ -FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorDeveloperErrors; - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKLoginTooltip.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKLoginTooltip.h deleted file mode 100644 index 9e95fbf..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKLoginTooltip.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** -Internal Type exposed to facilitate transition to Swift. -API Subject to change or removal without warning. Do not use. - -@warning INTERNAL - DO NOT USE -*/ -@interface FBSDKLoginTooltip : NSObject -@property (nonatomic, readonly, getter = isEnabled, assign) BOOL enabled; -@property (nonatomic, readonly, copy) NSString *text; - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -- (instancetype)initWithText:(NSString *)text - enabled:(BOOL)enabled - NS_DESIGNATED_INITIALIZER; -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKMeasurementEvent.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKMeasurementEvent.h deleted file mode 100644 index 5bfb135..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKMeasurementEvent.h +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(MeasurementEvent) -@interface FBSDKMeasurementEvent : NSObject - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h deleted file mode 100644 index cd4a9e2..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Extension protocol for NSMutableCopying that adds the mutableCopy method, which is implemented on NSObject. - - NSObject implicitly conforms to this protocol. - */ -NS_SWIFT_NAME(MutableCopying) -@protocol FBSDKMutableCopying - -/** - Implemented by NSObject as a convenience to mutableCopyWithZone:. - @return A mutable copy of the receiver. - */ -- (id)mutableCopy; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKProductAvailability.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKProductAvailability.h deleted file mode 100644 index d3671a6..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKProductAvailability.h +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -/** - NS_ENUM(NSUInteger, FBSDKProductAvailability) - Specifies product availability for Product Catalog product item update - */ -typedef NS_ENUM(NSUInteger, FBSDKProductAvailability) { - /** - * Item ships immediately - */ - FBSDKProductAvailabilityInStock = 0, - /** - * No plan to restock - */ - FBSDKProductAvailabilityOutOfStock, - /** - * Available in future - */ - FBSDKProductAvailabilityPreOrder, - /** - * Ships in 1-2 weeks - */ - FBSDKProductAvailabilityAvailableForOrder, - /** - * Discontinued - */ - FBSDKProductAvailabilityDiscontinued, -} NS_SWIFT_NAME(AppEvents.ProductAvailability); diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKProductCondition.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKProductCondition.h deleted file mode 100644 index 9f12d1e..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKProductCondition.h +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -/** - NS_ENUM(NSUInteger, FBSDKProductCondition) - Specifies product condition for Product Catalog product item update - */ -typedef NS_ENUM(NSUInteger, FBSDKProductCondition) { - FBSDKProductConditionNew = 0, - FBSDKProductConditionRefurbished, - FBSDKProductConditionUsed, -} NS_SWIFT_NAME(AppEvents.ProductCondition); diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKProfile.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKProfile.h deleted file mode 100644 index dcbf918..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKProfile.h +++ /dev/null @@ -1,306 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -@class FBSDKLocation; -@class FBSDKProfile; -@class FBSDKUserAgeRange; - -NS_ASSUME_NONNULL_BEGIN - -/** - Notification indicating that the `currentProfile` has changed. - - the userInfo dictionary of the notification will contain keys - `FBSDKProfileChangeOldKey` and - `FBSDKProfileChangeNewKey`. - */ -FOUNDATION_EXPORT NSNotificationName const FBSDKProfileDidChangeNotification -NS_SWIFT_NAME(ProfileDidChange); - -/* key in notification's userInfo object for getting the old profile. - - If there was no old profile, the key will not be present. - */ -FOUNDATION_EXPORT NSString *const FBSDKProfileChangeOldKey -NS_SWIFT_NAME(ProfileChangeOldKey); - -/* key in notification's userInfo object for getting the new profile. - - If there is no new profile, the key will not be present. - */ -FOUNDATION_EXPORT NSString *const FBSDKProfileChangeNewKey -NS_SWIFT_NAME(ProfileChangeNewKey); - -/** - Describes the callback for loadCurrentProfileWithCompletion. - @param profile the FBSDKProfile - @param error the error during the request, if any - - */ -typedef void (^ FBSDKProfileBlock)(FBSDKProfile *_Nullable profile, NSError *_Nullable error) -NS_SWIFT_NAME(ProfileBlock); - -/** - Represents the unique identifier for an end user - */ -typedef NSString FBSDKUserIdentifier - NS_SWIFT_NAME(UserIdentifier); - -/** - Represents an immutable Facebook profile - - 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". - */ -NS_SWIFT_NAME(Profile) -@interface FBSDKProfile : NSObject - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/** - 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:(FBSDKUserIdentifier *)userID - firstName:(nullable NSString *)firstName - middleName:(nullable NSString *)middleName - lastName:(nullable NSString *)lastName - name:(nullable NSString *)name - linkURL:(nullable NSURL *)linkURL - refreshDate:(nullable NSDate *)refreshDate; - -/** - @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]. - @param imageURL an optional URL to use for fetching a user's profile image - @param email the user's email - @param friendIDs a list of identifiers for the user's friends - @param birthday the user's birthday - @param ageRange the user's age range - @param hometown the user's hometown - @param location the user's location - @param gender the user's gender - @param isLimited indicates if the information provided is incomplete in some way. - When true, `loadCurrentProfileWithCompletion:` will assume the profile is - incomplete and disregard any cached profile. Defaults to false. - */ -- (instancetype)initWithUserID:(FBSDKUserIdentifier *)userID - firstName:(nullable NSString *)firstName - middleName:(nullable NSString *)middleName - lastName:(nullable NSString *)lastName - name:(nullable NSString *)name - linkURL:(nullable NSURL *)linkURL - refreshDate:(nullable NSDate *)refreshDate - imageURL:(nullable NSURL *)imageURL - email:(nullable NSString *)email - friendIDs:(nullable NSArray *)friendIDs - birthday:(nullable NSDate *)birthday - ageRange:(nullable FBSDKUserAgeRange *)ageRange - hometown:(nullable FBSDKLocation *)hometown - location:(nullable FBSDKLocation *)location - gender:(nullable NSString *)gender - isLimited:(BOOL)isLimited; - -/** - 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]. - @param imageURL an optional URL to use for fetching a user's profile image - @param email the user's email - @param friendIDs a list of identifiers for the user's friends - @param birthday the user's birthday - @param ageRange the user's age range - @param hometown the user's hometown - @param location the user's location - @param gender the user's gender - */ -- (instancetype)initWithUserID:(FBSDKUserIdentifier *)userID - firstName:(nullable NSString *)firstName - middleName:(nullable NSString *)middleName - lastName:(nullable NSString *)lastName - name:(nullable NSString *)name - linkURL:(nullable NSURL *)linkURL - refreshDate:(nullable NSDate *)refreshDate - imageURL:(nullable NSURL *)imageURL - email:(nullable NSString *)email - friendIDs:(nullable NSArray *)friendIDs - birthday:(nullable NSDate *)birthday - ageRange:(nullable FBSDKUserAgeRange *)ageRange - hometown:(nullable FBSDKLocation *)hometown - location:(nullable FBSDKLocation *)location - gender:(nullable NSString *)gender - NS_DESIGNATED_INITIALIZER; - -/** - The current profile instance and posts the appropriate notification - if the profile parameter is different than the receiver. - - This persists the profile to NSUserDefaults. - */ - -/// The current profile -@property (class, nullable, nonatomic, strong) FBSDKProfile *currentProfile -NS_SWIFT_NAME(current); - -/** - The user id - */ -@property (nonatomic, readonly, copy) FBSDKUserIdentifier *userID; -/** - The user's first name - */ -@property (nullable, nonatomic, readonly, copy) NSString *firstName; -/** - The user's middle name - */ -@property (nullable, nonatomic, readonly, copy) NSString *middleName; -/** - The user's last name - */ -@property (nullable, nonatomic, readonly, copy) NSString *lastName; -/** - The user's complete name - */ -@property (nullable, nonatomic, readonly, copy) NSString *name; -/** - A URL to the user's profile. - - IMPORTANT: This field will only be populated if your user has granted your application the 'user_link' permission - - Consider using `FBSDKAppLinkResolver` to resolve this - to an app link to link directly to the user's profile in the Facebook app. - */ -@property (nullable, nonatomic, readonly) NSURL *linkURL; - -/** - The last time the profile data was fetched. - */ -@property (nonatomic, readonly) NSDate *refreshDate; -/** - A URL to use for fetching a user's profile image. - */ -@property (nullable, nonatomic, readonly) NSURL *imageURL; -/** - The user's email. - - IMPORTANT: This field will only be populated if your user has granted your application the 'email' permission. - */ -@property (nullable, nonatomic, readonly, copy) NSString *email; -/** - A list of identifiers of the user's friends. - - IMPORTANT: This field will only be populated if your user has granted your application the 'user_friends' permission. - */ -@property (nullable, nonatomic, readonly, copy) NSArray *friendIDs; - -/** - The user's birthday. - - IMPORTANT: This field will only be populated if your user has granted your application the 'user_birthday' permission. - */ -@property (nullable, nonatomic, readonly, copy) NSDate *birthday; - -/** - The user's age range - - IMPORTANT: This field will only be populated if your user has granted your application the 'user_age_range' permission. - */ -@property (nullable, nonatomic, readonly, copy) FBSDKUserAgeRange *ageRange; - -/** - The user's hometown - - IMPORTANT: This field will only be populated if your user has granted your application the 'user_hometown' permission. - */ -@property (nullable, nonatomic, readonly, copy) FBSDKLocation *hometown; - -/** - The user's location - - IMPORTANT: This field will only be populated if your user has granted your application the 'user_location' permission. - */ -@property (nullable, nonatomic, readonly, copy) FBSDKLocation *location; - -/** - The user's gender - - IMPORTANT: This field will only be populated if your user has granted your application the 'user_gender' permission. - */ -@property (nullable, nonatomic, readonly, copy) NSString *gender; - -/** - Indicates if `currentProfile` will automatically observe `FBSDKAccessTokenDidChangeNotification` notifications - @param enable YES is observing - - If observing, this class will issue a graph request for public profile data when the current token's userID - differs from the current profile. You can observe `FBSDKProfileDidChangeNotification` for when the profile is updated. - - 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. - */ -// UNCRUSTIFY_FORMAT_OFF -+ (void)enableUpdatesOnAccessTokenChange:(BOOL)enable -NS_SWIFT_NAME(enableUpdatesOnAccessTokenChange(_:)); -// UNCRUSTIFY_FORMAT_ON - -/** - Loads the current profile and passes it to the completion block. - @param completion The block to be executed once the profile is loaded - - If the profile is already loaded, this method will call the completion block synchronously, otherwise it - will begin a graph request to update `currentProfile` and then call the completion block when finished. - */ -+ (void)loadCurrentProfileWithCompletion:(nullable FBSDKProfileBlock)completion; - -/** - 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. - */ -// UNCRUSTIFY_FORMAT_OFF -- (nullable NSURL *)imageURLForPictureMode:(FBSDKProfilePictureMode)mode size:(CGSize)size -NS_SWIFT_NAME(imageURL(forMode:size:)); -// UNCRUSTIFY_FORMAT_ON - -/** - Returns YES if the profile is equivalent to the receiver. - @param profile the profile to compare to. - */ -- (BOOL)isEqualToProfile:(FBSDKProfile *)profile; -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKProfilePictureView.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKProfilePictureView.h deleted file mode 100644 index c5b2545..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKProfilePictureView.h +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -@class FBSDKProfile; - -NS_ASSUME_NONNULL_BEGIN - -/** - FBSDKProfilePictureMode enum - Defines the aspect ratio mode for the source image of the profile picture. - */ -typedef NS_ENUM(NSUInteger, FBSDKProfilePictureMode) { - /** - A square cropped version of the image will be included in the view. - */ - FBSDKProfilePictureModeSquare, - /** - The original picture's aspect ratio will be used for the source image in the view. - */ - FBSDKProfilePictureModeNormal, - /** - The original picture's aspect ratio will be used for the source image in the view. - */ - FBSDKProfilePictureModeAlbum, - /** - The original picture's aspect ratio will be used for the source image in the view. - */ - FBSDKProfilePictureModeSmall, - /** - The original picture's aspect ratio will be used for the source image in the view. - */ - FBSDKProfilePictureModeLarge, -} NS_SWIFT_NAME(Profile.PictureMode); - -/** - A view to display a profile picture. - */ -NS_SWIFT_NAME(FBProfilePictureView) -@interface FBSDKProfilePictureView : UIView - -/** - Create a new instance of `FBSDKProfilePictureView`. - - - Parameter frame: Frame rectangle for the view. - - Parameter profile: Optional profile to display a picture for. - */ -- (instancetype)initWithFrame:(CGRect)frame - profile:(FBSDKProfile *_Nullable)profile; - -/** - Create a new instance of `FBSDKProfilePictureView`. - - - Parameter profile: Optional profile to display a picture for. - */ -- (instancetype)initWithProfile:(FBSDKProfile *_Nullable)profile; - -/** - The mode for the receiver to determine the aspect ratio of the source image. - */ -@property (nonatomic, assign) FBSDKProfilePictureMode pictureMode; - -/** - The profile ID to show the picture for. - */ -@property (nonatomic, copy) NSString *profileID; - -/** - Explicitly marks the receiver as needing to update the image. - - 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 - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKProfileProtocols.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKProfileProtocols.h deleted file mode 100644 index 4216f66..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKProfileProtocols.h +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -NS_ASSUME_NONNULL_BEGIN - -@class FBSDKProfile; - -NS_SWIFT_NAME(ProfileProviding) -@protocol FBSDKProfileProviding - -@property (class, nullable, nonatomic, strong) FBSDKProfile *currentProfile -NS_SWIFT_NAME(current); - -+ (nullable FBSDKProfile *)fetchCachedProfile; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKRandom.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKRandom.h deleted file mode 100644 index 40e8205..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKRandom.h +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -/** - Provides a random string - @param numberOfBytes the number of bytes to use - */ -extern NSString *fb_randomString(NSUInteger numberOfBytes); diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKServerConfigurationProvider.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKServerConfigurationProvider.h deleted file mode 100644 index 510f27b..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKServerConfigurationProvider.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal block type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(LoginTooltipBlock) -typedef void (^FBSDKLoginTooltipBlock)(FBSDKLoginTooltip *_Nullable loginTooltip, NSError *_Nullable error); - -/** -Internal Type exposed to facilitate transition to Swift. -API Subject to change or removal without warning. Do not use. - -@warning INTERNAL - DO NOT USE -*/ -NS_SWIFT_NAME(ServerConfigurationProvider) -@interface FBSDKServerConfigurationProvider : NSObject - -/** - Internal method exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -@property (nonatomic, readonly) NSString *loggingToken; - -/** - Internal method exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -- (NSUInteger)cachedSmartLoginOptions; - -/** - Internal method exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -- (BOOL)useSafariViewControllerForDialogName:(NSString *)dialogName; - -/** - Internal method exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -- (void)loadServerConfigurationWithCompletionBlock:(nullable FBSDKLoginTooltipBlock)completionBlock; -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKSettings.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKSettings.h deleted file mode 100644 index 51e7111..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKSettings.h +++ /dev/null @@ -1,400 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(Settings) -@interface FBSDKSettings : NSObject - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/** - The shared settings instance. Prefer this and the exposed instance methods over the class variants. - */ -@property (class, nonatomic, readonly) FBSDKSettings *sharedSettings; - -/** - Retrieve the current iOS SDK version. - */ -@property (nonatomic, readonly, copy) NSString *sdkVersion; - -/** - Retrieve the current iOS SDK version. - */ -@property (class, nonatomic, readonly, copy) NSString *sdkVersion - DEPRECATED_MSG_ATTRIBUTE("`Settings.sdkVersion` is deprecated and will be removed in the next major release, please use `Settings.shared.sdkVersion` instead"); - -/** - Retrieve the current default Graph API version. - */ -@property (class, nonatomic, readonly, copy) NSString *defaultGraphAPIVersion - DEPRECATED_MSG_ATTRIBUTE("`Settings.defaultGraphAPIVersion` is deprecated and will be removed in the next major release, please use `Settings.shared.defaultGraphAPIVersion` instead"); - -/** - Retrieve the current default Graph API version. - */ -@property (nonatomic, readonly, copy) NSString *defaultGraphAPIVersion; - -/** - The quality of JPEG images sent to Facebook from the SDK, - expressed as a value from 0.0 to 1.0. - - 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) */ -@property (class, nonatomic) CGFloat JPEGCompressionQuality -NS_SWIFT_NAME(jpegCompressionQuality) -DEPRECATED_MSG_ATTRIBUTE("`Settings.JPEGCompressionQuality` is deprecated and will be removed in the next major release, please use `Settings.shared.JPEGCompressionQuality` instead"); - -/** - The quality of JPEG images sent to Facebook from the SDK, - expressed as a value from 0.0 to 1.0. - - 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) */ -@property (nonatomic) CGFloat JPEGCompressionQuality -NS_SWIFT_NAME(jpegCompressionQuality); - -/** - Controls the auto logging of basic app events, such as activateApp and deactivateApp. - If not explicitly set, the default is true - */ -@property (class, nonatomic, getter = isAutoLogAppEventsEnabled) BOOL autoLogAppEventsEnabled - DEPRECATED_MSG_ATTRIBUTE("`Settings.isAutoLogAppEventsEnabled` is deprecated and will be removed in the next major release, please use `Settings.shared.isAutoLogAppEventsEnabled` instead"); - -/** - Controls the auto logging of basic app events, such as activateApp and deactivateApp. - If not explicitly set, the default is true - */ -@property (nonatomic, getter = isAutoLogAppEventsEnabled) BOOL autoLogAppEventsEnabled; - -/** - Controls the fb_codeless_debug logging event - If not explicitly set, the default is true - */ -@property (class, nonatomic, getter = isCodelessDebugLogEnabled) BOOL codelessDebugLogEnabled - DEPRECATED_MSG_ATTRIBUTE("`Settings.isCodelessDebugLogEnabled` is deprecated and will be removed in the next major release, please use `Settings.shared.isCodelessDebugLogEnabled` instead"); - -/** - Controls the fb_codeless_debug logging event - If not explicitly set, the default is true - */ -@property (nonatomic, getter = isCodelessDebugLogEnabled) BOOL codelessDebugLogEnabled; - -/** - Controls the access to IDFA - If not explicitly set, the default is true - */ -@property (class, nonatomic, getter = isAdvertiserIDCollectionEnabled) BOOL advertiserIDCollectionEnabled - DEPRECATED_MSG_ATTRIBUTE("`Settings.isAdvertiserIDCollectionEnabled` is deprecated and will be removed in the next major release, please use `Settings.shared.isAdvertiserIDCollectionEnabled` instead"); - -/** - Controls the access to IDFA - If not explicitly set, the default is true - */ -@property (nonatomic, getter = isAdvertiserIDCollectionEnabled) BOOL advertiserIDCollectionEnabled; - -/** - Controls the SKAdNetwork report - If not explicitly set, the default is true - */ -@property (class, nonatomic, getter = isSKAdNetworkReportEnabled) BOOL SKAdNetworkReportEnabled - DEPRECATED_MSG_ATTRIBUTE("`Settings.isSKAdNetworkReportEnabled` is deprecated and will be removed in the next major release, please use `Settings.shared.isSKAdNetworkReportEnabled` instead"); - -/** - Controls the SKAdNetwork report - If not explicitly set, the default is true - */ -@property (nonatomic, getter = isSKAdNetworkReportEnabled) BOOL skAdNetworkReportEnabled; - -/** - 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. - */ -@property (class, nonatomic, getter = shouldLimitEventAndDataUsage) BOOL limitEventAndDataUsage - DEPRECATED_MSG_ATTRIBUTE("`Settings.shouldLimitEventAndDataUsage` is deprecated and will be removed in the next major release, please use `Settings.shared.isEventDataUsageLimited` instead"); - -/** - 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. - */ -@property (nonatomic) BOOL isEventDataUsageLimited; - -/** - Whether in memory cached values should be used for expensive metadata fields, such as - carrier and advertiser ID, that are fetched on many applicationDidBecomeActive notifications. - Defaults to NO. This value is stored on the device and persists across app launches. - */ -@property (class, nonatomic, getter = shouldUseCachedValuesForExpensiveMetadata) BOOL shouldUseCachedValuesForExpensiveMetadata - DEPRECATED_MSG_ATTRIBUTE("`Settings.shouldUseCachedValuesForExpensiveMetadata` is deprecated and will be removed in the next major release, please use `Settings.shared.shouldUseCachedValuesForExpensiveMetadata` instead"); - -/** - Whether in memory cached values should be used for expensive metadata fields, such as - carrier and advertiser ID, that are fetched on many applicationDidBecomeActive notifications. - Defaults to NO. This value is stored on the device and persists across app launches. - */ -@property (nonatomic) BOOL shouldUseCachedValuesForExpensiveMetadata; - -/** - A convenient way to toggle error recovery for all FBSDKGraphRequest instances created after this is set. - */ -@property (class, nonatomic, getter = isGraphErrorRecoveryEnabled) BOOL graphErrorRecoveryEnabled - DEPRECATED_MSG_ATTRIBUTE("`Settings.isGraphErrorRecoveryEnabled` is deprecated and will be removed in the next major release, please use `Settings.shared.isGraphErrorRecoveryEnabled` instead"); - -/** - A convenient way to toggle error recovery for all FBSDKGraphRequest instances created after this is set. - */ -@property (nonatomic) BOOL isGraphErrorRecoveryEnabled; - -/** - The Facebook App ID used by the SDK. - - If not explicitly set, the default will be read from the application's plist (FacebookAppID). - */ -@property (nullable, nonatomic, copy) NSString *appID; - -/** - The Facebook App ID used by the SDK. - - If not explicitly set, the default will be read from the application's plist (FacebookAppID). - */ -@property (class, nullable, nonatomic, copy) NSString *appID - DEPRECATED_MSG_ATTRIBUTE("`Settings.appID` is deprecated and will be removed in the next major release, please use `Settings.shared.appID` instead"); - -/** - The default url scheme suffix used for sessions. - - If not explicitly set, the default will be read from the application's plist (FacebookUrlSchemeSuffix). - */ -@property (class, nullable, nonatomic, copy) NSString *appURLSchemeSuffix - DEPRECATED_MSG_ATTRIBUTE("`Settings.appURLSchemeSuffix` is deprecated and will be removed in the next major release, please use `Settings.shared.appURLSchemeSuffix` instead"); - -/** - The default url scheme suffix used for sessions. - - If not explicitly set, the default will be read from the application's plist (FacebookUrlSchemeSuffix). - */ -@property (nullable, nonatomic, copy) NSString *appURLSchemeSuffix; - -/** - The Client Token that has been set via [[FBSDKSettings sharedSettings] setClientToken]. - This is needed for certain API calls when made anonymously, without a user-based access token. - - 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 - - If not explicitly set, the default will be read from the application's plist (FacebookClientToken). - */ -@property (nullable, nonatomic, copy) NSString *clientToken; - -/** - The Client Token that has been set via [[FBSDKSettings sharedSettings] setClientToken]. - This is needed for certain API calls when made anonymously, without a user-based access token. - - 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 - - If not explicitly set, the default will be read from the application's plist (FacebookClientToken). - */ -@property (class, nullable, nonatomic, copy) NSString *clientToken - DEPRECATED_MSG_ATTRIBUTE("`Settings.clientToken` is deprecated and will be removed in the next major release, please use `Settings.shared.clientToken` instead"); - -/** - The Facebook Display Name used by the SDK. - - This should match the Display Name that has been set for the app with the corresponding Facebook App ID, - in the Facebook App Dashboard. - - If not explicitly set, the default will be read from the application's plist (FacebookDisplayName). - */ -@property (class, nullable, nonatomic, copy) NSString *displayName - DEPRECATED_MSG_ATTRIBUTE("`Settings.displayName` is deprecated and will be removed in the next major release, please use `Settings.shared.displayName` instead"); - -/** - The Facebook Display Name used by the SDK. - - This should match the Display Name that has been set for the app with the corresponding Facebook App ID, - in the Facebook App Dashboard. - - If not explicitly set, the default will be read from the application's plist (FacebookDisplayName). - */ -@property (nullable, nonatomic, copy) NSString *displayName; - -/** - The Facebook domain part. This can be used to change the Facebook domain - (e.g. @"beta") so that requests will be sent to `graph.beta.facebook.com` - - If not explicitly set, the default will be read from the application's plist (FacebookDomainPart). - */ -@property (class, nullable, nonatomic, copy) NSString *facebookDomainPart - DEPRECATED_MSG_ATTRIBUTE("`Settings.facebookDomainPart` is deprecated and will be removed in the next major release, please use `Settings.shared.facebookDomainPart` instead"); - -/** - The Facebook domain part. This can be used to change the Facebook domain - (e.g. @"beta") so that requests will be sent to `graph.beta.facebook.com` - - If not explicitly set, the default will be read from the application's plist (FacebookDomainPart). - */ -@property (nullable, nonatomic, copy) NSString *facebookDomainPart; - -/** - The current Facebook SDK logging behavior. This should consist of strings - defined as constants with FBSDKLoggingBehavior*. - - This should consist a set of strings indicating what information should be logged - defined as constants with FBSDKLoggingBehavior*. Set to an empty set in order to disable all logging. - - You can also define this via an array in your app plist with key "FacebookLoggingBehavior" or add and remove individual values via enableLoggingBehavior: or disableLoggingBehavior: - - The default is a set consisting of FBSDKLoggingBehaviorDeveloperErrors - */ -@property (class, nonatomic, copy) NSSet *loggingBehaviors - DEPRECATED_MSG_ATTRIBUTE("`Settings.loggingBehaviors` is deprecated and will be removed in the next major release, please use `Settings.shared.loggingBehaviors` instead"); - -/** - The current Facebook SDK logging behavior. This should consist of strings - defined as constants with FBSDKLoggingBehavior*. - - This should consist a set of strings indicating what information should be logged - defined as constants with FBSDKLoggingBehavior*. Set to an empty set in order to disable all logging. - - You can also define this via an array in your app plist with key "FacebookLoggingBehavior" or add and remove individual values via enableLoggingBehavior: or disableLoggingBehavior: - - The default is a set consisting of FBSDKLoggingBehaviorDeveloperErrors - */ -@property (nonatomic, copy) NSSet *loggingBehaviors; - -/** - Overrides the default Graph API version to use with `FBSDKGraphRequests`. - - The string should be of the form `@"v2.7"`. - - Defaults to `defaultGraphAPIVersion`. -*/ -@property (class, null_resettable, nonatomic, copy) NSString *graphAPIVersion - DEPRECATED_MSG_ATTRIBUTE("`Settings.graphAPIVersion` is deprecated and will be removed in the next major release, please use the `Settings.shared.graphAPIVersion` property instead"); - -/** - Overrides the default Graph API version to use with `FBSDKGraphRequests`. - - The string should be of the form `@"v2.7"`. - - Defaults to `defaultGraphAPIVersion`. -*/ -@property (nonatomic, copy) NSString *graphAPIVersion; - -/** - Internal property exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -@property (nullable, nonatomic, copy) NSString *userAgentSuffix; - -/** - The value of the flag advertiser_tracking_enabled that controls the advertiser tracking status of the data sent to Facebook - If not explicitly set in iOS14 or above, the default is false in iOS14 or above. - */ -@property (nonatomic, getter = isAdvertiserTrackingEnabled) BOOL advertiserTrackingEnabled; - -/** - The value of the flag advertiser_tracking_enabled that controls the advertiser tracking status of the data sent to Facebook - If not explicitly set in iOS14 or above, the default is false in iOS14 or above. - */ -+ (BOOL)isAdvertiserTrackingEnabled - DEPRECATED_MSG_ATTRIBUTE("`Settings.isAdvertiserTrackingEnabled()` is deprecated and will be removed in the next major release, please use the `Settings.shared.isAdvertiserTrackingEnabled` property instead"); - -/** -Set the advertiser_tracking_enabled flag. It only works in iOS14 and above. - -@param advertiserTrackingEnabled the value of the flag -@return Whether the the value is set successfully. It will always return NO in iOS 13 and below. - */ -+ (BOOL)setAdvertiserTrackingEnabled:(BOOL)advertiserTrackingEnabled - DEPRECATED_MSG_ATTRIBUTE("`Settings.setAdvertiserTrackingEnabled(_:)` is deprecated and will be removed in the next major release, please use the `Settings.shared.isAdvertiserTrackingEnabled` property to set a value instead"); - -/** -Set the data processing options. - -@param options list of options -*/ -+ (void)setDataProcessingOptions:(nullable NSArray *)options - DEPRECATED_MSG_ATTRIBUTE("`Settings.setDataProcessingOptions(_:)` is deprecated and will be removed in the next major release, please use the `Settings.shared.setDataProcessingOptions(_:)` method to set the data processing options instead"); - -/** -Set the data processing options. - -@param options list of options -*/ -- (void)setDataProcessingOptions:(nullable NSArray *)options; - -/** -Set the data processing options. - -@param options list of the options -@param country code of the country -@param state code of the state -*/ -+ (void)setDataProcessingOptions:(nullable NSArray *)options - country:(int)country - state:(int)state - DEPRECATED_MSG_ATTRIBUTE("`Settings.setDataProcessingOptions(_:_:_:)` is deprecated and will be removed in the next major release, please use the `Settings.shared.setDataProcessingOptions(_:_:_:)` method to set the data processing options instead"); - -/** -Set the data processing options. - -@param options list of the options -@param country code of the country -@param state code of the state -*/ -- (void)setDataProcessingOptions:(nullable NSArray *)options - country:(int)country - state:(int)state; - -/** - Enable a particular Facebook SDK logging behavior. - - @param loggingBehavior The LoggingBehavior to enable. This should be a string defined as a constant with FBSDKLoggingBehavior*. - */ -+ (void)enableLoggingBehavior:(FBSDKLoggingBehavior)loggingBehavior - DEPRECATED_MSG_ATTRIBUTE("`Settings.enableLoggingBehavior()` is deprecated and will be removed in the next major release, please use `Settings.shared.enableLoggingBehavior()` instead"); - -/** - 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:(FBSDKLoggingBehavior)loggingBehavior; - -/** - 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:(FBSDKLoggingBehavior)loggingBehavior - DEPRECATED_MSG_ATTRIBUTE("`Settings.disableLoggingBehavior()` is deprecated and will be removed in the next major release, please use `Settings.shared.disableLoggingBehavior()` instead"); - -/** - 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:(FBSDKLoggingBehavior)loggingBehavior; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKSettingsLogging.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKSettingsLogging.h deleted file mode 100644 index 848183e..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKSettingsLogging.h +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(SettingsLogging) -@protocol FBSDKSettingsLogging - -- (void)logWarnings; -- (void)logIfSDKSettingsChanged; -- (void)recordInstall; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKSettingsProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKSettingsProtocol.h deleted file mode 100644 index 1bdc698..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKSettingsProtocol.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(SettingsProtocol) -@protocol FBSDKSettings - -@property (nullable, nonatomic, copy) NSString *appID; -@property (nullable, nonatomic, copy) NSString *clientToken; -@property (nullable, nonatomic, copy) NSString *userAgentSuffix; -@property (nonatomic, readonly, copy) NSString *sdkVersion; -@property (nullable, nonatomic, copy) NSString *displayName; -@property (nullable, nonatomic, copy) NSString *facebookDomainPart; -@property (nonnull, nonatomic, copy) NSSet *loggingBehaviors; -@property (class, nonnull, nonatomic, copy) NSSet *loggingBehaviors - DEPRECATED_MSG_ATTRIBUTE("property class `loggingBehaviors` is deprecated and will be removed in the next major release, please use property instance`loggingBehaviors` instead"); -@property (nullable, nonatomic, copy) NSString *appURLSchemeSuffix; -@property (nonatomic, readonly) BOOL isDataProcessingRestricted; -@property (nonatomic, readonly) BOOL isAutoLogAppEventsEnabled; -@property (nonatomic, getter = isCodelessDebugLogEnabled) BOOL codelessDebugLogEnabled; -@property (nonatomic, getter = isAdvertiserIDCollectionEnabled) BOOL advertiserIDCollectionEnabled; -@property (nonatomic, readonly) BOOL isSetATETimeExceedsInstallTime; -@property (nonatomic, readonly) BOOL isSKAdNetworkReportEnabled; -@property (nonatomic, readonly) FBSDKAdvertisingTrackingStatus advertisingTrackingStatus; -@property (nullable, nonatomic, readonly) NSDate *installTimestamp; -@property (nullable, nonatomic, readonly) NSDate *advertiserTrackingEnabledTimestamp; -@property (nonatomic) BOOL isEventDataUsageLimited; -@property (nonatomic) BOOL shouldUseTokenOptimizations; -@property (nonatomic, copy) NSString *graphAPIVersion; -@property (nonatomic) BOOL isGraphErrorRecoveryEnabled; -@property (nullable, nonatomic, readonly, copy) NSString *graphAPIDebugParamValue; -@property (nonatomic, getter = isAdvertiserTrackingEnabled) BOOL advertiserTrackingEnabled; -@property (nonatomic) BOOL shouldUseCachedValuesForExpensiveMetadata; -@end -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKShareDialogConfiguration.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKShareDialogConfiguration.h deleted file mode 100644 index 3ffbc93..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKShareDialogConfiguration.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -/// Constant used to describe the 'Message' dialog -FOUNDATION_EXPORT NSString *const FBSDKDialogConfigurationNameMessage; -/// Constant used to describe the 'Share' dialog -FOUNDATION_EXPORT NSString *const FBSDKDialogConfigurationNameShare; - -/** - A lightweight interface to expose aspects of FBSDKServerConfiguration that are used by dialogs in ShareKit. - - Internal Use Only - */ -NS_SWIFT_NAME(ShareDialogConfiguration) -@interface FBSDKShareDialogConfiguration : NSObject - -@property (nonatomic, readonly, copy) NSString *defaultShareMode; - -- (BOOL)shouldUseNativeDialogForDialogName:(NSString *)dialogName; -- (BOOL)shouldUseSafariViewControllerForDialogName:(NSString *)dialogName; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKTokenCaching.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKTokenCaching.h deleted file mode 100644 index e3e4e33..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKTokenCaching.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -@class FBSDKAccessToken; -@class FBSDKAuthenticationToken; - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(TokenCaching) -@protocol FBSDKTokenCaching - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -@property (nullable, nonatomic, copy) FBSDKAccessToken *accessToken; - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -@property (nullable, nonatomic, copy) FBSDKAuthenticationToken *authenticationToken; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKTokenStringProviding.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKTokenStringProviding.h deleted file mode 100644 index 3218f4e..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKTokenStringProviding.h +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(TokenStringProviding) -@protocol FBSDKTokenStringProviding - -/** - Return the token string of the current access token. - - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE -*/ - -@property (class, nullable, nonatomic, readonly, copy) NSString *tokenString; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKTransformer.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKTransformer.h deleted file mode 100644 index f7a426c..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKTransformer.h +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -extern CATransform3D const FBSDKCATransform3DIdentity; - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -@interface FBSDKTransformer : NSObject -- (CATransform3D)CATransform3DMakeScale:(CGFloat)sx sy:(CGFloat)sy sz:(CGFloat)sz; -- (CATransform3D)CATransform3DMakeTranslation:(CGFloat)tx ty:(CGFloat)ty tz:(CGFloat)tz; -- (CATransform3D)CATransform3DConcat:(CATransform3D)a b:(CATransform3D)b; -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKURL.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKURL.h deleted file mode 100644 index 0833daa..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKURL.h +++ /dev/null @@ -1,98 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -NS_ASSUME_NONNULL_BEGIN - -@protocol FBSDKAppLink; - -/** - Provides a set of utilities for working with NSURLs, such as parsing of query parameters - and handling for App Link requests. - */ -NS_SWIFT_NAME(AppLinkURL) -@interface FBSDKURL : NSObject - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/** - Creates a link target from a raw URL. - On success, this posts the FBSDKAppLinkParseEventName measurement event. If you are constructing the FBSDKURL within your application delegate's - application:openURL:sourceApplication:annotation:, you should instead use URLWithInboundURL:sourceApplication: - to support better FBSDKMeasurementEvent notifications - @param url The instance of `NSURL` to create FBSDKURL from. - */ - -// UNCRUSTIFY_FORMAT_OFF -+ (instancetype)URLWithURL:(NSURL *)url -NS_SWIFT_NAME(init(url:)); -// UNCRUSTIFY_FORMAT_ON - -/** - Creates a link target from a raw URL received from an external application. This is typically called from the app delegate's - application:openURL:sourceApplication:annotation: and will post the FBSDKAppLinkNavigateInEventName measurement event. - @param url The instance of `NSURL` to create FBSDKURL from. - @param sourceApplication the bundle ID of the app that is requesting your app to open the URL. The same sourceApplication in application:openURL:sourceApplication:annotation: - */ - -// UNCRUSTIFY_FORMAT_OFF -+ (instancetype)URLWithInboundURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication -NS_SWIFT_NAME(init(inboundURL:sourceApplication:)); -// UNCRUSTIFY_FORMAT_ON - -/** - Gets the target URL. If the link is an App Link, this is the target of the App Link. - Otherwise, it is the url that created the target. - */ -@property (nonatomic, readonly, strong) NSURL *targetURL; - -/** - Gets the query parameters for the target, parsed into an NSDictionary. - */ -@property (nonatomic, readonly, strong) NSDictionary *targetQueryParameters; - -/** - If this link target is an App Link, this is the data found in al_applink_data. - Otherwise, it is nil. - */ -@property (nullable, nonatomic, readonly, strong) NSDictionary *appLinkData; - -/** - If this link target is an App Link, this is the data found in extras. - */ -@property (nullable, nonatomic, readonly, strong) NSDictionary *appLinkExtras; - -/** - The App Link indicating how to navigate back to the referer app, if any. - */ -@property (nullable, nonatomic, readonly, strong) id appLinkReferer; - -/** - The URL that was used to create this FBSDKURL. - */ -@property (nonatomic, readonly, strong) NSURL *inputURL; - -/** - The query parameters of the inputURL, parsed into an NSDictionary. - */ -@property (nonatomic, readonly, strong) NSDictionary *inputQueryParameters; - -/** - The flag indicating whether the URL comes from auto app link -*/ -@property (nonatomic, readonly, getter = isAutoAppLink) BOOL isAutoAppLink; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKURLHosting.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKURLHosting.h deleted file mode 100644 index 9dffdfe..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKURLHosting.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(URLHosting) -@protocol FBSDKURLHosting - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -- (NSURL *)appURLWithHost:(NSString *)host - path:(NSString *)path - queryParameters:(NSDictionary *)queryParameters - error:(NSError *__autoreleasing *)errorRef; - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -- (NSURL *)facebookURLWithHostPrefix:(NSString *)hostPrefix - path:(NSString *)path - queryParameters:(NSDictionary *)queryParameters - error:(NSError *__autoreleasing *)errorRef; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKURLOpener.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKURLOpener.h deleted file mode 100644 index 3b40776..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKURLOpener.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -NS_ASSUME_NONNULL_BEGIN - -@protocol FBSDKURLOpening; - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(URLOpener) -@protocol FBSDKURLOpener - -- (void)openURL:(NSURL *)url - sender:(nullable id)sender - handler:(FBSDKSuccessBlock)handler; - -// UNCRUSTIFY_FORMAT_OFF -- (void)openURLWithSafariViewController:(NSURL *)url - sender:(id)sender - fromViewController:(UIViewController *)fromViewController - handler:(FBSDKSuccessBlock)handler -NS_SWIFT_NAME(openURLWithSafariViewController(url:sender:from:handler:)); -// UNCRUSTIFY_FORMAT_ON - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKURLOpening.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKURLOpening.h deleted file mode 100644 index f026bc8..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKURLOpening.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(URLOpening) -@protocol FBSDKURLOpening - -// Implementations should make sure they can handle nil parameters -// which is possible in SafariViewController. -// see canOpenURL below. -- (BOOL)application:(nullable UIApplication *)application - openURL:(nullable NSURL *)url - sourceApplication:(nullable NSString *)sourceApplication - annotation:(nullable id)annotation; - -// create a different handler to return YES/NO if the receiver can process the above openURL:. -// This is separated so that we can process the openURL: in callbacks, while still returning -// the result of canOpenURL synchronously in FBSDKApplicationDelegate -- (BOOL) canOpenURL:(NSURL *)url - forApplication:(nullable UIApplication *)application - sourceApplication:(nullable NSString *)sourceApplication - annotation:(nullable id)annotation; - -- (void)applicationDidBecomeActive:(UIApplication *)application; - -- (BOOL)isAuthenticationURL:(NSURL *)url; - -@optional -- (BOOL)shouldStopPropagationOfURL:(NSURL *)url; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKURLScheme.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKURLScheme.h deleted file mode 100644 index 288f68d..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKURLScheme.h +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -typedef NSString *FBSDKURLScheme NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(URLScheme); - -FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeFacebookApp - DEPRECATED_MSG_ATTRIBUTE("`URLScheme.facebookApp` is deprecated and will be removed in the next major release; please use `URLScheme.facebookAPI` instead"); - -FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeFacebookAPI; - -FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeFacebookShareExtension - DEPRECATED_MSG_ATTRIBUTE("`URLScheme.facebookShareExtension` is deprecated and will be removed in the next major release; please use `URLScheme.facebookAPI` instead"); - -FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeMessengerApp; - -FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeMasqueradePlayer - DEPRECATED_MSG_ATTRIBUTE("`URLScheme.masqueradePlayer` is deprecated and will be removed in the next major release"); - -FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeHTTPS NS_SWIFT_NAME(https); - -FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeHTTP NS_SWIFT_NAME(http); - -FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeWeb; diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKUserAgeRange.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKUserAgeRange.h deleted file mode 100644 index 82a2d89..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKUserAgeRange.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(UserAgeRange) -@interface FBSDKUserAgeRange : NSObject - -/** - The user's minimun age, nil if unspecified - */ -@property (nullable, nonatomic, readonly, strong) NSNumber *min; -/** - The user's maximun age, nil if unspecified - */ -@property (nullable, nonatomic, readonly, strong) NSNumber *max; - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/** - Returns a UserAgeRange object from a dinctionary containing valid user age range. - @param dictionary The dictionary containing raw user age range - - Valid user age range will consist of "min" and/or "max" values that are - positive integers, where "min" is smaller than or equal to "max". - */ -+ (nullable instancetype)ageRangeFromDictionary:(NSDictionary *)dictionary; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKUtility.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKUtility.h deleted file mode 100644 index 1d9edc0..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKUtility.h +++ /dev/null @@ -1,112 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Class to contain common utility methods. - */ -NS_SWIFT_NAME(Utility) -@interface FBSDKUtility : NSObject - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/** - Parses a query string into a dictionary. - @param queryString The query string value. - @return A dictionary with the key/value pairs. - */ - -// UNCRUSTIFY_FORMAT_OFF -+ (NSDictionary *)dictionaryWithQueryString:(NSString *)queryString -NS_SWIFT_NAME(dictionary(withQuery:)); -// UNCRUSTIFY_FORMAT_ON - -/** - 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. - @return Query string representation of the parameters. - */ - -// UNCRUSTIFY_FORMAT_OFF -+ (NSString *)queryStringWithDictionary:(NSDictionary *)dictionary - error:(NSError **)errorRef -NS_SWIFT_NAME(query(from:)) -__attribute__((swift_error(nonnull_error))); -// UNCRUSTIFY_FORMAT_ON - -/** - Decodes a value from an URL. - @param value The value to decode. - @return The decoded value. - */ - -// UNCRUSTIFY_FORMAT_OFF -+ (NSString *)URLDecode:(NSString *)value -NS_SWIFT_NAME(decode(urlString:)); -// UNCRUSTIFY_FORMAT_ON - -/** - Encodes a value for an URL. - @param value The value to encode. - @return The encoded value. - */ - -// UNCRUSTIFY_FORMAT_OFF -+ (NSString *)URLEncode:(NSString *)value -NS_SWIFT_NAME(encode(urlString:)); -// UNCRUSTIFY_FORMAT_ON - -/** - Creates a timer using Grand Central Dispatch. - @param interval The interval to fire the timer, in seconds. - @param block The code block to execute when timer is fired. - @return The dispatch handle. - */ -+ (dispatch_source_t)startGCDTimerWithInterval:(double)interval block:(dispatch_block_t)block; - -/** - Stop a timer that was started by startGCDTimerWithInterval. - @param timer The dispatch handle received from startGCDTimerWithInterval. - */ -+ (void)stopGCDTimer:(dispatch_source_t)timer; - -/** - Get SHA256 hased string of NSString/NSData - - @param input The data that needs to be hashed, it could be NSString or NSData. - */ - -// UNCRUSTIFY_FORMAT_OFF -+ (nullable NSString *)SHA256Hash:(NSObject *)input -NS_SWIFT_NAME(sha256Hash(_:)); -// UNCRUSTIFY_FORMAT_ON - -/** - Returns the graphdomain stored in FBSDKAuthenticationToken - */ -+ (NSString *)getGraphDomainFromToken; - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -+ (NSURL *)unversionedFacebookURLWithHostPrefix:(NSString *)hostPrefix - path:(NSString *)path - queryParameters:(NSDictionary *)queryParameters - error:(NSError *__autoreleasing *)errorRef; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKWebDialog.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKWebDialog.h deleted file mode 100644 index bc17a2a..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKWebDialog.h +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import -#import -#import - -#import - -@protocol FBSDKWindowFinding; - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(WebDialog) -@interface FBSDKWebDialog : NSObject - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -@property (nonatomic) BOOL shouldDeferVisibility; - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -@property (nullable, nonatomic, strong) id windowFinder; - -+ (instancetype)new NS_UNAVAILABLE; -- (instancetype)init NS_UNAVAILABLE; - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -+ (instancetype)dialogWithName:(NSString *)name - delegate:(id)delegate; - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -// UNCRUSTIFY_FORMAT_OFF -+ (instancetype)createAndShowWithName:(NSString *)name - parameters:(nullable NSDictionary *)parameters - frame:(CGRect)frame - delegate:(id)delegate - windowFinder:(nullable id)windowFinder -NS_SWIFT_NAME(createAndShow(name:parameters:frame:delegate:windowFinder:)); -// UNCRUSTIFY_FORMAT_ON - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKWebDialogDelegate.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKWebDialogDelegate.h deleted file mode 100644 index 354fbfb..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKWebDialogDelegate.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -#import - -@class FBSDKWebDialog; - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(WebDialogDelegate) -@protocol FBSDKWebDialogDelegate - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -- (void)webDialog:(FBSDKWebDialog *)webDialog didCompleteWithResults:(NSDictionary *)results; - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -- (void)webDialog:(FBSDKWebDialog *)webDialog didFailWithError:(NSError *)error; - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -- (void)webDialogDidCancel:(FBSDKWebDialog *)webDialog; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKWebDialogView.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKWebDialogView.h deleted file mode 100644 index 324e46a..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKWebDialogView.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -@protocol FBSDKWebDialogViewDelegate; -@protocol FBSDKWebViewProviding; -@protocol FBSDKInternalURLOpener; - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(FBWebDialogView) -@interface FBSDKWebDialogView : UIView - -@property (nonatomic, weak) id delegate; - -+ (void)configureWithWebViewProvider:(id)provider - urlOpener:(id)urlOpener; - -- (void)loadURL:(NSURL *)URL; -- (void)stopLoading; - -@end - -NS_SWIFT_NAME(WebDialogViewDelegate) -@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 - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKWebViewAppLinkResolver.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKWebViewAppLinkResolver.h deleted file mode 100644 index b6bb336..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKWebViewAppLinkResolver.h +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - A reference implementation for an App Link resolver that uses a hidden WKWebView - to parse the HTML containing App Link metadata. - */ -NS_SWIFT_NAME(WebViewAppLinkResolver) -@interface FBSDKWebViewAppLinkResolver : NSObject - -/** - Gets the instance of a FBSDKWebViewAppLinkResolver. - */ -@property (class, nonatomic, readonly, strong) FBSDKWebViewAppLinkResolver *sharedInstance -NS_SWIFT_NAME(shared); - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKWindowFinding.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKWindowFinding.h deleted file mode 100644 index 66dc83c..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/FBSDKWindowFinding.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(WindowFinding) -@protocol FBSDKWindowFinding - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -- (nullable UIWindow *)findWindow; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/__FBSDKLoggerCreating.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/__FBSDKLoggerCreating.h deleted file mode 100644 index 5ef67ed..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Headers/__FBSDKLoggerCreating.h +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(LoggerCreating) -@protocol __FBSDKLoggerCreating - -- (id)createLoggerWithLoggingBehavior:(FBSDKLoggingBehavior)loggingBehavior; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Info.plist b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Info.plist deleted file mode 100644 index b55cbd4..0000000 Binary files a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Info.plist and /dev/null differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm.swiftdoc deleted file mode 100644 index 0d6b31a..0000000 Binary files a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm.swiftdoc and /dev/null differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm.swiftinterface deleted file mode 100644 index 2a297bb..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm.swiftinterface +++ /dev/null @@ -1,68 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -// swift-module-flags: -target armv7-apple-ios10.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKCoreKit -@_exported import FBSDKCoreKit -import Foundation -import Swift -extension AccessToken { - public var permissions: Swift.Set { - get - } - public var declinedPermissions: Swift.Set { - get - } - public var expiredPermissions: Swift.Set { - get - } - public func hasGranted(_ permission: FBSDKCoreKit.Permission) -> Swift.Bool -} -public enum Permission : Swift.Hashable, Swift.ExpressibleByStringLiteral { - case publicProfile - case userFriends - case email - case userAboutMe - case userActionsBooks - case userActionsFitness - case userActionsMusic - case userActionsNews - case userActionsVideo - case userBirthday - case userEducationHistory - case userEvents - case userGamesActivity - case userGender - case userHometown - case userLikes - case userLocation - case userManagedGroups - case userPhotos - case userPosts - case userRelationships - case userRelationshipDetails - case userReligionPolitics - case userTaggedPlaces - case userVideos - case userWebsite - case userWorkHistory - case readCustomFriendlists - case readInsights - case readAudienceNetworkInsights - case readPageMailboxes - case pagesShowList - case pagesManageCta - case pagesManageInstantArticles - case adsRead - case custom(Swift.String) - public init(stringLiteral value: Swift.String) - public var name: Swift.String { - get - } - public func hash(into hasher: inout Swift.Hasher) - public static func == (a: FBSDKCoreKit.Permission, b: FBSDKCoreKit.Permission) -> Swift.Bool - public typealias ExtendedGraphemeClusterLiteralType = Swift.String - public typealias StringLiteralType = Swift.String - public typealias UnicodeScalarLiteralType = Swift.String - public var hashValue: Swift.Int { - get - } -} diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios.swiftdoc deleted file mode 100644 index 2a49fcc..0000000 Binary files a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios.swiftdoc and /dev/null differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios.swiftinterface deleted file mode 100644 index 426f1b1..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios.swiftinterface +++ /dev/null @@ -1,68 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -// swift-module-flags: -target arm64-apple-ios10.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKCoreKit -@_exported import FBSDKCoreKit -import Foundation -import Swift -extension AccessToken { - public var permissions: Swift.Set { - get - } - public var declinedPermissions: Swift.Set { - get - } - public var expiredPermissions: Swift.Set { - get - } - public func hasGranted(_ permission: FBSDKCoreKit.Permission) -> Swift.Bool -} -public enum Permission : Swift.Hashable, Swift.ExpressibleByStringLiteral { - case publicProfile - case userFriends - case email - case userAboutMe - case userActionsBooks - case userActionsFitness - case userActionsMusic - case userActionsNews - case userActionsVideo - case userBirthday - case userEducationHistory - case userEvents - case userGamesActivity - case userGender - case userHometown - case userLikes - case userLocation - case userManagedGroups - case userPhotos - case userPosts - case userRelationships - case userRelationshipDetails - case userReligionPolitics - case userTaggedPlaces - case userVideos - case userWebsite - case userWorkHistory - case readCustomFriendlists - case readInsights - case readAudienceNetworkInsights - case readPageMailboxes - case pagesShowList - case pagesManageCta - case pagesManageInstantArticles - case adsRead - case custom(Swift.String) - public init(stringLiteral value: Swift.String) - public var name: Swift.String { - get - } - public func hash(into hasher: inout Swift.Hasher) - public static func == (a: FBSDKCoreKit.Permission, b: FBSDKCoreKit.Permission) -> Swift.Bool - public typealias ExtendedGraphemeClusterLiteralType = Swift.String - public typealias StringLiteralType = Swift.String - public typealias UnicodeScalarLiteralType = Swift.String - public var hashValue: Swift.Int { - get - } -} diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftdoc deleted file mode 100644 index 2a49fcc..0000000 Binary files a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftdoc and /dev/null differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftinterface deleted file mode 100644 index 426f1b1..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftinterface +++ /dev/null @@ -1,68 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -// swift-module-flags: -target arm64-apple-ios10.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKCoreKit -@_exported import FBSDKCoreKit -import Foundation -import Swift -extension AccessToken { - public var permissions: Swift.Set { - get - } - public var declinedPermissions: Swift.Set { - get - } - public var expiredPermissions: Swift.Set { - get - } - public func hasGranted(_ permission: FBSDKCoreKit.Permission) -> Swift.Bool -} -public enum Permission : Swift.Hashable, Swift.ExpressibleByStringLiteral { - case publicProfile - case userFriends - case email - case userAboutMe - case userActionsBooks - case userActionsFitness - case userActionsMusic - case userActionsNews - case userActionsVideo - case userBirthday - case userEducationHistory - case userEvents - case userGamesActivity - case userGender - case userHometown - case userLikes - case userLocation - case userManagedGroups - case userPhotos - case userPosts - case userRelationships - case userRelationshipDetails - case userReligionPolitics - case userTaggedPlaces - case userVideos - case userWebsite - case userWorkHistory - case readCustomFriendlists - case readInsights - case readAudienceNetworkInsights - case readPageMailboxes - case pagesShowList - case pagesManageCta - case pagesManageInstantArticles - case adsRead - case custom(Swift.String) - public init(stringLiteral value: Swift.String) - public var name: Swift.String { - get - } - public func hash(into hasher: inout Swift.Hasher) - public static func == (a: FBSDKCoreKit.Permission, b: FBSDKCoreKit.Permission) -> Swift.Bool - public typealias ExtendedGraphemeClusterLiteralType = Swift.String - public typealias StringLiteralType = Swift.String - public typealias UnicodeScalarLiteralType = Swift.String - public var hashValue: Swift.Int { - get - } -} diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/armv7-apple-ios.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/armv7-apple-ios.swiftdoc deleted file mode 100644 index 0d6b31a..0000000 Binary files a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/armv7-apple-ios.swiftdoc and /dev/null differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/armv7-apple-ios.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/armv7-apple-ios.swiftinterface deleted file mode 100644 index 2a297bb..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/armv7-apple-ios.swiftinterface +++ /dev/null @@ -1,68 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -// swift-module-flags: -target armv7-apple-ios10.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKCoreKit -@_exported import FBSDKCoreKit -import Foundation -import Swift -extension AccessToken { - public var permissions: Swift.Set { - get - } - public var declinedPermissions: Swift.Set { - get - } - public var expiredPermissions: Swift.Set { - get - } - public func hasGranted(_ permission: FBSDKCoreKit.Permission) -> Swift.Bool -} -public enum Permission : Swift.Hashable, Swift.ExpressibleByStringLiteral { - case publicProfile - case userFriends - case email - case userAboutMe - case userActionsBooks - case userActionsFitness - case userActionsMusic - case userActionsNews - case userActionsVideo - case userBirthday - case userEducationHistory - case userEvents - case userGamesActivity - case userGender - case userHometown - case userLikes - case userLocation - case userManagedGroups - case userPhotos - case userPosts - case userRelationships - case userRelationshipDetails - case userReligionPolitics - case userTaggedPlaces - case userVideos - case userWebsite - case userWorkHistory - case readCustomFriendlists - case readInsights - case readAudienceNetworkInsights - case readPageMailboxes - case pagesShowList - case pagesManageCta - case pagesManageInstantArticles - case adsRead - case custom(Swift.String) - public init(stringLiteral value: Swift.String) - public var name: Swift.String { - get - } - public func hash(into hasher: inout Swift.Hasher) - public static func == (a: FBSDKCoreKit.Permission, b: FBSDKCoreKit.Permission) -> Swift.Bool - public typealias ExtendedGraphemeClusterLiteralType = Swift.String - public typealias StringLiteralType = Swift.String - public typealias UnicodeScalarLiteralType = Swift.String - public var hashValue: Swift.Int { - get - } -} diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/armv7.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/armv7.swiftdoc deleted file mode 100644 index 0d6b31a..0000000 Binary files a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/armv7.swiftdoc and /dev/null differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/armv7.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/armv7.swiftinterface deleted file mode 100644 index 2a297bb..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/armv7.swiftinterface +++ /dev/null @@ -1,68 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -// swift-module-flags: -target armv7-apple-ios10.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKCoreKit -@_exported import FBSDKCoreKit -import Foundation -import Swift -extension AccessToken { - public var permissions: Swift.Set { - get - } - public var declinedPermissions: Swift.Set { - get - } - public var expiredPermissions: Swift.Set { - get - } - public func hasGranted(_ permission: FBSDKCoreKit.Permission) -> Swift.Bool -} -public enum Permission : Swift.Hashable, Swift.ExpressibleByStringLiteral { - case publicProfile - case userFriends - case email - case userAboutMe - case userActionsBooks - case userActionsFitness - case userActionsMusic - case userActionsNews - case userActionsVideo - case userBirthday - case userEducationHistory - case userEvents - case userGamesActivity - case userGender - case userHometown - case userLikes - case userLocation - case userManagedGroups - case userPhotos - case userPosts - case userRelationships - case userRelationshipDetails - case userReligionPolitics - case userTaggedPlaces - case userVideos - case userWebsite - case userWorkHistory - case readCustomFriendlists - case readInsights - case readAudienceNetworkInsights - case readPageMailboxes - case pagesShowList - case pagesManageCta - case pagesManageInstantArticles - case adsRead - case custom(Swift.String) - public init(stringLiteral value: Swift.String) - public var name: Swift.String { - get - } - public func hash(into hasher: inout Swift.Hasher) - public static func == (a: FBSDKCoreKit.Permission, b: FBSDKCoreKit.Permission) -> Swift.Bool - public typealias ExtendedGraphemeClusterLiteralType = Swift.String - public typealias StringLiteralType = Swift.String - public typealias UnicodeScalarLiteralType = Swift.String - public var hashValue: Swift.Int { - get - } -} diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/Info.plist b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/Info.plist new file mode 100644 index 0000000..1fd83ea --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/Info.plist @@ -0,0 +1,82 @@ + + + + + AvailableLibraries + + + LibraryIdentifier + tvos-arm64_x86_64-simulator + LibraryPath + FBSDKCoreKit.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + tvos + SupportedPlatformVariant + simulator + + + LibraryIdentifier + ios-arm64_x86_64-simulator + LibraryPath + FBSDKCoreKit.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + LibraryIdentifier + ios-arm64 + LibraryPath + FBSDKCoreKit.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + + + LibraryIdentifier + ios-arm64_x86_64-maccatalyst + LibraryPath + FBSDKCoreKit.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + maccatalyst + + + LibraryIdentifier + tvos-arm64 + LibraryPath + FBSDKCoreKit.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + tvos + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/LICENSE b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/LICENSE new file mode 100644 index 0000000..2eecb62 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/LICENSE @@ -0,0 +1,17 @@ +Copyright (c) Meta Platforms, Inc. and affiliates. 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 Platform Policy +[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. diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/FBSDKCoreKit b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/FBSDKCoreKit new file mode 100644 index 0000000..bd1a571 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/FBSDKCoreKit differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h new file mode 100644 index 0000000..87494ec --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h @@ -0,0 +1,188 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Notification indicating that the `currentAccessToken` has changed. + + the userInfo dictionary of the notification will contain keys + `FBSDKAccessTokenChangeOldKey` and + `FBSDKAccessTokenChangeNewKey`. + */ +FOUNDATION_EXPORT NSNotificationName const FBSDKAccessTokenDidChangeNotification +NS_SWIFT_NAME(AccessTokenDidChange); + +/** + 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. + + 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). + */ +FOUNDATION_EXPORT NSString *const FBSDKAccessTokenDidChangeUserIDKey +NS_SWIFT_NAME(AccessTokenDidChangeUserIDKey); + +/* + key in notification's userInfo object for getting the old token. + + If there was no old token, the key will not be present. + */ +FOUNDATION_EXPORT NSString *const FBSDKAccessTokenChangeOldKey +NS_SWIFT_NAME(AccessTokenChangeOldKey); + +/* + key in notification's userInfo object for getting the new token. + + If there is no new token, the key will not be present. + */ +FOUNDATION_EXPORT NSString *const FBSDKAccessTokenChangeNewKey +NS_SWIFT_NAME(AccessTokenChangeNewKey); + +/* + A key in the notification's userInfo that will be set + if and only if the token has expired. + */ +FOUNDATION_EXPORT NSString *const FBSDKAccessTokenDidExpireKey +NS_SWIFT_NAME(AccessTokenDidExpireKey); + +/// Represents an immutable access token for using Facebook services. +NS_SWIFT_NAME(AccessToken) +@interface FBSDKAccessToken : NSObject + +/** + The "global" access token that represents the currently logged in user. + + The `currentAccessToken` is a convenient representation of the token of the + current user and is used by other SDK components (like `FBSDKLoginManager`). + */ +@property (class, nullable, nonatomic, copy) FBSDKAccessToken *currentAccessToken; + +/// Returns YES if currentAccessToken is not nil AND currentAccessToken is not expired +@property (class, nonatomic, readonly, getter = isCurrentAccessTokenActive, assign) BOOL currentAccessTokenIsActive; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (class, nullable, nonatomic, copy) id tokenCache; + +/// Returns the app ID. +@property (nonatomic, readonly, copy) NSString *appID; + +/// Returns the expiration date for data access +@property (nonatomic, readonly, copy) NSDate *dataAccessExpirationDate; + +/// Returns the known declined permissions. +@property (nonatomic, readonly, copy) NSSet *declinedPermissions + NS_REFINED_FOR_SWIFT; + +/// Returns the known declined permissions. +@property (nonatomic, readonly, copy) NSSet *expiredPermissions + NS_REFINED_FOR_SWIFT; + +/// Returns the expiration date. +@property (nonatomic, readonly, copy) NSDate *expirationDate; + +/// Returns the known granted permissions. +@property (nonatomic, readonly, copy) NSSet *permissions + NS_REFINED_FOR_SWIFT; + +/// Returns the date the token was last refreshed. +@property (nonatomic, readonly, copy) NSDate *refreshDate; + +/// Returns the opaque token string. +@property (nonatomic, readonly, copy) NSString *tokenString; + +/// Returns the user ID. +@property (nonatomic, readonly, copy) NSString *userID; + +/// Returns whether the access token is expired by checking its expirationDate property +@property (nonatomic, readonly, getter = isExpired, assign) BOOL expired; + +/// Returns whether user data access is still active for the given access token +@property (nonatomic, readonly, getter = isDataAccessExpired, assign) BOOL dataAccessExpired; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + Initializes a new instance. + @param tokenString the opaque token string. + @param permissions the granted permissions. Note this is converted to NSSet and is only + an NSArray for the convenience of literal syntax. + @param declinedPermissions the declined permissions. Note this is converted to NSSet and is only + an NSArray for the convenience of literal syntax. + @param expiredPermissions the expired 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). + @param dataAccessExpirationDate the date which data access will expire for the given user + (defaults to distantFuture). + + This initializer should only be used for advanced apps that + manage tokens explicitly. Typical login flows only need to use `FBSDKLoginManager` + along with `+currentAccessToken`. + */ +- (instancetype)initWithTokenString:(NSString *)tokenString + permissions:(NSArray *)permissions + declinedPermissions:(NSArray *)declinedPermissions + expiredPermissions:(NSArray *)expiredPermissions + appID:(NSString *)appID + userID:(NSString *)userID + expirationDate:(nullable NSDate *)expirationDate + refreshDate:(nullable NSDate *)refreshDate + dataAccessExpirationDate:(nullable NSDate *)dataAccessExpirationDate + NS_DESIGNATED_INITIALIZER; + +/** + Convenience getter to determine if a permission has been granted + @param permission The permission to check. + */ +// UNCRUSTIFY_FORMAT_OFF +- (BOOL)hasGranted:(NSString *)permission +NS_SWIFT_NAME(hasGranted(permission:)); +// UNCRUSTIFY_FORMAT_ON + +/** + 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; + +/** + Refresh the current access token's permission state and extend the token's expiration date, + if possible. + @param completion an optional callback handler that can surface any errors related to permission refreshing. + + On a successful refresh, the currentAccessToken will be updated so you typically only need to + observe the `FBSDKAccessTokenDidChangeNotification` notification. + + If a token is already expired, it cannot be refreshed. + */ ++ (void)refreshCurrentAccessTokenWithCompletion:(nullable FBSDKGraphRequestCompletion)completion; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAccessTokenProtocols.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAccessTokenProtocols.h new file mode 100644 index 0000000..5c033ca --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAccessTokenProtocols.h @@ -0,0 +1,43 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@class FBSDKAccessToken; +@protocol FBSDKTokenCaching; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(AccessTokenProviding) +@protocol FBSDKAccessTokenProviding + +@property (class, nullable, nonatomic, readonly, copy) FBSDKAccessToken *currentAccessToken; +@property (class, nullable, nonatomic, copy) id tokenCache; + +@end + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(AccessTokenSetting) +@protocol FBSDKAccessTokenSetting + +@property (class, nullable, nonatomic, copy) FBSDKAccessToken *currentAccessToken; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAdvertisingTrackingStatus.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAdvertisingTrackingStatus.h new file mode 100644 index 0000000..730b90d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAdvertisingTrackingStatus.h @@ -0,0 +1,25 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +typedef NS_ENUM(NSUInteger, FBSDKAdvertisingTrackingStatus) { + FBSDKAdvertisingTrackingAllowed, + FBSDKAdvertisingTrackingDisallowed, + FBSDKAdvertisingTrackingUnspecified, +} NS_SWIFT_NAME(AdvertisingTrackingStatus); + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppAvailabilityChecker.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppAvailabilityChecker.h new file mode 100644 index 0000000..21a1f44 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppAvailabilityChecker.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AppAvailabilityChecker) +@protocol FBSDKAppAvailabilityChecker + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nonatomic, readonly, assign) BOOL isMessengerAppInstalled; +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nonatomic, readonly, assign) BOOL isFacebookAppInstalled; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEventName.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEventName.h new file mode 100644 index 0000000..b55589b --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEventName.h @@ -0,0 +1,92 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/** + @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 `FBSDKAppEventParameterName` constants. + */ + +/// typedef for FBSDKAppEventName +typedef NSString *FBSDKAppEventName NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(AppEvents.Name); + +// MARK: - General Purpose + +/// Log this event when the user clicks an ad. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameAdClick; + +/// Log this event when the user views an ad. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameAdImpression; + +/// Log this event when a user has completed registration with the app. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameCompletedRegistration; + +/// Log this event when the user has completed a tutorial in the app. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameCompletedTutorial; + +/// A telephone/SMS, email, chat or other type of contact between a customer and your business. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameContact; + +/// The customization of products through a configuration tool or other application your business owns. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameCustomizeProduct; + +/// The donation of funds to your organization or cause. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameDonate; + +/// When a person finds one of your locations via web or application, with an intention to visit (example: find product at a local store). +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameFindLocation; + +/// Log this event when the user has rated an item in the app. The valueToSum passed to logEvent should be the numeric rating. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameRated; + +/// The booking of an appointment to visit one of your locations. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameSchedule; + +/// Log this event when a user has performed a search within the app. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameSearched; + +/// The start of a free trial of a product or service you offer (example: trial subscription). +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameStartTrial; + +/// The submission of an application for a product, service or program you offer (example: credit card, educational program or job). +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameSubmitApplication; + +/// The start of a paid subscription for a product or service you offer. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameSubscribe; + +/// Log this event when a user has viewed a form of content in the app. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameViewedContent; + +// MARK: - E-Commerce + +/// Log this event when the user has entered their payment info. +FOUNDATION_EXPORT FBSDKAppEventName 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. +FOUNDATION_EXPORT FBSDKAppEventName 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. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameAddedToWishlist; + +/// Log this event when the user has entered the checkout process. The valueToSum passed to logEvent should be the total price in the cart. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameInitiatedCheckout; + +/// Log this event when the user has completed a transaction. The valueToSum passed to logEvent should be the total price of the transaction. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNamePurchased; + +// MARK: - Gaming + +/// Log this event when the user has achieved a level in the app. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameAchievedLevel; + +/// Log this event when the user has unlocked an achievement in the app. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameUnlockedAchievement; + +/// Log this event when the user has spent app credits. The valueToSum passed to logEvent should be the number of credits spent. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameSpentCredits; diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterName.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterName.h new file mode 100644 index 0000000..ceb5e2d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterName.h @@ -0,0 +1,73 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/** + @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. + */ + +/// typedef for FBSDKAppEventParameterName +typedef NSString *FBSDKAppEventParameterName NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(AppEvents.ParameterName); + +/** + * Parameter key used to specify data for the one or more pieces of content being logged about. + * Data should be a JSON encoded string. + * Example: + * "[{\"id\": \"1234\", \"quantity\": 2, \"item_price\": 5.99}, {\"id\": \"5678\", \"quantity\": 1, \"item_price\": 9.99}]" + */ +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameContent; + +/// Parameter key used to specify an ID for the specific piece of content being logged about. Could be an EAN, article identifier, etc., depending on the nature of the app. +FOUNDATION_EXPORT FBSDKAppEventParameterName 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. +FOUNDATION_EXPORT FBSDKAppEventParameterName 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 . +FOUNDATION_EXPORT FBSDKAppEventParameterName 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. +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameDescription; + +/// Parameter key used to specify the level achieved in a `FBAppEventNameAchieved` event. +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameLevel; + +/// Parameter key used to specify the maximum rating available for the `FBAppEventNameRate` event. E.g., "5" or "10". +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameMaxRatingValue; + +/// Parameter key used to specify how many items are being processed for an `FBAppEventNameInitiatedCheckout` or `FBAppEventNamePurchased` event. +FOUNDATION_EXPORT FBSDKAppEventParameterName 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. +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNamePaymentInfoAvailable; + +/// Parameter key used to specify method user has used to register for the app, e.g., "Facebook", "email", "Twitter", etc +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameRegistrationMethod; + +/// Parameter key used to specify the string provided by the user for a search operation. +FOUNDATION_EXPORT FBSDKAppEventParameterName 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. +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameSuccess; + +/** Parameter key used to specify the type of ad in an FBSDKAppEventNameAdImpression + * or FBSDKAppEventNameAdClick event. + * E.g. "banner", "interstitial", "rewarded_video", "native" */ +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameAdType; + +/** Parameter key used to specify the unique ID for all events within a subscription + * in an FBSDKAppEventNameSubscribe or FBSDKAppEventNameStartTrial event. */ +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameOrderID; + +/// Parameter key used to specify event name. +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameEventName; + +/// Parameter key used to specify event log time. +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameLogTime; diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterProduct.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterProduct.h new file mode 100644 index 0000000..ff0b036 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterProduct.h @@ -0,0 +1,77 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/// @methodgroup Predefined event name parameters for common additional information to accompany events logged through the `logProductItem` method on `FBSDKAppEvents`. + +/// typedef for FBSDKAppEventParameterProduct +typedef NSString *const FBSDKAppEventParameterProduct NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(AppEvents.ParameterProduct); + +/// Parameter key used to specify the product item's category. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCategory; + +/// Parameter key used to specify the product item's custom label 0. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCustomLabel0; + +/// Parameter key used to specify the product item's custom label 1. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCustomLabel1; + +/// Parameter key used to specify the product item's custom label 2. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCustomLabel2; + +/// Parameter key used to specify the product item's custom label 3. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCustomLabel3; + +/// Parameter key used to specify the product item's custom label 4. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCustomLabel4; + +/// Parameter key used to specify the product item's AppLink app URL for iOS. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIOSUrl; + +/// Parameter key used to specify the product item's AppLink app ID for iOS App Store. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIOSAppStoreID; + +/// Parameter key used to specify the product item's AppLink app name for iOS. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIOSAppName; + +/// Parameter key used to specify the product item's AppLink app URL for iPhone. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPhoneUrl; + +/// Parameter key used to specify the product item's AppLink app ID for iPhone App Store. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPhoneAppStoreID; + +/// Parameter key used to specify the product item's AppLink app name for iPhone. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPhoneAppName; + +/// Parameter key used to specify the product item's AppLink app URL for iPad. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPadUrl; + +/// Parameter key used to specify the product item's AppLink app ID for iPad App Store. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPadAppStoreID; + +/// Parameter key used to specify the product item's AppLink app name for iPad. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPadAppName; + +/// Parameter key used to specify the product item's AppLink app URL for Android. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkAndroidUrl; + +/// Parameter key used to specify the product item's AppLink fully-qualified package name for intent generation. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkAndroidPackage; + +/// Parameter key used to specify the product item's AppLink app name for Android. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkAndroidAppName; + +/// Parameter key used to specify the product item's AppLink app URL for Windows Phone. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkWindowsPhoneUrl; + +/// Parameter key used to specify the product item's AppLink app ID, as a GUID, for App Store. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkWindowsPhoneAppID; + +/// Parameter key used to specify the product item's AppLink app name for Windows Phone. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkWindowsPhoneAppName; diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterValue.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterValue.h new file mode 100644 index 0000000..796e2e1 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterValue.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/* + @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. + */ + +/// typedef for FBSDKAppEventParameterValue +typedef NSString *const FBSDKAppEventParameterValue NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(AppEvents.ParameterValue); + +/// Yes-valued parameter value to be used with parameter keys that need a Yes/No value +FOUNDATION_EXPORT FBSDKAppEventParameterValue FBSDKAppEventParameterValueYes; + +/// No-valued parameter value to be used with parameter keys that need a Yes/No value +FOUNDATION_EXPORT FBSDKAppEventParameterValue FBSDKAppEventParameterValueNo; diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEventUserDataType.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEventUserDataType.h new file mode 100644 index 0000000..194443d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEventUserDataType.h @@ -0,0 +1,44 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +typedef NSString *const FBSDKAppEventUserDataType NS_TYPED_EXTENSIBLE_ENUM; + +/// Parameter key used to specify user's email. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventEmail; + +/// Parameter key used to specify user's first name. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventFirstName; + +/// Parameter key used to specify user's last name. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventLastName; + +/// Parameter key used to specify user's phone. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventPhone; + +/// Parameter key used to specify user's date of birth. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventDateOfBirth; + +/// Parameter key used to specify user's gender. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventGender; + +/// Parameter key used to specify user's city. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventCity; + +/// Parameter key used to specify user's state. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventState; + +/// Parameter key used to specify user's zip. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventZip; + +/// Parameter key used to specify user's country. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventCountry; + +/// Parameter key used to specify user's external id. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventExternalId; diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h new file mode 100644 index 0000000..1504e74 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h @@ -0,0 +1,521 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + #import +#endif + +#import +#import +#import +#import +#import +#import +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +@class FBSDKAccessToken; + +/// Optional plist key ("FacebookLoggingOverrideAppID") for setting `loggingOverrideAppID` +FOUNDATION_EXPORT NSString *const FBSDKAppEventsOverrideAppIDBundleKey +NS_SWIFT_NAME(AppEventsOverrideAppIDBundleKey); + +/** + Client-side event logging for specialized application analytics available through Facebook App Insights + and for use with Facebook Ads conversion tracking and optimization. + + 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. + */ +NS_SWIFT_NAME(AppEvents) +@interface FBSDKAppEvents : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/// The shared instance of AppEvents. +@property (class, nonatomic, readonly, strong) FBSDKAppEvents *shared; + +/// Control over event batching/flushing + +/// The current event flushing behavior specifying when events are sent back to Facebook servers. +@property (nonatomic) FBSDKAppEventsFlushBehavior flushBehavior; + +/** + Set the 'override' App ID for App Event logging. + + 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 `Settings.shared.appID`. + + This should be set before any other calls are made to `AppEvents`. Thus, you should set it in your application + delegate's `application(_:didFinishLaunchingWithOptions:)` method. + */ +@property (nullable, nonatomic, copy) NSString *loggingOverrideAppID; + +/** + The custom user ID to associate with all app events. + + The userID is persisted until it is cleared by passing `nil`. + */ +@property (nullable, nonatomic, copy) NSString *userID; + +/// Returns generated anonymous id that persisted with current install of the app +@property (nonatomic, readonly) NSString *anonymousID; + +/* + * Basic event logging + */ + +/** + Log an event with just an event name. + + @param eventName The name of the event to record. Limitations on number of events and name length + are given in the `AppEvents` documentation. + */ +- (void)logEvent:(FBSDKAppEventName)eventName; + +/** + Log an event with an event name 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 `AppEvents` documentation. Common event names are provided in `AppEvents.Name` constants. + + @param valueToSum Amount to be aggregated into all events of this event name, and App Insights will report + the cumulative and average value of this amount. + */ +- (void)logEvent:(FBSDKAppEventName)eventName + valueToSum:(double)valueToSum; + +/** + Log an event with an event name 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 `AppEvents` documentation. Common event names are provided in `AppEvents.Name` 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 `AppEvents` documentation. Commonly used parameter names + are provided in `AppEvents.ParameterName` constants. + */ +- (void)logEvent:(FBSDKAppEventName)eventName + parameters:(nullable NSDictionary *)parameters; + +/** + Log an event with an event name, 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 `AppEvents` documentation. Common event names are provided in `AppEvents.Name` constants. + + @param valueToSum Amount to be aggregated into all events of this event name, 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 `AppEvents` documentation. Commonly used parameter names + are provided in `AppEvents.ParameterName` constants. + */ +- (void)logEvent:(FBSDKAppEventName)eventName + valueToSum:(double)valueToSum + parameters:(nullable NSDictionary *)parameters; + +/** + Log an event with an event name, 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 `AppEvents` documentation. Common event names are provided in `AppEvents.Name` 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 `AppEvents` documentation. Commonly used parameter names + are provided in `AppEvents.ParameterName` constants. + + @param accessToken The optional access token to log the event as. + */ +- (void)logEvent:(FBSDKAppEventName)eventName + valueToSum:(nullable NSNumber *)valueToSum + parameters:(nullable NSDictionary *)parameters + accessToken:(nullable FBSDKAccessToken *)accessToken; + +/* + * Purchase logging + */ + +/** + 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 string (e.g., "USD", "EUR", "GBP"); see ISO-4217 for + specific values. One reference for these is . + + This event immediately triggers a flush of the `AppEvents` event queue, unless the `flushBehavior` is set + to `FBSDKAppEventsFlushBehaviorExplicitOnly`. + */ +// UNCRUSTIFY_FORMAT_OFF +- (void)logPurchase:(double)purchaseAmount currency:(NSString *)currency + NS_SWIFT_NAME(logPurchase(amount:currency:)); +// UNCRUSTIFY_FORMAT_ON + +/** + 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 string (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 `AppEvents` documentation. Commonly used parameter names + are provided in `AppEvents.ParameterName` constants. + + This event immediately triggers a flush of the `AppEvents` event queue, unless the `flushBehavior` is set + to `FBSDKAppEventsFlushBehaviorExplicitOnly`. + */ +// UNCRUSTIFY_FORMAT_OFF +- (void)logPurchase:(double)purchaseAmount + currency:(NSString *)currency + parameters:(nullable NSDictionary *)parameters + NS_SWIFT_NAME(logPurchase(amount:currency:parameters:)); +// UNCRUSTIFY_FORMAT_ON + +/** + 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 string (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 `AppEvents` documentation. Commonly used parameter names + are provided in `AppEvents.ParameterName` constants. + + @param accessToken The optional access token to log the event as. + + This event immediately triggers a flush of the `AppEvents` event queue, unless the `flushBehavior` is set + to `FBSDKAppEventsFlushBehaviorExplicitOnly`. + */ +// UNCRUSTIFY_FORMAT_OFF +- (void)logPurchase:(double)purchaseAmount + currency:(NSString *)currency + parameters:(nullable NSDictionary *)parameters + accessToken:(nullable FBSDKAccessToken *)accessToken + NS_SWIFT_NAME(logPurchase(amount:currency:parameters:accessToken:)); +// UNCRUSTIFY_FORMAT_ON + +/* + * Push Notifications Logging + */ + +/** + Log an app event that tracks that the application was open via Push Notification. + + @param payload Notification payload received via `UIApplicationDelegate`. + */ +// UNCRUSTIFY_FORMAT_OFF +- (void)logPushNotificationOpen:(NSDictionary *)payload + NS_SWIFT_NAME(logPushNotificationOpen(payload:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Log an app event that tracks that a custom action was taken from a push notification. + + @param payload Notification payload received via `UIApplicationDelegate`. + @param action Name of the action that was taken. + */ +// UNCRUSTIFY_FORMAT_OFF +- (void)logPushNotificationOpen:(NSDictionary *)payload action:(NSString *)action + NS_SWIFT_NAME(logPushNotificationOpen(payload:action:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Uploads product catalog product item as an app event + + @param itemID Unique ID for the item. Can be a variant for a product. + Max size is 100. + @param availability If item is in stock. Accepted values are: + in stock - Item ships immediately + out of stock - No plan to restock + preorder - Available in future + available for order - Ships in 1-2 weeks + discontinued - Discontinued + @param condition Product condition: new, refurbished or used. + @param description Short text describing product. Max size is 5000. + @param imageLink Link to item image used in ad. + @param link Link to merchant's site where someone can buy the item. + @param title Title of item. + @param priceAmount Amount of purchase, in the currency specified by the 'currency' + parameter. This value will be rounded to the thousandths place + (e.g., 12.34567 becomes 12.346). + @param currency Currency string (e.g., "USD", "EUR", "GBP"); see ISO-4217 for + specific values. One reference for these is . + @param gtin Global Trade Item Number including UPC, EAN, JAN and ISBN + @param mpn Unique manufacture ID for product + @param brand Name of the brand + Note: Either gtin, mpn or brand is required. + @param parameters Optional fields for deep link specification. + */ +// UNCRUSTIFY_FORMAT_OFF +- (void)logProductItem:(NSString *)itemID + availability:(FBSDKProductAvailability)availability + condition:(FBSDKProductCondition)condition + description:(NSString *)description + imageLink:(NSString *)imageLink + link:(NSString *)link + title:(NSString *)title + priceAmount:(double)priceAmount + currency:(NSString *)currency + gtin:(nullable NSString *)gtin + mpn:(nullable NSString *)mpn + brand:(nullable NSString *)brand + parameters:(nullable NSDictionary *)parameters + NS_SWIFT_NAME(logProductItem(id:availability:condition:description:imageLink:link:title:priceAmount:currency:gtin:mpn:brand:parameters:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Notifies the events system that the app has launched and, when appropriate, logs an "activated app" event. + This function is called automatically from FBSDKApplicationDelegate applicationDidBecomeActive, unless + one overrides 'FacebookAutoLogAppEventsEnabled' key to false in the project info plist file. + In case 'FacebookAutoLogAppEventsEnabled' is set to false, then it 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. + + `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; + +/* + * Push Notifications Registration and Uninstall Tracking + */ + +/** + Sets and sends device token to register the current application for push notifications. + + Sets and sends a device token from the `Data` representation that you get from + `UIApplicationDelegate.application(_:didRegisterForRemoteNotificationsWithDeviceToken:)`. + + @param deviceToken Device token data. + */ +- (void)setPushNotificationsDeviceToken:(nullable NSData *)deviceToken; + +/** + Sets and sends device token string to register the current application for push notifications. + + Sets and sends a device token string + + @param deviceTokenString Device token string. + */ +// UNCRUSTIFY_FORMAT_OFF +- (void)setPushNotificationsDeviceTokenString:(nullable NSString *)deviceTokenString +NS_SWIFT_NAME(setPushNotificationsDeviceToken(_:)); +// UNCRUSTIFY_FORMAT_ON + +/** + 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; + +/** + 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. + + The JSON in the request's response will include a "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 `Settings.shared.isEventDataUsageLimited` flag, or a specific Facebook user cannot be identified. + + @param accessToken The access token to use to establish the user's identity for users logged into Facebook through this app. + If `nil`, then `AccessToken.current` is used. + */ +// UNCRUSTIFY_FORMAT_OFF +- (nullable FBSDKGraphRequest *)requestForCustomAudienceThirdPartyIDWithAccessToken:(nullable FBSDKAccessToken *)accessToken +NS_SWIFT_NAME(requestForCustomAudienceThirdPartyID(accessToken:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Sets custom user data to associate with all app events. All user data are hashed + and used to match Facebook user from this instance of an application. + + The user data will be persisted between application instances. + + @param email user's email + @param firstName user's first name + @param lastName user's last name + @param phone user's phone + @param dateOfBirth user's date of birth + @param gender user's gender + @param city user's city + @param state user's state + @param zip user's zip + @param country user's country + */ + +// UNCRUSTIFY_FORMAT_OFF +- (void)setUserEmail:(nullable NSString *)email + firstName:(nullable NSString *)firstName + lastName:(nullable NSString *)lastName + phone:(nullable NSString *)phone + dateOfBirth:(nullable NSString *)dateOfBirth + gender:(nullable NSString *)gender + city:(nullable NSString *)city + state:(nullable NSString *)state + zip:(nullable NSString *)zip + country:(nullable NSString *)country +NS_SWIFT_NAME(setUser(email:firstName:lastName:phone:dateOfBirth:gender:city:state:zip:country:)); +// UNCRUSTIFY_FORMAT_ON + +/// Returns the set user data else nil +- (nullable NSString *)getUserData; + +/// Clears the current user data +- (void)clearUserData; + +/** + Sets custom user data to associate with all app events. All user data are hashed + and used to match Facebook user from this instance of an application. + + The user data will be persisted between application instances. + + @param data data + @param type data type, e.g. FBSDKAppEventEmail, FBSDKAppEventPhone + */ +- (void)setUserData:(nullable NSString *)data + forType:(FBSDKAppEventUserDataType)type; + +/// Clears the current user data of certain type +- (void)clearUserDataForType:(FBSDKAppEventUserDataType)type; + +#if !TARGET_OS_TV +/** + Intended to be used as part of a hybrid webapp. + If you call this method, the FB SDK will inject a new JavaScript object into your webview. + If the FB Pixel is used within the webview, and references the app ID of this app, + then it will detect the presence of this injected JavaScript object + and pass Pixel events back to the FB SDK for logging using the AppEvents framework. + + @param webView The webview to augment with the additional JavaScript behavior + */ +- (void)augmentHybridWebView:(WKWebView *)webView; +#endif + +/* + * Unity helper functions + */ + +/** + Set whether Unity is already initialized. + + @param isUnityInitialized Whether Unity is initialized. + */ +- (void)setIsUnityInitialized:(BOOL)isUnityInitialized; + +/// Send event bindings to Unity +- (void)sendEventBindingsToUnity; + +/* + * SDK Specific Event Logging + * Do not call directly outside of the SDK itself. + */ + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void)logInternalEvent:(FBSDKAppEventName)eventName + parameters:(nullable NSDictionary *)parameters + isImplicitlyLogged:(BOOL)isImplicitlyLogged; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void)logInternalEvent:(FBSDKAppEventName)eventName + parameters:(nullable NSDictionary *)parameters + isImplicitlyLogged:(BOOL)isImplicitlyLogged + accessToken:(nullable FBSDKAccessToken *)accessToken; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEventsFlushBehavior.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEventsFlushBehavior.h new file mode 100644 index 0000000..872ef49 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEventsFlushBehavior.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/** + NS_ENUM (NSUInteger, FBSDKAppEventsFlushBehavior) + + 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, +} NS_SWIFT_NAME(AppEvents.FlushBehavior); diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEventsNotificationName.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEventsNotificationName.h new file mode 100644 index 0000000..159e27d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEventsNotificationName.h @@ -0,0 +1,13 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/// NSNotificationCenter name indicating a result of a failed log flush attempt. The posted object will be an NSError instance. +FOUNDATION_EXPORT NSNotificationName const FBSDKAppEventsLoggingResultNotification +NS_SWIFT_NAME(AppEventsLoggingResult); diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppLink.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppLink.h new file mode 100644 index 0000000..a995c02 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppLink.h @@ -0,0 +1,65 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// The version of the App Link protocol that this library supports +FOUNDATION_EXPORT NSString *const FBSDKAppLinkVersion +NS_SWIFT_NAME(AppLinkVersion); + +/** + Contains App Link metadata relevant for navigation on this device + derived from the HTML at a given URL. + */ +NS_SWIFT_NAME(AppLink) +@interface FBSDKAppLink : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + Creates a FBSDKAppLink with the given list of FBSDKAppLinkTargets and target URL. + + Generally, this will only be used by implementers of the FBSDKAppLinkResolving protocol, + as these implementers will produce App Link metadata for a given URL. + + @param sourceURL the URL from which this App Link is derived + @param targets an ordered list of FBSDKAppLinkTargets for this platform derived + from App Link metadata. + @param webURL the fallback web URL, if any, for the app link. + */ +// UNCRUSTIFY_FORMAT_OFF ++ (instancetype)appLinkWithSourceURL:(nullable NSURL *)sourceURL + targets:(NSArray *)targets + webURL:(nullable NSURL *)webURL +NS_SWIFT_NAME(init(sourceURL:targets:webURL:)); +// UNCRUSTIFY_FORMAT_ON + +/// The URL from which this FBSDKAppLink was derived +@property (nullable, nonatomic, readonly, strong) NSURL *sourceURL; + +/** + The ordered list of targets applicable to this platform that will be used + for navigation. + */ +@property (nonatomic, readonly, copy) NSArray> *targets; + +/// The fallback web URL to use if no targets are installed on this device. +@property (nullable, nonatomic, readonly, strong) NSURL *webURL; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppLinkNavigation.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppLinkNavigation.h new file mode 100644 index 0000000..bfc1bbf --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppLinkNavigation.h @@ -0,0 +1,137 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +#import +#import + +@protocol FBSDKSettings; + +NS_ASSUME_NONNULL_BEGIN + +/// The result of calling navigate on a FBSDKAppLinkNavigation +typedef NS_ENUM(NSInteger, FBSDKAppLinkNavigationType) { + /// Indicates that the navigation failed and no app was opened + FBSDKAppLinkNavigationTypeFailure, + /// Indicates that the navigation succeeded by opening the URL in the browser + FBSDKAppLinkNavigationTypeBrowser, + /// Indicates that the navigation succeeded by opening the URL in an app on the device + FBSDKAppLinkNavigationTypeApp, +} NS_SWIFT_NAME(AppLinkNavigation.Type); + +/** + Describes the callback for appLinkFromURLInBackground. + @param navType the FBSDKAppLink representing the deferred App Link + @param error the error during the request, if any + */ +typedef void (^ FBSDKAppLinkNavigationBlock)(FBSDKAppLinkNavigationType navType, NSError *_Nullable error) +NS_SWIFT_NAME(AppLinkNavigationBlock); + +/** + Represents a pending request to navigate to an App Link. Most developers will + simply use navigateToURLInBackground: to open a URL, but developers can build + custom requests with additional navigation and app data attached to them by + creating FBSDKAppLinkNavigations themselves. + */ +NS_EXTENSION_UNAVAILABLE_IOS("Not available in app extension") +NS_SWIFT_NAME(AppLinkNavigation) +@interface FBSDKAppLinkNavigation : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + The default resolver to be used for App Link resolution. If the developer has not set one explicitly, + a basic, built-in FBSDKWebViewAppLinkResolver will be used. + */ +@property (class, nonatomic, strong) id defaultResolver +NS_SWIFT_NAME(default); + +/** + The extras for the AppLinkNavigation. This will generally contain application-specific + data that should be passed along with the request, such as advertiser or affiliate IDs or + other such metadata relevant on this device. + */ +@property (nonatomic, readonly, copy) NSDictionary *extras; + +/** + The al_applink_data for the AppLinkNavigation. This will generally contain data common to + navigation attempts such as back-links, user agents, and other information that may be used + in routing and handling an App Link request. + */ +@property (nonatomic, readonly, copy) NSDictionary *appLinkData; + +/// The AppLink to navigate to +@property (nonatomic, readonly, strong) FBSDKAppLink *appLink; + +/** + Return navigation type for current instance. + No-side-effect version of navigate: + */ +@property (nonatomic, readonly) FBSDKAppLinkNavigationType navigationType; + +// UNCRUSTIFY_FORMAT_OFF +/// Creates an AppLinkNavigation with the given link, extras, and App Link data ++ (instancetype)navigationWithAppLink:(FBSDKAppLink *)appLink + extras:(NSDictionary *)extras + appLinkData:(NSDictionary *)appLinkData + settings:(id)settings +NS_SWIFT_NAME(init(appLink:extras:appLinkData:settings:)); + +/** + Creates an NSDictionary with the correct format for iOS callback URLs, + to be used as 'appLinkData' argument in the call to navigationWithAppLink:extras:appLinkData: + */ ++ (NSDictionary *> *)callbackAppLinkDataForAppWithName:(NSString *)appName + url:(NSString *)url +NS_SWIFT_NAME(callbackAppLinkData(forApp:url:)); +// UNCRUSTIFY_FORMAT_ON + +/// Performs the navigation +- (FBSDKAppLinkNavigationType)navigate:(NSError **)error + __attribute__((swift_error(nonnull_error))); + +/// Returns a FBSDKAppLink for the given URL ++ (void)resolveAppLink:(NSURL *)destination handler:(FBSDKAppLinkBlock)handler; + +/// Returns a FBSDKAppLink for the given URL using the given App Link resolution strategy ++ (void)resolveAppLink:(NSURL *)destination + resolver:(id)resolver + handler:(FBSDKAppLinkBlock)handler; + +/// Navigates to a FBSDKAppLink and returns whether it opened in-app or in-browser ++ (FBSDKAppLinkNavigationType)navigateToAppLink:(FBSDKAppLink *)link error:(NSError **)error + __attribute__((swift_error(nonnull_error))); + +/** + Returns a FBSDKAppLinkNavigationType based on a FBSDKAppLink. + It's essentially a no-side-effect version of navigateToAppLink:error:, + allowing apps to determine flow based on the link type (e.g. open an + internal web view instead of going straight to the browser for regular links.) + */ ++ (FBSDKAppLinkNavigationType)navigationTypeForLink:(FBSDKAppLink *)link; + +/// Navigates to a URL (an asynchronous action) and returns a FBSDKNavigationType ++ (void)navigateToURL:(NSURL *)destination handler:(FBSDKAppLinkNavigationBlock)handler; + +/** + Navigates to a URL (an asynchronous action) using the given App Link resolution + strategy and returns a FBSDKNavigationType + */ ++ (void)navigateToURL:(NSURL *)destination + resolver:(id)resolver + handler:(FBSDKAppLinkNavigationBlock)handler; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h new file mode 100644 index 0000000..23056a3 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h @@ -0,0 +1,57 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Describes the callback for appLinkFromURLInBackground. + @param appLinks the FBSDKAppLinks representing the deferred App Links + @param error the error during the request, if any + */ +typedef void (^ FBSDKAppLinksBlock)(NSDictionary *appLinks, + NSError *_Nullable error) +NS_SWIFT_NAME(AppLinksBlock); + +/** + Provides an implementation of the FBSDKAppLinkResolving 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. + + Usage of this type requires a client token. See `[FBSDKSettings setClientToken:]` + */ + +NS_SWIFT_NAME(AppLinkResolver) +@interface FBSDKAppLinkResolver : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + Asynchronously resolves App Link data for a given array of URLs. + + @param urls The URLs to resolve into an App Link. + @param handler The completion block that will return an App Link for the given URL. + */ +- (void)appLinksFromURLs:(NSArray *)urls handler:(FBSDKAppLinksBlock)handler + NS_EXTENSION_UNAVAILABLE_IOS("Not available in app extension"); + +/// Allocates and initializes a new instance of FBSDKAppLinkResolver. ++ (instancetype)resolver + NS_SWIFT_NAME(init()); + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolving.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolving.h new file mode 100644 index 0000000..41a9276 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolving.h @@ -0,0 +1,46 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +@class FBSDKAppLink; + +/** + Describes the callback for appLinkFromURLInBackground. + @param appLink the FBSDKAppLink representing the deferred App Link + @param error the error during the request, if any + */ +typedef void (^ FBSDKAppLinkBlock)(FBSDKAppLink *_Nullable appLink, NSError *_Nullable error) +NS_SWIFT_NAME(AppLinkBlock); + +/** + 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. + */ +NS_SWIFT_NAME(AppLinkResolving) +@protocol FBSDKAppLinkResolving + +/** + Asynchronously resolves App Link data for a given URL. + + @param url The URL to resolve into an App Link. + @param handler The completion block that will return an App Link for the given URL. + */ +- (void)appLinkFromURL:(NSURL *)url handler:(FBSDKAppLinkBlock)handler + NS_EXTENSION_UNAVAILABLE_IOS("Not available in app extension"); + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppLinkTarget.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppLinkTarget.h new file mode 100644 index 0000000..75ecb37 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppLinkTarget.h @@ -0,0 +1,48 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Represents a target defined in App Link metadata, consisting of at least + a URL, and optionally an App Store ID and name. + */ +NS_SWIFT_NAME(AppLinkTarget) +@interface FBSDKAppLinkTarget : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/// Creates a FBSDKAppLinkTarget with the given app site and target URL. +// UNCRUSTIFY_FORMAT_OFF ++ (instancetype)appLinkTargetWithURL:(nullable NSURL *)url + appStoreId:(nullable NSString *)appStoreId + appName:(NSString *)appName +NS_SWIFT_NAME(init(url:appStoreId:appName:)); +// UNCRUSTIFY_FORMAT_ON + +/// The URL prefix for this app link target +@property (nullable, nonatomic, readonly, strong) NSURL *URL; + +/// The app ID for the app store +@property (nullable, nonatomic, readonly, copy) NSString *appStoreId; + +/// The name of the app +@property (nonatomic, readonly, copy) NSString *appName; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppLinkTargetProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppLinkTargetProtocol.h new file mode 100644 index 0000000..2bd5cd3 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppLinkTargetProtocol.h @@ -0,0 +1,39 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// A protocol to describe an AppLinkTarget +NS_SWIFT_NAME(AppLinkTargetProtocol) +@protocol FBSDKAppLinkTarget + +// UNCRUSTIFY_FORMAT_OFF ++ (instancetype)appLinkTargetWithURL:(nullable NSURL *)url + appStoreId:(nullable NSString *)appStoreId + appName:(NSString *)appName +NS_SWIFT_NAME(init(url:appStoreId:appName:)); +// UNCRUSTIFY_FORMAT_ON + +/// The URL prefix for this app link target +@property (nullable, nonatomic, readonly) NSURL *URL; + +/// The app ID for the app store +@property (nullable, nonatomic, readonly, copy) NSString *appStoreId; + +/// The name of the app +@property (nonatomic, readonly, copy) NSString *appName; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h new file mode 100644 index 0000000..cc886b5 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h @@ -0,0 +1,75 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Describes the callback for fetchDeferredAppLink. + @param url the url representing the deferred App Link + @param error the error during the request, if any + + The url may also have a fb_click_time_utc query parameter that + represents when the click occurred that caused the deferred App Link to be created. + */ +typedef void (^ FBSDKURLBlock)(NSURL *_Nullable url, NSError *_Nullable error) +NS_SWIFT_NAME(URLBlock); + +/// Class containing App Links related utility methods. +NS_SWIFT_NAME(AppLinkUtility) +@interface FBSDKAppLinkUtility : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + 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 + + 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:(nullable FBSDKURLBlock)handler; + +/** + Call this method to fetch promotion code from the url, if it's present. + + @param url App Link url that was passed to the app. + + @return Promotion code string. + + Call this method to fetch App Invite Promotion Code from applink if present. + This can be used to fetch the promotion code that was associated with the invite when it + was created. This method should be called with the url from the openURL method. + */ ++ (nullable NSString *)appInvitePromotionCodeFromURL:(NSURL *)url; + +/** + Check whether the scheme is defined in the app's URL schemes. + @param scheme the scheme of App Link URL + @return YES if the scheme is defined, otherwise NO. + */ ++ (BOOL)isMatchURLScheme:(NSString *)scheme; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppURLSchemeProviding.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppURLSchemeProviding.h new file mode 100644 index 0000000..c8b39fa --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppURLSchemeProviding.h @@ -0,0 +1,34 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AppURLSchemeProviding) +@protocol FBSDKAppURLSchemeProviding + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nonatomic, readonly, copy) NSString *appURLScheme; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void)validateURLSchemes; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h new file mode 100644 index 0000000..585fb0c --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h @@ -0,0 +1,131 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + 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). + + 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. + */ +NS_SWIFT_NAME(ApplicationDelegate) +@interface FBSDKApplicationDelegate : NSObject + +#if !DEBUG +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; +#endif + +#if DEBUG +@property (nonnull, nonatomic, readonly) NSHashTable> *applicationObservers; +#endif + +/// Gets the singleton instance. +@property (class, nonatomic, readonly, strong) FBSDKApplicationDelegate *sharedInstance +NS_SWIFT_NAME(shared); + +/** + Call this method from the [UIApplicationDelegate application:continue:restorationHandler:] method + of the AppDelegate for your app. It should be invoked in order to properly process the web URL (universal link) + once the end user is redirected to your app. + + @param application The application as passed to [UIApplicationDelegate application:continue:restorationHandler:]. + @param userActivity The user activity as passed to [UIApplicationDelegate application:continue:restorationHandler:]. + + @return YES if the URL was intended for the Facebook SDK, NO if not. +*/ +- (BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity; + +/** + 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:(nullable NSString *)sourceApplication + annotation:(nullable id)annotation; + +/** + Call this method from the [UIApplicationDelegate application:openURL:options:] 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:options:]. + + @param url The URL as passed to [UIApplicationDelegate application:openURL:options:]. + + @param options The options dictionary as passed to [UIApplicationDelegate application:openURL:options:]. + + @return YES if the URL was intended for the Facebook SDK, NO if not. + */ +- (BOOL)application:(UIApplication *)application + openURL:(NSURL *)url + options:(NSDictionary *)options; + +/** + 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. + As part of SDK initialization basic auto logging of app events will occur, this can be + controlled via 'FacebookAutoLogAppEventsEnabled' key in the project info plist file. + + @param application The application as passed to [UIApplicationDelegate application:didFinishLaunchingWithOptions:]. + + @param launchOptions The launchOptions as passed to [UIApplicationDelegate application:didFinishLaunchingWithOptions:]. + + @return True if there are any added application observers that themselves return true from calling `application:didFinishLaunchingWithOptions:`. + Otherwise will return false. Note: If this method is called after calling `initializeSDK` then the return type will always be false. + */ +- (BOOL) application:(UIApplication *)application + didFinishLaunchingWithOptions:(nullable NSDictionary *)launchOptions; + +/** + Initializes the SDK. + + If you are using the SDK within the context of the UIApplication lifecycle, do not use this method. + Instead use `application: didFinishLaunchingWithOptions:`. + + As part of SDK initialization basic auto logging of app events will occur, this can be + controlled via 'FacebookAutoLogAppEventsEnabled' key in the project info plist file. + */ +- (void)initializeSDK; + +/** + Adds an observer that will be informed about application lifecycle events. + + @note Observers are weakly held + */ +- (void)addObserver:(id)observer; + +/** + Removes an observer so that it will no longer be informed about application lifecycle events. + + @note Observers are weakly held + */ +- (void)removeObserver:(id)observer; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKApplicationObserving.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKApplicationObserving.h new file mode 100644 index 0000000..14de894 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKApplicationObserving.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/* + Describes any types that optionally responds to various lifecycle events + received by the system and propagated by `ApplicationDelegate`. + */ +@protocol FBSDKApplicationObserving + +@optional +- (void)applicationDidBecomeActive:(nullable UIApplication *)application; +- (void)applicationWillResignActive:(nullable UIApplication *)application; +- (void)applicationDidEnterBackground:(nullable UIApplication *)application; +- (BOOL) application:(UIApplication *)application + didFinishLaunchingWithOptions:(nullable NSDictionary *)launchOptions; + +- (BOOL)application:(UIApplication *)application + openURL:(NSURL *)url + sourceApplication:(nullable NSString *)sourceApplication + annotation:(nullable id)annotation; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationToken.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationToken.h new file mode 100644 index 0000000..90648c9 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationToken.h @@ -0,0 +1,53 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +@class FBSDKAuthenticationTokenClaims; +@protocol FBSDKTokenCaching; + +NS_ASSUME_NONNULL_BEGIN + +/// Represent an AuthenticationToken used for a login attempt +NS_SWIFT_NAME(AuthenticationToken) +@interface FBSDKAuthenticationToken : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + The "global" authentication token that represents the currently logged in user. + + The `currentAuthenticationToken` represents the authentication token of the + current user and can be used by a client to verify an authentication attempt. + */ +@property (class, nullable, nonatomic, copy) FBSDKAuthenticationToken *currentAuthenticationToken; + +/// The raw token string from the authentication response +@property (nonatomic, readonly, copy) NSString *tokenString; + +/// The nonce from the decoded authentication response +@property (nonatomic, readonly, copy) NSString *nonce; + +/// The graph domain where the user is authenticated. +@property (nonatomic, readonly, copy) NSString *graphDomain; + +/// Returns the claims encoded in the AuthenticationToken +- (nullable FBSDKAuthenticationTokenClaims *)claims; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (class, nullable, nonatomic, copy) id tokenCache; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenClaims.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenClaims.h new file mode 100644 index 0000000..874fe07 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenClaims.h @@ -0,0 +1,89 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AuthenticationTokenClaims) +@interface FBSDKAuthenticationTokenClaims : NSObject + +/// A unique identifier for the token. +@property (nonatomic, readonly, strong) NSString *jti; + +/// Issuer Identifier for the Issuer of the response. +@property (nonatomic, readonly, strong) NSString *iss; + +/// Audience(s) that this ID Token is intended for. +@property (nonatomic, readonly, strong) NSString *aud; + +/// String value used to associate a Client session with an ID Token, and to mitigate replay attacks. +@property (nonatomic, readonly, strong) NSString *nonce; + +/// Expiration time on or after which the ID Token MUST NOT be accepted for processing. +@property (nonatomic, readonly, assign) NSTimeInterval exp; + +/// Time at which the JWT was issued. +@property (nonatomic, readonly, assign) NSTimeInterval iat; + +/// Subject - Identifier for the End-User at the Issuer. +@property (nonatomic, readonly, strong) NSString *sub; + +/// End-User's full name in displayable form including all name parts. +@property (nullable, nonatomic, readonly, strong) NSString *name; + +/// End-User's given name in displayable form +@property (nullable, nonatomic, readonly, strong) NSString *givenName; + +/// End-User's middle name in displayable form +@property (nullable, nonatomic, readonly, strong) NSString *middleName; + +/// End-User's family name in displayable form +@property (nullable, nonatomic, readonly, strong) NSString *familyName; + +/** + End-User's preferred e-mail address. + + IMPORTANT: This field will only be populated if your user has granted your application the 'email' permission. + */ +@property (nullable, nonatomic, readonly, strong) NSString *email; + +/// URL of the End-User's profile picture. +@property (nullable, nonatomic, readonly, strong) NSString *picture; + +/** + End-User's friends. + + IMPORTANT: This field will only be populated if your user has granted your application the 'user_friends' permission. + */ +@property (nullable, nonatomic, readonly, strong) NSArray *userFriends; + +/// End-User's birthday +@property (nullable, nonatomic, readonly, strong) NSString *userBirthday; + +/// End-User's age range +@property (nullable, nonatomic, readonly, strong) NSDictionary *userAgeRange; + +/// End-User's hometown +@property (nullable, nonatomic, readonly, strong) NSDictionary *userHometown; + +/// End-User's location +@property (nullable, nonatomic, readonly, strong) NSDictionary *userLocation; + +/// End-User's gender +@property (nullable, nonatomic, readonly, strong) NSString *userGender; + +/// End-User's link +@property (nullable, nonatomic, readonly, strong) NSString *userLink; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenProtocols.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenProtocols.h new file mode 100644 index 0000000..4f64230 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenProtocols.h @@ -0,0 +1,31 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AuthenticationTokenProviding) +@protocol FBSDKAuthenticationTokenProviding + +@property (class, nullable, nonatomic, readonly, copy) FBSDKAuthenticationToken *currentAuthenticationToken; +@property (class, nullable, nonatomic, copy) id tokenCache; + +@end + +NS_SWIFT_NAME(AuthenticationTokenSetting) +@protocol FBSDKAuthenticationTokenSetting + +@property (class, nullable, nonatomic, copy) FBSDKAuthenticationToken *currentAuthenticationToken; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPI.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPI.h new file mode 100644 index 0000000..75036b6 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPI.h @@ -0,0 +1,54 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + + #import + #import + #import + #import + #import + #import + #import + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +typedef void (^FBSDKAuthenticationCompletionHandler)(NSURL *_Nullable callbackURL, NSError *_Nullable error); + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(BridgeAPI) +@interface FBSDKBridgeAPI : NSObject + +@property (class, nonatomic, readonly, strong) FBSDKBridgeAPI *sharedInstance +NS_SWIFT_NAME(shared); +@property (nonatomic, readonly, getter = isActive) BOOL active; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIProtocol.h new file mode 100644 index 0000000..d394ff3 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIProtocol.h @@ -0,0 +1,44 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +FOUNDATION_EXPORT NSString *const FBSDKBridgeAPIAppIDKey; +FOUNDATION_EXPORT NSString *const FBSDKBridgeAPISchemeSuffixKey; +FOUNDATION_EXPORT NSString *const FBSDKBridgeAPIVersionKey; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(BridgeAPIProtocol) +@protocol FBSDKBridgeAPIProtocol + +- (nullable NSURL *)requestURLWithActionID:(NSString *)actionID + scheme:(NSString *)scheme + methodName:(NSString *)methodName + parameters:(NSDictionary *)parameters + error:(NSError *_Nullable *)errorRef; +- (nullable NSDictionary *)responseParametersForActionID:(NSString *)actionID + queryParameters:(NSDictionary *)queryParameters + cancelled:(nullable BOOL *)cancelledRef + error:(NSError *_Nullable *)errorRef; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIProtocolType.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIProtocolType.h new file mode 100644 index 0000000..7f86623 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIProtocolType.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +typedef NS_ENUM(NSUInteger, FBSDKBridgeAPIProtocolType) { + FBSDKBridgeAPIProtocolTypeNative, + FBSDKBridgeAPIProtocolTypeWeb, +}; + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequest.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequest.h new file mode 100644 index 0000000..b55f870 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequest.h @@ -0,0 +1,50 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +#import +#import +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(BridgeAPIRequest) +@interface FBSDKBridgeAPIRequest : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; ++ (nullable instancetype)bridgeAPIRequestWithProtocolType:(FBSDKBridgeAPIProtocolType)protocolType + scheme:(FBSDKURLScheme)scheme + methodName:(nullable NSString *)methodName + parameters:(nullable NSDictionary *)parameters + userInfo:(nullable NSDictionary *)userInfo; + +@property (nonatomic, readonly, copy) NSString *actionID; +@property (nullable, nonatomic, readonly, copy) NSString *methodName; +@property (nullable, nonatomic, readonly, copy) NSDictionary *parameters; +@property (nonatomic, readonly, assign) FBSDKBridgeAPIProtocolType protocolType; +@property (nonatomic, readonly, copy) FBSDKURLScheme scheme; +@property (nullable, nonatomic, readonly, copy) NSDictionary *userInfo; + +- (nullable NSURL *)requestURL:(NSError *_Nullable *)errorRef; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestCreating.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestCreating.h new file mode 100644 index 0000000..5c76020 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestCreating.h @@ -0,0 +1,38 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +#import + +@protocol FBSDKBridgeAPIRequest; + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(BridgeAPIRequestCreating) +@protocol FBSDKBridgeAPIRequestCreating + +- (nullable id)bridgeAPIRequestWithProtocolType:(FBSDKBridgeAPIProtocolType)protocolType + scheme:(NSString *)scheme + methodName:(nullable NSString *)methodName + parameters:(nullable NSDictionary *)parameters + userInfo:(nullable NSDictionary *)userInfo; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestOpening.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestOpening.h new file mode 100644 index 0000000..11039fb --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestOpening.h @@ -0,0 +1,51 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import +#import + +#import +#import + +@protocol FBSDKBridgeAPIRequest; +@protocol FBSDKURLOpening; + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(BridgeAPIRequestOpening) +@protocol FBSDKBridgeAPIRequestOpening + +- (void)openBridgeAPIRequest:(NSObject *)request + useSafariViewController:(BOOL)useSafariViewController + fromViewController:(nullable UIViewController *)fromViewController + completionBlock:(FBSDKBridgeAPIResponseBlock)completionBlock; + +// UNCRUSTIFY_FORMAT_OFF +- (void)openURLWithSafariViewController:(NSURL *)url + sender:(nullable id)sender + fromViewController:(nullable UIViewController *)fromViewController + handler:(FBSDKSuccessBlock)handler +NS_SWIFT_NAME(openURLWithSafariViewController(url:sender:from:handler:)); +// UNCRUSTIFY_FORMAT_ON + +- (void)openURL:(NSURL *)url + sender:(nullable id)sender + handler:(FBSDKSuccessBlock)handler; +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestProtocol.h new file mode 100644 index 0000000..4cdbd85 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestProtocol.h @@ -0,0 +1,40 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +#import + +@protocol FBSDKBridgeAPIProtocol; + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(BridgeAPIRequestProtocol) +@protocol FBSDKBridgeAPIRequest + +@property (nonatomic, readonly, copy) NSString *scheme; +@property (nonatomic, readonly, copy) NSString *actionID; +@property (nullable, nonatomic, readonly, copy) NSString *methodName; +@property (nonatomic, readonly, assign) FBSDKBridgeAPIProtocolType protocolType; +@property (nullable, nonatomic, readonly, strong) id protocol; + +- (nullable NSURL *)requestURL:(NSError *_Nullable *)errorRef; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIResponse.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIResponse.h new file mode 100644 index 0000000..1ccb94b --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIResponse.h @@ -0,0 +1,56 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +@protocol FBSDKBridgeAPIRequest; +@class FBSDKBridgeAPIResponse; + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +typedef void (^ FBSDKBridgeAPIResponseBlock)(FBSDKBridgeAPIResponse *response) +NS_SWIFT_NAME(BridgeAPIResponseBlock); + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(BridgeAPIResponse) +@interface FBSDKBridgeAPIResponse : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + ++ (instancetype)bridgeAPIResponseWithRequest:(NSObject *)request + error:(nullable NSError *)error; ++ (nullable instancetype)bridgeAPIResponseWithRequest:(NSObject *)request + responseURL:(NSURL *)responseURL + sourceApplication:(nullable NSString *)sourceApplication + error:(NSError *__autoreleasing *)errorRef; ++ (instancetype)bridgeAPIResponseCancelledWithRequest:(NSObject *)request; + +@property (nonatomic, readonly, getter = isCancelled, assign) BOOL cancelled; +@property (nullable, nonatomic, readonly, copy) NSError *error; +@property (nonatomic, readonly, copy) NSObject *request; +@property (nullable, nonatomic, readonly, copy) NSDictionary *responseParameters; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKButton.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKButton.h new file mode 100644 index 0000000..beae11a --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKButton.h @@ -0,0 +1,80 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import +#import + +@class FBSDKIcon; + +NS_ASSUME_NONNULL_BEGIN + +/// A base class for common SDK buttons. +NS_SWIFT_NAME(FBButton) +@interface FBSDKButton : FBSDKImpressionLoggingButton + +@property (nonatomic, readonly, getter = isImplicitlyDisabled) BOOL implicitlyDisabled; + +- (void)checkImplicitlyDisabled; +- (void)configureWithIcon:(nullable FBSDKIcon *)icon + title:(nullable NSString *)title + backgroundColor:(nullable UIColor *)backgroundColor + highlightedColor:(nullable UIColor *)highlightedColor; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void) configureWithIcon:(nullable FBSDKIcon *)icon + title:(nullable NSString *)title + backgroundColor:(nullable UIColor *)backgroundColor + highlightedColor:(nullable UIColor *)highlightedColor + selectedTitle:(nullable NSString *)selectedTitle + selectedIcon:(nullable FBSDKIcon *)selectedIcon + selectedColor:(nullable UIColor *)selectedColor + selectedHighlightedColor:(nullable UIColor *)selectedHighlightedColor; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (UIColor *)defaultBackgroundColor; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (CGSize)sizeThatFits:(CGSize)size title:(NSString *)title; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (CGSize)textSizeForText:(NSString *)text font:(UIFont *)font constrainedSize:(CGSize)constrainedSize lineBreakMode:(NSLineBreakMode)lineBreakMode; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void)logTapEventWithEventName:(FBSDKAppEventName)eventName + parameters:(nullable NSDictionary *)parameters; +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKButtonImpressionLogging.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKButtonImpressionLogging.h new file mode 100644 index 0000000..806edb4 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKButtonImpressionLogging.h @@ -0,0 +1,31 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(FBButtonImpressionLogging) +@protocol FBSDKButtonImpressionLogging + +@property (nullable, nonatomic, readonly, copy) NSDictionary *analyticsParameters; +@property (nonatomic, readonly, copy) FBSDKAppEventName impressionTrackingEventName; +@property (nonatomic, readonly, copy) NSString *impressionTrackingIdentifier; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKConstants.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKConstants.h new file mode 100644 index 0000000..d746dca --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKConstants.h @@ -0,0 +1,206 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + The error domain for all errors from FBSDKCoreKit. + + Error codes from the SDK in the range 0-99 are reserved for this domain. + */ +FOUNDATION_EXPORT NSErrorDomain const FBSDKErrorDomain +NS_SWIFT_NAME(ErrorDomain); + +/* + @methodgroup error userInfo keys + */ + +/** + The userInfo key for the invalid collection for errors with FBSDKErrorInvalidArgument. + + If the invalid argument is a collection, the collection can be found with this key and the individual + invalid item can be found with FBSDKErrorArgumentValueKey. + */ +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorArgumentCollectionKey +NS_SWIFT_NAME(ErrorArgumentCollectionKey); + +/// The userInfo key for the invalid argument name for errors with FBSDKErrorInvalidArgument. +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorArgumentNameKey +NS_SWIFT_NAME(ErrorArgumentNameKey); + +/// The userInfo key for the invalid argument value for errors with FBSDKErrorInvalidArgument. +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorArgumentValueKey +NS_SWIFT_NAME(ErrorArgumentValueKey); + +/** + The userInfo key for the message for developers in NSErrors that originate from the SDK. + + The developer message will not be localized and is not intended to be presented within the app. + */ +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorDeveloperMessageKey +NS_SWIFT_NAME(ErrorDeveloperMessageKey); + +/// The userInfo key describing a localized description that can be presented to the user. +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorLocalizedDescriptionKey +NS_SWIFT_NAME(ErrorLocalizedDescriptionKey); + +/// The userInfo key describing a localized title that can be presented to the user, used with `FBSDKLocalizedErrorDescriptionKey`. +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorLocalizedTitleKey +NS_SWIFT_NAME(ErrorLocalizedTitleKey); + +/* + @methodgroup FBSDKGraphRequest error userInfo keys + */ + +/** + The userInfo key describing the error category, for error recovery purposes. + + See `FBSDKGraphErrorRecoveryProcessor` and `[FBSDKGraphRequest disableErrorRecovery]`. + */ +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorKey +NS_SWIFT_NAME(GraphRequestErrorKey); + +/* + The userInfo key for the Graph API error code. + */ +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorGraphErrorCodeKey +NS_SWIFT_NAME(GraphRequestErrorGraphErrorCodeKey); + +/* + The userInfo key for the Graph API error subcode. + */ +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorGraphErrorSubcodeKey +NS_SWIFT_NAME(GraphRequestErrorGraphErrorSubcodeKey); + +/* + The userInfo key for the HTTP status code. + */ +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorHTTPStatusCodeKey +NS_SWIFT_NAME(GraphRequestErrorHTTPStatusCodeKey); + +/* + The userInfo key for the raw JSON response. + */ +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorParsedJSONResponseKey +NS_SWIFT_NAME(GraphRequestErrorParsedJSONResponseKey); + +/* + @methodgroup Common Code Block typedefs + */ + +/// Success Block +typedef void (^ FBSDKCodeBlock)(void) +NS_SWIFT_NAME(CodeBlock); + +/// Error Block +typedef void (^ FBSDKErrorBlock)(NSError *_Nullable error) +NS_SWIFT_NAME(ErrorBlock); + +/// Success Block +typedef void (^ FBSDKSuccessBlock)(BOOL success, NSError *_Nullable error) +NS_SWIFT_NAME(SuccessBlock); + +/* + @methodgroup Enums + */ + +#ifndef NS_ERROR_ENUM + #define NS_ERROR_ENUM(_domain, _name) \ + enum _name : NSInteger _name; \ + enum __attribute__((ns_error_domain(_domain))) _name: NSInteger +#endif + +/** + FBSDKCoreError + Error codes for FBSDKErrorDomain. + */ +typedef NS_ERROR_ENUM (FBSDKErrorDomain, FBSDKCoreError) +{ + /// Reserved. + FBSDKErrorReserved = 0, + + /// The error code for errors from invalid encryption on incoming encryption URLs. + FBSDKErrorEncryption, + + /// The error code for errors from invalid arguments to SDK methods. + FBSDKErrorInvalidArgument, + + /// The error code for unknown errors. + FBSDKErrorUnknown, + + /** + A request failed due to a network error. Use NSUnderlyingErrorKey to retrieve + the error object from the NSURLSession for more information. + */ + FBSDKErrorNetwork, + + /// The error code for errors encountered during an App Events flush. + FBSDKErrorAppEventsFlush, + + /** + An endpoint that returns a binary response was used with FBSDKGraphRequestConnection. + + Endpoints that return image/jpg, etc. should be accessed using NSURLRequest + */ + FBSDKErrorGraphRequestNonTextMimeTypeReturned, + + /** + The operation failed because the server returned an unexpected response. + + You can get this error if you are not using the most recent SDK, or you are accessing a version of the + Graph API incompatible with the current SDK. + */ + FBSDKErrorGraphRequestProtocolMismatch, + + /** + The Graph API returned an error. + + See below for useful userInfo keys (beginning with FBSDKGraphRequestError*) + */ + FBSDKErrorGraphRequestGraphAPI, + + /** + The specified dialog configuration is not available. + + This error may signify that the configuration for the dialogs has not yet been downloaded from the server + or that the dialog is unavailable. Subsequent attempts to use the dialog may succeed as the configuration is loaded. + */ + FBSDKErrorDialogUnavailable, + + /// Indicates an operation failed because a required access token was not found. + FBSDKErrorAccessTokenRequired, + + /// Indicates an app switch (typically for a dialog) failed because the destination app is out of date. + FBSDKErrorAppVersionUnsupported, + + /// Indicates an app switch to the browser (typically for a dialog) failed. + FBSDKErrorBrowserUnavailable, + + /// Indicates that a bridge api interaction was interrupted. + FBSDKErrorBridgeAPIInterruption, + + /// Indicates that a bridge api response creation failed. + FBSDKErrorBridgeAPIResponse, +} NS_SWIFT_NAME(CoreError); + +/** + FBSDKGraphRequestError + Describes the category of Facebook error. See `FBSDKGraphRequestErrorKey`. + */ +typedef NS_ENUM(NSUInteger, FBSDKGraphRequestError) { + /// The default error category that is not known to be recoverable. Check `FBSDKLocalizedErrorDescriptionKey` for a user facing message. + FBSDKGraphRequestErrorOther = 0, + /// Indicates the error is temporary (such as server throttling). While a recoveryAttempter will be provided with the error instance, the attempt is guaranteed to succeed so you can simply retry the operation if you do not want to present an alert. + FBSDKGraphRequestErrorTransient = 1, + /// Indicates the error can be recovered (such as requiring a login). A recoveryAttempter will be provided with the error instance that can take UI action. + FBSDKGraphRequestErrorRecoverable = 2, +} NS_SWIFT_NAME(GraphRequestError); + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-Swift.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-Swift.h new file mode 100644 index 0000000..753a7f5 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-Swift.h @@ -0,0 +1,247 @@ +// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +#ifndef FBSDKCOREKIT_SWIFT_H +#define FBSDKCOREKIT_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import Foundation; +@import ObjectiveC; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKCoreKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + +@protocol FBSDKGraphRequestFactory; +@protocol FBSDKSettings; +@class NSString; + +SWIFT_PROTOCOL_NAMED("CAPIReporter") +@protocol FBSDKCAPIReporter +- (void)enable; +- (void)configureWithFactory:(id _Nonnull)factory settings:(id _Nonnull)settings; +- (void)recordEvent:(NSDictionary * _Nonnull)parameters; +@end + + +SWIFT_CLASS("_TtC12FBSDKCoreKit25FBSDKAppEventsCAPIManager") +@interface FBSDKAppEventsCAPIManager : NSObject +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FBSDKAppEventsCAPIManager * _Nonnull shared;) ++ (FBSDKAppEventsCAPIManager * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +- (void)configureWithFactory:(id _Nonnull)factory settings:(id _Nonnull)settings; +- (void)enable; +- (void)recordEvent:(NSDictionary * _Nonnull)parameters; +@end + + +SWIFT_CLASS("_TtC12FBSDKCoreKit35FBSDKTransformerGraphRequestFactory") +@interface FBSDKTransformerGraphRequestFactory : NSObject +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FBSDKTransformerGraphRequestFactory * _Nonnull shared;) ++ (FBSDKTransformerGraphRequestFactory * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +- (void)configureWithDatasetID:(NSString * _Nonnull)datasetID url:(NSString * _Nonnull)url accessKey:(NSString * _Nonnull)accessKey; +- (void)callCapiGatewayAPIWith:(NSDictionary * _Nonnull)parameters; +@end + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h new file mode 100644 index 0000000..8a4569c --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h @@ -0,0 +1,112 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import + +#import + +#if !TARGET_OS_TV + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKCoreKitVersions.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKCoreKitVersions.h new file mode 100644 index 0000000..14be1be --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKCoreKitVersions.h @@ -0,0 +1,10 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#define FBSDK_VERSION_STRING @"13.2.0" +#define FBSDK_DEFAULT_GRAPH_API_VERSION @"v13.0" diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKDeviceButton.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKDeviceButton.h new file mode 100644 index 0000000..73ac851 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKDeviceButton.h @@ -0,0 +1,28 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +/* + An internal base class for device related flows. + + This is an internal API that should not be used directly and is subject to change. + */ +NS_SWIFT_NAME(FBDeviceButton) +@interface FBSDKDeviceButton : FBSDKButton +- (CGSize)sizeThatFits:(CGSize)size attributedTitle:(NSAttributedString *)title; +- (nullable NSAttributedString *)attributedTitleStringFromString:(NSString *)string; +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKDeviceDialogView.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKDeviceDialogView.h new file mode 100644 index 0000000..b98e122 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKDeviceDialogView.h @@ -0,0 +1,45 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(DeviceDialogViewDelegate) +@protocol FBSDKDeviceDialogViewDelegate; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ + +NS_SWIFT_NAME(FBDeviceDialogView) +@interface FBSDKDeviceDialogView : UIView + +@property (nonatomic, weak) id delegate; +@property (nonatomic, copy) NSString *confirmationCode; + +// override point for subclasses. +- (void)buildView; + +@end + +NS_SWIFT_NAME(DeviceDialogViewDelegate) +@protocol FBSDKDeviceDialogViewDelegate + +- (void)deviceDialogViewDidCancel:(FBSDKDeviceDialogView *)deviceDialogView; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKDeviceViewControllerBase.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKDeviceViewControllerBase.h new file mode 100644 index 0000000..b4e309a --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKDeviceViewControllerBase.h @@ -0,0 +1,28 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if TARGET_OS_TV + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/* + An internal base class for device related flows. + + This is an internal API that should not be used directly and is subject to change. + */ +NS_SWIFT_NAME(FBDeviceViewControllerBase) +@interface FBSDKDeviceViewControllerBase : UIViewController +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKDynamicFrameworkLoaderProxy.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKDynamicFrameworkLoaderProxy.h new file mode 100644 index 0000000..a46a303 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKDynamicFrameworkLoaderProxy.h @@ -0,0 +1,29 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(DynamicFrameworkLoaderProxy) +@interface FBSDKDynamicFrameworkLoaderProxy : NSObject +/** + Load the kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly value from the Security Framework + + @return The kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly value or nil. + */ ++ (CFTypeRef)loadkSecAttrAccessibleAfterFirstUnlockThisDeviceOnly; +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKDynamicSocialFrameworkLoader.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKDynamicSocialFrameworkLoader.h new file mode 100644 index 0000000..bad1414 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKDynamicSocialFrameworkLoader.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - Social Constants + +/// Dynamically loaded constant for SLServiceTypeFacebook +FOUNDATION_EXPORT NSString *fbsdkdfl_SLServiceTypeFacebook(void); + +#pragma mark - Social Classes + +FOUNDATION_EXPORT Class fbsdkdfl_SLComposeViewControllerClass(void); + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKErrorCreating.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKErrorCreating.h new file mode 100644 index 0000000..85c9e19 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKErrorCreating.h @@ -0,0 +1,81 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(ErrorCreating) +@protocol FBSDKErrorCreating + +// MARK: - General Errors + +// UNCRUSTIFY_FORMAT_OFF +- (NSError *)errorWithCode:(NSInteger)code + userInfo:(nullable NSDictionary *)userInfo + message:(nullable NSString *)message + underlyingError:(nullable NSError *)underlyingError +NS_SWIFT_NAME(error(code:userInfo:message:underlyingError:)); +// UNCRUSTIFY_FORMAT_ON + +// UNCRUSTIFY_FORMAT_OFF +- (NSError *)errorWithDomain:(NSErrorDomain)domain + code:(NSInteger)code + userInfo:(nullable NSDictionary *)userInfo + message:(nullable NSString *)message + underlyingError:(nullable NSError *)underlyingError +NS_SWIFT_NAME(error(domain:code:userInfo:message:underlyingError:)); +// UNCRUSTIFY_FORMAT_ON + +// MARK: - Invalid Argument Errors + +// UNCRUSTIFY_FORMAT_OFF +- (NSError *)invalidArgumentErrorWithName:(NSString *)name + value:(nullable id)value + message:(nullable NSString *)message + underlyingError:(nullable NSError *)underlyingError +NS_SWIFT_NAME(invalidArgumentError(name:value:message:underlyingError:)); +// UNCRUSTIFY_FORMAT_ON + +// UNCRUSTIFY_FORMAT_OFF +- (NSError *)invalidArgumentErrorWithDomain:(NSErrorDomain)domain + name:(NSString *)name + value:(nullable id)value + message:(nullable NSString *)message + underlyingError:(nullable NSError *)underlyingError +NS_SWIFT_NAME(invalidArgumentError(domain:name:value:message:underlyingError:)); +// UNCRUSTIFY_FORMAT_ON + +// MARK: - Required Argument Errors + +// UNCRUSTIFY_FORMAT_OFF +- (NSError *)requiredArgumentErrorWithName:(NSString *)name + message:(nullable NSString *)message + underlyingError:(nullable NSError *)underlyingError +NS_SWIFT_NAME(requiredArgumentError(name:message:underlyingError:)); +// UNCRUSTIFY_FORMAT_ON + +// UNCRUSTIFY_FORMAT_OFF +- (NSError *)requiredArgumentErrorWithDomain:(NSErrorDomain)domain + name:(NSString *)name + message:(nullable NSString *)message + underlyingError:(nullable NSError *)underlyingError + NS_SWIFT_NAME(requiredArgumentError(domain:name:message:underlyingError:)); +// UNCRUSTIFY_FORMAT_ON + +// MARK: - Unknown Errors + +// UNCRUSTIFY_FORMAT_OFF +- (NSError *)unknownErrorWithMessage:(nullable NSString *)message + userInfo:(nullable NSDictionary *)userInfo +NS_SWIFT_NAME(unknownError(message:userInfo:)); +// UNCRUSTIFY_FORMAT_ON + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKErrorFactory.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKErrorFactory.h new file mode 100644 index 0000000..217c00b --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKErrorFactory.h @@ -0,0 +1,18 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(ErrorFactory) +@interface FBSDKErrorFactory : NSObject + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKErrorRecoveryAttempting.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKErrorRecoveryAttempting.h new file mode 100644 index 0000000..b005f8e --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKErrorRecoveryAttempting.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + A formal protocol very similar to the informal protocol NSErrorRecoveryAttempting + Internal use only + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(ErrorRecoveryAttempting) +@protocol FBSDKErrorRecoveryAttempting + +/** + Attempt the recovery + @param error the error + @param completionHandler the handler called upon completion of error recovery + + Attempt recovery from the error, and call the completion handler. The value passed for didRecover must be YES if error recovery was completely successful, NO otherwise. + */ +- (void)attemptRecoveryFromError:(NSError *)error + completionHandler:(void (^)(BOOL didRecover))completionHandler; +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKFeature.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKFeature.h new file mode 100644 index 0000000..09a72fa --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKFeature.h @@ -0,0 +1,84 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + FBSDKFeature enum + Defines features in SDK + + Sample: + FBSDKFeatureAppEvents = 0x00010000, + ^ ^ ^ ^ + | | | | + kit | | | + feature | | + sub-feature | + sub-sub-feature + 1st byte: kit + 2nd byte: feature + 3rd byte: sub-feature + 4th byte: sub-sub-feature + + @warning INTERNAL - DO NOT USE + */ +typedef NS_ENUM(NSUInteger, FBSDKFeature) { + FBSDKFeatureNone = 0x00000000, + // Features in CoreKit + /// Essential of CoreKit + FBSDKFeatureCore = 0x01000000, + /// App Events + FBSDKFeatureAppEvents = 0x01010000, + FBSDKFeatureCodelessEvents = 0x01010100, + FBSDKFeatureRestrictiveDataFiltering = 0x01010200, + FBSDKFeatureAAM = 0x01010300, + FBSDKFeaturePrivacyProtection = 0x01010400, + FBSDKFeatureSuggestedEvents = 0x01010401, + FBSDKFeatureIntelligentIntegrity = 0x01010402, + FBSDKFeatureModelRequest = 0x01010403, + FBSDKFeatureEventDeactivation = 0x01010500, + FBSDKFeatureSKAdNetwork = 0x01010600, + FBSDKFeatureSKAdNetworkConversionValue = 0x01010601, + FBSDKFeatureATELogging = 0x01010700, + FBSDKFeatureAEM = 0x01010800, + FBSDKFeatureAEMConversionFiltering = 0x01010801, + FBSDKFeatureAEMCatalogMatching = 0x01010802, + FBSDKFeatureAppEventsCloudbridge = 0x01010900, + /// Instrument + FBSDKFeatureInstrument = 0x01020000, + FBSDKFeatureCrashReport = 0x01020100, + FBSDKFeatureCrashShield = 0x01020101, + FBSDKFeatureErrorReport = 0x01020200, + + // Features in LoginKit + /// Essential of LoginKit + FBSDKFeatureLogin = 0x02000000, + + // Features in ShareKit + /// Essential of ShareKit + FBSDKFeatureShare = 0x03000000, + + // Features in GamingServicesKit + /// Essential of GamingServicesKit + FBSDKFeatureGamingServices = 0x04000000, +} NS_SWIFT_NAME(SDKFeature); + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +typedef void (^FBSDKFeatureManagerBlock)(BOOL enabled); + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKFeatureChecking.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKFeatureChecking.h new file mode 100644 index 0000000..bdb5d53 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKFeatureChecking.h @@ -0,0 +1,29 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(FeatureChecking) +@protocol FBSDKFeatureChecking + +- (BOOL)isEnabled:(FBSDKFeature)feature; + +- (void)checkFeature:(FBSDKFeature)feature + completionBlock:(FBSDKFeatureManagerBlock)completionBlock; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h new file mode 100644 index 0000000..1fee9dd --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h @@ -0,0 +1,97 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +@class FBSDKGraphErrorRecoveryProcessor; +@protocol FBSDKGraphRequest; + +/// Defines a delegate for `FBSDKGraphErrorRecoveryProcessor`. +NS_SWIFT_NAME(GraphErrorRecoveryProcessorDelegate) +@protocol FBSDKGraphErrorRecoveryProcessorDelegate + +/** + 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:(nullable NSError *)error; + +@optional +/** + Indicates the processor is about to process the error. + @param processor the processor instance. + @param error the error is about to be processed. + + return NO if the processor should not process the error. For example, + if you want to prevent alerts of localized messages but otherwise perform retries and recoveries, + you could return NO for errors where userInfo[FBSDKGraphRequestErrorKey] equal to FBSDKGraphRequestErrorOther + */ +- (BOOL)processorWillProcessError:(FBSDKGraphErrorRecoveryProcessor *)processor + error:(nullable NSError *)error; + +@end + +NS_ASSUME_NONNULL_END + +NS_ASSUME_NONNULL_BEGIN + +/** + Defines a type that can process Facebook NSErrors with best practices. + + 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 FBSDKGraphRequestErrorKey, assume the recovery succeeded and + notify the delegate. + 2. If a FBSDKErrorRecoveryAttempting instance is available, display an alert (dispatched to main thread) + with the recovery options and call the instance's attemptRecoveryFromError method. + 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 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. + . + */ +NS_SWIFT_NAME(GraphErrorRecoveryProcessor) +@interface FBSDKGraphErrorRecoveryProcessor : NSObject + +/// Initializes a GraphErrorRecoveryProcessor with an access token string. +- (instancetype)initWithAccessTokenString:(NSString *)accessTokenString; + +/** + Attempts to process the error, return YES if the error can be processed. + @param error the error to process. + @param request the related request that may be reissued. + @param delegate the delegate that will be retained until recovery is complete. + */ +- (BOOL)processError:(NSError *)error + request:(id)request + delegate:(nullable id)delegate; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h new file mode 100644 index 0000000..bd14952 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h @@ -0,0 +1,167 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import +#import +#import +#import +#import + +NS_ASSUME_NONNULL_BEGIN +/** + Represents a request to the Facebook Graph API. + + `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 + */ +NS_SWIFT_NAME(GraphRequest) +@interface FBSDKGraphRequest : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +// UNCRUSTIFY_FORMAT_OFF ++ (void) configureWithSettings:(id)settings + currentAccessTokenStringProvider:(Class)accessTokenProvider + graphRequestConnectionFactory:(id)_graphRequestConnectionFactory +NS_SWIFT_NAME(configure(settings:currentAccessTokenStringProvider:graphRequestConnectionFactory:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Initializes a new instance that use use `[FBSDKAccessToken currentAccessToken]`. + @param graphPath the graph path (e.g., @"me"). + */ +- (instancetype)initWithGraphPath:(NSString *)graphPath; + +/** + Initializes a new instance that use use `[FBSDKAccessToken currentAccessToken]`. + @param graphPath the graph path (e.g., @"me"). + @param method the HTTP method. Empty String defaults to @"GET". + */ +- (instancetype)initWithGraphPath:(NSString *)graphPath + HTTPMethod:(FBSDKHTTPMethod)method; + +/** + 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; + +/** + Initializes a new instance that use use `[FBSDKAccessToken currentAccessToken]`. + @param graphPath the graph path (e.g., @"me"). + @param parameters the optional parameters dictionary. + @param method the HTTP method. Empty String defaults to @"GET". + */ +- (instancetype)initWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + HTTPMethod:(FBSDKHTTPMethod)method; + +/** + 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 `[FBSDKSettings graphAPIVersion]`. + @param method the HTTP method. Empty String defaults to @"GET". + */ +- (instancetype)initWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + tokenString:(nullable NSString *)tokenString + version:(nullable NSString *)version + HTTPMethod:(FBSDKHTTPMethod)method + NS_DESIGNATED_INITIALIZER; + +/** + Initializes a new instance. + @param graphPath the graph path (e.g., @"me"). + @param parameters the optional parameters dictionary. + @param requestFlags flags that indicate how a graph request should be treated in various scenarios + */ +- (instancetype)initWithGraphPath:(NSString *)graphPath + parameters:(nullable NSDictionary *)parameters + flags:(FBSDKGraphRequestFlags)requestFlags; + +/** + 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 HTTPMethod the HTTP method. Empty String defaults to @"GET". + @param flags flags that indicate how a graph request should be treated in various scenarios + */ +- (instancetype)initWithGraphPath:(NSString *)graphPath + parameters:(nullable NSDictionary *)parameters + tokenString:(nullable NSString *)tokenString + HTTPMethod:(nullable NSString *)HTTPMethod + flags:(FBSDKGraphRequestFlags)flags; + +/// The request parameters. +@property (nonatomic, copy) NSDictionary *parameters; + +/// The access token string used by the request. +@property (nullable, nonatomic, readonly, copy) NSString *tokenString; + +/// The Graph API endpoint to use for the request, for example "me". +@property (nonatomic, readonly, copy) NSString *graphPath; + +/// The HTTPMethod to use for the request, for example "GET" or "POST". +@property (nonatomic, readonly, copy) FBSDKHTTPMethod HTTPMethod; + +/// The Graph API version to use (e.g., "v2.0") +@property (nonatomic, readonly, copy) NSString *version; + +/** + If set, disables the automatic error recovery mechanism. + @param disable whether to disable the automatic error recovery mechanism + + By default, non-batched FBSDKGraphRequest instances will automatically try to recover + from errors by constructing a `FBSDKGraphErrorRecoveryProcessor` instance that + 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:]. + */ + +// UNCRUSTIFY_FORMAT_OFF +- (void)setGraphErrorRecoveryDisabled:(BOOL)disable +NS_SWIFT_NAME(setGraphErrorRecovery(disabled:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Starts a connection to the Graph API. + @param completion The handler block to call when the request completes. + */ +- (id)startWithCompletion:(nullable FBSDKGraphRequestCompletion)completion; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnecting.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnecting.h new file mode 100644 index 0000000..a64cb00 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnecting.h @@ -0,0 +1,54 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol FBSDKGraphRequest; +@protocol FBSDKGraphRequestConnecting; +@protocol FBSDKGraphRequestConnectionDelegate; + +/** + FBSDKGraphRequestCompletion + + A block that is passed to addRequest to register for a callback with the results of that + request once the connection completes. + + 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 connection 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. + */ +NS_SWIFT_NAME(GraphRequestCompletion) +typedef void (^FBSDKGraphRequestCompletion)(id _Nullable connection, + id _Nullable result, + NSError *_Nullable error); + +/// A protocol to describe an object that can manage graph requests +NS_SWIFT_NAME(GraphRequestConnecting) +@protocol FBSDKGraphRequestConnecting + +@property (nonatomic, assign) NSTimeInterval timeout; +@property (nullable, nonatomic, weak) id delegate; + +- (void)addRequest:(id)request + completion:(FBSDKGraphRequestCompletion)handler; + +- (void)start; +- (void)cancel; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h new file mode 100644 index 0000000..99966bf --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h @@ -0,0 +1,173 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + The key in the result dictionary for requests to old versions of the Graph API + whose response is not a JSON object. + + 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. + */ +FOUNDATION_EXPORT NSString *const FBSDKNonJSONResponseProperty +NS_SWIFT_NAME(NonJSONResponseProperty); + +@protocol FBSDKGraphRequest; + +/** + The `FBSDKGraphRequestConnection` represents a single connection to Facebook to service a request. + + 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. + */ +NS_SWIFT_NAME(GraphRequestConnection) +@interface FBSDKGraphRequestConnection : NSObject + +/// The default timeout on all FBSDKGraphRequestConnection instances. Defaults to 60 seconds. +@property (class, nonatomic, assign) NSTimeInterval defaultConnectionTimeout; + +/// The delegate object that receives updates. +@property (nullable, nonatomic, weak) id delegate; + +/// Gets or sets the timeout interval to wait for a response before giving up. +@property (nonatomic, assign) NSTimeInterval timeout; + +/** + The raw response that was returned from the server. (readonly) + + 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 FBSDKGraphRequestBlock callback. + */ +@property (nullable, nonatomic, readonly, retain) NSHTTPURLResponse *urlResponse; + +/** + Determines the operation queue that is used to call methods on the connection's delegate. + + 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. + */ +@property (nullable, nonatomic) NSOperationQueue *delegateQueue; + +/// @methodgroup Class methods + +/// @methodgroup Adding requests + +/** + @method + + This method adds an object to this connection. + + @param request A request to be included in the round-trip when start is called. + @param completion A handler to call back when the round-trip completes or times out. + + The completion handler is retained until the block is called upon the + completion or cancellation of the connection. + */ +- (void)addRequest:(id)request + completion:(FBSDKGraphRequestCompletion)completion; + +/** + @method + + This method adds an object to this connection. + + @param request A request to be included in the round-trip when start is called. + + @param completion A handler to call back when the round-trip completes or times out. + The handler will be invoked on the main thread. + + @param name A 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/ ). + + 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:(id)request + name:(NSString *)name + completion:(FBSDKGraphRequestCompletion)completion; + +/** + @method + + This method adds an object to this connection. + + @param request A request to be included in the round-trip when start is called. + + @param completion A handler to call back when the round-trip completes or times out. + + @param parameters The 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". + + 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:(id)request + parameters:(nullable NSDictionary *)parameters + completion:(FBSDKGraphRequestCompletion)completion; + +/// @methodgroup Instance methods + +/** + @method + + Signals that a connection should be logically terminated as the + application is no longer interested in a response. + + 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 + + This method starts a connection with the server and is capable of handling all of the + requests that were added to the connection. + + 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; + +/** + @method + + Overrides the default version for a batch request + + 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)overrideGraphAPIVersion:(NSString *)version; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionDelegate.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionDelegate.h new file mode 100644 index 0000000..738ad47 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionDelegate.h @@ -0,0 +1,93 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + @protocol + + The `FBSDKGraphRequestConnectionDelegate` protocol defines the methods used to receive network + activity progress information from a . + */ +NS_SWIFT_NAME(GraphRequestConnectionDelegate) +@protocol FBSDKGraphRequestConnectionDelegate + +@optional + +/** + @method + + Tells the delegate the request connection will begin loading + + 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:(id)connection; + +/** + @method + + Tells the delegate the request connection finished loading + + If the request connection completes without a network error occurring 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 FBSDKGraphRequestBlock + 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:(id)connection; + +/** + @method + + Tells the delegate the request connection failed with an error + + 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 + FBSDKGraphRequestBlock 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:(id)connection + didFailWithError:(NSError *)error; + +/** + @method + + Tells the delegate how much data has been sent and is planned to send to the remote host + + The byte count arguments refer to the aggregated objects, not a particular . + + Like `NSURLSession`, 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:(id)connection + didSendBodyData:(NSInteger)bytesWritten + totalBytesWritten:(NSInteger)totalBytesWritten + totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactory.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactory.h new file mode 100644 index 0000000..19e62d2 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactory.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal type not intended for use outside of the SDKs. + + A factory for providing objects that conform to `GraphRequestConnecting`. + */ +NS_SWIFT_NAME(GraphRequestConnectionFactory) +@interface FBSDKGraphRequestConnectionFactory : NSObject +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactoryProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactoryProtocol.h new file mode 100644 index 0000000..96b43df --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactoryProtocol.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol FBSDKGraphRequestConnecting; + +/// Describes anything that can provide instances of `FBSDKGraphRequestConnecting` +NS_SWIFT_NAME(GraphRequestConnectionFactoryProtocol) +@protocol FBSDKGraphRequestConnectionFactory + +- (id)createGraphRequestConnection; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h new file mode 100644 index 0000000..3775cb4 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h @@ -0,0 +1,42 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// A container class for data attachments so that additional metadata can be provided about the attachment. +NS_SWIFT_NAME(GraphRequestDataAttachment) +@interface FBSDKGraphRequestDataAttachment : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + 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; + +/// The content type for the attachment. +@property (nonatomic, readonly, copy) NSString *contentType; + +/// The attachment data. +@property (nonatomic, readonly, strong) NSData *data; + +/// The filename for the attachment. +@property (nonatomic, readonly, copy) NSString *filename; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactory.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactory.h new file mode 100644 index 0000000..6661ac1 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactory.h @@ -0,0 +1,26 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol FBSDKGraphRequestFactory; + +/** + Internal type not intended for use outside of the SDKs. + + A factory for providing objects that conform to `GraphRequest` + */ +NS_SWIFT_NAME(GraphRequestFactory) +@interface FBSDKGraphRequestFactory : NSObject +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactoryProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactoryProtocol.h new file mode 100644 index 0000000..eb85a3b --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactoryProtocol.h @@ -0,0 +1,54 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +@protocol FBSDKGraphRequest; + +typedef NSString *const FBSDKHTTPMethod NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(HTTPMethod); + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal type not intended for use outside of the SDKs. + +Describes anything that can provide instances of `GraphRequestProtocol` + */ +NS_SWIFT_NAME(GraphRequestFactoryProtocol) +@protocol FBSDKGraphRequestFactory + +- (id)createGraphRequestWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + tokenString:(nullable NSString *)tokenString + HTTPMethod:(nullable FBSDKHTTPMethod)method + flags:(FBSDKGraphRequestFlags)flags; + +- (id)createGraphRequestWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters; + +- (id)createGraphRequestWithGraphPath:(NSString *)graphPath; + +- (id)createGraphRequestWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + HTTPMethod:(FBSDKHTTPMethod)method; + +- (id)createGraphRequestWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + tokenString:(nullable NSString *)tokenString + version:(nullable NSString *)version + HTTPMethod:(FBSDKHTTPMethod)method; + +- (id)createGraphRequestWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + flags:(FBSDKGraphRequestFlags)flags; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFlags.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFlags.h new file mode 100644 index 0000000..68e7c8d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFlags.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Flags that indicate how a graph request should be treated in various scenarios +typedef NS_OPTIONS(NSUInteger, FBSDKGraphRequestFlags) { + FBSDKGraphRequestFlagNone = 0, + /// indicates this request should not use a client token as its token parameter + FBSDKGraphRequestFlagSkipClientToken = 1 << 1, + /// indicates this request should not close the session if its response is an oauth error + FBSDKGraphRequestFlagDoNotInvalidateTokenOnError = 1 << 2, + /// indicates this request should not perform error recovery + FBSDKGraphRequestFlagDisableErrorRecovery = 1 << 3, +} NS_SWIFT_NAME(GraphRequestFlags); + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestHTTPMethod.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestHTTPMethod.h new file mode 100644 index 0000000..e79728d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestHTTPMethod.h @@ -0,0 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/// typedef for FBSDKHTTPMethod +typedef NSString *const FBSDKHTTPMethod NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(HTTPMethod); + +/// GET Request +FOUNDATION_EXPORT FBSDKHTTPMethod FBSDKHTTPMethodGET NS_SWIFT_NAME(get); + +/// POST Request +FOUNDATION_EXPORT FBSDKHTTPMethod FBSDKHTTPMethodPOST NS_SWIFT_NAME(post); + +/// DELETE Request +FOUNDATION_EXPORT FBSDKHTTPMethod FBSDKHTTPMethodDELETE NS_SWIFT_NAME(delete); diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestProtocol.h new file mode 100644 index 0000000..6cc4da3 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestProtocol.h @@ -0,0 +1,66 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +@class FBSDKGraphRequestConnection; +@protocol FBSDKGraphRequestConnecting; + +typedef void (^FBSDKGraphRequestCompletion)(id _Nullable connection, + id _Nullable result, + NSError *_Nullable error); + +typedef void (^FBSDKGraphRequestBlock)(FBSDKGraphRequestConnection *_Nullable connection, + id _Nullable result, + NSError *_Nullable error); + +/// A protocol to describe anything that represents a graph request +NS_SWIFT_NAME(GraphRequestProtocol) +@protocol FBSDKGraphRequest + +/// The request parameters. +@property (nonatomic, copy) NSDictionary *parameters; + +/// The access token string used by the request. +@property (nullable, nonatomic, readonly, copy) NSString *tokenString; + +/// The Graph API endpoint to use for the request, for example "me". +@property (nonatomic, readonly, copy) NSString *graphPath; + +/// The HTTPMethod to use for the request, for example "GET" or "POST". +@property (nonatomic, readonly, copy) FBSDKHTTPMethod HTTPMethod; + +/// The Graph API version to use (e.g., "v2.0") +@property (nonatomic, readonly, copy) NSString *version; + +/// The graph request flags to use +@property (nonatomic, readonly, assign) FBSDKGraphRequestFlags flags; + +/// Convenience property to determine if graph error recover is disabled +@property (nonatomic, getter = isGraphErrorRecoveryDisabled) BOOL graphErrorRecoveryDisabled; + +/// Convenience property to determine if the request has attachments +@property (nonatomic, readonly) BOOL hasAttachments; + +/** + Starts a connection to the Graph API. + @param completion The handler block to call when the request completes. + */ +- (id)startWithCompletion:(nullable FBSDKGraphRequestCompletion)completion; + +/// A formatted description of the graph request +- (NSString *)formattedDescription; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKIcon.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKIcon.h new file mode 100644 index 0000000..0404e39 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKIcon.h @@ -0,0 +1,26 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(Icon) +@interface FBSDKIcon : NSObject + +- (nullable CGPathRef)pathWithSize:(CGSize)size; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKImpressionLoggingButton.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKImpressionLoggingButton.h new file mode 100644 index 0000000..4202de7 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKImpressionLoggingButton.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(ImpressionLoggingButton) +@interface FBSDKImpressionLoggingButton : UIButton +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKInternalUtility.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKInternalUtility.h new file mode 100644 index 0000000..c48e086 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKInternalUtility.h @@ -0,0 +1,83 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import + +#import +#import +#import +#import + +#if !TARGET_OS_TV + #import +#endif + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(InternalUtility) +@interface FBSDKInternalUtility : NSObject +#if !TARGET_OS_TV + +#else + +#endif + +#if !DEBUG +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; +#endif + +@property (class, nonnull, readonly) FBSDKInternalUtility *sharedUtility; + +/** + Returns bundle for returning localized strings + + We assume a convention of a bundle named FBSDKStrings.bundle, otherwise we + return the main bundle. + */ +@property (nonatomic, readonly, strong) NSBundle *bundleForStrings; + +/** + Tests whether the supplied URL is a valid URL for opening in the browser. + @param URL The URL to test. + @return YES if the URL refers to an http or https resource, otherwise NO. + */ +- (BOOL)isBrowserURL:(NSURL *)URL; + +/** + Checks equality between 2 objects. + + Checks for pointer equality, nils, isEqual:. + @param object The first object to compare. + @param other The second object to compare. + @return YES if the objects are equal, otherwise NO. + */ +- (BOOL)object:(id)object isEqualToObject:(id)other; + +/// Attempts to find the first UIViewController in the view's responder chain. Returns nil if not found. +- (nullable UIViewController *)viewControllerForView:(UIView *)view; + +/// returns true if the url scheme is registered in the CFBundleURLTypes +- (BOOL)isRegisteredURLScheme:(NSString *)urlScheme; + +/// returns currently displayed top view controller. +- (nullable UIViewController *)topMostViewController; + +/// returns the current key window +- (nullable UIWindow *)findWindow; + +#pragma mark - FB Apps Installed + +@property (nonatomic, readonly, assign) BOOL isMessengerAppInstalled; + +- (BOOL)isRegisteredCanOpenURLScheme:(NSString *)urlScheme; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKInternalUtilityProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKInternalUtilityProtocol.h new file mode 100644 index 0000000..1084682 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKInternalUtilityProtocol.h @@ -0,0 +1,135 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(InternalUtilityProtocol) +@protocol FBSDKInternalUtility + +#pragma mark - FB Apps Installed + +@property (nonatomic, readonly) BOOL isFacebookAppInstalled; + +/* + Checks if the app is Unity. + */ +@property (nonatomic, readonly) BOOL isUnity; + +/** + Constructs an NSURL. + @param scheme The scheme for the URL. + @param host The host for the URL. + @param path The path for the URL. + @param queryParameters The query parameters for the URL. This will be converted into a query string. + @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. + @return The URL. + */ +- (nullable NSURL *)URLWithScheme:(NSString *)scheme + host:(NSString *)host + path:(NSString *)path + queryParameters:(NSDictionary *)queryParameters + error:(NSError *__autoreleasing *)errorRef; + +/** + Constructs an URL for the current app. + @param host The host for the URL. + @param path The path for the URL. + @param queryParameters The query parameters for the URL. This will be converted into a query string. + @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. + @return The app URL. + */ +- (nullable NSURL *)appURLWithHost:(NSString *)host + path:(NSString *)path + queryParameters:(NSDictionary *)queryParameters + error:(NSError *__autoreleasing *)errorRef; + +/** + Constructs a Facebook URL. + @param hostPrefix The prefix for the host, such as 'm', 'graph', etc. + @param path The path for the URL. This may or may not include a version. + @param queryParameters The query parameters for the URL. This will be converted into a query string. + @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. + @return The Facebook URL. + */ +- (nullable NSURL *)facebookURLWithHostPrefix:(NSString *)hostPrefix + path:(NSString *)path + queryParameters:(NSDictionary *)queryParameters + error:(NSError *__autoreleasing *)errorRef; + +/** + Registers a transient object so that it will not be deallocated until unregistered + @param object The transient object + */ +- (void)registerTransientObject:(id)object; + +/** + Unregisters a transient object that was previously registered with registerTransientObject: + @param object The transient object + */ +- (void)unregisterTransientObject:(__weak id)object; + +- (void)checkRegisteredCanOpenURLScheme:(NSString *)urlScheme; + +/// Validates that the right URL schemes are registered, throws an NSException if not. +- (void)validateURLSchemes; + +/// add data processing options to the dictionary. +- (void)extendDictionaryWithDataProcessingOptions:(NSMutableDictionary *)parameters; + +/// Converts NSData to a hexadecimal UTF8 String. +- (nullable NSString *)hexadecimalStringFromData:(NSData *)data; + +/// validates that the app ID is non-nil, throws an NSException if nil. +- (void)validateAppID; + +/** + Validates that the client access token is non-nil, otherwise - throws an NSException otherwise. + Returns the composed client access token. + */ +- (NSString *)validateRequiredClientAccessToken; + +/** + Extracts permissions from a response fetched from me/permissions + @param responseObject the response + @param grantedPermissions the set to add granted permissions to + @param declinedPermissions the set to add declined permissions to. + */ +- (void)extractPermissionsFromResponse:(NSDictionary *)responseObject + grantedPermissions:(NSMutableSet *)grantedPermissions + declinedPermissions:(NSMutableSet *)declinedPermissions + expiredPermissions:(NSMutableSet *)expiredPermissions; + +/// validates that Facebook reserved URL schemes are not registered, throws an NSException if they are. +- (void)validateFacebookReservedURLSchemes; + +/** + Parses an FB url's query params (and potentially fragment) into a dictionary. + @param url The FB url. + @return A dictionary with the key/value pairs. + */ +- (NSDictionary *)parametersFromFBURL:(NSURL *)url; + +/** + Returns bundle for returning localized strings + + We assume a convention of a bundle named FBSDKStrings.bundle, otherwise we + return the main bundle. + */ +@property (nonatomic, readonly, strong) NSBundle *bundleForStrings; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKKeychainStore.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKKeychainStore.h new file mode 100644 index 0000000..a4292d5 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKKeychainStore.h @@ -0,0 +1,34 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(KeychainStore) +@interface FBSDKKeychainStore : NSObject + +@property (nonatomic, readonly, copy) NSString *service; +@property (nullable, nonatomic, readonly, copy) NSString *accessGroup; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +- (instancetype)initWithService:(NSString *)service accessGroup:(nullable NSString *)accessGroup NS_DESIGNATED_INITIALIZER; + +- (BOOL)setData:(nullable NSData *)value forKey:(NSString *)key accessibility:(CFTypeRef)accessibility; +- (nullable NSData *)dataForKey:(NSString *)key; + +// hook for subclasses to override keychain query construction. +- (NSMutableDictionary *)queryForKey:(NSString *)key; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreFactory.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreFactory.h new file mode 100644 index 0000000..149c59d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreFactory.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal type not intended for use outside of the SDKs. + + A factory for providing objects that conform to `KeychainStore` + */ +NS_SWIFT_NAME(KeychainStoreFactory) +@interface FBSDKKeychainStoreFactory : NSObject +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProtocol.h new file mode 100644 index 0000000..4f8636a --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProtocol.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(KeychainStoreProtocol) +@protocol FBSDKKeychainStore + +- (nullable NSString *)stringForKey:(NSString *)key; +- (nullable NSDictionary *)dictionaryForKey:(NSString *)key; + +- (BOOL)setString:(nullable NSString *)value forKey:(NSString *)key accessibility:(nullable CFTypeRef)accessibility; +- (BOOL)setDictionary:(nullable NSDictionary *)value forKey:(NSString *)key accessibility:(nullable CFTypeRef)accessibility; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProviding.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProviding.h new file mode 100644 index 0000000..af0263c --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProviding.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(KeychainStoreProviding) +@protocol FBSDKKeychainStoreProviding + +- (nonnull id)createKeychainStoreWithService:(NSString *)service + accessGroup:(nullable NSString *)accessGroup; +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKLocation.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKLocation.h new file mode 100644 index 0000000..e9fd130 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKLocation.h @@ -0,0 +1,34 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(Location) +@interface FBSDKLocation : NSObject + +/// Location id +@property (nonatomic, readonly, strong) NSString *id; +/// Location name +@property (nonatomic, readonly, strong) NSString *name; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + Returns a Location object from a dinctionary containing valid location information. + @param dictionary The dictionary containing raw location + + Valid location will consist of "id" and "name" strings. + */ ++ (nullable instancetype)locationFromDictionary:(NSDictionary *)dictionary; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKLogger.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKLogger.h new file mode 100644 index 0000000..d6a3100 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKLogger.h @@ -0,0 +1,38 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Simple logging utility for conditionally logging strings and then emitting them + via NSLog(). + + @unsorted + + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(Logger) +@interface FBSDKLogger : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +// Simple helper to write a single log entry, based upon whether the behavior matches a specified on. ++ (void)singleShotLogEntry:(FBSDKLoggingBehavior)loggingBehavior + logEntry:(NSString *)logEntry; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKLogging.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKLogging.h new file mode 100644 index 0000000..dbef541 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKLogging.h @@ -0,0 +1,30 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(Logging) +@protocol FBSDKLogging + +@property (nonatomic, readonly, copy) NSString *contents; +@property (nonatomic, readonly, copy) FBSDKLoggingBehavior loggingBehavior; + +- (instancetype)initWithLoggingBehavior:(FBSDKLoggingBehavior)loggingBehavior; + ++ (void)singleShotLogEntry:(FBSDKLoggingBehavior)loggingBehavior + logEntry:(NSString *)logEntry; + +- (void)logEntry:(NSString *)logEntry; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKLoggingBehavior.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKLoggingBehavior.h new file mode 100644 index 0000000..900542d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKLoggingBehavior.h @@ -0,0 +1,51 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/* + * Constants defining logging behavior. Use with <[FBSDKSettings setLoggingBehavior]>. + */ + +typedef NSString *FBSDKLoggingBehavior NS_TYPED_ENUM NS_SWIFT_NAME(LoggingBehavior); + +/// Include access token in logging. +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorAccessTokens; + +/// Log performance characteristics +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorPerformanceCharacteristics; + +/// Log FBSDKAppEvents interactions +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorAppEvents; + +/// Log Informational occurrences +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorInformational; + +/// Log cache errors. +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorCacheErrors; + +/// Log errors from SDK UI controls +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorUIControlErrors; + +/// Log debug warnings from API response, i.e. when friends fields requested, but user_friends permission isn't granted. +FOUNDATION_EXPORT FBSDKLoggingBehavior 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. + */ +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorGraphAPIDebugInfo; + +/// Log errors from SDK network requests +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorNetworkRequests; + +/// Log errors likely to be preventable by the developer. This is in the default set of enabled logging behaviors. +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorDeveloperErrors; + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKLoginTooltip.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKLoginTooltip.h new file mode 100644 index 0000000..a663749 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKLoginTooltip.h @@ -0,0 +1,31 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** +Internal Type exposed to facilitate transition to Swift. +API Subject to change or removal without warning. Do not use. + +@warning INTERNAL - DO NOT USE + */ +@interface FBSDKLoginTooltip : NSObject +@property (nonatomic, readonly, getter = isEnabled, assign) BOOL enabled; +@property (nonatomic, readonly, copy) NSString *text; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +- (instancetype)initWithText:(NSString *)text + enabled:(BOOL)enabled + NS_DESIGNATED_INITIALIZER; +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKMeasurementEvent.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKMeasurementEvent.h new file mode 100644 index 0000000..3403551 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKMeasurementEvent.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(MeasurementEvent) +@interface FBSDKMeasurementEvent : NSObject + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h new file mode 100644 index 0000000..219d3fe --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Extension protocol for NSMutableCopying that adds the mutableCopy method, which is implemented on NSObject. + + NSObject implicitly conforms to this protocol. + */ +NS_SWIFT_NAME(MutableCopying) +@protocol FBSDKMutableCopying + +/** + Implemented by NSObject as a convenience to mutableCopyWithZone:. + @return A mutable copy of the receiver. + */ +- (id)mutableCopy; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKNetworkErrorChecker.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKNetworkErrorChecker.h new file mode 100644 index 0000000..5b157c2 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKNetworkErrorChecker.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Concrete type providing functionality that checks whether an error represents a + network error. + */ +NS_SWIFT_NAME(NetworkErrorChecker) +@interface FBSDKNetworkErrorChecker : NSObject + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKNetworkErrorChecking.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKNetworkErrorChecking.h new file mode 100644 index 0000000..2868737 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKNetworkErrorChecking.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_SWIFT_NAME(NetworkErrorChecking) +@protocol FBSDKNetworkErrorChecking + +/** + Checks whether an error is a network error. + + @param error An error that may or may not represent a network error. + + @return `YES` if the error represents a network error, otherwise `NO`. + */ +- (BOOL)isNetworkError:(NSError *)error; + +@end diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKProductAvailability.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKProductAvailability.h new file mode 100644 index 0000000..fa8f4cd --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKProductAvailability.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** + NS_ENUM(NSUInteger, FBSDKProductAvailability) + Specifies product availability for Product Catalog product item update + */ +typedef NS_ENUM(NSUInteger, FBSDKProductAvailability) { + /// Item ships immediately + FBSDKProductAvailabilityInStock = 0, + /// No plan to restock + FBSDKProductAvailabilityOutOfStock, + /// Available in future + FBSDKProductAvailabilityPreOrder, + /// Ships in 1-2 weeks + FBSDKProductAvailabilityAvailableForOrder, + /// Discontinued + FBSDKProductAvailabilityDiscontinued, +} NS_SWIFT_NAME(AppEvents.ProductAvailability); diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKProductCondition.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKProductCondition.h new file mode 100644 index 0000000..41e23b1 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKProductCondition.h @@ -0,0 +1,17 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** + NS_ENUM(NSUInteger, FBSDKProductCondition) + Specifies product condition for Product Catalog product item update + */ +typedef NS_ENUM(NSUInteger, FBSDKProductCondition) { + FBSDKProductConditionNew = 0, + FBSDKProductConditionRefurbished, + FBSDKProductConditionUsed, +} NS_SWIFT_NAME(AppEvents.ProductCondition); diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKProfile.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKProfile.h new file mode 100644 index 0000000..a38aa45 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKProfile.h @@ -0,0 +1,289 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +@class FBSDKLocation; +@class FBSDKProfile; +@class FBSDKUserAgeRange; + +NS_ASSUME_NONNULL_BEGIN + +/** + Notification indicating that the `currentProfile` has changed. + + the userInfo dictionary of the notification will contain keys + `FBSDKProfileChangeOldKey` and + `FBSDKProfileChangeNewKey`. + */ +FOUNDATION_EXPORT NSNotificationName const FBSDKProfileDidChangeNotification +NS_SWIFT_NAME(ProfileDidChange); + +/* key in notification's userInfo object for getting the old profile. + + If there was no old profile, the key will not be present. + */ +FOUNDATION_EXPORT NSString *const FBSDKProfileChangeOldKey +NS_SWIFT_NAME(ProfileChangeOldKey); + +/* key in notification's userInfo object for getting the new profile. + + If there is no new profile, the key will not be present. + */ +FOUNDATION_EXPORT NSString *const FBSDKProfileChangeNewKey +NS_SWIFT_NAME(ProfileChangeNewKey); + +/** + Describes the callback for loadCurrentProfileWithCompletion. + @param profile the FBSDKProfile + @param error the error during the request, if any + */ +typedef void (^ FBSDKProfileBlock)(FBSDKProfile *_Nullable profile, NSError *_Nullable error) +NS_SWIFT_NAME(ProfileBlock); + +/// Represents the unique identifier for an end user +typedef NSString FBSDKUserIdentifier + NS_SWIFT_NAME(UserIdentifier); + +/** + Represents an immutable Facebook profile + + 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". + */ +NS_SWIFT_NAME(Profile) +@interface FBSDKProfile : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + 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:(FBSDKUserIdentifier *)userID + firstName:(nullable NSString *)firstName + middleName:(nullable NSString *)middleName + lastName:(nullable NSString *)lastName + name:(nullable NSString *)name + linkURL:(nullable NSURL *)linkURL + refreshDate:(nullable NSDate *)refreshDate; + +/** + @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]. + @param imageURL an optional URL to use for fetching a user's profile image + @param email the user's email + @param friendIDs a list of identifiers for the user's friends + @param birthday the user's birthday + @param ageRange the user's age range + @param hometown the user's hometown + @param location the user's location + @param gender the user's gender + @param isLimited indicates if the information provided is incomplete in some way. + When true, `loadCurrentProfileWithCompletion:` will assume the profile is + incomplete and disregard any cached profile. Defaults to false. + */ +- (instancetype)initWithUserID:(FBSDKUserIdentifier *)userID + firstName:(nullable NSString *)firstName + middleName:(nullable NSString *)middleName + lastName:(nullable NSString *)lastName + name:(nullable NSString *)name + linkURL:(nullable NSURL *)linkURL + refreshDate:(nullable NSDate *)refreshDate + imageURL:(nullable NSURL *)imageURL + email:(nullable NSString *)email + friendIDs:(nullable NSArray *)friendIDs + birthday:(nullable NSDate *)birthday + ageRange:(nullable FBSDKUserAgeRange *)ageRange + hometown:(nullable FBSDKLocation *)hometown + location:(nullable FBSDKLocation *)location + gender:(nullable NSString *)gender + isLimited:(BOOL)isLimited; + +/** + 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]. + @param imageURL an optional URL to use for fetching a user's profile image + @param email the user's email + @param friendIDs a list of identifiers for the user's friends + @param birthday the user's birthday + @param ageRange the user's age range + @param hometown the user's hometown + @param location the user's location + @param gender the user's gender + */ +- (instancetype)initWithUserID:(FBSDKUserIdentifier *)userID + firstName:(nullable NSString *)firstName + middleName:(nullable NSString *)middleName + lastName:(nullable NSString *)lastName + name:(nullable NSString *)name + linkURL:(nullable NSURL *)linkURL + refreshDate:(nullable NSDate *)refreshDate + imageURL:(nullable NSURL *)imageURL + email:(nullable NSString *)email + friendIDs:(nullable NSArray *)friendIDs + birthday:(nullable NSDate *)birthday + ageRange:(nullable FBSDKUserAgeRange *)ageRange + hometown:(nullable FBSDKLocation *)hometown + location:(nullable FBSDKLocation *)location + gender:(nullable NSString *)gender + NS_DESIGNATED_INITIALIZER; + +/** + The current profile instance and posts the appropriate notification + if the profile parameter is different than the receiver. + + This persists the profile to NSUserDefaults. + */ + +/// The current profile +@property (class, nullable, nonatomic, strong) FBSDKProfile *currentProfile +NS_SWIFT_NAME(current); + +/// The user id +@property (nonatomic, readonly, copy) FBSDKUserIdentifier *userID; +/// The user's first name +@property (nullable, nonatomic, readonly, copy) NSString *firstName; +/// The user's middle name +@property (nullable, nonatomic, readonly, copy) NSString *middleName; +/// The user's last name +@property (nullable, nonatomic, readonly, copy) NSString *lastName; +/// The user's complete name +@property (nullable, nonatomic, readonly, copy) NSString *name; +/** + A URL to the user's profile. + + IMPORTANT: This field will only be populated if your user has granted your application the 'user_link' permission + + Consider using `FBSDKAppLinkResolver` to resolve this + to an app link to link directly to the user's profile in the Facebook app. + */ +@property (nullable, nonatomic, readonly) NSURL *linkURL; + +/// The last time the profile data was fetched. +@property (nonatomic, readonly) NSDate *refreshDate; +/// A URL to use for fetching a user's profile image. +@property (nullable, nonatomic, readonly) NSURL *imageURL; +/** + The user's email. + + IMPORTANT: This field will only be populated if your user has granted your application the 'email' permission. + */ +@property (nullable, nonatomic, readonly, copy) NSString *email; +/** + A list of identifiers of the user's friends. + + IMPORTANT: This field will only be populated if your user has granted your application the 'user_friends' permission. + */ +@property (nullable, nonatomic, readonly, copy) NSArray *friendIDs; + +/** + The user's birthday. + + IMPORTANT: This field will only be populated if your user has granted your application the 'user_birthday' permission. + */ +@property (nullable, nonatomic, readonly, copy) NSDate *birthday; + +/** + The user's age range + + IMPORTANT: This field will only be populated if your user has granted your application the 'user_age_range' permission. + */ +@property (nullable, nonatomic, readonly, copy) FBSDKUserAgeRange *ageRange; + +/** + The user's hometown + + IMPORTANT: This field will only be populated if your user has granted your application the 'user_hometown' permission. + */ +@property (nullable, nonatomic, readonly, copy) FBSDKLocation *hometown; + +/** + The user's location + + IMPORTANT: This field will only be populated if your user has granted your application the 'user_location' permission. + */ +@property (nullable, nonatomic, readonly, copy) FBSDKLocation *location; + +/** + The user's gender + + IMPORTANT: This field will only be populated if your user has granted your application the 'user_gender' permission. + */ +@property (nullable, nonatomic, readonly, copy) NSString *gender; + +/** + Indicates if `currentProfile` will automatically observe `FBSDKAccessTokenDidChangeNotification` notifications + @param enable YES is observing + + If observing, this class will issue a graph request for public profile data when the current token's userID + differs from the current profile. You can observe `FBSDKProfileDidChangeNotification` for when the profile is updated. + + 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. + */ +// UNCRUSTIFY_FORMAT_OFF ++ (void)enableUpdatesOnAccessTokenChange:(BOOL)enable +NS_SWIFT_NAME(enableUpdatesOnAccessTokenChange(_:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Loads the current profile and passes it to the completion block. + @param completion The block to be executed once the profile is loaded + + If the profile is already loaded, this method will call the completion block synchronously, otherwise it + will begin a graph request to update `currentProfile` and then call the completion block when finished. + */ ++ (void)loadCurrentProfileWithCompletion:(nullable FBSDKProfileBlock)completion; + +/** + 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. + */ +// UNCRUSTIFY_FORMAT_OFF +- (nullable NSURL *)imageURLForPictureMode:(FBSDKProfilePictureMode)mode size:(CGSize)size +NS_SWIFT_NAME(imageURL(forMode:size:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Returns YES if the profile is equivalent to the receiver. + @param profile the profile to compare to. + */ +- (BOOL)isEqualToProfile:(FBSDKProfile *)profile; +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKProfilePictureView.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKProfilePictureView.h new file mode 100644 index 0000000..36bf8c5 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKProfilePictureView.h @@ -0,0 +1,72 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +@class FBSDKProfile; + +NS_ASSUME_NONNULL_BEGIN + +/** + FBSDKProfilePictureMode enum + Defines the aspect ratio mode for the source image of the profile picture. + */ +typedef NS_ENUM(NSUInteger, FBSDKProfilePictureMode) { + /// A square cropped version of the image will be included in the view. + FBSDKProfilePictureModeSquare, + /// The original picture's aspect ratio will be used for the source image in the view. + FBSDKProfilePictureModeNormal, + /// The original picture's aspect ratio will be used for the source image in the view. + FBSDKProfilePictureModeAlbum, + /// The original picture's aspect ratio will be used for the source image in the view. + FBSDKProfilePictureModeSmall, + /// The original picture's aspect ratio will be used for the source image in the view. + FBSDKProfilePictureModeLarge, +} NS_SWIFT_NAME(Profile.PictureMode); + +/// A view to display a profile picture. +NS_SWIFT_NAME(FBProfilePictureView) +@interface FBSDKProfilePictureView : UIView + +/** + Create a new instance of `FBSDKProfilePictureView`. + + - Parameter frame: Frame rectangle for the view. + - Parameter profile: Optional profile to display a picture for. + */ +- (instancetype)initWithFrame:(CGRect)frame + profile:(FBSDKProfile *_Nullable)profile; + +/** + Create a new instance of `FBSDKProfilePictureView`. + + - Parameter profile: Optional profile to display a picture for. + */ +- (instancetype)initWithProfile:(FBSDKProfile *_Nullable)profile; + +/// The mode for the receiver to determine the aspect ratio of the source image. +@property (nonatomic, assign) FBSDKProfilePictureMode pictureMode; + +/// The profile ID to show the picture for. +@property (nonatomic, copy) NSString *profileID; + +/** + Explicitly marks the receiver as needing to update the image. + + 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 + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKProfileProtocols.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKProfileProtocols.h new file mode 100644 index 0000000..ac05481 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKProfileProtocols.h @@ -0,0 +1,29 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +@class FBSDKProfile; + +NS_SWIFT_NAME(ProfileProviding) +@protocol FBSDKProfileProviding + +@property (class, nullable, nonatomic, strong) FBSDKProfile *currentProfile +NS_SWIFT_NAME(current); + ++ (nullable FBSDKProfile *)fetchCachedProfile; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKRandom.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKRandom.h new file mode 100644 index 0000000..653a038 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKRandom.h @@ -0,0 +1,15 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/** + Provides a random string + @param numberOfBytes the number of bytes to use + */ +extern NSString *fb_randomString(NSUInteger numberOfBytes); diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKServerConfigurationProvider.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKServerConfigurationProvider.h new file mode 100644 index 0000000..8c651e1 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKServerConfigurationProvider.h @@ -0,0 +1,67 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal block type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(LoginTooltipBlock) +typedef void (^FBSDKLoginTooltipBlock)(FBSDKLoginTooltip *_Nullable loginTooltip, NSError *_Nullable error); + +/** +Internal Type exposed to facilitate transition to Swift. +API Subject to change or removal without warning. Do not use. + +@warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(ServerConfigurationProvider) +@interface FBSDKServerConfigurationProvider : NSObject + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nonatomic, readonly) NSString *loggingToken; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (NSUInteger)cachedSmartLoginOptions; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (BOOL)useSafariViewControllerForDialogName:(NSString *)dialogName; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void)loadServerConfigurationWithCompletionBlock:(nullable FBSDKLoginTooltipBlock)completionBlock + NS_SWIFT_NAME(loadServerConfiguration(completion:)); +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKSettings.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKSettings.h new file mode 100644 index 0000000..9a00e27 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKSettings.h @@ -0,0 +1,197 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(Settings) +@interface FBSDKSettings : NSObject + +#if !DEBUG +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; +#endif + +/// The shared settings instance. Prefer this and the exposed instance methods over the class variants. +@property (class, nonatomic, readonly) FBSDKSettings *sharedSettings; + +/// Retrieve the current iOS SDK version. +@property (nonatomic, readonly, copy) NSString *sdkVersion; + +/// Retrieve the current default Graph API version. +@property (nonatomic, readonly, copy) NSString *defaultGraphAPIVersion; + +/** + The quality of JPEG images sent to Facebook from the SDK, + expressed as a value from 0.0 to 1.0. + + If not explicitly set, the default is 0.9. +*/ +@property (nonatomic) CGFloat JPEGCompressionQuality +NS_SWIFT_NAME(jpegCompressionQuality); + +/** + Controls the auto logging of basic app events, such as activateApp and deactivateApp. + If not explicitly set, the default is true + */ +@property (nonatomic, getter = isAutoLogAppEventsEnabled) BOOL autoLogAppEventsEnabled; + +/** + Controls the fb_codeless_debug logging event + If not explicitly set, the default is true + */ +@property (nonatomic, getter = isCodelessDebugLogEnabled) BOOL codelessDebugLogEnabled; + +/** + Controls the access to IDFA + If not explicitly set, the default is true + */ +@property (nonatomic, getter = isAdvertiserIDCollectionEnabled) BOOL advertiserIDCollectionEnabled; + +/** + Controls the SKAdNetwork report + If not explicitly set, the default is true + */ +@property (nonatomic, getter = isSKAdNetworkReportEnabled) BOOL skAdNetworkReportEnabled; + +/** + 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. + */ +@property (nonatomic) BOOL isEventDataUsageLimited; + +/** + Whether in memory cached values should be used for expensive metadata fields, such as + carrier and advertiser ID, that are fetched on many applicationDidBecomeActive notifications. + Defaults to NO. This value is stored on the device and persists across app launches. + */ +@property (nonatomic) BOOL shouldUseCachedValuesForExpensiveMetadata; + +/// A convenient way to toggle error recovery for all FBSDKGraphRequest instances created after this is set. +@property (nonatomic) BOOL isGraphErrorRecoveryEnabled; + +/** + The Facebook App ID used by the SDK. + + If not explicitly set, the default will be read from the application's plist (FacebookAppID). + */ +@property (nullable, nonatomic, copy) NSString *appID; + +/** + The default url scheme suffix used for sessions. + + If not explicitly set, the default will be read from the application's plist (FacebookUrlSchemeSuffix). + */ +@property (nullable, nonatomic, copy) NSString *appURLSchemeSuffix; + +/** + The Client Token that has been set via [[FBSDKSettings sharedSettings] setClientToken]. + This is needed for certain API calls when made anonymously, without a user-based access token. + + 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 + + If not explicitly set, the default will be read from the application's plist (FacebookClientToken). + */ +@property (nullable, nonatomic, copy) NSString *clientToken; + +/** + The Facebook Display Name used by the SDK. + + This should match the Display Name that has been set for the app with the corresponding Facebook App ID, + in the Facebook App Dashboard. + + If not explicitly set, the default will be read from the application's plist (FacebookDisplayName). + */ +@property (nullable, nonatomic, copy) NSString *displayName; + +/** + The Facebook domain part. This can be used to change the Facebook domain + (e.g. @"beta") so that requests will be sent to `graph.beta.facebook.com` + + If not explicitly set, the default will be read from the application's plist (FacebookDomainPart). + */ +@property (nullable, nonatomic, copy) NSString *facebookDomainPart; + +/** + The current Facebook SDK logging behavior. This should consist of strings + defined as constants with FBSDKLoggingBehavior*. + + This should consist a set of strings indicating what information should be logged + defined as constants with FBSDKLoggingBehavior*. Set to an empty set in order to disable all logging. + + You can also define this via an array in your app plist with key "FacebookLoggingBehavior" or add and remove individual values via enableLoggingBehavior: or disableLoggingBehavior: + + The default is a set consisting of FBSDKLoggingBehaviorDeveloperErrors + */ +@property (nonatomic, copy) NSSet *loggingBehaviors; + +/** + Overrides the default Graph API version to use with `FBSDKGraphRequests`. + + The string should be of the form `@"v2.7"`. + + Defaults to `defaultGraphAPIVersion`. + */ +@property (nonatomic, copy) NSString *graphAPIVersion; + +/** + Internal property exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nullable, nonatomic, copy) NSString *userAgentSuffix; + +/** + The value of the flag advertiser_tracking_enabled that controls the advertiser tracking status of the data sent to Facebook + If not explicitly set in iOS14 or above, the default is false in iOS14 or above. + */ +@property (nonatomic, getter = isAdvertiserTrackingEnabled) BOOL advertiserTrackingEnabled; + +/** +Set the data processing options. + + @param options list of options + */ +- (void)setDataProcessingOptions:(nullable NSArray *)options; + +/** +Set the data processing options. + + @param options list of the options + @param country code of the country + @param state code of the state + */ +- (void)setDataProcessingOptions:(nullable NSArray *)options + country:(int)country + state:(int)state; + +/** + Enable a particular Facebook SDK logging behavior. + + @param loggingBehavior The LoggingBehavior to enable. This should be a string defined as a constant with FBSDKLoggingBehavior*. + */ +- (void)enableLoggingBehavior:(FBSDKLoggingBehavior)loggingBehavior; + +/** + 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:(FBSDKLoggingBehavior)loggingBehavior; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKSettingsLogging.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKSettingsLogging.h new file mode 100644 index 0000000..1e21fe0 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKSettingsLogging.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(SettingsLogging) +@protocol FBSDKSettingsLogging + +- (void)logWarnings; +- (void)logIfSDKSettingsChanged; +- (void)recordInstall; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKSettingsProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKSettingsProtocol.h new file mode 100644 index 0000000..d0eeb7a --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKSettingsProtocol.h @@ -0,0 +1,63 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(SettingsProtocol) +@protocol FBSDKSettings + +@property (nullable, nonatomic, copy) NSString *appID; +@property (nullable, nonatomic, copy) NSString *clientToken; +@property (nullable, nonatomic, copy) NSString *userAgentSuffix; +@property (nonatomic, readonly, copy) NSString *sdkVersion; +@property (nullable, nonatomic, copy) NSString *displayName; +@property (nullable, nonatomic, copy) NSString *facebookDomainPart; +@property (nonnull, nonatomic, copy) NSSet *loggingBehaviors; +@property (nullable, nonatomic, copy) NSString *appURLSchemeSuffix; +@property (nonatomic, readonly) BOOL isDataProcessingRestricted; +@property (nonatomic, readonly) BOOL isAutoLogAppEventsEnabled; +@property (nonatomic, getter = isCodelessDebugLogEnabled) BOOL codelessDebugLogEnabled; +@property (nonatomic, getter = isAdvertiserIDCollectionEnabled) BOOL advertiserIDCollectionEnabled; +@property (nonatomic, readonly) BOOL isSetATETimeExceedsInstallTime; +@property (nonatomic, readonly) BOOL isSKAdNetworkReportEnabled; +@property (nonatomic, readonly) FBSDKAdvertisingTrackingStatus advertisingTrackingStatus; +@property (nullable, nonatomic, readonly) NSDate *installTimestamp; +@property (nullable, nonatomic, readonly) NSDate *advertiserTrackingEnabledTimestamp; +@property (nonatomic) BOOL isEventDataUsageLimited; +@property (nonatomic) BOOL shouldUseTokenOptimizations; +@property (nonatomic, copy) NSString *graphAPIVersion; +@property (nonatomic) BOOL isGraphErrorRecoveryEnabled; +@property (nullable, nonatomic, readonly, copy) NSString *graphAPIDebugParamValue; +@property (nonatomic, getter = isAdvertiserTrackingEnabled) BOOL advertiserTrackingEnabled; +@property (nonatomic) BOOL shouldUseCachedValuesForExpensiveMetadata; +@property (nullable, nonatomic, readonly) NSDictionary *persistableDataProcessingOptions; + +/** + Set the data processing options. + + @param options list of options + */ +- (void)setDataProcessingOptions:(nullable NSArray *)options; + +/** + Set the data processing options. + + @param options list of the options + @param country code of the country + @param state code of the state + */ +- (void)setDataProcessingOptions:(nullable NSArray *)options + country:(int)country + state:(int)state; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKShareDialogConfiguration.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKShareDialogConfiguration.h new file mode 100644 index 0000000..4d30ced --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKShareDialogConfiguration.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Constant used to describe the 'Message' dialog +FOUNDATION_EXPORT NSString *const FBSDKDialogConfigurationNameMessage; +/// Constant used to describe the 'Share' dialog +FOUNDATION_EXPORT NSString *const FBSDKDialogConfigurationNameShare; + +/** + A lightweight interface to expose aspects of FBSDKServerConfiguration that are used by dialogs in ShareKit. + + Internal Use Only + */ +NS_SWIFT_NAME(ShareDialogConfiguration) +@interface FBSDKShareDialogConfiguration : NSObject + +@property (nonatomic, readonly, copy) NSString *defaultShareMode; + +- (BOOL)shouldUseNativeDialogForDialogName:(NSString *)dialogName; +- (BOOL)shouldUseSafariViewControllerForDialogName:(NSString *)dialogName; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKTokenCaching.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKTokenCaching.h new file mode 100644 index 0000000..6b07cb4 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKTokenCaching.h @@ -0,0 +1,43 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@class FBSDKAccessToken; +@class FBSDKAuthenticationToken; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(TokenCaching) +@protocol FBSDKTokenCaching + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nullable, nonatomic, copy) FBSDKAccessToken *accessToken; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nullable, nonatomic, copy) FBSDKAuthenticationToken *authenticationToken; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKTokenStringProviding.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKTokenStringProviding.h new file mode 100644 index 0000000..87f227d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKTokenStringProviding.h @@ -0,0 +1,29 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(TokenStringProviding) +@protocol FBSDKTokenStringProviding + +/** + Return the token string of the current access token. + + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ + +@property (class, nullable, nonatomic, readonly, copy) NSString *tokenString; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKTransformer.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKTransformer.h new file mode 100644 index 0000000..ea415c8 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKTransformer.h @@ -0,0 +1,28 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +extern CATransform3D const FBSDKCATransform3DIdentity; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@interface FBSDKTransformer : NSObject +- (CATransform3D)CATransform3DMakeScale:(CGFloat)sx sy:(CGFloat)sy sz:(CGFloat)sz; +- (CATransform3D)CATransform3DMakeTranslation:(CGFloat)tx ty:(CGFloat)ty tz:(CGFloat)tz; +- (CATransform3D)CATransform3DConcat:(CATransform3D)a b:(CATransform3D)b; +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKURL.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKURL.h new file mode 100644 index 0000000..292430f --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKURL.h @@ -0,0 +1,86 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol FBSDKAppLink; + +/** + Provides a set of utilities for working with NSURLs, such as parsing of query parameters + and handling for App Link requests. + */ +NS_SWIFT_NAME(AppLinkURL) +@interface FBSDKURL : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + Creates a link target from a raw URL. + On success, this posts the FBSDKAppLinkParseEventName measurement event. If you are constructing the FBSDKURL within your application delegate's + application:openURL:sourceApplication:annotation:, you should instead use URLWithInboundURL:sourceApplication: + to support better FBSDKMeasurementEvent notifications + @param url The instance of `NSURL` to create FBSDKURL from. + */ + +// UNCRUSTIFY_FORMAT_OFF ++ (instancetype)URLWithURL:(NSURL *)url +NS_SWIFT_NAME(init(url:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Creates a link target from a raw URL received from an external application. This is typically called from the app delegate's + application:openURL:sourceApplication:annotation: and will post the FBSDKAppLinkNavigateInEventName measurement event. + @param url The instance of `NSURL` to create FBSDKURL from. + @param sourceApplication the bundle ID of the app that is requesting your app to open the URL. The same sourceApplication in application:openURL:sourceApplication:annotation: + */ + +// UNCRUSTIFY_FORMAT_OFF ++ (instancetype)URLWithInboundURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication +NS_SWIFT_NAME(init(inboundURL:sourceApplication:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Gets the target URL. If the link is an App Link, this is the target of the App Link. + Otherwise, it is the url that created the target. + */ +@property (nonatomic, readonly, strong) NSURL *targetURL; + +/// Gets the query parameters for the target, parsed into an NSDictionary. +@property (nonatomic, readonly, strong) NSDictionary *targetQueryParameters; + +/** + If this link target is an App Link, this is the data found in al_applink_data. + Otherwise, it is nil. + */ +@property (nullable, nonatomic, readonly, strong) NSDictionary *appLinkData; + +/// If this link target is an App Link, this is the data found in extras. +@property (nullable, nonatomic, readonly, strong) NSDictionary *appLinkExtras; + +/// The App Link indicating how to navigate back to the referer app, if any. +@property (nullable, nonatomic, readonly, strong) id appLinkReferer; + +/// The URL that was used to create this FBSDKURL. +@property (nonatomic, readonly, strong) NSURL *inputURL; + +/// The query parameters of the inputURL, parsed into an NSDictionary. +@property (nonatomic, readonly, strong) NSDictionary *inputQueryParameters; + +/// The flag indicating whether the URL comes from auto app link +@property (nonatomic, readonly, getter = isAutoAppLink) BOOL isAutoAppLink; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKURLHosting.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKURLHosting.h new file mode 100644 index 0000000..31741f4 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKURLHosting.h @@ -0,0 +1,40 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(URLHosting) +@protocol FBSDKURLHosting + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (nullable NSURL *)appURLWithHost:(NSString *)host + path:(NSString *)path + queryParameters:(NSDictionary *)queryParameters + error:(NSError *__autoreleasing *)errorRef; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (nullable NSURL *)facebookURLWithHostPrefix:(NSString *)hostPrefix + path:(NSString *)path + queryParameters:(NSDictionary *)queryParameters + error:(NSError *__autoreleasing *)errorRef; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKURLOpener.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKURLOpener.h new file mode 100644 index 0000000..ff91da7 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKURLOpener.h @@ -0,0 +1,36 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +NS_ASSUME_NONNULL_BEGIN + +@protocol FBSDKURLOpening; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(URLOpener) +@protocol FBSDKURLOpener + +- (void)openURL:(NSURL *)url + sender:(nullable id)sender + handler:(FBSDKSuccessBlock)handler; + +// UNCRUSTIFY_FORMAT_OFF +- (void)openURLWithSafariViewController:(NSURL *)url + sender:(id)sender + fromViewController:(UIViewController *)fromViewController + handler:(FBSDKSuccessBlock)handler +NS_SWIFT_NAME(openURLWithSafariViewController(url:sender:from:handler:)); +// UNCRUSTIFY_FORMAT_ON + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKURLOpening.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKURLOpening.h new file mode 100644 index 0000000..65772a5 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKURLOpening.h @@ -0,0 +1,51 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(URLOpening) +@protocol FBSDKURLOpening + +// Implementations should make sure they can handle nil parameters +// which is possible in SafariViewController. +// see canOpenURL below. +- (BOOL)application:(nullable UIApplication *)application + openURL:(nullable NSURL *)url + sourceApplication:(nullable NSString *)sourceApplication + annotation:(nullable id)annotation; + +// create a different handler to return YES/NO if the receiver can process the above openURL:. +// This is separated so that we can process the openURL: in callbacks, while still returning +// the result of canOpenURL synchronously in FBSDKApplicationDelegate +- (BOOL) canOpenURL:(NSURL *)url + forApplication:(nullable UIApplication *)application + sourceApplication:(nullable NSString *)sourceApplication + annotation:(nullable id)annotation; + +- (void)applicationDidBecomeActive:(UIApplication *)application; + +- (BOOL)isAuthenticationURL:(NSURL *)url; + +@optional +- (BOOL)shouldStopPropagationOfURL:(NSURL *)url; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKURLScheme.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKURLScheme.h new file mode 100644 index 0000000..f728392 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKURLScheme.h @@ -0,0 +1,17 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +typedef NSString *FBSDKURLScheme NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(URLScheme); + +FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeFacebookAPI; +FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeMessengerApp; +FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeHTTPS NS_SWIFT_NAME(https); +FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeHTTP NS_SWIFT_NAME(http); +FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeWeb; diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKUserAgeRange.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKUserAgeRange.h new file mode 100644 index 0000000..7d71916 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKUserAgeRange.h @@ -0,0 +1,35 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(UserAgeRange) +@interface FBSDKUserAgeRange : NSObject + +/// The user's minimun age, nil if unspecified +@property (nullable, nonatomic, readonly, strong) NSNumber *min; +/// The user's maximun age, nil if unspecified +@property (nullable, nonatomic, readonly, strong) NSNumber *max; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + Returns a UserAgeRange object from a dinctionary containing valid user age range. + @param dictionary The dictionary containing raw user age range + + Valid user age range will consist of "min" and/or "max" values that are + positive integers, where "min" is smaller than or equal to "max". + */ ++ (nullable instancetype)ageRangeFromDictionary:(NSDictionary *)dictionary; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKUtility.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKUtility.h new file mode 100644 index 0000000..eb5ca0a --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKUtility.h @@ -0,0 +1,108 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Class to contain common utility methods. +NS_SWIFT_NAME(Utility) +@interface FBSDKUtility : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + Parses a query string into a dictionary. + @param queryString The query string value. + @return A dictionary with the key/value pairs. + */ + +// UNCRUSTIFY_FORMAT_OFF ++ (NSDictionary *)dictionaryWithQueryString:(NSString *)queryString +NS_SWIFT_NAME(dictionary(withQuery:)); +// UNCRUSTIFY_FORMAT_ON + +/** + 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. + @return Query string representation of the parameters. + */ + +// UNCRUSTIFY_FORMAT_OFF ++ (NSString *)queryStringWithDictionary:(NSDictionary *)dictionary + error:(NSError **)errorRef +NS_SWIFT_NAME(query(from:)) +__attribute__((swift_error(nonnull_error))); +// UNCRUSTIFY_FORMAT_ON + +/** + Decodes a value from an URL. + @param value The value to decode. + @return The decoded value. + */ + +// UNCRUSTIFY_FORMAT_OFF ++ (NSString *)URLDecode:(NSString *)value +NS_SWIFT_NAME(decode(urlString:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Encodes a value for an URL. + @param value The value to encode. + @return The encoded value. + */ + +// UNCRUSTIFY_FORMAT_OFF ++ (NSString *)URLEncode:(NSString *)value +NS_SWIFT_NAME(encode(urlString:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Creates a timer using Grand Central Dispatch. + @param interval The interval to fire the timer, in seconds. + @param block The code block to execute when timer is fired. + @return The dispatch handle. + */ ++ (dispatch_source_t)startGCDTimerWithInterval:(double)interval block:(dispatch_block_t)block; + +/** + Stop a timer that was started by startGCDTimerWithInterval. + @param timer The dispatch handle received from startGCDTimerWithInterval. + */ ++ (void)stopGCDTimer:(dispatch_source_t)timer; + +/** + Get SHA256 hased string of NSString/NSData + + @param input The data that needs to be hashed, it could be NSString or NSData. + */ + +// UNCRUSTIFY_FORMAT_OFF ++ (nullable NSString *)SHA256Hash:(NSObject *)input +NS_SWIFT_NAME(sha256Hash(_:)); +// UNCRUSTIFY_FORMAT_ON + +/// Returns the graphdomain stored in FBSDKAuthenticationToken ++ (nullable NSString *)getGraphDomainFromToken; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ ++ (NSURL *)unversionedFacebookURLWithHostPrefix:(NSString *)hostPrefix + path:(NSString *)path + queryParameters:(NSDictionary *)queryParameters + error:(NSError *__autoreleasing *)errorRef; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKWebDialog.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKWebDialog.h new file mode 100644 index 0000000..136683d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKWebDialog.h @@ -0,0 +1,77 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import +#import +#import + +#import + +@protocol _FBSDKWindowFinding; + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(WebDialog) +@interface FBSDKWebDialog : NSObject + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nonatomic) BOOL shouldDeferVisibility; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nullable, nonatomic, strong) id<_FBSDKWindowFinding> windowFinder; + ++ (instancetype)new NS_UNAVAILABLE; +- (instancetype)init NS_UNAVAILABLE; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ ++ (instancetype)dialogWithName:(NSString *)name + delegate:(id)delegate; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +// UNCRUSTIFY_FORMAT_OFF ++ (instancetype)createAndShowWithName:(NSString *)name + parameters:(nullable NSDictionary *)parameters + frame:(CGRect)frame + delegate:(id)delegate + windowFinder:(nullable id<_FBSDKWindowFinding>)windowFinder +NS_SWIFT_NAME(createAndShow(name:parameters:frame:delegate:windowFinder:)); +// UNCRUSTIFY_FORMAT_ON + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKWebDialogDelegate.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKWebDialogDelegate.h new file mode 100644 index 0000000..6dd4b92 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKWebDialogDelegate.h @@ -0,0 +1,56 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +#import + +@class FBSDKWebDialog; + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(WebDialogDelegate) +@protocol FBSDKWebDialogDelegate + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void)webDialog:(FBSDKWebDialog *)webDialog didCompleteWithResults:(NSDictionary *)results; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void)webDialog:(FBSDKWebDialog *)webDialog didFailWithError:(NSError *)error; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void)webDialogDidCancel:(FBSDKWebDialog *)webDialog; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKWebDialogView.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKWebDialogView.h new file mode 100644 index 0000000..b0861b8 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKWebDialogView.h @@ -0,0 +1,39 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +@protocol FBSDKWebDialogViewDelegate; + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(FBWebDialogView) +@interface FBSDKWebDialogView : UIView + +@property (nonatomic, weak) id delegate; + +- (void)loadURL:(NSURL *)URL; +- (void)stopLoading; + +@end + +NS_SWIFT_NAME(WebDialogViewDelegate) +@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 + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKWebViewAppLinkResolver.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKWebViewAppLinkResolver.h new file mode 100644 index 0000000..f1d7dbe --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKWebViewAppLinkResolver.h @@ -0,0 +1,32 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + A reference implementation for an App Link resolver that uses a hidden WKWebView + to parse the HTML containing App Link metadata. + */ +NS_SWIFT_NAME(WebViewAppLinkResolver) +@interface FBSDKWebViewAppLinkResolver : NSObject + +/// Gets the instance of a FBSDKWebViewAppLinkResolver. +@property (class, nonatomic, readonly, strong) FBSDKWebViewAppLinkResolver *sharedInstance +NS_SWIFT_NAME(shared); + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/_FBSDKWindowFinding.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/_FBSDKWindowFinding.h new file mode 100644 index 0000000..a9d946f --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/_FBSDKWindowFinding.h @@ -0,0 +1,36 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_WindowFinding) +@protocol _FBSDKWindowFinding + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (nullable UIWindow *)findWindow; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/__FBSDKLoggerCreating.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/__FBSDKLoggerCreating.h new file mode 100644 index 0000000..a8114b1 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/__FBSDKLoggerCreating.h @@ -0,0 +1,29 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(LoggerCreating) +@protocol __FBSDKLoggerCreating + +- (id)createLoggerWithLoggingBehavior:(FBSDKLoggingBehavior)loggingBehavior; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Info.plist b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Info.plist new file mode 100644 index 0000000..99f5bab Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Info.plist differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios.swiftdoc new file mode 100644 index 0000000..57585eb Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios.swiftinterface new file mode 100644 index 0000000..b53862b --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios.swiftinterface @@ -0,0 +1,99 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKCoreKit +@_exported import FBSDKCoreKit +import FBSDKCoreKit_Basics +import Foundation +import Swift +import UIKit +import _Concurrency +extension FBSDKCoreKit.AccessToken { + public var permissions: Swift.Set { + get + } + public var declinedPermissions: Swift.Set { + get + } + public var expiredPermissions: Swift.Set { + get + } + public func hasGranted(_ permission: FBSDKCoreKit.Permission) -> Swift.Bool +} +@objc(FBSDKCAPIReporter) public protocol CAPIReporter { + @objc func enable() + @objc func configure(factory: FBSDKCoreKit.GraphRequestFactoryProtocol, settings: FBSDKCoreKit.SettingsProtocol) + @objc func recordEvent(_ parameters: [Swift.String : Any]) +} +@objc @_inheritsConvenienceInitializers @objcMembers public class FBSDKAppEventsCAPIManager : ObjectiveC.NSObject, FBSDKCoreKit.CAPIReporter { + @objc public static let shared: FBSDKCoreKit.FBSDKAppEventsCAPIManager + @objc override dynamic public init() + @objc public func configure(factory: FBSDKCoreKit.GraphRequestFactoryProtocol, settings: FBSDKCoreKit.SettingsProtocol) + @objc public func enable() + @objc public func recordEvent(_ parameters: [Swift.String : Any]) + @objc deinit +} +@objc @_inheritsConvenienceInitializers @objcMembers public class FBSDKTransformerGraphRequestFactory : ObjectiveC.NSObject { + @objc public static let shared: FBSDKCoreKit.FBSDKTransformerGraphRequestFactory + public var credentials: FBSDKCoreKit.FBSDKTransformerGraphRequestFactory.CapiGCredentials? { + get + } + public struct CapiGCredentials { + public let accessKey: Swift.String + public let capiGatewayURL: Swift.String + public let datasetID: Swift.String + } + @objc override dynamic public init() + @objc public func configure(datasetID: Swift.String, url: Swift.String, accessKey: Swift.String) + @objc public func callCapiGatewayAPI(with parameters: [Swift.String : Any]) + @objc deinit +} +public enum Permission : Swift.Hashable, Swift.ExpressibleByStringLiteral { + case publicProfile + case userFriends + case email + case userAboutMe + case userActionsBooks + case userActionsFitness + case userActionsMusic + case userActionsNews + case userActionsVideo + case userBirthday + case userEducationHistory + case userEvents + case userGamesActivity + case userGender + case userHometown + case userLikes + case userLocation + case userManagedGroups + case userPhotos + case userPosts + case userRelationships + case userRelationshipDetails + case userReligionPolitics + case userTaggedPlaces + case userVideos + case userWebsite + case userWorkHistory + case readCustomFriendlists + case readInsights + case readAudienceNetworkInsights + case readPageMailboxes + case pagesShowList + case pagesManageCta + case pagesManageInstantArticles + case adsRead + case custom(Swift.String) + public init(stringLiteral value: Swift.String) + public var name: Swift.String { + get + } + public func hash(into hasher: inout Swift.Hasher) + public static func == (a: FBSDKCoreKit.Permission, b: FBSDKCoreKit.Permission) -> Swift.Bool + public typealias ExtendedGraphemeClusterLiteralType = Swift.String + public typealias StringLiteralType = Swift.String + public typealias UnicodeScalarLiteralType = Swift.String + public var hashValue: Swift.Int { + get + } +} diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..57585eb Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..b53862b --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftinterface @@ -0,0 +1,99 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKCoreKit +@_exported import FBSDKCoreKit +import FBSDKCoreKit_Basics +import Foundation +import Swift +import UIKit +import _Concurrency +extension FBSDKCoreKit.AccessToken { + public var permissions: Swift.Set { + get + } + public var declinedPermissions: Swift.Set { + get + } + public var expiredPermissions: Swift.Set { + get + } + public func hasGranted(_ permission: FBSDKCoreKit.Permission) -> Swift.Bool +} +@objc(FBSDKCAPIReporter) public protocol CAPIReporter { + @objc func enable() + @objc func configure(factory: FBSDKCoreKit.GraphRequestFactoryProtocol, settings: FBSDKCoreKit.SettingsProtocol) + @objc func recordEvent(_ parameters: [Swift.String : Any]) +} +@objc @_inheritsConvenienceInitializers @objcMembers public class FBSDKAppEventsCAPIManager : ObjectiveC.NSObject, FBSDKCoreKit.CAPIReporter { + @objc public static let shared: FBSDKCoreKit.FBSDKAppEventsCAPIManager + @objc override dynamic public init() + @objc public func configure(factory: FBSDKCoreKit.GraphRequestFactoryProtocol, settings: FBSDKCoreKit.SettingsProtocol) + @objc public func enable() + @objc public func recordEvent(_ parameters: [Swift.String : Any]) + @objc deinit +} +@objc @_inheritsConvenienceInitializers @objcMembers public class FBSDKTransformerGraphRequestFactory : ObjectiveC.NSObject { + @objc public static let shared: FBSDKCoreKit.FBSDKTransformerGraphRequestFactory + public var credentials: FBSDKCoreKit.FBSDKTransformerGraphRequestFactory.CapiGCredentials? { + get + } + public struct CapiGCredentials { + public let accessKey: Swift.String + public let capiGatewayURL: Swift.String + public let datasetID: Swift.String + } + @objc override dynamic public init() + @objc public func configure(datasetID: Swift.String, url: Swift.String, accessKey: Swift.String) + @objc public func callCapiGatewayAPI(with parameters: [Swift.String : Any]) + @objc deinit +} +public enum Permission : Swift.Hashable, Swift.ExpressibleByStringLiteral { + case publicProfile + case userFriends + case email + case userAboutMe + case userActionsBooks + case userActionsFitness + case userActionsMusic + case userActionsNews + case userActionsVideo + case userBirthday + case userEducationHistory + case userEvents + case userGamesActivity + case userGender + case userHometown + case userLikes + case userLocation + case userManagedGroups + case userPhotos + case userPosts + case userRelationships + case userRelationshipDetails + case userReligionPolitics + case userTaggedPlaces + case userVideos + case userWebsite + case userWorkHistory + case readCustomFriendlists + case readInsights + case readAudienceNetworkInsights + case readPageMailboxes + case pagesShowList + case pagesManageCta + case pagesManageInstantArticles + case adsRead + case custom(Swift.String) + public init(stringLiteral value: Swift.String) + public var name: Swift.String { + get + } + public func hash(into hasher: inout Swift.Hasher) + public static func == (a: FBSDKCoreKit.Permission, b: FBSDKCoreKit.Permission) -> Swift.Bool + public typealias ExtendedGraphemeClusterLiteralType = Swift.String + public typealias StringLiteralType = Swift.String + public typealias UnicodeScalarLiteralType = Swift.String + public var hashValue: Swift.Int { + get + } +} diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Modules/module.modulemap b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Modules/module.modulemap similarity index 100% rename from src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Modules/module.modulemap rename to src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Modules/module.modulemap diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/FBSDKCoreKit b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/FBSDKCoreKit new file mode 100644 index 0000000..aaf2ba8 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/FBSDKCoreKit differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h new file mode 100644 index 0000000..87494ec --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h @@ -0,0 +1,188 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Notification indicating that the `currentAccessToken` has changed. + + the userInfo dictionary of the notification will contain keys + `FBSDKAccessTokenChangeOldKey` and + `FBSDKAccessTokenChangeNewKey`. + */ +FOUNDATION_EXPORT NSNotificationName const FBSDKAccessTokenDidChangeNotification +NS_SWIFT_NAME(AccessTokenDidChange); + +/** + 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. + + 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). + */ +FOUNDATION_EXPORT NSString *const FBSDKAccessTokenDidChangeUserIDKey +NS_SWIFT_NAME(AccessTokenDidChangeUserIDKey); + +/* + key in notification's userInfo object for getting the old token. + + If there was no old token, the key will not be present. + */ +FOUNDATION_EXPORT NSString *const FBSDKAccessTokenChangeOldKey +NS_SWIFT_NAME(AccessTokenChangeOldKey); + +/* + key in notification's userInfo object for getting the new token. + + If there is no new token, the key will not be present. + */ +FOUNDATION_EXPORT NSString *const FBSDKAccessTokenChangeNewKey +NS_SWIFT_NAME(AccessTokenChangeNewKey); + +/* + A key in the notification's userInfo that will be set + if and only if the token has expired. + */ +FOUNDATION_EXPORT NSString *const FBSDKAccessTokenDidExpireKey +NS_SWIFT_NAME(AccessTokenDidExpireKey); + +/// Represents an immutable access token for using Facebook services. +NS_SWIFT_NAME(AccessToken) +@interface FBSDKAccessToken : NSObject + +/** + The "global" access token that represents the currently logged in user. + + The `currentAccessToken` is a convenient representation of the token of the + current user and is used by other SDK components (like `FBSDKLoginManager`). + */ +@property (class, nullable, nonatomic, copy) FBSDKAccessToken *currentAccessToken; + +/// Returns YES if currentAccessToken is not nil AND currentAccessToken is not expired +@property (class, nonatomic, readonly, getter = isCurrentAccessTokenActive, assign) BOOL currentAccessTokenIsActive; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (class, nullable, nonatomic, copy) id tokenCache; + +/// Returns the app ID. +@property (nonatomic, readonly, copy) NSString *appID; + +/// Returns the expiration date for data access +@property (nonatomic, readonly, copy) NSDate *dataAccessExpirationDate; + +/// Returns the known declined permissions. +@property (nonatomic, readonly, copy) NSSet *declinedPermissions + NS_REFINED_FOR_SWIFT; + +/// Returns the known declined permissions. +@property (nonatomic, readonly, copy) NSSet *expiredPermissions + NS_REFINED_FOR_SWIFT; + +/// Returns the expiration date. +@property (nonatomic, readonly, copy) NSDate *expirationDate; + +/// Returns the known granted permissions. +@property (nonatomic, readonly, copy) NSSet *permissions + NS_REFINED_FOR_SWIFT; + +/// Returns the date the token was last refreshed. +@property (nonatomic, readonly, copy) NSDate *refreshDate; + +/// Returns the opaque token string. +@property (nonatomic, readonly, copy) NSString *tokenString; + +/// Returns the user ID. +@property (nonatomic, readonly, copy) NSString *userID; + +/// Returns whether the access token is expired by checking its expirationDate property +@property (nonatomic, readonly, getter = isExpired, assign) BOOL expired; + +/// Returns whether user data access is still active for the given access token +@property (nonatomic, readonly, getter = isDataAccessExpired, assign) BOOL dataAccessExpired; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + Initializes a new instance. + @param tokenString the opaque token string. + @param permissions the granted permissions. Note this is converted to NSSet and is only + an NSArray for the convenience of literal syntax. + @param declinedPermissions the declined permissions. Note this is converted to NSSet and is only + an NSArray for the convenience of literal syntax. + @param expiredPermissions the expired 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). + @param dataAccessExpirationDate the date which data access will expire for the given user + (defaults to distantFuture). + + This initializer should only be used for advanced apps that + manage tokens explicitly. Typical login flows only need to use `FBSDKLoginManager` + along with `+currentAccessToken`. + */ +- (instancetype)initWithTokenString:(NSString *)tokenString + permissions:(NSArray *)permissions + declinedPermissions:(NSArray *)declinedPermissions + expiredPermissions:(NSArray *)expiredPermissions + appID:(NSString *)appID + userID:(NSString *)userID + expirationDate:(nullable NSDate *)expirationDate + refreshDate:(nullable NSDate *)refreshDate + dataAccessExpirationDate:(nullable NSDate *)dataAccessExpirationDate + NS_DESIGNATED_INITIALIZER; + +/** + Convenience getter to determine if a permission has been granted + @param permission The permission to check. + */ +// UNCRUSTIFY_FORMAT_OFF +- (BOOL)hasGranted:(NSString *)permission +NS_SWIFT_NAME(hasGranted(permission:)); +// UNCRUSTIFY_FORMAT_ON + +/** + 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; + +/** + Refresh the current access token's permission state and extend the token's expiration date, + if possible. + @param completion an optional callback handler that can surface any errors related to permission refreshing. + + On a successful refresh, the currentAccessToken will be updated so you typically only need to + observe the `FBSDKAccessTokenDidChangeNotification` notification. + + If a token is already expired, it cannot be refreshed. + */ ++ (void)refreshCurrentAccessTokenWithCompletion:(nullable FBSDKGraphRequestCompletion)completion; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAccessTokenProtocols.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAccessTokenProtocols.h new file mode 100644 index 0000000..5c033ca --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAccessTokenProtocols.h @@ -0,0 +1,43 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@class FBSDKAccessToken; +@protocol FBSDKTokenCaching; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(AccessTokenProviding) +@protocol FBSDKAccessTokenProviding + +@property (class, nullable, nonatomic, readonly, copy) FBSDKAccessToken *currentAccessToken; +@property (class, nullable, nonatomic, copy) id tokenCache; + +@end + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(AccessTokenSetting) +@protocol FBSDKAccessTokenSetting + +@property (class, nullable, nonatomic, copy) FBSDKAccessToken *currentAccessToken; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAdvertisingTrackingStatus.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAdvertisingTrackingStatus.h new file mode 100644 index 0000000..730b90d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAdvertisingTrackingStatus.h @@ -0,0 +1,25 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +typedef NS_ENUM(NSUInteger, FBSDKAdvertisingTrackingStatus) { + FBSDKAdvertisingTrackingAllowed, + FBSDKAdvertisingTrackingDisallowed, + FBSDKAdvertisingTrackingUnspecified, +} NS_SWIFT_NAME(AdvertisingTrackingStatus); + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppAvailabilityChecker.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppAvailabilityChecker.h new file mode 100644 index 0000000..21a1f44 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppAvailabilityChecker.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AppAvailabilityChecker) +@protocol FBSDKAppAvailabilityChecker + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nonatomic, readonly, assign) BOOL isMessengerAppInstalled; +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nonatomic, readonly, assign) BOOL isFacebookAppInstalled; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppEventName.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppEventName.h new file mode 100644 index 0000000..b55589b --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppEventName.h @@ -0,0 +1,92 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/** + @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 `FBSDKAppEventParameterName` constants. + */ + +/// typedef for FBSDKAppEventName +typedef NSString *FBSDKAppEventName NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(AppEvents.Name); + +// MARK: - General Purpose + +/// Log this event when the user clicks an ad. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameAdClick; + +/// Log this event when the user views an ad. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameAdImpression; + +/// Log this event when a user has completed registration with the app. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameCompletedRegistration; + +/// Log this event when the user has completed a tutorial in the app. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameCompletedTutorial; + +/// A telephone/SMS, email, chat or other type of contact between a customer and your business. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameContact; + +/// The customization of products through a configuration tool or other application your business owns. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameCustomizeProduct; + +/// The donation of funds to your organization or cause. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameDonate; + +/// When a person finds one of your locations via web or application, with an intention to visit (example: find product at a local store). +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameFindLocation; + +/// Log this event when the user has rated an item in the app. The valueToSum passed to logEvent should be the numeric rating. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameRated; + +/// The booking of an appointment to visit one of your locations. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameSchedule; + +/// Log this event when a user has performed a search within the app. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameSearched; + +/// The start of a free trial of a product or service you offer (example: trial subscription). +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameStartTrial; + +/// The submission of an application for a product, service or program you offer (example: credit card, educational program or job). +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameSubmitApplication; + +/// The start of a paid subscription for a product or service you offer. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameSubscribe; + +/// Log this event when a user has viewed a form of content in the app. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameViewedContent; + +// MARK: - E-Commerce + +/// Log this event when the user has entered their payment info. +FOUNDATION_EXPORT FBSDKAppEventName 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. +FOUNDATION_EXPORT FBSDKAppEventName 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. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameAddedToWishlist; + +/// Log this event when the user has entered the checkout process. The valueToSum passed to logEvent should be the total price in the cart. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameInitiatedCheckout; + +/// Log this event when the user has completed a transaction. The valueToSum passed to logEvent should be the total price of the transaction. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNamePurchased; + +// MARK: - Gaming + +/// Log this event when the user has achieved a level in the app. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameAchievedLevel; + +/// Log this event when the user has unlocked an achievement in the app. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameUnlockedAchievement; + +/// Log this event when the user has spent app credits. The valueToSum passed to logEvent should be the number of credits spent. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameSpentCredits; diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterName.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterName.h new file mode 100644 index 0000000..ceb5e2d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterName.h @@ -0,0 +1,73 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/** + @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. + */ + +/// typedef for FBSDKAppEventParameterName +typedef NSString *FBSDKAppEventParameterName NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(AppEvents.ParameterName); + +/** + * Parameter key used to specify data for the one or more pieces of content being logged about. + * Data should be a JSON encoded string. + * Example: + * "[{\"id\": \"1234\", \"quantity\": 2, \"item_price\": 5.99}, {\"id\": \"5678\", \"quantity\": 1, \"item_price\": 9.99}]" + */ +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameContent; + +/// Parameter key used to specify an ID for the specific piece of content being logged about. Could be an EAN, article identifier, etc., depending on the nature of the app. +FOUNDATION_EXPORT FBSDKAppEventParameterName 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. +FOUNDATION_EXPORT FBSDKAppEventParameterName 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 . +FOUNDATION_EXPORT FBSDKAppEventParameterName 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. +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameDescription; + +/// Parameter key used to specify the level achieved in a `FBAppEventNameAchieved` event. +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameLevel; + +/// Parameter key used to specify the maximum rating available for the `FBAppEventNameRate` event. E.g., "5" or "10". +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameMaxRatingValue; + +/// Parameter key used to specify how many items are being processed for an `FBAppEventNameInitiatedCheckout` or `FBAppEventNamePurchased` event. +FOUNDATION_EXPORT FBSDKAppEventParameterName 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. +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNamePaymentInfoAvailable; + +/// Parameter key used to specify method user has used to register for the app, e.g., "Facebook", "email", "Twitter", etc +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameRegistrationMethod; + +/// Parameter key used to specify the string provided by the user for a search operation. +FOUNDATION_EXPORT FBSDKAppEventParameterName 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. +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameSuccess; + +/** Parameter key used to specify the type of ad in an FBSDKAppEventNameAdImpression + * or FBSDKAppEventNameAdClick event. + * E.g. "banner", "interstitial", "rewarded_video", "native" */ +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameAdType; + +/** Parameter key used to specify the unique ID for all events within a subscription + * in an FBSDKAppEventNameSubscribe or FBSDKAppEventNameStartTrial event. */ +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameOrderID; + +/// Parameter key used to specify event name. +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameEventName; + +/// Parameter key used to specify event log time. +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameLogTime; diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterProduct.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterProduct.h new file mode 100644 index 0000000..ff0b036 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterProduct.h @@ -0,0 +1,77 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/// @methodgroup Predefined event name parameters for common additional information to accompany events logged through the `logProductItem` method on `FBSDKAppEvents`. + +/// typedef for FBSDKAppEventParameterProduct +typedef NSString *const FBSDKAppEventParameterProduct NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(AppEvents.ParameterProduct); + +/// Parameter key used to specify the product item's category. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCategory; + +/// Parameter key used to specify the product item's custom label 0. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCustomLabel0; + +/// Parameter key used to specify the product item's custom label 1. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCustomLabel1; + +/// Parameter key used to specify the product item's custom label 2. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCustomLabel2; + +/// Parameter key used to specify the product item's custom label 3. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCustomLabel3; + +/// Parameter key used to specify the product item's custom label 4. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCustomLabel4; + +/// Parameter key used to specify the product item's AppLink app URL for iOS. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIOSUrl; + +/// Parameter key used to specify the product item's AppLink app ID for iOS App Store. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIOSAppStoreID; + +/// Parameter key used to specify the product item's AppLink app name for iOS. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIOSAppName; + +/// Parameter key used to specify the product item's AppLink app URL for iPhone. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPhoneUrl; + +/// Parameter key used to specify the product item's AppLink app ID for iPhone App Store. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPhoneAppStoreID; + +/// Parameter key used to specify the product item's AppLink app name for iPhone. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPhoneAppName; + +/// Parameter key used to specify the product item's AppLink app URL for iPad. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPadUrl; + +/// Parameter key used to specify the product item's AppLink app ID for iPad App Store. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPadAppStoreID; + +/// Parameter key used to specify the product item's AppLink app name for iPad. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPadAppName; + +/// Parameter key used to specify the product item's AppLink app URL for Android. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkAndroidUrl; + +/// Parameter key used to specify the product item's AppLink fully-qualified package name for intent generation. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkAndroidPackage; + +/// Parameter key used to specify the product item's AppLink app name for Android. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkAndroidAppName; + +/// Parameter key used to specify the product item's AppLink app URL for Windows Phone. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkWindowsPhoneUrl; + +/// Parameter key used to specify the product item's AppLink app ID, as a GUID, for App Store. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkWindowsPhoneAppID; + +/// Parameter key used to specify the product item's AppLink app name for Windows Phone. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkWindowsPhoneAppName; diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterValue.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterValue.h new file mode 100644 index 0000000..796e2e1 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterValue.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/* + @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. + */ + +/// typedef for FBSDKAppEventParameterValue +typedef NSString *const FBSDKAppEventParameterValue NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(AppEvents.ParameterValue); + +/// Yes-valued parameter value to be used with parameter keys that need a Yes/No value +FOUNDATION_EXPORT FBSDKAppEventParameterValue FBSDKAppEventParameterValueYes; + +/// No-valued parameter value to be used with parameter keys that need a Yes/No value +FOUNDATION_EXPORT FBSDKAppEventParameterValue FBSDKAppEventParameterValueNo; diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppEventUserDataType.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppEventUserDataType.h new file mode 100644 index 0000000..194443d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppEventUserDataType.h @@ -0,0 +1,44 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +typedef NSString *const FBSDKAppEventUserDataType NS_TYPED_EXTENSIBLE_ENUM; + +/// Parameter key used to specify user's email. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventEmail; + +/// Parameter key used to specify user's first name. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventFirstName; + +/// Parameter key used to specify user's last name. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventLastName; + +/// Parameter key used to specify user's phone. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventPhone; + +/// Parameter key used to specify user's date of birth. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventDateOfBirth; + +/// Parameter key used to specify user's gender. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventGender; + +/// Parameter key used to specify user's city. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventCity; + +/// Parameter key used to specify user's state. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventState; + +/// Parameter key used to specify user's zip. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventZip; + +/// Parameter key used to specify user's country. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventCountry; + +/// Parameter key used to specify user's external id. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventExternalId; diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h new file mode 100644 index 0000000..1504e74 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h @@ -0,0 +1,521 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + #import +#endif + +#import +#import +#import +#import +#import +#import +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +@class FBSDKAccessToken; + +/// Optional plist key ("FacebookLoggingOverrideAppID") for setting `loggingOverrideAppID` +FOUNDATION_EXPORT NSString *const FBSDKAppEventsOverrideAppIDBundleKey +NS_SWIFT_NAME(AppEventsOverrideAppIDBundleKey); + +/** + Client-side event logging for specialized application analytics available through Facebook App Insights + and for use with Facebook Ads conversion tracking and optimization. + + 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. + */ +NS_SWIFT_NAME(AppEvents) +@interface FBSDKAppEvents : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/// The shared instance of AppEvents. +@property (class, nonatomic, readonly, strong) FBSDKAppEvents *shared; + +/// Control over event batching/flushing + +/// The current event flushing behavior specifying when events are sent back to Facebook servers. +@property (nonatomic) FBSDKAppEventsFlushBehavior flushBehavior; + +/** + Set the 'override' App ID for App Event logging. + + 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 `Settings.shared.appID`. + + This should be set before any other calls are made to `AppEvents`. Thus, you should set it in your application + delegate's `application(_:didFinishLaunchingWithOptions:)` method. + */ +@property (nullable, nonatomic, copy) NSString *loggingOverrideAppID; + +/** + The custom user ID to associate with all app events. + + The userID is persisted until it is cleared by passing `nil`. + */ +@property (nullable, nonatomic, copy) NSString *userID; + +/// Returns generated anonymous id that persisted with current install of the app +@property (nonatomic, readonly) NSString *anonymousID; + +/* + * Basic event logging + */ + +/** + Log an event with just an event name. + + @param eventName The name of the event to record. Limitations on number of events and name length + are given in the `AppEvents` documentation. + */ +- (void)logEvent:(FBSDKAppEventName)eventName; + +/** + Log an event with an event name 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 `AppEvents` documentation. Common event names are provided in `AppEvents.Name` constants. + + @param valueToSum Amount to be aggregated into all events of this event name, and App Insights will report + the cumulative and average value of this amount. + */ +- (void)logEvent:(FBSDKAppEventName)eventName + valueToSum:(double)valueToSum; + +/** + Log an event with an event name 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 `AppEvents` documentation. Common event names are provided in `AppEvents.Name` 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 `AppEvents` documentation. Commonly used parameter names + are provided in `AppEvents.ParameterName` constants. + */ +- (void)logEvent:(FBSDKAppEventName)eventName + parameters:(nullable NSDictionary *)parameters; + +/** + Log an event with an event name, 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 `AppEvents` documentation. Common event names are provided in `AppEvents.Name` constants. + + @param valueToSum Amount to be aggregated into all events of this event name, 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 `AppEvents` documentation. Commonly used parameter names + are provided in `AppEvents.ParameterName` constants. + */ +- (void)logEvent:(FBSDKAppEventName)eventName + valueToSum:(double)valueToSum + parameters:(nullable NSDictionary *)parameters; + +/** + Log an event with an event name, 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 `AppEvents` documentation. Common event names are provided in `AppEvents.Name` 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 `AppEvents` documentation. Commonly used parameter names + are provided in `AppEvents.ParameterName` constants. + + @param accessToken The optional access token to log the event as. + */ +- (void)logEvent:(FBSDKAppEventName)eventName + valueToSum:(nullable NSNumber *)valueToSum + parameters:(nullable NSDictionary *)parameters + accessToken:(nullable FBSDKAccessToken *)accessToken; + +/* + * Purchase logging + */ + +/** + 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 string (e.g., "USD", "EUR", "GBP"); see ISO-4217 for + specific values. One reference for these is . + + This event immediately triggers a flush of the `AppEvents` event queue, unless the `flushBehavior` is set + to `FBSDKAppEventsFlushBehaviorExplicitOnly`. + */ +// UNCRUSTIFY_FORMAT_OFF +- (void)logPurchase:(double)purchaseAmount currency:(NSString *)currency + NS_SWIFT_NAME(logPurchase(amount:currency:)); +// UNCRUSTIFY_FORMAT_ON + +/** + 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 string (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 `AppEvents` documentation. Commonly used parameter names + are provided in `AppEvents.ParameterName` constants. + + This event immediately triggers a flush of the `AppEvents` event queue, unless the `flushBehavior` is set + to `FBSDKAppEventsFlushBehaviorExplicitOnly`. + */ +// UNCRUSTIFY_FORMAT_OFF +- (void)logPurchase:(double)purchaseAmount + currency:(NSString *)currency + parameters:(nullable NSDictionary *)parameters + NS_SWIFT_NAME(logPurchase(amount:currency:parameters:)); +// UNCRUSTIFY_FORMAT_ON + +/** + 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 string (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 `AppEvents` documentation. Commonly used parameter names + are provided in `AppEvents.ParameterName` constants. + + @param accessToken The optional access token to log the event as. + + This event immediately triggers a flush of the `AppEvents` event queue, unless the `flushBehavior` is set + to `FBSDKAppEventsFlushBehaviorExplicitOnly`. + */ +// UNCRUSTIFY_FORMAT_OFF +- (void)logPurchase:(double)purchaseAmount + currency:(NSString *)currency + parameters:(nullable NSDictionary *)parameters + accessToken:(nullable FBSDKAccessToken *)accessToken + NS_SWIFT_NAME(logPurchase(amount:currency:parameters:accessToken:)); +// UNCRUSTIFY_FORMAT_ON + +/* + * Push Notifications Logging + */ + +/** + Log an app event that tracks that the application was open via Push Notification. + + @param payload Notification payload received via `UIApplicationDelegate`. + */ +// UNCRUSTIFY_FORMAT_OFF +- (void)logPushNotificationOpen:(NSDictionary *)payload + NS_SWIFT_NAME(logPushNotificationOpen(payload:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Log an app event that tracks that a custom action was taken from a push notification. + + @param payload Notification payload received via `UIApplicationDelegate`. + @param action Name of the action that was taken. + */ +// UNCRUSTIFY_FORMAT_OFF +- (void)logPushNotificationOpen:(NSDictionary *)payload action:(NSString *)action + NS_SWIFT_NAME(logPushNotificationOpen(payload:action:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Uploads product catalog product item as an app event + + @param itemID Unique ID for the item. Can be a variant for a product. + Max size is 100. + @param availability If item is in stock. Accepted values are: + in stock - Item ships immediately + out of stock - No plan to restock + preorder - Available in future + available for order - Ships in 1-2 weeks + discontinued - Discontinued + @param condition Product condition: new, refurbished or used. + @param description Short text describing product. Max size is 5000. + @param imageLink Link to item image used in ad. + @param link Link to merchant's site where someone can buy the item. + @param title Title of item. + @param priceAmount Amount of purchase, in the currency specified by the 'currency' + parameter. This value will be rounded to the thousandths place + (e.g., 12.34567 becomes 12.346). + @param currency Currency string (e.g., "USD", "EUR", "GBP"); see ISO-4217 for + specific values. One reference for these is . + @param gtin Global Trade Item Number including UPC, EAN, JAN and ISBN + @param mpn Unique manufacture ID for product + @param brand Name of the brand + Note: Either gtin, mpn or brand is required. + @param parameters Optional fields for deep link specification. + */ +// UNCRUSTIFY_FORMAT_OFF +- (void)logProductItem:(NSString *)itemID + availability:(FBSDKProductAvailability)availability + condition:(FBSDKProductCondition)condition + description:(NSString *)description + imageLink:(NSString *)imageLink + link:(NSString *)link + title:(NSString *)title + priceAmount:(double)priceAmount + currency:(NSString *)currency + gtin:(nullable NSString *)gtin + mpn:(nullable NSString *)mpn + brand:(nullable NSString *)brand + parameters:(nullable NSDictionary *)parameters + NS_SWIFT_NAME(logProductItem(id:availability:condition:description:imageLink:link:title:priceAmount:currency:gtin:mpn:brand:parameters:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Notifies the events system that the app has launched and, when appropriate, logs an "activated app" event. + This function is called automatically from FBSDKApplicationDelegate applicationDidBecomeActive, unless + one overrides 'FacebookAutoLogAppEventsEnabled' key to false in the project info plist file. + In case 'FacebookAutoLogAppEventsEnabled' is set to false, then it 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. + + `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; + +/* + * Push Notifications Registration and Uninstall Tracking + */ + +/** + Sets and sends device token to register the current application for push notifications. + + Sets and sends a device token from the `Data` representation that you get from + `UIApplicationDelegate.application(_:didRegisterForRemoteNotificationsWithDeviceToken:)`. + + @param deviceToken Device token data. + */ +- (void)setPushNotificationsDeviceToken:(nullable NSData *)deviceToken; + +/** + Sets and sends device token string to register the current application for push notifications. + + Sets and sends a device token string + + @param deviceTokenString Device token string. + */ +// UNCRUSTIFY_FORMAT_OFF +- (void)setPushNotificationsDeviceTokenString:(nullable NSString *)deviceTokenString +NS_SWIFT_NAME(setPushNotificationsDeviceToken(_:)); +// UNCRUSTIFY_FORMAT_ON + +/** + 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; + +/** + 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. + + The JSON in the request's response will include a "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 `Settings.shared.isEventDataUsageLimited` flag, or a specific Facebook user cannot be identified. + + @param accessToken The access token to use to establish the user's identity for users logged into Facebook through this app. + If `nil`, then `AccessToken.current` is used. + */ +// UNCRUSTIFY_FORMAT_OFF +- (nullable FBSDKGraphRequest *)requestForCustomAudienceThirdPartyIDWithAccessToken:(nullable FBSDKAccessToken *)accessToken +NS_SWIFT_NAME(requestForCustomAudienceThirdPartyID(accessToken:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Sets custom user data to associate with all app events. All user data are hashed + and used to match Facebook user from this instance of an application. + + The user data will be persisted between application instances. + + @param email user's email + @param firstName user's first name + @param lastName user's last name + @param phone user's phone + @param dateOfBirth user's date of birth + @param gender user's gender + @param city user's city + @param state user's state + @param zip user's zip + @param country user's country + */ + +// UNCRUSTIFY_FORMAT_OFF +- (void)setUserEmail:(nullable NSString *)email + firstName:(nullable NSString *)firstName + lastName:(nullable NSString *)lastName + phone:(nullable NSString *)phone + dateOfBirth:(nullable NSString *)dateOfBirth + gender:(nullable NSString *)gender + city:(nullable NSString *)city + state:(nullable NSString *)state + zip:(nullable NSString *)zip + country:(nullable NSString *)country +NS_SWIFT_NAME(setUser(email:firstName:lastName:phone:dateOfBirth:gender:city:state:zip:country:)); +// UNCRUSTIFY_FORMAT_ON + +/// Returns the set user data else nil +- (nullable NSString *)getUserData; + +/// Clears the current user data +- (void)clearUserData; + +/** + Sets custom user data to associate with all app events. All user data are hashed + and used to match Facebook user from this instance of an application. + + The user data will be persisted between application instances. + + @param data data + @param type data type, e.g. FBSDKAppEventEmail, FBSDKAppEventPhone + */ +- (void)setUserData:(nullable NSString *)data + forType:(FBSDKAppEventUserDataType)type; + +/// Clears the current user data of certain type +- (void)clearUserDataForType:(FBSDKAppEventUserDataType)type; + +#if !TARGET_OS_TV +/** + Intended to be used as part of a hybrid webapp. + If you call this method, the FB SDK will inject a new JavaScript object into your webview. + If the FB Pixel is used within the webview, and references the app ID of this app, + then it will detect the presence of this injected JavaScript object + and pass Pixel events back to the FB SDK for logging using the AppEvents framework. + + @param webView The webview to augment with the additional JavaScript behavior + */ +- (void)augmentHybridWebView:(WKWebView *)webView; +#endif + +/* + * Unity helper functions + */ + +/** + Set whether Unity is already initialized. + + @param isUnityInitialized Whether Unity is initialized. + */ +- (void)setIsUnityInitialized:(BOOL)isUnityInitialized; + +/// Send event bindings to Unity +- (void)sendEventBindingsToUnity; + +/* + * SDK Specific Event Logging + * Do not call directly outside of the SDK itself. + */ + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void)logInternalEvent:(FBSDKAppEventName)eventName + parameters:(nullable NSDictionary *)parameters + isImplicitlyLogged:(BOOL)isImplicitlyLogged; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void)logInternalEvent:(FBSDKAppEventName)eventName + parameters:(nullable NSDictionary *)parameters + isImplicitlyLogged:(BOOL)isImplicitlyLogged + accessToken:(nullable FBSDKAccessToken *)accessToken; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppEventsFlushBehavior.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppEventsFlushBehavior.h new file mode 100644 index 0000000..872ef49 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppEventsFlushBehavior.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/** + NS_ENUM (NSUInteger, FBSDKAppEventsFlushBehavior) + + 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, +} NS_SWIFT_NAME(AppEvents.FlushBehavior); diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppEventsNotificationName.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppEventsNotificationName.h new file mode 100644 index 0000000..159e27d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppEventsNotificationName.h @@ -0,0 +1,13 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/// NSNotificationCenter name indicating a result of a failed log flush attempt. The posted object will be an NSError instance. +FOUNDATION_EXPORT NSNotificationName const FBSDKAppEventsLoggingResultNotification +NS_SWIFT_NAME(AppEventsLoggingResult); diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppLink.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppLink.h new file mode 100644 index 0000000..a995c02 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppLink.h @@ -0,0 +1,65 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// The version of the App Link protocol that this library supports +FOUNDATION_EXPORT NSString *const FBSDKAppLinkVersion +NS_SWIFT_NAME(AppLinkVersion); + +/** + Contains App Link metadata relevant for navigation on this device + derived from the HTML at a given URL. + */ +NS_SWIFT_NAME(AppLink) +@interface FBSDKAppLink : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + Creates a FBSDKAppLink with the given list of FBSDKAppLinkTargets and target URL. + + Generally, this will only be used by implementers of the FBSDKAppLinkResolving protocol, + as these implementers will produce App Link metadata for a given URL. + + @param sourceURL the URL from which this App Link is derived + @param targets an ordered list of FBSDKAppLinkTargets for this platform derived + from App Link metadata. + @param webURL the fallback web URL, if any, for the app link. + */ +// UNCRUSTIFY_FORMAT_OFF ++ (instancetype)appLinkWithSourceURL:(nullable NSURL *)sourceURL + targets:(NSArray *)targets + webURL:(nullable NSURL *)webURL +NS_SWIFT_NAME(init(sourceURL:targets:webURL:)); +// UNCRUSTIFY_FORMAT_ON + +/// The URL from which this FBSDKAppLink was derived +@property (nullable, nonatomic, readonly, strong) NSURL *sourceURL; + +/** + The ordered list of targets applicable to this platform that will be used + for navigation. + */ +@property (nonatomic, readonly, copy) NSArray> *targets; + +/// The fallback web URL to use if no targets are installed on this device. +@property (nullable, nonatomic, readonly, strong) NSURL *webURL; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppLinkNavigation.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppLinkNavigation.h new file mode 100644 index 0000000..bfc1bbf --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppLinkNavigation.h @@ -0,0 +1,137 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +#import +#import + +@protocol FBSDKSettings; + +NS_ASSUME_NONNULL_BEGIN + +/// The result of calling navigate on a FBSDKAppLinkNavigation +typedef NS_ENUM(NSInteger, FBSDKAppLinkNavigationType) { + /// Indicates that the navigation failed and no app was opened + FBSDKAppLinkNavigationTypeFailure, + /// Indicates that the navigation succeeded by opening the URL in the browser + FBSDKAppLinkNavigationTypeBrowser, + /// Indicates that the navigation succeeded by opening the URL in an app on the device + FBSDKAppLinkNavigationTypeApp, +} NS_SWIFT_NAME(AppLinkNavigation.Type); + +/** + Describes the callback for appLinkFromURLInBackground. + @param navType the FBSDKAppLink representing the deferred App Link + @param error the error during the request, if any + */ +typedef void (^ FBSDKAppLinkNavigationBlock)(FBSDKAppLinkNavigationType navType, NSError *_Nullable error) +NS_SWIFT_NAME(AppLinkNavigationBlock); + +/** + Represents a pending request to navigate to an App Link. Most developers will + simply use navigateToURLInBackground: to open a URL, but developers can build + custom requests with additional navigation and app data attached to them by + creating FBSDKAppLinkNavigations themselves. + */ +NS_EXTENSION_UNAVAILABLE_IOS("Not available in app extension") +NS_SWIFT_NAME(AppLinkNavigation) +@interface FBSDKAppLinkNavigation : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + The default resolver to be used for App Link resolution. If the developer has not set one explicitly, + a basic, built-in FBSDKWebViewAppLinkResolver will be used. + */ +@property (class, nonatomic, strong) id defaultResolver +NS_SWIFT_NAME(default); + +/** + The extras for the AppLinkNavigation. This will generally contain application-specific + data that should be passed along with the request, such as advertiser or affiliate IDs or + other such metadata relevant on this device. + */ +@property (nonatomic, readonly, copy) NSDictionary *extras; + +/** + The al_applink_data for the AppLinkNavigation. This will generally contain data common to + navigation attempts such as back-links, user agents, and other information that may be used + in routing and handling an App Link request. + */ +@property (nonatomic, readonly, copy) NSDictionary *appLinkData; + +/// The AppLink to navigate to +@property (nonatomic, readonly, strong) FBSDKAppLink *appLink; + +/** + Return navigation type for current instance. + No-side-effect version of navigate: + */ +@property (nonatomic, readonly) FBSDKAppLinkNavigationType navigationType; + +// UNCRUSTIFY_FORMAT_OFF +/// Creates an AppLinkNavigation with the given link, extras, and App Link data ++ (instancetype)navigationWithAppLink:(FBSDKAppLink *)appLink + extras:(NSDictionary *)extras + appLinkData:(NSDictionary *)appLinkData + settings:(id)settings +NS_SWIFT_NAME(init(appLink:extras:appLinkData:settings:)); + +/** + Creates an NSDictionary with the correct format for iOS callback URLs, + to be used as 'appLinkData' argument in the call to navigationWithAppLink:extras:appLinkData: + */ ++ (NSDictionary *> *)callbackAppLinkDataForAppWithName:(NSString *)appName + url:(NSString *)url +NS_SWIFT_NAME(callbackAppLinkData(forApp:url:)); +// UNCRUSTIFY_FORMAT_ON + +/// Performs the navigation +- (FBSDKAppLinkNavigationType)navigate:(NSError **)error + __attribute__((swift_error(nonnull_error))); + +/// Returns a FBSDKAppLink for the given URL ++ (void)resolveAppLink:(NSURL *)destination handler:(FBSDKAppLinkBlock)handler; + +/// Returns a FBSDKAppLink for the given URL using the given App Link resolution strategy ++ (void)resolveAppLink:(NSURL *)destination + resolver:(id)resolver + handler:(FBSDKAppLinkBlock)handler; + +/// Navigates to a FBSDKAppLink and returns whether it opened in-app or in-browser ++ (FBSDKAppLinkNavigationType)navigateToAppLink:(FBSDKAppLink *)link error:(NSError **)error + __attribute__((swift_error(nonnull_error))); + +/** + Returns a FBSDKAppLinkNavigationType based on a FBSDKAppLink. + It's essentially a no-side-effect version of navigateToAppLink:error:, + allowing apps to determine flow based on the link type (e.g. open an + internal web view instead of going straight to the browser for regular links.) + */ ++ (FBSDKAppLinkNavigationType)navigationTypeForLink:(FBSDKAppLink *)link; + +/// Navigates to a URL (an asynchronous action) and returns a FBSDKNavigationType ++ (void)navigateToURL:(NSURL *)destination handler:(FBSDKAppLinkNavigationBlock)handler; + +/** + Navigates to a URL (an asynchronous action) using the given App Link resolution + strategy and returns a FBSDKNavigationType + */ ++ (void)navigateToURL:(NSURL *)destination + resolver:(id)resolver + handler:(FBSDKAppLinkNavigationBlock)handler; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h new file mode 100644 index 0000000..23056a3 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h @@ -0,0 +1,57 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Describes the callback for appLinkFromURLInBackground. + @param appLinks the FBSDKAppLinks representing the deferred App Links + @param error the error during the request, if any + */ +typedef void (^ FBSDKAppLinksBlock)(NSDictionary *appLinks, + NSError *_Nullable error) +NS_SWIFT_NAME(AppLinksBlock); + +/** + Provides an implementation of the FBSDKAppLinkResolving 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. + + Usage of this type requires a client token. See `[FBSDKSettings setClientToken:]` + */ + +NS_SWIFT_NAME(AppLinkResolver) +@interface FBSDKAppLinkResolver : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + Asynchronously resolves App Link data for a given array of URLs. + + @param urls The URLs to resolve into an App Link. + @param handler The completion block that will return an App Link for the given URL. + */ +- (void)appLinksFromURLs:(NSArray *)urls handler:(FBSDKAppLinksBlock)handler + NS_EXTENSION_UNAVAILABLE_IOS("Not available in app extension"); + +/// Allocates and initializes a new instance of FBSDKAppLinkResolver. ++ (instancetype)resolver + NS_SWIFT_NAME(init()); + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolving.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolving.h new file mode 100644 index 0000000..41a9276 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolving.h @@ -0,0 +1,46 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +@class FBSDKAppLink; + +/** + Describes the callback for appLinkFromURLInBackground. + @param appLink the FBSDKAppLink representing the deferred App Link + @param error the error during the request, if any + */ +typedef void (^ FBSDKAppLinkBlock)(FBSDKAppLink *_Nullable appLink, NSError *_Nullable error) +NS_SWIFT_NAME(AppLinkBlock); + +/** + 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. + */ +NS_SWIFT_NAME(AppLinkResolving) +@protocol FBSDKAppLinkResolving + +/** + Asynchronously resolves App Link data for a given URL. + + @param url The URL to resolve into an App Link. + @param handler The completion block that will return an App Link for the given URL. + */ +- (void)appLinkFromURL:(NSURL *)url handler:(FBSDKAppLinkBlock)handler + NS_EXTENSION_UNAVAILABLE_IOS("Not available in app extension"); + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppLinkTarget.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppLinkTarget.h new file mode 100644 index 0000000..75ecb37 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppLinkTarget.h @@ -0,0 +1,48 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Represents a target defined in App Link metadata, consisting of at least + a URL, and optionally an App Store ID and name. + */ +NS_SWIFT_NAME(AppLinkTarget) +@interface FBSDKAppLinkTarget : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/// Creates a FBSDKAppLinkTarget with the given app site and target URL. +// UNCRUSTIFY_FORMAT_OFF ++ (instancetype)appLinkTargetWithURL:(nullable NSURL *)url + appStoreId:(nullable NSString *)appStoreId + appName:(NSString *)appName +NS_SWIFT_NAME(init(url:appStoreId:appName:)); +// UNCRUSTIFY_FORMAT_ON + +/// The URL prefix for this app link target +@property (nullable, nonatomic, readonly, strong) NSURL *URL; + +/// The app ID for the app store +@property (nullable, nonatomic, readonly, copy) NSString *appStoreId; + +/// The name of the app +@property (nonatomic, readonly, copy) NSString *appName; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppLinkTargetProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppLinkTargetProtocol.h new file mode 100644 index 0000000..2bd5cd3 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppLinkTargetProtocol.h @@ -0,0 +1,39 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// A protocol to describe an AppLinkTarget +NS_SWIFT_NAME(AppLinkTargetProtocol) +@protocol FBSDKAppLinkTarget + +// UNCRUSTIFY_FORMAT_OFF ++ (instancetype)appLinkTargetWithURL:(nullable NSURL *)url + appStoreId:(nullable NSString *)appStoreId + appName:(NSString *)appName +NS_SWIFT_NAME(init(url:appStoreId:appName:)); +// UNCRUSTIFY_FORMAT_ON + +/// The URL prefix for this app link target +@property (nullable, nonatomic, readonly) NSURL *URL; + +/// The app ID for the app store +@property (nullable, nonatomic, readonly, copy) NSString *appStoreId; + +/// The name of the app +@property (nonatomic, readonly, copy) NSString *appName; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h new file mode 100644 index 0000000..cc886b5 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h @@ -0,0 +1,75 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Describes the callback for fetchDeferredAppLink. + @param url the url representing the deferred App Link + @param error the error during the request, if any + + The url may also have a fb_click_time_utc query parameter that + represents when the click occurred that caused the deferred App Link to be created. + */ +typedef void (^ FBSDKURLBlock)(NSURL *_Nullable url, NSError *_Nullable error) +NS_SWIFT_NAME(URLBlock); + +/// Class containing App Links related utility methods. +NS_SWIFT_NAME(AppLinkUtility) +@interface FBSDKAppLinkUtility : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + 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 + + 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:(nullable FBSDKURLBlock)handler; + +/** + Call this method to fetch promotion code from the url, if it's present. + + @param url App Link url that was passed to the app. + + @return Promotion code string. + + Call this method to fetch App Invite Promotion Code from applink if present. + This can be used to fetch the promotion code that was associated with the invite when it + was created. This method should be called with the url from the openURL method. + */ ++ (nullable NSString *)appInvitePromotionCodeFromURL:(NSURL *)url; + +/** + Check whether the scheme is defined in the app's URL schemes. + @param scheme the scheme of App Link URL + @return YES if the scheme is defined, otherwise NO. + */ ++ (BOOL)isMatchURLScheme:(NSString *)scheme; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppURLSchemeProviding.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppURLSchemeProviding.h new file mode 100644 index 0000000..c8b39fa --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAppURLSchemeProviding.h @@ -0,0 +1,34 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AppURLSchemeProviding) +@protocol FBSDKAppURLSchemeProviding + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nonatomic, readonly, copy) NSString *appURLScheme; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void)validateURLSchemes; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h new file mode 100644 index 0000000..585fb0c --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h @@ -0,0 +1,131 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + 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). + + 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. + */ +NS_SWIFT_NAME(ApplicationDelegate) +@interface FBSDKApplicationDelegate : NSObject + +#if !DEBUG +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; +#endif + +#if DEBUG +@property (nonnull, nonatomic, readonly) NSHashTable> *applicationObservers; +#endif + +/// Gets the singleton instance. +@property (class, nonatomic, readonly, strong) FBSDKApplicationDelegate *sharedInstance +NS_SWIFT_NAME(shared); + +/** + Call this method from the [UIApplicationDelegate application:continue:restorationHandler:] method + of the AppDelegate for your app. It should be invoked in order to properly process the web URL (universal link) + once the end user is redirected to your app. + + @param application The application as passed to [UIApplicationDelegate application:continue:restorationHandler:]. + @param userActivity The user activity as passed to [UIApplicationDelegate application:continue:restorationHandler:]. + + @return YES if the URL was intended for the Facebook SDK, NO if not. +*/ +- (BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity; + +/** + 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:(nullable NSString *)sourceApplication + annotation:(nullable id)annotation; + +/** + Call this method from the [UIApplicationDelegate application:openURL:options:] 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:options:]. + + @param url The URL as passed to [UIApplicationDelegate application:openURL:options:]. + + @param options The options dictionary as passed to [UIApplicationDelegate application:openURL:options:]. + + @return YES if the URL was intended for the Facebook SDK, NO if not. + */ +- (BOOL)application:(UIApplication *)application + openURL:(NSURL *)url + options:(NSDictionary *)options; + +/** + 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. + As part of SDK initialization basic auto logging of app events will occur, this can be + controlled via 'FacebookAutoLogAppEventsEnabled' key in the project info plist file. + + @param application The application as passed to [UIApplicationDelegate application:didFinishLaunchingWithOptions:]. + + @param launchOptions The launchOptions as passed to [UIApplicationDelegate application:didFinishLaunchingWithOptions:]. + + @return True if there are any added application observers that themselves return true from calling `application:didFinishLaunchingWithOptions:`. + Otherwise will return false. Note: If this method is called after calling `initializeSDK` then the return type will always be false. + */ +- (BOOL) application:(UIApplication *)application + didFinishLaunchingWithOptions:(nullable NSDictionary *)launchOptions; + +/** + Initializes the SDK. + + If you are using the SDK within the context of the UIApplication lifecycle, do not use this method. + Instead use `application: didFinishLaunchingWithOptions:`. + + As part of SDK initialization basic auto logging of app events will occur, this can be + controlled via 'FacebookAutoLogAppEventsEnabled' key in the project info plist file. + */ +- (void)initializeSDK; + +/** + Adds an observer that will be informed about application lifecycle events. + + @note Observers are weakly held + */ +- (void)addObserver:(id)observer; + +/** + Removes an observer so that it will no longer be informed about application lifecycle events. + + @note Observers are weakly held + */ +- (void)removeObserver:(id)observer; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKApplicationObserving.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKApplicationObserving.h new file mode 100644 index 0000000..14de894 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKApplicationObserving.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/* + Describes any types that optionally responds to various lifecycle events + received by the system and propagated by `ApplicationDelegate`. + */ +@protocol FBSDKApplicationObserving + +@optional +- (void)applicationDidBecomeActive:(nullable UIApplication *)application; +- (void)applicationWillResignActive:(nullable UIApplication *)application; +- (void)applicationDidEnterBackground:(nullable UIApplication *)application; +- (BOOL) application:(UIApplication *)application + didFinishLaunchingWithOptions:(nullable NSDictionary *)launchOptions; + +- (BOOL)application:(UIApplication *)application + openURL:(NSURL *)url + sourceApplication:(nullable NSString *)sourceApplication + annotation:(nullable id)annotation; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationToken.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationToken.h new file mode 100644 index 0000000..90648c9 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationToken.h @@ -0,0 +1,53 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +@class FBSDKAuthenticationTokenClaims; +@protocol FBSDKTokenCaching; + +NS_ASSUME_NONNULL_BEGIN + +/// Represent an AuthenticationToken used for a login attempt +NS_SWIFT_NAME(AuthenticationToken) +@interface FBSDKAuthenticationToken : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + The "global" authentication token that represents the currently logged in user. + + The `currentAuthenticationToken` represents the authentication token of the + current user and can be used by a client to verify an authentication attempt. + */ +@property (class, nullable, nonatomic, copy) FBSDKAuthenticationToken *currentAuthenticationToken; + +/// The raw token string from the authentication response +@property (nonatomic, readonly, copy) NSString *tokenString; + +/// The nonce from the decoded authentication response +@property (nonatomic, readonly, copy) NSString *nonce; + +/// The graph domain where the user is authenticated. +@property (nonatomic, readonly, copy) NSString *graphDomain; + +/// Returns the claims encoded in the AuthenticationToken +- (nullable FBSDKAuthenticationTokenClaims *)claims; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (class, nullable, nonatomic, copy) id tokenCache; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenClaims.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenClaims.h new file mode 100644 index 0000000..874fe07 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenClaims.h @@ -0,0 +1,89 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AuthenticationTokenClaims) +@interface FBSDKAuthenticationTokenClaims : NSObject + +/// A unique identifier for the token. +@property (nonatomic, readonly, strong) NSString *jti; + +/// Issuer Identifier for the Issuer of the response. +@property (nonatomic, readonly, strong) NSString *iss; + +/// Audience(s) that this ID Token is intended for. +@property (nonatomic, readonly, strong) NSString *aud; + +/// String value used to associate a Client session with an ID Token, and to mitigate replay attacks. +@property (nonatomic, readonly, strong) NSString *nonce; + +/// Expiration time on or after which the ID Token MUST NOT be accepted for processing. +@property (nonatomic, readonly, assign) NSTimeInterval exp; + +/// Time at which the JWT was issued. +@property (nonatomic, readonly, assign) NSTimeInterval iat; + +/// Subject - Identifier for the End-User at the Issuer. +@property (nonatomic, readonly, strong) NSString *sub; + +/// End-User's full name in displayable form including all name parts. +@property (nullable, nonatomic, readonly, strong) NSString *name; + +/// End-User's given name in displayable form +@property (nullable, nonatomic, readonly, strong) NSString *givenName; + +/// End-User's middle name in displayable form +@property (nullable, nonatomic, readonly, strong) NSString *middleName; + +/// End-User's family name in displayable form +@property (nullable, nonatomic, readonly, strong) NSString *familyName; + +/** + End-User's preferred e-mail address. + + IMPORTANT: This field will only be populated if your user has granted your application the 'email' permission. + */ +@property (nullable, nonatomic, readonly, strong) NSString *email; + +/// URL of the End-User's profile picture. +@property (nullable, nonatomic, readonly, strong) NSString *picture; + +/** + End-User's friends. + + IMPORTANT: This field will only be populated if your user has granted your application the 'user_friends' permission. + */ +@property (nullable, nonatomic, readonly, strong) NSArray *userFriends; + +/// End-User's birthday +@property (nullable, nonatomic, readonly, strong) NSString *userBirthday; + +/// End-User's age range +@property (nullable, nonatomic, readonly, strong) NSDictionary *userAgeRange; + +/// End-User's hometown +@property (nullable, nonatomic, readonly, strong) NSDictionary *userHometown; + +/// End-User's location +@property (nullable, nonatomic, readonly, strong) NSDictionary *userLocation; + +/// End-User's gender +@property (nullable, nonatomic, readonly, strong) NSString *userGender; + +/// End-User's link +@property (nullable, nonatomic, readonly, strong) NSString *userLink; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenProtocols.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenProtocols.h new file mode 100644 index 0000000..4f64230 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenProtocols.h @@ -0,0 +1,31 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AuthenticationTokenProviding) +@protocol FBSDKAuthenticationTokenProviding + +@property (class, nullable, nonatomic, readonly, copy) FBSDKAuthenticationToken *currentAuthenticationToken; +@property (class, nullable, nonatomic, copy) id tokenCache; + +@end + +NS_SWIFT_NAME(AuthenticationTokenSetting) +@protocol FBSDKAuthenticationTokenSetting + +@property (class, nullable, nonatomic, copy) FBSDKAuthenticationToken *currentAuthenticationToken; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPI.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPI.h new file mode 100644 index 0000000..75036b6 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPI.h @@ -0,0 +1,54 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + + #import + #import + #import + #import + #import + #import + #import + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +typedef void (^FBSDKAuthenticationCompletionHandler)(NSURL *_Nullable callbackURL, NSError *_Nullable error); + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(BridgeAPI) +@interface FBSDKBridgeAPI : NSObject + +@property (class, nonatomic, readonly, strong) FBSDKBridgeAPI *sharedInstance +NS_SWIFT_NAME(shared); +@property (nonatomic, readonly, getter = isActive) BOOL active; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIProtocol.h new file mode 100644 index 0000000..d394ff3 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIProtocol.h @@ -0,0 +1,44 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +FOUNDATION_EXPORT NSString *const FBSDKBridgeAPIAppIDKey; +FOUNDATION_EXPORT NSString *const FBSDKBridgeAPISchemeSuffixKey; +FOUNDATION_EXPORT NSString *const FBSDKBridgeAPIVersionKey; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(BridgeAPIProtocol) +@protocol FBSDKBridgeAPIProtocol + +- (nullable NSURL *)requestURLWithActionID:(NSString *)actionID + scheme:(NSString *)scheme + methodName:(NSString *)methodName + parameters:(NSDictionary *)parameters + error:(NSError *_Nullable *)errorRef; +- (nullable NSDictionary *)responseParametersForActionID:(NSString *)actionID + queryParameters:(NSDictionary *)queryParameters + cancelled:(nullable BOOL *)cancelledRef + error:(NSError *_Nullable *)errorRef; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIProtocolType.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIProtocolType.h new file mode 100644 index 0000000..7f86623 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIProtocolType.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +typedef NS_ENUM(NSUInteger, FBSDKBridgeAPIProtocolType) { + FBSDKBridgeAPIProtocolTypeNative, + FBSDKBridgeAPIProtocolTypeWeb, +}; + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequest.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequest.h new file mode 100644 index 0000000..b55f870 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequest.h @@ -0,0 +1,50 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +#import +#import +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(BridgeAPIRequest) +@interface FBSDKBridgeAPIRequest : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; ++ (nullable instancetype)bridgeAPIRequestWithProtocolType:(FBSDKBridgeAPIProtocolType)protocolType + scheme:(FBSDKURLScheme)scheme + methodName:(nullable NSString *)methodName + parameters:(nullable NSDictionary *)parameters + userInfo:(nullable NSDictionary *)userInfo; + +@property (nonatomic, readonly, copy) NSString *actionID; +@property (nullable, nonatomic, readonly, copy) NSString *methodName; +@property (nullable, nonatomic, readonly, copy) NSDictionary *parameters; +@property (nonatomic, readonly, assign) FBSDKBridgeAPIProtocolType protocolType; +@property (nonatomic, readonly, copy) FBSDKURLScheme scheme; +@property (nullable, nonatomic, readonly, copy) NSDictionary *userInfo; + +- (nullable NSURL *)requestURL:(NSError *_Nullable *)errorRef; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestCreating.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestCreating.h new file mode 100644 index 0000000..5c76020 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestCreating.h @@ -0,0 +1,38 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +#import + +@protocol FBSDKBridgeAPIRequest; + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(BridgeAPIRequestCreating) +@protocol FBSDKBridgeAPIRequestCreating + +- (nullable id)bridgeAPIRequestWithProtocolType:(FBSDKBridgeAPIProtocolType)protocolType + scheme:(NSString *)scheme + methodName:(nullable NSString *)methodName + parameters:(nullable NSDictionary *)parameters + userInfo:(nullable NSDictionary *)userInfo; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestOpening.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestOpening.h new file mode 100644 index 0000000..11039fb --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestOpening.h @@ -0,0 +1,51 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import +#import + +#import +#import + +@protocol FBSDKBridgeAPIRequest; +@protocol FBSDKURLOpening; + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(BridgeAPIRequestOpening) +@protocol FBSDKBridgeAPIRequestOpening + +- (void)openBridgeAPIRequest:(NSObject *)request + useSafariViewController:(BOOL)useSafariViewController + fromViewController:(nullable UIViewController *)fromViewController + completionBlock:(FBSDKBridgeAPIResponseBlock)completionBlock; + +// UNCRUSTIFY_FORMAT_OFF +- (void)openURLWithSafariViewController:(NSURL *)url + sender:(nullable id)sender + fromViewController:(nullable UIViewController *)fromViewController + handler:(FBSDKSuccessBlock)handler +NS_SWIFT_NAME(openURLWithSafariViewController(url:sender:from:handler:)); +// UNCRUSTIFY_FORMAT_ON + +- (void)openURL:(NSURL *)url + sender:(nullable id)sender + handler:(FBSDKSuccessBlock)handler; +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestProtocol.h new file mode 100644 index 0000000..4cdbd85 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestProtocol.h @@ -0,0 +1,40 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +#import + +@protocol FBSDKBridgeAPIProtocol; + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(BridgeAPIRequestProtocol) +@protocol FBSDKBridgeAPIRequest + +@property (nonatomic, readonly, copy) NSString *scheme; +@property (nonatomic, readonly, copy) NSString *actionID; +@property (nullable, nonatomic, readonly, copy) NSString *methodName; +@property (nonatomic, readonly, assign) FBSDKBridgeAPIProtocolType protocolType; +@property (nullable, nonatomic, readonly, strong) id protocol; + +- (nullable NSURL *)requestURL:(NSError *_Nullable *)errorRef; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIResponse.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIResponse.h new file mode 100644 index 0000000..1ccb94b --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIResponse.h @@ -0,0 +1,56 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +@protocol FBSDKBridgeAPIRequest; +@class FBSDKBridgeAPIResponse; + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +typedef void (^ FBSDKBridgeAPIResponseBlock)(FBSDKBridgeAPIResponse *response) +NS_SWIFT_NAME(BridgeAPIResponseBlock); + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(BridgeAPIResponse) +@interface FBSDKBridgeAPIResponse : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + ++ (instancetype)bridgeAPIResponseWithRequest:(NSObject *)request + error:(nullable NSError *)error; ++ (nullable instancetype)bridgeAPIResponseWithRequest:(NSObject *)request + responseURL:(NSURL *)responseURL + sourceApplication:(nullable NSString *)sourceApplication + error:(NSError *__autoreleasing *)errorRef; ++ (instancetype)bridgeAPIResponseCancelledWithRequest:(NSObject *)request; + +@property (nonatomic, readonly, getter = isCancelled, assign) BOOL cancelled; +@property (nullable, nonatomic, readonly, copy) NSError *error; +@property (nonatomic, readonly, copy) NSObject *request; +@property (nullable, nonatomic, readonly, copy) NSDictionary *responseParameters; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKButton.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKButton.h new file mode 100644 index 0000000..beae11a --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKButton.h @@ -0,0 +1,80 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import +#import + +@class FBSDKIcon; + +NS_ASSUME_NONNULL_BEGIN + +/// A base class for common SDK buttons. +NS_SWIFT_NAME(FBButton) +@interface FBSDKButton : FBSDKImpressionLoggingButton + +@property (nonatomic, readonly, getter = isImplicitlyDisabled) BOOL implicitlyDisabled; + +- (void)checkImplicitlyDisabled; +- (void)configureWithIcon:(nullable FBSDKIcon *)icon + title:(nullable NSString *)title + backgroundColor:(nullable UIColor *)backgroundColor + highlightedColor:(nullable UIColor *)highlightedColor; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void) configureWithIcon:(nullable FBSDKIcon *)icon + title:(nullable NSString *)title + backgroundColor:(nullable UIColor *)backgroundColor + highlightedColor:(nullable UIColor *)highlightedColor + selectedTitle:(nullable NSString *)selectedTitle + selectedIcon:(nullable FBSDKIcon *)selectedIcon + selectedColor:(nullable UIColor *)selectedColor + selectedHighlightedColor:(nullable UIColor *)selectedHighlightedColor; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (UIColor *)defaultBackgroundColor; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (CGSize)sizeThatFits:(CGSize)size title:(NSString *)title; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (CGSize)textSizeForText:(NSString *)text font:(UIFont *)font constrainedSize:(CGSize)constrainedSize lineBreakMode:(NSLineBreakMode)lineBreakMode; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void)logTapEventWithEventName:(FBSDKAppEventName)eventName + parameters:(nullable NSDictionary *)parameters; +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKButtonImpressionLogging.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKButtonImpressionLogging.h new file mode 100644 index 0000000..806edb4 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKButtonImpressionLogging.h @@ -0,0 +1,31 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(FBButtonImpressionLogging) +@protocol FBSDKButtonImpressionLogging + +@property (nullable, nonatomic, readonly, copy) NSDictionary *analyticsParameters; +@property (nonatomic, readonly, copy) FBSDKAppEventName impressionTrackingEventName; +@property (nonatomic, readonly, copy) NSString *impressionTrackingIdentifier; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKConstants.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKConstants.h new file mode 100644 index 0000000..d746dca --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKConstants.h @@ -0,0 +1,206 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + The error domain for all errors from FBSDKCoreKit. + + Error codes from the SDK in the range 0-99 are reserved for this domain. + */ +FOUNDATION_EXPORT NSErrorDomain const FBSDKErrorDomain +NS_SWIFT_NAME(ErrorDomain); + +/* + @methodgroup error userInfo keys + */ + +/** + The userInfo key for the invalid collection for errors with FBSDKErrorInvalidArgument. + + If the invalid argument is a collection, the collection can be found with this key and the individual + invalid item can be found with FBSDKErrorArgumentValueKey. + */ +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorArgumentCollectionKey +NS_SWIFT_NAME(ErrorArgumentCollectionKey); + +/// The userInfo key for the invalid argument name for errors with FBSDKErrorInvalidArgument. +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorArgumentNameKey +NS_SWIFT_NAME(ErrorArgumentNameKey); + +/// The userInfo key for the invalid argument value for errors with FBSDKErrorInvalidArgument. +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorArgumentValueKey +NS_SWIFT_NAME(ErrorArgumentValueKey); + +/** + The userInfo key for the message for developers in NSErrors that originate from the SDK. + + The developer message will not be localized and is not intended to be presented within the app. + */ +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorDeveloperMessageKey +NS_SWIFT_NAME(ErrorDeveloperMessageKey); + +/// The userInfo key describing a localized description that can be presented to the user. +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorLocalizedDescriptionKey +NS_SWIFT_NAME(ErrorLocalizedDescriptionKey); + +/// The userInfo key describing a localized title that can be presented to the user, used with `FBSDKLocalizedErrorDescriptionKey`. +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorLocalizedTitleKey +NS_SWIFT_NAME(ErrorLocalizedTitleKey); + +/* + @methodgroup FBSDKGraphRequest error userInfo keys + */ + +/** + The userInfo key describing the error category, for error recovery purposes. + + See `FBSDKGraphErrorRecoveryProcessor` and `[FBSDKGraphRequest disableErrorRecovery]`. + */ +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorKey +NS_SWIFT_NAME(GraphRequestErrorKey); + +/* + The userInfo key for the Graph API error code. + */ +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorGraphErrorCodeKey +NS_SWIFT_NAME(GraphRequestErrorGraphErrorCodeKey); + +/* + The userInfo key for the Graph API error subcode. + */ +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorGraphErrorSubcodeKey +NS_SWIFT_NAME(GraphRequestErrorGraphErrorSubcodeKey); + +/* + The userInfo key for the HTTP status code. + */ +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorHTTPStatusCodeKey +NS_SWIFT_NAME(GraphRequestErrorHTTPStatusCodeKey); + +/* + The userInfo key for the raw JSON response. + */ +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorParsedJSONResponseKey +NS_SWIFT_NAME(GraphRequestErrorParsedJSONResponseKey); + +/* + @methodgroup Common Code Block typedefs + */ + +/// Success Block +typedef void (^ FBSDKCodeBlock)(void) +NS_SWIFT_NAME(CodeBlock); + +/// Error Block +typedef void (^ FBSDKErrorBlock)(NSError *_Nullable error) +NS_SWIFT_NAME(ErrorBlock); + +/// Success Block +typedef void (^ FBSDKSuccessBlock)(BOOL success, NSError *_Nullable error) +NS_SWIFT_NAME(SuccessBlock); + +/* + @methodgroup Enums + */ + +#ifndef NS_ERROR_ENUM + #define NS_ERROR_ENUM(_domain, _name) \ + enum _name : NSInteger _name; \ + enum __attribute__((ns_error_domain(_domain))) _name: NSInteger +#endif + +/** + FBSDKCoreError + Error codes for FBSDKErrorDomain. + */ +typedef NS_ERROR_ENUM (FBSDKErrorDomain, FBSDKCoreError) +{ + /// Reserved. + FBSDKErrorReserved = 0, + + /// The error code for errors from invalid encryption on incoming encryption URLs. + FBSDKErrorEncryption, + + /// The error code for errors from invalid arguments to SDK methods. + FBSDKErrorInvalidArgument, + + /// The error code for unknown errors. + FBSDKErrorUnknown, + + /** + A request failed due to a network error. Use NSUnderlyingErrorKey to retrieve + the error object from the NSURLSession for more information. + */ + FBSDKErrorNetwork, + + /// The error code for errors encountered during an App Events flush. + FBSDKErrorAppEventsFlush, + + /** + An endpoint that returns a binary response was used with FBSDKGraphRequestConnection. + + Endpoints that return image/jpg, etc. should be accessed using NSURLRequest + */ + FBSDKErrorGraphRequestNonTextMimeTypeReturned, + + /** + The operation failed because the server returned an unexpected response. + + You can get this error if you are not using the most recent SDK, or you are accessing a version of the + Graph API incompatible with the current SDK. + */ + FBSDKErrorGraphRequestProtocolMismatch, + + /** + The Graph API returned an error. + + See below for useful userInfo keys (beginning with FBSDKGraphRequestError*) + */ + FBSDKErrorGraphRequestGraphAPI, + + /** + The specified dialog configuration is not available. + + This error may signify that the configuration for the dialogs has not yet been downloaded from the server + or that the dialog is unavailable. Subsequent attempts to use the dialog may succeed as the configuration is loaded. + */ + FBSDKErrorDialogUnavailable, + + /// Indicates an operation failed because a required access token was not found. + FBSDKErrorAccessTokenRequired, + + /// Indicates an app switch (typically for a dialog) failed because the destination app is out of date. + FBSDKErrorAppVersionUnsupported, + + /// Indicates an app switch to the browser (typically for a dialog) failed. + FBSDKErrorBrowserUnavailable, + + /// Indicates that a bridge api interaction was interrupted. + FBSDKErrorBridgeAPIInterruption, + + /// Indicates that a bridge api response creation failed. + FBSDKErrorBridgeAPIResponse, +} NS_SWIFT_NAME(CoreError); + +/** + FBSDKGraphRequestError + Describes the category of Facebook error. See `FBSDKGraphRequestErrorKey`. + */ +typedef NS_ENUM(NSUInteger, FBSDKGraphRequestError) { + /// The default error category that is not known to be recoverable. Check `FBSDKLocalizedErrorDescriptionKey` for a user facing message. + FBSDKGraphRequestErrorOther = 0, + /// Indicates the error is temporary (such as server throttling). While a recoveryAttempter will be provided with the error instance, the attempt is guaranteed to succeed so you can simply retry the operation if you do not want to present an alert. + FBSDKGraphRequestErrorTransient = 1, + /// Indicates the error can be recovered (such as requiring a login). A recoveryAttempter will be provided with the error instance that can take UI action. + FBSDKGraphRequestErrorRecoverable = 2, +} NS_SWIFT_NAME(GraphRequestError); + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-Swift.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-Swift.h new file mode 100644 index 0000000..095752d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-Swift.h @@ -0,0 +1,500 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +#ifndef FBSDKCOREKIT_SWIFT_H +#define FBSDKCOREKIT_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import Foundation; +@import ObjectiveC; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKCoreKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + +@protocol FBSDKGraphRequestFactory; +@protocol FBSDKSettings; +@class NSString; + +SWIFT_PROTOCOL_NAMED("CAPIReporter") +@protocol FBSDKCAPIReporter +- (void)enable; +- (void)configureWithFactory:(id _Nonnull)factory settings:(id _Nonnull)settings; +- (void)recordEvent:(NSDictionary * _Nonnull)parameters; +@end + + +SWIFT_CLASS("_TtC12FBSDKCoreKit25FBSDKAppEventsCAPIManager") +@interface FBSDKAppEventsCAPIManager : NSObject +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FBSDKAppEventsCAPIManager * _Nonnull shared;) ++ (FBSDKAppEventsCAPIManager * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +- (void)configureWithFactory:(id _Nonnull)factory settings:(id _Nonnull)settings; +- (void)enable; +- (void)recordEvent:(NSDictionary * _Nonnull)parameters; +@end + + +SWIFT_CLASS("_TtC12FBSDKCoreKit35FBSDKTransformerGraphRequestFactory") +@interface FBSDKTransformerGraphRequestFactory : NSObject +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FBSDKTransformerGraphRequestFactory * _Nonnull shared;) ++ (FBSDKTransformerGraphRequestFactory * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +- (void)configureWithDatasetID:(NSString * _Nonnull)datasetID url:(NSString * _Nonnull)url accessKey:(NSString * _Nonnull)accessKey; +- (void)callCapiGatewayAPIWith:(NSDictionary * _Nonnull)parameters; +@end + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +#ifndef FBSDKCOREKIT_SWIFT_H +#define FBSDKCOREKIT_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import Foundation; +@import ObjectiveC; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKCoreKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + +@protocol FBSDKGraphRequestFactory; +@protocol FBSDKSettings; +@class NSString; + +SWIFT_PROTOCOL_NAMED("CAPIReporter") +@protocol FBSDKCAPIReporter +- (void)enable; +- (void)configureWithFactory:(id _Nonnull)factory settings:(id _Nonnull)settings; +- (void)recordEvent:(NSDictionary * _Nonnull)parameters; +@end + + +SWIFT_CLASS("_TtC12FBSDKCoreKit25FBSDKAppEventsCAPIManager") +@interface FBSDKAppEventsCAPIManager : NSObject +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FBSDKAppEventsCAPIManager * _Nonnull shared;) ++ (FBSDKAppEventsCAPIManager * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +- (void)configureWithFactory:(id _Nonnull)factory settings:(id _Nonnull)settings; +- (void)enable; +- (void)recordEvent:(NSDictionary * _Nonnull)parameters; +@end + + +SWIFT_CLASS("_TtC12FBSDKCoreKit35FBSDKTransformerGraphRequestFactory") +@interface FBSDKTransformerGraphRequestFactory : NSObject +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FBSDKTransformerGraphRequestFactory * _Nonnull shared;) ++ (FBSDKTransformerGraphRequestFactory * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +- (void)configureWithDatasetID:(NSString * _Nonnull)datasetID url:(NSString * _Nonnull)url accessKey:(NSString * _Nonnull)accessKey; +- (void)callCapiGatewayAPIWith:(NSDictionary * _Nonnull)parameters; +@end + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h new file mode 100644 index 0000000..8a4569c --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h @@ -0,0 +1,112 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import + +#import + +#if !TARGET_OS_TV + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKCoreKitVersions.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKCoreKitVersions.h new file mode 100644 index 0000000..14be1be --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKCoreKitVersions.h @@ -0,0 +1,10 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#define FBSDK_VERSION_STRING @"13.2.0" +#define FBSDK_DEFAULT_GRAPH_API_VERSION @"v13.0" diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKDeviceButton.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKDeviceButton.h new file mode 100644 index 0000000..73ac851 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKDeviceButton.h @@ -0,0 +1,28 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +/* + An internal base class for device related flows. + + This is an internal API that should not be used directly and is subject to change. + */ +NS_SWIFT_NAME(FBDeviceButton) +@interface FBSDKDeviceButton : FBSDKButton +- (CGSize)sizeThatFits:(CGSize)size attributedTitle:(NSAttributedString *)title; +- (nullable NSAttributedString *)attributedTitleStringFromString:(NSString *)string; +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKDeviceDialogView.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKDeviceDialogView.h new file mode 100644 index 0000000..b98e122 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKDeviceDialogView.h @@ -0,0 +1,45 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(DeviceDialogViewDelegate) +@protocol FBSDKDeviceDialogViewDelegate; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ + +NS_SWIFT_NAME(FBDeviceDialogView) +@interface FBSDKDeviceDialogView : UIView + +@property (nonatomic, weak) id delegate; +@property (nonatomic, copy) NSString *confirmationCode; + +// override point for subclasses. +- (void)buildView; + +@end + +NS_SWIFT_NAME(DeviceDialogViewDelegate) +@protocol FBSDKDeviceDialogViewDelegate + +- (void)deviceDialogViewDidCancel:(FBSDKDeviceDialogView *)deviceDialogView; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKDeviceViewControllerBase.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKDeviceViewControllerBase.h new file mode 100644 index 0000000..b4e309a --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKDeviceViewControllerBase.h @@ -0,0 +1,28 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if TARGET_OS_TV + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/* + An internal base class for device related flows. + + This is an internal API that should not be used directly and is subject to change. + */ +NS_SWIFT_NAME(FBDeviceViewControllerBase) +@interface FBSDKDeviceViewControllerBase : UIViewController +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKDynamicFrameworkLoaderProxy.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKDynamicFrameworkLoaderProxy.h new file mode 100644 index 0000000..a46a303 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKDynamicFrameworkLoaderProxy.h @@ -0,0 +1,29 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(DynamicFrameworkLoaderProxy) +@interface FBSDKDynamicFrameworkLoaderProxy : NSObject +/** + Load the kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly value from the Security Framework + + @return The kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly value or nil. + */ ++ (CFTypeRef)loadkSecAttrAccessibleAfterFirstUnlockThisDeviceOnly; +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKDynamicSocialFrameworkLoader.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKDynamicSocialFrameworkLoader.h new file mode 100644 index 0000000..bad1414 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKDynamicSocialFrameworkLoader.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - Social Constants + +/// Dynamically loaded constant for SLServiceTypeFacebook +FOUNDATION_EXPORT NSString *fbsdkdfl_SLServiceTypeFacebook(void); + +#pragma mark - Social Classes + +FOUNDATION_EXPORT Class fbsdkdfl_SLComposeViewControllerClass(void); + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKErrorCreating.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKErrorCreating.h new file mode 100644 index 0000000..85c9e19 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKErrorCreating.h @@ -0,0 +1,81 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(ErrorCreating) +@protocol FBSDKErrorCreating + +// MARK: - General Errors + +// UNCRUSTIFY_FORMAT_OFF +- (NSError *)errorWithCode:(NSInteger)code + userInfo:(nullable NSDictionary *)userInfo + message:(nullable NSString *)message + underlyingError:(nullable NSError *)underlyingError +NS_SWIFT_NAME(error(code:userInfo:message:underlyingError:)); +// UNCRUSTIFY_FORMAT_ON + +// UNCRUSTIFY_FORMAT_OFF +- (NSError *)errorWithDomain:(NSErrorDomain)domain + code:(NSInteger)code + userInfo:(nullable NSDictionary *)userInfo + message:(nullable NSString *)message + underlyingError:(nullable NSError *)underlyingError +NS_SWIFT_NAME(error(domain:code:userInfo:message:underlyingError:)); +// UNCRUSTIFY_FORMAT_ON + +// MARK: - Invalid Argument Errors + +// UNCRUSTIFY_FORMAT_OFF +- (NSError *)invalidArgumentErrorWithName:(NSString *)name + value:(nullable id)value + message:(nullable NSString *)message + underlyingError:(nullable NSError *)underlyingError +NS_SWIFT_NAME(invalidArgumentError(name:value:message:underlyingError:)); +// UNCRUSTIFY_FORMAT_ON + +// UNCRUSTIFY_FORMAT_OFF +- (NSError *)invalidArgumentErrorWithDomain:(NSErrorDomain)domain + name:(NSString *)name + value:(nullable id)value + message:(nullable NSString *)message + underlyingError:(nullable NSError *)underlyingError +NS_SWIFT_NAME(invalidArgumentError(domain:name:value:message:underlyingError:)); +// UNCRUSTIFY_FORMAT_ON + +// MARK: - Required Argument Errors + +// UNCRUSTIFY_FORMAT_OFF +- (NSError *)requiredArgumentErrorWithName:(NSString *)name + message:(nullable NSString *)message + underlyingError:(nullable NSError *)underlyingError +NS_SWIFT_NAME(requiredArgumentError(name:message:underlyingError:)); +// UNCRUSTIFY_FORMAT_ON + +// UNCRUSTIFY_FORMAT_OFF +- (NSError *)requiredArgumentErrorWithDomain:(NSErrorDomain)domain + name:(NSString *)name + message:(nullable NSString *)message + underlyingError:(nullable NSError *)underlyingError + NS_SWIFT_NAME(requiredArgumentError(domain:name:message:underlyingError:)); +// UNCRUSTIFY_FORMAT_ON + +// MARK: - Unknown Errors + +// UNCRUSTIFY_FORMAT_OFF +- (NSError *)unknownErrorWithMessage:(nullable NSString *)message + userInfo:(nullable NSDictionary *)userInfo +NS_SWIFT_NAME(unknownError(message:userInfo:)); +// UNCRUSTIFY_FORMAT_ON + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKErrorFactory.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKErrorFactory.h new file mode 100644 index 0000000..217c00b --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKErrorFactory.h @@ -0,0 +1,18 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(ErrorFactory) +@interface FBSDKErrorFactory : NSObject + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKErrorRecoveryAttempting.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKErrorRecoveryAttempting.h new file mode 100644 index 0000000..b005f8e --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKErrorRecoveryAttempting.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + A formal protocol very similar to the informal protocol NSErrorRecoveryAttempting + Internal use only + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(ErrorRecoveryAttempting) +@protocol FBSDKErrorRecoveryAttempting + +/** + Attempt the recovery + @param error the error + @param completionHandler the handler called upon completion of error recovery + + Attempt recovery from the error, and call the completion handler. The value passed for didRecover must be YES if error recovery was completely successful, NO otherwise. + */ +- (void)attemptRecoveryFromError:(NSError *)error + completionHandler:(void (^)(BOOL didRecover))completionHandler; +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKFeature.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKFeature.h new file mode 100644 index 0000000..09a72fa --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKFeature.h @@ -0,0 +1,84 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + FBSDKFeature enum + Defines features in SDK + + Sample: + FBSDKFeatureAppEvents = 0x00010000, + ^ ^ ^ ^ + | | | | + kit | | | + feature | | + sub-feature | + sub-sub-feature + 1st byte: kit + 2nd byte: feature + 3rd byte: sub-feature + 4th byte: sub-sub-feature + + @warning INTERNAL - DO NOT USE + */ +typedef NS_ENUM(NSUInteger, FBSDKFeature) { + FBSDKFeatureNone = 0x00000000, + // Features in CoreKit + /// Essential of CoreKit + FBSDKFeatureCore = 0x01000000, + /// App Events + FBSDKFeatureAppEvents = 0x01010000, + FBSDKFeatureCodelessEvents = 0x01010100, + FBSDKFeatureRestrictiveDataFiltering = 0x01010200, + FBSDKFeatureAAM = 0x01010300, + FBSDKFeaturePrivacyProtection = 0x01010400, + FBSDKFeatureSuggestedEvents = 0x01010401, + FBSDKFeatureIntelligentIntegrity = 0x01010402, + FBSDKFeatureModelRequest = 0x01010403, + FBSDKFeatureEventDeactivation = 0x01010500, + FBSDKFeatureSKAdNetwork = 0x01010600, + FBSDKFeatureSKAdNetworkConversionValue = 0x01010601, + FBSDKFeatureATELogging = 0x01010700, + FBSDKFeatureAEM = 0x01010800, + FBSDKFeatureAEMConversionFiltering = 0x01010801, + FBSDKFeatureAEMCatalogMatching = 0x01010802, + FBSDKFeatureAppEventsCloudbridge = 0x01010900, + /// Instrument + FBSDKFeatureInstrument = 0x01020000, + FBSDKFeatureCrashReport = 0x01020100, + FBSDKFeatureCrashShield = 0x01020101, + FBSDKFeatureErrorReport = 0x01020200, + + // Features in LoginKit + /// Essential of LoginKit + FBSDKFeatureLogin = 0x02000000, + + // Features in ShareKit + /// Essential of ShareKit + FBSDKFeatureShare = 0x03000000, + + // Features in GamingServicesKit + /// Essential of GamingServicesKit + FBSDKFeatureGamingServices = 0x04000000, +} NS_SWIFT_NAME(SDKFeature); + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +typedef void (^FBSDKFeatureManagerBlock)(BOOL enabled); + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKFeatureChecking.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKFeatureChecking.h new file mode 100644 index 0000000..bdb5d53 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKFeatureChecking.h @@ -0,0 +1,29 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(FeatureChecking) +@protocol FBSDKFeatureChecking + +- (BOOL)isEnabled:(FBSDKFeature)feature; + +- (void)checkFeature:(FBSDKFeature)feature + completionBlock:(FBSDKFeatureManagerBlock)completionBlock; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h new file mode 100644 index 0000000..1fee9dd --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h @@ -0,0 +1,97 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +@class FBSDKGraphErrorRecoveryProcessor; +@protocol FBSDKGraphRequest; + +/// Defines a delegate for `FBSDKGraphErrorRecoveryProcessor`. +NS_SWIFT_NAME(GraphErrorRecoveryProcessorDelegate) +@protocol FBSDKGraphErrorRecoveryProcessorDelegate + +/** + 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:(nullable NSError *)error; + +@optional +/** + Indicates the processor is about to process the error. + @param processor the processor instance. + @param error the error is about to be processed. + + return NO if the processor should not process the error. For example, + if you want to prevent alerts of localized messages but otherwise perform retries and recoveries, + you could return NO for errors where userInfo[FBSDKGraphRequestErrorKey] equal to FBSDKGraphRequestErrorOther + */ +- (BOOL)processorWillProcessError:(FBSDKGraphErrorRecoveryProcessor *)processor + error:(nullable NSError *)error; + +@end + +NS_ASSUME_NONNULL_END + +NS_ASSUME_NONNULL_BEGIN + +/** + Defines a type that can process Facebook NSErrors with best practices. + + 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 FBSDKGraphRequestErrorKey, assume the recovery succeeded and + notify the delegate. + 2. If a FBSDKErrorRecoveryAttempting instance is available, display an alert (dispatched to main thread) + with the recovery options and call the instance's attemptRecoveryFromError method. + 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 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. + . + */ +NS_SWIFT_NAME(GraphErrorRecoveryProcessor) +@interface FBSDKGraphErrorRecoveryProcessor : NSObject + +/// Initializes a GraphErrorRecoveryProcessor with an access token string. +- (instancetype)initWithAccessTokenString:(NSString *)accessTokenString; + +/** + Attempts to process the error, return YES if the error can be processed. + @param error the error to process. + @param request the related request that may be reissued. + @param delegate the delegate that will be retained until recovery is complete. + */ +- (BOOL)processError:(NSError *)error + request:(id)request + delegate:(nullable id)delegate; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h new file mode 100644 index 0000000..bd14952 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h @@ -0,0 +1,167 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import +#import +#import +#import +#import + +NS_ASSUME_NONNULL_BEGIN +/** + Represents a request to the Facebook Graph API. + + `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 + */ +NS_SWIFT_NAME(GraphRequest) +@interface FBSDKGraphRequest : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +// UNCRUSTIFY_FORMAT_OFF ++ (void) configureWithSettings:(id)settings + currentAccessTokenStringProvider:(Class)accessTokenProvider + graphRequestConnectionFactory:(id)_graphRequestConnectionFactory +NS_SWIFT_NAME(configure(settings:currentAccessTokenStringProvider:graphRequestConnectionFactory:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Initializes a new instance that use use `[FBSDKAccessToken currentAccessToken]`. + @param graphPath the graph path (e.g., @"me"). + */ +- (instancetype)initWithGraphPath:(NSString *)graphPath; + +/** + Initializes a new instance that use use `[FBSDKAccessToken currentAccessToken]`. + @param graphPath the graph path (e.g., @"me"). + @param method the HTTP method. Empty String defaults to @"GET". + */ +- (instancetype)initWithGraphPath:(NSString *)graphPath + HTTPMethod:(FBSDKHTTPMethod)method; + +/** + 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; + +/** + Initializes a new instance that use use `[FBSDKAccessToken currentAccessToken]`. + @param graphPath the graph path (e.g., @"me"). + @param parameters the optional parameters dictionary. + @param method the HTTP method. Empty String defaults to @"GET". + */ +- (instancetype)initWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + HTTPMethod:(FBSDKHTTPMethod)method; + +/** + 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 `[FBSDKSettings graphAPIVersion]`. + @param method the HTTP method. Empty String defaults to @"GET". + */ +- (instancetype)initWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + tokenString:(nullable NSString *)tokenString + version:(nullable NSString *)version + HTTPMethod:(FBSDKHTTPMethod)method + NS_DESIGNATED_INITIALIZER; + +/** + Initializes a new instance. + @param graphPath the graph path (e.g., @"me"). + @param parameters the optional parameters dictionary. + @param requestFlags flags that indicate how a graph request should be treated in various scenarios + */ +- (instancetype)initWithGraphPath:(NSString *)graphPath + parameters:(nullable NSDictionary *)parameters + flags:(FBSDKGraphRequestFlags)requestFlags; + +/** + 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 HTTPMethod the HTTP method. Empty String defaults to @"GET". + @param flags flags that indicate how a graph request should be treated in various scenarios + */ +- (instancetype)initWithGraphPath:(NSString *)graphPath + parameters:(nullable NSDictionary *)parameters + tokenString:(nullable NSString *)tokenString + HTTPMethod:(nullable NSString *)HTTPMethod + flags:(FBSDKGraphRequestFlags)flags; + +/// The request parameters. +@property (nonatomic, copy) NSDictionary *parameters; + +/// The access token string used by the request. +@property (nullable, nonatomic, readonly, copy) NSString *tokenString; + +/// The Graph API endpoint to use for the request, for example "me". +@property (nonatomic, readonly, copy) NSString *graphPath; + +/// The HTTPMethod to use for the request, for example "GET" or "POST". +@property (nonatomic, readonly, copy) FBSDKHTTPMethod HTTPMethod; + +/// The Graph API version to use (e.g., "v2.0") +@property (nonatomic, readonly, copy) NSString *version; + +/** + If set, disables the automatic error recovery mechanism. + @param disable whether to disable the automatic error recovery mechanism + + By default, non-batched FBSDKGraphRequest instances will automatically try to recover + from errors by constructing a `FBSDKGraphErrorRecoveryProcessor` instance that + 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:]. + */ + +// UNCRUSTIFY_FORMAT_OFF +- (void)setGraphErrorRecoveryDisabled:(BOOL)disable +NS_SWIFT_NAME(setGraphErrorRecovery(disabled:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Starts a connection to the Graph API. + @param completion The handler block to call when the request completes. + */ +- (id)startWithCompletion:(nullable FBSDKGraphRequestCompletion)completion; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnecting.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnecting.h new file mode 100644 index 0000000..a64cb00 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnecting.h @@ -0,0 +1,54 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol FBSDKGraphRequest; +@protocol FBSDKGraphRequestConnecting; +@protocol FBSDKGraphRequestConnectionDelegate; + +/** + FBSDKGraphRequestCompletion + + A block that is passed to addRequest to register for a callback with the results of that + request once the connection completes. + + 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 connection 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. + */ +NS_SWIFT_NAME(GraphRequestCompletion) +typedef void (^FBSDKGraphRequestCompletion)(id _Nullable connection, + id _Nullable result, + NSError *_Nullable error); + +/// A protocol to describe an object that can manage graph requests +NS_SWIFT_NAME(GraphRequestConnecting) +@protocol FBSDKGraphRequestConnecting + +@property (nonatomic, assign) NSTimeInterval timeout; +@property (nullable, nonatomic, weak) id delegate; + +- (void)addRequest:(id)request + completion:(FBSDKGraphRequestCompletion)handler; + +- (void)start; +- (void)cancel; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h new file mode 100644 index 0000000..99966bf --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h @@ -0,0 +1,173 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + The key in the result dictionary for requests to old versions of the Graph API + whose response is not a JSON object. + + 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. + */ +FOUNDATION_EXPORT NSString *const FBSDKNonJSONResponseProperty +NS_SWIFT_NAME(NonJSONResponseProperty); + +@protocol FBSDKGraphRequest; + +/** + The `FBSDKGraphRequestConnection` represents a single connection to Facebook to service a request. + + 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. + */ +NS_SWIFT_NAME(GraphRequestConnection) +@interface FBSDKGraphRequestConnection : NSObject + +/// The default timeout on all FBSDKGraphRequestConnection instances. Defaults to 60 seconds. +@property (class, nonatomic, assign) NSTimeInterval defaultConnectionTimeout; + +/// The delegate object that receives updates. +@property (nullable, nonatomic, weak) id delegate; + +/// Gets or sets the timeout interval to wait for a response before giving up. +@property (nonatomic, assign) NSTimeInterval timeout; + +/** + The raw response that was returned from the server. (readonly) + + 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 FBSDKGraphRequestBlock callback. + */ +@property (nullable, nonatomic, readonly, retain) NSHTTPURLResponse *urlResponse; + +/** + Determines the operation queue that is used to call methods on the connection's delegate. + + 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. + */ +@property (nullable, nonatomic) NSOperationQueue *delegateQueue; + +/// @methodgroup Class methods + +/// @methodgroup Adding requests + +/** + @method + + This method adds an object to this connection. + + @param request A request to be included in the round-trip when start is called. + @param completion A handler to call back when the round-trip completes or times out. + + The completion handler is retained until the block is called upon the + completion or cancellation of the connection. + */ +- (void)addRequest:(id)request + completion:(FBSDKGraphRequestCompletion)completion; + +/** + @method + + This method adds an object to this connection. + + @param request A request to be included in the round-trip when start is called. + + @param completion A handler to call back when the round-trip completes or times out. + The handler will be invoked on the main thread. + + @param name A 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/ ). + + 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:(id)request + name:(NSString *)name + completion:(FBSDKGraphRequestCompletion)completion; + +/** + @method + + This method adds an object to this connection. + + @param request A request to be included in the round-trip when start is called. + + @param completion A handler to call back when the round-trip completes or times out. + + @param parameters The 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". + + 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:(id)request + parameters:(nullable NSDictionary *)parameters + completion:(FBSDKGraphRequestCompletion)completion; + +/// @methodgroup Instance methods + +/** + @method + + Signals that a connection should be logically terminated as the + application is no longer interested in a response. + + 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 + + This method starts a connection with the server and is capable of handling all of the + requests that were added to the connection. + + 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; + +/** + @method + + Overrides the default version for a batch request + + 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)overrideGraphAPIVersion:(NSString *)version; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionDelegate.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionDelegate.h new file mode 100644 index 0000000..738ad47 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionDelegate.h @@ -0,0 +1,93 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + @protocol + + The `FBSDKGraphRequestConnectionDelegate` protocol defines the methods used to receive network + activity progress information from a . + */ +NS_SWIFT_NAME(GraphRequestConnectionDelegate) +@protocol FBSDKGraphRequestConnectionDelegate + +@optional + +/** + @method + + Tells the delegate the request connection will begin loading + + 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:(id)connection; + +/** + @method + + Tells the delegate the request connection finished loading + + If the request connection completes without a network error occurring 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 FBSDKGraphRequestBlock + 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:(id)connection; + +/** + @method + + Tells the delegate the request connection failed with an error + + 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 + FBSDKGraphRequestBlock 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:(id)connection + didFailWithError:(NSError *)error; + +/** + @method + + Tells the delegate how much data has been sent and is planned to send to the remote host + + The byte count arguments refer to the aggregated objects, not a particular . + + Like `NSURLSession`, 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:(id)connection + didSendBodyData:(NSInteger)bytesWritten + totalBytesWritten:(NSInteger)totalBytesWritten + totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactory.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactory.h new file mode 100644 index 0000000..19e62d2 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactory.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal type not intended for use outside of the SDKs. + + A factory for providing objects that conform to `GraphRequestConnecting`. + */ +NS_SWIFT_NAME(GraphRequestConnectionFactory) +@interface FBSDKGraphRequestConnectionFactory : NSObject +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactoryProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactoryProtocol.h new file mode 100644 index 0000000..96b43df --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactoryProtocol.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol FBSDKGraphRequestConnecting; + +/// Describes anything that can provide instances of `FBSDKGraphRequestConnecting` +NS_SWIFT_NAME(GraphRequestConnectionFactoryProtocol) +@protocol FBSDKGraphRequestConnectionFactory + +- (id)createGraphRequestConnection; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h new file mode 100644 index 0000000..3775cb4 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h @@ -0,0 +1,42 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// A container class for data attachments so that additional metadata can be provided about the attachment. +NS_SWIFT_NAME(GraphRequestDataAttachment) +@interface FBSDKGraphRequestDataAttachment : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + 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; + +/// The content type for the attachment. +@property (nonatomic, readonly, copy) NSString *contentType; + +/// The attachment data. +@property (nonatomic, readonly, strong) NSData *data; + +/// The filename for the attachment. +@property (nonatomic, readonly, copy) NSString *filename; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactory.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactory.h new file mode 100644 index 0000000..6661ac1 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactory.h @@ -0,0 +1,26 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol FBSDKGraphRequestFactory; + +/** + Internal type not intended for use outside of the SDKs. + + A factory for providing objects that conform to `GraphRequest` + */ +NS_SWIFT_NAME(GraphRequestFactory) +@interface FBSDKGraphRequestFactory : NSObject +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactoryProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactoryProtocol.h new file mode 100644 index 0000000..eb85a3b --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactoryProtocol.h @@ -0,0 +1,54 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +@protocol FBSDKGraphRequest; + +typedef NSString *const FBSDKHTTPMethod NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(HTTPMethod); + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal type not intended for use outside of the SDKs. + +Describes anything that can provide instances of `GraphRequestProtocol` + */ +NS_SWIFT_NAME(GraphRequestFactoryProtocol) +@protocol FBSDKGraphRequestFactory + +- (id)createGraphRequestWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + tokenString:(nullable NSString *)tokenString + HTTPMethod:(nullable FBSDKHTTPMethod)method + flags:(FBSDKGraphRequestFlags)flags; + +- (id)createGraphRequestWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters; + +- (id)createGraphRequestWithGraphPath:(NSString *)graphPath; + +- (id)createGraphRequestWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + HTTPMethod:(FBSDKHTTPMethod)method; + +- (id)createGraphRequestWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + tokenString:(nullable NSString *)tokenString + version:(nullable NSString *)version + HTTPMethod:(FBSDKHTTPMethod)method; + +- (id)createGraphRequestWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + flags:(FBSDKGraphRequestFlags)flags; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFlags.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFlags.h new file mode 100644 index 0000000..68e7c8d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFlags.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Flags that indicate how a graph request should be treated in various scenarios +typedef NS_OPTIONS(NSUInteger, FBSDKGraphRequestFlags) { + FBSDKGraphRequestFlagNone = 0, + /// indicates this request should not use a client token as its token parameter + FBSDKGraphRequestFlagSkipClientToken = 1 << 1, + /// indicates this request should not close the session if its response is an oauth error + FBSDKGraphRequestFlagDoNotInvalidateTokenOnError = 1 << 2, + /// indicates this request should not perform error recovery + FBSDKGraphRequestFlagDisableErrorRecovery = 1 << 3, +} NS_SWIFT_NAME(GraphRequestFlags); + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestHTTPMethod.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestHTTPMethod.h new file mode 100644 index 0000000..e79728d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestHTTPMethod.h @@ -0,0 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/// typedef for FBSDKHTTPMethod +typedef NSString *const FBSDKHTTPMethod NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(HTTPMethod); + +/// GET Request +FOUNDATION_EXPORT FBSDKHTTPMethod FBSDKHTTPMethodGET NS_SWIFT_NAME(get); + +/// POST Request +FOUNDATION_EXPORT FBSDKHTTPMethod FBSDKHTTPMethodPOST NS_SWIFT_NAME(post); + +/// DELETE Request +FOUNDATION_EXPORT FBSDKHTTPMethod FBSDKHTTPMethodDELETE NS_SWIFT_NAME(delete); diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestProtocol.h new file mode 100644 index 0000000..6cc4da3 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestProtocol.h @@ -0,0 +1,66 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +@class FBSDKGraphRequestConnection; +@protocol FBSDKGraphRequestConnecting; + +typedef void (^FBSDKGraphRequestCompletion)(id _Nullable connection, + id _Nullable result, + NSError *_Nullable error); + +typedef void (^FBSDKGraphRequestBlock)(FBSDKGraphRequestConnection *_Nullable connection, + id _Nullable result, + NSError *_Nullable error); + +/// A protocol to describe anything that represents a graph request +NS_SWIFT_NAME(GraphRequestProtocol) +@protocol FBSDKGraphRequest + +/// The request parameters. +@property (nonatomic, copy) NSDictionary *parameters; + +/// The access token string used by the request. +@property (nullable, nonatomic, readonly, copy) NSString *tokenString; + +/// The Graph API endpoint to use for the request, for example "me". +@property (nonatomic, readonly, copy) NSString *graphPath; + +/// The HTTPMethod to use for the request, for example "GET" or "POST". +@property (nonatomic, readonly, copy) FBSDKHTTPMethod HTTPMethod; + +/// The Graph API version to use (e.g., "v2.0") +@property (nonatomic, readonly, copy) NSString *version; + +/// The graph request flags to use +@property (nonatomic, readonly, assign) FBSDKGraphRequestFlags flags; + +/// Convenience property to determine if graph error recover is disabled +@property (nonatomic, getter = isGraphErrorRecoveryDisabled) BOOL graphErrorRecoveryDisabled; + +/// Convenience property to determine if the request has attachments +@property (nonatomic, readonly) BOOL hasAttachments; + +/** + Starts a connection to the Graph API. + @param completion The handler block to call when the request completes. + */ +- (id)startWithCompletion:(nullable FBSDKGraphRequestCompletion)completion; + +/// A formatted description of the graph request +- (NSString *)formattedDescription; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKIcon.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKIcon.h new file mode 100644 index 0000000..0404e39 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKIcon.h @@ -0,0 +1,26 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(Icon) +@interface FBSDKIcon : NSObject + +- (nullable CGPathRef)pathWithSize:(CGSize)size; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKImpressionLoggingButton.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKImpressionLoggingButton.h new file mode 100644 index 0000000..4202de7 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKImpressionLoggingButton.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(ImpressionLoggingButton) +@interface FBSDKImpressionLoggingButton : UIButton +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKInternalUtility.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKInternalUtility.h new file mode 100644 index 0000000..c48e086 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKInternalUtility.h @@ -0,0 +1,83 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import + +#import +#import +#import +#import + +#if !TARGET_OS_TV + #import +#endif + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(InternalUtility) +@interface FBSDKInternalUtility : NSObject +#if !TARGET_OS_TV + +#else + +#endif + +#if !DEBUG +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; +#endif + +@property (class, nonnull, readonly) FBSDKInternalUtility *sharedUtility; + +/** + Returns bundle for returning localized strings + + We assume a convention of a bundle named FBSDKStrings.bundle, otherwise we + return the main bundle. + */ +@property (nonatomic, readonly, strong) NSBundle *bundleForStrings; + +/** + Tests whether the supplied URL is a valid URL for opening in the browser. + @param URL The URL to test. + @return YES if the URL refers to an http or https resource, otherwise NO. + */ +- (BOOL)isBrowserURL:(NSURL *)URL; + +/** + Checks equality between 2 objects. + + Checks for pointer equality, nils, isEqual:. + @param object The first object to compare. + @param other The second object to compare. + @return YES if the objects are equal, otherwise NO. + */ +- (BOOL)object:(id)object isEqualToObject:(id)other; + +/// Attempts to find the first UIViewController in the view's responder chain. Returns nil if not found. +- (nullable UIViewController *)viewControllerForView:(UIView *)view; + +/// returns true if the url scheme is registered in the CFBundleURLTypes +- (BOOL)isRegisteredURLScheme:(NSString *)urlScheme; + +/// returns currently displayed top view controller. +- (nullable UIViewController *)topMostViewController; + +/// returns the current key window +- (nullable UIWindow *)findWindow; + +#pragma mark - FB Apps Installed + +@property (nonatomic, readonly, assign) BOOL isMessengerAppInstalled; + +- (BOOL)isRegisteredCanOpenURLScheme:(NSString *)urlScheme; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKInternalUtilityProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKInternalUtilityProtocol.h new file mode 100644 index 0000000..1084682 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKInternalUtilityProtocol.h @@ -0,0 +1,135 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(InternalUtilityProtocol) +@protocol FBSDKInternalUtility + +#pragma mark - FB Apps Installed + +@property (nonatomic, readonly) BOOL isFacebookAppInstalled; + +/* + Checks if the app is Unity. + */ +@property (nonatomic, readonly) BOOL isUnity; + +/** + Constructs an NSURL. + @param scheme The scheme for the URL. + @param host The host for the URL. + @param path The path for the URL. + @param queryParameters The query parameters for the URL. This will be converted into a query string. + @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. + @return The URL. + */ +- (nullable NSURL *)URLWithScheme:(NSString *)scheme + host:(NSString *)host + path:(NSString *)path + queryParameters:(NSDictionary *)queryParameters + error:(NSError *__autoreleasing *)errorRef; + +/** + Constructs an URL for the current app. + @param host The host for the URL. + @param path The path for the URL. + @param queryParameters The query parameters for the URL. This will be converted into a query string. + @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. + @return The app URL. + */ +- (nullable NSURL *)appURLWithHost:(NSString *)host + path:(NSString *)path + queryParameters:(NSDictionary *)queryParameters + error:(NSError *__autoreleasing *)errorRef; + +/** + Constructs a Facebook URL. + @param hostPrefix The prefix for the host, such as 'm', 'graph', etc. + @param path The path for the URL. This may or may not include a version. + @param queryParameters The query parameters for the URL. This will be converted into a query string. + @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. + @return The Facebook URL. + */ +- (nullable NSURL *)facebookURLWithHostPrefix:(NSString *)hostPrefix + path:(NSString *)path + queryParameters:(NSDictionary *)queryParameters + error:(NSError *__autoreleasing *)errorRef; + +/** + Registers a transient object so that it will not be deallocated until unregistered + @param object The transient object + */ +- (void)registerTransientObject:(id)object; + +/** + Unregisters a transient object that was previously registered with registerTransientObject: + @param object The transient object + */ +- (void)unregisterTransientObject:(__weak id)object; + +- (void)checkRegisteredCanOpenURLScheme:(NSString *)urlScheme; + +/// Validates that the right URL schemes are registered, throws an NSException if not. +- (void)validateURLSchemes; + +/// add data processing options to the dictionary. +- (void)extendDictionaryWithDataProcessingOptions:(NSMutableDictionary *)parameters; + +/// Converts NSData to a hexadecimal UTF8 String. +- (nullable NSString *)hexadecimalStringFromData:(NSData *)data; + +/// validates that the app ID is non-nil, throws an NSException if nil. +- (void)validateAppID; + +/** + Validates that the client access token is non-nil, otherwise - throws an NSException otherwise. + Returns the composed client access token. + */ +- (NSString *)validateRequiredClientAccessToken; + +/** + Extracts permissions from a response fetched from me/permissions + @param responseObject the response + @param grantedPermissions the set to add granted permissions to + @param declinedPermissions the set to add declined permissions to. + */ +- (void)extractPermissionsFromResponse:(NSDictionary *)responseObject + grantedPermissions:(NSMutableSet *)grantedPermissions + declinedPermissions:(NSMutableSet *)declinedPermissions + expiredPermissions:(NSMutableSet *)expiredPermissions; + +/// validates that Facebook reserved URL schemes are not registered, throws an NSException if they are. +- (void)validateFacebookReservedURLSchemes; + +/** + Parses an FB url's query params (and potentially fragment) into a dictionary. + @param url The FB url. + @return A dictionary with the key/value pairs. + */ +- (NSDictionary *)parametersFromFBURL:(NSURL *)url; + +/** + Returns bundle for returning localized strings + + We assume a convention of a bundle named FBSDKStrings.bundle, otherwise we + return the main bundle. + */ +@property (nonatomic, readonly, strong) NSBundle *bundleForStrings; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKKeychainStore.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKKeychainStore.h new file mode 100644 index 0000000..a4292d5 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKKeychainStore.h @@ -0,0 +1,34 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(KeychainStore) +@interface FBSDKKeychainStore : NSObject + +@property (nonatomic, readonly, copy) NSString *service; +@property (nullable, nonatomic, readonly, copy) NSString *accessGroup; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +- (instancetype)initWithService:(NSString *)service accessGroup:(nullable NSString *)accessGroup NS_DESIGNATED_INITIALIZER; + +- (BOOL)setData:(nullable NSData *)value forKey:(NSString *)key accessibility:(CFTypeRef)accessibility; +- (nullable NSData *)dataForKey:(NSString *)key; + +// hook for subclasses to override keychain query construction. +- (NSMutableDictionary *)queryForKey:(NSString *)key; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreFactory.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreFactory.h new file mode 100644 index 0000000..149c59d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreFactory.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal type not intended for use outside of the SDKs. + + A factory for providing objects that conform to `KeychainStore` + */ +NS_SWIFT_NAME(KeychainStoreFactory) +@interface FBSDKKeychainStoreFactory : NSObject +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProtocol.h new file mode 100644 index 0000000..4f8636a --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProtocol.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(KeychainStoreProtocol) +@protocol FBSDKKeychainStore + +- (nullable NSString *)stringForKey:(NSString *)key; +- (nullable NSDictionary *)dictionaryForKey:(NSString *)key; + +- (BOOL)setString:(nullable NSString *)value forKey:(NSString *)key accessibility:(nullable CFTypeRef)accessibility; +- (BOOL)setDictionary:(nullable NSDictionary *)value forKey:(NSString *)key accessibility:(nullable CFTypeRef)accessibility; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProviding.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProviding.h new file mode 100644 index 0000000..af0263c --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProviding.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(KeychainStoreProviding) +@protocol FBSDKKeychainStoreProviding + +- (nonnull id)createKeychainStoreWithService:(NSString *)service + accessGroup:(nullable NSString *)accessGroup; +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKLocation.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKLocation.h new file mode 100644 index 0000000..e9fd130 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKLocation.h @@ -0,0 +1,34 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(Location) +@interface FBSDKLocation : NSObject + +/// Location id +@property (nonatomic, readonly, strong) NSString *id; +/// Location name +@property (nonatomic, readonly, strong) NSString *name; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + Returns a Location object from a dinctionary containing valid location information. + @param dictionary The dictionary containing raw location + + Valid location will consist of "id" and "name" strings. + */ ++ (nullable instancetype)locationFromDictionary:(NSDictionary *)dictionary; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKLogger.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKLogger.h new file mode 100644 index 0000000..d6a3100 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKLogger.h @@ -0,0 +1,38 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Simple logging utility for conditionally logging strings and then emitting them + via NSLog(). + + @unsorted + + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(Logger) +@interface FBSDKLogger : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +// Simple helper to write a single log entry, based upon whether the behavior matches a specified on. ++ (void)singleShotLogEntry:(FBSDKLoggingBehavior)loggingBehavior + logEntry:(NSString *)logEntry; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKLogging.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKLogging.h new file mode 100644 index 0000000..dbef541 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKLogging.h @@ -0,0 +1,30 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(Logging) +@protocol FBSDKLogging + +@property (nonatomic, readonly, copy) NSString *contents; +@property (nonatomic, readonly, copy) FBSDKLoggingBehavior loggingBehavior; + +- (instancetype)initWithLoggingBehavior:(FBSDKLoggingBehavior)loggingBehavior; + ++ (void)singleShotLogEntry:(FBSDKLoggingBehavior)loggingBehavior + logEntry:(NSString *)logEntry; + +- (void)logEntry:(NSString *)logEntry; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKLoggingBehavior.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKLoggingBehavior.h new file mode 100644 index 0000000..900542d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKLoggingBehavior.h @@ -0,0 +1,51 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/* + * Constants defining logging behavior. Use with <[FBSDKSettings setLoggingBehavior]>. + */ + +typedef NSString *FBSDKLoggingBehavior NS_TYPED_ENUM NS_SWIFT_NAME(LoggingBehavior); + +/// Include access token in logging. +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorAccessTokens; + +/// Log performance characteristics +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorPerformanceCharacteristics; + +/// Log FBSDKAppEvents interactions +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorAppEvents; + +/// Log Informational occurrences +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorInformational; + +/// Log cache errors. +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorCacheErrors; + +/// Log errors from SDK UI controls +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorUIControlErrors; + +/// Log debug warnings from API response, i.e. when friends fields requested, but user_friends permission isn't granted. +FOUNDATION_EXPORT FBSDKLoggingBehavior 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. + */ +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorGraphAPIDebugInfo; + +/// Log errors from SDK network requests +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorNetworkRequests; + +/// Log errors likely to be preventable by the developer. This is in the default set of enabled logging behaviors. +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorDeveloperErrors; + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKLoginTooltip.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKLoginTooltip.h new file mode 100644 index 0000000..a663749 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKLoginTooltip.h @@ -0,0 +1,31 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** +Internal Type exposed to facilitate transition to Swift. +API Subject to change or removal without warning. Do not use. + +@warning INTERNAL - DO NOT USE + */ +@interface FBSDKLoginTooltip : NSObject +@property (nonatomic, readonly, getter = isEnabled, assign) BOOL enabled; +@property (nonatomic, readonly, copy) NSString *text; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +- (instancetype)initWithText:(NSString *)text + enabled:(BOOL)enabled + NS_DESIGNATED_INITIALIZER; +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKMeasurementEvent.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKMeasurementEvent.h new file mode 100644 index 0000000..3403551 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKMeasurementEvent.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(MeasurementEvent) +@interface FBSDKMeasurementEvent : NSObject + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h new file mode 100644 index 0000000..219d3fe --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Extension protocol for NSMutableCopying that adds the mutableCopy method, which is implemented on NSObject. + + NSObject implicitly conforms to this protocol. + */ +NS_SWIFT_NAME(MutableCopying) +@protocol FBSDKMutableCopying + +/** + Implemented by NSObject as a convenience to mutableCopyWithZone:. + @return A mutable copy of the receiver. + */ +- (id)mutableCopy; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKNetworkErrorChecker.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKNetworkErrorChecker.h new file mode 100644 index 0000000..5b157c2 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKNetworkErrorChecker.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Concrete type providing functionality that checks whether an error represents a + network error. + */ +NS_SWIFT_NAME(NetworkErrorChecker) +@interface FBSDKNetworkErrorChecker : NSObject + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKNetworkErrorChecking.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKNetworkErrorChecking.h new file mode 100644 index 0000000..2868737 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKNetworkErrorChecking.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_SWIFT_NAME(NetworkErrorChecking) +@protocol FBSDKNetworkErrorChecking + +/** + Checks whether an error is a network error. + + @param error An error that may or may not represent a network error. + + @return `YES` if the error represents a network error, otherwise `NO`. + */ +- (BOOL)isNetworkError:(NSError *)error; + +@end diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKProductAvailability.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKProductAvailability.h new file mode 100644 index 0000000..fa8f4cd --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKProductAvailability.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** + NS_ENUM(NSUInteger, FBSDKProductAvailability) + Specifies product availability for Product Catalog product item update + */ +typedef NS_ENUM(NSUInteger, FBSDKProductAvailability) { + /// Item ships immediately + FBSDKProductAvailabilityInStock = 0, + /// No plan to restock + FBSDKProductAvailabilityOutOfStock, + /// Available in future + FBSDKProductAvailabilityPreOrder, + /// Ships in 1-2 weeks + FBSDKProductAvailabilityAvailableForOrder, + /// Discontinued + FBSDKProductAvailabilityDiscontinued, +} NS_SWIFT_NAME(AppEvents.ProductAvailability); diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKProductCondition.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKProductCondition.h new file mode 100644 index 0000000..41e23b1 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKProductCondition.h @@ -0,0 +1,17 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** + NS_ENUM(NSUInteger, FBSDKProductCondition) + Specifies product condition for Product Catalog product item update + */ +typedef NS_ENUM(NSUInteger, FBSDKProductCondition) { + FBSDKProductConditionNew = 0, + FBSDKProductConditionRefurbished, + FBSDKProductConditionUsed, +} NS_SWIFT_NAME(AppEvents.ProductCondition); diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKProfile.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKProfile.h new file mode 100644 index 0000000..a38aa45 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKProfile.h @@ -0,0 +1,289 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +@class FBSDKLocation; +@class FBSDKProfile; +@class FBSDKUserAgeRange; + +NS_ASSUME_NONNULL_BEGIN + +/** + Notification indicating that the `currentProfile` has changed. + + the userInfo dictionary of the notification will contain keys + `FBSDKProfileChangeOldKey` and + `FBSDKProfileChangeNewKey`. + */ +FOUNDATION_EXPORT NSNotificationName const FBSDKProfileDidChangeNotification +NS_SWIFT_NAME(ProfileDidChange); + +/* key in notification's userInfo object for getting the old profile. + + If there was no old profile, the key will not be present. + */ +FOUNDATION_EXPORT NSString *const FBSDKProfileChangeOldKey +NS_SWIFT_NAME(ProfileChangeOldKey); + +/* key in notification's userInfo object for getting the new profile. + + If there is no new profile, the key will not be present. + */ +FOUNDATION_EXPORT NSString *const FBSDKProfileChangeNewKey +NS_SWIFT_NAME(ProfileChangeNewKey); + +/** + Describes the callback for loadCurrentProfileWithCompletion. + @param profile the FBSDKProfile + @param error the error during the request, if any + */ +typedef void (^ FBSDKProfileBlock)(FBSDKProfile *_Nullable profile, NSError *_Nullable error) +NS_SWIFT_NAME(ProfileBlock); + +/// Represents the unique identifier for an end user +typedef NSString FBSDKUserIdentifier + NS_SWIFT_NAME(UserIdentifier); + +/** + Represents an immutable Facebook profile + + 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". + */ +NS_SWIFT_NAME(Profile) +@interface FBSDKProfile : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + 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:(FBSDKUserIdentifier *)userID + firstName:(nullable NSString *)firstName + middleName:(nullable NSString *)middleName + lastName:(nullable NSString *)lastName + name:(nullable NSString *)name + linkURL:(nullable NSURL *)linkURL + refreshDate:(nullable NSDate *)refreshDate; + +/** + @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]. + @param imageURL an optional URL to use for fetching a user's profile image + @param email the user's email + @param friendIDs a list of identifiers for the user's friends + @param birthday the user's birthday + @param ageRange the user's age range + @param hometown the user's hometown + @param location the user's location + @param gender the user's gender + @param isLimited indicates if the information provided is incomplete in some way. + When true, `loadCurrentProfileWithCompletion:` will assume the profile is + incomplete and disregard any cached profile. Defaults to false. + */ +- (instancetype)initWithUserID:(FBSDKUserIdentifier *)userID + firstName:(nullable NSString *)firstName + middleName:(nullable NSString *)middleName + lastName:(nullable NSString *)lastName + name:(nullable NSString *)name + linkURL:(nullable NSURL *)linkURL + refreshDate:(nullable NSDate *)refreshDate + imageURL:(nullable NSURL *)imageURL + email:(nullable NSString *)email + friendIDs:(nullable NSArray *)friendIDs + birthday:(nullable NSDate *)birthday + ageRange:(nullable FBSDKUserAgeRange *)ageRange + hometown:(nullable FBSDKLocation *)hometown + location:(nullable FBSDKLocation *)location + gender:(nullable NSString *)gender + isLimited:(BOOL)isLimited; + +/** + 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]. + @param imageURL an optional URL to use for fetching a user's profile image + @param email the user's email + @param friendIDs a list of identifiers for the user's friends + @param birthday the user's birthday + @param ageRange the user's age range + @param hometown the user's hometown + @param location the user's location + @param gender the user's gender + */ +- (instancetype)initWithUserID:(FBSDKUserIdentifier *)userID + firstName:(nullable NSString *)firstName + middleName:(nullable NSString *)middleName + lastName:(nullable NSString *)lastName + name:(nullable NSString *)name + linkURL:(nullable NSURL *)linkURL + refreshDate:(nullable NSDate *)refreshDate + imageURL:(nullable NSURL *)imageURL + email:(nullable NSString *)email + friendIDs:(nullable NSArray *)friendIDs + birthday:(nullable NSDate *)birthday + ageRange:(nullable FBSDKUserAgeRange *)ageRange + hometown:(nullable FBSDKLocation *)hometown + location:(nullable FBSDKLocation *)location + gender:(nullable NSString *)gender + NS_DESIGNATED_INITIALIZER; + +/** + The current profile instance and posts the appropriate notification + if the profile parameter is different than the receiver. + + This persists the profile to NSUserDefaults. + */ + +/// The current profile +@property (class, nullable, nonatomic, strong) FBSDKProfile *currentProfile +NS_SWIFT_NAME(current); + +/// The user id +@property (nonatomic, readonly, copy) FBSDKUserIdentifier *userID; +/// The user's first name +@property (nullable, nonatomic, readonly, copy) NSString *firstName; +/// The user's middle name +@property (nullable, nonatomic, readonly, copy) NSString *middleName; +/// The user's last name +@property (nullable, nonatomic, readonly, copy) NSString *lastName; +/// The user's complete name +@property (nullable, nonatomic, readonly, copy) NSString *name; +/** + A URL to the user's profile. + + IMPORTANT: This field will only be populated if your user has granted your application the 'user_link' permission + + Consider using `FBSDKAppLinkResolver` to resolve this + to an app link to link directly to the user's profile in the Facebook app. + */ +@property (nullable, nonatomic, readonly) NSURL *linkURL; + +/// The last time the profile data was fetched. +@property (nonatomic, readonly) NSDate *refreshDate; +/// A URL to use for fetching a user's profile image. +@property (nullable, nonatomic, readonly) NSURL *imageURL; +/** + The user's email. + + IMPORTANT: This field will only be populated if your user has granted your application the 'email' permission. + */ +@property (nullable, nonatomic, readonly, copy) NSString *email; +/** + A list of identifiers of the user's friends. + + IMPORTANT: This field will only be populated if your user has granted your application the 'user_friends' permission. + */ +@property (nullable, nonatomic, readonly, copy) NSArray *friendIDs; + +/** + The user's birthday. + + IMPORTANT: This field will only be populated if your user has granted your application the 'user_birthday' permission. + */ +@property (nullable, nonatomic, readonly, copy) NSDate *birthday; + +/** + The user's age range + + IMPORTANT: This field will only be populated if your user has granted your application the 'user_age_range' permission. + */ +@property (nullable, nonatomic, readonly, copy) FBSDKUserAgeRange *ageRange; + +/** + The user's hometown + + IMPORTANT: This field will only be populated if your user has granted your application the 'user_hometown' permission. + */ +@property (nullable, nonatomic, readonly, copy) FBSDKLocation *hometown; + +/** + The user's location + + IMPORTANT: This field will only be populated if your user has granted your application the 'user_location' permission. + */ +@property (nullable, nonatomic, readonly, copy) FBSDKLocation *location; + +/** + The user's gender + + IMPORTANT: This field will only be populated if your user has granted your application the 'user_gender' permission. + */ +@property (nullable, nonatomic, readonly, copy) NSString *gender; + +/** + Indicates if `currentProfile` will automatically observe `FBSDKAccessTokenDidChangeNotification` notifications + @param enable YES is observing + + If observing, this class will issue a graph request for public profile data when the current token's userID + differs from the current profile. You can observe `FBSDKProfileDidChangeNotification` for when the profile is updated. + + 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. + */ +// UNCRUSTIFY_FORMAT_OFF ++ (void)enableUpdatesOnAccessTokenChange:(BOOL)enable +NS_SWIFT_NAME(enableUpdatesOnAccessTokenChange(_:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Loads the current profile and passes it to the completion block. + @param completion The block to be executed once the profile is loaded + + If the profile is already loaded, this method will call the completion block synchronously, otherwise it + will begin a graph request to update `currentProfile` and then call the completion block when finished. + */ ++ (void)loadCurrentProfileWithCompletion:(nullable FBSDKProfileBlock)completion; + +/** + 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. + */ +// UNCRUSTIFY_FORMAT_OFF +- (nullable NSURL *)imageURLForPictureMode:(FBSDKProfilePictureMode)mode size:(CGSize)size +NS_SWIFT_NAME(imageURL(forMode:size:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Returns YES if the profile is equivalent to the receiver. + @param profile the profile to compare to. + */ +- (BOOL)isEqualToProfile:(FBSDKProfile *)profile; +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKProfilePictureView.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKProfilePictureView.h new file mode 100644 index 0000000..36bf8c5 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKProfilePictureView.h @@ -0,0 +1,72 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +@class FBSDKProfile; + +NS_ASSUME_NONNULL_BEGIN + +/** + FBSDKProfilePictureMode enum + Defines the aspect ratio mode for the source image of the profile picture. + */ +typedef NS_ENUM(NSUInteger, FBSDKProfilePictureMode) { + /// A square cropped version of the image will be included in the view. + FBSDKProfilePictureModeSquare, + /// The original picture's aspect ratio will be used for the source image in the view. + FBSDKProfilePictureModeNormal, + /// The original picture's aspect ratio will be used for the source image in the view. + FBSDKProfilePictureModeAlbum, + /// The original picture's aspect ratio will be used for the source image in the view. + FBSDKProfilePictureModeSmall, + /// The original picture's aspect ratio will be used for the source image in the view. + FBSDKProfilePictureModeLarge, +} NS_SWIFT_NAME(Profile.PictureMode); + +/// A view to display a profile picture. +NS_SWIFT_NAME(FBProfilePictureView) +@interface FBSDKProfilePictureView : UIView + +/** + Create a new instance of `FBSDKProfilePictureView`. + + - Parameter frame: Frame rectangle for the view. + - Parameter profile: Optional profile to display a picture for. + */ +- (instancetype)initWithFrame:(CGRect)frame + profile:(FBSDKProfile *_Nullable)profile; + +/** + Create a new instance of `FBSDKProfilePictureView`. + + - Parameter profile: Optional profile to display a picture for. + */ +- (instancetype)initWithProfile:(FBSDKProfile *_Nullable)profile; + +/// The mode for the receiver to determine the aspect ratio of the source image. +@property (nonatomic, assign) FBSDKProfilePictureMode pictureMode; + +/// The profile ID to show the picture for. +@property (nonatomic, copy) NSString *profileID; + +/** + Explicitly marks the receiver as needing to update the image. + + 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 + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKProfileProtocols.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKProfileProtocols.h new file mode 100644 index 0000000..ac05481 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKProfileProtocols.h @@ -0,0 +1,29 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +@class FBSDKProfile; + +NS_SWIFT_NAME(ProfileProviding) +@protocol FBSDKProfileProviding + +@property (class, nullable, nonatomic, strong) FBSDKProfile *currentProfile +NS_SWIFT_NAME(current); + ++ (nullable FBSDKProfile *)fetchCachedProfile; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKRandom.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKRandom.h new file mode 100644 index 0000000..653a038 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKRandom.h @@ -0,0 +1,15 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/** + Provides a random string + @param numberOfBytes the number of bytes to use + */ +extern NSString *fb_randomString(NSUInteger numberOfBytes); diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKServerConfigurationProvider.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKServerConfigurationProvider.h new file mode 100644 index 0000000..8c651e1 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKServerConfigurationProvider.h @@ -0,0 +1,67 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal block type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(LoginTooltipBlock) +typedef void (^FBSDKLoginTooltipBlock)(FBSDKLoginTooltip *_Nullable loginTooltip, NSError *_Nullable error); + +/** +Internal Type exposed to facilitate transition to Swift. +API Subject to change or removal without warning. Do not use. + +@warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(ServerConfigurationProvider) +@interface FBSDKServerConfigurationProvider : NSObject + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nonatomic, readonly) NSString *loggingToken; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (NSUInteger)cachedSmartLoginOptions; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (BOOL)useSafariViewControllerForDialogName:(NSString *)dialogName; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void)loadServerConfigurationWithCompletionBlock:(nullable FBSDKLoginTooltipBlock)completionBlock + NS_SWIFT_NAME(loadServerConfiguration(completion:)); +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKSettings.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKSettings.h new file mode 100644 index 0000000..9a00e27 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKSettings.h @@ -0,0 +1,197 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(Settings) +@interface FBSDKSettings : NSObject + +#if !DEBUG +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; +#endif + +/// The shared settings instance. Prefer this and the exposed instance methods over the class variants. +@property (class, nonatomic, readonly) FBSDKSettings *sharedSettings; + +/// Retrieve the current iOS SDK version. +@property (nonatomic, readonly, copy) NSString *sdkVersion; + +/// Retrieve the current default Graph API version. +@property (nonatomic, readonly, copy) NSString *defaultGraphAPIVersion; + +/** + The quality of JPEG images sent to Facebook from the SDK, + expressed as a value from 0.0 to 1.0. + + If not explicitly set, the default is 0.9. +*/ +@property (nonatomic) CGFloat JPEGCompressionQuality +NS_SWIFT_NAME(jpegCompressionQuality); + +/** + Controls the auto logging of basic app events, such as activateApp and deactivateApp. + If not explicitly set, the default is true + */ +@property (nonatomic, getter = isAutoLogAppEventsEnabled) BOOL autoLogAppEventsEnabled; + +/** + Controls the fb_codeless_debug logging event + If not explicitly set, the default is true + */ +@property (nonatomic, getter = isCodelessDebugLogEnabled) BOOL codelessDebugLogEnabled; + +/** + Controls the access to IDFA + If not explicitly set, the default is true + */ +@property (nonatomic, getter = isAdvertiserIDCollectionEnabled) BOOL advertiserIDCollectionEnabled; + +/** + Controls the SKAdNetwork report + If not explicitly set, the default is true + */ +@property (nonatomic, getter = isSKAdNetworkReportEnabled) BOOL skAdNetworkReportEnabled; + +/** + 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. + */ +@property (nonatomic) BOOL isEventDataUsageLimited; + +/** + Whether in memory cached values should be used for expensive metadata fields, such as + carrier and advertiser ID, that are fetched on many applicationDidBecomeActive notifications. + Defaults to NO. This value is stored on the device and persists across app launches. + */ +@property (nonatomic) BOOL shouldUseCachedValuesForExpensiveMetadata; + +/// A convenient way to toggle error recovery for all FBSDKGraphRequest instances created after this is set. +@property (nonatomic) BOOL isGraphErrorRecoveryEnabled; + +/** + The Facebook App ID used by the SDK. + + If not explicitly set, the default will be read from the application's plist (FacebookAppID). + */ +@property (nullable, nonatomic, copy) NSString *appID; + +/** + The default url scheme suffix used for sessions. + + If not explicitly set, the default will be read from the application's plist (FacebookUrlSchemeSuffix). + */ +@property (nullable, nonatomic, copy) NSString *appURLSchemeSuffix; + +/** + The Client Token that has been set via [[FBSDKSettings sharedSettings] setClientToken]. + This is needed for certain API calls when made anonymously, without a user-based access token. + + 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 + + If not explicitly set, the default will be read from the application's plist (FacebookClientToken). + */ +@property (nullable, nonatomic, copy) NSString *clientToken; + +/** + The Facebook Display Name used by the SDK. + + This should match the Display Name that has been set for the app with the corresponding Facebook App ID, + in the Facebook App Dashboard. + + If not explicitly set, the default will be read from the application's plist (FacebookDisplayName). + */ +@property (nullable, nonatomic, copy) NSString *displayName; + +/** + The Facebook domain part. This can be used to change the Facebook domain + (e.g. @"beta") so that requests will be sent to `graph.beta.facebook.com` + + If not explicitly set, the default will be read from the application's plist (FacebookDomainPart). + */ +@property (nullable, nonatomic, copy) NSString *facebookDomainPart; + +/** + The current Facebook SDK logging behavior. This should consist of strings + defined as constants with FBSDKLoggingBehavior*. + + This should consist a set of strings indicating what information should be logged + defined as constants with FBSDKLoggingBehavior*. Set to an empty set in order to disable all logging. + + You can also define this via an array in your app plist with key "FacebookLoggingBehavior" or add and remove individual values via enableLoggingBehavior: or disableLoggingBehavior: + + The default is a set consisting of FBSDKLoggingBehaviorDeveloperErrors + */ +@property (nonatomic, copy) NSSet *loggingBehaviors; + +/** + Overrides the default Graph API version to use with `FBSDKGraphRequests`. + + The string should be of the form `@"v2.7"`. + + Defaults to `defaultGraphAPIVersion`. + */ +@property (nonatomic, copy) NSString *graphAPIVersion; + +/** + Internal property exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nullable, nonatomic, copy) NSString *userAgentSuffix; + +/** + The value of the flag advertiser_tracking_enabled that controls the advertiser tracking status of the data sent to Facebook + If not explicitly set in iOS14 or above, the default is false in iOS14 or above. + */ +@property (nonatomic, getter = isAdvertiserTrackingEnabled) BOOL advertiserTrackingEnabled; + +/** +Set the data processing options. + + @param options list of options + */ +- (void)setDataProcessingOptions:(nullable NSArray *)options; + +/** +Set the data processing options. + + @param options list of the options + @param country code of the country + @param state code of the state + */ +- (void)setDataProcessingOptions:(nullable NSArray *)options + country:(int)country + state:(int)state; + +/** + Enable a particular Facebook SDK logging behavior. + + @param loggingBehavior The LoggingBehavior to enable. This should be a string defined as a constant with FBSDKLoggingBehavior*. + */ +- (void)enableLoggingBehavior:(FBSDKLoggingBehavior)loggingBehavior; + +/** + 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:(FBSDKLoggingBehavior)loggingBehavior; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKSettingsLogging.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKSettingsLogging.h new file mode 100644 index 0000000..1e21fe0 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKSettingsLogging.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(SettingsLogging) +@protocol FBSDKSettingsLogging + +- (void)logWarnings; +- (void)logIfSDKSettingsChanged; +- (void)recordInstall; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKSettingsProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKSettingsProtocol.h new file mode 100644 index 0000000..d0eeb7a --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKSettingsProtocol.h @@ -0,0 +1,63 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(SettingsProtocol) +@protocol FBSDKSettings + +@property (nullable, nonatomic, copy) NSString *appID; +@property (nullable, nonatomic, copy) NSString *clientToken; +@property (nullable, nonatomic, copy) NSString *userAgentSuffix; +@property (nonatomic, readonly, copy) NSString *sdkVersion; +@property (nullable, nonatomic, copy) NSString *displayName; +@property (nullable, nonatomic, copy) NSString *facebookDomainPart; +@property (nonnull, nonatomic, copy) NSSet *loggingBehaviors; +@property (nullable, nonatomic, copy) NSString *appURLSchemeSuffix; +@property (nonatomic, readonly) BOOL isDataProcessingRestricted; +@property (nonatomic, readonly) BOOL isAutoLogAppEventsEnabled; +@property (nonatomic, getter = isCodelessDebugLogEnabled) BOOL codelessDebugLogEnabled; +@property (nonatomic, getter = isAdvertiserIDCollectionEnabled) BOOL advertiserIDCollectionEnabled; +@property (nonatomic, readonly) BOOL isSetATETimeExceedsInstallTime; +@property (nonatomic, readonly) BOOL isSKAdNetworkReportEnabled; +@property (nonatomic, readonly) FBSDKAdvertisingTrackingStatus advertisingTrackingStatus; +@property (nullable, nonatomic, readonly) NSDate *installTimestamp; +@property (nullable, nonatomic, readonly) NSDate *advertiserTrackingEnabledTimestamp; +@property (nonatomic) BOOL isEventDataUsageLimited; +@property (nonatomic) BOOL shouldUseTokenOptimizations; +@property (nonatomic, copy) NSString *graphAPIVersion; +@property (nonatomic) BOOL isGraphErrorRecoveryEnabled; +@property (nullable, nonatomic, readonly, copy) NSString *graphAPIDebugParamValue; +@property (nonatomic, getter = isAdvertiserTrackingEnabled) BOOL advertiserTrackingEnabled; +@property (nonatomic) BOOL shouldUseCachedValuesForExpensiveMetadata; +@property (nullable, nonatomic, readonly) NSDictionary *persistableDataProcessingOptions; + +/** + Set the data processing options. + + @param options list of options + */ +- (void)setDataProcessingOptions:(nullable NSArray *)options; + +/** + Set the data processing options. + + @param options list of the options + @param country code of the country + @param state code of the state + */ +- (void)setDataProcessingOptions:(nullable NSArray *)options + country:(int)country + state:(int)state; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKShareDialogConfiguration.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKShareDialogConfiguration.h new file mode 100644 index 0000000..4d30ced --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKShareDialogConfiguration.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Constant used to describe the 'Message' dialog +FOUNDATION_EXPORT NSString *const FBSDKDialogConfigurationNameMessage; +/// Constant used to describe the 'Share' dialog +FOUNDATION_EXPORT NSString *const FBSDKDialogConfigurationNameShare; + +/** + A lightweight interface to expose aspects of FBSDKServerConfiguration that are used by dialogs in ShareKit. + + Internal Use Only + */ +NS_SWIFT_NAME(ShareDialogConfiguration) +@interface FBSDKShareDialogConfiguration : NSObject + +@property (nonatomic, readonly, copy) NSString *defaultShareMode; + +- (BOOL)shouldUseNativeDialogForDialogName:(NSString *)dialogName; +- (BOOL)shouldUseSafariViewControllerForDialogName:(NSString *)dialogName; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKTokenCaching.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKTokenCaching.h new file mode 100644 index 0000000..6b07cb4 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKTokenCaching.h @@ -0,0 +1,43 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@class FBSDKAccessToken; +@class FBSDKAuthenticationToken; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(TokenCaching) +@protocol FBSDKTokenCaching + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nullable, nonatomic, copy) FBSDKAccessToken *accessToken; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nullable, nonatomic, copy) FBSDKAuthenticationToken *authenticationToken; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKTokenStringProviding.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKTokenStringProviding.h new file mode 100644 index 0000000..87f227d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKTokenStringProviding.h @@ -0,0 +1,29 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(TokenStringProviding) +@protocol FBSDKTokenStringProviding + +/** + Return the token string of the current access token. + + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ + +@property (class, nullable, nonatomic, readonly, copy) NSString *tokenString; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKTransformer.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKTransformer.h new file mode 100644 index 0000000..ea415c8 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKTransformer.h @@ -0,0 +1,28 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +extern CATransform3D const FBSDKCATransform3DIdentity; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@interface FBSDKTransformer : NSObject +- (CATransform3D)CATransform3DMakeScale:(CGFloat)sx sy:(CGFloat)sy sz:(CGFloat)sz; +- (CATransform3D)CATransform3DMakeTranslation:(CGFloat)tx ty:(CGFloat)ty tz:(CGFloat)tz; +- (CATransform3D)CATransform3DConcat:(CATransform3D)a b:(CATransform3D)b; +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKURL.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKURL.h new file mode 100644 index 0000000..292430f --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKURL.h @@ -0,0 +1,86 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol FBSDKAppLink; + +/** + Provides a set of utilities for working with NSURLs, such as parsing of query parameters + and handling for App Link requests. + */ +NS_SWIFT_NAME(AppLinkURL) +@interface FBSDKURL : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + Creates a link target from a raw URL. + On success, this posts the FBSDKAppLinkParseEventName measurement event. If you are constructing the FBSDKURL within your application delegate's + application:openURL:sourceApplication:annotation:, you should instead use URLWithInboundURL:sourceApplication: + to support better FBSDKMeasurementEvent notifications + @param url The instance of `NSURL` to create FBSDKURL from. + */ + +// UNCRUSTIFY_FORMAT_OFF ++ (instancetype)URLWithURL:(NSURL *)url +NS_SWIFT_NAME(init(url:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Creates a link target from a raw URL received from an external application. This is typically called from the app delegate's + application:openURL:sourceApplication:annotation: and will post the FBSDKAppLinkNavigateInEventName measurement event. + @param url The instance of `NSURL` to create FBSDKURL from. + @param sourceApplication the bundle ID of the app that is requesting your app to open the URL. The same sourceApplication in application:openURL:sourceApplication:annotation: + */ + +// UNCRUSTIFY_FORMAT_OFF ++ (instancetype)URLWithInboundURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication +NS_SWIFT_NAME(init(inboundURL:sourceApplication:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Gets the target URL. If the link is an App Link, this is the target of the App Link. + Otherwise, it is the url that created the target. + */ +@property (nonatomic, readonly, strong) NSURL *targetURL; + +/// Gets the query parameters for the target, parsed into an NSDictionary. +@property (nonatomic, readonly, strong) NSDictionary *targetQueryParameters; + +/** + If this link target is an App Link, this is the data found in al_applink_data. + Otherwise, it is nil. + */ +@property (nullable, nonatomic, readonly, strong) NSDictionary *appLinkData; + +/// If this link target is an App Link, this is the data found in extras. +@property (nullable, nonatomic, readonly, strong) NSDictionary *appLinkExtras; + +/// The App Link indicating how to navigate back to the referer app, if any. +@property (nullable, nonatomic, readonly, strong) id appLinkReferer; + +/// The URL that was used to create this FBSDKURL. +@property (nonatomic, readonly, strong) NSURL *inputURL; + +/// The query parameters of the inputURL, parsed into an NSDictionary. +@property (nonatomic, readonly, strong) NSDictionary *inputQueryParameters; + +/// The flag indicating whether the URL comes from auto app link +@property (nonatomic, readonly, getter = isAutoAppLink) BOOL isAutoAppLink; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKURLHosting.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKURLHosting.h new file mode 100644 index 0000000..31741f4 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKURLHosting.h @@ -0,0 +1,40 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(URLHosting) +@protocol FBSDKURLHosting + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (nullable NSURL *)appURLWithHost:(NSString *)host + path:(NSString *)path + queryParameters:(NSDictionary *)queryParameters + error:(NSError *__autoreleasing *)errorRef; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (nullable NSURL *)facebookURLWithHostPrefix:(NSString *)hostPrefix + path:(NSString *)path + queryParameters:(NSDictionary *)queryParameters + error:(NSError *__autoreleasing *)errorRef; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKURLOpener.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKURLOpener.h new file mode 100644 index 0000000..ff91da7 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKURLOpener.h @@ -0,0 +1,36 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +NS_ASSUME_NONNULL_BEGIN + +@protocol FBSDKURLOpening; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(URLOpener) +@protocol FBSDKURLOpener + +- (void)openURL:(NSURL *)url + sender:(nullable id)sender + handler:(FBSDKSuccessBlock)handler; + +// UNCRUSTIFY_FORMAT_OFF +- (void)openURLWithSafariViewController:(NSURL *)url + sender:(id)sender + fromViewController:(UIViewController *)fromViewController + handler:(FBSDKSuccessBlock)handler +NS_SWIFT_NAME(openURLWithSafariViewController(url:sender:from:handler:)); +// UNCRUSTIFY_FORMAT_ON + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKURLOpening.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKURLOpening.h new file mode 100644 index 0000000..65772a5 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKURLOpening.h @@ -0,0 +1,51 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(URLOpening) +@protocol FBSDKURLOpening + +// Implementations should make sure they can handle nil parameters +// which is possible in SafariViewController. +// see canOpenURL below. +- (BOOL)application:(nullable UIApplication *)application + openURL:(nullable NSURL *)url + sourceApplication:(nullable NSString *)sourceApplication + annotation:(nullable id)annotation; + +// create a different handler to return YES/NO if the receiver can process the above openURL:. +// This is separated so that we can process the openURL: in callbacks, while still returning +// the result of canOpenURL synchronously in FBSDKApplicationDelegate +- (BOOL) canOpenURL:(NSURL *)url + forApplication:(nullable UIApplication *)application + sourceApplication:(nullable NSString *)sourceApplication + annotation:(nullable id)annotation; + +- (void)applicationDidBecomeActive:(UIApplication *)application; + +- (BOOL)isAuthenticationURL:(NSURL *)url; + +@optional +- (BOOL)shouldStopPropagationOfURL:(NSURL *)url; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKURLScheme.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKURLScheme.h new file mode 100644 index 0000000..f728392 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKURLScheme.h @@ -0,0 +1,17 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +typedef NSString *FBSDKURLScheme NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(URLScheme); + +FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeFacebookAPI; +FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeMessengerApp; +FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeHTTPS NS_SWIFT_NAME(https); +FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeHTTP NS_SWIFT_NAME(http); +FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeWeb; diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKUserAgeRange.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKUserAgeRange.h new file mode 100644 index 0000000..7d71916 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKUserAgeRange.h @@ -0,0 +1,35 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(UserAgeRange) +@interface FBSDKUserAgeRange : NSObject + +/// The user's minimun age, nil if unspecified +@property (nullable, nonatomic, readonly, strong) NSNumber *min; +/// The user's maximun age, nil if unspecified +@property (nullable, nonatomic, readonly, strong) NSNumber *max; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + Returns a UserAgeRange object from a dinctionary containing valid user age range. + @param dictionary The dictionary containing raw user age range + + Valid user age range will consist of "min" and/or "max" values that are + positive integers, where "min" is smaller than or equal to "max". + */ ++ (nullable instancetype)ageRangeFromDictionary:(NSDictionary *)dictionary; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKUtility.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKUtility.h new file mode 100644 index 0000000..eb5ca0a --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKUtility.h @@ -0,0 +1,108 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Class to contain common utility methods. +NS_SWIFT_NAME(Utility) +@interface FBSDKUtility : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + Parses a query string into a dictionary. + @param queryString The query string value. + @return A dictionary with the key/value pairs. + */ + +// UNCRUSTIFY_FORMAT_OFF ++ (NSDictionary *)dictionaryWithQueryString:(NSString *)queryString +NS_SWIFT_NAME(dictionary(withQuery:)); +// UNCRUSTIFY_FORMAT_ON + +/** + 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. + @return Query string representation of the parameters. + */ + +// UNCRUSTIFY_FORMAT_OFF ++ (NSString *)queryStringWithDictionary:(NSDictionary *)dictionary + error:(NSError **)errorRef +NS_SWIFT_NAME(query(from:)) +__attribute__((swift_error(nonnull_error))); +// UNCRUSTIFY_FORMAT_ON + +/** + Decodes a value from an URL. + @param value The value to decode. + @return The decoded value. + */ + +// UNCRUSTIFY_FORMAT_OFF ++ (NSString *)URLDecode:(NSString *)value +NS_SWIFT_NAME(decode(urlString:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Encodes a value for an URL. + @param value The value to encode. + @return The encoded value. + */ + +// UNCRUSTIFY_FORMAT_OFF ++ (NSString *)URLEncode:(NSString *)value +NS_SWIFT_NAME(encode(urlString:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Creates a timer using Grand Central Dispatch. + @param interval The interval to fire the timer, in seconds. + @param block The code block to execute when timer is fired. + @return The dispatch handle. + */ ++ (dispatch_source_t)startGCDTimerWithInterval:(double)interval block:(dispatch_block_t)block; + +/** + Stop a timer that was started by startGCDTimerWithInterval. + @param timer The dispatch handle received from startGCDTimerWithInterval. + */ ++ (void)stopGCDTimer:(dispatch_source_t)timer; + +/** + Get SHA256 hased string of NSString/NSData + + @param input The data that needs to be hashed, it could be NSString or NSData. + */ + +// UNCRUSTIFY_FORMAT_OFF ++ (nullable NSString *)SHA256Hash:(NSObject *)input +NS_SWIFT_NAME(sha256Hash(_:)); +// UNCRUSTIFY_FORMAT_ON + +/// Returns the graphdomain stored in FBSDKAuthenticationToken ++ (nullable NSString *)getGraphDomainFromToken; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ ++ (NSURL *)unversionedFacebookURLWithHostPrefix:(NSString *)hostPrefix + path:(NSString *)path + queryParameters:(NSDictionary *)queryParameters + error:(NSError *__autoreleasing *)errorRef; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKWebDialog.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKWebDialog.h new file mode 100644 index 0000000..136683d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKWebDialog.h @@ -0,0 +1,77 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import +#import +#import + +#import + +@protocol _FBSDKWindowFinding; + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(WebDialog) +@interface FBSDKWebDialog : NSObject + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nonatomic) BOOL shouldDeferVisibility; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nullable, nonatomic, strong) id<_FBSDKWindowFinding> windowFinder; + ++ (instancetype)new NS_UNAVAILABLE; +- (instancetype)init NS_UNAVAILABLE; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ ++ (instancetype)dialogWithName:(NSString *)name + delegate:(id)delegate; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +// UNCRUSTIFY_FORMAT_OFF ++ (instancetype)createAndShowWithName:(NSString *)name + parameters:(nullable NSDictionary *)parameters + frame:(CGRect)frame + delegate:(id)delegate + windowFinder:(nullable id<_FBSDKWindowFinding>)windowFinder +NS_SWIFT_NAME(createAndShow(name:parameters:frame:delegate:windowFinder:)); +// UNCRUSTIFY_FORMAT_ON + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKWebDialogDelegate.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKWebDialogDelegate.h new file mode 100644 index 0000000..6dd4b92 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKWebDialogDelegate.h @@ -0,0 +1,56 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +#import + +@class FBSDKWebDialog; + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(WebDialogDelegate) +@protocol FBSDKWebDialogDelegate + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void)webDialog:(FBSDKWebDialog *)webDialog didCompleteWithResults:(NSDictionary *)results; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void)webDialog:(FBSDKWebDialog *)webDialog didFailWithError:(NSError *)error; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void)webDialogDidCancel:(FBSDKWebDialog *)webDialog; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKWebDialogView.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKWebDialogView.h new file mode 100644 index 0000000..b0861b8 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKWebDialogView.h @@ -0,0 +1,39 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +@protocol FBSDKWebDialogViewDelegate; + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(FBWebDialogView) +@interface FBSDKWebDialogView : UIView + +@property (nonatomic, weak) id delegate; + +- (void)loadURL:(NSURL *)URL; +- (void)stopLoading; + +@end + +NS_SWIFT_NAME(WebDialogViewDelegate) +@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 + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKWebViewAppLinkResolver.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKWebViewAppLinkResolver.h new file mode 100644 index 0000000..f1d7dbe --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKWebViewAppLinkResolver.h @@ -0,0 +1,32 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + A reference implementation for an App Link resolver that uses a hidden WKWebView + to parse the HTML containing App Link metadata. + */ +NS_SWIFT_NAME(WebViewAppLinkResolver) +@interface FBSDKWebViewAppLinkResolver : NSObject + +/// Gets the instance of a FBSDKWebViewAppLinkResolver. +@property (class, nonatomic, readonly, strong) FBSDKWebViewAppLinkResolver *sharedInstance +NS_SWIFT_NAME(shared); + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/_FBSDKWindowFinding.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/_FBSDKWindowFinding.h new file mode 100644 index 0000000..a9d946f --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/_FBSDKWindowFinding.h @@ -0,0 +1,36 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_WindowFinding) +@protocol _FBSDKWindowFinding + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (nullable UIWindow *)findWindow; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/__FBSDKLoggerCreating.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/__FBSDKLoggerCreating.h new file mode 100644 index 0000000..a8114b1 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/__FBSDKLoggerCreating.h @@ -0,0 +1,29 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(LoggerCreating) +@protocol __FBSDKLoggerCreating + +- (id)createLoggerWithLoggingBehavior:(FBSDKLoggingBehavior)loggingBehavior; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios-macabi.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios-macabi.swiftdoc new file mode 100644 index 0000000..65ca54c Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios-macabi.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios-macabi.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios-macabi.swiftinterface new file mode 100644 index 0000000..880c0ce --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios-macabi.swiftinterface @@ -0,0 +1,98 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKCoreKit +@_exported import FBSDKCoreKit +import FBSDKCoreKit_Basics +import Foundation +import Swift +import UIKit +extension FBSDKCoreKit.AccessToken { + public var permissions: Swift.Set { + get + } + public var declinedPermissions: Swift.Set { + get + } + public var expiredPermissions: Swift.Set { + get + } + public func hasGranted(_ permission: FBSDKCoreKit.Permission) -> Swift.Bool +} +@objc(FBSDKCAPIReporter) public protocol CAPIReporter { + @objc func enable() + @objc func configure(factory: FBSDKCoreKit.GraphRequestFactoryProtocol, settings: FBSDKCoreKit.SettingsProtocol) + @objc func recordEvent(_ parameters: [Swift.String : Any]) +} +@objc @_inheritsConvenienceInitializers @objcMembers public class FBSDKAppEventsCAPIManager : ObjectiveC.NSObject, FBSDKCoreKit.CAPIReporter { + @objc public static let shared: FBSDKCoreKit.FBSDKAppEventsCAPIManager + @objc override dynamic public init() + @objc public func configure(factory: FBSDKCoreKit.GraphRequestFactoryProtocol, settings: FBSDKCoreKit.SettingsProtocol) + @objc public func enable() + @objc public func recordEvent(_ parameters: [Swift.String : Any]) + @objc deinit +} +@objc @_inheritsConvenienceInitializers @objcMembers public class FBSDKTransformerGraphRequestFactory : ObjectiveC.NSObject { + @objc public static let shared: FBSDKCoreKit.FBSDKTransformerGraphRequestFactory + public var credentials: FBSDKCoreKit.FBSDKTransformerGraphRequestFactory.CapiGCredentials? { + get + } + public struct CapiGCredentials { + public let accessKey: Swift.String + public let capiGatewayURL: Swift.String + public let datasetID: Swift.String + } + @objc override dynamic public init() + @objc public func configure(datasetID: Swift.String, url: Swift.String, accessKey: Swift.String) + @objc public func callCapiGatewayAPI(with parameters: [Swift.String : Any]) + @objc deinit +} +public enum Permission : Swift.Hashable, Swift.ExpressibleByStringLiteral { + case publicProfile + case userFriends + case email + case userAboutMe + case userActionsBooks + case userActionsFitness + case userActionsMusic + case userActionsNews + case userActionsVideo + case userBirthday + case userEducationHistory + case userEvents + case userGamesActivity + case userGender + case userHometown + case userLikes + case userLocation + case userManagedGroups + case userPhotos + case userPosts + case userRelationships + case userRelationshipDetails + case userReligionPolitics + case userTaggedPlaces + case userVideos + case userWebsite + case userWorkHistory + case readCustomFriendlists + case readInsights + case readAudienceNetworkInsights + case readPageMailboxes + case pagesShowList + case pagesManageCta + case pagesManageInstantArticles + case adsRead + case custom(Swift.String) + public init(stringLiteral value: Swift.String) + public var name: Swift.String { + get + } + public func hash(into hasher: inout Swift.Hasher) + public static func == (a: FBSDKCoreKit.Permission, b: FBSDKCoreKit.Permission) -> Swift.Bool + public typealias ExtendedGraphemeClusterLiteralType = Swift.String + public typealias StringLiteralType = Swift.String + public typealias UnicodeScalarLiteralType = Swift.String + public var hashValue: Swift.Int { + get + } +} diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..65ca54c Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..880c0ce --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftinterface @@ -0,0 +1,98 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKCoreKit +@_exported import FBSDKCoreKit +import FBSDKCoreKit_Basics +import Foundation +import Swift +import UIKit +extension FBSDKCoreKit.AccessToken { + public var permissions: Swift.Set { + get + } + public var declinedPermissions: Swift.Set { + get + } + public var expiredPermissions: Swift.Set { + get + } + public func hasGranted(_ permission: FBSDKCoreKit.Permission) -> Swift.Bool +} +@objc(FBSDKCAPIReporter) public protocol CAPIReporter { + @objc func enable() + @objc func configure(factory: FBSDKCoreKit.GraphRequestFactoryProtocol, settings: FBSDKCoreKit.SettingsProtocol) + @objc func recordEvent(_ parameters: [Swift.String : Any]) +} +@objc @_inheritsConvenienceInitializers @objcMembers public class FBSDKAppEventsCAPIManager : ObjectiveC.NSObject, FBSDKCoreKit.CAPIReporter { + @objc public static let shared: FBSDKCoreKit.FBSDKAppEventsCAPIManager + @objc override dynamic public init() + @objc public func configure(factory: FBSDKCoreKit.GraphRequestFactoryProtocol, settings: FBSDKCoreKit.SettingsProtocol) + @objc public func enable() + @objc public func recordEvent(_ parameters: [Swift.String : Any]) + @objc deinit +} +@objc @_inheritsConvenienceInitializers @objcMembers public class FBSDKTransformerGraphRequestFactory : ObjectiveC.NSObject { + @objc public static let shared: FBSDKCoreKit.FBSDKTransformerGraphRequestFactory + public var credentials: FBSDKCoreKit.FBSDKTransformerGraphRequestFactory.CapiGCredentials? { + get + } + public struct CapiGCredentials { + public let accessKey: Swift.String + public let capiGatewayURL: Swift.String + public let datasetID: Swift.String + } + @objc override dynamic public init() + @objc public func configure(datasetID: Swift.String, url: Swift.String, accessKey: Swift.String) + @objc public func callCapiGatewayAPI(with parameters: [Swift.String : Any]) + @objc deinit +} +public enum Permission : Swift.Hashable, Swift.ExpressibleByStringLiteral { + case publicProfile + case userFriends + case email + case userAboutMe + case userActionsBooks + case userActionsFitness + case userActionsMusic + case userActionsNews + case userActionsVideo + case userBirthday + case userEducationHistory + case userEvents + case userGamesActivity + case userGender + case userHometown + case userLikes + case userLocation + case userManagedGroups + case userPhotos + case userPosts + case userRelationships + case userRelationshipDetails + case userReligionPolitics + case userTaggedPlaces + case userVideos + case userWebsite + case userWorkHistory + case readCustomFriendlists + case readInsights + case readAudienceNetworkInsights + case readPageMailboxes + case pagesShowList + case pagesManageCta + case pagesManageInstantArticles + case adsRead + case custom(Swift.String) + public init(stringLiteral value: Swift.String) + public var name: Swift.String { + get + } + public func hash(into hasher: inout Swift.Hasher) + public static func == (a: FBSDKCoreKit.Permission, b: FBSDKCoreKit.Permission) -> Swift.Bool + public typealias ExtendedGraphemeClusterLiteralType = Swift.String + public typealias StringLiteralType = Swift.String + public typealias UnicodeScalarLiteralType = Swift.String + public var hashValue: Swift.Int { + get + } +} diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-ios-macabi.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-ios-macabi.swiftdoc new file mode 100644 index 0000000..e025a04 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-ios-macabi.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-ios-macabi.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-ios-macabi.swiftinterface new file mode 100644 index 0000000..eb2ec7f --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-ios-macabi.swiftinterface @@ -0,0 +1,98 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target x86_64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKCoreKit +@_exported import FBSDKCoreKit +import FBSDKCoreKit_Basics +import Foundation +import Swift +import UIKit +extension FBSDKCoreKit.AccessToken { + public var permissions: Swift.Set { + get + } + public var declinedPermissions: Swift.Set { + get + } + public var expiredPermissions: Swift.Set { + get + } + public func hasGranted(_ permission: FBSDKCoreKit.Permission) -> Swift.Bool +} +@objc(FBSDKCAPIReporter) public protocol CAPIReporter { + @objc func enable() + @objc func configure(factory: FBSDKCoreKit.GraphRequestFactoryProtocol, settings: FBSDKCoreKit.SettingsProtocol) + @objc func recordEvent(_ parameters: [Swift.String : Any]) +} +@objc @_inheritsConvenienceInitializers @objcMembers public class FBSDKAppEventsCAPIManager : ObjectiveC.NSObject, FBSDKCoreKit.CAPIReporter { + @objc public static let shared: FBSDKCoreKit.FBSDKAppEventsCAPIManager + @objc override dynamic public init() + @objc public func configure(factory: FBSDKCoreKit.GraphRequestFactoryProtocol, settings: FBSDKCoreKit.SettingsProtocol) + @objc public func enable() + @objc public func recordEvent(_ parameters: [Swift.String : Any]) + @objc deinit +} +@objc @_inheritsConvenienceInitializers @objcMembers public class FBSDKTransformerGraphRequestFactory : ObjectiveC.NSObject { + @objc public static let shared: FBSDKCoreKit.FBSDKTransformerGraphRequestFactory + public var credentials: FBSDKCoreKit.FBSDKTransformerGraphRequestFactory.CapiGCredentials? { + get + } + public struct CapiGCredentials { + public let accessKey: Swift.String + public let capiGatewayURL: Swift.String + public let datasetID: Swift.String + } + @objc override dynamic public init() + @objc public func configure(datasetID: Swift.String, url: Swift.String, accessKey: Swift.String) + @objc public func callCapiGatewayAPI(with parameters: [Swift.String : Any]) + @objc deinit +} +public enum Permission : Swift.Hashable, Swift.ExpressibleByStringLiteral { + case publicProfile + case userFriends + case email + case userAboutMe + case userActionsBooks + case userActionsFitness + case userActionsMusic + case userActionsNews + case userActionsVideo + case userBirthday + case userEducationHistory + case userEvents + case userGamesActivity + case userGender + case userHometown + case userLikes + case userLocation + case userManagedGroups + case userPhotos + case userPosts + case userRelationships + case userRelationshipDetails + case userReligionPolitics + case userTaggedPlaces + case userVideos + case userWebsite + case userWorkHistory + case readCustomFriendlists + case readInsights + case readAudienceNetworkInsights + case readPageMailboxes + case pagesShowList + case pagesManageCta + case pagesManageInstantArticles + case adsRead + case custom(Swift.String) + public init(stringLiteral value: Swift.String) + public var name: Swift.String { + get + } + public func hash(into hasher: inout Swift.Hasher) + public static func == (a: FBSDKCoreKit.Permission, b: FBSDKCoreKit.Permission) -> Swift.Bool + public typealias ExtendedGraphemeClusterLiteralType = Swift.String + public typealias StringLiteralType = Swift.String + public typealias UnicodeScalarLiteralType = Swift.String + public var hashValue: Swift.Int { + get + } +} diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftdoc new file mode 100644 index 0000000..e025a04 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftinterface new file mode 100644 index 0000000..eb2ec7f --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftinterface @@ -0,0 +1,98 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target x86_64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKCoreKit +@_exported import FBSDKCoreKit +import FBSDKCoreKit_Basics +import Foundation +import Swift +import UIKit +extension FBSDKCoreKit.AccessToken { + public var permissions: Swift.Set { + get + } + public var declinedPermissions: Swift.Set { + get + } + public var expiredPermissions: Swift.Set { + get + } + public func hasGranted(_ permission: FBSDKCoreKit.Permission) -> Swift.Bool +} +@objc(FBSDKCAPIReporter) public protocol CAPIReporter { + @objc func enable() + @objc func configure(factory: FBSDKCoreKit.GraphRequestFactoryProtocol, settings: FBSDKCoreKit.SettingsProtocol) + @objc func recordEvent(_ parameters: [Swift.String : Any]) +} +@objc @_inheritsConvenienceInitializers @objcMembers public class FBSDKAppEventsCAPIManager : ObjectiveC.NSObject, FBSDKCoreKit.CAPIReporter { + @objc public static let shared: FBSDKCoreKit.FBSDKAppEventsCAPIManager + @objc override dynamic public init() + @objc public func configure(factory: FBSDKCoreKit.GraphRequestFactoryProtocol, settings: FBSDKCoreKit.SettingsProtocol) + @objc public func enable() + @objc public func recordEvent(_ parameters: [Swift.String : Any]) + @objc deinit +} +@objc @_inheritsConvenienceInitializers @objcMembers public class FBSDKTransformerGraphRequestFactory : ObjectiveC.NSObject { + @objc public static let shared: FBSDKCoreKit.FBSDKTransformerGraphRequestFactory + public var credentials: FBSDKCoreKit.FBSDKTransformerGraphRequestFactory.CapiGCredentials? { + get + } + public struct CapiGCredentials { + public let accessKey: Swift.String + public let capiGatewayURL: Swift.String + public let datasetID: Swift.String + } + @objc override dynamic public init() + @objc public func configure(datasetID: Swift.String, url: Swift.String, accessKey: Swift.String) + @objc public func callCapiGatewayAPI(with parameters: [Swift.String : Any]) + @objc deinit +} +public enum Permission : Swift.Hashable, Swift.ExpressibleByStringLiteral { + case publicProfile + case userFriends + case email + case userAboutMe + case userActionsBooks + case userActionsFitness + case userActionsMusic + case userActionsNews + case userActionsVideo + case userBirthday + case userEducationHistory + case userEvents + case userGamesActivity + case userGender + case userHometown + case userLikes + case userLocation + case userManagedGroups + case userPhotos + case userPosts + case userRelationships + case userRelationshipDetails + case userReligionPolitics + case userTaggedPlaces + case userVideos + case userWebsite + case userWorkHistory + case readCustomFriendlists + case readInsights + case readAudienceNetworkInsights + case readPageMailboxes + case pagesShowList + case pagesManageCta + case pagesManageInstantArticles + case adsRead + case custom(Swift.String) + public init(stringLiteral value: Swift.String) + public var name: Swift.String { + get + } + public func hash(into hasher: inout Swift.Hasher) + public static func == (a: FBSDKCoreKit.Permission, b: FBSDKCoreKit.Permission) -> Swift.Bool + public typealias ExtendedGraphemeClusterLiteralType = Swift.String + public typealias StringLiteralType = Swift.String + public typealias UnicodeScalarLiteralType = Swift.String + public var hashValue: Swift.Int { + get + } +} diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Modules/module.modulemap b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Modules/module.modulemap new file mode 100644 index 0000000..f951cee --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module FBSDKCoreKit { + umbrella header "FBSDKCoreKit.h" + + export * + module * { export * } +} + +module FBSDKCoreKit.Swift { + header "FBSDKCoreKit-Swift.h" + requires objc +} diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Resources/Info.plist b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Resources/Info.plist new file mode 100644 index 0000000..718d1bf --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Resources/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 21E258 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FBSDKCoreKit + CFBundleIdentifier + com.facebook.sdk.FBSDKCoreKit + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FBSDKCoreKit + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 13.2.0 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 13A233 + DTPlatformName + macosx + DTPlatformVersion + 11.3 + DTSDKBuild + 20E214 + DTSDKName + macosx11.3 + DTXcode + 1300 + DTXcodeBuild + 13A233 + LSMinimumSystemVersion + 10.15 + UIDeviceFamily + + 2 + + + diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/FBSDKCoreKit b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/FBSDKCoreKit new file mode 100644 index 0000000..f28e510 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/FBSDKCoreKit differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h new file mode 100644 index 0000000..87494ec --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h @@ -0,0 +1,188 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Notification indicating that the `currentAccessToken` has changed. + + the userInfo dictionary of the notification will contain keys + `FBSDKAccessTokenChangeOldKey` and + `FBSDKAccessTokenChangeNewKey`. + */ +FOUNDATION_EXPORT NSNotificationName const FBSDKAccessTokenDidChangeNotification +NS_SWIFT_NAME(AccessTokenDidChange); + +/** + 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. + + 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). + */ +FOUNDATION_EXPORT NSString *const FBSDKAccessTokenDidChangeUserIDKey +NS_SWIFT_NAME(AccessTokenDidChangeUserIDKey); + +/* + key in notification's userInfo object for getting the old token. + + If there was no old token, the key will not be present. + */ +FOUNDATION_EXPORT NSString *const FBSDKAccessTokenChangeOldKey +NS_SWIFT_NAME(AccessTokenChangeOldKey); + +/* + key in notification's userInfo object for getting the new token. + + If there is no new token, the key will not be present. + */ +FOUNDATION_EXPORT NSString *const FBSDKAccessTokenChangeNewKey +NS_SWIFT_NAME(AccessTokenChangeNewKey); + +/* + A key in the notification's userInfo that will be set + if and only if the token has expired. + */ +FOUNDATION_EXPORT NSString *const FBSDKAccessTokenDidExpireKey +NS_SWIFT_NAME(AccessTokenDidExpireKey); + +/// Represents an immutable access token for using Facebook services. +NS_SWIFT_NAME(AccessToken) +@interface FBSDKAccessToken : NSObject + +/** + The "global" access token that represents the currently logged in user. + + The `currentAccessToken` is a convenient representation of the token of the + current user and is used by other SDK components (like `FBSDKLoginManager`). + */ +@property (class, nullable, nonatomic, copy) FBSDKAccessToken *currentAccessToken; + +/// Returns YES if currentAccessToken is not nil AND currentAccessToken is not expired +@property (class, nonatomic, readonly, getter = isCurrentAccessTokenActive, assign) BOOL currentAccessTokenIsActive; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (class, nullable, nonatomic, copy) id tokenCache; + +/// Returns the app ID. +@property (nonatomic, readonly, copy) NSString *appID; + +/// Returns the expiration date for data access +@property (nonatomic, readonly, copy) NSDate *dataAccessExpirationDate; + +/// Returns the known declined permissions. +@property (nonatomic, readonly, copy) NSSet *declinedPermissions + NS_REFINED_FOR_SWIFT; + +/// Returns the known declined permissions. +@property (nonatomic, readonly, copy) NSSet *expiredPermissions + NS_REFINED_FOR_SWIFT; + +/// Returns the expiration date. +@property (nonatomic, readonly, copy) NSDate *expirationDate; + +/// Returns the known granted permissions. +@property (nonatomic, readonly, copy) NSSet *permissions + NS_REFINED_FOR_SWIFT; + +/// Returns the date the token was last refreshed. +@property (nonatomic, readonly, copy) NSDate *refreshDate; + +/// Returns the opaque token string. +@property (nonatomic, readonly, copy) NSString *tokenString; + +/// Returns the user ID. +@property (nonatomic, readonly, copy) NSString *userID; + +/// Returns whether the access token is expired by checking its expirationDate property +@property (nonatomic, readonly, getter = isExpired, assign) BOOL expired; + +/// Returns whether user data access is still active for the given access token +@property (nonatomic, readonly, getter = isDataAccessExpired, assign) BOOL dataAccessExpired; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + Initializes a new instance. + @param tokenString the opaque token string. + @param permissions the granted permissions. Note this is converted to NSSet and is only + an NSArray for the convenience of literal syntax. + @param declinedPermissions the declined permissions. Note this is converted to NSSet and is only + an NSArray for the convenience of literal syntax. + @param expiredPermissions the expired 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). + @param dataAccessExpirationDate the date which data access will expire for the given user + (defaults to distantFuture). + + This initializer should only be used for advanced apps that + manage tokens explicitly. Typical login flows only need to use `FBSDKLoginManager` + along with `+currentAccessToken`. + */ +- (instancetype)initWithTokenString:(NSString *)tokenString + permissions:(NSArray *)permissions + declinedPermissions:(NSArray *)declinedPermissions + expiredPermissions:(NSArray *)expiredPermissions + appID:(NSString *)appID + userID:(NSString *)userID + expirationDate:(nullable NSDate *)expirationDate + refreshDate:(nullable NSDate *)refreshDate + dataAccessExpirationDate:(nullable NSDate *)dataAccessExpirationDate + NS_DESIGNATED_INITIALIZER; + +/** + Convenience getter to determine if a permission has been granted + @param permission The permission to check. + */ +// UNCRUSTIFY_FORMAT_OFF +- (BOOL)hasGranted:(NSString *)permission +NS_SWIFT_NAME(hasGranted(permission:)); +// UNCRUSTIFY_FORMAT_ON + +/** + 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; + +/** + Refresh the current access token's permission state and extend the token's expiration date, + if possible. + @param completion an optional callback handler that can surface any errors related to permission refreshing. + + On a successful refresh, the currentAccessToken will be updated so you typically only need to + observe the `FBSDKAccessTokenDidChangeNotification` notification. + + If a token is already expired, it cannot be refreshed. + */ ++ (void)refreshCurrentAccessTokenWithCompletion:(nullable FBSDKGraphRequestCompletion)completion; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAccessTokenProtocols.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAccessTokenProtocols.h new file mode 100644 index 0000000..5c033ca --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAccessTokenProtocols.h @@ -0,0 +1,43 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@class FBSDKAccessToken; +@protocol FBSDKTokenCaching; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(AccessTokenProviding) +@protocol FBSDKAccessTokenProviding + +@property (class, nullable, nonatomic, readonly, copy) FBSDKAccessToken *currentAccessToken; +@property (class, nullable, nonatomic, copy) id tokenCache; + +@end + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(AccessTokenSetting) +@protocol FBSDKAccessTokenSetting + +@property (class, nullable, nonatomic, copy) FBSDKAccessToken *currentAccessToken; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAdvertisingTrackingStatus.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAdvertisingTrackingStatus.h new file mode 100644 index 0000000..730b90d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAdvertisingTrackingStatus.h @@ -0,0 +1,25 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +typedef NS_ENUM(NSUInteger, FBSDKAdvertisingTrackingStatus) { + FBSDKAdvertisingTrackingAllowed, + FBSDKAdvertisingTrackingDisallowed, + FBSDKAdvertisingTrackingUnspecified, +} NS_SWIFT_NAME(AdvertisingTrackingStatus); + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppAvailabilityChecker.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppAvailabilityChecker.h new file mode 100644 index 0000000..21a1f44 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppAvailabilityChecker.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AppAvailabilityChecker) +@protocol FBSDKAppAvailabilityChecker + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nonatomic, readonly, assign) BOOL isMessengerAppInstalled; +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nonatomic, readonly, assign) BOOL isFacebookAppInstalled; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEventName.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEventName.h new file mode 100644 index 0000000..b55589b --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEventName.h @@ -0,0 +1,92 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/** + @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 `FBSDKAppEventParameterName` constants. + */ + +/// typedef for FBSDKAppEventName +typedef NSString *FBSDKAppEventName NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(AppEvents.Name); + +// MARK: - General Purpose + +/// Log this event when the user clicks an ad. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameAdClick; + +/// Log this event when the user views an ad. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameAdImpression; + +/// Log this event when a user has completed registration with the app. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameCompletedRegistration; + +/// Log this event when the user has completed a tutorial in the app. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameCompletedTutorial; + +/// A telephone/SMS, email, chat or other type of contact between a customer and your business. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameContact; + +/// The customization of products through a configuration tool or other application your business owns. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameCustomizeProduct; + +/// The donation of funds to your organization or cause. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameDonate; + +/// When a person finds one of your locations via web or application, with an intention to visit (example: find product at a local store). +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameFindLocation; + +/// Log this event when the user has rated an item in the app. The valueToSum passed to logEvent should be the numeric rating. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameRated; + +/// The booking of an appointment to visit one of your locations. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameSchedule; + +/// Log this event when a user has performed a search within the app. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameSearched; + +/// The start of a free trial of a product or service you offer (example: trial subscription). +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameStartTrial; + +/// The submission of an application for a product, service or program you offer (example: credit card, educational program or job). +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameSubmitApplication; + +/// The start of a paid subscription for a product or service you offer. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameSubscribe; + +/// Log this event when a user has viewed a form of content in the app. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameViewedContent; + +// MARK: - E-Commerce + +/// Log this event when the user has entered their payment info. +FOUNDATION_EXPORT FBSDKAppEventName 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. +FOUNDATION_EXPORT FBSDKAppEventName 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. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameAddedToWishlist; + +/// Log this event when the user has entered the checkout process. The valueToSum passed to logEvent should be the total price in the cart. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameInitiatedCheckout; + +/// Log this event when the user has completed a transaction. The valueToSum passed to logEvent should be the total price of the transaction. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNamePurchased; + +// MARK: - Gaming + +/// Log this event when the user has achieved a level in the app. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameAchievedLevel; + +/// Log this event when the user has unlocked an achievement in the app. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameUnlockedAchievement; + +/// Log this event when the user has spent app credits. The valueToSum passed to logEvent should be the number of credits spent. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameSpentCredits; diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterName.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterName.h new file mode 100644 index 0000000..ceb5e2d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterName.h @@ -0,0 +1,73 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/** + @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. + */ + +/// typedef for FBSDKAppEventParameterName +typedef NSString *FBSDKAppEventParameterName NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(AppEvents.ParameterName); + +/** + * Parameter key used to specify data for the one or more pieces of content being logged about. + * Data should be a JSON encoded string. + * Example: + * "[{\"id\": \"1234\", \"quantity\": 2, \"item_price\": 5.99}, {\"id\": \"5678\", \"quantity\": 1, \"item_price\": 9.99}]" + */ +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameContent; + +/// Parameter key used to specify an ID for the specific piece of content being logged about. Could be an EAN, article identifier, etc., depending on the nature of the app. +FOUNDATION_EXPORT FBSDKAppEventParameterName 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. +FOUNDATION_EXPORT FBSDKAppEventParameterName 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 . +FOUNDATION_EXPORT FBSDKAppEventParameterName 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. +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameDescription; + +/// Parameter key used to specify the level achieved in a `FBAppEventNameAchieved` event. +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameLevel; + +/// Parameter key used to specify the maximum rating available for the `FBAppEventNameRate` event. E.g., "5" or "10". +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameMaxRatingValue; + +/// Parameter key used to specify how many items are being processed for an `FBAppEventNameInitiatedCheckout` or `FBAppEventNamePurchased` event. +FOUNDATION_EXPORT FBSDKAppEventParameterName 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. +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNamePaymentInfoAvailable; + +/// Parameter key used to specify method user has used to register for the app, e.g., "Facebook", "email", "Twitter", etc +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameRegistrationMethod; + +/// Parameter key used to specify the string provided by the user for a search operation. +FOUNDATION_EXPORT FBSDKAppEventParameterName 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. +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameSuccess; + +/** Parameter key used to specify the type of ad in an FBSDKAppEventNameAdImpression + * or FBSDKAppEventNameAdClick event. + * E.g. "banner", "interstitial", "rewarded_video", "native" */ +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameAdType; + +/** Parameter key used to specify the unique ID for all events within a subscription + * in an FBSDKAppEventNameSubscribe or FBSDKAppEventNameStartTrial event. */ +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameOrderID; + +/// Parameter key used to specify event name. +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameEventName; + +/// Parameter key used to specify event log time. +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameLogTime; diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterProduct.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterProduct.h new file mode 100644 index 0000000..ff0b036 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterProduct.h @@ -0,0 +1,77 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/// @methodgroup Predefined event name parameters for common additional information to accompany events logged through the `logProductItem` method on `FBSDKAppEvents`. + +/// typedef for FBSDKAppEventParameterProduct +typedef NSString *const FBSDKAppEventParameterProduct NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(AppEvents.ParameterProduct); + +/// Parameter key used to specify the product item's category. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCategory; + +/// Parameter key used to specify the product item's custom label 0. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCustomLabel0; + +/// Parameter key used to specify the product item's custom label 1. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCustomLabel1; + +/// Parameter key used to specify the product item's custom label 2. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCustomLabel2; + +/// Parameter key used to specify the product item's custom label 3. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCustomLabel3; + +/// Parameter key used to specify the product item's custom label 4. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCustomLabel4; + +/// Parameter key used to specify the product item's AppLink app URL for iOS. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIOSUrl; + +/// Parameter key used to specify the product item's AppLink app ID for iOS App Store. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIOSAppStoreID; + +/// Parameter key used to specify the product item's AppLink app name for iOS. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIOSAppName; + +/// Parameter key used to specify the product item's AppLink app URL for iPhone. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPhoneUrl; + +/// Parameter key used to specify the product item's AppLink app ID for iPhone App Store. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPhoneAppStoreID; + +/// Parameter key used to specify the product item's AppLink app name for iPhone. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPhoneAppName; + +/// Parameter key used to specify the product item's AppLink app URL for iPad. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPadUrl; + +/// Parameter key used to specify the product item's AppLink app ID for iPad App Store. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPadAppStoreID; + +/// Parameter key used to specify the product item's AppLink app name for iPad. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPadAppName; + +/// Parameter key used to specify the product item's AppLink app URL for Android. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkAndroidUrl; + +/// Parameter key used to specify the product item's AppLink fully-qualified package name for intent generation. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkAndroidPackage; + +/// Parameter key used to specify the product item's AppLink app name for Android. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkAndroidAppName; + +/// Parameter key used to specify the product item's AppLink app URL for Windows Phone. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkWindowsPhoneUrl; + +/// Parameter key used to specify the product item's AppLink app ID, as a GUID, for App Store. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkWindowsPhoneAppID; + +/// Parameter key used to specify the product item's AppLink app name for Windows Phone. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkWindowsPhoneAppName; diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterValue.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterValue.h new file mode 100644 index 0000000..796e2e1 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterValue.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/* + @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. + */ + +/// typedef for FBSDKAppEventParameterValue +typedef NSString *const FBSDKAppEventParameterValue NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(AppEvents.ParameterValue); + +/// Yes-valued parameter value to be used with parameter keys that need a Yes/No value +FOUNDATION_EXPORT FBSDKAppEventParameterValue FBSDKAppEventParameterValueYes; + +/// No-valued parameter value to be used with parameter keys that need a Yes/No value +FOUNDATION_EXPORT FBSDKAppEventParameterValue FBSDKAppEventParameterValueNo; diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEventUserDataType.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEventUserDataType.h new file mode 100644 index 0000000..194443d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEventUserDataType.h @@ -0,0 +1,44 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +typedef NSString *const FBSDKAppEventUserDataType NS_TYPED_EXTENSIBLE_ENUM; + +/// Parameter key used to specify user's email. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventEmail; + +/// Parameter key used to specify user's first name. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventFirstName; + +/// Parameter key used to specify user's last name. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventLastName; + +/// Parameter key used to specify user's phone. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventPhone; + +/// Parameter key used to specify user's date of birth. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventDateOfBirth; + +/// Parameter key used to specify user's gender. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventGender; + +/// Parameter key used to specify user's city. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventCity; + +/// Parameter key used to specify user's state. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventState; + +/// Parameter key used to specify user's zip. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventZip; + +/// Parameter key used to specify user's country. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventCountry; + +/// Parameter key used to specify user's external id. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventExternalId; diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h new file mode 100644 index 0000000..1504e74 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h @@ -0,0 +1,521 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + #import +#endif + +#import +#import +#import +#import +#import +#import +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +@class FBSDKAccessToken; + +/// Optional plist key ("FacebookLoggingOverrideAppID") for setting `loggingOverrideAppID` +FOUNDATION_EXPORT NSString *const FBSDKAppEventsOverrideAppIDBundleKey +NS_SWIFT_NAME(AppEventsOverrideAppIDBundleKey); + +/** + Client-side event logging for specialized application analytics available through Facebook App Insights + and for use with Facebook Ads conversion tracking and optimization. + + 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. + */ +NS_SWIFT_NAME(AppEvents) +@interface FBSDKAppEvents : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/// The shared instance of AppEvents. +@property (class, nonatomic, readonly, strong) FBSDKAppEvents *shared; + +/// Control over event batching/flushing + +/// The current event flushing behavior specifying when events are sent back to Facebook servers. +@property (nonatomic) FBSDKAppEventsFlushBehavior flushBehavior; + +/** + Set the 'override' App ID for App Event logging. + + 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 `Settings.shared.appID`. + + This should be set before any other calls are made to `AppEvents`. Thus, you should set it in your application + delegate's `application(_:didFinishLaunchingWithOptions:)` method. + */ +@property (nullable, nonatomic, copy) NSString *loggingOverrideAppID; + +/** + The custom user ID to associate with all app events. + + The userID is persisted until it is cleared by passing `nil`. + */ +@property (nullable, nonatomic, copy) NSString *userID; + +/// Returns generated anonymous id that persisted with current install of the app +@property (nonatomic, readonly) NSString *anonymousID; + +/* + * Basic event logging + */ + +/** + Log an event with just an event name. + + @param eventName The name of the event to record. Limitations on number of events and name length + are given in the `AppEvents` documentation. + */ +- (void)logEvent:(FBSDKAppEventName)eventName; + +/** + Log an event with an event name 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 `AppEvents` documentation. Common event names are provided in `AppEvents.Name` constants. + + @param valueToSum Amount to be aggregated into all events of this event name, and App Insights will report + the cumulative and average value of this amount. + */ +- (void)logEvent:(FBSDKAppEventName)eventName + valueToSum:(double)valueToSum; + +/** + Log an event with an event name 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 `AppEvents` documentation. Common event names are provided in `AppEvents.Name` 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 `AppEvents` documentation. Commonly used parameter names + are provided in `AppEvents.ParameterName` constants. + */ +- (void)logEvent:(FBSDKAppEventName)eventName + parameters:(nullable NSDictionary *)parameters; + +/** + Log an event with an event name, 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 `AppEvents` documentation. Common event names are provided in `AppEvents.Name` constants. + + @param valueToSum Amount to be aggregated into all events of this event name, 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 `AppEvents` documentation. Commonly used parameter names + are provided in `AppEvents.ParameterName` constants. + */ +- (void)logEvent:(FBSDKAppEventName)eventName + valueToSum:(double)valueToSum + parameters:(nullable NSDictionary *)parameters; + +/** + Log an event with an event name, 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 `AppEvents` documentation. Common event names are provided in `AppEvents.Name` 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 `AppEvents` documentation. Commonly used parameter names + are provided in `AppEvents.ParameterName` constants. + + @param accessToken The optional access token to log the event as. + */ +- (void)logEvent:(FBSDKAppEventName)eventName + valueToSum:(nullable NSNumber *)valueToSum + parameters:(nullable NSDictionary *)parameters + accessToken:(nullable FBSDKAccessToken *)accessToken; + +/* + * Purchase logging + */ + +/** + 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 string (e.g., "USD", "EUR", "GBP"); see ISO-4217 for + specific values. One reference for these is . + + This event immediately triggers a flush of the `AppEvents` event queue, unless the `flushBehavior` is set + to `FBSDKAppEventsFlushBehaviorExplicitOnly`. + */ +// UNCRUSTIFY_FORMAT_OFF +- (void)logPurchase:(double)purchaseAmount currency:(NSString *)currency + NS_SWIFT_NAME(logPurchase(amount:currency:)); +// UNCRUSTIFY_FORMAT_ON + +/** + 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 string (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 `AppEvents` documentation. Commonly used parameter names + are provided in `AppEvents.ParameterName` constants. + + This event immediately triggers a flush of the `AppEvents` event queue, unless the `flushBehavior` is set + to `FBSDKAppEventsFlushBehaviorExplicitOnly`. + */ +// UNCRUSTIFY_FORMAT_OFF +- (void)logPurchase:(double)purchaseAmount + currency:(NSString *)currency + parameters:(nullable NSDictionary *)parameters + NS_SWIFT_NAME(logPurchase(amount:currency:parameters:)); +// UNCRUSTIFY_FORMAT_ON + +/** + 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 string (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 `AppEvents` documentation. Commonly used parameter names + are provided in `AppEvents.ParameterName` constants. + + @param accessToken The optional access token to log the event as. + + This event immediately triggers a flush of the `AppEvents` event queue, unless the `flushBehavior` is set + to `FBSDKAppEventsFlushBehaviorExplicitOnly`. + */ +// UNCRUSTIFY_FORMAT_OFF +- (void)logPurchase:(double)purchaseAmount + currency:(NSString *)currency + parameters:(nullable NSDictionary *)parameters + accessToken:(nullable FBSDKAccessToken *)accessToken + NS_SWIFT_NAME(logPurchase(amount:currency:parameters:accessToken:)); +// UNCRUSTIFY_FORMAT_ON + +/* + * Push Notifications Logging + */ + +/** + Log an app event that tracks that the application was open via Push Notification. + + @param payload Notification payload received via `UIApplicationDelegate`. + */ +// UNCRUSTIFY_FORMAT_OFF +- (void)logPushNotificationOpen:(NSDictionary *)payload + NS_SWIFT_NAME(logPushNotificationOpen(payload:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Log an app event that tracks that a custom action was taken from a push notification. + + @param payload Notification payload received via `UIApplicationDelegate`. + @param action Name of the action that was taken. + */ +// UNCRUSTIFY_FORMAT_OFF +- (void)logPushNotificationOpen:(NSDictionary *)payload action:(NSString *)action + NS_SWIFT_NAME(logPushNotificationOpen(payload:action:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Uploads product catalog product item as an app event + + @param itemID Unique ID for the item. Can be a variant for a product. + Max size is 100. + @param availability If item is in stock. Accepted values are: + in stock - Item ships immediately + out of stock - No plan to restock + preorder - Available in future + available for order - Ships in 1-2 weeks + discontinued - Discontinued + @param condition Product condition: new, refurbished or used. + @param description Short text describing product. Max size is 5000. + @param imageLink Link to item image used in ad. + @param link Link to merchant's site where someone can buy the item. + @param title Title of item. + @param priceAmount Amount of purchase, in the currency specified by the 'currency' + parameter. This value will be rounded to the thousandths place + (e.g., 12.34567 becomes 12.346). + @param currency Currency string (e.g., "USD", "EUR", "GBP"); see ISO-4217 for + specific values. One reference for these is . + @param gtin Global Trade Item Number including UPC, EAN, JAN and ISBN + @param mpn Unique manufacture ID for product + @param brand Name of the brand + Note: Either gtin, mpn or brand is required. + @param parameters Optional fields for deep link specification. + */ +// UNCRUSTIFY_FORMAT_OFF +- (void)logProductItem:(NSString *)itemID + availability:(FBSDKProductAvailability)availability + condition:(FBSDKProductCondition)condition + description:(NSString *)description + imageLink:(NSString *)imageLink + link:(NSString *)link + title:(NSString *)title + priceAmount:(double)priceAmount + currency:(NSString *)currency + gtin:(nullable NSString *)gtin + mpn:(nullable NSString *)mpn + brand:(nullable NSString *)brand + parameters:(nullable NSDictionary *)parameters + NS_SWIFT_NAME(logProductItem(id:availability:condition:description:imageLink:link:title:priceAmount:currency:gtin:mpn:brand:parameters:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Notifies the events system that the app has launched and, when appropriate, logs an "activated app" event. + This function is called automatically from FBSDKApplicationDelegate applicationDidBecomeActive, unless + one overrides 'FacebookAutoLogAppEventsEnabled' key to false in the project info plist file. + In case 'FacebookAutoLogAppEventsEnabled' is set to false, then it 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. + + `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; + +/* + * Push Notifications Registration and Uninstall Tracking + */ + +/** + Sets and sends device token to register the current application for push notifications. + + Sets and sends a device token from the `Data` representation that you get from + `UIApplicationDelegate.application(_:didRegisterForRemoteNotificationsWithDeviceToken:)`. + + @param deviceToken Device token data. + */ +- (void)setPushNotificationsDeviceToken:(nullable NSData *)deviceToken; + +/** + Sets and sends device token string to register the current application for push notifications. + + Sets and sends a device token string + + @param deviceTokenString Device token string. + */ +// UNCRUSTIFY_FORMAT_OFF +- (void)setPushNotificationsDeviceTokenString:(nullable NSString *)deviceTokenString +NS_SWIFT_NAME(setPushNotificationsDeviceToken(_:)); +// UNCRUSTIFY_FORMAT_ON + +/** + 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; + +/** + 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. + + The JSON in the request's response will include a "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 `Settings.shared.isEventDataUsageLimited` flag, or a specific Facebook user cannot be identified. + + @param accessToken The access token to use to establish the user's identity for users logged into Facebook through this app. + If `nil`, then `AccessToken.current` is used. + */ +// UNCRUSTIFY_FORMAT_OFF +- (nullable FBSDKGraphRequest *)requestForCustomAudienceThirdPartyIDWithAccessToken:(nullable FBSDKAccessToken *)accessToken +NS_SWIFT_NAME(requestForCustomAudienceThirdPartyID(accessToken:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Sets custom user data to associate with all app events. All user data are hashed + and used to match Facebook user from this instance of an application. + + The user data will be persisted between application instances. + + @param email user's email + @param firstName user's first name + @param lastName user's last name + @param phone user's phone + @param dateOfBirth user's date of birth + @param gender user's gender + @param city user's city + @param state user's state + @param zip user's zip + @param country user's country + */ + +// UNCRUSTIFY_FORMAT_OFF +- (void)setUserEmail:(nullable NSString *)email + firstName:(nullable NSString *)firstName + lastName:(nullable NSString *)lastName + phone:(nullable NSString *)phone + dateOfBirth:(nullable NSString *)dateOfBirth + gender:(nullable NSString *)gender + city:(nullable NSString *)city + state:(nullable NSString *)state + zip:(nullable NSString *)zip + country:(nullable NSString *)country +NS_SWIFT_NAME(setUser(email:firstName:lastName:phone:dateOfBirth:gender:city:state:zip:country:)); +// UNCRUSTIFY_FORMAT_ON + +/// Returns the set user data else nil +- (nullable NSString *)getUserData; + +/// Clears the current user data +- (void)clearUserData; + +/** + Sets custom user data to associate with all app events. All user data are hashed + and used to match Facebook user from this instance of an application. + + The user data will be persisted between application instances. + + @param data data + @param type data type, e.g. FBSDKAppEventEmail, FBSDKAppEventPhone + */ +- (void)setUserData:(nullable NSString *)data + forType:(FBSDKAppEventUserDataType)type; + +/// Clears the current user data of certain type +- (void)clearUserDataForType:(FBSDKAppEventUserDataType)type; + +#if !TARGET_OS_TV +/** + Intended to be used as part of a hybrid webapp. + If you call this method, the FB SDK will inject a new JavaScript object into your webview. + If the FB Pixel is used within the webview, and references the app ID of this app, + then it will detect the presence of this injected JavaScript object + and pass Pixel events back to the FB SDK for logging using the AppEvents framework. + + @param webView The webview to augment with the additional JavaScript behavior + */ +- (void)augmentHybridWebView:(WKWebView *)webView; +#endif + +/* + * Unity helper functions + */ + +/** + Set whether Unity is already initialized. + + @param isUnityInitialized Whether Unity is initialized. + */ +- (void)setIsUnityInitialized:(BOOL)isUnityInitialized; + +/// Send event bindings to Unity +- (void)sendEventBindingsToUnity; + +/* + * SDK Specific Event Logging + * Do not call directly outside of the SDK itself. + */ + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void)logInternalEvent:(FBSDKAppEventName)eventName + parameters:(nullable NSDictionary *)parameters + isImplicitlyLogged:(BOOL)isImplicitlyLogged; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void)logInternalEvent:(FBSDKAppEventName)eventName + parameters:(nullable NSDictionary *)parameters + isImplicitlyLogged:(BOOL)isImplicitlyLogged + accessToken:(nullable FBSDKAccessToken *)accessToken; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEventsFlushBehavior.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEventsFlushBehavior.h new file mode 100644 index 0000000..872ef49 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEventsFlushBehavior.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/** + NS_ENUM (NSUInteger, FBSDKAppEventsFlushBehavior) + + 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, +} NS_SWIFT_NAME(AppEvents.FlushBehavior); diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEventsNotificationName.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEventsNotificationName.h new file mode 100644 index 0000000..159e27d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEventsNotificationName.h @@ -0,0 +1,13 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/// NSNotificationCenter name indicating a result of a failed log flush attempt. The posted object will be an NSError instance. +FOUNDATION_EXPORT NSNotificationName const FBSDKAppEventsLoggingResultNotification +NS_SWIFT_NAME(AppEventsLoggingResult); diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppLink.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppLink.h new file mode 100644 index 0000000..a995c02 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppLink.h @@ -0,0 +1,65 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// The version of the App Link protocol that this library supports +FOUNDATION_EXPORT NSString *const FBSDKAppLinkVersion +NS_SWIFT_NAME(AppLinkVersion); + +/** + Contains App Link metadata relevant for navigation on this device + derived from the HTML at a given URL. + */ +NS_SWIFT_NAME(AppLink) +@interface FBSDKAppLink : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + Creates a FBSDKAppLink with the given list of FBSDKAppLinkTargets and target URL. + + Generally, this will only be used by implementers of the FBSDKAppLinkResolving protocol, + as these implementers will produce App Link metadata for a given URL. + + @param sourceURL the URL from which this App Link is derived + @param targets an ordered list of FBSDKAppLinkTargets for this platform derived + from App Link metadata. + @param webURL the fallback web URL, if any, for the app link. + */ +// UNCRUSTIFY_FORMAT_OFF ++ (instancetype)appLinkWithSourceURL:(nullable NSURL *)sourceURL + targets:(NSArray *)targets + webURL:(nullable NSURL *)webURL +NS_SWIFT_NAME(init(sourceURL:targets:webURL:)); +// UNCRUSTIFY_FORMAT_ON + +/// The URL from which this FBSDKAppLink was derived +@property (nullable, nonatomic, readonly, strong) NSURL *sourceURL; + +/** + The ordered list of targets applicable to this platform that will be used + for navigation. + */ +@property (nonatomic, readonly, copy) NSArray> *targets; + +/// The fallback web URL to use if no targets are installed on this device. +@property (nullable, nonatomic, readonly, strong) NSURL *webURL; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppLinkNavigation.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppLinkNavigation.h new file mode 100644 index 0000000..bfc1bbf --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppLinkNavigation.h @@ -0,0 +1,137 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +#import +#import + +@protocol FBSDKSettings; + +NS_ASSUME_NONNULL_BEGIN + +/// The result of calling navigate on a FBSDKAppLinkNavigation +typedef NS_ENUM(NSInteger, FBSDKAppLinkNavigationType) { + /// Indicates that the navigation failed and no app was opened + FBSDKAppLinkNavigationTypeFailure, + /// Indicates that the navigation succeeded by opening the URL in the browser + FBSDKAppLinkNavigationTypeBrowser, + /// Indicates that the navigation succeeded by opening the URL in an app on the device + FBSDKAppLinkNavigationTypeApp, +} NS_SWIFT_NAME(AppLinkNavigation.Type); + +/** + Describes the callback for appLinkFromURLInBackground. + @param navType the FBSDKAppLink representing the deferred App Link + @param error the error during the request, if any + */ +typedef void (^ FBSDKAppLinkNavigationBlock)(FBSDKAppLinkNavigationType navType, NSError *_Nullable error) +NS_SWIFT_NAME(AppLinkNavigationBlock); + +/** + Represents a pending request to navigate to an App Link. Most developers will + simply use navigateToURLInBackground: to open a URL, but developers can build + custom requests with additional navigation and app data attached to them by + creating FBSDKAppLinkNavigations themselves. + */ +NS_EXTENSION_UNAVAILABLE_IOS("Not available in app extension") +NS_SWIFT_NAME(AppLinkNavigation) +@interface FBSDKAppLinkNavigation : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + The default resolver to be used for App Link resolution. If the developer has not set one explicitly, + a basic, built-in FBSDKWebViewAppLinkResolver will be used. + */ +@property (class, nonatomic, strong) id defaultResolver +NS_SWIFT_NAME(default); + +/** + The extras for the AppLinkNavigation. This will generally contain application-specific + data that should be passed along with the request, such as advertiser or affiliate IDs or + other such metadata relevant on this device. + */ +@property (nonatomic, readonly, copy) NSDictionary *extras; + +/** + The al_applink_data for the AppLinkNavigation. This will generally contain data common to + navigation attempts such as back-links, user agents, and other information that may be used + in routing and handling an App Link request. + */ +@property (nonatomic, readonly, copy) NSDictionary *appLinkData; + +/// The AppLink to navigate to +@property (nonatomic, readonly, strong) FBSDKAppLink *appLink; + +/** + Return navigation type for current instance. + No-side-effect version of navigate: + */ +@property (nonatomic, readonly) FBSDKAppLinkNavigationType navigationType; + +// UNCRUSTIFY_FORMAT_OFF +/// Creates an AppLinkNavigation with the given link, extras, and App Link data ++ (instancetype)navigationWithAppLink:(FBSDKAppLink *)appLink + extras:(NSDictionary *)extras + appLinkData:(NSDictionary *)appLinkData + settings:(id)settings +NS_SWIFT_NAME(init(appLink:extras:appLinkData:settings:)); + +/** + Creates an NSDictionary with the correct format for iOS callback URLs, + to be used as 'appLinkData' argument in the call to navigationWithAppLink:extras:appLinkData: + */ ++ (NSDictionary *> *)callbackAppLinkDataForAppWithName:(NSString *)appName + url:(NSString *)url +NS_SWIFT_NAME(callbackAppLinkData(forApp:url:)); +// UNCRUSTIFY_FORMAT_ON + +/// Performs the navigation +- (FBSDKAppLinkNavigationType)navigate:(NSError **)error + __attribute__((swift_error(nonnull_error))); + +/// Returns a FBSDKAppLink for the given URL ++ (void)resolveAppLink:(NSURL *)destination handler:(FBSDKAppLinkBlock)handler; + +/// Returns a FBSDKAppLink for the given URL using the given App Link resolution strategy ++ (void)resolveAppLink:(NSURL *)destination + resolver:(id)resolver + handler:(FBSDKAppLinkBlock)handler; + +/// Navigates to a FBSDKAppLink and returns whether it opened in-app or in-browser ++ (FBSDKAppLinkNavigationType)navigateToAppLink:(FBSDKAppLink *)link error:(NSError **)error + __attribute__((swift_error(nonnull_error))); + +/** + Returns a FBSDKAppLinkNavigationType based on a FBSDKAppLink. + It's essentially a no-side-effect version of navigateToAppLink:error:, + allowing apps to determine flow based on the link type (e.g. open an + internal web view instead of going straight to the browser for regular links.) + */ ++ (FBSDKAppLinkNavigationType)navigationTypeForLink:(FBSDKAppLink *)link; + +/// Navigates to a URL (an asynchronous action) and returns a FBSDKNavigationType ++ (void)navigateToURL:(NSURL *)destination handler:(FBSDKAppLinkNavigationBlock)handler; + +/** + Navigates to a URL (an asynchronous action) using the given App Link resolution + strategy and returns a FBSDKNavigationType + */ ++ (void)navigateToURL:(NSURL *)destination + resolver:(id)resolver + handler:(FBSDKAppLinkNavigationBlock)handler; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h new file mode 100644 index 0000000..23056a3 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h @@ -0,0 +1,57 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Describes the callback for appLinkFromURLInBackground. + @param appLinks the FBSDKAppLinks representing the deferred App Links + @param error the error during the request, if any + */ +typedef void (^ FBSDKAppLinksBlock)(NSDictionary *appLinks, + NSError *_Nullable error) +NS_SWIFT_NAME(AppLinksBlock); + +/** + Provides an implementation of the FBSDKAppLinkResolving 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. + + Usage of this type requires a client token. See `[FBSDKSettings setClientToken:]` + */ + +NS_SWIFT_NAME(AppLinkResolver) +@interface FBSDKAppLinkResolver : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + Asynchronously resolves App Link data for a given array of URLs. + + @param urls The URLs to resolve into an App Link. + @param handler The completion block that will return an App Link for the given URL. + */ +- (void)appLinksFromURLs:(NSArray *)urls handler:(FBSDKAppLinksBlock)handler + NS_EXTENSION_UNAVAILABLE_IOS("Not available in app extension"); + +/// Allocates and initializes a new instance of FBSDKAppLinkResolver. ++ (instancetype)resolver + NS_SWIFT_NAME(init()); + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolving.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolving.h new file mode 100644 index 0000000..41a9276 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolving.h @@ -0,0 +1,46 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +@class FBSDKAppLink; + +/** + Describes the callback for appLinkFromURLInBackground. + @param appLink the FBSDKAppLink representing the deferred App Link + @param error the error during the request, if any + */ +typedef void (^ FBSDKAppLinkBlock)(FBSDKAppLink *_Nullable appLink, NSError *_Nullable error) +NS_SWIFT_NAME(AppLinkBlock); + +/** + 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. + */ +NS_SWIFT_NAME(AppLinkResolving) +@protocol FBSDKAppLinkResolving + +/** + Asynchronously resolves App Link data for a given URL. + + @param url The URL to resolve into an App Link. + @param handler The completion block that will return an App Link for the given URL. + */ +- (void)appLinkFromURL:(NSURL *)url handler:(FBSDKAppLinkBlock)handler + NS_EXTENSION_UNAVAILABLE_IOS("Not available in app extension"); + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppLinkTarget.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppLinkTarget.h new file mode 100644 index 0000000..75ecb37 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppLinkTarget.h @@ -0,0 +1,48 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Represents a target defined in App Link metadata, consisting of at least + a URL, and optionally an App Store ID and name. + */ +NS_SWIFT_NAME(AppLinkTarget) +@interface FBSDKAppLinkTarget : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/// Creates a FBSDKAppLinkTarget with the given app site and target URL. +// UNCRUSTIFY_FORMAT_OFF ++ (instancetype)appLinkTargetWithURL:(nullable NSURL *)url + appStoreId:(nullable NSString *)appStoreId + appName:(NSString *)appName +NS_SWIFT_NAME(init(url:appStoreId:appName:)); +// UNCRUSTIFY_FORMAT_ON + +/// The URL prefix for this app link target +@property (nullable, nonatomic, readonly, strong) NSURL *URL; + +/// The app ID for the app store +@property (nullable, nonatomic, readonly, copy) NSString *appStoreId; + +/// The name of the app +@property (nonatomic, readonly, copy) NSString *appName; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppLinkTargetProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppLinkTargetProtocol.h new file mode 100644 index 0000000..2bd5cd3 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppLinkTargetProtocol.h @@ -0,0 +1,39 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// A protocol to describe an AppLinkTarget +NS_SWIFT_NAME(AppLinkTargetProtocol) +@protocol FBSDKAppLinkTarget + +// UNCRUSTIFY_FORMAT_OFF ++ (instancetype)appLinkTargetWithURL:(nullable NSURL *)url + appStoreId:(nullable NSString *)appStoreId + appName:(NSString *)appName +NS_SWIFT_NAME(init(url:appStoreId:appName:)); +// UNCRUSTIFY_FORMAT_ON + +/// The URL prefix for this app link target +@property (nullable, nonatomic, readonly) NSURL *URL; + +/// The app ID for the app store +@property (nullable, nonatomic, readonly, copy) NSString *appStoreId; + +/// The name of the app +@property (nonatomic, readonly, copy) NSString *appName; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h new file mode 100644 index 0000000..cc886b5 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h @@ -0,0 +1,75 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Describes the callback for fetchDeferredAppLink. + @param url the url representing the deferred App Link + @param error the error during the request, if any + + The url may also have a fb_click_time_utc query parameter that + represents when the click occurred that caused the deferred App Link to be created. + */ +typedef void (^ FBSDKURLBlock)(NSURL *_Nullable url, NSError *_Nullable error) +NS_SWIFT_NAME(URLBlock); + +/// Class containing App Links related utility methods. +NS_SWIFT_NAME(AppLinkUtility) +@interface FBSDKAppLinkUtility : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + 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 + + 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:(nullable FBSDKURLBlock)handler; + +/** + Call this method to fetch promotion code from the url, if it's present. + + @param url App Link url that was passed to the app. + + @return Promotion code string. + + Call this method to fetch App Invite Promotion Code from applink if present. + This can be used to fetch the promotion code that was associated with the invite when it + was created. This method should be called with the url from the openURL method. + */ ++ (nullable NSString *)appInvitePromotionCodeFromURL:(NSURL *)url; + +/** + Check whether the scheme is defined in the app's URL schemes. + @param scheme the scheme of App Link URL + @return YES if the scheme is defined, otherwise NO. + */ ++ (BOOL)isMatchURLScheme:(NSString *)scheme; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppURLSchemeProviding.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppURLSchemeProviding.h new file mode 100644 index 0000000..c8b39fa --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppURLSchemeProviding.h @@ -0,0 +1,34 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AppURLSchemeProviding) +@protocol FBSDKAppURLSchemeProviding + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nonatomic, readonly, copy) NSString *appURLScheme; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void)validateURLSchemes; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h new file mode 100644 index 0000000..585fb0c --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h @@ -0,0 +1,131 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + 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). + + 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. + */ +NS_SWIFT_NAME(ApplicationDelegate) +@interface FBSDKApplicationDelegate : NSObject + +#if !DEBUG +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; +#endif + +#if DEBUG +@property (nonnull, nonatomic, readonly) NSHashTable> *applicationObservers; +#endif + +/// Gets the singleton instance. +@property (class, nonatomic, readonly, strong) FBSDKApplicationDelegate *sharedInstance +NS_SWIFT_NAME(shared); + +/** + Call this method from the [UIApplicationDelegate application:continue:restorationHandler:] method + of the AppDelegate for your app. It should be invoked in order to properly process the web URL (universal link) + once the end user is redirected to your app. + + @param application The application as passed to [UIApplicationDelegate application:continue:restorationHandler:]. + @param userActivity The user activity as passed to [UIApplicationDelegate application:continue:restorationHandler:]. + + @return YES if the URL was intended for the Facebook SDK, NO if not. +*/ +- (BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity; + +/** + 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:(nullable NSString *)sourceApplication + annotation:(nullable id)annotation; + +/** + Call this method from the [UIApplicationDelegate application:openURL:options:] 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:options:]. + + @param url The URL as passed to [UIApplicationDelegate application:openURL:options:]. + + @param options The options dictionary as passed to [UIApplicationDelegate application:openURL:options:]. + + @return YES if the URL was intended for the Facebook SDK, NO if not. + */ +- (BOOL)application:(UIApplication *)application + openURL:(NSURL *)url + options:(NSDictionary *)options; + +/** + 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. + As part of SDK initialization basic auto logging of app events will occur, this can be + controlled via 'FacebookAutoLogAppEventsEnabled' key in the project info plist file. + + @param application The application as passed to [UIApplicationDelegate application:didFinishLaunchingWithOptions:]. + + @param launchOptions The launchOptions as passed to [UIApplicationDelegate application:didFinishLaunchingWithOptions:]. + + @return True if there are any added application observers that themselves return true from calling `application:didFinishLaunchingWithOptions:`. + Otherwise will return false. Note: If this method is called after calling `initializeSDK` then the return type will always be false. + */ +- (BOOL) application:(UIApplication *)application + didFinishLaunchingWithOptions:(nullable NSDictionary *)launchOptions; + +/** + Initializes the SDK. + + If you are using the SDK within the context of the UIApplication lifecycle, do not use this method. + Instead use `application: didFinishLaunchingWithOptions:`. + + As part of SDK initialization basic auto logging of app events will occur, this can be + controlled via 'FacebookAutoLogAppEventsEnabled' key in the project info plist file. + */ +- (void)initializeSDK; + +/** + Adds an observer that will be informed about application lifecycle events. + + @note Observers are weakly held + */ +- (void)addObserver:(id)observer; + +/** + Removes an observer so that it will no longer be informed about application lifecycle events. + + @note Observers are weakly held + */ +- (void)removeObserver:(id)observer; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKApplicationObserving.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKApplicationObserving.h new file mode 100644 index 0000000..14de894 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKApplicationObserving.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/* + Describes any types that optionally responds to various lifecycle events + received by the system and propagated by `ApplicationDelegate`. + */ +@protocol FBSDKApplicationObserving + +@optional +- (void)applicationDidBecomeActive:(nullable UIApplication *)application; +- (void)applicationWillResignActive:(nullable UIApplication *)application; +- (void)applicationDidEnterBackground:(nullable UIApplication *)application; +- (BOOL) application:(UIApplication *)application + didFinishLaunchingWithOptions:(nullable NSDictionary *)launchOptions; + +- (BOOL)application:(UIApplication *)application + openURL:(NSURL *)url + sourceApplication:(nullable NSString *)sourceApplication + annotation:(nullable id)annotation; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationToken.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationToken.h new file mode 100644 index 0000000..90648c9 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationToken.h @@ -0,0 +1,53 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +@class FBSDKAuthenticationTokenClaims; +@protocol FBSDKTokenCaching; + +NS_ASSUME_NONNULL_BEGIN + +/// Represent an AuthenticationToken used for a login attempt +NS_SWIFT_NAME(AuthenticationToken) +@interface FBSDKAuthenticationToken : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + The "global" authentication token that represents the currently logged in user. + + The `currentAuthenticationToken` represents the authentication token of the + current user and can be used by a client to verify an authentication attempt. + */ +@property (class, nullable, nonatomic, copy) FBSDKAuthenticationToken *currentAuthenticationToken; + +/// The raw token string from the authentication response +@property (nonatomic, readonly, copy) NSString *tokenString; + +/// The nonce from the decoded authentication response +@property (nonatomic, readonly, copy) NSString *nonce; + +/// The graph domain where the user is authenticated. +@property (nonatomic, readonly, copy) NSString *graphDomain; + +/// Returns the claims encoded in the AuthenticationToken +- (nullable FBSDKAuthenticationTokenClaims *)claims; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (class, nullable, nonatomic, copy) id tokenCache; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenClaims.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenClaims.h new file mode 100644 index 0000000..874fe07 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenClaims.h @@ -0,0 +1,89 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AuthenticationTokenClaims) +@interface FBSDKAuthenticationTokenClaims : NSObject + +/// A unique identifier for the token. +@property (nonatomic, readonly, strong) NSString *jti; + +/// Issuer Identifier for the Issuer of the response. +@property (nonatomic, readonly, strong) NSString *iss; + +/// Audience(s) that this ID Token is intended for. +@property (nonatomic, readonly, strong) NSString *aud; + +/// String value used to associate a Client session with an ID Token, and to mitigate replay attacks. +@property (nonatomic, readonly, strong) NSString *nonce; + +/// Expiration time on or after which the ID Token MUST NOT be accepted for processing. +@property (nonatomic, readonly, assign) NSTimeInterval exp; + +/// Time at which the JWT was issued. +@property (nonatomic, readonly, assign) NSTimeInterval iat; + +/// Subject - Identifier for the End-User at the Issuer. +@property (nonatomic, readonly, strong) NSString *sub; + +/// End-User's full name in displayable form including all name parts. +@property (nullable, nonatomic, readonly, strong) NSString *name; + +/// End-User's given name in displayable form +@property (nullable, nonatomic, readonly, strong) NSString *givenName; + +/// End-User's middle name in displayable form +@property (nullable, nonatomic, readonly, strong) NSString *middleName; + +/// End-User's family name in displayable form +@property (nullable, nonatomic, readonly, strong) NSString *familyName; + +/** + End-User's preferred e-mail address. + + IMPORTANT: This field will only be populated if your user has granted your application the 'email' permission. + */ +@property (nullable, nonatomic, readonly, strong) NSString *email; + +/// URL of the End-User's profile picture. +@property (nullable, nonatomic, readonly, strong) NSString *picture; + +/** + End-User's friends. + + IMPORTANT: This field will only be populated if your user has granted your application the 'user_friends' permission. + */ +@property (nullable, nonatomic, readonly, strong) NSArray *userFriends; + +/// End-User's birthday +@property (nullable, nonatomic, readonly, strong) NSString *userBirthday; + +/// End-User's age range +@property (nullable, nonatomic, readonly, strong) NSDictionary *userAgeRange; + +/// End-User's hometown +@property (nullable, nonatomic, readonly, strong) NSDictionary *userHometown; + +/// End-User's location +@property (nullable, nonatomic, readonly, strong) NSDictionary *userLocation; + +/// End-User's gender +@property (nullable, nonatomic, readonly, strong) NSString *userGender; + +/// End-User's link +@property (nullable, nonatomic, readonly, strong) NSString *userLink; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenProtocols.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenProtocols.h new file mode 100644 index 0000000..4f64230 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenProtocols.h @@ -0,0 +1,31 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AuthenticationTokenProviding) +@protocol FBSDKAuthenticationTokenProviding + +@property (class, nullable, nonatomic, readonly, copy) FBSDKAuthenticationToken *currentAuthenticationToken; +@property (class, nullable, nonatomic, copy) id tokenCache; + +@end + +NS_SWIFT_NAME(AuthenticationTokenSetting) +@protocol FBSDKAuthenticationTokenSetting + +@property (class, nullable, nonatomic, copy) FBSDKAuthenticationToken *currentAuthenticationToken; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPI.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPI.h new file mode 100644 index 0000000..75036b6 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPI.h @@ -0,0 +1,54 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + + #import + #import + #import + #import + #import + #import + #import + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +typedef void (^FBSDKAuthenticationCompletionHandler)(NSURL *_Nullable callbackURL, NSError *_Nullable error); + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(BridgeAPI) +@interface FBSDKBridgeAPI : NSObject + +@property (class, nonatomic, readonly, strong) FBSDKBridgeAPI *sharedInstance +NS_SWIFT_NAME(shared); +@property (nonatomic, readonly, getter = isActive) BOOL active; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIProtocol.h new file mode 100644 index 0000000..d394ff3 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIProtocol.h @@ -0,0 +1,44 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +FOUNDATION_EXPORT NSString *const FBSDKBridgeAPIAppIDKey; +FOUNDATION_EXPORT NSString *const FBSDKBridgeAPISchemeSuffixKey; +FOUNDATION_EXPORT NSString *const FBSDKBridgeAPIVersionKey; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(BridgeAPIProtocol) +@protocol FBSDKBridgeAPIProtocol + +- (nullable NSURL *)requestURLWithActionID:(NSString *)actionID + scheme:(NSString *)scheme + methodName:(NSString *)methodName + parameters:(NSDictionary *)parameters + error:(NSError *_Nullable *)errorRef; +- (nullable NSDictionary *)responseParametersForActionID:(NSString *)actionID + queryParameters:(NSDictionary *)queryParameters + cancelled:(nullable BOOL *)cancelledRef + error:(NSError *_Nullable *)errorRef; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIProtocolType.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIProtocolType.h new file mode 100644 index 0000000..7f86623 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIProtocolType.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +typedef NS_ENUM(NSUInteger, FBSDKBridgeAPIProtocolType) { + FBSDKBridgeAPIProtocolTypeNative, + FBSDKBridgeAPIProtocolTypeWeb, +}; + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequest.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequest.h new file mode 100644 index 0000000..b55f870 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequest.h @@ -0,0 +1,50 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +#import +#import +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(BridgeAPIRequest) +@interface FBSDKBridgeAPIRequest : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; ++ (nullable instancetype)bridgeAPIRequestWithProtocolType:(FBSDKBridgeAPIProtocolType)protocolType + scheme:(FBSDKURLScheme)scheme + methodName:(nullable NSString *)methodName + parameters:(nullable NSDictionary *)parameters + userInfo:(nullable NSDictionary *)userInfo; + +@property (nonatomic, readonly, copy) NSString *actionID; +@property (nullable, nonatomic, readonly, copy) NSString *methodName; +@property (nullable, nonatomic, readonly, copy) NSDictionary *parameters; +@property (nonatomic, readonly, assign) FBSDKBridgeAPIProtocolType protocolType; +@property (nonatomic, readonly, copy) FBSDKURLScheme scheme; +@property (nullable, nonatomic, readonly, copy) NSDictionary *userInfo; + +- (nullable NSURL *)requestURL:(NSError *_Nullable *)errorRef; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestCreating.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestCreating.h new file mode 100644 index 0000000..5c76020 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestCreating.h @@ -0,0 +1,38 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +#import + +@protocol FBSDKBridgeAPIRequest; + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(BridgeAPIRequestCreating) +@protocol FBSDKBridgeAPIRequestCreating + +- (nullable id)bridgeAPIRequestWithProtocolType:(FBSDKBridgeAPIProtocolType)protocolType + scheme:(NSString *)scheme + methodName:(nullable NSString *)methodName + parameters:(nullable NSDictionary *)parameters + userInfo:(nullable NSDictionary *)userInfo; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestOpening.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestOpening.h new file mode 100644 index 0000000..11039fb --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestOpening.h @@ -0,0 +1,51 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import +#import + +#import +#import + +@protocol FBSDKBridgeAPIRequest; +@protocol FBSDKURLOpening; + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(BridgeAPIRequestOpening) +@protocol FBSDKBridgeAPIRequestOpening + +- (void)openBridgeAPIRequest:(NSObject *)request + useSafariViewController:(BOOL)useSafariViewController + fromViewController:(nullable UIViewController *)fromViewController + completionBlock:(FBSDKBridgeAPIResponseBlock)completionBlock; + +// UNCRUSTIFY_FORMAT_OFF +- (void)openURLWithSafariViewController:(NSURL *)url + sender:(nullable id)sender + fromViewController:(nullable UIViewController *)fromViewController + handler:(FBSDKSuccessBlock)handler +NS_SWIFT_NAME(openURLWithSafariViewController(url:sender:from:handler:)); +// UNCRUSTIFY_FORMAT_ON + +- (void)openURL:(NSURL *)url + sender:(nullable id)sender + handler:(FBSDKSuccessBlock)handler; +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestProtocol.h new file mode 100644 index 0000000..4cdbd85 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestProtocol.h @@ -0,0 +1,40 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +#import + +@protocol FBSDKBridgeAPIProtocol; + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(BridgeAPIRequestProtocol) +@protocol FBSDKBridgeAPIRequest + +@property (nonatomic, readonly, copy) NSString *scheme; +@property (nonatomic, readonly, copy) NSString *actionID; +@property (nullable, nonatomic, readonly, copy) NSString *methodName; +@property (nonatomic, readonly, assign) FBSDKBridgeAPIProtocolType protocolType; +@property (nullable, nonatomic, readonly, strong) id protocol; + +- (nullable NSURL *)requestURL:(NSError *_Nullable *)errorRef; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIResponse.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIResponse.h new file mode 100644 index 0000000..1ccb94b --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIResponse.h @@ -0,0 +1,56 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +@protocol FBSDKBridgeAPIRequest; +@class FBSDKBridgeAPIResponse; + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +typedef void (^ FBSDKBridgeAPIResponseBlock)(FBSDKBridgeAPIResponse *response) +NS_SWIFT_NAME(BridgeAPIResponseBlock); + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(BridgeAPIResponse) +@interface FBSDKBridgeAPIResponse : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + ++ (instancetype)bridgeAPIResponseWithRequest:(NSObject *)request + error:(nullable NSError *)error; ++ (nullable instancetype)bridgeAPIResponseWithRequest:(NSObject *)request + responseURL:(NSURL *)responseURL + sourceApplication:(nullable NSString *)sourceApplication + error:(NSError *__autoreleasing *)errorRef; ++ (instancetype)bridgeAPIResponseCancelledWithRequest:(NSObject *)request; + +@property (nonatomic, readonly, getter = isCancelled, assign) BOOL cancelled; +@property (nullable, nonatomic, readonly, copy) NSError *error; +@property (nonatomic, readonly, copy) NSObject *request; +@property (nullable, nonatomic, readonly, copy) NSDictionary *responseParameters; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKButton.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKButton.h new file mode 100644 index 0000000..beae11a --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKButton.h @@ -0,0 +1,80 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import +#import + +@class FBSDKIcon; + +NS_ASSUME_NONNULL_BEGIN + +/// A base class for common SDK buttons. +NS_SWIFT_NAME(FBButton) +@interface FBSDKButton : FBSDKImpressionLoggingButton + +@property (nonatomic, readonly, getter = isImplicitlyDisabled) BOOL implicitlyDisabled; + +- (void)checkImplicitlyDisabled; +- (void)configureWithIcon:(nullable FBSDKIcon *)icon + title:(nullable NSString *)title + backgroundColor:(nullable UIColor *)backgroundColor + highlightedColor:(nullable UIColor *)highlightedColor; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void) configureWithIcon:(nullable FBSDKIcon *)icon + title:(nullable NSString *)title + backgroundColor:(nullable UIColor *)backgroundColor + highlightedColor:(nullable UIColor *)highlightedColor + selectedTitle:(nullable NSString *)selectedTitle + selectedIcon:(nullable FBSDKIcon *)selectedIcon + selectedColor:(nullable UIColor *)selectedColor + selectedHighlightedColor:(nullable UIColor *)selectedHighlightedColor; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (UIColor *)defaultBackgroundColor; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (CGSize)sizeThatFits:(CGSize)size title:(NSString *)title; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (CGSize)textSizeForText:(NSString *)text font:(UIFont *)font constrainedSize:(CGSize)constrainedSize lineBreakMode:(NSLineBreakMode)lineBreakMode; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void)logTapEventWithEventName:(FBSDKAppEventName)eventName + parameters:(nullable NSDictionary *)parameters; +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKButtonImpressionLogging.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKButtonImpressionLogging.h new file mode 100644 index 0000000..806edb4 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKButtonImpressionLogging.h @@ -0,0 +1,31 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(FBButtonImpressionLogging) +@protocol FBSDKButtonImpressionLogging + +@property (nullable, nonatomic, readonly, copy) NSDictionary *analyticsParameters; +@property (nonatomic, readonly, copy) FBSDKAppEventName impressionTrackingEventName; +@property (nonatomic, readonly, copy) NSString *impressionTrackingIdentifier; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKConstants.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKConstants.h new file mode 100644 index 0000000..d746dca --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKConstants.h @@ -0,0 +1,206 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + The error domain for all errors from FBSDKCoreKit. + + Error codes from the SDK in the range 0-99 are reserved for this domain. + */ +FOUNDATION_EXPORT NSErrorDomain const FBSDKErrorDomain +NS_SWIFT_NAME(ErrorDomain); + +/* + @methodgroup error userInfo keys + */ + +/** + The userInfo key for the invalid collection for errors with FBSDKErrorInvalidArgument. + + If the invalid argument is a collection, the collection can be found with this key and the individual + invalid item can be found with FBSDKErrorArgumentValueKey. + */ +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorArgumentCollectionKey +NS_SWIFT_NAME(ErrorArgumentCollectionKey); + +/// The userInfo key for the invalid argument name for errors with FBSDKErrorInvalidArgument. +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorArgumentNameKey +NS_SWIFT_NAME(ErrorArgumentNameKey); + +/// The userInfo key for the invalid argument value for errors with FBSDKErrorInvalidArgument. +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorArgumentValueKey +NS_SWIFT_NAME(ErrorArgumentValueKey); + +/** + The userInfo key for the message for developers in NSErrors that originate from the SDK. + + The developer message will not be localized and is not intended to be presented within the app. + */ +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorDeveloperMessageKey +NS_SWIFT_NAME(ErrorDeveloperMessageKey); + +/// The userInfo key describing a localized description that can be presented to the user. +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorLocalizedDescriptionKey +NS_SWIFT_NAME(ErrorLocalizedDescriptionKey); + +/// The userInfo key describing a localized title that can be presented to the user, used with `FBSDKLocalizedErrorDescriptionKey`. +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorLocalizedTitleKey +NS_SWIFT_NAME(ErrorLocalizedTitleKey); + +/* + @methodgroup FBSDKGraphRequest error userInfo keys + */ + +/** + The userInfo key describing the error category, for error recovery purposes. + + See `FBSDKGraphErrorRecoveryProcessor` and `[FBSDKGraphRequest disableErrorRecovery]`. + */ +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorKey +NS_SWIFT_NAME(GraphRequestErrorKey); + +/* + The userInfo key for the Graph API error code. + */ +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorGraphErrorCodeKey +NS_SWIFT_NAME(GraphRequestErrorGraphErrorCodeKey); + +/* + The userInfo key for the Graph API error subcode. + */ +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorGraphErrorSubcodeKey +NS_SWIFT_NAME(GraphRequestErrorGraphErrorSubcodeKey); + +/* + The userInfo key for the HTTP status code. + */ +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorHTTPStatusCodeKey +NS_SWIFT_NAME(GraphRequestErrorHTTPStatusCodeKey); + +/* + The userInfo key for the raw JSON response. + */ +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorParsedJSONResponseKey +NS_SWIFT_NAME(GraphRequestErrorParsedJSONResponseKey); + +/* + @methodgroup Common Code Block typedefs + */ + +/// Success Block +typedef void (^ FBSDKCodeBlock)(void) +NS_SWIFT_NAME(CodeBlock); + +/// Error Block +typedef void (^ FBSDKErrorBlock)(NSError *_Nullable error) +NS_SWIFT_NAME(ErrorBlock); + +/// Success Block +typedef void (^ FBSDKSuccessBlock)(BOOL success, NSError *_Nullable error) +NS_SWIFT_NAME(SuccessBlock); + +/* + @methodgroup Enums + */ + +#ifndef NS_ERROR_ENUM + #define NS_ERROR_ENUM(_domain, _name) \ + enum _name : NSInteger _name; \ + enum __attribute__((ns_error_domain(_domain))) _name: NSInteger +#endif + +/** + FBSDKCoreError + Error codes for FBSDKErrorDomain. + */ +typedef NS_ERROR_ENUM (FBSDKErrorDomain, FBSDKCoreError) +{ + /// Reserved. + FBSDKErrorReserved = 0, + + /// The error code for errors from invalid encryption on incoming encryption URLs. + FBSDKErrorEncryption, + + /// The error code for errors from invalid arguments to SDK methods. + FBSDKErrorInvalidArgument, + + /// The error code for unknown errors. + FBSDKErrorUnknown, + + /** + A request failed due to a network error. Use NSUnderlyingErrorKey to retrieve + the error object from the NSURLSession for more information. + */ + FBSDKErrorNetwork, + + /// The error code for errors encountered during an App Events flush. + FBSDKErrorAppEventsFlush, + + /** + An endpoint that returns a binary response was used with FBSDKGraphRequestConnection. + + Endpoints that return image/jpg, etc. should be accessed using NSURLRequest + */ + FBSDKErrorGraphRequestNonTextMimeTypeReturned, + + /** + The operation failed because the server returned an unexpected response. + + You can get this error if you are not using the most recent SDK, or you are accessing a version of the + Graph API incompatible with the current SDK. + */ + FBSDKErrorGraphRequestProtocolMismatch, + + /** + The Graph API returned an error. + + See below for useful userInfo keys (beginning with FBSDKGraphRequestError*) + */ + FBSDKErrorGraphRequestGraphAPI, + + /** + The specified dialog configuration is not available. + + This error may signify that the configuration for the dialogs has not yet been downloaded from the server + or that the dialog is unavailable. Subsequent attempts to use the dialog may succeed as the configuration is loaded. + */ + FBSDKErrorDialogUnavailable, + + /// Indicates an operation failed because a required access token was not found. + FBSDKErrorAccessTokenRequired, + + /// Indicates an app switch (typically for a dialog) failed because the destination app is out of date. + FBSDKErrorAppVersionUnsupported, + + /// Indicates an app switch to the browser (typically for a dialog) failed. + FBSDKErrorBrowserUnavailable, + + /// Indicates that a bridge api interaction was interrupted. + FBSDKErrorBridgeAPIInterruption, + + /// Indicates that a bridge api response creation failed. + FBSDKErrorBridgeAPIResponse, +} NS_SWIFT_NAME(CoreError); + +/** + FBSDKGraphRequestError + Describes the category of Facebook error. See `FBSDKGraphRequestErrorKey`. + */ +typedef NS_ENUM(NSUInteger, FBSDKGraphRequestError) { + /// The default error category that is not known to be recoverable. Check `FBSDKLocalizedErrorDescriptionKey` for a user facing message. + FBSDKGraphRequestErrorOther = 0, + /// Indicates the error is temporary (such as server throttling). While a recoveryAttempter will be provided with the error instance, the attempt is guaranteed to succeed so you can simply retry the operation if you do not want to present an alert. + FBSDKGraphRequestErrorTransient = 1, + /// Indicates the error can be recovered (such as requiring a login). A recoveryAttempter will be provided with the error instance that can take UI action. + FBSDKGraphRequestErrorRecoverable = 2, +} NS_SWIFT_NAME(GraphRequestError); + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-Swift.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-Swift.h new file mode 100644 index 0000000..095752d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-Swift.h @@ -0,0 +1,500 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +#ifndef FBSDKCOREKIT_SWIFT_H +#define FBSDKCOREKIT_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import Foundation; +@import ObjectiveC; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKCoreKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + +@protocol FBSDKGraphRequestFactory; +@protocol FBSDKSettings; +@class NSString; + +SWIFT_PROTOCOL_NAMED("CAPIReporter") +@protocol FBSDKCAPIReporter +- (void)enable; +- (void)configureWithFactory:(id _Nonnull)factory settings:(id _Nonnull)settings; +- (void)recordEvent:(NSDictionary * _Nonnull)parameters; +@end + + +SWIFT_CLASS("_TtC12FBSDKCoreKit25FBSDKAppEventsCAPIManager") +@interface FBSDKAppEventsCAPIManager : NSObject +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FBSDKAppEventsCAPIManager * _Nonnull shared;) ++ (FBSDKAppEventsCAPIManager * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +- (void)configureWithFactory:(id _Nonnull)factory settings:(id _Nonnull)settings; +- (void)enable; +- (void)recordEvent:(NSDictionary * _Nonnull)parameters; +@end + + +SWIFT_CLASS("_TtC12FBSDKCoreKit35FBSDKTransformerGraphRequestFactory") +@interface FBSDKTransformerGraphRequestFactory : NSObject +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FBSDKTransformerGraphRequestFactory * _Nonnull shared;) ++ (FBSDKTransformerGraphRequestFactory * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +- (void)configureWithDatasetID:(NSString * _Nonnull)datasetID url:(NSString * _Nonnull)url accessKey:(NSString * _Nonnull)accessKey; +- (void)callCapiGatewayAPIWith:(NSDictionary * _Nonnull)parameters; +@end + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +#ifndef FBSDKCOREKIT_SWIFT_H +#define FBSDKCOREKIT_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import Foundation; +@import ObjectiveC; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKCoreKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + +@protocol FBSDKGraphRequestFactory; +@protocol FBSDKSettings; +@class NSString; + +SWIFT_PROTOCOL_NAMED("CAPIReporter") +@protocol FBSDKCAPIReporter +- (void)enable; +- (void)configureWithFactory:(id _Nonnull)factory settings:(id _Nonnull)settings; +- (void)recordEvent:(NSDictionary * _Nonnull)parameters; +@end + + +SWIFT_CLASS("_TtC12FBSDKCoreKit25FBSDKAppEventsCAPIManager") +@interface FBSDKAppEventsCAPIManager : NSObject +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FBSDKAppEventsCAPIManager * _Nonnull shared;) ++ (FBSDKAppEventsCAPIManager * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +- (void)configureWithFactory:(id _Nonnull)factory settings:(id _Nonnull)settings; +- (void)enable; +- (void)recordEvent:(NSDictionary * _Nonnull)parameters; +@end + + +SWIFT_CLASS("_TtC12FBSDKCoreKit35FBSDKTransformerGraphRequestFactory") +@interface FBSDKTransformerGraphRequestFactory : NSObject +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FBSDKTransformerGraphRequestFactory * _Nonnull shared;) ++ (FBSDKTransformerGraphRequestFactory * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +- (void)configureWithDatasetID:(NSString * _Nonnull)datasetID url:(NSString * _Nonnull)url accessKey:(NSString * _Nonnull)accessKey; +- (void)callCapiGatewayAPIWith:(NSDictionary * _Nonnull)parameters; +@end + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h new file mode 100644 index 0000000..8a4569c --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h @@ -0,0 +1,112 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import + +#import + +#if !TARGET_OS_TV + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKCoreKitVersions.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKCoreKitVersions.h new file mode 100644 index 0000000..14be1be --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKCoreKitVersions.h @@ -0,0 +1,10 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#define FBSDK_VERSION_STRING @"13.2.0" +#define FBSDK_DEFAULT_GRAPH_API_VERSION @"v13.0" diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKDeviceButton.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKDeviceButton.h new file mode 100644 index 0000000..73ac851 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKDeviceButton.h @@ -0,0 +1,28 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +/* + An internal base class for device related flows. + + This is an internal API that should not be used directly and is subject to change. + */ +NS_SWIFT_NAME(FBDeviceButton) +@interface FBSDKDeviceButton : FBSDKButton +- (CGSize)sizeThatFits:(CGSize)size attributedTitle:(NSAttributedString *)title; +- (nullable NSAttributedString *)attributedTitleStringFromString:(NSString *)string; +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKDeviceDialogView.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKDeviceDialogView.h new file mode 100644 index 0000000..b98e122 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKDeviceDialogView.h @@ -0,0 +1,45 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(DeviceDialogViewDelegate) +@protocol FBSDKDeviceDialogViewDelegate; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ + +NS_SWIFT_NAME(FBDeviceDialogView) +@interface FBSDKDeviceDialogView : UIView + +@property (nonatomic, weak) id delegate; +@property (nonatomic, copy) NSString *confirmationCode; + +// override point for subclasses. +- (void)buildView; + +@end + +NS_SWIFT_NAME(DeviceDialogViewDelegate) +@protocol FBSDKDeviceDialogViewDelegate + +- (void)deviceDialogViewDidCancel:(FBSDKDeviceDialogView *)deviceDialogView; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKDeviceViewControllerBase.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKDeviceViewControllerBase.h new file mode 100644 index 0000000..b4e309a --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKDeviceViewControllerBase.h @@ -0,0 +1,28 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if TARGET_OS_TV + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/* + An internal base class for device related flows. + + This is an internal API that should not be used directly and is subject to change. + */ +NS_SWIFT_NAME(FBDeviceViewControllerBase) +@interface FBSDKDeviceViewControllerBase : UIViewController +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKDynamicFrameworkLoaderProxy.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKDynamicFrameworkLoaderProxy.h new file mode 100644 index 0000000..a46a303 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKDynamicFrameworkLoaderProxy.h @@ -0,0 +1,29 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(DynamicFrameworkLoaderProxy) +@interface FBSDKDynamicFrameworkLoaderProxy : NSObject +/** + Load the kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly value from the Security Framework + + @return The kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly value or nil. + */ ++ (CFTypeRef)loadkSecAttrAccessibleAfterFirstUnlockThisDeviceOnly; +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKDynamicSocialFrameworkLoader.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKDynamicSocialFrameworkLoader.h new file mode 100644 index 0000000..bad1414 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKDynamicSocialFrameworkLoader.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - Social Constants + +/// Dynamically loaded constant for SLServiceTypeFacebook +FOUNDATION_EXPORT NSString *fbsdkdfl_SLServiceTypeFacebook(void); + +#pragma mark - Social Classes + +FOUNDATION_EXPORT Class fbsdkdfl_SLComposeViewControllerClass(void); + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKErrorCreating.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKErrorCreating.h new file mode 100644 index 0000000..85c9e19 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKErrorCreating.h @@ -0,0 +1,81 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(ErrorCreating) +@protocol FBSDKErrorCreating + +// MARK: - General Errors + +// UNCRUSTIFY_FORMAT_OFF +- (NSError *)errorWithCode:(NSInteger)code + userInfo:(nullable NSDictionary *)userInfo + message:(nullable NSString *)message + underlyingError:(nullable NSError *)underlyingError +NS_SWIFT_NAME(error(code:userInfo:message:underlyingError:)); +// UNCRUSTIFY_FORMAT_ON + +// UNCRUSTIFY_FORMAT_OFF +- (NSError *)errorWithDomain:(NSErrorDomain)domain + code:(NSInteger)code + userInfo:(nullable NSDictionary *)userInfo + message:(nullable NSString *)message + underlyingError:(nullable NSError *)underlyingError +NS_SWIFT_NAME(error(domain:code:userInfo:message:underlyingError:)); +// UNCRUSTIFY_FORMAT_ON + +// MARK: - Invalid Argument Errors + +// UNCRUSTIFY_FORMAT_OFF +- (NSError *)invalidArgumentErrorWithName:(NSString *)name + value:(nullable id)value + message:(nullable NSString *)message + underlyingError:(nullable NSError *)underlyingError +NS_SWIFT_NAME(invalidArgumentError(name:value:message:underlyingError:)); +// UNCRUSTIFY_FORMAT_ON + +// UNCRUSTIFY_FORMAT_OFF +- (NSError *)invalidArgumentErrorWithDomain:(NSErrorDomain)domain + name:(NSString *)name + value:(nullable id)value + message:(nullable NSString *)message + underlyingError:(nullable NSError *)underlyingError +NS_SWIFT_NAME(invalidArgumentError(domain:name:value:message:underlyingError:)); +// UNCRUSTIFY_FORMAT_ON + +// MARK: - Required Argument Errors + +// UNCRUSTIFY_FORMAT_OFF +- (NSError *)requiredArgumentErrorWithName:(NSString *)name + message:(nullable NSString *)message + underlyingError:(nullable NSError *)underlyingError +NS_SWIFT_NAME(requiredArgumentError(name:message:underlyingError:)); +// UNCRUSTIFY_FORMAT_ON + +// UNCRUSTIFY_FORMAT_OFF +- (NSError *)requiredArgumentErrorWithDomain:(NSErrorDomain)domain + name:(NSString *)name + message:(nullable NSString *)message + underlyingError:(nullable NSError *)underlyingError + NS_SWIFT_NAME(requiredArgumentError(domain:name:message:underlyingError:)); +// UNCRUSTIFY_FORMAT_ON + +// MARK: - Unknown Errors + +// UNCRUSTIFY_FORMAT_OFF +- (NSError *)unknownErrorWithMessage:(nullable NSString *)message + userInfo:(nullable NSDictionary *)userInfo +NS_SWIFT_NAME(unknownError(message:userInfo:)); +// UNCRUSTIFY_FORMAT_ON + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKErrorFactory.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKErrorFactory.h new file mode 100644 index 0000000..217c00b --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKErrorFactory.h @@ -0,0 +1,18 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(ErrorFactory) +@interface FBSDKErrorFactory : NSObject + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKErrorRecoveryAttempting.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKErrorRecoveryAttempting.h new file mode 100644 index 0000000..b005f8e --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKErrorRecoveryAttempting.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + A formal protocol very similar to the informal protocol NSErrorRecoveryAttempting + Internal use only + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(ErrorRecoveryAttempting) +@protocol FBSDKErrorRecoveryAttempting + +/** + Attempt the recovery + @param error the error + @param completionHandler the handler called upon completion of error recovery + + Attempt recovery from the error, and call the completion handler. The value passed for didRecover must be YES if error recovery was completely successful, NO otherwise. + */ +- (void)attemptRecoveryFromError:(NSError *)error + completionHandler:(void (^)(BOOL didRecover))completionHandler; +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKFeature.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKFeature.h new file mode 100644 index 0000000..09a72fa --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKFeature.h @@ -0,0 +1,84 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + FBSDKFeature enum + Defines features in SDK + + Sample: + FBSDKFeatureAppEvents = 0x00010000, + ^ ^ ^ ^ + | | | | + kit | | | + feature | | + sub-feature | + sub-sub-feature + 1st byte: kit + 2nd byte: feature + 3rd byte: sub-feature + 4th byte: sub-sub-feature + + @warning INTERNAL - DO NOT USE + */ +typedef NS_ENUM(NSUInteger, FBSDKFeature) { + FBSDKFeatureNone = 0x00000000, + // Features in CoreKit + /// Essential of CoreKit + FBSDKFeatureCore = 0x01000000, + /// App Events + FBSDKFeatureAppEvents = 0x01010000, + FBSDKFeatureCodelessEvents = 0x01010100, + FBSDKFeatureRestrictiveDataFiltering = 0x01010200, + FBSDKFeatureAAM = 0x01010300, + FBSDKFeaturePrivacyProtection = 0x01010400, + FBSDKFeatureSuggestedEvents = 0x01010401, + FBSDKFeatureIntelligentIntegrity = 0x01010402, + FBSDKFeatureModelRequest = 0x01010403, + FBSDKFeatureEventDeactivation = 0x01010500, + FBSDKFeatureSKAdNetwork = 0x01010600, + FBSDKFeatureSKAdNetworkConversionValue = 0x01010601, + FBSDKFeatureATELogging = 0x01010700, + FBSDKFeatureAEM = 0x01010800, + FBSDKFeatureAEMConversionFiltering = 0x01010801, + FBSDKFeatureAEMCatalogMatching = 0x01010802, + FBSDKFeatureAppEventsCloudbridge = 0x01010900, + /// Instrument + FBSDKFeatureInstrument = 0x01020000, + FBSDKFeatureCrashReport = 0x01020100, + FBSDKFeatureCrashShield = 0x01020101, + FBSDKFeatureErrorReport = 0x01020200, + + // Features in LoginKit + /// Essential of LoginKit + FBSDKFeatureLogin = 0x02000000, + + // Features in ShareKit + /// Essential of ShareKit + FBSDKFeatureShare = 0x03000000, + + // Features in GamingServicesKit + /// Essential of GamingServicesKit + FBSDKFeatureGamingServices = 0x04000000, +} NS_SWIFT_NAME(SDKFeature); + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +typedef void (^FBSDKFeatureManagerBlock)(BOOL enabled); + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKFeatureChecking.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKFeatureChecking.h new file mode 100644 index 0000000..bdb5d53 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKFeatureChecking.h @@ -0,0 +1,29 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(FeatureChecking) +@protocol FBSDKFeatureChecking + +- (BOOL)isEnabled:(FBSDKFeature)feature; + +- (void)checkFeature:(FBSDKFeature)feature + completionBlock:(FBSDKFeatureManagerBlock)completionBlock; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h new file mode 100644 index 0000000..1fee9dd --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h @@ -0,0 +1,97 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +@class FBSDKGraphErrorRecoveryProcessor; +@protocol FBSDKGraphRequest; + +/// Defines a delegate for `FBSDKGraphErrorRecoveryProcessor`. +NS_SWIFT_NAME(GraphErrorRecoveryProcessorDelegate) +@protocol FBSDKGraphErrorRecoveryProcessorDelegate + +/** + 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:(nullable NSError *)error; + +@optional +/** + Indicates the processor is about to process the error. + @param processor the processor instance. + @param error the error is about to be processed. + + return NO if the processor should not process the error. For example, + if you want to prevent alerts of localized messages but otherwise perform retries and recoveries, + you could return NO for errors where userInfo[FBSDKGraphRequestErrorKey] equal to FBSDKGraphRequestErrorOther + */ +- (BOOL)processorWillProcessError:(FBSDKGraphErrorRecoveryProcessor *)processor + error:(nullable NSError *)error; + +@end + +NS_ASSUME_NONNULL_END + +NS_ASSUME_NONNULL_BEGIN + +/** + Defines a type that can process Facebook NSErrors with best practices. + + 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 FBSDKGraphRequestErrorKey, assume the recovery succeeded and + notify the delegate. + 2. If a FBSDKErrorRecoveryAttempting instance is available, display an alert (dispatched to main thread) + with the recovery options and call the instance's attemptRecoveryFromError method. + 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 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. + . + */ +NS_SWIFT_NAME(GraphErrorRecoveryProcessor) +@interface FBSDKGraphErrorRecoveryProcessor : NSObject + +/// Initializes a GraphErrorRecoveryProcessor with an access token string. +- (instancetype)initWithAccessTokenString:(NSString *)accessTokenString; + +/** + Attempts to process the error, return YES if the error can be processed. + @param error the error to process. + @param request the related request that may be reissued. + @param delegate the delegate that will be retained until recovery is complete. + */ +- (BOOL)processError:(NSError *)error + request:(id)request + delegate:(nullable id)delegate; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h new file mode 100644 index 0000000..bd14952 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h @@ -0,0 +1,167 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import +#import +#import +#import +#import + +NS_ASSUME_NONNULL_BEGIN +/** + Represents a request to the Facebook Graph API. + + `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 + */ +NS_SWIFT_NAME(GraphRequest) +@interface FBSDKGraphRequest : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +// UNCRUSTIFY_FORMAT_OFF ++ (void) configureWithSettings:(id)settings + currentAccessTokenStringProvider:(Class)accessTokenProvider + graphRequestConnectionFactory:(id)_graphRequestConnectionFactory +NS_SWIFT_NAME(configure(settings:currentAccessTokenStringProvider:graphRequestConnectionFactory:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Initializes a new instance that use use `[FBSDKAccessToken currentAccessToken]`. + @param graphPath the graph path (e.g., @"me"). + */ +- (instancetype)initWithGraphPath:(NSString *)graphPath; + +/** + Initializes a new instance that use use `[FBSDKAccessToken currentAccessToken]`. + @param graphPath the graph path (e.g., @"me"). + @param method the HTTP method. Empty String defaults to @"GET". + */ +- (instancetype)initWithGraphPath:(NSString *)graphPath + HTTPMethod:(FBSDKHTTPMethod)method; + +/** + 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; + +/** + Initializes a new instance that use use `[FBSDKAccessToken currentAccessToken]`. + @param graphPath the graph path (e.g., @"me"). + @param parameters the optional parameters dictionary. + @param method the HTTP method. Empty String defaults to @"GET". + */ +- (instancetype)initWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + HTTPMethod:(FBSDKHTTPMethod)method; + +/** + 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 `[FBSDKSettings graphAPIVersion]`. + @param method the HTTP method. Empty String defaults to @"GET". + */ +- (instancetype)initWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + tokenString:(nullable NSString *)tokenString + version:(nullable NSString *)version + HTTPMethod:(FBSDKHTTPMethod)method + NS_DESIGNATED_INITIALIZER; + +/** + Initializes a new instance. + @param graphPath the graph path (e.g., @"me"). + @param parameters the optional parameters dictionary. + @param requestFlags flags that indicate how a graph request should be treated in various scenarios + */ +- (instancetype)initWithGraphPath:(NSString *)graphPath + parameters:(nullable NSDictionary *)parameters + flags:(FBSDKGraphRequestFlags)requestFlags; + +/** + 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 HTTPMethod the HTTP method. Empty String defaults to @"GET". + @param flags flags that indicate how a graph request should be treated in various scenarios + */ +- (instancetype)initWithGraphPath:(NSString *)graphPath + parameters:(nullable NSDictionary *)parameters + tokenString:(nullable NSString *)tokenString + HTTPMethod:(nullable NSString *)HTTPMethod + flags:(FBSDKGraphRequestFlags)flags; + +/// The request parameters. +@property (nonatomic, copy) NSDictionary *parameters; + +/// The access token string used by the request. +@property (nullable, nonatomic, readonly, copy) NSString *tokenString; + +/// The Graph API endpoint to use for the request, for example "me". +@property (nonatomic, readonly, copy) NSString *graphPath; + +/// The HTTPMethod to use for the request, for example "GET" or "POST". +@property (nonatomic, readonly, copy) FBSDKHTTPMethod HTTPMethod; + +/// The Graph API version to use (e.g., "v2.0") +@property (nonatomic, readonly, copy) NSString *version; + +/** + If set, disables the automatic error recovery mechanism. + @param disable whether to disable the automatic error recovery mechanism + + By default, non-batched FBSDKGraphRequest instances will automatically try to recover + from errors by constructing a `FBSDKGraphErrorRecoveryProcessor` instance that + 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:]. + */ + +// UNCRUSTIFY_FORMAT_OFF +- (void)setGraphErrorRecoveryDisabled:(BOOL)disable +NS_SWIFT_NAME(setGraphErrorRecovery(disabled:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Starts a connection to the Graph API. + @param completion The handler block to call when the request completes. + */ +- (id)startWithCompletion:(nullable FBSDKGraphRequestCompletion)completion; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnecting.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnecting.h new file mode 100644 index 0000000..a64cb00 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnecting.h @@ -0,0 +1,54 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol FBSDKGraphRequest; +@protocol FBSDKGraphRequestConnecting; +@protocol FBSDKGraphRequestConnectionDelegate; + +/** + FBSDKGraphRequestCompletion + + A block that is passed to addRequest to register for a callback with the results of that + request once the connection completes. + + 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 connection 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. + */ +NS_SWIFT_NAME(GraphRequestCompletion) +typedef void (^FBSDKGraphRequestCompletion)(id _Nullable connection, + id _Nullable result, + NSError *_Nullable error); + +/// A protocol to describe an object that can manage graph requests +NS_SWIFT_NAME(GraphRequestConnecting) +@protocol FBSDKGraphRequestConnecting + +@property (nonatomic, assign) NSTimeInterval timeout; +@property (nullable, nonatomic, weak) id delegate; + +- (void)addRequest:(id)request + completion:(FBSDKGraphRequestCompletion)handler; + +- (void)start; +- (void)cancel; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h new file mode 100644 index 0000000..99966bf --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h @@ -0,0 +1,173 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + The key in the result dictionary for requests to old versions of the Graph API + whose response is not a JSON object. + + 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. + */ +FOUNDATION_EXPORT NSString *const FBSDKNonJSONResponseProperty +NS_SWIFT_NAME(NonJSONResponseProperty); + +@protocol FBSDKGraphRequest; + +/** + The `FBSDKGraphRequestConnection` represents a single connection to Facebook to service a request. + + 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. + */ +NS_SWIFT_NAME(GraphRequestConnection) +@interface FBSDKGraphRequestConnection : NSObject + +/// The default timeout on all FBSDKGraphRequestConnection instances. Defaults to 60 seconds. +@property (class, nonatomic, assign) NSTimeInterval defaultConnectionTimeout; + +/// The delegate object that receives updates. +@property (nullable, nonatomic, weak) id delegate; + +/// Gets or sets the timeout interval to wait for a response before giving up. +@property (nonatomic, assign) NSTimeInterval timeout; + +/** + The raw response that was returned from the server. (readonly) + + 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 FBSDKGraphRequestBlock callback. + */ +@property (nullable, nonatomic, readonly, retain) NSHTTPURLResponse *urlResponse; + +/** + Determines the operation queue that is used to call methods on the connection's delegate. + + 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. + */ +@property (nullable, nonatomic) NSOperationQueue *delegateQueue; + +/// @methodgroup Class methods + +/// @methodgroup Adding requests + +/** + @method + + This method adds an object to this connection. + + @param request A request to be included in the round-trip when start is called. + @param completion A handler to call back when the round-trip completes or times out. + + The completion handler is retained until the block is called upon the + completion or cancellation of the connection. + */ +- (void)addRequest:(id)request + completion:(FBSDKGraphRequestCompletion)completion; + +/** + @method + + This method adds an object to this connection. + + @param request A request to be included in the round-trip when start is called. + + @param completion A handler to call back when the round-trip completes or times out. + The handler will be invoked on the main thread. + + @param name A 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/ ). + + 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:(id)request + name:(NSString *)name + completion:(FBSDKGraphRequestCompletion)completion; + +/** + @method + + This method adds an object to this connection. + + @param request A request to be included in the round-trip when start is called. + + @param completion A handler to call back when the round-trip completes or times out. + + @param parameters The 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". + + 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:(id)request + parameters:(nullable NSDictionary *)parameters + completion:(FBSDKGraphRequestCompletion)completion; + +/// @methodgroup Instance methods + +/** + @method + + Signals that a connection should be logically terminated as the + application is no longer interested in a response. + + 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 + + This method starts a connection with the server and is capable of handling all of the + requests that were added to the connection. + + 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; + +/** + @method + + Overrides the default version for a batch request + + 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)overrideGraphAPIVersion:(NSString *)version; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionDelegate.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionDelegate.h new file mode 100644 index 0000000..738ad47 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionDelegate.h @@ -0,0 +1,93 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + @protocol + + The `FBSDKGraphRequestConnectionDelegate` protocol defines the methods used to receive network + activity progress information from a . + */ +NS_SWIFT_NAME(GraphRequestConnectionDelegate) +@protocol FBSDKGraphRequestConnectionDelegate + +@optional + +/** + @method + + Tells the delegate the request connection will begin loading + + 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:(id)connection; + +/** + @method + + Tells the delegate the request connection finished loading + + If the request connection completes without a network error occurring 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 FBSDKGraphRequestBlock + 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:(id)connection; + +/** + @method + + Tells the delegate the request connection failed with an error + + 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 + FBSDKGraphRequestBlock 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:(id)connection + didFailWithError:(NSError *)error; + +/** + @method + + Tells the delegate how much data has been sent and is planned to send to the remote host + + The byte count arguments refer to the aggregated objects, not a particular . + + Like `NSURLSession`, 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:(id)connection + didSendBodyData:(NSInteger)bytesWritten + totalBytesWritten:(NSInteger)totalBytesWritten + totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactory.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactory.h new file mode 100644 index 0000000..19e62d2 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactory.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal type not intended for use outside of the SDKs. + + A factory for providing objects that conform to `GraphRequestConnecting`. + */ +NS_SWIFT_NAME(GraphRequestConnectionFactory) +@interface FBSDKGraphRequestConnectionFactory : NSObject +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactoryProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactoryProtocol.h new file mode 100644 index 0000000..96b43df --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactoryProtocol.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol FBSDKGraphRequestConnecting; + +/// Describes anything that can provide instances of `FBSDKGraphRequestConnecting` +NS_SWIFT_NAME(GraphRequestConnectionFactoryProtocol) +@protocol FBSDKGraphRequestConnectionFactory + +- (id)createGraphRequestConnection; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h new file mode 100644 index 0000000..3775cb4 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h @@ -0,0 +1,42 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// A container class for data attachments so that additional metadata can be provided about the attachment. +NS_SWIFT_NAME(GraphRequestDataAttachment) +@interface FBSDKGraphRequestDataAttachment : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + 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; + +/// The content type for the attachment. +@property (nonatomic, readonly, copy) NSString *contentType; + +/// The attachment data. +@property (nonatomic, readonly, strong) NSData *data; + +/// The filename for the attachment. +@property (nonatomic, readonly, copy) NSString *filename; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactory.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactory.h new file mode 100644 index 0000000..6661ac1 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactory.h @@ -0,0 +1,26 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol FBSDKGraphRequestFactory; + +/** + Internal type not intended for use outside of the SDKs. + + A factory for providing objects that conform to `GraphRequest` + */ +NS_SWIFT_NAME(GraphRequestFactory) +@interface FBSDKGraphRequestFactory : NSObject +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactoryProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactoryProtocol.h new file mode 100644 index 0000000..eb85a3b --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactoryProtocol.h @@ -0,0 +1,54 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +@protocol FBSDKGraphRequest; + +typedef NSString *const FBSDKHTTPMethod NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(HTTPMethod); + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal type not intended for use outside of the SDKs. + +Describes anything that can provide instances of `GraphRequestProtocol` + */ +NS_SWIFT_NAME(GraphRequestFactoryProtocol) +@protocol FBSDKGraphRequestFactory + +- (id)createGraphRequestWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + tokenString:(nullable NSString *)tokenString + HTTPMethod:(nullable FBSDKHTTPMethod)method + flags:(FBSDKGraphRequestFlags)flags; + +- (id)createGraphRequestWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters; + +- (id)createGraphRequestWithGraphPath:(NSString *)graphPath; + +- (id)createGraphRequestWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + HTTPMethod:(FBSDKHTTPMethod)method; + +- (id)createGraphRequestWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + tokenString:(nullable NSString *)tokenString + version:(nullable NSString *)version + HTTPMethod:(FBSDKHTTPMethod)method; + +- (id)createGraphRequestWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + flags:(FBSDKGraphRequestFlags)flags; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFlags.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFlags.h new file mode 100644 index 0000000..68e7c8d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFlags.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Flags that indicate how a graph request should be treated in various scenarios +typedef NS_OPTIONS(NSUInteger, FBSDKGraphRequestFlags) { + FBSDKGraphRequestFlagNone = 0, + /// indicates this request should not use a client token as its token parameter + FBSDKGraphRequestFlagSkipClientToken = 1 << 1, + /// indicates this request should not close the session if its response is an oauth error + FBSDKGraphRequestFlagDoNotInvalidateTokenOnError = 1 << 2, + /// indicates this request should not perform error recovery + FBSDKGraphRequestFlagDisableErrorRecovery = 1 << 3, +} NS_SWIFT_NAME(GraphRequestFlags); + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestHTTPMethod.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestHTTPMethod.h new file mode 100644 index 0000000..e79728d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestHTTPMethod.h @@ -0,0 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/// typedef for FBSDKHTTPMethod +typedef NSString *const FBSDKHTTPMethod NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(HTTPMethod); + +/// GET Request +FOUNDATION_EXPORT FBSDKHTTPMethod FBSDKHTTPMethodGET NS_SWIFT_NAME(get); + +/// POST Request +FOUNDATION_EXPORT FBSDKHTTPMethod FBSDKHTTPMethodPOST NS_SWIFT_NAME(post); + +/// DELETE Request +FOUNDATION_EXPORT FBSDKHTTPMethod FBSDKHTTPMethodDELETE NS_SWIFT_NAME(delete); diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestProtocol.h new file mode 100644 index 0000000..6cc4da3 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestProtocol.h @@ -0,0 +1,66 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +@class FBSDKGraphRequestConnection; +@protocol FBSDKGraphRequestConnecting; + +typedef void (^FBSDKGraphRequestCompletion)(id _Nullable connection, + id _Nullable result, + NSError *_Nullable error); + +typedef void (^FBSDKGraphRequestBlock)(FBSDKGraphRequestConnection *_Nullable connection, + id _Nullable result, + NSError *_Nullable error); + +/// A protocol to describe anything that represents a graph request +NS_SWIFT_NAME(GraphRequestProtocol) +@protocol FBSDKGraphRequest + +/// The request parameters. +@property (nonatomic, copy) NSDictionary *parameters; + +/// The access token string used by the request. +@property (nullable, nonatomic, readonly, copy) NSString *tokenString; + +/// The Graph API endpoint to use for the request, for example "me". +@property (nonatomic, readonly, copy) NSString *graphPath; + +/// The HTTPMethod to use for the request, for example "GET" or "POST". +@property (nonatomic, readonly, copy) FBSDKHTTPMethod HTTPMethod; + +/// The Graph API version to use (e.g., "v2.0") +@property (nonatomic, readonly, copy) NSString *version; + +/// The graph request flags to use +@property (nonatomic, readonly, assign) FBSDKGraphRequestFlags flags; + +/// Convenience property to determine if graph error recover is disabled +@property (nonatomic, getter = isGraphErrorRecoveryDisabled) BOOL graphErrorRecoveryDisabled; + +/// Convenience property to determine if the request has attachments +@property (nonatomic, readonly) BOOL hasAttachments; + +/** + Starts a connection to the Graph API. + @param completion The handler block to call when the request completes. + */ +- (id)startWithCompletion:(nullable FBSDKGraphRequestCompletion)completion; + +/// A formatted description of the graph request +- (NSString *)formattedDescription; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKIcon.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKIcon.h new file mode 100644 index 0000000..0404e39 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKIcon.h @@ -0,0 +1,26 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(Icon) +@interface FBSDKIcon : NSObject + +- (nullable CGPathRef)pathWithSize:(CGSize)size; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKImpressionLoggingButton.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKImpressionLoggingButton.h new file mode 100644 index 0000000..4202de7 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKImpressionLoggingButton.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(ImpressionLoggingButton) +@interface FBSDKImpressionLoggingButton : UIButton +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKInternalUtility.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKInternalUtility.h new file mode 100644 index 0000000..c48e086 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKInternalUtility.h @@ -0,0 +1,83 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import + +#import +#import +#import +#import + +#if !TARGET_OS_TV + #import +#endif + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(InternalUtility) +@interface FBSDKInternalUtility : NSObject +#if !TARGET_OS_TV + +#else + +#endif + +#if !DEBUG +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; +#endif + +@property (class, nonnull, readonly) FBSDKInternalUtility *sharedUtility; + +/** + Returns bundle for returning localized strings + + We assume a convention of a bundle named FBSDKStrings.bundle, otherwise we + return the main bundle. + */ +@property (nonatomic, readonly, strong) NSBundle *bundleForStrings; + +/** + Tests whether the supplied URL is a valid URL for opening in the browser. + @param URL The URL to test. + @return YES if the URL refers to an http or https resource, otherwise NO. + */ +- (BOOL)isBrowserURL:(NSURL *)URL; + +/** + Checks equality between 2 objects. + + Checks for pointer equality, nils, isEqual:. + @param object The first object to compare. + @param other The second object to compare. + @return YES if the objects are equal, otherwise NO. + */ +- (BOOL)object:(id)object isEqualToObject:(id)other; + +/// Attempts to find the first UIViewController in the view's responder chain. Returns nil if not found. +- (nullable UIViewController *)viewControllerForView:(UIView *)view; + +/// returns true if the url scheme is registered in the CFBundleURLTypes +- (BOOL)isRegisteredURLScheme:(NSString *)urlScheme; + +/// returns currently displayed top view controller. +- (nullable UIViewController *)topMostViewController; + +/// returns the current key window +- (nullable UIWindow *)findWindow; + +#pragma mark - FB Apps Installed + +@property (nonatomic, readonly, assign) BOOL isMessengerAppInstalled; + +- (BOOL)isRegisteredCanOpenURLScheme:(NSString *)urlScheme; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKInternalUtilityProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKInternalUtilityProtocol.h new file mode 100644 index 0000000..1084682 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKInternalUtilityProtocol.h @@ -0,0 +1,135 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(InternalUtilityProtocol) +@protocol FBSDKInternalUtility + +#pragma mark - FB Apps Installed + +@property (nonatomic, readonly) BOOL isFacebookAppInstalled; + +/* + Checks if the app is Unity. + */ +@property (nonatomic, readonly) BOOL isUnity; + +/** + Constructs an NSURL. + @param scheme The scheme for the URL. + @param host The host for the URL. + @param path The path for the URL. + @param queryParameters The query parameters for the URL. This will be converted into a query string. + @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. + @return The URL. + */ +- (nullable NSURL *)URLWithScheme:(NSString *)scheme + host:(NSString *)host + path:(NSString *)path + queryParameters:(NSDictionary *)queryParameters + error:(NSError *__autoreleasing *)errorRef; + +/** + Constructs an URL for the current app. + @param host The host for the URL. + @param path The path for the URL. + @param queryParameters The query parameters for the URL. This will be converted into a query string. + @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. + @return The app URL. + */ +- (nullable NSURL *)appURLWithHost:(NSString *)host + path:(NSString *)path + queryParameters:(NSDictionary *)queryParameters + error:(NSError *__autoreleasing *)errorRef; + +/** + Constructs a Facebook URL. + @param hostPrefix The prefix for the host, such as 'm', 'graph', etc. + @param path The path for the URL. This may or may not include a version. + @param queryParameters The query parameters for the URL. This will be converted into a query string. + @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. + @return The Facebook URL. + */ +- (nullable NSURL *)facebookURLWithHostPrefix:(NSString *)hostPrefix + path:(NSString *)path + queryParameters:(NSDictionary *)queryParameters + error:(NSError *__autoreleasing *)errorRef; + +/** + Registers a transient object so that it will not be deallocated until unregistered + @param object The transient object + */ +- (void)registerTransientObject:(id)object; + +/** + Unregisters a transient object that was previously registered with registerTransientObject: + @param object The transient object + */ +- (void)unregisterTransientObject:(__weak id)object; + +- (void)checkRegisteredCanOpenURLScheme:(NSString *)urlScheme; + +/// Validates that the right URL schemes are registered, throws an NSException if not. +- (void)validateURLSchemes; + +/// add data processing options to the dictionary. +- (void)extendDictionaryWithDataProcessingOptions:(NSMutableDictionary *)parameters; + +/// Converts NSData to a hexadecimal UTF8 String. +- (nullable NSString *)hexadecimalStringFromData:(NSData *)data; + +/// validates that the app ID is non-nil, throws an NSException if nil. +- (void)validateAppID; + +/** + Validates that the client access token is non-nil, otherwise - throws an NSException otherwise. + Returns the composed client access token. + */ +- (NSString *)validateRequiredClientAccessToken; + +/** + Extracts permissions from a response fetched from me/permissions + @param responseObject the response + @param grantedPermissions the set to add granted permissions to + @param declinedPermissions the set to add declined permissions to. + */ +- (void)extractPermissionsFromResponse:(NSDictionary *)responseObject + grantedPermissions:(NSMutableSet *)grantedPermissions + declinedPermissions:(NSMutableSet *)declinedPermissions + expiredPermissions:(NSMutableSet *)expiredPermissions; + +/// validates that Facebook reserved URL schemes are not registered, throws an NSException if they are. +- (void)validateFacebookReservedURLSchemes; + +/** + Parses an FB url's query params (and potentially fragment) into a dictionary. + @param url The FB url. + @return A dictionary with the key/value pairs. + */ +- (NSDictionary *)parametersFromFBURL:(NSURL *)url; + +/** + Returns bundle for returning localized strings + + We assume a convention of a bundle named FBSDKStrings.bundle, otherwise we + return the main bundle. + */ +@property (nonatomic, readonly, strong) NSBundle *bundleForStrings; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKKeychainStore.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKKeychainStore.h new file mode 100644 index 0000000..a4292d5 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKKeychainStore.h @@ -0,0 +1,34 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(KeychainStore) +@interface FBSDKKeychainStore : NSObject + +@property (nonatomic, readonly, copy) NSString *service; +@property (nullable, nonatomic, readonly, copy) NSString *accessGroup; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +- (instancetype)initWithService:(NSString *)service accessGroup:(nullable NSString *)accessGroup NS_DESIGNATED_INITIALIZER; + +- (BOOL)setData:(nullable NSData *)value forKey:(NSString *)key accessibility:(CFTypeRef)accessibility; +- (nullable NSData *)dataForKey:(NSString *)key; + +// hook for subclasses to override keychain query construction. +- (NSMutableDictionary *)queryForKey:(NSString *)key; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreFactory.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreFactory.h new file mode 100644 index 0000000..149c59d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreFactory.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal type not intended for use outside of the SDKs. + + A factory for providing objects that conform to `KeychainStore` + */ +NS_SWIFT_NAME(KeychainStoreFactory) +@interface FBSDKKeychainStoreFactory : NSObject +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProtocol.h new file mode 100644 index 0000000..4f8636a --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProtocol.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(KeychainStoreProtocol) +@protocol FBSDKKeychainStore + +- (nullable NSString *)stringForKey:(NSString *)key; +- (nullable NSDictionary *)dictionaryForKey:(NSString *)key; + +- (BOOL)setString:(nullable NSString *)value forKey:(NSString *)key accessibility:(nullable CFTypeRef)accessibility; +- (BOOL)setDictionary:(nullable NSDictionary *)value forKey:(NSString *)key accessibility:(nullable CFTypeRef)accessibility; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProviding.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProviding.h new file mode 100644 index 0000000..af0263c --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProviding.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(KeychainStoreProviding) +@protocol FBSDKKeychainStoreProviding + +- (nonnull id)createKeychainStoreWithService:(NSString *)service + accessGroup:(nullable NSString *)accessGroup; +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKLocation.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKLocation.h new file mode 100644 index 0000000..e9fd130 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKLocation.h @@ -0,0 +1,34 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(Location) +@interface FBSDKLocation : NSObject + +/// Location id +@property (nonatomic, readonly, strong) NSString *id; +/// Location name +@property (nonatomic, readonly, strong) NSString *name; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + Returns a Location object from a dinctionary containing valid location information. + @param dictionary The dictionary containing raw location + + Valid location will consist of "id" and "name" strings. + */ ++ (nullable instancetype)locationFromDictionary:(NSDictionary *)dictionary; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKLogger.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKLogger.h new file mode 100644 index 0000000..d6a3100 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKLogger.h @@ -0,0 +1,38 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Simple logging utility for conditionally logging strings and then emitting them + via NSLog(). + + @unsorted + + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(Logger) +@interface FBSDKLogger : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +// Simple helper to write a single log entry, based upon whether the behavior matches a specified on. ++ (void)singleShotLogEntry:(FBSDKLoggingBehavior)loggingBehavior + logEntry:(NSString *)logEntry; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKLogging.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKLogging.h new file mode 100644 index 0000000..dbef541 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKLogging.h @@ -0,0 +1,30 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(Logging) +@protocol FBSDKLogging + +@property (nonatomic, readonly, copy) NSString *contents; +@property (nonatomic, readonly, copy) FBSDKLoggingBehavior loggingBehavior; + +- (instancetype)initWithLoggingBehavior:(FBSDKLoggingBehavior)loggingBehavior; + ++ (void)singleShotLogEntry:(FBSDKLoggingBehavior)loggingBehavior + logEntry:(NSString *)logEntry; + +- (void)logEntry:(NSString *)logEntry; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKLoggingBehavior.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKLoggingBehavior.h new file mode 100644 index 0000000..900542d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKLoggingBehavior.h @@ -0,0 +1,51 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/* + * Constants defining logging behavior. Use with <[FBSDKSettings setLoggingBehavior]>. + */ + +typedef NSString *FBSDKLoggingBehavior NS_TYPED_ENUM NS_SWIFT_NAME(LoggingBehavior); + +/// Include access token in logging. +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorAccessTokens; + +/// Log performance characteristics +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorPerformanceCharacteristics; + +/// Log FBSDKAppEvents interactions +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorAppEvents; + +/// Log Informational occurrences +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorInformational; + +/// Log cache errors. +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorCacheErrors; + +/// Log errors from SDK UI controls +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorUIControlErrors; + +/// Log debug warnings from API response, i.e. when friends fields requested, but user_friends permission isn't granted. +FOUNDATION_EXPORT FBSDKLoggingBehavior 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. + */ +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorGraphAPIDebugInfo; + +/// Log errors from SDK network requests +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorNetworkRequests; + +/// Log errors likely to be preventable by the developer. This is in the default set of enabled logging behaviors. +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorDeveloperErrors; + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKLoginTooltip.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKLoginTooltip.h new file mode 100644 index 0000000..a663749 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKLoginTooltip.h @@ -0,0 +1,31 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** +Internal Type exposed to facilitate transition to Swift. +API Subject to change or removal without warning. Do not use. + +@warning INTERNAL - DO NOT USE + */ +@interface FBSDKLoginTooltip : NSObject +@property (nonatomic, readonly, getter = isEnabled, assign) BOOL enabled; +@property (nonatomic, readonly, copy) NSString *text; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +- (instancetype)initWithText:(NSString *)text + enabled:(BOOL)enabled + NS_DESIGNATED_INITIALIZER; +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKMeasurementEvent.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKMeasurementEvent.h new file mode 100644 index 0000000..3403551 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKMeasurementEvent.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(MeasurementEvent) +@interface FBSDKMeasurementEvent : NSObject + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h new file mode 100644 index 0000000..219d3fe --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Extension protocol for NSMutableCopying that adds the mutableCopy method, which is implemented on NSObject. + + NSObject implicitly conforms to this protocol. + */ +NS_SWIFT_NAME(MutableCopying) +@protocol FBSDKMutableCopying + +/** + Implemented by NSObject as a convenience to mutableCopyWithZone:. + @return A mutable copy of the receiver. + */ +- (id)mutableCopy; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKNetworkErrorChecker.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKNetworkErrorChecker.h new file mode 100644 index 0000000..5b157c2 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKNetworkErrorChecker.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Concrete type providing functionality that checks whether an error represents a + network error. + */ +NS_SWIFT_NAME(NetworkErrorChecker) +@interface FBSDKNetworkErrorChecker : NSObject + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKNetworkErrorChecking.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKNetworkErrorChecking.h new file mode 100644 index 0000000..2868737 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKNetworkErrorChecking.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_SWIFT_NAME(NetworkErrorChecking) +@protocol FBSDKNetworkErrorChecking + +/** + Checks whether an error is a network error. + + @param error An error that may or may not represent a network error. + + @return `YES` if the error represents a network error, otherwise `NO`. + */ +- (BOOL)isNetworkError:(NSError *)error; + +@end diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKProductAvailability.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKProductAvailability.h new file mode 100644 index 0000000..fa8f4cd --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKProductAvailability.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** + NS_ENUM(NSUInteger, FBSDKProductAvailability) + Specifies product availability for Product Catalog product item update + */ +typedef NS_ENUM(NSUInteger, FBSDKProductAvailability) { + /// Item ships immediately + FBSDKProductAvailabilityInStock = 0, + /// No plan to restock + FBSDKProductAvailabilityOutOfStock, + /// Available in future + FBSDKProductAvailabilityPreOrder, + /// Ships in 1-2 weeks + FBSDKProductAvailabilityAvailableForOrder, + /// Discontinued + FBSDKProductAvailabilityDiscontinued, +} NS_SWIFT_NAME(AppEvents.ProductAvailability); diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKProductCondition.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKProductCondition.h new file mode 100644 index 0000000..41e23b1 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKProductCondition.h @@ -0,0 +1,17 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** + NS_ENUM(NSUInteger, FBSDKProductCondition) + Specifies product condition for Product Catalog product item update + */ +typedef NS_ENUM(NSUInteger, FBSDKProductCondition) { + FBSDKProductConditionNew = 0, + FBSDKProductConditionRefurbished, + FBSDKProductConditionUsed, +} NS_SWIFT_NAME(AppEvents.ProductCondition); diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKProfile.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKProfile.h new file mode 100644 index 0000000..a38aa45 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKProfile.h @@ -0,0 +1,289 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +@class FBSDKLocation; +@class FBSDKProfile; +@class FBSDKUserAgeRange; + +NS_ASSUME_NONNULL_BEGIN + +/** + Notification indicating that the `currentProfile` has changed. + + the userInfo dictionary of the notification will contain keys + `FBSDKProfileChangeOldKey` and + `FBSDKProfileChangeNewKey`. + */ +FOUNDATION_EXPORT NSNotificationName const FBSDKProfileDidChangeNotification +NS_SWIFT_NAME(ProfileDidChange); + +/* key in notification's userInfo object for getting the old profile. + + If there was no old profile, the key will not be present. + */ +FOUNDATION_EXPORT NSString *const FBSDKProfileChangeOldKey +NS_SWIFT_NAME(ProfileChangeOldKey); + +/* key in notification's userInfo object for getting the new profile. + + If there is no new profile, the key will not be present. + */ +FOUNDATION_EXPORT NSString *const FBSDKProfileChangeNewKey +NS_SWIFT_NAME(ProfileChangeNewKey); + +/** + Describes the callback for loadCurrentProfileWithCompletion. + @param profile the FBSDKProfile + @param error the error during the request, if any + */ +typedef void (^ FBSDKProfileBlock)(FBSDKProfile *_Nullable profile, NSError *_Nullable error) +NS_SWIFT_NAME(ProfileBlock); + +/// Represents the unique identifier for an end user +typedef NSString FBSDKUserIdentifier + NS_SWIFT_NAME(UserIdentifier); + +/** + Represents an immutable Facebook profile + + 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". + */ +NS_SWIFT_NAME(Profile) +@interface FBSDKProfile : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + 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:(FBSDKUserIdentifier *)userID + firstName:(nullable NSString *)firstName + middleName:(nullable NSString *)middleName + lastName:(nullable NSString *)lastName + name:(nullable NSString *)name + linkURL:(nullable NSURL *)linkURL + refreshDate:(nullable NSDate *)refreshDate; + +/** + @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]. + @param imageURL an optional URL to use for fetching a user's profile image + @param email the user's email + @param friendIDs a list of identifiers for the user's friends + @param birthday the user's birthday + @param ageRange the user's age range + @param hometown the user's hometown + @param location the user's location + @param gender the user's gender + @param isLimited indicates if the information provided is incomplete in some way. + When true, `loadCurrentProfileWithCompletion:` will assume the profile is + incomplete and disregard any cached profile. Defaults to false. + */ +- (instancetype)initWithUserID:(FBSDKUserIdentifier *)userID + firstName:(nullable NSString *)firstName + middleName:(nullable NSString *)middleName + lastName:(nullable NSString *)lastName + name:(nullable NSString *)name + linkURL:(nullable NSURL *)linkURL + refreshDate:(nullable NSDate *)refreshDate + imageURL:(nullable NSURL *)imageURL + email:(nullable NSString *)email + friendIDs:(nullable NSArray *)friendIDs + birthday:(nullable NSDate *)birthday + ageRange:(nullable FBSDKUserAgeRange *)ageRange + hometown:(nullable FBSDKLocation *)hometown + location:(nullable FBSDKLocation *)location + gender:(nullable NSString *)gender + isLimited:(BOOL)isLimited; + +/** + 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]. + @param imageURL an optional URL to use for fetching a user's profile image + @param email the user's email + @param friendIDs a list of identifiers for the user's friends + @param birthday the user's birthday + @param ageRange the user's age range + @param hometown the user's hometown + @param location the user's location + @param gender the user's gender + */ +- (instancetype)initWithUserID:(FBSDKUserIdentifier *)userID + firstName:(nullable NSString *)firstName + middleName:(nullable NSString *)middleName + lastName:(nullable NSString *)lastName + name:(nullable NSString *)name + linkURL:(nullable NSURL *)linkURL + refreshDate:(nullable NSDate *)refreshDate + imageURL:(nullable NSURL *)imageURL + email:(nullable NSString *)email + friendIDs:(nullable NSArray *)friendIDs + birthday:(nullable NSDate *)birthday + ageRange:(nullable FBSDKUserAgeRange *)ageRange + hometown:(nullable FBSDKLocation *)hometown + location:(nullable FBSDKLocation *)location + gender:(nullable NSString *)gender + NS_DESIGNATED_INITIALIZER; + +/** + The current profile instance and posts the appropriate notification + if the profile parameter is different than the receiver. + + This persists the profile to NSUserDefaults. + */ + +/// The current profile +@property (class, nullable, nonatomic, strong) FBSDKProfile *currentProfile +NS_SWIFT_NAME(current); + +/// The user id +@property (nonatomic, readonly, copy) FBSDKUserIdentifier *userID; +/// The user's first name +@property (nullable, nonatomic, readonly, copy) NSString *firstName; +/// The user's middle name +@property (nullable, nonatomic, readonly, copy) NSString *middleName; +/// The user's last name +@property (nullable, nonatomic, readonly, copy) NSString *lastName; +/// The user's complete name +@property (nullable, nonatomic, readonly, copy) NSString *name; +/** + A URL to the user's profile. + + IMPORTANT: This field will only be populated if your user has granted your application the 'user_link' permission + + Consider using `FBSDKAppLinkResolver` to resolve this + to an app link to link directly to the user's profile in the Facebook app. + */ +@property (nullable, nonatomic, readonly) NSURL *linkURL; + +/// The last time the profile data was fetched. +@property (nonatomic, readonly) NSDate *refreshDate; +/// A URL to use for fetching a user's profile image. +@property (nullable, nonatomic, readonly) NSURL *imageURL; +/** + The user's email. + + IMPORTANT: This field will only be populated if your user has granted your application the 'email' permission. + */ +@property (nullable, nonatomic, readonly, copy) NSString *email; +/** + A list of identifiers of the user's friends. + + IMPORTANT: This field will only be populated if your user has granted your application the 'user_friends' permission. + */ +@property (nullable, nonatomic, readonly, copy) NSArray *friendIDs; + +/** + The user's birthday. + + IMPORTANT: This field will only be populated if your user has granted your application the 'user_birthday' permission. + */ +@property (nullable, nonatomic, readonly, copy) NSDate *birthday; + +/** + The user's age range + + IMPORTANT: This field will only be populated if your user has granted your application the 'user_age_range' permission. + */ +@property (nullable, nonatomic, readonly, copy) FBSDKUserAgeRange *ageRange; + +/** + The user's hometown + + IMPORTANT: This field will only be populated if your user has granted your application the 'user_hometown' permission. + */ +@property (nullable, nonatomic, readonly, copy) FBSDKLocation *hometown; + +/** + The user's location + + IMPORTANT: This field will only be populated if your user has granted your application the 'user_location' permission. + */ +@property (nullable, nonatomic, readonly, copy) FBSDKLocation *location; + +/** + The user's gender + + IMPORTANT: This field will only be populated if your user has granted your application the 'user_gender' permission. + */ +@property (nullable, nonatomic, readonly, copy) NSString *gender; + +/** + Indicates if `currentProfile` will automatically observe `FBSDKAccessTokenDidChangeNotification` notifications + @param enable YES is observing + + If observing, this class will issue a graph request for public profile data when the current token's userID + differs from the current profile. You can observe `FBSDKProfileDidChangeNotification` for when the profile is updated. + + 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. + */ +// UNCRUSTIFY_FORMAT_OFF ++ (void)enableUpdatesOnAccessTokenChange:(BOOL)enable +NS_SWIFT_NAME(enableUpdatesOnAccessTokenChange(_:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Loads the current profile and passes it to the completion block. + @param completion The block to be executed once the profile is loaded + + If the profile is already loaded, this method will call the completion block synchronously, otherwise it + will begin a graph request to update `currentProfile` and then call the completion block when finished. + */ ++ (void)loadCurrentProfileWithCompletion:(nullable FBSDKProfileBlock)completion; + +/** + 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. + */ +// UNCRUSTIFY_FORMAT_OFF +- (nullable NSURL *)imageURLForPictureMode:(FBSDKProfilePictureMode)mode size:(CGSize)size +NS_SWIFT_NAME(imageURL(forMode:size:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Returns YES if the profile is equivalent to the receiver. + @param profile the profile to compare to. + */ +- (BOOL)isEqualToProfile:(FBSDKProfile *)profile; +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKProfilePictureView.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKProfilePictureView.h new file mode 100644 index 0000000..36bf8c5 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKProfilePictureView.h @@ -0,0 +1,72 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +@class FBSDKProfile; + +NS_ASSUME_NONNULL_BEGIN + +/** + FBSDKProfilePictureMode enum + Defines the aspect ratio mode for the source image of the profile picture. + */ +typedef NS_ENUM(NSUInteger, FBSDKProfilePictureMode) { + /// A square cropped version of the image will be included in the view. + FBSDKProfilePictureModeSquare, + /// The original picture's aspect ratio will be used for the source image in the view. + FBSDKProfilePictureModeNormal, + /// The original picture's aspect ratio will be used for the source image in the view. + FBSDKProfilePictureModeAlbum, + /// The original picture's aspect ratio will be used for the source image in the view. + FBSDKProfilePictureModeSmall, + /// The original picture's aspect ratio will be used for the source image in the view. + FBSDKProfilePictureModeLarge, +} NS_SWIFT_NAME(Profile.PictureMode); + +/// A view to display a profile picture. +NS_SWIFT_NAME(FBProfilePictureView) +@interface FBSDKProfilePictureView : UIView + +/** + Create a new instance of `FBSDKProfilePictureView`. + + - Parameter frame: Frame rectangle for the view. + - Parameter profile: Optional profile to display a picture for. + */ +- (instancetype)initWithFrame:(CGRect)frame + profile:(FBSDKProfile *_Nullable)profile; + +/** + Create a new instance of `FBSDKProfilePictureView`. + + - Parameter profile: Optional profile to display a picture for. + */ +- (instancetype)initWithProfile:(FBSDKProfile *_Nullable)profile; + +/// The mode for the receiver to determine the aspect ratio of the source image. +@property (nonatomic, assign) FBSDKProfilePictureMode pictureMode; + +/// The profile ID to show the picture for. +@property (nonatomic, copy) NSString *profileID; + +/** + Explicitly marks the receiver as needing to update the image. + + 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 + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKProfileProtocols.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKProfileProtocols.h new file mode 100644 index 0000000..ac05481 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKProfileProtocols.h @@ -0,0 +1,29 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +@class FBSDKProfile; + +NS_SWIFT_NAME(ProfileProviding) +@protocol FBSDKProfileProviding + +@property (class, nullable, nonatomic, strong) FBSDKProfile *currentProfile +NS_SWIFT_NAME(current); + ++ (nullable FBSDKProfile *)fetchCachedProfile; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKRandom.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKRandom.h new file mode 100644 index 0000000..653a038 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKRandom.h @@ -0,0 +1,15 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/** + Provides a random string + @param numberOfBytes the number of bytes to use + */ +extern NSString *fb_randomString(NSUInteger numberOfBytes); diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKServerConfigurationProvider.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKServerConfigurationProvider.h new file mode 100644 index 0000000..8c651e1 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKServerConfigurationProvider.h @@ -0,0 +1,67 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal block type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(LoginTooltipBlock) +typedef void (^FBSDKLoginTooltipBlock)(FBSDKLoginTooltip *_Nullable loginTooltip, NSError *_Nullable error); + +/** +Internal Type exposed to facilitate transition to Swift. +API Subject to change or removal without warning. Do not use. + +@warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(ServerConfigurationProvider) +@interface FBSDKServerConfigurationProvider : NSObject + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nonatomic, readonly) NSString *loggingToken; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (NSUInteger)cachedSmartLoginOptions; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (BOOL)useSafariViewControllerForDialogName:(NSString *)dialogName; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void)loadServerConfigurationWithCompletionBlock:(nullable FBSDKLoginTooltipBlock)completionBlock + NS_SWIFT_NAME(loadServerConfiguration(completion:)); +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKSettings.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKSettings.h new file mode 100644 index 0000000..9a00e27 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKSettings.h @@ -0,0 +1,197 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(Settings) +@interface FBSDKSettings : NSObject + +#if !DEBUG +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; +#endif + +/// The shared settings instance. Prefer this and the exposed instance methods over the class variants. +@property (class, nonatomic, readonly) FBSDKSettings *sharedSettings; + +/// Retrieve the current iOS SDK version. +@property (nonatomic, readonly, copy) NSString *sdkVersion; + +/// Retrieve the current default Graph API version. +@property (nonatomic, readonly, copy) NSString *defaultGraphAPIVersion; + +/** + The quality of JPEG images sent to Facebook from the SDK, + expressed as a value from 0.0 to 1.0. + + If not explicitly set, the default is 0.9. +*/ +@property (nonatomic) CGFloat JPEGCompressionQuality +NS_SWIFT_NAME(jpegCompressionQuality); + +/** + Controls the auto logging of basic app events, such as activateApp and deactivateApp. + If not explicitly set, the default is true + */ +@property (nonatomic, getter = isAutoLogAppEventsEnabled) BOOL autoLogAppEventsEnabled; + +/** + Controls the fb_codeless_debug logging event + If not explicitly set, the default is true + */ +@property (nonatomic, getter = isCodelessDebugLogEnabled) BOOL codelessDebugLogEnabled; + +/** + Controls the access to IDFA + If not explicitly set, the default is true + */ +@property (nonatomic, getter = isAdvertiserIDCollectionEnabled) BOOL advertiserIDCollectionEnabled; + +/** + Controls the SKAdNetwork report + If not explicitly set, the default is true + */ +@property (nonatomic, getter = isSKAdNetworkReportEnabled) BOOL skAdNetworkReportEnabled; + +/** + 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. + */ +@property (nonatomic) BOOL isEventDataUsageLimited; + +/** + Whether in memory cached values should be used for expensive metadata fields, such as + carrier and advertiser ID, that are fetched on many applicationDidBecomeActive notifications. + Defaults to NO. This value is stored on the device and persists across app launches. + */ +@property (nonatomic) BOOL shouldUseCachedValuesForExpensiveMetadata; + +/// A convenient way to toggle error recovery for all FBSDKGraphRequest instances created after this is set. +@property (nonatomic) BOOL isGraphErrorRecoveryEnabled; + +/** + The Facebook App ID used by the SDK. + + If not explicitly set, the default will be read from the application's plist (FacebookAppID). + */ +@property (nullable, nonatomic, copy) NSString *appID; + +/** + The default url scheme suffix used for sessions. + + If not explicitly set, the default will be read from the application's plist (FacebookUrlSchemeSuffix). + */ +@property (nullable, nonatomic, copy) NSString *appURLSchemeSuffix; + +/** + The Client Token that has been set via [[FBSDKSettings sharedSettings] setClientToken]. + This is needed for certain API calls when made anonymously, without a user-based access token. + + 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 + + If not explicitly set, the default will be read from the application's plist (FacebookClientToken). + */ +@property (nullable, nonatomic, copy) NSString *clientToken; + +/** + The Facebook Display Name used by the SDK. + + This should match the Display Name that has been set for the app with the corresponding Facebook App ID, + in the Facebook App Dashboard. + + If not explicitly set, the default will be read from the application's plist (FacebookDisplayName). + */ +@property (nullable, nonatomic, copy) NSString *displayName; + +/** + The Facebook domain part. This can be used to change the Facebook domain + (e.g. @"beta") so that requests will be sent to `graph.beta.facebook.com` + + If not explicitly set, the default will be read from the application's plist (FacebookDomainPart). + */ +@property (nullable, nonatomic, copy) NSString *facebookDomainPart; + +/** + The current Facebook SDK logging behavior. This should consist of strings + defined as constants with FBSDKLoggingBehavior*. + + This should consist a set of strings indicating what information should be logged + defined as constants with FBSDKLoggingBehavior*. Set to an empty set in order to disable all logging. + + You can also define this via an array in your app plist with key "FacebookLoggingBehavior" or add and remove individual values via enableLoggingBehavior: or disableLoggingBehavior: + + The default is a set consisting of FBSDKLoggingBehaviorDeveloperErrors + */ +@property (nonatomic, copy) NSSet *loggingBehaviors; + +/** + Overrides the default Graph API version to use with `FBSDKGraphRequests`. + + The string should be of the form `@"v2.7"`. + + Defaults to `defaultGraphAPIVersion`. + */ +@property (nonatomic, copy) NSString *graphAPIVersion; + +/** + Internal property exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nullable, nonatomic, copy) NSString *userAgentSuffix; + +/** + The value of the flag advertiser_tracking_enabled that controls the advertiser tracking status of the data sent to Facebook + If not explicitly set in iOS14 or above, the default is false in iOS14 or above. + */ +@property (nonatomic, getter = isAdvertiserTrackingEnabled) BOOL advertiserTrackingEnabled; + +/** +Set the data processing options. + + @param options list of options + */ +- (void)setDataProcessingOptions:(nullable NSArray *)options; + +/** +Set the data processing options. + + @param options list of the options + @param country code of the country + @param state code of the state + */ +- (void)setDataProcessingOptions:(nullable NSArray *)options + country:(int)country + state:(int)state; + +/** + Enable a particular Facebook SDK logging behavior. + + @param loggingBehavior The LoggingBehavior to enable. This should be a string defined as a constant with FBSDKLoggingBehavior*. + */ +- (void)enableLoggingBehavior:(FBSDKLoggingBehavior)loggingBehavior; + +/** + 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:(FBSDKLoggingBehavior)loggingBehavior; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKSettingsLogging.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKSettingsLogging.h new file mode 100644 index 0000000..1e21fe0 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKSettingsLogging.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(SettingsLogging) +@protocol FBSDKSettingsLogging + +- (void)logWarnings; +- (void)logIfSDKSettingsChanged; +- (void)recordInstall; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKSettingsProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKSettingsProtocol.h new file mode 100644 index 0000000..d0eeb7a --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKSettingsProtocol.h @@ -0,0 +1,63 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(SettingsProtocol) +@protocol FBSDKSettings + +@property (nullable, nonatomic, copy) NSString *appID; +@property (nullable, nonatomic, copy) NSString *clientToken; +@property (nullable, nonatomic, copy) NSString *userAgentSuffix; +@property (nonatomic, readonly, copy) NSString *sdkVersion; +@property (nullable, nonatomic, copy) NSString *displayName; +@property (nullable, nonatomic, copy) NSString *facebookDomainPart; +@property (nonnull, nonatomic, copy) NSSet *loggingBehaviors; +@property (nullable, nonatomic, copy) NSString *appURLSchemeSuffix; +@property (nonatomic, readonly) BOOL isDataProcessingRestricted; +@property (nonatomic, readonly) BOOL isAutoLogAppEventsEnabled; +@property (nonatomic, getter = isCodelessDebugLogEnabled) BOOL codelessDebugLogEnabled; +@property (nonatomic, getter = isAdvertiserIDCollectionEnabled) BOOL advertiserIDCollectionEnabled; +@property (nonatomic, readonly) BOOL isSetATETimeExceedsInstallTime; +@property (nonatomic, readonly) BOOL isSKAdNetworkReportEnabled; +@property (nonatomic, readonly) FBSDKAdvertisingTrackingStatus advertisingTrackingStatus; +@property (nullable, nonatomic, readonly) NSDate *installTimestamp; +@property (nullable, nonatomic, readonly) NSDate *advertiserTrackingEnabledTimestamp; +@property (nonatomic) BOOL isEventDataUsageLimited; +@property (nonatomic) BOOL shouldUseTokenOptimizations; +@property (nonatomic, copy) NSString *graphAPIVersion; +@property (nonatomic) BOOL isGraphErrorRecoveryEnabled; +@property (nullable, nonatomic, readonly, copy) NSString *graphAPIDebugParamValue; +@property (nonatomic, getter = isAdvertiserTrackingEnabled) BOOL advertiserTrackingEnabled; +@property (nonatomic) BOOL shouldUseCachedValuesForExpensiveMetadata; +@property (nullable, nonatomic, readonly) NSDictionary *persistableDataProcessingOptions; + +/** + Set the data processing options. + + @param options list of options + */ +- (void)setDataProcessingOptions:(nullable NSArray *)options; + +/** + Set the data processing options. + + @param options list of the options + @param country code of the country + @param state code of the state + */ +- (void)setDataProcessingOptions:(nullable NSArray *)options + country:(int)country + state:(int)state; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKShareDialogConfiguration.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKShareDialogConfiguration.h new file mode 100644 index 0000000..4d30ced --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKShareDialogConfiguration.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Constant used to describe the 'Message' dialog +FOUNDATION_EXPORT NSString *const FBSDKDialogConfigurationNameMessage; +/// Constant used to describe the 'Share' dialog +FOUNDATION_EXPORT NSString *const FBSDKDialogConfigurationNameShare; + +/** + A lightweight interface to expose aspects of FBSDKServerConfiguration that are used by dialogs in ShareKit. + + Internal Use Only + */ +NS_SWIFT_NAME(ShareDialogConfiguration) +@interface FBSDKShareDialogConfiguration : NSObject + +@property (nonatomic, readonly, copy) NSString *defaultShareMode; + +- (BOOL)shouldUseNativeDialogForDialogName:(NSString *)dialogName; +- (BOOL)shouldUseSafariViewControllerForDialogName:(NSString *)dialogName; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKTokenCaching.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKTokenCaching.h new file mode 100644 index 0000000..6b07cb4 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKTokenCaching.h @@ -0,0 +1,43 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@class FBSDKAccessToken; +@class FBSDKAuthenticationToken; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(TokenCaching) +@protocol FBSDKTokenCaching + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nullable, nonatomic, copy) FBSDKAccessToken *accessToken; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nullable, nonatomic, copy) FBSDKAuthenticationToken *authenticationToken; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKTokenStringProviding.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKTokenStringProviding.h new file mode 100644 index 0000000..87f227d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKTokenStringProviding.h @@ -0,0 +1,29 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(TokenStringProviding) +@protocol FBSDKTokenStringProviding + +/** + Return the token string of the current access token. + + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ + +@property (class, nullable, nonatomic, readonly, copy) NSString *tokenString; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKTransformer.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKTransformer.h new file mode 100644 index 0000000..ea415c8 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKTransformer.h @@ -0,0 +1,28 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +extern CATransform3D const FBSDKCATransform3DIdentity; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@interface FBSDKTransformer : NSObject +- (CATransform3D)CATransform3DMakeScale:(CGFloat)sx sy:(CGFloat)sy sz:(CGFloat)sz; +- (CATransform3D)CATransform3DMakeTranslation:(CGFloat)tx ty:(CGFloat)ty tz:(CGFloat)tz; +- (CATransform3D)CATransform3DConcat:(CATransform3D)a b:(CATransform3D)b; +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKURL.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKURL.h new file mode 100644 index 0000000..292430f --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKURL.h @@ -0,0 +1,86 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol FBSDKAppLink; + +/** + Provides a set of utilities for working with NSURLs, such as parsing of query parameters + and handling for App Link requests. + */ +NS_SWIFT_NAME(AppLinkURL) +@interface FBSDKURL : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + Creates a link target from a raw URL. + On success, this posts the FBSDKAppLinkParseEventName measurement event. If you are constructing the FBSDKURL within your application delegate's + application:openURL:sourceApplication:annotation:, you should instead use URLWithInboundURL:sourceApplication: + to support better FBSDKMeasurementEvent notifications + @param url The instance of `NSURL` to create FBSDKURL from. + */ + +// UNCRUSTIFY_FORMAT_OFF ++ (instancetype)URLWithURL:(NSURL *)url +NS_SWIFT_NAME(init(url:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Creates a link target from a raw URL received from an external application. This is typically called from the app delegate's + application:openURL:sourceApplication:annotation: and will post the FBSDKAppLinkNavigateInEventName measurement event. + @param url The instance of `NSURL` to create FBSDKURL from. + @param sourceApplication the bundle ID of the app that is requesting your app to open the URL. The same sourceApplication in application:openURL:sourceApplication:annotation: + */ + +// UNCRUSTIFY_FORMAT_OFF ++ (instancetype)URLWithInboundURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication +NS_SWIFT_NAME(init(inboundURL:sourceApplication:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Gets the target URL. If the link is an App Link, this is the target of the App Link. + Otherwise, it is the url that created the target. + */ +@property (nonatomic, readonly, strong) NSURL *targetURL; + +/// Gets the query parameters for the target, parsed into an NSDictionary. +@property (nonatomic, readonly, strong) NSDictionary *targetQueryParameters; + +/** + If this link target is an App Link, this is the data found in al_applink_data. + Otherwise, it is nil. + */ +@property (nullable, nonatomic, readonly, strong) NSDictionary *appLinkData; + +/// If this link target is an App Link, this is the data found in extras. +@property (nullable, nonatomic, readonly, strong) NSDictionary *appLinkExtras; + +/// The App Link indicating how to navigate back to the referer app, if any. +@property (nullable, nonatomic, readonly, strong) id appLinkReferer; + +/// The URL that was used to create this FBSDKURL. +@property (nonatomic, readonly, strong) NSURL *inputURL; + +/// The query parameters of the inputURL, parsed into an NSDictionary. +@property (nonatomic, readonly, strong) NSDictionary *inputQueryParameters; + +/// The flag indicating whether the URL comes from auto app link +@property (nonatomic, readonly, getter = isAutoAppLink) BOOL isAutoAppLink; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKURLHosting.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKURLHosting.h new file mode 100644 index 0000000..31741f4 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKURLHosting.h @@ -0,0 +1,40 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(URLHosting) +@protocol FBSDKURLHosting + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (nullable NSURL *)appURLWithHost:(NSString *)host + path:(NSString *)path + queryParameters:(NSDictionary *)queryParameters + error:(NSError *__autoreleasing *)errorRef; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (nullable NSURL *)facebookURLWithHostPrefix:(NSString *)hostPrefix + path:(NSString *)path + queryParameters:(NSDictionary *)queryParameters + error:(NSError *__autoreleasing *)errorRef; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKURLOpener.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKURLOpener.h new file mode 100644 index 0000000..ff91da7 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKURLOpener.h @@ -0,0 +1,36 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +NS_ASSUME_NONNULL_BEGIN + +@protocol FBSDKURLOpening; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(URLOpener) +@protocol FBSDKURLOpener + +- (void)openURL:(NSURL *)url + sender:(nullable id)sender + handler:(FBSDKSuccessBlock)handler; + +// UNCRUSTIFY_FORMAT_OFF +- (void)openURLWithSafariViewController:(NSURL *)url + sender:(id)sender + fromViewController:(UIViewController *)fromViewController + handler:(FBSDKSuccessBlock)handler +NS_SWIFT_NAME(openURLWithSafariViewController(url:sender:from:handler:)); +// UNCRUSTIFY_FORMAT_ON + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKURLOpening.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKURLOpening.h new file mode 100644 index 0000000..65772a5 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKURLOpening.h @@ -0,0 +1,51 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(URLOpening) +@protocol FBSDKURLOpening + +// Implementations should make sure they can handle nil parameters +// which is possible in SafariViewController. +// see canOpenURL below. +- (BOOL)application:(nullable UIApplication *)application + openURL:(nullable NSURL *)url + sourceApplication:(nullable NSString *)sourceApplication + annotation:(nullable id)annotation; + +// create a different handler to return YES/NO if the receiver can process the above openURL:. +// This is separated so that we can process the openURL: in callbacks, while still returning +// the result of canOpenURL synchronously in FBSDKApplicationDelegate +- (BOOL) canOpenURL:(NSURL *)url + forApplication:(nullable UIApplication *)application + sourceApplication:(nullable NSString *)sourceApplication + annotation:(nullable id)annotation; + +- (void)applicationDidBecomeActive:(UIApplication *)application; + +- (BOOL)isAuthenticationURL:(NSURL *)url; + +@optional +- (BOOL)shouldStopPropagationOfURL:(NSURL *)url; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKURLScheme.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKURLScheme.h new file mode 100644 index 0000000..f728392 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKURLScheme.h @@ -0,0 +1,17 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +typedef NSString *FBSDKURLScheme NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(URLScheme); + +FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeFacebookAPI; +FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeMessengerApp; +FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeHTTPS NS_SWIFT_NAME(https); +FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeHTTP NS_SWIFT_NAME(http); +FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeWeb; diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKUserAgeRange.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKUserAgeRange.h new file mode 100644 index 0000000..7d71916 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKUserAgeRange.h @@ -0,0 +1,35 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(UserAgeRange) +@interface FBSDKUserAgeRange : NSObject + +/// The user's minimun age, nil if unspecified +@property (nullable, nonatomic, readonly, strong) NSNumber *min; +/// The user's maximun age, nil if unspecified +@property (nullable, nonatomic, readonly, strong) NSNumber *max; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + Returns a UserAgeRange object from a dinctionary containing valid user age range. + @param dictionary The dictionary containing raw user age range + + Valid user age range will consist of "min" and/or "max" values that are + positive integers, where "min" is smaller than or equal to "max". + */ ++ (nullable instancetype)ageRangeFromDictionary:(NSDictionary *)dictionary; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKUtility.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKUtility.h new file mode 100644 index 0000000..eb5ca0a --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKUtility.h @@ -0,0 +1,108 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Class to contain common utility methods. +NS_SWIFT_NAME(Utility) +@interface FBSDKUtility : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + Parses a query string into a dictionary. + @param queryString The query string value. + @return A dictionary with the key/value pairs. + */ + +// UNCRUSTIFY_FORMAT_OFF ++ (NSDictionary *)dictionaryWithQueryString:(NSString *)queryString +NS_SWIFT_NAME(dictionary(withQuery:)); +// UNCRUSTIFY_FORMAT_ON + +/** + 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. + @return Query string representation of the parameters. + */ + +// UNCRUSTIFY_FORMAT_OFF ++ (NSString *)queryStringWithDictionary:(NSDictionary *)dictionary + error:(NSError **)errorRef +NS_SWIFT_NAME(query(from:)) +__attribute__((swift_error(nonnull_error))); +// UNCRUSTIFY_FORMAT_ON + +/** + Decodes a value from an URL. + @param value The value to decode. + @return The decoded value. + */ + +// UNCRUSTIFY_FORMAT_OFF ++ (NSString *)URLDecode:(NSString *)value +NS_SWIFT_NAME(decode(urlString:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Encodes a value for an URL. + @param value The value to encode. + @return The encoded value. + */ + +// UNCRUSTIFY_FORMAT_OFF ++ (NSString *)URLEncode:(NSString *)value +NS_SWIFT_NAME(encode(urlString:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Creates a timer using Grand Central Dispatch. + @param interval The interval to fire the timer, in seconds. + @param block The code block to execute when timer is fired. + @return The dispatch handle. + */ ++ (dispatch_source_t)startGCDTimerWithInterval:(double)interval block:(dispatch_block_t)block; + +/** + Stop a timer that was started by startGCDTimerWithInterval. + @param timer The dispatch handle received from startGCDTimerWithInterval. + */ ++ (void)stopGCDTimer:(dispatch_source_t)timer; + +/** + Get SHA256 hased string of NSString/NSData + + @param input The data that needs to be hashed, it could be NSString or NSData. + */ + +// UNCRUSTIFY_FORMAT_OFF ++ (nullable NSString *)SHA256Hash:(NSObject *)input +NS_SWIFT_NAME(sha256Hash(_:)); +// UNCRUSTIFY_FORMAT_ON + +/// Returns the graphdomain stored in FBSDKAuthenticationToken ++ (nullable NSString *)getGraphDomainFromToken; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ ++ (NSURL *)unversionedFacebookURLWithHostPrefix:(NSString *)hostPrefix + path:(NSString *)path + queryParameters:(NSDictionary *)queryParameters + error:(NSError *__autoreleasing *)errorRef; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKWebDialog.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKWebDialog.h new file mode 100644 index 0000000..136683d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKWebDialog.h @@ -0,0 +1,77 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import +#import +#import + +#import + +@protocol _FBSDKWindowFinding; + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(WebDialog) +@interface FBSDKWebDialog : NSObject + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nonatomic) BOOL shouldDeferVisibility; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nullable, nonatomic, strong) id<_FBSDKWindowFinding> windowFinder; + ++ (instancetype)new NS_UNAVAILABLE; +- (instancetype)init NS_UNAVAILABLE; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ ++ (instancetype)dialogWithName:(NSString *)name + delegate:(id)delegate; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +// UNCRUSTIFY_FORMAT_OFF ++ (instancetype)createAndShowWithName:(NSString *)name + parameters:(nullable NSDictionary *)parameters + frame:(CGRect)frame + delegate:(id)delegate + windowFinder:(nullable id<_FBSDKWindowFinding>)windowFinder +NS_SWIFT_NAME(createAndShow(name:parameters:frame:delegate:windowFinder:)); +// UNCRUSTIFY_FORMAT_ON + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKWebDialogDelegate.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKWebDialogDelegate.h new file mode 100644 index 0000000..6dd4b92 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKWebDialogDelegate.h @@ -0,0 +1,56 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +#import + +@class FBSDKWebDialog; + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(WebDialogDelegate) +@protocol FBSDKWebDialogDelegate + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void)webDialog:(FBSDKWebDialog *)webDialog didCompleteWithResults:(NSDictionary *)results; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void)webDialog:(FBSDKWebDialog *)webDialog didFailWithError:(NSError *)error; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void)webDialogDidCancel:(FBSDKWebDialog *)webDialog; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKWebDialogView.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKWebDialogView.h new file mode 100644 index 0000000..b0861b8 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKWebDialogView.h @@ -0,0 +1,39 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +@protocol FBSDKWebDialogViewDelegate; + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(FBWebDialogView) +@interface FBSDKWebDialogView : UIView + +@property (nonatomic, weak) id delegate; + +- (void)loadURL:(NSURL *)URL; +- (void)stopLoading; + +@end + +NS_SWIFT_NAME(WebDialogViewDelegate) +@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 + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKWebViewAppLinkResolver.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKWebViewAppLinkResolver.h new file mode 100644 index 0000000..f1d7dbe --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKWebViewAppLinkResolver.h @@ -0,0 +1,32 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + A reference implementation for an App Link resolver that uses a hidden WKWebView + to parse the HTML containing App Link metadata. + */ +NS_SWIFT_NAME(WebViewAppLinkResolver) +@interface FBSDKWebViewAppLinkResolver : NSObject + +/// Gets the instance of a FBSDKWebViewAppLinkResolver. +@property (class, nonatomic, readonly, strong) FBSDKWebViewAppLinkResolver *sharedInstance +NS_SWIFT_NAME(shared); + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/_FBSDKWindowFinding.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/_FBSDKWindowFinding.h new file mode 100644 index 0000000..a9d946f --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/_FBSDKWindowFinding.h @@ -0,0 +1,36 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_WindowFinding) +@protocol _FBSDKWindowFinding + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (nullable UIWindow *)findWindow; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/__FBSDKLoggerCreating.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/__FBSDKLoggerCreating.h new file mode 100644 index 0000000..a8114b1 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/__FBSDKLoggerCreating.h @@ -0,0 +1,29 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(LoggerCreating) +@protocol __FBSDKLoggerCreating + +- (id)createLoggerWithLoggingBehavior:(FBSDKLoggingBehavior)loggingBehavior; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Info.plist b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Info.plist new file mode 100644 index 0000000..6e0fde9 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Info.plist differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000..6c9b6c8 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000..2106aeb --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -0,0 +1,99 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKCoreKit +@_exported import FBSDKCoreKit +import FBSDKCoreKit_Basics +import Foundation +import Swift +import UIKit +import _Concurrency +extension FBSDKCoreKit.AccessToken { + public var permissions: Swift.Set { + get + } + public var declinedPermissions: Swift.Set { + get + } + public var expiredPermissions: Swift.Set { + get + } + public func hasGranted(_ permission: FBSDKCoreKit.Permission) -> Swift.Bool +} +@objc(FBSDKCAPIReporter) public protocol CAPIReporter { + @objc func enable() + @objc func configure(factory: FBSDKCoreKit.GraphRequestFactoryProtocol, settings: FBSDKCoreKit.SettingsProtocol) + @objc func recordEvent(_ parameters: [Swift.String : Any]) +} +@objc @_inheritsConvenienceInitializers @objcMembers public class FBSDKAppEventsCAPIManager : ObjectiveC.NSObject, FBSDKCoreKit.CAPIReporter { + @objc public static let shared: FBSDKCoreKit.FBSDKAppEventsCAPIManager + @objc override dynamic public init() + @objc public func configure(factory: FBSDKCoreKit.GraphRequestFactoryProtocol, settings: FBSDKCoreKit.SettingsProtocol) + @objc public func enable() + @objc public func recordEvent(_ parameters: [Swift.String : Any]) + @objc deinit +} +@objc @_inheritsConvenienceInitializers @objcMembers public class FBSDKTransformerGraphRequestFactory : ObjectiveC.NSObject { + @objc public static let shared: FBSDKCoreKit.FBSDKTransformerGraphRequestFactory + public var credentials: FBSDKCoreKit.FBSDKTransformerGraphRequestFactory.CapiGCredentials? { + get + } + public struct CapiGCredentials { + public let accessKey: Swift.String + public let capiGatewayURL: Swift.String + public let datasetID: Swift.String + } + @objc override dynamic public init() + @objc public func configure(datasetID: Swift.String, url: Swift.String, accessKey: Swift.String) + @objc public func callCapiGatewayAPI(with parameters: [Swift.String : Any]) + @objc deinit +} +public enum Permission : Swift.Hashable, Swift.ExpressibleByStringLiteral { + case publicProfile + case userFriends + case email + case userAboutMe + case userActionsBooks + case userActionsFitness + case userActionsMusic + case userActionsNews + case userActionsVideo + case userBirthday + case userEducationHistory + case userEvents + case userGamesActivity + case userGender + case userHometown + case userLikes + case userLocation + case userManagedGroups + case userPhotos + case userPosts + case userRelationships + case userRelationshipDetails + case userReligionPolitics + case userTaggedPlaces + case userVideos + case userWebsite + case userWorkHistory + case readCustomFriendlists + case readInsights + case readAudienceNetworkInsights + case readPageMailboxes + case pagesShowList + case pagesManageCta + case pagesManageInstantArticles + case adsRead + case custom(Swift.String) + public init(stringLiteral value: Swift.String) + public var name: Swift.String { + get + } + public func hash(into hasher: inout Swift.Hasher) + public static func == (a: FBSDKCoreKit.Permission, b: FBSDKCoreKit.Permission) -> Swift.Bool + public typealias ExtendedGraphemeClusterLiteralType = Swift.String + public typealias StringLiteralType = Swift.String + public typealias UnicodeScalarLiteralType = Swift.String + public var hashValue: Swift.Int { + get + } +} diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..6c9b6c8 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..2106aeb --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftinterface @@ -0,0 +1,99 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKCoreKit +@_exported import FBSDKCoreKit +import FBSDKCoreKit_Basics +import Foundation +import Swift +import UIKit +import _Concurrency +extension FBSDKCoreKit.AccessToken { + public var permissions: Swift.Set { + get + } + public var declinedPermissions: Swift.Set { + get + } + public var expiredPermissions: Swift.Set { + get + } + public func hasGranted(_ permission: FBSDKCoreKit.Permission) -> Swift.Bool +} +@objc(FBSDKCAPIReporter) public protocol CAPIReporter { + @objc func enable() + @objc func configure(factory: FBSDKCoreKit.GraphRequestFactoryProtocol, settings: FBSDKCoreKit.SettingsProtocol) + @objc func recordEvent(_ parameters: [Swift.String : Any]) +} +@objc @_inheritsConvenienceInitializers @objcMembers public class FBSDKAppEventsCAPIManager : ObjectiveC.NSObject, FBSDKCoreKit.CAPIReporter { + @objc public static let shared: FBSDKCoreKit.FBSDKAppEventsCAPIManager + @objc override dynamic public init() + @objc public func configure(factory: FBSDKCoreKit.GraphRequestFactoryProtocol, settings: FBSDKCoreKit.SettingsProtocol) + @objc public func enable() + @objc public func recordEvent(_ parameters: [Swift.String : Any]) + @objc deinit +} +@objc @_inheritsConvenienceInitializers @objcMembers public class FBSDKTransformerGraphRequestFactory : ObjectiveC.NSObject { + @objc public static let shared: FBSDKCoreKit.FBSDKTransformerGraphRequestFactory + public var credentials: FBSDKCoreKit.FBSDKTransformerGraphRequestFactory.CapiGCredentials? { + get + } + public struct CapiGCredentials { + public let accessKey: Swift.String + public let capiGatewayURL: Swift.String + public let datasetID: Swift.String + } + @objc override dynamic public init() + @objc public func configure(datasetID: Swift.String, url: Swift.String, accessKey: Swift.String) + @objc public func callCapiGatewayAPI(with parameters: [Swift.String : Any]) + @objc deinit +} +public enum Permission : Swift.Hashable, Swift.ExpressibleByStringLiteral { + case publicProfile + case userFriends + case email + case userAboutMe + case userActionsBooks + case userActionsFitness + case userActionsMusic + case userActionsNews + case userActionsVideo + case userBirthday + case userEducationHistory + case userEvents + case userGamesActivity + case userGender + case userHometown + case userLikes + case userLocation + case userManagedGroups + case userPhotos + case userPosts + case userRelationships + case userRelationshipDetails + case userReligionPolitics + case userTaggedPlaces + case userVideos + case userWebsite + case userWorkHistory + case readCustomFriendlists + case readInsights + case readAudienceNetworkInsights + case readPageMailboxes + case pagesShowList + case pagesManageCta + case pagesManageInstantArticles + case adsRead + case custom(Swift.String) + public init(stringLiteral value: Swift.String) + public var name: Swift.String { + get + } + public func hash(into hasher: inout Swift.Hasher) + public static func == (a: FBSDKCoreKit.Permission, b: FBSDKCoreKit.Permission) -> Swift.Bool + public typealias ExtendedGraphemeClusterLiteralType = Swift.String + public typealias StringLiteralType = Swift.String + public typealias UnicodeScalarLiteralType = Swift.String + public var hashValue: Swift.Int { + get + } +} diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000..331f8b1 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000..a934f1a --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -0,0 +1,99 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKCoreKit +@_exported import FBSDKCoreKit +import FBSDKCoreKit_Basics +import Foundation +import Swift +import UIKit +import _Concurrency +extension FBSDKCoreKit.AccessToken { + public var permissions: Swift.Set { + get + } + public var declinedPermissions: Swift.Set { + get + } + public var expiredPermissions: Swift.Set { + get + } + public func hasGranted(_ permission: FBSDKCoreKit.Permission) -> Swift.Bool +} +@objc(FBSDKCAPIReporter) public protocol CAPIReporter { + @objc func enable() + @objc func configure(factory: FBSDKCoreKit.GraphRequestFactoryProtocol, settings: FBSDKCoreKit.SettingsProtocol) + @objc func recordEvent(_ parameters: [Swift.String : Any]) +} +@objc @_inheritsConvenienceInitializers @objcMembers public class FBSDKAppEventsCAPIManager : ObjectiveC.NSObject, FBSDKCoreKit.CAPIReporter { + @objc public static let shared: FBSDKCoreKit.FBSDKAppEventsCAPIManager + @objc override dynamic public init() + @objc public func configure(factory: FBSDKCoreKit.GraphRequestFactoryProtocol, settings: FBSDKCoreKit.SettingsProtocol) + @objc public func enable() + @objc public func recordEvent(_ parameters: [Swift.String : Any]) + @objc deinit +} +@objc @_inheritsConvenienceInitializers @objcMembers public class FBSDKTransformerGraphRequestFactory : ObjectiveC.NSObject { + @objc public static let shared: FBSDKCoreKit.FBSDKTransformerGraphRequestFactory + public var credentials: FBSDKCoreKit.FBSDKTransformerGraphRequestFactory.CapiGCredentials? { + get + } + public struct CapiGCredentials { + public let accessKey: Swift.String + public let capiGatewayURL: Swift.String + public let datasetID: Swift.String + } + @objc override dynamic public init() + @objc public func configure(datasetID: Swift.String, url: Swift.String, accessKey: Swift.String) + @objc public func callCapiGatewayAPI(with parameters: [Swift.String : Any]) + @objc deinit +} +public enum Permission : Swift.Hashable, Swift.ExpressibleByStringLiteral { + case publicProfile + case userFriends + case email + case userAboutMe + case userActionsBooks + case userActionsFitness + case userActionsMusic + case userActionsNews + case userActionsVideo + case userBirthday + case userEducationHistory + case userEvents + case userGamesActivity + case userGender + case userHometown + case userLikes + case userLocation + case userManagedGroups + case userPhotos + case userPosts + case userRelationships + case userRelationshipDetails + case userReligionPolitics + case userTaggedPlaces + case userVideos + case userWebsite + case userWorkHistory + case readCustomFriendlists + case readInsights + case readAudienceNetworkInsights + case readPageMailboxes + case pagesShowList + case pagesManageCta + case pagesManageInstantArticles + case adsRead + case custom(Swift.String) + public init(stringLiteral value: Swift.String) + public var name: Swift.String { + get + } + public func hash(into hasher: inout Swift.Hasher) + public static func == (a: FBSDKCoreKit.Permission, b: FBSDKCoreKit.Permission) -> Swift.Bool + public typealias ExtendedGraphemeClusterLiteralType = Swift.String + public typealias StringLiteralType = Swift.String + public typealias UnicodeScalarLiteralType = Swift.String + public var hashValue: Swift.Int { + get + } +} diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftdoc new file mode 100644 index 0000000..331f8b1 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftinterface new file mode 100644 index 0000000..a934f1a --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftinterface @@ -0,0 +1,99 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKCoreKit +@_exported import FBSDKCoreKit +import FBSDKCoreKit_Basics +import Foundation +import Swift +import UIKit +import _Concurrency +extension FBSDKCoreKit.AccessToken { + public var permissions: Swift.Set { + get + } + public var declinedPermissions: Swift.Set { + get + } + public var expiredPermissions: Swift.Set { + get + } + public func hasGranted(_ permission: FBSDKCoreKit.Permission) -> Swift.Bool +} +@objc(FBSDKCAPIReporter) public protocol CAPIReporter { + @objc func enable() + @objc func configure(factory: FBSDKCoreKit.GraphRequestFactoryProtocol, settings: FBSDKCoreKit.SettingsProtocol) + @objc func recordEvent(_ parameters: [Swift.String : Any]) +} +@objc @_inheritsConvenienceInitializers @objcMembers public class FBSDKAppEventsCAPIManager : ObjectiveC.NSObject, FBSDKCoreKit.CAPIReporter { + @objc public static let shared: FBSDKCoreKit.FBSDKAppEventsCAPIManager + @objc override dynamic public init() + @objc public func configure(factory: FBSDKCoreKit.GraphRequestFactoryProtocol, settings: FBSDKCoreKit.SettingsProtocol) + @objc public func enable() + @objc public func recordEvent(_ parameters: [Swift.String : Any]) + @objc deinit +} +@objc @_inheritsConvenienceInitializers @objcMembers public class FBSDKTransformerGraphRequestFactory : ObjectiveC.NSObject { + @objc public static let shared: FBSDKCoreKit.FBSDKTransformerGraphRequestFactory + public var credentials: FBSDKCoreKit.FBSDKTransformerGraphRequestFactory.CapiGCredentials? { + get + } + public struct CapiGCredentials { + public let accessKey: Swift.String + public let capiGatewayURL: Swift.String + public let datasetID: Swift.String + } + @objc override dynamic public init() + @objc public func configure(datasetID: Swift.String, url: Swift.String, accessKey: Swift.String) + @objc public func callCapiGatewayAPI(with parameters: [Swift.String : Any]) + @objc deinit +} +public enum Permission : Swift.Hashable, Swift.ExpressibleByStringLiteral { + case publicProfile + case userFriends + case email + case userAboutMe + case userActionsBooks + case userActionsFitness + case userActionsMusic + case userActionsNews + case userActionsVideo + case userBirthday + case userEducationHistory + case userEvents + case userGamesActivity + case userGender + case userHometown + case userLikes + case userLocation + case userManagedGroups + case userPhotos + case userPosts + case userRelationships + case userRelationshipDetails + case userReligionPolitics + case userTaggedPlaces + case userVideos + case userWebsite + case userWorkHistory + case readCustomFriendlists + case readInsights + case readAudienceNetworkInsights + case readPageMailboxes + case pagesShowList + case pagesManageCta + case pagesManageInstantArticles + case adsRead + case custom(Swift.String) + public init(stringLiteral value: Swift.String) + public var name: Swift.String { + get + } + public func hash(into hasher: inout Swift.Hasher) + public static func == (a: FBSDKCoreKit.Permission, b: FBSDKCoreKit.Permission) -> Swift.Bool + public typealias ExtendedGraphemeClusterLiteralType = Swift.String + public typealias StringLiteralType = Swift.String + public typealias UnicodeScalarLiteralType = Swift.String + public var hashValue: Swift.Int { + get + } +} diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/module.modulemap b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/module.modulemap new file mode 100644 index 0000000..f951cee --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module FBSDKCoreKit { + umbrella header "FBSDKCoreKit.h" + + export * + module * { export * } +} + +module FBSDKCoreKit.Swift { + header "FBSDKCoreKit-Swift.h" + requires objc +} diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/_CodeSignature/CodeDirectory b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/_CodeSignature/CodeDirectory new file mode 100644 index 0000000..a087aea Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/_CodeSignature/CodeDirectory differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/_CodeSignature/CodeRequirements b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/_CodeSignature/CodeRequirements new file mode 100644 index 0000000..dbf9d61 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/_CodeSignature/CodeRequirements differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/_CodeSignature/CodeRequirements-1 b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/_CodeSignature/CodeRequirements-1 new file mode 100644 index 0000000..db9d346 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/_CodeSignature/CodeRequirements-1 differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/_CodeSignature/CodeResources b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/_CodeSignature/CodeResources new file mode 100644 index 0000000..64cc217 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/_CodeSignature/CodeResources @@ -0,0 +1,1887 @@ + + + + + files + + Headers/FBSDKAccessToken.h + + Zwalh7WGm73EGYq6r0hOtY6TVyM= + + Headers/FBSDKAccessTokenProtocols.h + + QpJzB6oI1x1D3M0cC8Yw7FSuwKg= + + Headers/FBSDKAdvertisingTrackingStatus.h + + s2/tT+xSXPH4xXaQ+yW41JtgT58= + + Headers/FBSDKAppAvailabilityChecker.h + + Wyf9l4OPVlNw4rmgihSwsLLXekY= + + Headers/FBSDKAppEventName.h + + EU49DFEvgz3pfVKd2Gh6GcVz19w= + + Headers/FBSDKAppEventParameterName.h + + jMPwz6fdms/XUiUDkGZXO8LsEPs= + + Headers/FBSDKAppEventParameterProduct.h + + r+KeRcYNIPkXBrMbyUHT2wI7s9Y= + + Headers/FBSDKAppEventParameterValue.h + + 040yhBlHKamIDlwNu0ImpgLTCqc= + + Headers/FBSDKAppEventUserDataType.h + + A3lEI7gxtNx4AHoXWeE0s7u1zK8= + + Headers/FBSDKAppEvents.h + + ZabZwehtvq6nno9KnlPUHOfoXSA= + + Headers/FBSDKAppEventsFlushBehavior.h + + tGoQfvz6uAy5DjnhPnzX/Ai2vl4= + + Headers/FBSDKAppEventsNotificationName.h + + y7c3PKWx/w77oSbeugClHIvTMS8= + + Headers/FBSDKAppLink.h + + 5EIxpe89PDf7uNARo4Jy4QH+Qo4= + + Headers/FBSDKAppLinkNavigation.h + + RY5XtfOnoyCwcpgHKJiSeuMPBIA= + + Headers/FBSDKAppLinkResolver.h + + 7sO6Yn5KZcxXlo5Y+w+lhkolKk8= + + Headers/FBSDKAppLinkResolving.h + + vW0iP2TWioh9F2xVFhjb96AWH/M= + + Headers/FBSDKAppLinkTarget.h + + Jv4V7jimmNWdukOakiI+cOXPRTU= + + Headers/FBSDKAppLinkTargetProtocol.h + + KjpJOKaE7Hu4fZ/kcuexDfd7h/E= + + Headers/FBSDKAppLinkUtility.h + + eg8m/+VYcUPPXnNT1s5tbmf4z60= + + Headers/FBSDKAppURLSchemeProviding.h + + G7H5ArEaw56tAdukKkeFnHJW3yM= + + Headers/FBSDKApplicationDelegate.h + + ffAxY4yzMyaQxX1xI1pkYmGpaa0= + + Headers/FBSDKApplicationObserving.h + + E5Ew6Wmyl//0dt7F2wSyYMbL8Uc= + + Headers/FBSDKAuthenticationToken.h + + 8MSOJbkw+GYK17UVaHITUogBFow= + + Headers/FBSDKAuthenticationTokenClaims.h + + xojLcwuGpunIQjN3S1ntX2IxWxk= + + Headers/FBSDKAuthenticationTokenProtocols.h + + ll9VzBIGgFDag+gJiL8CfwN8Vmc= + + Headers/FBSDKBridgeAPI.h + + I5hqZr4+zcVZsAmHsy4JSL1Fgt8= + + Headers/FBSDKBridgeAPIProtocol.h + + MsZsfhF27cV7UwnA9wtLWKut7x8= + + Headers/FBSDKBridgeAPIProtocolType.h + + DblZg5KWlfoY7uhozPWbR8A+C+Q= + + Headers/FBSDKBridgeAPIRequest.h + + /49KetCwFynSQPcoa2fwqdM6WCU= + + Headers/FBSDKBridgeAPIRequestCreating.h + + fSrgRjXiEf48iO5SW4tUzCK4Dfw= + + Headers/FBSDKBridgeAPIRequestOpening.h + + +Du1Slb3MvBO9hnallcqMyu0oAw= + + Headers/FBSDKBridgeAPIRequestProtocol.h + + QvIJ69YhObUzXyvQTDogepJbLIY= + + Headers/FBSDKBridgeAPIResponse.h + + 0xHREU5UN9V2806Plbv9YnZCtvo= + + Headers/FBSDKButton.h + + Q5s1g6x77uecqksyNP9YvwAxGKo= + + Headers/FBSDKButtonImpressionLogging.h + + LsVpQhR6smaHCPnF/ITEWiKGkKA= + + Headers/FBSDKConstants.h + + 8uLZKrsuXsxVHJGVSrF1lCoNawo= + + Headers/FBSDKCoreKit-Swift.h + + fu059kzrvFABk/Ncld4vk4y9vUI= + + Headers/FBSDKCoreKit.h + + rSB/5qnmwQ/YfcHSajkFConHwuI= + + Headers/FBSDKCoreKitVersions.h + + 5h80jtLpxKnIOkErVQzQ9esYVVM= + + Headers/FBSDKDeviceButton.h + + 4LIheHz+TKvNTDHMFLx9U5N9muI= + + Headers/FBSDKDeviceDialogView.h + + 0aubj8CDlLTz/o8MfbxQrck/VQs= + + Headers/FBSDKDeviceViewControllerBase.h + + 9d5jpsDwPq4ZpbCHYzNDectdVyE= + + Headers/FBSDKDynamicFrameworkLoaderProxy.h + + gQze+1wXFmg8HHDE0Ba4/AdlSbk= + + Headers/FBSDKDynamicSocialFrameworkLoader.h + + VkK7+4REIGtAPH/eFKxy/bj9hQ0= + + Headers/FBSDKErrorCreating.h + + hSTHauBFdEYzYLgpazD8Nu2mbvA= + + Headers/FBSDKErrorFactory.h + + BbwtPEHEtIq6FGLxlzJ+93hv4XU= + + Headers/FBSDKErrorRecoveryAttempting.h + + r3mkBDHcKe63UzmZCJLFEisXL3I= + + Headers/FBSDKFeature.h + + oi8Vqy8v5+vpnJjJcnkEXSeEshQ= + + Headers/FBSDKFeatureChecking.h + + rYTkx84W03mL0rrno4sthw6poiM= + + Headers/FBSDKGraphErrorRecoveryProcessor.h + + /3AE6n6eta/pkvOIaQ5ZDZrxIwc= + + Headers/FBSDKGraphRequest.h + + mDiia1xQGNDzGWkoO2IrQrHcVCo= + + Headers/FBSDKGraphRequestConnecting.h + + paaU79+o3FwlCqzfosIGlXZTwL4= + + Headers/FBSDKGraphRequestConnection.h + + ZCtXBvpuATZKAZvJLOo9h5KrckA= + + Headers/FBSDKGraphRequestConnectionDelegate.h + + FSHiVcHDpJTlfdfBczQNHtjDJ8s= + + Headers/FBSDKGraphRequestConnectionFactory.h + + gAfT3DO/vuTTlEaJPEP8hL5P3Eo= + + Headers/FBSDKGraphRequestConnectionFactoryProtocol.h + + A26a5H79Zb1dRO6YHMFB4DbS+D8= + + Headers/FBSDKGraphRequestDataAttachment.h + + 7vvCqPiZp4o6JKVaJJ4FP9XkXKE= + + Headers/FBSDKGraphRequestFactory.h + + lAwX1CKv5VHiJ07/xZZylICOdg4= + + Headers/FBSDKGraphRequestFactoryProtocol.h + + Nz3K53RPMCO3ckDCvhJoBJ9TIKI= + + Headers/FBSDKGraphRequestFlags.h + + Zas2ccUoNaCrjUffAdLC6TmKLWs= + + Headers/FBSDKGraphRequestHTTPMethod.h + + sF4WT7ko2ZXuQ91thBewwSb29Cc= + + Headers/FBSDKGraphRequestProtocol.h + + E72bbJ8BaX/EV/so4aPEeaLRTkY= + + Headers/FBSDKIcon.h + + nSUcEGcswYAb2H/1Kk1Ibii38sQ= + + Headers/FBSDKImpressionLoggingButton.h + + aaainoJHYRbRmab8MpwHmrU4hVo= + + Headers/FBSDKInternalUtility.h + + SGKxlebDOswyK9ij4YkNeiS+jmM= + + Headers/FBSDKInternalUtilityProtocol.h + + Fv2HZA8YkLc1F/996f+/OhkAzZM= + + Headers/FBSDKKeychainStore.h + + VSfBFlzguwgAJhVey77PM3TiKzI= + + Headers/FBSDKKeychainStoreFactory.h + + EokxqDkQxYQBz5YnFwcqJvVKd8I= + + Headers/FBSDKKeychainStoreProtocol.h + + Vl4nIrUwT7cqcjwlXymbPkKUVDo= + + Headers/FBSDKKeychainStoreProviding.h + + mIeRZ1Khyvf/6V2HXI3+7c15XfU= + + Headers/FBSDKLocation.h + + lVldFN//gmPckkWOntm6/lMe0QE= + + Headers/FBSDKLogger.h + + rtRqjTXsaZXv5x8H14rMIs3g7Gk= + + Headers/FBSDKLogging.h + + /DbryGZcqEQACAktvCjPjV6SDG4= + + Headers/FBSDKLoggingBehavior.h + + 2RipnoPNHjzmVyzHpZjxsO+csE0= + + Headers/FBSDKLoginTooltip.h + + t9qlwGoUeyWhxDfXE8Ky6RnF/gg= + + Headers/FBSDKMeasurementEvent.h + + iDxUikYGmDa2FVGCbslgxrjwXLA= + + Headers/FBSDKMutableCopying.h + + CdAKmAi79FHfugMUCBcou38XjyY= + + Headers/FBSDKNetworkErrorChecker.h + + lc4ltIsnGN0wefVKZeW3BTQqt8o= + + Headers/FBSDKNetworkErrorChecking.h + + DQOOpk+tae6sTARv6zgYkUNQv+4= + + Headers/FBSDKProductAvailability.h + + 4z6lAOLiyG+H6sMmuDzBXlrBO4Q= + + Headers/FBSDKProductCondition.h + + p2M86R+0XjuIIHBALGh4qHhF0sg= + + Headers/FBSDKProfile.h + + a1wf8Hf9JZZ6hWCfCShWPzBo7hk= + + Headers/FBSDKProfilePictureView.h + + Ha1FZWHpTkpVErTLPsBp8dmIzFY= + + Headers/FBSDKProfileProtocols.h + + osJIfxC8jjnWg+nZiIydGspDpKo= + + Headers/FBSDKRandom.h + + R8FED9YvoEocX/AhmRTKcVPRw2o= + + Headers/FBSDKServerConfigurationProvider.h + + AhAGmLml8AEa2qhdMA2aHiBseRk= + + Headers/FBSDKSettings.h + + R6dyUp+m+ea3r1bDBUkuxV3X6AY= + + Headers/FBSDKSettingsLogging.h + + j4NKiO1um7BzI27sPShA+WNNV6E= + + Headers/FBSDKSettingsProtocol.h + + QogmjQBweHFkUWSIRYsBQvR4gHE= + + Headers/FBSDKShareDialogConfiguration.h + + WPPtv+9HV+w3NbzlQBfQDXQ6qlQ= + + Headers/FBSDKTokenCaching.h + + Y9D8zDMXaiaJEPNG6yqmuv8sdxU= + + Headers/FBSDKTokenStringProviding.h + + 1ULLCT9qWhm7HkrSyND4RJwRF6Y= + + Headers/FBSDKTransformer.h + + Ui2GFPACS7T6kK9LcCLcdJyCYyo= + + Headers/FBSDKURL.h + + d5KoDUOKDIKe8CdBCFa5iFYqMyQ= + + Headers/FBSDKURLHosting.h + + t5Vuvclz3txsOHO/DxRweisyVC8= + + Headers/FBSDKURLOpener.h + + A0FSD5yqJH1esXZTdJ5le57N30Q= + + Headers/FBSDKURLOpening.h + + ExR8Hwm+b4hQrM+eFZoUR3yLS1U= + + Headers/FBSDKURLScheme.h + + 36HfFNYLwWfRajDYFDJeNZe/evc= + + Headers/FBSDKUserAgeRange.h + + eRyqSxEieMcqdjv0yKXNIDnmRIg= + + Headers/FBSDKUtility.h + + ACK+e48w6WLwZDhZT9VIaXDWTlk= + + Headers/FBSDKWebDialog.h + + s8cqZqq/NcQyFzujtEc+0qtxxx0= + + Headers/FBSDKWebDialogDelegate.h + + Chc8NMEwHSvrQkghQPV6O7rBAW8= + + Headers/FBSDKWebDialogView.h + + hui2sUnpJKWcSpt107HTbPs4cps= + + Headers/FBSDKWebViewAppLinkResolver.h + + jEC9UH9Inm7DYqoFZv2qaN3Pe14= + + Headers/_FBSDKWindowFinding.h + + Gac9mAAYHny41SRhpW53CbfSo2s= + + Headers/__FBSDKLoggerCreating.h + + y1VVRA/XNhhKMaoTUc/66smvRqI= + + Info.plist + + lltDqe3Ami3QR7sP8HyMXHOd1Nk= + + Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + xxy9Zg411X2b8tgLXwG0d+q8HJs= + + Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + MCNnHOKeoDSKGaOUJPZHqNwX8as= + + Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + U1YB4ZwVD/iT+2nKP/SXuY7HVC8= + + Modules/FBSDKCoreKit.swiftmodule/arm64.swiftdoc + + xxy9Zg411X2b8tgLXwG0d+q8HJs= + + Modules/FBSDKCoreKit.swiftmodule/arm64.swiftinterface + + MCNnHOKeoDSKGaOUJPZHqNwX8as= + + Modules/FBSDKCoreKit.swiftmodule/arm64.swiftmodule + + U1YB4ZwVD/iT+2nKP/SXuY7HVC8= + + Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + W8QJ2rBBxhqbEZ8A1qLxEMiXjcs= + + Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + qMKtG8LoKGyhsXiGztt/a/hSzPQ= + + Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule + + 4MbDY0gj4SbSSa2pcWxhp43Gufo= + + Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftdoc + + W8QJ2rBBxhqbEZ8A1qLxEMiXjcs= + + Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftinterface + + qMKtG8LoKGyhsXiGztt/a/hSzPQ= + + Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftmodule + + 4MbDY0gj4SbSSa2pcWxhp43Gufo= + + Modules/module.modulemap + + dqxVNYXT9nBvFc3sI+M8nUrDXuA= + + + files2 + + Headers/FBSDKAccessToken.h + + hash + + Zwalh7WGm73EGYq6r0hOtY6TVyM= + + hash2 + + 1HuXQBYX9e+yfKLIyhwED67a3VCkpra3DxlLwws0NvA= + + + Headers/FBSDKAccessTokenProtocols.h + + hash + + QpJzB6oI1x1D3M0cC8Yw7FSuwKg= + + hash2 + + VuMGgje9C8CglYD1qDMt29vcNIUBUZlTAdNo+qvSeXM= + + + Headers/FBSDKAdvertisingTrackingStatus.h + + hash + + s2/tT+xSXPH4xXaQ+yW41JtgT58= + + hash2 + + pj5HBFKU2AJRVkryxLDxsNyV+Hq0vhsL7ESLeXA7gco= + + + Headers/FBSDKAppAvailabilityChecker.h + + hash + + Wyf9l4OPVlNw4rmgihSwsLLXekY= + + hash2 + + WCKAfRQSLZ76amGNcy7D85Zr0FqbK3yqgD2x9Q2KMVc= + + + Headers/FBSDKAppEventName.h + + hash + + EU49DFEvgz3pfVKd2Gh6GcVz19w= + + hash2 + + qlGcgxs7AVCOJpK7+czagW3XaPQIdPFE23qdql2xK3s= + + + Headers/FBSDKAppEventParameterName.h + + hash + + jMPwz6fdms/XUiUDkGZXO8LsEPs= + + hash2 + + P5BcIc7FNHua2MKnE3mmflQlvvdqk25zXugjGZGRhJk= + + + Headers/FBSDKAppEventParameterProduct.h + + hash + + r+KeRcYNIPkXBrMbyUHT2wI7s9Y= + + hash2 + + FIPXmw+JMv7bBSbF0zhfVC2Ib03Sx9JYrwjlNp1XInI= + + + Headers/FBSDKAppEventParameterValue.h + + hash + + 040yhBlHKamIDlwNu0ImpgLTCqc= + + hash2 + + Q2olYJJI/DN976h566Nwy3D+obhtAQAKHOJ5lKeTfm8= + + + Headers/FBSDKAppEventUserDataType.h + + hash + + A3lEI7gxtNx4AHoXWeE0s7u1zK8= + + hash2 + + 7pjsRgcXBeV8tJeLjrQvQ/3ZBmzY9k086Z46TsArMag= + + + Headers/FBSDKAppEvents.h + + hash + + ZabZwehtvq6nno9KnlPUHOfoXSA= + + hash2 + + /dqfqBWS1XAnIVpkJtTdrw+vGtx3hEWCNfcr96cZ7rU= + + + Headers/FBSDKAppEventsFlushBehavior.h + + hash + + tGoQfvz6uAy5DjnhPnzX/Ai2vl4= + + hash2 + + iUxqEKL4pmF7f47Qul2Oe8QI0MjDPnOn3VhWjVQWe90= + + + Headers/FBSDKAppEventsNotificationName.h + + hash + + y7c3PKWx/w77oSbeugClHIvTMS8= + + hash2 + + 7JmzpHhHPCXS4WcGYrhN2g1u5YXUgR/ltWdRyfv8l0I= + + + Headers/FBSDKAppLink.h + + hash + + 5EIxpe89PDf7uNARo4Jy4QH+Qo4= + + hash2 + + g/IxfDNhT5FlzCFaIqj87XZGnrfTh/0pcEjCqf8dc+Y= + + + Headers/FBSDKAppLinkNavigation.h + + hash + + RY5XtfOnoyCwcpgHKJiSeuMPBIA= + + hash2 + + 2CTZLIVldVIEEyp7qR0dEELZmUYjxrNoSe2J/m1affQ= + + + Headers/FBSDKAppLinkResolver.h + + hash + + 7sO6Yn5KZcxXlo5Y+w+lhkolKk8= + + hash2 + + 8aNQx4mlqNBxl/I9nP8S50yHG6KvLKKNYr2AOITTlko= + + + Headers/FBSDKAppLinkResolving.h + + hash + + vW0iP2TWioh9F2xVFhjb96AWH/M= + + hash2 + + qb3BIqDSak/QEJVHaa0UyJE2SIhRWJTvILOUETHKNbU= + + + Headers/FBSDKAppLinkTarget.h + + hash + + Jv4V7jimmNWdukOakiI+cOXPRTU= + + hash2 + + irWS1LgTXSXbrL6LszL/lt6uruZKKTG4ZIR+JPSYy5s= + + + Headers/FBSDKAppLinkTargetProtocol.h + + hash + + KjpJOKaE7Hu4fZ/kcuexDfd7h/E= + + hash2 + + xRIohRLTU/DyWAlvJeGXzuTsyj3d0Pb9Erqu0nLl2Qo= + + + Headers/FBSDKAppLinkUtility.h + + hash + + eg8m/+VYcUPPXnNT1s5tbmf4z60= + + hash2 + + TbJ3O5YJdrGHT7yvN5AV2LwUY7TCwYXzOU8UkYqesEU= + + + Headers/FBSDKAppURLSchemeProviding.h + + hash + + G7H5ArEaw56tAdukKkeFnHJW3yM= + + hash2 + + o9vW113QSBrXeTu8w1RgrMfMpi3Li+ZHpavPt/xYGa4= + + + Headers/FBSDKApplicationDelegate.h + + hash + + ffAxY4yzMyaQxX1xI1pkYmGpaa0= + + hash2 + + PwSs6xMf/ybhlatFk/DLtcVQSIsuPncA99fqc9Q7QBc= + + + Headers/FBSDKApplicationObserving.h + + hash + + E5Ew6Wmyl//0dt7F2wSyYMbL8Uc= + + hash2 + + I09jTNQCgePthHc0fW/okp1bhMUx7+PPWoHkC8vl+Ls= + + + Headers/FBSDKAuthenticationToken.h + + hash + + 8MSOJbkw+GYK17UVaHITUogBFow= + + hash2 + + vMJ3N8rqdWY+q5wZWX5vjz3+YpiIueuJEVZ63TxUS6s= + + + Headers/FBSDKAuthenticationTokenClaims.h + + hash + + xojLcwuGpunIQjN3S1ntX2IxWxk= + + hash2 + + aBU/e5udieGDwDgz+qcP4zTL0e86m4akTzjoHIZViY4= + + + Headers/FBSDKAuthenticationTokenProtocols.h + + hash + + ll9VzBIGgFDag+gJiL8CfwN8Vmc= + + hash2 + + 9hunZocu2ArA/iddd/8a9xWZwt0gHDZPA7mNEhsFEgQ= + + + Headers/FBSDKBridgeAPI.h + + hash + + I5hqZr4+zcVZsAmHsy4JSL1Fgt8= + + hash2 + + /VHa8dL7WXWTHDTBxYJJ/126TykZLdGDcG5xOUHAbIg= + + + Headers/FBSDKBridgeAPIProtocol.h + + hash + + MsZsfhF27cV7UwnA9wtLWKut7x8= + + hash2 + + X+z7XuqGNwH+3YPu+QB5WCsbNcdIaK5qh1sdLvUKelY= + + + Headers/FBSDKBridgeAPIProtocolType.h + + hash + + DblZg5KWlfoY7uhozPWbR8A+C+Q= + + hash2 + + A5XYnc2oBVddlLz3wGiibtMvO6i/A+82gXL5XY+AsgA= + + + Headers/FBSDKBridgeAPIRequest.h + + hash + + /49KetCwFynSQPcoa2fwqdM6WCU= + + hash2 + + skJUk4euPJRaKtWFNSusDh5VCs+v8OI5CRiaykPJyNw= + + + Headers/FBSDKBridgeAPIRequestCreating.h + + hash + + fSrgRjXiEf48iO5SW4tUzCK4Dfw= + + hash2 + + NX+gToQ0lPJ7TSH2qMy4mIDEYMYzkZhwyZbP0XvC1iI= + + + Headers/FBSDKBridgeAPIRequestOpening.h + + hash + + +Du1Slb3MvBO9hnallcqMyu0oAw= + + hash2 + + s2lyojY76IEBtZow3eRPQRAb8vLKp8C63M/45OEbA1I= + + + Headers/FBSDKBridgeAPIRequestProtocol.h + + hash + + QvIJ69YhObUzXyvQTDogepJbLIY= + + hash2 + + zXyn4IrEQSs/K0vIuWaHZHWeYSHJfjrS2xjq3hrHThs= + + + Headers/FBSDKBridgeAPIResponse.h + + hash + + 0xHREU5UN9V2806Plbv9YnZCtvo= + + hash2 + + VpEoCY99wbTWk0mTFsof9zSkSb9JK0bc0ty0LHM0GGE= + + + Headers/FBSDKButton.h + + hash + + Q5s1g6x77uecqksyNP9YvwAxGKo= + + hash2 + + VGY0AU3C6L7ZwTarF+0BOGRkeoqOQcLDpxQJ6sRMJXY= + + + Headers/FBSDKButtonImpressionLogging.h + + hash + + LsVpQhR6smaHCPnF/ITEWiKGkKA= + + hash2 + + pShKA3myYUve8S5W/TI08BTWmhPh0RgoZQ6lY9c5S9g= + + + Headers/FBSDKConstants.h + + hash + + 8uLZKrsuXsxVHJGVSrF1lCoNawo= + + hash2 + + LxzBWAAzRjmjvoPtHtvZHe66BnfzV1RlnGfB8ljOYVA= + + + Headers/FBSDKCoreKit-Swift.h + + hash + + fu059kzrvFABk/Ncld4vk4y9vUI= + + hash2 + + 926NIy8nLmTFB9VLIZvz3MlJF/PLsp2Zl2P9Gwl6mXc= + + + Headers/FBSDKCoreKit.h + + hash + + rSB/5qnmwQ/YfcHSajkFConHwuI= + + hash2 + + wiDLJIdGwhq62RT8NUGC9H3Ji6WVgPCTE3q7FTMneJw= + + + Headers/FBSDKCoreKitVersions.h + + hash + + 5h80jtLpxKnIOkErVQzQ9esYVVM= + + hash2 + + KZ7nwRhL5CEca+znQ0DVoRblUrDBB2r4A/rsTIAq9m8= + + + Headers/FBSDKDeviceButton.h + + hash + + 4LIheHz+TKvNTDHMFLx9U5N9muI= + + hash2 + + jraVs1muJpXk8r7ljiHH2+6sCGrZ0j+17u95Jn5xgKM= + + + Headers/FBSDKDeviceDialogView.h + + hash + + 0aubj8CDlLTz/o8MfbxQrck/VQs= + + hash2 + + 5SsLAz81rfMji3a9qaEVQ9gWESKGuH6ziUaSTA4K+k4= + + + Headers/FBSDKDeviceViewControllerBase.h + + hash + + 9d5jpsDwPq4ZpbCHYzNDectdVyE= + + hash2 + + 996f3WvoxwknKnreRc5JpTLQcUB27LR5tq5tV3qRHe0= + + + Headers/FBSDKDynamicFrameworkLoaderProxy.h + + hash + + gQze+1wXFmg8HHDE0Ba4/AdlSbk= + + hash2 + + DKzc5A2VHGjb5zjiW11FfYE+be1Je5rxetWvpGpLWP8= + + + Headers/FBSDKDynamicSocialFrameworkLoader.h + + hash + + VkK7+4REIGtAPH/eFKxy/bj9hQ0= + + hash2 + + I6uYOLsEUDxk7HKK39oiWyshO9sP8I6Ul2aPS4AGbaM= + + + Headers/FBSDKErrorCreating.h + + hash + + hSTHauBFdEYzYLgpazD8Nu2mbvA= + + hash2 + + J1rXYSPoy877pIwlZKDP6n/b3DufexQeIl0pOymmYVY= + + + Headers/FBSDKErrorFactory.h + + hash + + BbwtPEHEtIq6FGLxlzJ+93hv4XU= + + hash2 + + PwxuvjiaBR9QpRJl5SjDI8lRM5aDTxvbBAloH4txjBs= + + + Headers/FBSDKErrorRecoveryAttempting.h + + hash + + r3mkBDHcKe63UzmZCJLFEisXL3I= + + hash2 + + bbQLx2KLum7BokOQzq6eMFMcPRKyQgeSJyYi567SqfQ= + + + Headers/FBSDKFeature.h + + hash + + oi8Vqy8v5+vpnJjJcnkEXSeEshQ= + + hash2 + + Yhm/pHM7ISu9kydXaHMtqHPBvvrmM/scVpvj5OfXQ24= + + + Headers/FBSDKFeatureChecking.h + + hash + + rYTkx84W03mL0rrno4sthw6poiM= + + hash2 + + QtYErERzFYGRmUpt4HXd8p062xQtrNl5l+J2nUhhc1k= + + + Headers/FBSDKGraphErrorRecoveryProcessor.h + + hash + + /3AE6n6eta/pkvOIaQ5ZDZrxIwc= + + hash2 + + boW9M+T41fcjt/4pL+1wAI0jjDX2bGoZKHNSOiS3GCA= + + + Headers/FBSDKGraphRequest.h + + hash + + mDiia1xQGNDzGWkoO2IrQrHcVCo= + + hash2 + + cObAdeSuYo3AG0Il/A6PknPlmQQkmsy8p6wzTTeJnFc= + + + Headers/FBSDKGraphRequestConnecting.h + + hash + + paaU79+o3FwlCqzfosIGlXZTwL4= + + hash2 + + ly7JyuRHRTif+4dhHHyNJrgci4jYJ1SPobEAWFdeBG8= + + + Headers/FBSDKGraphRequestConnection.h + + hash + + ZCtXBvpuATZKAZvJLOo9h5KrckA= + + hash2 + + ZbfPRx7gmcdeVKVyDE+cliM8ehWUJBPao1Kbkzn0Xv8= + + + Headers/FBSDKGraphRequestConnectionDelegate.h + + hash + + FSHiVcHDpJTlfdfBczQNHtjDJ8s= + + hash2 + + pbeIgtjILQ+9lWJviGFFqpO8IqXWnVf2DQ094YKDKMY= + + + Headers/FBSDKGraphRequestConnectionFactory.h + + hash + + gAfT3DO/vuTTlEaJPEP8hL5P3Eo= + + hash2 + + xgTvIuiH3O0GP4dAfx+lVweVvj/3VUFzk/ZwDkEd6UM= + + + Headers/FBSDKGraphRequestConnectionFactoryProtocol.h + + hash + + A26a5H79Zb1dRO6YHMFB4DbS+D8= + + hash2 + + ZSBkNkUs6k4hh3lOO6aa5+j5kuh9vwSm6BTbH++KEH4= + + + Headers/FBSDKGraphRequestDataAttachment.h + + hash + + 7vvCqPiZp4o6JKVaJJ4FP9XkXKE= + + hash2 + + rrQm0dv7u0VNuBOOr4bOsLq22U2VRKN5+/8z8dvg8ac= + + + Headers/FBSDKGraphRequestFactory.h + + hash + + lAwX1CKv5VHiJ07/xZZylICOdg4= + + hash2 + + VHji6+eQJ/noGhXoav1+rDhYGkeNSPac5f3JMIMO4OQ= + + + Headers/FBSDKGraphRequestFactoryProtocol.h + + hash + + Nz3K53RPMCO3ckDCvhJoBJ9TIKI= + + hash2 + + 4EdOx1EfPwkCg86SDjtSacKJozvb0RRnJZ19a7qirAA= + + + Headers/FBSDKGraphRequestFlags.h + + hash + + Zas2ccUoNaCrjUffAdLC6TmKLWs= + + hash2 + + QaBxTTw493IFQLv0fwkhBkWu57wAPkAZ/fexBSmcWuA= + + + Headers/FBSDKGraphRequestHTTPMethod.h + + hash + + sF4WT7ko2ZXuQ91thBewwSb29Cc= + + hash2 + + s/ZdV1PYtfb+e5MToTE5eWQ/g8Ea8Lfbn1y5cPXIois= + + + Headers/FBSDKGraphRequestProtocol.h + + hash + + E72bbJ8BaX/EV/so4aPEeaLRTkY= + + hash2 + + GDWolFR0Dj6corFdcjDQZdk7rfU0AEPiBD4Ij/x0efk= + + + Headers/FBSDKIcon.h + + hash + + nSUcEGcswYAb2H/1Kk1Ibii38sQ= + + hash2 + + +bRm7DWEBj2Qs6f5L8UwS8K4WF3DXn9C+47shPYf33Q= + + + Headers/FBSDKImpressionLoggingButton.h + + hash + + aaainoJHYRbRmab8MpwHmrU4hVo= + + hash2 + + YdoyQtxZm0tnh9jsgEZSnzReYlue+nwzRR4z3AsUkdg= + + + Headers/FBSDKInternalUtility.h + + hash + + SGKxlebDOswyK9ij4YkNeiS+jmM= + + hash2 + + ITLHu17JQHXN5BRP/aB0T2nlEkV6l8gADgjDCHMcOm0= + + + Headers/FBSDKInternalUtilityProtocol.h + + hash + + Fv2HZA8YkLc1F/996f+/OhkAzZM= + + hash2 + + mbZQDpstOa8EgXL6i2KXC/6Al3EIoKxJT0wqzk2UNfs= + + + Headers/FBSDKKeychainStore.h + + hash + + VSfBFlzguwgAJhVey77PM3TiKzI= + + hash2 + + sQGCel/07cMPMZI0kl8wscwPV9WL/JIYf1ns0PSf8v0= + + + Headers/FBSDKKeychainStoreFactory.h + + hash + + EokxqDkQxYQBz5YnFwcqJvVKd8I= + + hash2 + + la/OM0KnLr35SmfD02P88Sr62T2F8+uRVF/wDtbdfSw= + + + Headers/FBSDKKeychainStoreProtocol.h + + hash + + Vl4nIrUwT7cqcjwlXymbPkKUVDo= + + hash2 + + XNfcYyJYq69j5eL0ARtTlzkh8SdVCq+G/s9eY4Pd8O8= + + + Headers/FBSDKKeychainStoreProviding.h + + hash + + mIeRZ1Khyvf/6V2HXI3+7c15XfU= + + hash2 + + N5iX620VVuEnU9MNl/truAcPdvE78EoCZ13WK/XGM7w= + + + Headers/FBSDKLocation.h + + hash + + lVldFN//gmPckkWOntm6/lMe0QE= + + hash2 + + 4VM07vWgUKPPsLEMLF29hXYKIHBkc9vETSX506Z++Uw= + + + Headers/FBSDKLogger.h + + hash + + rtRqjTXsaZXv5x8H14rMIs3g7Gk= + + hash2 + + Qfqspxm3/sPBdO0HFJAKtqdycEFIM/L2eebvKieQ5F4= + + + Headers/FBSDKLogging.h + + hash + + /DbryGZcqEQACAktvCjPjV6SDG4= + + hash2 + + IvKTyTv5bHSAJcZqLwaHR/lW5CFnjIggFOzHMRDWMk4= + + + Headers/FBSDKLoggingBehavior.h + + hash + + 2RipnoPNHjzmVyzHpZjxsO+csE0= + + hash2 + + 4aOXHNufAYanMkOEmfMy+Os4pKJrcNj1FhZ5sT1dlwA= + + + Headers/FBSDKLoginTooltip.h + + hash + + t9qlwGoUeyWhxDfXE8Ky6RnF/gg= + + hash2 + + C6wHDAq5ukwucR1FkTnnq3ucsw6y7GR9wDadgB3zHZY= + + + Headers/FBSDKMeasurementEvent.h + + hash + + iDxUikYGmDa2FVGCbslgxrjwXLA= + + hash2 + + pQsOL0XS7oLwroR3nl+OX9iQElmW8sTnvwrqKgbgoas= + + + Headers/FBSDKMutableCopying.h + + hash + + CdAKmAi79FHfugMUCBcou38XjyY= + + hash2 + + 9WETC6Qraw3B3QY90JfYu/elsAnM/L40JTEsRAOO+hQ= + + + Headers/FBSDKNetworkErrorChecker.h + + hash + + lc4ltIsnGN0wefVKZeW3BTQqt8o= + + hash2 + + mQPfqbSnxLTJW64KKhoGcZPQYNTYQABLzG1AZ2hcTSs= + + + Headers/FBSDKNetworkErrorChecking.h + + hash + + DQOOpk+tae6sTARv6zgYkUNQv+4= + + hash2 + + JaxujLpfeoL0uJ15AXk/+TxmnQ+XgmtHYz9sb5k3r1w= + + + Headers/FBSDKProductAvailability.h + + hash + + 4z6lAOLiyG+H6sMmuDzBXlrBO4Q= + + hash2 + + AfSg3sbP+VegxUAApbWi9NSI+/dlu9LbDGiLvCWo3Z0= + + + Headers/FBSDKProductCondition.h + + hash + + p2M86R+0XjuIIHBALGh4qHhF0sg= + + hash2 + + dNGTpMMgyZMruD+nBPSsD0Y3Bc2L8ZoTcsW1f5tdK7Q= + + + Headers/FBSDKProfile.h + + hash + + a1wf8Hf9JZZ6hWCfCShWPzBo7hk= + + hash2 + + iG8YHX07jMMrMI6thsGnT/Xv5wMMTO52dV+w5SBO5fw= + + + Headers/FBSDKProfilePictureView.h + + hash + + Ha1FZWHpTkpVErTLPsBp8dmIzFY= + + hash2 + + +RZ2/BzlpoTMWjbOHFqG6m1hhbE1kZ3UdI7y955aYTE= + + + Headers/FBSDKProfileProtocols.h + + hash + + osJIfxC8jjnWg+nZiIydGspDpKo= + + hash2 + + IEi+jwFakp2U3rTrt+M4o8n/OleKxYtn20oi2/DBfW0= + + + Headers/FBSDKRandom.h + + hash + + R8FED9YvoEocX/AhmRTKcVPRw2o= + + hash2 + + JXR3YBjvsfljeUoFjq/rNAz0+acuqvjZkXBhXXs5bgE= + + + Headers/FBSDKServerConfigurationProvider.h + + hash + + AhAGmLml8AEa2qhdMA2aHiBseRk= + + hash2 + + RXwkFjplbHxdLpEaBMqqLSRR8dDM5WCHUNSq389EwY0= + + + Headers/FBSDKSettings.h + + hash + + R6dyUp+m+ea3r1bDBUkuxV3X6AY= + + hash2 + + XkVFFBY9CgWqcTRO9141I1ojD855VIKzqj32ohj9988= + + + Headers/FBSDKSettingsLogging.h + + hash + + j4NKiO1um7BzI27sPShA+WNNV6E= + + hash2 + + GgfZ+r7AkNT2pA6iA72tqgExzEgxS0MRiVNUSlpsa48= + + + Headers/FBSDKSettingsProtocol.h + + hash + + QogmjQBweHFkUWSIRYsBQvR4gHE= + + hash2 + + vYviw3P0xVBPMPq5TFbuuFWvwiZH9HkZcHV1gavtPLo= + + + Headers/FBSDKShareDialogConfiguration.h + + hash + + WPPtv+9HV+w3NbzlQBfQDXQ6qlQ= + + hash2 + + K875Kx7WBiydIBg/+0ysq8NjN9EUtXTCYJADXXApiGw= + + + Headers/FBSDKTokenCaching.h + + hash + + Y9D8zDMXaiaJEPNG6yqmuv8sdxU= + + hash2 + + adI/CmzszZ3MQwaZv5E3iCsNy9ipB09TK9oNjPirDD4= + + + Headers/FBSDKTokenStringProviding.h + + hash + + 1ULLCT9qWhm7HkrSyND4RJwRF6Y= + + hash2 + + Cmhyy2RK5YdGkiMeYR7YqggjtKl5xi9gfIWd5Rzyos0= + + + Headers/FBSDKTransformer.h + + hash + + Ui2GFPACS7T6kK9LcCLcdJyCYyo= + + hash2 + + 76ADDGvmmKAAjwJQmqZOKN1QRhrUmGE9qELPwGG2F4k= + + + Headers/FBSDKURL.h + + hash + + d5KoDUOKDIKe8CdBCFa5iFYqMyQ= + + hash2 + + z00FICbn5ff0howaGWioLWtllVLJgjG7rjFDC45tHy0= + + + Headers/FBSDKURLHosting.h + + hash + + t5Vuvclz3txsOHO/DxRweisyVC8= + + hash2 + + JCLr3/884XZGGQb+q4SVXOAqYudnP/xSxJwFQrBu/rM= + + + Headers/FBSDKURLOpener.h + + hash + + A0FSD5yqJH1esXZTdJ5le57N30Q= + + hash2 + + wj7zVEbrD0B1jWpZL7ds2JfPoOHbKyQMRQ9zaz1Tkns= + + + Headers/FBSDKURLOpening.h + + hash + + ExR8Hwm+b4hQrM+eFZoUR3yLS1U= + + hash2 + + Tz1w+caBEpltndmOob6oHx2noM6mODsJ8CyYC4022mM= + + + Headers/FBSDKURLScheme.h + + hash + + 36HfFNYLwWfRajDYFDJeNZe/evc= + + hash2 + + BdpEnJgCwk4m/BX4jdUcFWtch+dOASiPi4b4XuShRow= + + + Headers/FBSDKUserAgeRange.h + + hash + + eRyqSxEieMcqdjv0yKXNIDnmRIg= + + hash2 + + HlG9273bkbhwQ3Z40EFALmtcSl7mgJYAMF+i4LVTQuM= + + + Headers/FBSDKUtility.h + + hash + + ACK+e48w6WLwZDhZT9VIaXDWTlk= + + hash2 + + aDJa31ufENPB6jQuSRYbBb60HcsTocEvvcqZw2iWBN8= + + + Headers/FBSDKWebDialog.h + + hash + + s8cqZqq/NcQyFzujtEc+0qtxxx0= + + hash2 + + ATqlu9KYW/pAwdcdpb4GlQIz1Nk2STbt9iCKNwzSp1A= + + + Headers/FBSDKWebDialogDelegate.h + + hash + + Chc8NMEwHSvrQkghQPV6O7rBAW8= + + hash2 + + fAbiGz2QpyZhBW9PcnYlwGajlmRi8TQdfmFST1Ii2ko= + + + Headers/FBSDKWebDialogView.h + + hash + + hui2sUnpJKWcSpt107HTbPs4cps= + + hash2 + + m2WxAYCfc7WCR5dy6dNBQc1AHggtgjChVTABh5wi5aE= + + + Headers/FBSDKWebViewAppLinkResolver.h + + hash + + jEC9UH9Inm7DYqoFZv2qaN3Pe14= + + hash2 + + +Ac5AbGpEiHL5SuKIFm5ORqswif+O0w+zlIxL1qgUd4= + + + Headers/_FBSDKWindowFinding.h + + hash + + Gac9mAAYHny41SRhpW53CbfSo2s= + + hash2 + + QxPymhBROXgyvxD0bzeN+T5ennsD7zaelwvA1a2l3oE= + + + Headers/__FBSDKLoggerCreating.h + + hash + + y1VVRA/XNhhKMaoTUc/66smvRqI= + + hash2 + + /8e+8f0FIi7sNd85JGNd2gXdF5x4vJgOTUOgWIssxL4= + + + Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + hash + + xxy9Zg411X2b8tgLXwG0d+q8HJs= + + hash2 + + b0NWJFLpwCcLPhmEBR9nddAyxoKr5Vq22NDSG+aP57A= + + + Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + hash + + MCNnHOKeoDSKGaOUJPZHqNwX8as= + + hash2 + + JWObaYJU/PggGrQHwchfQ/aUNsi3kVHdXF/z1evyj6c= + + + Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + hash + + U1YB4ZwVD/iT+2nKP/SXuY7HVC8= + + hash2 + + jGJD/eUr90vJ1uBZ0VvJMhIgZdu9/lxCCgGJJEVIS5o= + + + Modules/FBSDKCoreKit.swiftmodule/arm64.swiftdoc + + hash + + xxy9Zg411X2b8tgLXwG0d+q8HJs= + + hash2 + + b0NWJFLpwCcLPhmEBR9nddAyxoKr5Vq22NDSG+aP57A= + + + Modules/FBSDKCoreKit.swiftmodule/arm64.swiftinterface + + hash + + MCNnHOKeoDSKGaOUJPZHqNwX8as= + + hash2 + + JWObaYJU/PggGrQHwchfQ/aUNsi3kVHdXF/z1evyj6c= + + + Modules/FBSDKCoreKit.swiftmodule/arm64.swiftmodule + + hash + + U1YB4ZwVD/iT+2nKP/SXuY7HVC8= + + hash2 + + jGJD/eUr90vJ1uBZ0VvJMhIgZdu9/lxCCgGJJEVIS5o= + + + Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + hash + + W8QJ2rBBxhqbEZ8A1qLxEMiXjcs= + + hash2 + + g6s3gcexpAOU+1PYWGMOXnb/NtXZdPMcPwYZT6UeIsY= + + + Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + hash + + qMKtG8LoKGyhsXiGztt/a/hSzPQ= + + hash2 + + M3CHw8Xc/bhdgN2dB5RQcx1QUd+toHCLILa+0VbDR+4= + + + Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule + + hash + + 4MbDY0gj4SbSSa2pcWxhp43Gufo= + + hash2 + + kLFfuPo05whSVSBPGRdgSbhE3dJK1YiLlPiHzEcwkfM= + + + Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftdoc + + hash + + W8QJ2rBBxhqbEZ8A1qLxEMiXjcs= + + hash2 + + g6s3gcexpAOU+1PYWGMOXnb/NtXZdPMcPwYZT6UeIsY= + + + Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftinterface + + hash + + qMKtG8LoKGyhsXiGztt/a/hSzPQ= + + hash2 + + M3CHw8Xc/bhdgN2dB5RQcx1QUd+toHCLILa+0VbDR+4= + + + Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftmodule + + hash + + 4MbDY0gj4SbSSa2pcWxhp43Gufo= + + hash2 + + kLFfuPo05whSVSBPGRdgSbhE3dJK1YiLlPiHzEcwkfM= + + + Modules/module.modulemap + + hash + + dqxVNYXT9nBvFc3sI+M8nUrDXuA= + + hash2 + + c2A9sHV9BPDFexemM1nM/fNWiYjoYt4V7Zxb+LDeu2Y= + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/_CodeSignature/CodeSignature b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit.framework/_CodeSignature/CodeSignature new file mode 100644 index 0000000..e69de29 diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/FBSDKCoreKit b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/FBSDKCoreKit new file mode 100644 index 0000000..e74ff08 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/FBSDKCoreKit differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h new file mode 100644 index 0000000..87494ec --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h @@ -0,0 +1,188 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Notification indicating that the `currentAccessToken` has changed. + + the userInfo dictionary of the notification will contain keys + `FBSDKAccessTokenChangeOldKey` and + `FBSDKAccessTokenChangeNewKey`. + */ +FOUNDATION_EXPORT NSNotificationName const FBSDKAccessTokenDidChangeNotification +NS_SWIFT_NAME(AccessTokenDidChange); + +/** + 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. + + 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). + */ +FOUNDATION_EXPORT NSString *const FBSDKAccessTokenDidChangeUserIDKey +NS_SWIFT_NAME(AccessTokenDidChangeUserIDKey); + +/* + key in notification's userInfo object for getting the old token. + + If there was no old token, the key will not be present. + */ +FOUNDATION_EXPORT NSString *const FBSDKAccessTokenChangeOldKey +NS_SWIFT_NAME(AccessTokenChangeOldKey); + +/* + key in notification's userInfo object for getting the new token. + + If there is no new token, the key will not be present. + */ +FOUNDATION_EXPORT NSString *const FBSDKAccessTokenChangeNewKey +NS_SWIFT_NAME(AccessTokenChangeNewKey); + +/* + A key in the notification's userInfo that will be set + if and only if the token has expired. + */ +FOUNDATION_EXPORT NSString *const FBSDKAccessTokenDidExpireKey +NS_SWIFT_NAME(AccessTokenDidExpireKey); + +/// Represents an immutable access token for using Facebook services. +NS_SWIFT_NAME(AccessToken) +@interface FBSDKAccessToken : NSObject + +/** + The "global" access token that represents the currently logged in user. + + The `currentAccessToken` is a convenient representation of the token of the + current user and is used by other SDK components (like `FBSDKLoginManager`). + */ +@property (class, nullable, nonatomic, copy) FBSDKAccessToken *currentAccessToken; + +/// Returns YES if currentAccessToken is not nil AND currentAccessToken is not expired +@property (class, nonatomic, readonly, getter = isCurrentAccessTokenActive, assign) BOOL currentAccessTokenIsActive; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (class, nullable, nonatomic, copy) id tokenCache; + +/// Returns the app ID. +@property (nonatomic, readonly, copy) NSString *appID; + +/// Returns the expiration date for data access +@property (nonatomic, readonly, copy) NSDate *dataAccessExpirationDate; + +/// Returns the known declined permissions. +@property (nonatomic, readonly, copy) NSSet *declinedPermissions + NS_REFINED_FOR_SWIFT; + +/// Returns the known declined permissions. +@property (nonatomic, readonly, copy) NSSet *expiredPermissions + NS_REFINED_FOR_SWIFT; + +/// Returns the expiration date. +@property (nonatomic, readonly, copy) NSDate *expirationDate; + +/// Returns the known granted permissions. +@property (nonatomic, readonly, copy) NSSet *permissions + NS_REFINED_FOR_SWIFT; + +/// Returns the date the token was last refreshed. +@property (nonatomic, readonly, copy) NSDate *refreshDate; + +/// Returns the opaque token string. +@property (nonatomic, readonly, copy) NSString *tokenString; + +/// Returns the user ID. +@property (nonatomic, readonly, copy) NSString *userID; + +/// Returns whether the access token is expired by checking its expirationDate property +@property (nonatomic, readonly, getter = isExpired, assign) BOOL expired; + +/// Returns whether user data access is still active for the given access token +@property (nonatomic, readonly, getter = isDataAccessExpired, assign) BOOL dataAccessExpired; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + Initializes a new instance. + @param tokenString the opaque token string. + @param permissions the granted permissions. Note this is converted to NSSet and is only + an NSArray for the convenience of literal syntax. + @param declinedPermissions the declined permissions. Note this is converted to NSSet and is only + an NSArray for the convenience of literal syntax. + @param expiredPermissions the expired 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). + @param dataAccessExpirationDate the date which data access will expire for the given user + (defaults to distantFuture). + + This initializer should only be used for advanced apps that + manage tokens explicitly. Typical login flows only need to use `FBSDKLoginManager` + along with `+currentAccessToken`. + */ +- (instancetype)initWithTokenString:(NSString *)tokenString + permissions:(NSArray *)permissions + declinedPermissions:(NSArray *)declinedPermissions + expiredPermissions:(NSArray *)expiredPermissions + appID:(NSString *)appID + userID:(NSString *)userID + expirationDate:(nullable NSDate *)expirationDate + refreshDate:(nullable NSDate *)refreshDate + dataAccessExpirationDate:(nullable NSDate *)dataAccessExpirationDate + NS_DESIGNATED_INITIALIZER; + +/** + Convenience getter to determine if a permission has been granted + @param permission The permission to check. + */ +// UNCRUSTIFY_FORMAT_OFF +- (BOOL)hasGranted:(NSString *)permission +NS_SWIFT_NAME(hasGranted(permission:)); +// UNCRUSTIFY_FORMAT_ON + +/** + 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; + +/** + Refresh the current access token's permission state and extend the token's expiration date, + if possible. + @param completion an optional callback handler that can surface any errors related to permission refreshing. + + On a successful refresh, the currentAccessToken will be updated so you typically only need to + observe the `FBSDKAccessTokenDidChangeNotification` notification. + + If a token is already expired, it cannot be refreshed. + */ ++ (void)refreshCurrentAccessTokenWithCompletion:(nullable FBSDKGraphRequestCompletion)completion; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAccessTokenProtocols.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAccessTokenProtocols.h new file mode 100644 index 0000000..5c033ca --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAccessTokenProtocols.h @@ -0,0 +1,43 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@class FBSDKAccessToken; +@protocol FBSDKTokenCaching; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(AccessTokenProviding) +@protocol FBSDKAccessTokenProviding + +@property (class, nullable, nonatomic, readonly, copy) FBSDKAccessToken *currentAccessToken; +@property (class, nullable, nonatomic, copy) id tokenCache; + +@end + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(AccessTokenSetting) +@protocol FBSDKAccessTokenSetting + +@property (class, nullable, nonatomic, copy) FBSDKAccessToken *currentAccessToken; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAdvertisingTrackingStatus.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAdvertisingTrackingStatus.h new file mode 100644 index 0000000..730b90d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAdvertisingTrackingStatus.h @@ -0,0 +1,25 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +typedef NS_ENUM(NSUInteger, FBSDKAdvertisingTrackingStatus) { + FBSDKAdvertisingTrackingAllowed, + FBSDKAdvertisingTrackingDisallowed, + FBSDKAdvertisingTrackingUnspecified, +} NS_SWIFT_NAME(AdvertisingTrackingStatus); + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppAvailabilityChecker.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppAvailabilityChecker.h new file mode 100644 index 0000000..21a1f44 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppAvailabilityChecker.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AppAvailabilityChecker) +@protocol FBSDKAppAvailabilityChecker + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nonatomic, readonly, assign) BOOL isMessengerAppInstalled; +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nonatomic, readonly, assign) BOOL isFacebookAppInstalled; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEventName.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEventName.h new file mode 100644 index 0000000..b55589b --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEventName.h @@ -0,0 +1,92 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/** + @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 `FBSDKAppEventParameterName` constants. + */ + +/// typedef for FBSDKAppEventName +typedef NSString *FBSDKAppEventName NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(AppEvents.Name); + +// MARK: - General Purpose + +/// Log this event when the user clicks an ad. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameAdClick; + +/// Log this event when the user views an ad. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameAdImpression; + +/// Log this event when a user has completed registration with the app. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameCompletedRegistration; + +/// Log this event when the user has completed a tutorial in the app. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameCompletedTutorial; + +/// A telephone/SMS, email, chat or other type of contact between a customer and your business. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameContact; + +/// The customization of products through a configuration tool or other application your business owns. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameCustomizeProduct; + +/// The donation of funds to your organization or cause. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameDonate; + +/// When a person finds one of your locations via web or application, with an intention to visit (example: find product at a local store). +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameFindLocation; + +/// Log this event when the user has rated an item in the app. The valueToSum passed to logEvent should be the numeric rating. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameRated; + +/// The booking of an appointment to visit one of your locations. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameSchedule; + +/// Log this event when a user has performed a search within the app. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameSearched; + +/// The start of a free trial of a product or service you offer (example: trial subscription). +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameStartTrial; + +/// The submission of an application for a product, service or program you offer (example: credit card, educational program or job). +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameSubmitApplication; + +/// The start of a paid subscription for a product or service you offer. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameSubscribe; + +/// Log this event when a user has viewed a form of content in the app. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameViewedContent; + +// MARK: - E-Commerce + +/// Log this event when the user has entered their payment info. +FOUNDATION_EXPORT FBSDKAppEventName 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. +FOUNDATION_EXPORT FBSDKAppEventName 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. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameAddedToWishlist; + +/// Log this event when the user has entered the checkout process. The valueToSum passed to logEvent should be the total price in the cart. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameInitiatedCheckout; + +/// Log this event when the user has completed a transaction. The valueToSum passed to logEvent should be the total price of the transaction. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNamePurchased; + +// MARK: - Gaming + +/// Log this event when the user has achieved a level in the app. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameAchievedLevel; + +/// Log this event when the user has unlocked an achievement in the app. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameUnlockedAchievement; + +/// Log this event when the user has spent app credits. The valueToSum passed to logEvent should be the number of credits spent. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameSpentCredits; diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterName.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterName.h new file mode 100644 index 0000000..ceb5e2d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterName.h @@ -0,0 +1,73 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/** + @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. + */ + +/// typedef for FBSDKAppEventParameterName +typedef NSString *FBSDKAppEventParameterName NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(AppEvents.ParameterName); + +/** + * Parameter key used to specify data for the one or more pieces of content being logged about. + * Data should be a JSON encoded string. + * Example: + * "[{\"id\": \"1234\", \"quantity\": 2, \"item_price\": 5.99}, {\"id\": \"5678\", \"quantity\": 1, \"item_price\": 9.99}]" + */ +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameContent; + +/// Parameter key used to specify an ID for the specific piece of content being logged about. Could be an EAN, article identifier, etc., depending on the nature of the app. +FOUNDATION_EXPORT FBSDKAppEventParameterName 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. +FOUNDATION_EXPORT FBSDKAppEventParameterName 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 . +FOUNDATION_EXPORT FBSDKAppEventParameterName 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. +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameDescription; + +/// Parameter key used to specify the level achieved in a `FBAppEventNameAchieved` event. +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameLevel; + +/// Parameter key used to specify the maximum rating available for the `FBAppEventNameRate` event. E.g., "5" or "10". +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameMaxRatingValue; + +/// Parameter key used to specify how many items are being processed for an `FBAppEventNameInitiatedCheckout` or `FBAppEventNamePurchased` event. +FOUNDATION_EXPORT FBSDKAppEventParameterName 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. +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNamePaymentInfoAvailable; + +/// Parameter key used to specify method user has used to register for the app, e.g., "Facebook", "email", "Twitter", etc +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameRegistrationMethod; + +/// Parameter key used to specify the string provided by the user for a search operation. +FOUNDATION_EXPORT FBSDKAppEventParameterName 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. +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameSuccess; + +/** Parameter key used to specify the type of ad in an FBSDKAppEventNameAdImpression + * or FBSDKAppEventNameAdClick event. + * E.g. "banner", "interstitial", "rewarded_video", "native" */ +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameAdType; + +/** Parameter key used to specify the unique ID for all events within a subscription + * in an FBSDKAppEventNameSubscribe or FBSDKAppEventNameStartTrial event. */ +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameOrderID; + +/// Parameter key used to specify event name. +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameEventName; + +/// Parameter key used to specify event log time. +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameLogTime; diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterProduct.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterProduct.h new file mode 100644 index 0000000..ff0b036 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterProduct.h @@ -0,0 +1,77 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/// @methodgroup Predefined event name parameters for common additional information to accompany events logged through the `logProductItem` method on `FBSDKAppEvents`. + +/// typedef for FBSDKAppEventParameterProduct +typedef NSString *const FBSDKAppEventParameterProduct NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(AppEvents.ParameterProduct); + +/// Parameter key used to specify the product item's category. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCategory; + +/// Parameter key used to specify the product item's custom label 0. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCustomLabel0; + +/// Parameter key used to specify the product item's custom label 1. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCustomLabel1; + +/// Parameter key used to specify the product item's custom label 2. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCustomLabel2; + +/// Parameter key used to specify the product item's custom label 3. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCustomLabel3; + +/// Parameter key used to specify the product item's custom label 4. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCustomLabel4; + +/// Parameter key used to specify the product item's AppLink app URL for iOS. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIOSUrl; + +/// Parameter key used to specify the product item's AppLink app ID for iOS App Store. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIOSAppStoreID; + +/// Parameter key used to specify the product item's AppLink app name for iOS. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIOSAppName; + +/// Parameter key used to specify the product item's AppLink app URL for iPhone. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPhoneUrl; + +/// Parameter key used to specify the product item's AppLink app ID for iPhone App Store. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPhoneAppStoreID; + +/// Parameter key used to specify the product item's AppLink app name for iPhone. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPhoneAppName; + +/// Parameter key used to specify the product item's AppLink app URL for iPad. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPadUrl; + +/// Parameter key used to specify the product item's AppLink app ID for iPad App Store. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPadAppStoreID; + +/// Parameter key used to specify the product item's AppLink app name for iPad. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPadAppName; + +/// Parameter key used to specify the product item's AppLink app URL for Android. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkAndroidUrl; + +/// Parameter key used to specify the product item's AppLink fully-qualified package name for intent generation. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkAndroidPackage; + +/// Parameter key used to specify the product item's AppLink app name for Android. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkAndroidAppName; + +/// Parameter key used to specify the product item's AppLink app URL for Windows Phone. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkWindowsPhoneUrl; + +/// Parameter key used to specify the product item's AppLink app ID, as a GUID, for App Store. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkWindowsPhoneAppID; + +/// Parameter key used to specify the product item's AppLink app name for Windows Phone. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkWindowsPhoneAppName; diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterValue.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterValue.h new file mode 100644 index 0000000..796e2e1 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterValue.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/* + @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. + */ + +/// typedef for FBSDKAppEventParameterValue +typedef NSString *const FBSDKAppEventParameterValue NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(AppEvents.ParameterValue); + +/// Yes-valued parameter value to be used with parameter keys that need a Yes/No value +FOUNDATION_EXPORT FBSDKAppEventParameterValue FBSDKAppEventParameterValueYes; + +/// No-valued parameter value to be used with parameter keys that need a Yes/No value +FOUNDATION_EXPORT FBSDKAppEventParameterValue FBSDKAppEventParameterValueNo; diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEventUserDataType.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEventUserDataType.h new file mode 100644 index 0000000..194443d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEventUserDataType.h @@ -0,0 +1,44 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +typedef NSString *const FBSDKAppEventUserDataType NS_TYPED_EXTENSIBLE_ENUM; + +/// Parameter key used to specify user's email. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventEmail; + +/// Parameter key used to specify user's first name. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventFirstName; + +/// Parameter key used to specify user's last name. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventLastName; + +/// Parameter key used to specify user's phone. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventPhone; + +/// Parameter key used to specify user's date of birth. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventDateOfBirth; + +/// Parameter key used to specify user's gender. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventGender; + +/// Parameter key used to specify user's city. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventCity; + +/// Parameter key used to specify user's state. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventState; + +/// Parameter key used to specify user's zip. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventZip; + +/// Parameter key used to specify user's country. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventCountry; + +/// Parameter key used to specify user's external id. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventExternalId; diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h new file mode 100644 index 0000000..1504e74 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h @@ -0,0 +1,521 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + #import +#endif + +#import +#import +#import +#import +#import +#import +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +@class FBSDKAccessToken; + +/// Optional plist key ("FacebookLoggingOverrideAppID") for setting `loggingOverrideAppID` +FOUNDATION_EXPORT NSString *const FBSDKAppEventsOverrideAppIDBundleKey +NS_SWIFT_NAME(AppEventsOverrideAppIDBundleKey); + +/** + Client-side event logging for specialized application analytics available through Facebook App Insights + and for use with Facebook Ads conversion tracking and optimization. + + 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. + */ +NS_SWIFT_NAME(AppEvents) +@interface FBSDKAppEvents : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/// The shared instance of AppEvents. +@property (class, nonatomic, readonly, strong) FBSDKAppEvents *shared; + +/// Control over event batching/flushing + +/// The current event flushing behavior specifying when events are sent back to Facebook servers. +@property (nonatomic) FBSDKAppEventsFlushBehavior flushBehavior; + +/** + Set the 'override' App ID for App Event logging. + + 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 `Settings.shared.appID`. + + This should be set before any other calls are made to `AppEvents`. Thus, you should set it in your application + delegate's `application(_:didFinishLaunchingWithOptions:)` method. + */ +@property (nullable, nonatomic, copy) NSString *loggingOverrideAppID; + +/** + The custom user ID to associate with all app events. + + The userID is persisted until it is cleared by passing `nil`. + */ +@property (nullable, nonatomic, copy) NSString *userID; + +/// Returns generated anonymous id that persisted with current install of the app +@property (nonatomic, readonly) NSString *anonymousID; + +/* + * Basic event logging + */ + +/** + Log an event with just an event name. + + @param eventName The name of the event to record. Limitations on number of events and name length + are given in the `AppEvents` documentation. + */ +- (void)logEvent:(FBSDKAppEventName)eventName; + +/** + Log an event with an event name 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 `AppEvents` documentation. Common event names are provided in `AppEvents.Name` constants. + + @param valueToSum Amount to be aggregated into all events of this event name, and App Insights will report + the cumulative and average value of this amount. + */ +- (void)logEvent:(FBSDKAppEventName)eventName + valueToSum:(double)valueToSum; + +/** + Log an event with an event name 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 `AppEvents` documentation. Common event names are provided in `AppEvents.Name` 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 `AppEvents` documentation. Commonly used parameter names + are provided in `AppEvents.ParameterName` constants. + */ +- (void)logEvent:(FBSDKAppEventName)eventName + parameters:(nullable NSDictionary *)parameters; + +/** + Log an event with an event name, 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 `AppEvents` documentation. Common event names are provided in `AppEvents.Name` constants. + + @param valueToSum Amount to be aggregated into all events of this event name, 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 `AppEvents` documentation. Commonly used parameter names + are provided in `AppEvents.ParameterName` constants. + */ +- (void)logEvent:(FBSDKAppEventName)eventName + valueToSum:(double)valueToSum + parameters:(nullable NSDictionary *)parameters; + +/** + Log an event with an event name, 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 `AppEvents` documentation. Common event names are provided in `AppEvents.Name` 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 `AppEvents` documentation. Commonly used parameter names + are provided in `AppEvents.ParameterName` constants. + + @param accessToken The optional access token to log the event as. + */ +- (void)logEvent:(FBSDKAppEventName)eventName + valueToSum:(nullable NSNumber *)valueToSum + parameters:(nullable NSDictionary *)parameters + accessToken:(nullable FBSDKAccessToken *)accessToken; + +/* + * Purchase logging + */ + +/** + 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 string (e.g., "USD", "EUR", "GBP"); see ISO-4217 for + specific values. One reference for these is . + + This event immediately triggers a flush of the `AppEvents` event queue, unless the `flushBehavior` is set + to `FBSDKAppEventsFlushBehaviorExplicitOnly`. + */ +// UNCRUSTIFY_FORMAT_OFF +- (void)logPurchase:(double)purchaseAmount currency:(NSString *)currency + NS_SWIFT_NAME(logPurchase(amount:currency:)); +// UNCRUSTIFY_FORMAT_ON + +/** + 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 string (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 `AppEvents` documentation. Commonly used parameter names + are provided in `AppEvents.ParameterName` constants. + + This event immediately triggers a flush of the `AppEvents` event queue, unless the `flushBehavior` is set + to `FBSDKAppEventsFlushBehaviorExplicitOnly`. + */ +// UNCRUSTIFY_FORMAT_OFF +- (void)logPurchase:(double)purchaseAmount + currency:(NSString *)currency + parameters:(nullable NSDictionary *)parameters + NS_SWIFT_NAME(logPurchase(amount:currency:parameters:)); +// UNCRUSTIFY_FORMAT_ON + +/** + 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 string (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 `AppEvents` documentation. Commonly used parameter names + are provided in `AppEvents.ParameterName` constants. + + @param accessToken The optional access token to log the event as. + + This event immediately triggers a flush of the `AppEvents` event queue, unless the `flushBehavior` is set + to `FBSDKAppEventsFlushBehaviorExplicitOnly`. + */ +// UNCRUSTIFY_FORMAT_OFF +- (void)logPurchase:(double)purchaseAmount + currency:(NSString *)currency + parameters:(nullable NSDictionary *)parameters + accessToken:(nullable FBSDKAccessToken *)accessToken + NS_SWIFT_NAME(logPurchase(amount:currency:parameters:accessToken:)); +// UNCRUSTIFY_FORMAT_ON + +/* + * Push Notifications Logging + */ + +/** + Log an app event that tracks that the application was open via Push Notification. + + @param payload Notification payload received via `UIApplicationDelegate`. + */ +// UNCRUSTIFY_FORMAT_OFF +- (void)logPushNotificationOpen:(NSDictionary *)payload + NS_SWIFT_NAME(logPushNotificationOpen(payload:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Log an app event that tracks that a custom action was taken from a push notification. + + @param payload Notification payload received via `UIApplicationDelegate`. + @param action Name of the action that was taken. + */ +// UNCRUSTIFY_FORMAT_OFF +- (void)logPushNotificationOpen:(NSDictionary *)payload action:(NSString *)action + NS_SWIFT_NAME(logPushNotificationOpen(payload:action:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Uploads product catalog product item as an app event + + @param itemID Unique ID for the item. Can be a variant for a product. + Max size is 100. + @param availability If item is in stock. Accepted values are: + in stock - Item ships immediately + out of stock - No plan to restock + preorder - Available in future + available for order - Ships in 1-2 weeks + discontinued - Discontinued + @param condition Product condition: new, refurbished or used. + @param description Short text describing product. Max size is 5000. + @param imageLink Link to item image used in ad. + @param link Link to merchant's site where someone can buy the item. + @param title Title of item. + @param priceAmount Amount of purchase, in the currency specified by the 'currency' + parameter. This value will be rounded to the thousandths place + (e.g., 12.34567 becomes 12.346). + @param currency Currency string (e.g., "USD", "EUR", "GBP"); see ISO-4217 for + specific values. One reference for these is . + @param gtin Global Trade Item Number including UPC, EAN, JAN and ISBN + @param mpn Unique manufacture ID for product + @param brand Name of the brand + Note: Either gtin, mpn or brand is required. + @param parameters Optional fields for deep link specification. + */ +// UNCRUSTIFY_FORMAT_OFF +- (void)logProductItem:(NSString *)itemID + availability:(FBSDKProductAvailability)availability + condition:(FBSDKProductCondition)condition + description:(NSString *)description + imageLink:(NSString *)imageLink + link:(NSString *)link + title:(NSString *)title + priceAmount:(double)priceAmount + currency:(NSString *)currency + gtin:(nullable NSString *)gtin + mpn:(nullable NSString *)mpn + brand:(nullable NSString *)brand + parameters:(nullable NSDictionary *)parameters + NS_SWIFT_NAME(logProductItem(id:availability:condition:description:imageLink:link:title:priceAmount:currency:gtin:mpn:brand:parameters:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Notifies the events system that the app has launched and, when appropriate, logs an "activated app" event. + This function is called automatically from FBSDKApplicationDelegate applicationDidBecomeActive, unless + one overrides 'FacebookAutoLogAppEventsEnabled' key to false in the project info plist file. + In case 'FacebookAutoLogAppEventsEnabled' is set to false, then it 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. + + `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; + +/* + * Push Notifications Registration and Uninstall Tracking + */ + +/** + Sets and sends device token to register the current application for push notifications. + + Sets and sends a device token from the `Data` representation that you get from + `UIApplicationDelegate.application(_:didRegisterForRemoteNotificationsWithDeviceToken:)`. + + @param deviceToken Device token data. + */ +- (void)setPushNotificationsDeviceToken:(nullable NSData *)deviceToken; + +/** + Sets and sends device token string to register the current application for push notifications. + + Sets and sends a device token string + + @param deviceTokenString Device token string. + */ +// UNCRUSTIFY_FORMAT_OFF +- (void)setPushNotificationsDeviceTokenString:(nullable NSString *)deviceTokenString +NS_SWIFT_NAME(setPushNotificationsDeviceToken(_:)); +// UNCRUSTIFY_FORMAT_ON + +/** + 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; + +/** + 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. + + The JSON in the request's response will include a "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 `Settings.shared.isEventDataUsageLimited` flag, or a specific Facebook user cannot be identified. + + @param accessToken The access token to use to establish the user's identity for users logged into Facebook through this app. + If `nil`, then `AccessToken.current` is used. + */ +// UNCRUSTIFY_FORMAT_OFF +- (nullable FBSDKGraphRequest *)requestForCustomAudienceThirdPartyIDWithAccessToken:(nullable FBSDKAccessToken *)accessToken +NS_SWIFT_NAME(requestForCustomAudienceThirdPartyID(accessToken:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Sets custom user data to associate with all app events. All user data are hashed + and used to match Facebook user from this instance of an application. + + The user data will be persisted between application instances. + + @param email user's email + @param firstName user's first name + @param lastName user's last name + @param phone user's phone + @param dateOfBirth user's date of birth + @param gender user's gender + @param city user's city + @param state user's state + @param zip user's zip + @param country user's country + */ + +// UNCRUSTIFY_FORMAT_OFF +- (void)setUserEmail:(nullable NSString *)email + firstName:(nullable NSString *)firstName + lastName:(nullable NSString *)lastName + phone:(nullable NSString *)phone + dateOfBirth:(nullable NSString *)dateOfBirth + gender:(nullable NSString *)gender + city:(nullable NSString *)city + state:(nullable NSString *)state + zip:(nullable NSString *)zip + country:(nullable NSString *)country +NS_SWIFT_NAME(setUser(email:firstName:lastName:phone:dateOfBirth:gender:city:state:zip:country:)); +// UNCRUSTIFY_FORMAT_ON + +/// Returns the set user data else nil +- (nullable NSString *)getUserData; + +/// Clears the current user data +- (void)clearUserData; + +/** + Sets custom user data to associate with all app events. All user data are hashed + and used to match Facebook user from this instance of an application. + + The user data will be persisted between application instances. + + @param data data + @param type data type, e.g. FBSDKAppEventEmail, FBSDKAppEventPhone + */ +- (void)setUserData:(nullable NSString *)data + forType:(FBSDKAppEventUserDataType)type; + +/// Clears the current user data of certain type +- (void)clearUserDataForType:(FBSDKAppEventUserDataType)type; + +#if !TARGET_OS_TV +/** + Intended to be used as part of a hybrid webapp. + If you call this method, the FB SDK will inject a new JavaScript object into your webview. + If the FB Pixel is used within the webview, and references the app ID of this app, + then it will detect the presence of this injected JavaScript object + and pass Pixel events back to the FB SDK for logging using the AppEvents framework. + + @param webView The webview to augment with the additional JavaScript behavior + */ +- (void)augmentHybridWebView:(WKWebView *)webView; +#endif + +/* + * Unity helper functions + */ + +/** + Set whether Unity is already initialized. + + @param isUnityInitialized Whether Unity is initialized. + */ +- (void)setIsUnityInitialized:(BOOL)isUnityInitialized; + +/// Send event bindings to Unity +- (void)sendEventBindingsToUnity; + +/* + * SDK Specific Event Logging + * Do not call directly outside of the SDK itself. + */ + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void)logInternalEvent:(FBSDKAppEventName)eventName + parameters:(nullable NSDictionary *)parameters + isImplicitlyLogged:(BOOL)isImplicitlyLogged; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void)logInternalEvent:(FBSDKAppEventName)eventName + parameters:(nullable NSDictionary *)parameters + isImplicitlyLogged:(BOOL)isImplicitlyLogged + accessToken:(nullable FBSDKAccessToken *)accessToken; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEventsFlushBehavior.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEventsFlushBehavior.h new file mode 100644 index 0000000..872ef49 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEventsFlushBehavior.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/** + NS_ENUM (NSUInteger, FBSDKAppEventsFlushBehavior) + + 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, +} NS_SWIFT_NAME(AppEvents.FlushBehavior); diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEventsNotificationName.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEventsNotificationName.h new file mode 100644 index 0000000..159e27d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppEventsNotificationName.h @@ -0,0 +1,13 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/// NSNotificationCenter name indicating a result of a failed log flush attempt. The posted object will be an NSError instance. +FOUNDATION_EXPORT NSNotificationName const FBSDKAppEventsLoggingResultNotification +NS_SWIFT_NAME(AppEventsLoggingResult); diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppURLSchemeProviding.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppURLSchemeProviding.h new file mode 100644 index 0000000..c8b39fa --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAppURLSchemeProviding.h @@ -0,0 +1,34 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AppURLSchemeProviding) +@protocol FBSDKAppURLSchemeProviding + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nonatomic, readonly, copy) NSString *appURLScheme; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void)validateURLSchemes; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h new file mode 100644 index 0000000..585fb0c --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h @@ -0,0 +1,131 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + 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). + + 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. + */ +NS_SWIFT_NAME(ApplicationDelegate) +@interface FBSDKApplicationDelegate : NSObject + +#if !DEBUG +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; +#endif + +#if DEBUG +@property (nonnull, nonatomic, readonly) NSHashTable> *applicationObservers; +#endif + +/// Gets the singleton instance. +@property (class, nonatomic, readonly, strong) FBSDKApplicationDelegate *sharedInstance +NS_SWIFT_NAME(shared); + +/** + Call this method from the [UIApplicationDelegate application:continue:restorationHandler:] method + of the AppDelegate for your app. It should be invoked in order to properly process the web URL (universal link) + once the end user is redirected to your app. + + @param application The application as passed to [UIApplicationDelegate application:continue:restorationHandler:]. + @param userActivity The user activity as passed to [UIApplicationDelegate application:continue:restorationHandler:]. + + @return YES if the URL was intended for the Facebook SDK, NO if not. +*/ +- (BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity; + +/** + 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:(nullable NSString *)sourceApplication + annotation:(nullable id)annotation; + +/** + Call this method from the [UIApplicationDelegate application:openURL:options:] 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:options:]. + + @param url The URL as passed to [UIApplicationDelegate application:openURL:options:]. + + @param options The options dictionary as passed to [UIApplicationDelegate application:openURL:options:]. + + @return YES if the URL was intended for the Facebook SDK, NO if not. + */ +- (BOOL)application:(UIApplication *)application + openURL:(NSURL *)url + options:(NSDictionary *)options; + +/** + 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. + As part of SDK initialization basic auto logging of app events will occur, this can be + controlled via 'FacebookAutoLogAppEventsEnabled' key in the project info plist file. + + @param application The application as passed to [UIApplicationDelegate application:didFinishLaunchingWithOptions:]. + + @param launchOptions The launchOptions as passed to [UIApplicationDelegate application:didFinishLaunchingWithOptions:]. + + @return True if there are any added application observers that themselves return true from calling `application:didFinishLaunchingWithOptions:`. + Otherwise will return false. Note: If this method is called after calling `initializeSDK` then the return type will always be false. + */ +- (BOOL) application:(UIApplication *)application + didFinishLaunchingWithOptions:(nullable NSDictionary *)launchOptions; + +/** + Initializes the SDK. + + If you are using the SDK within the context of the UIApplication lifecycle, do not use this method. + Instead use `application: didFinishLaunchingWithOptions:`. + + As part of SDK initialization basic auto logging of app events will occur, this can be + controlled via 'FacebookAutoLogAppEventsEnabled' key in the project info plist file. + */ +- (void)initializeSDK; + +/** + Adds an observer that will be informed about application lifecycle events. + + @note Observers are weakly held + */ +- (void)addObserver:(id)observer; + +/** + Removes an observer so that it will no longer be informed about application lifecycle events. + + @note Observers are weakly held + */ +- (void)removeObserver:(id)observer; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKApplicationObserving.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKApplicationObserving.h new file mode 100644 index 0000000..14de894 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKApplicationObserving.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/* + Describes any types that optionally responds to various lifecycle events + received by the system and propagated by `ApplicationDelegate`. + */ +@protocol FBSDKApplicationObserving + +@optional +- (void)applicationDidBecomeActive:(nullable UIApplication *)application; +- (void)applicationWillResignActive:(nullable UIApplication *)application; +- (void)applicationDidEnterBackground:(nullable UIApplication *)application; +- (BOOL) application:(UIApplication *)application + didFinishLaunchingWithOptions:(nullable NSDictionary *)launchOptions; + +- (BOOL)application:(UIApplication *)application + openURL:(NSURL *)url + sourceApplication:(nullable NSString *)sourceApplication + annotation:(nullable id)annotation; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationToken.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationToken.h new file mode 100644 index 0000000..90648c9 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationToken.h @@ -0,0 +1,53 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +@class FBSDKAuthenticationTokenClaims; +@protocol FBSDKTokenCaching; + +NS_ASSUME_NONNULL_BEGIN + +/// Represent an AuthenticationToken used for a login attempt +NS_SWIFT_NAME(AuthenticationToken) +@interface FBSDKAuthenticationToken : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + The "global" authentication token that represents the currently logged in user. + + The `currentAuthenticationToken` represents the authentication token of the + current user and can be used by a client to verify an authentication attempt. + */ +@property (class, nullable, nonatomic, copy) FBSDKAuthenticationToken *currentAuthenticationToken; + +/// The raw token string from the authentication response +@property (nonatomic, readonly, copy) NSString *tokenString; + +/// The nonce from the decoded authentication response +@property (nonatomic, readonly, copy) NSString *nonce; + +/// The graph domain where the user is authenticated. +@property (nonatomic, readonly, copy) NSString *graphDomain; + +/// Returns the claims encoded in the AuthenticationToken +- (nullable FBSDKAuthenticationTokenClaims *)claims; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (class, nullable, nonatomic, copy) id tokenCache; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenClaims.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenClaims.h new file mode 100644 index 0000000..874fe07 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenClaims.h @@ -0,0 +1,89 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AuthenticationTokenClaims) +@interface FBSDKAuthenticationTokenClaims : NSObject + +/// A unique identifier for the token. +@property (nonatomic, readonly, strong) NSString *jti; + +/// Issuer Identifier for the Issuer of the response. +@property (nonatomic, readonly, strong) NSString *iss; + +/// Audience(s) that this ID Token is intended for. +@property (nonatomic, readonly, strong) NSString *aud; + +/// String value used to associate a Client session with an ID Token, and to mitigate replay attacks. +@property (nonatomic, readonly, strong) NSString *nonce; + +/// Expiration time on or after which the ID Token MUST NOT be accepted for processing. +@property (nonatomic, readonly, assign) NSTimeInterval exp; + +/// Time at which the JWT was issued. +@property (nonatomic, readonly, assign) NSTimeInterval iat; + +/// Subject - Identifier for the End-User at the Issuer. +@property (nonatomic, readonly, strong) NSString *sub; + +/// End-User's full name in displayable form including all name parts. +@property (nullable, nonatomic, readonly, strong) NSString *name; + +/// End-User's given name in displayable form +@property (nullable, nonatomic, readonly, strong) NSString *givenName; + +/// End-User's middle name in displayable form +@property (nullable, nonatomic, readonly, strong) NSString *middleName; + +/// End-User's family name in displayable form +@property (nullable, nonatomic, readonly, strong) NSString *familyName; + +/** + End-User's preferred e-mail address. + + IMPORTANT: This field will only be populated if your user has granted your application the 'email' permission. + */ +@property (nullable, nonatomic, readonly, strong) NSString *email; + +/// URL of the End-User's profile picture. +@property (nullable, nonatomic, readonly, strong) NSString *picture; + +/** + End-User's friends. + + IMPORTANT: This field will only be populated if your user has granted your application the 'user_friends' permission. + */ +@property (nullable, nonatomic, readonly, strong) NSArray *userFriends; + +/// End-User's birthday +@property (nullable, nonatomic, readonly, strong) NSString *userBirthday; + +/// End-User's age range +@property (nullable, nonatomic, readonly, strong) NSDictionary *userAgeRange; + +/// End-User's hometown +@property (nullable, nonatomic, readonly, strong) NSDictionary *userHometown; + +/// End-User's location +@property (nullable, nonatomic, readonly, strong) NSDictionary *userLocation; + +/// End-User's gender +@property (nullable, nonatomic, readonly, strong) NSString *userGender; + +/// End-User's link +@property (nullable, nonatomic, readonly, strong) NSString *userLink; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenProtocols.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenProtocols.h new file mode 100644 index 0000000..4f64230 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenProtocols.h @@ -0,0 +1,31 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AuthenticationTokenProviding) +@protocol FBSDKAuthenticationTokenProviding + +@property (class, nullable, nonatomic, readonly, copy) FBSDKAuthenticationToken *currentAuthenticationToken; +@property (class, nullable, nonatomic, copy) id tokenCache; + +@end + +NS_SWIFT_NAME(AuthenticationTokenSetting) +@protocol FBSDKAuthenticationTokenSetting + +@property (class, nullable, nonatomic, copy) FBSDKAuthenticationToken *currentAuthenticationToken; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKButton.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKButton.h new file mode 100644 index 0000000..beae11a --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKButton.h @@ -0,0 +1,80 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import +#import + +@class FBSDKIcon; + +NS_ASSUME_NONNULL_BEGIN + +/// A base class for common SDK buttons. +NS_SWIFT_NAME(FBButton) +@interface FBSDKButton : FBSDKImpressionLoggingButton + +@property (nonatomic, readonly, getter = isImplicitlyDisabled) BOOL implicitlyDisabled; + +- (void)checkImplicitlyDisabled; +- (void)configureWithIcon:(nullable FBSDKIcon *)icon + title:(nullable NSString *)title + backgroundColor:(nullable UIColor *)backgroundColor + highlightedColor:(nullable UIColor *)highlightedColor; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void) configureWithIcon:(nullable FBSDKIcon *)icon + title:(nullable NSString *)title + backgroundColor:(nullable UIColor *)backgroundColor + highlightedColor:(nullable UIColor *)highlightedColor + selectedTitle:(nullable NSString *)selectedTitle + selectedIcon:(nullable FBSDKIcon *)selectedIcon + selectedColor:(nullable UIColor *)selectedColor + selectedHighlightedColor:(nullable UIColor *)selectedHighlightedColor; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (UIColor *)defaultBackgroundColor; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (CGSize)sizeThatFits:(CGSize)size title:(NSString *)title; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (CGSize)textSizeForText:(NSString *)text font:(UIFont *)font constrainedSize:(CGSize)constrainedSize lineBreakMode:(NSLineBreakMode)lineBreakMode; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void)logTapEventWithEventName:(FBSDKAppEventName)eventName + parameters:(nullable NSDictionary *)parameters; +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKButtonImpressionLogging.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKButtonImpressionLogging.h new file mode 100644 index 0000000..806edb4 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKButtonImpressionLogging.h @@ -0,0 +1,31 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(FBButtonImpressionLogging) +@protocol FBSDKButtonImpressionLogging + +@property (nullable, nonatomic, readonly, copy) NSDictionary *analyticsParameters; +@property (nonatomic, readonly, copy) FBSDKAppEventName impressionTrackingEventName; +@property (nonatomic, readonly, copy) NSString *impressionTrackingIdentifier; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKConstants.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKConstants.h new file mode 100644 index 0000000..d746dca --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKConstants.h @@ -0,0 +1,206 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + The error domain for all errors from FBSDKCoreKit. + + Error codes from the SDK in the range 0-99 are reserved for this domain. + */ +FOUNDATION_EXPORT NSErrorDomain const FBSDKErrorDomain +NS_SWIFT_NAME(ErrorDomain); + +/* + @methodgroup error userInfo keys + */ + +/** + The userInfo key for the invalid collection for errors with FBSDKErrorInvalidArgument. + + If the invalid argument is a collection, the collection can be found with this key and the individual + invalid item can be found with FBSDKErrorArgumentValueKey. + */ +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorArgumentCollectionKey +NS_SWIFT_NAME(ErrorArgumentCollectionKey); + +/// The userInfo key for the invalid argument name for errors with FBSDKErrorInvalidArgument. +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorArgumentNameKey +NS_SWIFT_NAME(ErrorArgumentNameKey); + +/// The userInfo key for the invalid argument value for errors with FBSDKErrorInvalidArgument. +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorArgumentValueKey +NS_SWIFT_NAME(ErrorArgumentValueKey); + +/** + The userInfo key for the message for developers in NSErrors that originate from the SDK. + + The developer message will not be localized and is not intended to be presented within the app. + */ +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorDeveloperMessageKey +NS_SWIFT_NAME(ErrorDeveloperMessageKey); + +/// The userInfo key describing a localized description that can be presented to the user. +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorLocalizedDescriptionKey +NS_SWIFT_NAME(ErrorLocalizedDescriptionKey); + +/// The userInfo key describing a localized title that can be presented to the user, used with `FBSDKLocalizedErrorDescriptionKey`. +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorLocalizedTitleKey +NS_SWIFT_NAME(ErrorLocalizedTitleKey); + +/* + @methodgroup FBSDKGraphRequest error userInfo keys + */ + +/** + The userInfo key describing the error category, for error recovery purposes. + + See `FBSDKGraphErrorRecoveryProcessor` and `[FBSDKGraphRequest disableErrorRecovery]`. + */ +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorKey +NS_SWIFT_NAME(GraphRequestErrorKey); + +/* + The userInfo key for the Graph API error code. + */ +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorGraphErrorCodeKey +NS_SWIFT_NAME(GraphRequestErrorGraphErrorCodeKey); + +/* + The userInfo key for the Graph API error subcode. + */ +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorGraphErrorSubcodeKey +NS_SWIFT_NAME(GraphRequestErrorGraphErrorSubcodeKey); + +/* + The userInfo key for the HTTP status code. + */ +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorHTTPStatusCodeKey +NS_SWIFT_NAME(GraphRequestErrorHTTPStatusCodeKey); + +/* + The userInfo key for the raw JSON response. + */ +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorParsedJSONResponseKey +NS_SWIFT_NAME(GraphRequestErrorParsedJSONResponseKey); + +/* + @methodgroup Common Code Block typedefs + */ + +/// Success Block +typedef void (^ FBSDKCodeBlock)(void) +NS_SWIFT_NAME(CodeBlock); + +/// Error Block +typedef void (^ FBSDKErrorBlock)(NSError *_Nullable error) +NS_SWIFT_NAME(ErrorBlock); + +/// Success Block +typedef void (^ FBSDKSuccessBlock)(BOOL success, NSError *_Nullable error) +NS_SWIFT_NAME(SuccessBlock); + +/* + @methodgroup Enums + */ + +#ifndef NS_ERROR_ENUM + #define NS_ERROR_ENUM(_domain, _name) \ + enum _name : NSInteger _name; \ + enum __attribute__((ns_error_domain(_domain))) _name: NSInteger +#endif + +/** + FBSDKCoreError + Error codes for FBSDKErrorDomain. + */ +typedef NS_ERROR_ENUM (FBSDKErrorDomain, FBSDKCoreError) +{ + /// Reserved. + FBSDKErrorReserved = 0, + + /// The error code for errors from invalid encryption on incoming encryption URLs. + FBSDKErrorEncryption, + + /// The error code for errors from invalid arguments to SDK methods. + FBSDKErrorInvalidArgument, + + /// The error code for unknown errors. + FBSDKErrorUnknown, + + /** + A request failed due to a network error. Use NSUnderlyingErrorKey to retrieve + the error object from the NSURLSession for more information. + */ + FBSDKErrorNetwork, + + /// The error code for errors encountered during an App Events flush. + FBSDKErrorAppEventsFlush, + + /** + An endpoint that returns a binary response was used with FBSDKGraphRequestConnection. + + Endpoints that return image/jpg, etc. should be accessed using NSURLRequest + */ + FBSDKErrorGraphRequestNonTextMimeTypeReturned, + + /** + The operation failed because the server returned an unexpected response. + + You can get this error if you are not using the most recent SDK, or you are accessing a version of the + Graph API incompatible with the current SDK. + */ + FBSDKErrorGraphRequestProtocolMismatch, + + /** + The Graph API returned an error. + + See below for useful userInfo keys (beginning with FBSDKGraphRequestError*) + */ + FBSDKErrorGraphRequestGraphAPI, + + /** + The specified dialog configuration is not available. + + This error may signify that the configuration for the dialogs has not yet been downloaded from the server + or that the dialog is unavailable. Subsequent attempts to use the dialog may succeed as the configuration is loaded. + */ + FBSDKErrorDialogUnavailable, + + /// Indicates an operation failed because a required access token was not found. + FBSDKErrorAccessTokenRequired, + + /// Indicates an app switch (typically for a dialog) failed because the destination app is out of date. + FBSDKErrorAppVersionUnsupported, + + /// Indicates an app switch to the browser (typically for a dialog) failed. + FBSDKErrorBrowserUnavailable, + + /// Indicates that a bridge api interaction was interrupted. + FBSDKErrorBridgeAPIInterruption, + + /// Indicates that a bridge api response creation failed. + FBSDKErrorBridgeAPIResponse, +} NS_SWIFT_NAME(CoreError); + +/** + FBSDKGraphRequestError + Describes the category of Facebook error. See `FBSDKGraphRequestErrorKey`. + */ +typedef NS_ENUM(NSUInteger, FBSDKGraphRequestError) { + /// The default error category that is not known to be recoverable. Check `FBSDKLocalizedErrorDescriptionKey` for a user facing message. + FBSDKGraphRequestErrorOther = 0, + /// Indicates the error is temporary (such as server throttling). While a recoveryAttempter will be provided with the error instance, the attempt is guaranteed to succeed so you can simply retry the operation if you do not want to present an alert. + FBSDKGraphRequestErrorTransient = 1, + /// Indicates the error can be recovered (such as requiring a login). A recoveryAttempter will be provided with the error instance that can take UI action. + FBSDKGraphRequestErrorRecoverable = 2, +} NS_SWIFT_NAME(GraphRequestError); + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-Swift.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-Swift.h new file mode 100644 index 0000000..753a7f5 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-Swift.h @@ -0,0 +1,247 @@ +// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +#ifndef FBSDKCOREKIT_SWIFT_H +#define FBSDKCOREKIT_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import Foundation; +@import ObjectiveC; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKCoreKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + +@protocol FBSDKGraphRequestFactory; +@protocol FBSDKSettings; +@class NSString; + +SWIFT_PROTOCOL_NAMED("CAPIReporter") +@protocol FBSDKCAPIReporter +- (void)enable; +- (void)configureWithFactory:(id _Nonnull)factory settings:(id _Nonnull)settings; +- (void)recordEvent:(NSDictionary * _Nonnull)parameters; +@end + + +SWIFT_CLASS("_TtC12FBSDKCoreKit25FBSDKAppEventsCAPIManager") +@interface FBSDKAppEventsCAPIManager : NSObject +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FBSDKAppEventsCAPIManager * _Nonnull shared;) ++ (FBSDKAppEventsCAPIManager * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +- (void)configureWithFactory:(id _Nonnull)factory settings:(id _Nonnull)settings; +- (void)enable; +- (void)recordEvent:(NSDictionary * _Nonnull)parameters; +@end + + +SWIFT_CLASS("_TtC12FBSDKCoreKit35FBSDKTransformerGraphRequestFactory") +@interface FBSDKTransformerGraphRequestFactory : NSObject +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FBSDKTransformerGraphRequestFactory * _Nonnull shared;) ++ (FBSDKTransformerGraphRequestFactory * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +- (void)configureWithDatasetID:(NSString * _Nonnull)datasetID url:(NSString * _Nonnull)url accessKey:(NSString * _Nonnull)accessKey; +- (void)callCapiGatewayAPIWith:(NSDictionary * _Nonnull)parameters; +@end + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h new file mode 100644 index 0000000..8a4569c --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h @@ -0,0 +1,112 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import + +#import + +#if !TARGET_OS_TV + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKCoreKitVersions.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKCoreKitVersions.h new file mode 100644 index 0000000..14be1be --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKCoreKitVersions.h @@ -0,0 +1,10 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#define FBSDK_VERSION_STRING @"13.2.0" +#define FBSDK_DEFAULT_GRAPH_API_VERSION @"v13.0" diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKDeviceButton.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKDeviceButton.h new file mode 100644 index 0000000..73ac851 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKDeviceButton.h @@ -0,0 +1,28 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +/* + An internal base class for device related flows. + + This is an internal API that should not be used directly and is subject to change. + */ +NS_SWIFT_NAME(FBDeviceButton) +@interface FBSDKDeviceButton : FBSDKButton +- (CGSize)sizeThatFits:(CGSize)size attributedTitle:(NSAttributedString *)title; +- (nullable NSAttributedString *)attributedTitleStringFromString:(NSString *)string; +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKDeviceDialogView.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKDeviceDialogView.h new file mode 100644 index 0000000..b98e122 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKDeviceDialogView.h @@ -0,0 +1,45 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(DeviceDialogViewDelegate) +@protocol FBSDKDeviceDialogViewDelegate; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ + +NS_SWIFT_NAME(FBDeviceDialogView) +@interface FBSDKDeviceDialogView : UIView + +@property (nonatomic, weak) id delegate; +@property (nonatomic, copy) NSString *confirmationCode; + +// override point for subclasses. +- (void)buildView; + +@end + +NS_SWIFT_NAME(DeviceDialogViewDelegate) +@protocol FBSDKDeviceDialogViewDelegate + +- (void)deviceDialogViewDidCancel:(FBSDKDeviceDialogView *)deviceDialogView; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKDeviceViewControllerBase.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKDeviceViewControllerBase.h new file mode 100644 index 0000000..b4e309a --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKDeviceViewControllerBase.h @@ -0,0 +1,28 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if TARGET_OS_TV + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/* + An internal base class for device related flows. + + This is an internal API that should not be used directly and is subject to change. + */ +NS_SWIFT_NAME(FBDeviceViewControllerBase) +@interface FBSDKDeviceViewControllerBase : UIViewController +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKDynamicFrameworkLoaderProxy.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKDynamicFrameworkLoaderProxy.h new file mode 100644 index 0000000..a46a303 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKDynamicFrameworkLoaderProxy.h @@ -0,0 +1,29 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(DynamicFrameworkLoaderProxy) +@interface FBSDKDynamicFrameworkLoaderProxy : NSObject +/** + Load the kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly value from the Security Framework + + @return The kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly value or nil. + */ ++ (CFTypeRef)loadkSecAttrAccessibleAfterFirstUnlockThisDeviceOnly; +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKDynamicSocialFrameworkLoader.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKDynamicSocialFrameworkLoader.h new file mode 100644 index 0000000..bad1414 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKDynamicSocialFrameworkLoader.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - Social Constants + +/// Dynamically loaded constant for SLServiceTypeFacebook +FOUNDATION_EXPORT NSString *fbsdkdfl_SLServiceTypeFacebook(void); + +#pragma mark - Social Classes + +FOUNDATION_EXPORT Class fbsdkdfl_SLComposeViewControllerClass(void); + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKErrorCreating.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKErrorCreating.h new file mode 100644 index 0000000..85c9e19 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKErrorCreating.h @@ -0,0 +1,81 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(ErrorCreating) +@protocol FBSDKErrorCreating + +// MARK: - General Errors + +// UNCRUSTIFY_FORMAT_OFF +- (NSError *)errorWithCode:(NSInteger)code + userInfo:(nullable NSDictionary *)userInfo + message:(nullable NSString *)message + underlyingError:(nullable NSError *)underlyingError +NS_SWIFT_NAME(error(code:userInfo:message:underlyingError:)); +// UNCRUSTIFY_FORMAT_ON + +// UNCRUSTIFY_FORMAT_OFF +- (NSError *)errorWithDomain:(NSErrorDomain)domain + code:(NSInteger)code + userInfo:(nullable NSDictionary *)userInfo + message:(nullable NSString *)message + underlyingError:(nullable NSError *)underlyingError +NS_SWIFT_NAME(error(domain:code:userInfo:message:underlyingError:)); +// UNCRUSTIFY_FORMAT_ON + +// MARK: - Invalid Argument Errors + +// UNCRUSTIFY_FORMAT_OFF +- (NSError *)invalidArgumentErrorWithName:(NSString *)name + value:(nullable id)value + message:(nullable NSString *)message + underlyingError:(nullable NSError *)underlyingError +NS_SWIFT_NAME(invalidArgumentError(name:value:message:underlyingError:)); +// UNCRUSTIFY_FORMAT_ON + +// UNCRUSTIFY_FORMAT_OFF +- (NSError *)invalidArgumentErrorWithDomain:(NSErrorDomain)domain + name:(NSString *)name + value:(nullable id)value + message:(nullable NSString *)message + underlyingError:(nullable NSError *)underlyingError +NS_SWIFT_NAME(invalidArgumentError(domain:name:value:message:underlyingError:)); +// UNCRUSTIFY_FORMAT_ON + +// MARK: - Required Argument Errors + +// UNCRUSTIFY_FORMAT_OFF +- (NSError *)requiredArgumentErrorWithName:(NSString *)name + message:(nullable NSString *)message + underlyingError:(nullable NSError *)underlyingError +NS_SWIFT_NAME(requiredArgumentError(name:message:underlyingError:)); +// UNCRUSTIFY_FORMAT_ON + +// UNCRUSTIFY_FORMAT_OFF +- (NSError *)requiredArgumentErrorWithDomain:(NSErrorDomain)domain + name:(NSString *)name + message:(nullable NSString *)message + underlyingError:(nullable NSError *)underlyingError + NS_SWIFT_NAME(requiredArgumentError(domain:name:message:underlyingError:)); +// UNCRUSTIFY_FORMAT_ON + +// MARK: - Unknown Errors + +// UNCRUSTIFY_FORMAT_OFF +- (NSError *)unknownErrorWithMessage:(nullable NSString *)message + userInfo:(nullable NSDictionary *)userInfo +NS_SWIFT_NAME(unknownError(message:userInfo:)); +// UNCRUSTIFY_FORMAT_ON + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKErrorFactory.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKErrorFactory.h new file mode 100644 index 0000000..217c00b --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKErrorFactory.h @@ -0,0 +1,18 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(ErrorFactory) +@interface FBSDKErrorFactory : NSObject + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKErrorRecoveryAttempting.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKErrorRecoveryAttempting.h new file mode 100644 index 0000000..b005f8e --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKErrorRecoveryAttempting.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + A formal protocol very similar to the informal protocol NSErrorRecoveryAttempting + Internal use only + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(ErrorRecoveryAttempting) +@protocol FBSDKErrorRecoveryAttempting + +/** + Attempt the recovery + @param error the error + @param completionHandler the handler called upon completion of error recovery + + Attempt recovery from the error, and call the completion handler. The value passed for didRecover must be YES if error recovery was completely successful, NO otherwise. + */ +- (void)attemptRecoveryFromError:(NSError *)error + completionHandler:(void (^)(BOOL didRecover))completionHandler; +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKFeature.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKFeature.h new file mode 100644 index 0000000..09a72fa --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKFeature.h @@ -0,0 +1,84 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + FBSDKFeature enum + Defines features in SDK + + Sample: + FBSDKFeatureAppEvents = 0x00010000, + ^ ^ ^ ^ + | | | | + kit | | | + feature | | + sub-feature | + sub-sub-feature + 1st byte: kit + 2nd byte: feature + 3rd byte: sub-feature + 4th byte: sub-sub-feature + + @warning INTERNAL - DO NOT USE + */ +typedef NS_ENUM(NSUInteger, FBSDKFeature) { + FBSDKFeatureNone = 0x00000000, + // Features in CoreKit + /// Essential of CoreKit + FBSDKFeatureCore = 0x01000000, + /// App Events + FBSDKFeatureAppEvents = 0x01010000, + FBSDKFeatureCodelessEvents = 0x01010100, + FBSDKFeatureRestrictiveDataFiltering = 0x01010200, + FBSDKFeatureAAM = 0x01010300, + FBSDKFeaturePrivacyProtection = 0x01010400, + FBSDKFeatureSuggestedEvents = 0x01010401, + FBSDKFeatureIntelligentIntegrity = 0x01010402, + FBSDKFeatureModelRequest = 0x01010403, + FBSDKFeatureEventDeactivation = 0x01010500, + FBSDKFeatureSKAdNetwork = 0x01010600, + FBSDKFeatureSKAdNetworkConversionValue = 0x01010601, + FBSDKFeatureATELogging = 0x01010700, + FBSDKFeatureAEM = 0x01010800, + FBSDKFeatureAEMConversionFiltering = 0x01010801, + FBSDKFeatureAEMCatalogMatching = 0x01010802, + FBSDKFeatureAppEventsCloudbridge = 0x01010900, + /// Instrument + FBSDKFeatureInstrument = 0x01020000, + FBSDKFeatureCrashReport = 0x01020100, + FBSDKFeatureCrashShield = 0x01020101, + FBSDKFeatureErrorReport = 0x01020200, + + // Features in LoginKit + /// Essential of LoginKit + FBSDKFeatureLogin = 0x02000000, + + // Features in ShareKit + /// Essential of ShareKit + FBSDKFeatureShare = 0x03000000, + + // Features in GamingServicesKit + /// Essential of GamingServicesKit + FBSDKFeatureGamingServices = 0x04000000, +} NS_SWIFT_NAME(SDKFeature); + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +typedef void (^FBSDKFeatureManagerBlock)(BOOL enabled); + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKFeatureChecking.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKFeatureChecking.h new file mode 100644 index 0000000..bdb5d53 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKFeatureChecking.h @@ -0,0 +1,29 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(FeatureChecking) +@protocol FBSDKFeatureChecking + +- (BOOL)isEnabled:(FBSDKFeature)feature; + +- (void)checkFeature:(FBSDKFeature)feature + completionBlock:(FBSDKFeatureManagerBlock)completionBlock; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h new file mode 100644 index 0000000..bd14952 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h @@ -0,0 +1,167 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import +#import +#import +#import +#import + +NS_ASSUME_NONNULL_BEGIN +/** + Represents a request to the Facebook Graph API. + + `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 + */ +NS_SWIFT_NAME(GraphRequest) +@interface FBSDKGraphRequest : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +// UNCRUSTIFY_FORMAT_OFF ++ (void) configureWithSettings:(id)settings + currentAccessTokenStringProvider:(Class)accessTokenProvider + graphRequestConnectionFactory:(id)_graphRequestConnectionFactory +NS_SWIFT_NAME(configure(settings:currentAccessTokenStringProvider:graphRequestConnectionFactory:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Initializes a new instance that use use `[FBSDKAccessToken currentAccessToken]`. + @param graphPath the graph path (e.g., @"me"). + */ +- (instancetype)initWithGraphPath:(NSString *)graphPath; + +/** + Initializes a new instance that use use `[FBSDKAccessToken currentAccessToken]`. + @param graphPath the graph path (e.g., @"me"). + @param method the HTTP method. Empty String defaults to @"GET". + */ +- (instancetype)initWithGraphPath:(NSString *)graphPath + HTTPMethod:(FBSDKHTTPMethod)method; + +/** + 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; + +/** + Initializes a new instance that use use `[FBSDKAccessToken currentAccessToken]`. + @param graphPath the graph path (e.g., @"me"). + @param parameters the optional parameters dictionary. + @param method the HTTP method. Empty String defaults to @"GET". + */ +- (instancetype)initWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + HTTPMethod:(FBSDKHTTPMethod)method; + +/** + 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 `[FBSDKSettings graphAPIVersion]`. + @param method the HTTP method. Empty String defaults to @"GET". + */ +- (instancetype)initWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + tokenString:(nullable NSString *)tokenString + version:(nullable NSString *)version + HTTPMethod:(FBSDKHTTPMethod)method + NS_DESIGNATED_INITIALIZER; + +/** + Initializes a new instance. + @param graphPath the graph path (e.g., @"me"). + @param parameters the optional parameters dictionary. + @param requestFlags flags that indicate how a graph request should be treated in various scenarios + */ +- (instancetype)initWithGraphPath:(NSString *)graphPath + parameters:(nullable NSDictionary *)parameters + flags:(FBSDKGraphRequestFlags)requestFlags; + +/** + 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 HTTPMethod the HTTP method. Empty String defaults to @"GET". + @param flags flags that indicate how a graph request should be treated in various scenarios + */ +- (instancetype)initWithGraphPath:(NSString *)graphPath + parameters:(nullable NSDictionary *)parameters + tokenString:(nullable NSString *)tokenString + HTTPMethod:(nullable NSString *)HTTPMethod + flags:(FBSDKGraphRequestFlags)flags; + +/// The request parameters. +@property (nonatomic, copy) NSDictionary *parameters; + +/// The access token string used by the request. +@property (nullable, nonatomic, readonly, copy) NSString *tokenString; + +/// The Graph API endpoint to use for the request, for example "me". +@property (nonatomic, readonly, copy) NSString *graphPath; + +/// The HTTPMethod to use for the request, for example "GET" or "POST". +@property (nonatomic, readonly, copy) FBSDKHTTPMethod HTTPMethod; + +/// The Graph API version to use (e.g., "v2.0") +@property (nonatomic, readonly, copy) NSString *version; + +/** + If set, disables the automatic error recovery mechanism. + @param disable whether to disable the automatic error recovery mechanism + + By default, non-batched FBSDKGraphRequest instances will automatically try to recover + from errors by constructing a `FBSDKGraphErrorRecoveryProcessor` instance that + 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:]. + */ + +// UNCRUSTIFY_FORMAT_OFF +- (void)setGraphErrorRecoveryDisabled:(BOOL)disable +NS_SWIFT_NAME(setGraphErrorRecovery(disabled:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Starts a connection to the Graph API. + @param completion The handler block to call when the request completes. + */ +- (id)startWithCompletion:(nullable FBSDKGraphRequestCompletion)completion; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnecting.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnecting.h new file mode 100644 index 0000000..a64cb00 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnecting.h @@ -0,0 +1,54 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol FBSDKGraphRequest; +@protocol FBSDKGraphRequestConnecting; +@protocol FBSDKGraphRequestConnectionDelegate; + +/** + FBSDKGraphRequestCompletion + + A block that is passed to addRequest to register for a callback with the results of that + request once the connection completes. + + 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 connection 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. + */ +NS_SWIFT_NAME(GraphRequestCompletion) +typedef void (^FBSDKGraphRequestCompletion)(id _Nullable connection, + id _Nullable result, + NSError *_Nullable error); + +/// A protocol to describe an object that can manage graph requests +NS_SWIFT_NAME(GraphRequestConnecting) +@protocol FBSDKGraphRequestConnecting + +@property (nonatomic, assign) NSTimeInterval timeout; +@property (nullable, nonatomic, weak) id delegate; + +- (void)addRequest:(id)request + completion:(FBSDKGraphRequestCompletion)handler; + +- (void)start; +- (void)cancel; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h new file mode 100644 index 0000000..99966bf --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h @@ -0,0 +1,173 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + The key in the result dictionary for requests to old versions of the Graph API + whose response is not a JSON object. + + 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. + */ +FOUNDATION_EXPORT NSString *const FBSDKNonJSONResponseProperty +NS_SWIFT_NAME(NonJSONResponseProperty); + +@protocol FBSDKGraphRequest; + +/** + The `FBSDKGraphRequestConnection` represents a single connection to Facebook to service a request. + + 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. + */ +NS_SWIFT_NAME(GraphRequestConnection) +@interface FBSDKGraphRequestConnection : NSObject + +/// The default timeout on all FBSDKGraphRequestConnection instances. Defaults to 60 seconds. +@property (class, nonatomic, assign) NSTimeInterval defaultConnectionTimeout; + +/// The delegate object that receives updates. +@property (nullable, nonatomic, weak) id delegate; + +/// Gets or sets the timeout interval to wait for a response before giving up. +@property (nonatomic, assign) NSTimeInterval timeout; + +/** + The raw response that was returned from the server. (readonly) + + 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 FBSDKGraphRequestBlock callback. + */ +@property (nullable, nonatomic, readonly, retain) NSHTTPURLResponse *urlResponse; + +/** + Determines the operation queue that is used to call methods on the connection's delegate. + + 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. + */ +@property (nullable, nonatomic) NSOperationQueue *delegateQueue; + +/// @methodgroup Class methods + +/// @methodgroup Adding requests + +/** + @method + + This method adds an object to this connection. + + @param request A request to be included in the round-trip when start is called. + @param completion A handler to call back when the round-trip completes or times out. + + The completion handler is retained until the block is called upon the + completion or cancellation of the connection. + */ +- (void)addRequest:(id)request + completion:(FBSDKGraphRequestCompletion)completion; + +/** + @method + + This method adds an object to this connection. + + @param request A request to be included in the round-trip when start is called. + + @param completion A handler to call back when the round-trip completes or times out. + The handler will be invoked on the main thread. + + @param name A 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/ ). + + 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:(id)request + name:(NSString *)name + completion:(FBSDKGraphRequestCompletion)completion; + +/** + @method + + This method adds an object to this connection. + + @param request A request to be included in the round-trip when start is called. + + @param completion A handler to call back when the round-trip completes or times out. + + @param parameters The 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". + + 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:(id)request + parameters:(nullable NSDictionary *)parameters + completion:(FBSDKGraphRequestCompletion)completion; + +/// @methodgroup Instance methods + +/** + @method + + Signals that a connection should be logically terminated as the + application is no longer interested in a response. + + 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 + + This method starts a connection with the server and is capable of handling all of the + requests that were added to the connection. + + 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; + +/** + @method + + Overrides the default version for a batch request + + 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)overrideGraphAPIVersion:(NSString *)version; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionDelegate.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionDelegate.h new file mode 100644 index 0000000..738ad47 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionDelegate.h @@ -0,0 +1,93 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + @protocol + + The `FBSDKGraphRequestConnectionDelegate` protocol defines the methods used to receive network + activity progress information from a . + */ +NS_SWIFT_NAME(GraphRequestConnectionDelegate) +@protocol FBSDKGraphRequestConnectionDelegate + +@optional + +/** + @method + + Tells the delegate the request connection will begin loading + + 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:(id)connection; + +/** + @method + + Tells the delegate the request connection finished loading + + If the request connection completes without a network error occurring 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 FBSDKGraphRequestBlock + 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:(id)connection; + +/** + @method + + Tells the delegate the request connection failed with an error + + 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 + FBSDKGraphRequestBlock 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:(id)connection + didFailWithError:(NSError *)error; + +/** + @method + + Tells the delegate how much data has been sent and is planned to send to the remote host + + The byte count arguments refer to the aggregated objects, not a particular . + + Like `NSURLSession`, 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:(id)connection + didSendBodyData:(NSInteger)bytesWritten + totalBytesWritten:(NSInteger)totalBytesWritten + totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactory.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactory.h new file mode 100644 index 0000000..19e62d2 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactory.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal type not intended for use outside of the SDKs. + + A factory for providing objects that conform to `GraphRequestConnecting`. + */ +NS_SWIFT_NAME(GraphRequestConnectionFactory) +@interface FBSDKGraphRequestConnectionFactory : NSObject +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactoryProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactoryProtocol.h new file mode 100644 index 0000000..96b43df --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactoryProtocol.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol FBSDKGraphRequestConnecting; + +/// Describes anything that can provide instances of `FBSDKGraphRequestConnecting` +NS_SWIFT_NAME(GraphRequestConnectionFactoryProtocol) +@protocol FBSDKGraphRequestConnectionFactory + +- (id)createGraphRequestConnection; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h new file mode 100644 index 0000000..3775cb4 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h @@ -0,0 +1,42 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// A container class for data attachments so that additional metadata can be provided about the attachment. +NS_SWIFT_NAME(GraphRequestDataAttachment) +@interface FBSDKGraphRequestDataAttachment : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + 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; + +/// The content type for the attachment. +@property (nonatomic, readonly, copy) NSString *contentType; + +/// The attachment data. +@property (nonatomic, readonly, strong) NSData *data; + +/// The filename for the attachment. +@property (nonatomic, readonly, copy) NSString *filename; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactory.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactory.h new file mode 100644 index 0000000..6661ac1 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactory.h @@ -0,0 +1,26 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol FBSDKGraphRequestFactory; + +/** + Internal type not intended for use outside of the SDKs. + + A factory for providing objects that conform to `GraphRequest` + */ +NS_SWIFT_NAME(GraphRequestFactory) +@interface FBSDKGraphRequestFactory : NSObject +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactoryProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactoryProtocol.h new file mode 100644 index 0000000..eb85a3b --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactoryProtocol.h @@ -0,0 +1,54 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +@protocol FBSDKGraphRequest; + +typedef NSString *const FBSDKHTTPMethod NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(HTTPMethod); + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal type not intended for use outside of the SDKs. + +Describes anything that can provide instances of `GraphRequestProtocol` + */ +NS_SWIFT_NAME(GraphRequestFactoryProtocol) +@protocol FBSDKGraphRequestFactory + +- (id)createGraphRequestWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + tokenString:(nullable NSString *)tokenString + HTTPMethod:(nullable FBSDKHTTPMethod)method + flags:(FBSDKGraphRequestFlags)flags; + +- (id)createGraphRequestWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters; + +- (id)createGraphRequestWithGraphPath:(NSString *)graphPath; + +- (id)createGraphRequestWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + HTTPMethod:(FBSDKHTTPMethod)method; + +- (id)createGraphRequestWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + tokenString:(nullable NSString *)tokenString + version:(nullable NSString *)version + HTTPMethod:(FBSDKHTTPMethod)method; + +- (id)createGraphRequestWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + flags:(FBSDKGraphRequestFlags)flags; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFlags.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFlags.h new file mode 100644 index 0000000..68e7c8d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFlags.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Flags that indicate how a graph request should be treated in various scenarios +typedef NS_OPTIONS(NSUInteger, FBSDKGraphRequestFlags) { + FBSDKGraphRequestFlagNone = 0, + /// indicates this request should not use a client token as its token parameter + FBSDKGraphRequestFlagSkipClientToken = 1 << 1, + /// indicates this request should not close the session if its response is an oauth error + FBSDKGraphRequestFlagDoNotInvalidateTokenOnError = 1 << 2, + /// indicates this request should not perform error recovery + FBSDKGraphRequestFlagDisableErrorRecovery = 1 << 3, +} NS_SWIFT_NAME(GraphRequestFlags); + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestHTTPMethod.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestHTTPMethod.h new file mode 100644 index 0000000..e79728d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestHTTPMethod.h @@ -0,0 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/// typedef for FBSDKHTTPMethod +typedef NSString *const FBSDKHTTPMethod NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(HTTPMethod); + +/// GET Request +FOUNDATION_EXPORT FBSDKHTTPMethod FBSDKHTTPMethodGET NS_SWIFT_NAME(get); + +/// POST Request +FOUNDATION_EXPORT FBSDKHTTPMethod FBSDKHTTPMethodPOST NS_SWIFT_NAME(post); + +/// DELETE Request +FOUNDATION_EXPORT FBSDKHTTPMethod FBSDKHTTPMethodDELETE NS_SWIFT_NAME(delete); diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestProtocol.h new file mode 100644 index 0000000..6cc4da3 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestProtocol.h @@ -0,0 +1,66 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +@class FBSDKGraphRequestConnection; +@protocol FBSDKGraphRequestConnecting; + +typedef void (^FBSDKGraphRequestCompletion)(id _Nullable connection, + id _Nullable result, + NSError *_Nullable error); + +typedef void (^FBSDKGraphRequestBlock)(FBSDKGraphRequestConnection *_Nullable connection, + id _Nullable result, + NSError *_Nullable error); + +/// A protocol to describe anything that represents a graph request +NS_SWIFT_NAME(GraphRequestProtocol) +@protocol FBSDKGraphRequest + +/// The request parameters. +@property (nonatomic, copy) NSDictionary *parameters; + +/// The access token string used by the request. +@property (nullable, nonatomic, readonly, copy) NSString *tokenString; + +/// The Graph API endpoint to use for the request, for example "me". +@property (nonatomic, readonly, copy) NSString *graphPath; + +/// The HTTPMethod to use for the request, for example "GET" or "POST". +@property (nonatomic, readonly, copy) FBSDKHTTPMethod HTTPMethod; + +/// The Graph API version to use (e.g., "v2.0") +@property (nonatomic, readonly, copy) NSString *version; + +/// The graph request flags to use +@property (nonatomic, readonly, assign) FBSDKGraphRequestFlags flags; + +/// Convenience property to determine if graph error recover is disabled +@property (nonatomic, getter = isGraphErrorRecoveryDisabled) BOOL graphErrorRecoveryDisabled; + +/// Convenience property to determine if the request has attachments +@property (nonatomic, readonly) BOOL hasAttachments; + +/** + Starts a connection to the Graph API. + @param completion The handler block to call when the request completes. + */ +- (id)startWithCompletion:(nullable FBSDKGraphRequestCompletion)completion; + +/// A formatted description of the graph request +- (NSString *)formattedDescription; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKIcon.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKIcon.h new file mode 100644 index 0000000..0404e39 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKIcon.h @@ -0,0 +1,26 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(Icon) +@interface FBSDKIcon : NSObject + +- (nullable CGPathRef)pathWithSize:(CGSize)size; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKImpressionLoggingButton.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKImpressionLoggingButton.h new file mode 100644 index 0000000..4202de7 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKImpressionLoggingButton.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(ImpressionLoggingButton) +@interface FBSDKImpressionLoggingButton : UIButton +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKInternalUtility.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKInternalUtility.h new file mode 100644 index 0000000..c48e086 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKInternalUtility.h @@ -0,0 +1,83 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import + +#import +#import +#import +#import + +#if !TARGET_OS_TV + #import +#endif + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(InternalUtility) +@interface FBSDKInternalUtility : NSObject +#if !TARGET_OS_TV + +#else + +#endif + +#if !DEBUG +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; +#endif + +@property (class, nonnull, readonly) FBSDKInternalUtility *sharedUtility; + +/** + Returns bundle for returning localized strings + + We assume a convention of a bundle named FBSDKStrings.bundle, otherwise we + return the main bundle. + */ +@property (nonatomic, readonly, strong) NSBundle *bundleForStrings; + +/** + Tests whether the supplied URL is a valid URL for opening in the browser. + @param URL The URL to test. + @return YES if the URL refers to an http or https resource, otherwise NO. + */ +- (BOOL)isBrowserURL:(NSURL *)URL; + +/** + Checks equality between 2 objects. + + Checks for pointer equality, nils, isEqual:. + @param object The first object to compare. + @param other The second object to compare. + @return YES if the objects are equal, otherwise NO. + */ +- (BOOL)object:(id)object isEqualToObject:(id)other; + +/// Attempts to find the first UIViewController in the view's responder chain. Returns nil if not found. +- (nullable UIViewController *)viewControllerForView:(UIView *)view; + +/// returns true if the url scheme is registered in the CFBundleURLTypes +- (BOOL)isRegisteredURLScheme:(NSString *)urlScheme; + +/// returns currently displayed top view controller. +- (nullable UIViewController *)topMostViewController; + +/// returns the current key window +- (nullable UIWindow *)findWindow; + +#pragma mark - FB Apps Installed + +@property (nonatomic, readonly, assign) BOOL isMessengerAppInstalled; + +- (BOOL)isRegisteredCanOpenURLScheme:(NSString *)urlScheme; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKInternalUtilityProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKInternalUtilityProtocol.h new file mode 100644 index 0000000..1084682 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKInternalUtilityProtocol.h @@ -0,0 +1,135 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(InternalUtilityProtocol) +@protocol FBSDKInternalUtility + +#pragma mark - FB Apps Installed + +@property (nonatomic, readonly) BOOL isFacebookAppInstalled; + +/* + Checks if the app is Unity. + */ +@property (nonatomic, readonly) BOOL isUnity; + +/** + Constructs an NSURL. + @param scheme The scheme for the URL. + @param host The host for the URL. + @param path The path for the URL. + @param queryParameters The query parameters for the URL. This will be converted into a query string. + @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. + @return The URL. + */ +- (nullable NSURL *)URLWithScheme:(NSString *)scheme + host:(NSString *)host + path:(NSString *)path + queryParameters:(NSDictionary *)queryParameters + error:(NSError *__autoreleasing *)errorRef; + +/** + Constructs an URL for the current app. + @param host The host for the URL. + @param path The path for the URL. + @param queryParameters The query parameters for the URL. This will be converted into a query string. + @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. + @return The app URL. + */ +- (nullable NSURL *)appURLWithHost:(NSString *)host + path:(NSString *)path + queryParameters:(NSDictionary *)queryParameters + error:(NSError *__autoreleasing *)errorRef; + +/** + Constructs a Facebook URL. + @param hostPrefix The prefix for the host, such as 'm', 'graph', etc. + @param path The path for the URL. This may or may not include a version. + @param queryParameters The query parameters for the URL. This will be converted into a query string. + @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. + @return The Facebook URL. + */ +- (nullable NSURL *)facebookURLWithHostPrefix:(NSString *)hostPrefix + path:(NSString *)path + queryParameters:(NSDictionary *)queryParameters + error:(NSError *__autoreleasing *)errorRef; + +/** + Registers a transient object so that it will not be deallocated until unregistered + @param object The transient object + */ +- (void)registerTransientObject:(id)object; + +/** + Unregisters a transient object that was previously registered with registerTransientObject: + @param object The transient object + */ +- (void)unregisterTransientObject:(__weak id)object; + +- (void)checkRegisteredCanOpenURLScheme:(NSString *)urlScheme; + +/// Validates that the right URL schemes are registered, throws an NSException if not. +- (void)validateURLSchemes; + +/// add data processing options to the dictionary. +- (void)extendDictionaryWithDataProcessingOptions:(NSMutableDictionary *)parameters; + +/// Converts NSData to a hexadecimal UTF8 String. +- (nullable NSString *)hexadecimalStringFromData:(NSData *)data; + +/// validates that the app ID is non-nil, throws an NSException if nil. +- (void)validateAppID; + +/** + Validates that the client access token is non-nil, otherwise - throws an NSException otherwise. + Returns the composed client access token. + */ +- (NSString *)validateRequiredClientAccessToken; + +/** + Extracts permissions from a response fetched from me/permissions + @param responseObject the response + @param grantedPermissions the set to add granted permissions to + @param declinedPermissions the set to add declined permissions to. + */ +- (void)extractPermissionsFromResponse:(NSDictionary *)responseObject + grantedPermissions:(NSMutableSet *)grantedPermissions + declinedPermissions:(NSMutableSet *)declinedPermissions + expiredPermissions:(NSMutableSet *)expiredPermissions; + +/// validates that Facebook reserved URL schemes are not registered, throws an NSException if they are. +- (void)validateFacebookReservedURLSchemes; + +/** + Parses an FB url's query params (and potentially fragment) into a dictionary. + @param url The FB url. + @return A dictionary with the key/value pairs. + */ +- (NSDictionary *)parametersFromFBURL:(NSURL *)url; + +/** + Returns bundle for returning localized strings + + We assume a convention of a bundle named FBSDKStrings.bundle, otherwise we + return the main bundle. + */ +@property (nonatomic, readonly, strong) NSBundle *bundleForStrings; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKKeychainStore.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKKeychainStore.h new file mode 100644 index 0000000..a4292d5 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKKeychainStore.h @@ -0,0 +1,34 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(KeychainStore) +@interface FBSDKKeychainStore : NSObject + +@property (nonatomic, readonly, copy) NSString *service; +@property (nullable, nonatomic, readonly, copy) NSString *accessGroup; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +- (instancetype)initWithService:(NSString *)service accessGroup:(nullable NSString *)accessGroup NS_DESIGNATED_INITIALIZER; + +- (BOOL)setData:(nullable NSData *)value forKey:(NSString *)key accessibility:(CFTypeRef)accessibility; +- (nullable NSData *)dataForKey:(NSString *)key; + +// hook for subclasses to override keychain query construction. +- (NSMutableDictionary *)queryForKey:(NSString *)key; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreFactory.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreFactory.h new file mode 100644 index 0000000..149c59d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreFactory.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal type not intended for use outside of the SDKs. + + A factory for providing objects that conform to `KeychainStore` + */ +NS_SWIFT_NAME(KeychainStoreFactory) +@interface FBSDKKeychainStoreFactory : NSObject +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProtocol.h new file mode 100644 index 0000000..4f8636a --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProtocol.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(KeychainStoreProtocol) +@protocol FBSDKKeychainStore + +- (nullable NSString *)stringForKey:(NSString *)key; +- (nullable NSDictionary *)dictionaryForKey:(NSString *)key; + +- (BOOL)setString:(nullable NSString *)value forKey:(NSString *)key accessibility:(nullable CFTypeRef)accessibility; +- (BOOL)setDictionary:(nullable NSDictionary *)value forKey:(NSString *)key accessibility:(nullable CFTypeRef)accessibility; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProviding.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProviding.h new file mode 100644 index 0000000..af0263c --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProviding.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(KeychainStoreProviding) +@protocol FBSDKKeychainStoreProviding + +- (nonnull id)createKeychainStoreWithService:(NSString *)service + accessGroup:(nullable NSString *)accessGroup; +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKLocation.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKLocation.h new file mode 100644 index 0000000..e9fd130 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKLocation.h @@ -0,0 +1,34 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(Location) +@interface FBSDKLocation : NSObject + +/// Location id +@property (nonatomic, readonly, strong) NSString *id; +/// Location name +@property (nonatomic, readonly, strong) NSString *name; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + Returns a Location object from a dinctionary containing valid location information. + @param dictionary The dictionary containing raw location + + Valid location will consist of "id" and "name" strings. + */ ++ (nullable instancetype)locationFromDictionary:(NSDictionary *)dictionary; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKLogger.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKLogger.h new file mode 100644 index 0000000..d6a3100 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKLogger.h @@ -0,0 +1,38 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Simple logging utility for conditionally logging strings and then emitting them + via NSLog(). + + @unsorted + + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(Logger) +@interface FBSDKLogger : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +// Simple helper to write a single log entry, based upon whether the behavior matches a specified on. ++ (void)singleShotLogEntry:(FBSDKLoggingBehavior)loggingBehavior + logEntry:(NSString *)logEntry; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKLogging.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKLogging.h new file mode 100644 index 0000000..dbef541 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKLogging.h @@ -0,0 +1,30 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(Logging) +@protocol FBSDKLogging + +@property (nonatomic, readonly, copy) NSString *contents; +@property (nonatomic, readonly, copy) FBSDKLoggingBehavior loggingBehavior; + +- (instancetype)initWithLoggingBehavior:(FBSDKLoggingBehavior)loggingBehavior; + ++ (void)singleShotLogEntry:(FBSDKLoggingBehavior)loggingBehavior + logEntry:(NSString *)logEntry; + +- (void)logEntry:(NSString *)logEntry; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKLoggingBehavior.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKLoggingBehavior.h new file mode 100644 index 0000000..900542d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKLoggingBehavior.h @@ -0,0 +1,51 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/* + * Constants defining logging behavior. Use with <[FBSDKSettings setLoggingBehavior]>. + */ + +typedef NSString *FBSDKLoggingBehavior NS_TYPED_ENUM NS_SWIFT_NAME(LoggingBehavior); + +/// Include access token in logging. +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorAccessTokens; + +/// Log performance characteristics +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorPerformanceCharacteristics; + +/// Log FBSDKAppEvents interactions +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorAppEvents; + +/// Log Informational occurrences +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorInformational; + +/// Log cache errors. +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorCacheErrors; + +/// Log errors from SDK UI controls +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorUIControlErrors; + +/// Log debug warnings from API response, i.e. when friends fields requested, but user_friends permission isn't granted. +FOUNDATION_EXPORT FBSDKLoggingBehavior 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. + */ +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorGraphAPIDebugInfo; + +/// Log errors from SDK network requests +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorNetworkRequests; + +/// Log errors likely to be preventable by the developer. This is in the default set of enabled logging behaviors. +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorDeveloperErrors; + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKLoginTooltip.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKLoginTooltip.h new file mode 100644 index 0000000..a663749 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKLoginTooltip.h @@ -0,0 +1,31 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** +Internal Type exposed to facilitate transition to Swift. +API Subject to change or removal without warning. Do not use. + +@warning INTERNAL - DO NOT USE + */ +@interface FBSDKLoginTooltip : NSObject +@property (nonatomic, readonly, getter = isEnabled, assign) BOOL enabled; +@property (nonatomic, readonly, copy) NSString *text; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +- (instancetype)initWithText:(NSString *)text + enabled:(BOOL)enabled + NS_DESIGNATED_INITIALIZER; +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKNetworkErrorChecker.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKNetworkErrorChecker.h new file mode 100644 index 0000000..5b157c2 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKNetworkErrorChecker.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Concrete type providing functionality that checks whether an error represents a + network error. + */ +NS_SWIFT_NAME(NetworkErrorChecker) +@interface FBSDKNetworkErrorChecker : NSObject + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKNetworkErrorChecking.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKNetworkErrorChecking.h new file mode 100644 index 0000000..2868737 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKNetworkErrorChecking.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_SWIFT_NAME(NetworkErrorChecking) +@protocol FBSDKNetworkErrorChecking + +/** + Checks whether an error is a network error. + + @param error An error that may or may not represent a network error. + + @return `YES` if the error represents a network error, otherwise `NO`. + */ +- (BOOL)isNetworkError:(NSError *)error; + +@end diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKProductAvailability.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKProductAvailability.h new file mode 100644 index 0000000..fa8f4cd --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKProductAvailability.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** + NS_ENUM(NSUInteger, FBSDKProductAvailability) + Specifies product availability for Product Catalog product item update + */ +typedef NS_ENUM(NSUInteger, FBSDKProductAvailability) { + /// Item ships immediately + FBSDKProductAvailabilityInStock = 0, + /// No plan to restock + FBSDKProductAvailabilityOutOfStock, + /// Available in future + FBSDKProductAvailabilityPreOrder, + /// Ships in 1-2 weeks + FBSDKProductAvailabilityAvailableForOrder, + /// Discontinued + FBSDKProductAvailabilityDiscontinued, +} NS_SWIFT_NAME(AppEvents.ProductAvailability); diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKProductCondition.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKProductCondition.h new file mode 100644 index 0000000..41e23b1 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKProductCondition.h @@ -0,0 +1,17 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** + NS_ENUM(NSUInteger, FBSDKProductCondition) + Specifies product condition for Product Catalog product item update + */ +typedef NS_ENUM(NSUInteger, FBSDKProductCondition) { + FBSDKProductConditionNew = 0, + FBSDKProductConditionRefurbished, + FBSDKProductConditionUsed, +} NS_SWIFT_NAME(AppEvents.ProductCondition); diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKRandom.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKRandom.h new file mode 100644 index 0000000..653a038 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKRandom.h @@ -0,0 +1,15 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/** + Provides a random string + @param numberOfBytes the number of bytes to use + */ +extern NSString *fb_randomString(NSUInteger numberOfBytes); diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKServerConfigurationProvider.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKServerConfigurationProvider.h new file mode 100644 index 0000000..8c651e1 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKServerConfigurationProvider.h @@ -0,0 +1,67 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal block type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(LoginTooltipBlock) +typedef void (^FBSDKLoginTooltipBlock)(FBSDKLoginTooltip *_Nullable loginTooltip, NSError *_Nullable error); + +/** +Internal Type exposed to facilitate transition to Swift. +API Subject to change or removal without warning. Do not use. + +@warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(ServerConfigurationProvider) +@interface FBSDKServerConfigurationProvider : NSObject + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nonatomic, readonly) NSString *loggingToken; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (NSUInteger)cachedSmartLoginOptions; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (BOOL)useSafariViewControllerForDialogName:(NSString *)dialogName; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void)loadServerConfigurationWithCompletionBlock:(nullable FBSDKLoginTooltipBlock)completionBlock + NS_SWIFT_NAME(loadServerConfiguration(completion:)); +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKSettings.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKSettings.h new file mode 100644 index 0000000..9a00e27 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKSettings.h @@ -0,0 +1,197 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(Settings) +@interface FBSDKSettings : NSObject + +#if !DEBUG +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; +#endif + +/// The shared settings instance. Prefer this and the exposed instance methods over the class variants. +@property (class, nonatomic, readonly) FBSDKSettings *sharedSettings; + +/// Retrieve the current iOS SDK version. +@property (nonatomic, readonly, copy) NSString *sdkVersion; + +/// Retrieve the current default Graph API version. +@property (nonatomic, readonly, copy) NSString *defaultGraphAPIVersion; + +/** + The quality of JPEG images sent to Facebook from the SDK, + expressed as a value from 0.0 to 1.0. + + If not explicitly set, the default is 0.9. +*/ +@property (nonatomic) CGFloat JPEGCompressionQuality +NS_SWIFT_NAME(jpegCompressionQuality); + +/** + Controls the auto logging of basic app events, such as activateApp and deactivateApp. + If not explicitly set, the default is true + */ +@property (nonatomic, getter = isAutoLogAppEventsEnabled) BOOL autoLogAppEventsEnabled; + +/** + Controls the fb_codeless_debug logging event + If not explicitly set, the default is true + */ +@property (nonatomic, getter = isCodelessDebugLogEnabled) BOOL codelessDebugLogEnabled; + +/** + Controls the access to IDFA + If not explicitly set, the default is true + */ +@property (nonatomic, getter = isAdvertiserIDCollectionEnabled) BOOL advertiserIDCollectionEnabled; + +/** + Controls the SKAdNetwork report + If not explicitly set, the default is true + */ +@property (nonatomic, getter = isSKAdNetworkReportEnabled) BOOL skAdNetworkReportEnabled; + +/** + 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. + */ +@property (nonatomic) BOOL isEventDataUsageLimited; + +/** + Whether in memory cached values should be used for expensive metadata fields, such as + carrier and advertiser ID, that are fetched on many applicationDidBecomeActive notifications. + Defaults to NO. This value is stored on the device and persists across app launches. + */ +@property (nonatomic) BOOL shouldUseCachedValuesForExpensiveMetadata; + +/// A convenient way to toggle error recovery for all FBSDKGraphRequest instances created after this is set. +@property (nonatomic) BOOL isGraphErrorRecoveryEnabled; + +/** + The Facebook App ID used by the SDK. + + If not explicitly set, the default will be read from the application's plist (FacebookAppID). + */ +@property (nullable, nonatomic, copy) NSString *appID; + +/** + The default url scheme suffix used for sessions. + + If not explicitly set, the default will be read from the application's plist (FacebookUrlSchemeSuffix). + */ +@property (nullable, nonatomic, copy) NSString *appURLSchemeSuffix; + +/** + The Client Token that has been set via [[FBSDKSettings sharedSettings] setClientToken]. + This is needed for certain API calls when made anonymously, without a user-based access token. + + 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 + + If not explicitly set, the default will be read from the application's plist (FacebookClientToken). + */ +@property (nullable, nonatomic, copy) NSString *clientToken; + +/** + The Facebook Display Name used by the SDK. + + This should match the Display Name that has been set for the app with the corresponding Facebook App ID, + in the Facebook App Dashboard. + + If not explicitly set, the default will be read from the application's plist (FacebookDisplayName). + */ +@property (nullable, nonatomic, copy) NSString *displayName; + +/** + The Facebook domain part. This can be used to change the Facebook domain + (e.g. @"beta") so that requests will be sent to `graph.beta.facebook.com` + + If not explicitly set, the default will be read from the application's plist (FacebookDomainPart). + */ +@property (nullable, nonatomic, copy) NSString *facebookDomainPart; + +/** + The current Facebook SDK logging behavior. This should consist of strings + defined as constants with FBSDKLoggingBehavior*. + + This should consist a set of strings indicating what information should be logged + defined as constants with FBSDKLoggingBehavior*. Set to an empty set in order to disable all logging. + + You can also define this via an array in your app plist with key "FacebookLoggingBehavior" or add and remove individual values via enableLoggingBehavior: or disableLoggingBehavior: + + The default is a set consisting of FBSDKLoggingBehaviorDeveloperErrors + */ +@property (nonatomic, copy) NSSet *loggingBehaviors; + +/** + Overrides the default Graph API version to use with `FBSDKGraphRequests`. + + The string should be of the form `@"v2.7"`. + + Defaults to `defaultGraphAPIVersion`. + */ +@property (nonatomic, copy) NSString *graphAPIVersion; + +/** + Internal property exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nullable, nonatomic, copy) NSString *userAgentSuffix; + +/** + The value of the flag advertiser_tracking_enabled that controls the advertiser tracking status of the data sent to Facebook + If not explicitly set in iOS14 or above, the default is false in iOS14 or above. + */ +@property (nonatomic, getter = isAdvertiserTrackingEnabled) BOOL advertiserTrackingEnabled; + +/** +Set the data processing options. + + @param options list of options + */ +- (void)setDataProcessingOptions:(nullable NSArray *)options; + +/** +Set the data processing options. + + @param options list of the options + @param country code of the country + @param state code of the state + */ +- (void)setDataProcessingOptions:(nullable NSArray *)options + country:(int)country + state:(int)state; + +/** + Enable a particular Facebook SDK logging behavior. + + @param loggingBehavior The LoggingBehavior to enable. This should be a string defined as a constant with FBSDKLoggingBehavior*. + */ +- (void)enableLoggingBehavior:(FBSDKLoggingBehavior)loggingBehavior; + +/** + 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:(FBSDKLoggingBehavior)loggingBehavior; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKSettingsLogging.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKSettingsLogging.h new file mode 100644 index 0000000..1e21fe0 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKSettingsLogging.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(SettingsLogging) +@protocol FBSDKSettingsLogging + +- (void)logWarnings; +- (void)logIfSDKSettingsChanged; +- (void)recordInstall; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKSettingsProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKSettingsProtocol.h new file mode 100644 index 0000000..d0eeb7a --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKSettingsProtocol.h @@ -0,0 +1,63 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(SettingsProtocol) +@protocol FBSDKSettings + +@property (nullable, nonatomic, copy) NSString *appID; +@property (nullable, nonatomic, copy) NSString *clientToken; +@property (nullable, nonatomic, copy) NSString *userAgentSuffix; +@property (nonatomic, readonly, copy) NSString *sdkVersion; +@property (nullable, nonatomic, copy) NSString *displayName; +@property (nullable, nonatomic, copy) NSString *facebookDomainPart; +@property (nonnull, nonatomic, copy) NSSet *loggingBehaviors; +@property (nullable, nonatomic, copy) NSString *appURLSchemeSuffix; +@property (nonatomic, readonly) BOOL isDataProcessingRestricted; +@property (nonatomic, readonly) BOOL isAutoLogAppEventsEnabled; +@property (nonatomic, getter = isCodelessDebugLogEnabled) BOOL codelessDebugLogEnabled; +@property (nonatomic, getter = isAdvertiserIDCollectionEnabled) BOOL advertiserIDCollectionEnabled; +@property (nonatomic, readonly) BOOL isSetATETimeExceedsInstallTime; +@property (nonatomic, readonly) BOOL isSKAdNetworkReportEnabled; +@property (nonatomic, readonly) FBSDKAdvertisingTrackingStatus advertisingTrackingStatus; +@property (nullable, nonatomic, readonly) NSDate *installTimestamp; +@property (nullable, nonatomic, readonly) NSDate *advertiserTrackingEnabledTimestamp; +@property (nonatomic) BOOL isEventDataUsageLimited; +@property (nonatomic) BOOL shouldUseTokenOptimizations; +@property (nonatomic, copy) NSString *graphAPIVersion; +@property (nonatomic) BOOL isGraphErrorRecoveryEnabled; +@property (nullable, nonatomic, readonly, copy) NSString *graphAPIDebugParamValue; +@property (nonatomic, getter = isAdvertiserTrackingEnabled) BOOL advertiserTrackingEnabled; +@property (nonatomic) BOOL shouldUseCachedValuesForExpensiveMetadata; +@property (nullable, nonatomic, readonly) NSDictionary *persistableDataProcessingOptions; + +/** + Set the data processing options. + + @param options list of options + */ +- (void)setDataProcessingOptions:(nullable NSArray *)options; + +/** + Set the data processing options. + + @param options list of the options + @param country code of the country + @param state code of the state + */ +- (void)setDataProcessingOptions:(nullable NSArray *)options + country:(int)country + state:(int)state; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKTokenCaching.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKTokenCaching.h new file mode 100644 index 0000000..6b07cb4 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKTokenCaching.h @@ -0,0 +1,43 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@class FBSDKAccessToken; +@class FBSDKAuthenticationToken; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(TokenCaching) +@protocol FBSDKTokenCaching + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nullable, nonatomic, copy) FBSDKAccessToken *accessToken; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nullable, nonatomic, copy) FBSDKAuthenticationToken *authenticationToken; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKTokenStringProviding.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKTokenStringProviding.h new file mode 100644 index 0000000..87f227d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKTokenStringProviding.h @@ -0,0 +1,29 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(TokenStringProviding) +@protocol FBSDKTokenStringProviding + +/** + Return the token string of the current access token. + + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ + +@property (class, nullable, nonatomic, readonly, copy) NSString *tokenString; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKTransformer.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKTransformer.h new file mode 100644 index 0000000..ea415c8 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKTransformer.h @@ -0,0 +1,28 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +extern CATransform3D const FBSDKCATransform3DIdentity; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@interface FBSDKTransformer : NSObject +- (CATransform3D)CATransform3DMakeScale:(CGFloat)sx sy:(CGFloat)sy sz:(CGFloat)sz; +- (CATransform3D)CATransform3DMakeTranslation:(CGFloat)tx ty:(CGFloat)ty tz:(CGFloat)tz; +- (CATransform3D)CATransform3DConcat:(CATransform3D)a b:(CATransform3D)b; +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKURLScheme.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKURLScheme.h new file mode 100644 index 0000000..f728392 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKURLScheme.h @@ -0,0 +1,17 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +typedef NSString *FBSDKURLScheme NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(URLScheme); + +FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeFacebookAPI; +FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeMessengerApp; +FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeHTTPS NS_SWIFT_NAME(https); +FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeHTTP NS_SWIFT_NAME(http); +FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeWeb; diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKUserAgeRange.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKUserAgeRange.h new file mode 100644 index 0000000..7d71916 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKUserAgeRange.h @@ -0,0 +1,35 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(UserAgeRange) +@interface FBSDKUserAgeRange : NSObject + +/// The user's minimun age, nil if unspecified +@property (nullable, nonatomic, readonly, strong) NSNumber *min; +/// The user's maximun age, nil if unspecified +@property (nullable, nonatomic, readonly, strong) NSNumber *max; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + Returns a UserAgeRange object from a dinctionary containing valid user age range. + @param dictionary The dictionary containing raw user age range + + Valid user age range will consist of "min" and/or "max" values that are + positive integers, where "min" is smaller than or equal to "max". + */ ++ (nullable instancetype)ageRangeFromDictionary:(NSDictionary *)dictionary; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKUtility.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKUtility.h new file mode 100644 index 0000000..eb5ca0a --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/FBSDKUtility.h @@ -0,0 +1,108 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Class to contain common utility methods. +NS_SWIFT_NAME(Utility) +@interface FBSDKUtility : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + Parses a query string into a dictionary. + @param queryString The query string value. + @return A dictionary with the key/value pairs. + */ + +// UNCRUSTIFY_FORMAT_OFF ++ (NSDictionary *)dictionaryWithQueryString:(NSString *)queryString +NS_SWIFT_NAME(dictionary(withQuery:)); +// UNCRUSTIFY_FORMAT_ON + +/** + 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. + @return Query string representation of the parameters. + */ + +// UNCRUSTIFY_FORMAT_OFF ++ (NSString *)queryStringWithDictionary:(NSDictionary *)dictionary + error:(NSError **)errorRef +NS_SWIFT_NAME(query(from:)) +__attribute__((swift_error(nonnull_error))); +// UNCRUSTIFY_FORMAT_ON + +/** + Decodes a value from an URL. + @param value The value to decode. + @return The decoded value. + */ + +// UNCRUSTIFY_FORMAT_OFF ++ (NSString *)URLDecode:(NSString *)value +NS_SWIFT_NAME(decode(urlString:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Encodes a value for an URL. + @param value The value to encode. + @return The encoded value. + */ + +// UNCRUSTIFY_FORMAT_OFF ++ (NSString *)URLEncode:(NSString *)value +NS_SWIFT_NAME(encode(urlString:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Creates a timer using Grand Central Dispatch. + @param interval The interval to fire the timer, in seconds. + @param block The code block to execute when timer is fired. + @return The dispatch handle. + */ ++ (dispatch_source_t)startGCDTimerWithInterval:(double)interval block:(dispatch_block_t)block; + +/** + Stop a timer that was started by startGCDTimerWithInterval. + @param timer The dispatch handle received from startGCDTimerWithInterval. + */ ++ (void)stopGCDTimer:(dispatch_source_t)timer; + +/** + Get SHA256 hased string of NSString/NSData + + @param input The data that needs to be hashed, it could be NSString or NSData. + */ + +// UNCRUSTIFY_FORMAT_OFF ++ (nullable NSString *)SHA256Hash:(NSObject *)input +NS_SWIFT_NAME(sha256Hash(_:)); +// UNCRUSTIFY_FORMAT_ON + +/// Returns the graphdomain stored in FBSDKAuthenticationToken ++ (nullable NSString *)getGraphDomainFromToken; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ ++ (NSURL *)unversionedFacebookURLWithHostPrefix:(NSString *)hostPrefix + path:(NSString *)path + queryParameters:(NSDictionary *)queryParameters + error:(NSError *__autoreleasing *)errorRef; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/_FBSDKWindowFinding.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/_FBSDKWindowFinding.h new file mode 100644 index 0000000..a9d946f --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/_FBSDKWindowFinding.h @@ -0,0 +1,36 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_WindowFinding) +@protocol _FBSDKWindowFinding + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (nullable UIWindow *)findWindow; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/__FBSDKLoggerCreating.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/__FBSDKLoggerCreating.h new file mode 100644 index 0000000..a8114b1 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Headers/__FBSDKLoggerCreating.h @@ -0,0 +1,29 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(LoggerCreating) +@protocol __FBSDKLoggerCreating + +- (id)createLoggerWithLoggingBehavior:(FBSDKLoggingBehavior)loggingBehavior; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Info.plist b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Info.plist new file mode 100644 index 0000000..9adf5ff Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Info.plist differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-tvos.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-tvos.swiftdoc new file mode 100644 index 0000000..07a8175 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-tvos.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-tvos.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-tvos.swiftinterface new file mode 100644 index 0000000..877c656 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-tvos.swiftinterface @@ -0,0 +1,99 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-tvos11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKCoreKit +@_exported import FBSDKCoreKit +import FBSDKCoreKit_Basics +import Foundation +import Swift +import UIKit +import _Concurrency +extension FBSDKCoreKit.AccessToken { + public var permissions: Swift.Set { + get + } + public var declinedPermissions: Swift.Set { + get + } + public var expiredPermissions: Swift.Set { + get + } + public func hasGranted(_ permission: FBSDKCoreKit.Permission) -> Swift.Bool +} +@objc(FBSDKCAPIReporter) public protocol CAPIReporter { + @objc func enable() + @objc func configure(factory: FBSDKCoreKit.GraphRequestFactoryProtocol, settings: FBSDKCoreKit.SettingsProtocol) + @objc func recordEvent(_ parameters: [Swift.String : Any]) +} +@objc @_inheritsConvenienceInitializers @objcMembers public class FBSDKAppEventsCAPIManager : ObjectiveC.NSObject, FBSDKCoreKit.CAPIReporter { + @objc public static let shared: FBSDKCoreKit.FBSDKAppEventsCAPIManager + @objc override dynamic public init() + @objc public func configure(factory: FBSDKCoreKit.GraphRequestFactoryProtocol, settings: FBSDKCoreKit.SettingsProtocol) + @objc public func enable() + @objc public func recordEvent(_ parameters: [Swift.String : Any]) + @objc deinit +} +@objc @_inheritsConvenienceInitializers @objcMembers public class FBSDKTransformerGraphRequestFactory : ObjectiveC.NSObject { + @objc public static let shared: FBSDKCoreKit.FBSDKTransformerGraphRequestFactory + public var credentials: FBSDKCoreKit.FBSDKTransformerGraphRequestFactory.CapiGCredentials? { + get + } + public struct CapiGCredentials { + public let accessKey: Swift.String + public let capiGatewayURL: Swift.String + public let datasetID: Swift.String + } + @objc override dynamic public init() + @objc public func configure(datasetID: Swift.String, url: Swift.String, accessKey: Swift.String) + @objc public func callCapiGatewayAPI(with parameters: [Swift.String : Any]) + @objc deinit +} +public enum Permission : Swift.Hashable, Swift.ExpressibleByStringLiteral { + case publicProfile + case userFriends + case email + case userAboutMe + case userActionsBooks + case userActionsFitness + case userActionsMusic + case userActionsNews + case userActionsVideo + case userBirthday + case userEducationHistory + case userEvents + case userGamesActivity + case userGender + case userHometown + case userLikes + case userLocation + case userManagedGroups + case userPhotos + case userPosts + case userRelationships + case userRelationshipDetails + case userReligionPolitics + case userTaggedPlaces + case userVideos + case userWebsite + case userWorkHistory + case readCustomFriendlists + case readInsights + case readAudienceNetworkInsights + case readPageMailboxes + case pagesShowList + case pagesManageCta + case pagesManageInstantArticles + case adsRead + case custom(Swift.String) + public init(stringLiteral value: Swift.String) + public var name: Swift.String { + get + } + public func hash(into hasher: inout Swift.Hasher) + public static func == (a: FBSDKCoreKit.Permission, b: FBSDKCoreKit.Permission) -> Swift.Bool + public typealias ExtendedGraphemeClusterLiteralType = Swift.String + public typealias StringLiteralType = Swift.String + public typealias UnicodeScalarLiteralType = Swift.String + public var hashValue: Swift.Int { + get + } +} diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..07a8175 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..877c656 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftinterface @@ -0,0 +1,99 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-tvos11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKCoreKit +@_exported import FBSDKCoreKit +import FBSDKCoreKit_Basics +import Foundation +import Swift +import UIKit +import _Concurrency +extension FBSDKCoreKit.AccessToken { + public var permissions: Swift.Set { + get + } + public var declinedPermissions: Swift.Set { + get + } + public var expiredPermissions: Swift.Set { + get + } + public func hasGranted(_ permission: FBSDKCoreKit.Permission) -> Swift.Bool +} +@objc(FBSDKCAPIReporter) public protocol CAPIReporter { + @objc func enable() + @objc func configure(factory: FBSDKCoreKit.GraphRequestFactoryProtocol, settings: FBSDKCoreKit.SettingsProtocol) + @objc func recordEvent(_ parameters: [Swift.String : Any]) +} +@objc @_inheritsConvenienceInitializers @objcMembers public class FBSDKAppEventsCAPIManager : ObjectiveC.NSObject, FBSDKCoreKit.CAPIReporter { + @objc public static let shared: FBSDKCoreKit.FBSDKAppEventsCAPIManager + @objc override dynamic public init() + @objc public func configure(factory: FBSDKCoreKit.GraphRequestFactoryProtocol, settings: FBSDKCoreKit.SettingsProtocol) + @objc public func enable() + @objc public func recordEvent(_ parameters: [Swift.String : Any]) + @objc deinit +} +@objc @_inheritsConvenienceInitializers @objcMembers public class FBSDKTransformerGraphRequestFactory : ObjectiveC.NSObject { + @objc public static let shared: FBSDKCoreKit.FBSDKTransformerGraphRequestFactory + public var credentials: FBSDKCoreKit.FBSDKTransformerGraphRequestFactory.CapiGCredentials? { + get + } + public struct CapiGCredentials { + public let accessKey: Swift.String + public let capiGatewayURL: Swift.String + public let datasetID: Swift.String + } + @objc override dynamic public init() + @objc public func configure(datasetID: Swift.String, url: Swift.String, accessKey: Swift.String) + @objc public func callCapiGatewayAPI(with parameters: [Swift.String : Any]) + @objc deinit +} +public enum Permission : Swift.Hashable, Swift.ExpressibleByStringLiteral { + case publicProfile + case userFriends + case email + case userAboutMe + case userActionsBooks + case userActionsFitness + case userActionsMusic + case userActionsNews + case userActionsVideo + case userBirthday + case userEducationHistory + case userEvents + case userGamesActivity + case userGender + case userHometown + case userLikes + case userLocation + case userManagedGroups + case userPhotos + case userPosts + case userRelationships + case userRelationshipDetails + case userReligionPolitics + case userTaggedPlaces + case userVideos + case userWebsite + case userWorkHistory + case readCustomFriendlists + case readInsights + case readAudienceNetworkInsights + case readPageMailboxes + case pagesShowList + case pagesManageCta + case pagesManageInstantArticles + case adsRead + case custom(Swift.String) + public init(stringLiteral value: Swift.String) + public var name: Swift.String { + get + } + public func hash(into hasher: inout Swift.Hasher) + public static func == (a: FBSDKCoreKit.Permission, b: FBSDKCoreKit.Permission) -> Swift.Bool + public typealias ExtendedGraphemeClusterLiteralType = Swift.String + public typealias StringLiteralType = Swift.String + public typealias UnicodeScalarLiteralType = Swift.String + public var hashValue: Swift.Int { + get + } +} diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Modules/module.modulemap b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Modules/module.modulemap new file mode 100644 index 0000000..f951cee --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64/FBSDKCoreKit.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module FBSDKCoreKit { + umbrella header "FBSDKCoreKit.h" + + export * + module * { export * } +} + +module FBSDKCoreKit.Swift { + header "FBSDKCoreKit-Swift.h" + requires objc +} diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/FBSDKCoreKit b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/FBSDKCoreKit new file mode 100644 index 0000000..4e52cf5 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/FBSDKCoreKit differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h new file mode 100644 index 0000000..87494ec --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h @@ -0,0 +1,188 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Notification indicating that the `currentAccessToken` has changed. + + the userInfo dictionary of the notification will contain keys + `FBSDKAccessTokenChangeOldKey` and + `FBSDKAccessTokenChangeNewKey`. + */ +FOUNDATION_EXPORT NSNotificationName const FBSDKAccessTokenDidChangeNotification +NS_SWIFT_NAME(AccessTokenDidChange); + +/** + 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. + + 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). + */ +FOUNDATION_EXPORT NSString *const FBSDKAccessTokenDidChangeUserIDKey +NS_SWIFT_NAME(AccessTokenDidChangeUserIDKey); + +/* + key in notification's userInfo object for getting the old token. + + If there was no old token, the key will not be present. + */ +FOUNDATION_EXPORT NSString *const FBSDKAccessTokenChangeOldKey +NS_SWIFT_NAME(AccessTokenChangeOldKey); + +/* + key in notification's userInfo object for getting the new token. + + If there is no new token, the key will not be present. + */ +FOUNDATION_EXPORT NSString *const FBSDKAccessTokenChangeNewKey +NS_SWIFT_NAME(AccessTokenChangeNewKey); + +/* + A key in the notification's userInfo that will be set + if and only if the token has expired. + */ +FOUNDATION_EXPORT NSString *const FBSDKAccessTokenDidExpireKey +NS_SWIFT_NAME(AccessTokenDidExpireKey); + +/// Represents an immutable access token for using Facebook services. +NS_SWIFT_NAME(AccessToken) +@interface FBSDKAccessToken : NSObject + +/** + The "global" access token that represents the currently logged in user. + + The `currentAccessToken` is a convenient representation of the token of the + current user and is used by other SDK components (like `FBSDKLoginManager`). + */ +@property (class, nullable, nonatomic, copy) FBSDKAccessToken *currentAccessToken; + +/// Returns YES if currentAccessToken is not nil AND currentAccessToken is not expired +@property (class, nonatomic, readonly, getter = isCurrentAccessTokenActive, assign) BOOL currentAccessTokenIsActive; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (class, nullable, nonatomic, copy) id tokenCache; + +/// Returns the app ID. +@property (nonatomic, readonly, copy) NSString *appID; + +/// Returns the expiration date for data access +@property (nonatomic, readonly, copy) NSDate *dataAccessExpirationDate; + +/// Returns the known declined permissions. +@property (nonatomic, readonly, copy) NSSet *declinedPermissions + NS_REFINED_FOR_SWIFT; + +/// Returns the known declined permissions. +@property (nonatomic, readonly, copy) NSSet *expiredPermissions + NS_REFINED_FOR_SWIFT; + +/// Returns the expiration date. +@property (nonatomic, readonly, copy) NSDate *expirationDate; + +/// Returns the known granted permissions. +@property (nonatomic, readonly, copy) NSSet *permissions + NS_REFINED_FOR_SWIFT; + +/// Returns the date the token was last refreshed. +@property (nonatomic, readonly, copy) NSDate *refreshDate; + +/// Returns the opaque token string. +@property (nonatomic, readonly, copy) NSString *tokenString; + +/// Returns the user ID. +@property (nonatomic, readonly, copy) NSString *userID; + +/// Returns whether the access token is expired by checking its expirationDate property +@property (nonatomic, readonly, getter = isExpired, assign) BOOL expired; + +/// Returns whether user data access is still active for the given access token +@property (nonatomic, readonly, getter = isDataAccessExpired, assign) BOOL dataAccessExpired; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + Initializes a new instance. + @param tokenString the opaque token string. + @param permissions the granted permissions. Note this is converted to NSSet and is only + an NSArray for the convenience of literal syntax. + @param declinedPermissions the declined permissions. Note this is converted to NSSet and is only + an NSArray for the convenience of literal syntax. + @param expiredPermissions the expired 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). + @param dataAccessExpirationDate the date which data access will expire for the given user + (defaults to distantFuture). + + This initializer should only be used for advanced apps that + manage tokens explicitly. Typical login flows only need to use `FBSDKLoginManager` + along with `+currentAccessToken`. + */ +- (instancetype)initWithTokenString:(NSString *)tokenString + permissions:(NSArray *)permissions + declinedPermissions:(NSArray *)declinedPermissions + expiredPermissions:(NSArray *)expiredPermissions + appID:(NSString *)appID + userID:(NSString *)userID + expirationDate:(nullable NSDate *)expirationDate + refreshDate:(nullable NSDate *)refreshDate + dataAccessExpirationDate:(nullable NSDate *)dataAccessExpirationDate + NS_DESIGNATED_INITIALIZER; + +/** + Convenience getter to determine if a permission has been granted + @param permission The permission to check. + */ +// UNCRUSTIFY_FORMAT_OFF +- (BOOL)hasGranted:(NSString *)permission +NS_SWIFT_NAME(hasGranted(permission:)); +// UNCRUSTIFY_FORMAT_ON + +/** + 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; + +/** + Refresh the current access token's permission state and extend the token's expiration date, + if possible. + @param completion an optional callback handler that can surface any errors related to permission refreshing. + + On a successful refresh, the currentAccessToken will be updated so you typically only need to + observe the `FBSDKAccessTokenDidChangeNotification` notification. + + If a token is already expired, it cannot be refreshed. + */ ++ (void)refreshCurrentAccessTokenWithCompletion:(nullable FBSDKGraphRequestCompletion)completion; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAccessTokenProtocols.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAccessTokenProtocols.h new file mode 100644 index 0000000..5c033ca --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAccessTokenProtocols.h @@ -0,0 +1,43 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@class FBSDKAccessToken; +@protocol FBSDKTokenCaching; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(AccessTokenProviding) +@protocol FBSDKAccessTokenProviding + +@property (class, nullable, nonatomic, readonly, copy) FBSDKAccessToken *currentAccessToken; +@property (class, nullable, nonatomic, copy) id tokenCache; + +@end + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(AccessTokenSetting) +@protocol FBSDKAccessTokenSetting + +@property (class, nullable, nonatomic, copy) FBSDKAccessToken *currentAccessToken; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAdvertisingTrackingStatus.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAdvertisingTrackingStatus.h new file mode 100644 index 0000000..730b90d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAdvertisingTrackingStatus.h @@ -0,0 +1,25 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +typedef NS_ENUM(NSUInteger, FBSDKAdvertisingTrackingStatus) { + FBSDKAdvertisingTrackingAllowed, + FBSDKAdvertisingTrackingDisallowed, + FBSDKAdvertisingTrackingUnspecified, +} NS_SWIFT_NAME(AdvertisingTrackingStatus); + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppAvailabilityChecker.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppAvailabilityChecker.h new file mode 100644 index 0000000..21a1f44 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppAvailabilityChecker.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AppAvailabilityChecker) +@protocol FBSDKAppAvailabilityChecker + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nonatomic, readonly, assign) BOOL isMessengerAppInstalled; +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nonatomic, readonly, assign) BOOL isFacebookAppInstalled; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEventName.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEventName.h new file mode 100644 index 0000000..b55589b --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEventName.h @@ -0,0 +1,92 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/** + @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 `FBSDKAppEventParameterName` constants. + */ + +/// typedef for FBSDKAppEventName +typedef NSString *FBSDKAppEventName NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(AppEvents.Name); + +// MARK: - General Purpose + +/// Log this event when the user clicks an ad. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameAdClick; + +/// Log this event when the user views an ad. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameAdImpression; + +/// Log this event when a user has completed registration with the app. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameCompletedRegistration; + +/// Log this event when the user has completed a tutorial in the app. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameCompletedTutorial; + +/// A telephone/SMS, email, chat or other type of contact between a customer and your business. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameContact; + +/// The customization of products through a configuration tool or other application your business owns. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameCustomizeProduct; + +/// The donation of funds to your organization or cause. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameDonate; + +/// When a person finds one of your locations via web or application, with an intention to visit (example: find product at a local store). +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameFindLocation; + +/// Log this event when the user has rated an item in the app. The valueToSum passed to logEvent should be the numeric rating. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameRated; + +/// The booking of an appointment to visit one of your locations. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameSchedule; + +/// Log this event when a user has performed a search within the app. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameSearched; + +/// The start of a free trial of a product or service you offer (example: trial subscription). +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameStartTrial; + +/// The submission of an application for a product, service or program you offer (example: credit card, educational program or job). +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameSubmitApplication; + +/// The start of a paid subscription for a product or service you offer. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameSubscribe; + +/// Log this event when a user has viewed a form of content in the app. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameViewedContent; + +// MARK: - E-Commerce + +/// Log this event when the user has entered their payment info. +FOUNDATION_EXPORT FBSDKAppEventName 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. +FOUNDATION_EXPORT FBSDKAppEventName 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. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameAddedToWishlist; + +/// Log this event when the user has entered the checkout process. The valueToSum passed to logEvent should be the total price in the cart. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameInitiatedCheckout; + +/// Log this event when the user has completed a transaction. The valueToSum passed to logEvent should be the total price of the transaction. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNamePurchased; + +// MARK: - Gaming + +/// Log this event when the user has achieved a level in the app. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameAchievedLevel; + +/// Log this event when the user has unlocked an achievement in the app. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameUnlockedAchievement; + +/// Log this event when the user has spent app credits. The valueToSum passed to logEvent should be the number of credits spent. +FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameSpentCredits; diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterName.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterName.h new file mode 100644 index 0000000..ceb5e2d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterName.h @@ -0,0 +1,73 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/** + @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. + */ + +/// typedef for FBSDKAppEventParameterName +typedef NSString *FBSDKAppEventParameterName NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(AppEvents.ParameterName); + +/** + * Parameter key used to specify data for the one or more pieces of content being logged about. + * Data should be a JSON encoded string. + * Example: + * "[{\"id\": \"1234\", \"quantity\": 2, \"item_price\": 5.99}, {\"id\": \"5678\", \"quantity\": 1, \"item_price\": 9.99}]" + */ +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameContent; + +/// Parameter key used to specify an ID for the specific piece of content being logged about. Could be an EAN, article identifier, etc., depending on the nature of the app. +FOUNDATION_EXPORT FBSDKAppEventParameterName 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. +FOUNDATION_EXPORT FBSDKAppEventParameterName 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 . +FOUNDATION_EXPORT FBSDKAppEventParameterName 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. +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameDescription; + +/// Parameter key used to specify the level achieved in a `FBAppEventNameAchieved` event. +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameLevel; + +/// Parameter key used to specify the maximum rating available for the `FBAppEventNameRate` event. E.g., "5" or "10". +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameMaxRatingValue; + +/// Parameter key used to specify how many items are being processed for an `FBAppEventNameInitiatedCheckout` or `FBAppEventNamePurchased` event. +FOUNDATION_EXPORT FBSDKAppEventParameterName 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. +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNamePaymentInfoAvailable; + +/// Parameter key used to specify method user has used to register for the app, e.g., "Facebook", "email", "Twitter", etc +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameRegistrationMethod; + +/// Parameter key used to specify the string provided by the user for a search operation. +FOUNDATION_EXPORT FBSDKAppEventParameterName 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. +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameSuccess; + +/** Parameter key used to specify the type of ad in an FBSDKAppEventNameAdImpression + * or FBSDKAppEventNameAdClick event. + * E.g. "banner", "interstitial", "rewarded_video", "native" */ +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameAdType; + +/** Parameter key used to specify the unique ID for all events within a subscription + * in an FBSDKAppEventNameSubscribe or FBSDKAppEventNameStartTrial event. */ +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameOrderID; + +/// Parameter key used to specify event name. +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameEventName; + +/// Parameter key used to specify event log time. +FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameLogTime; diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterProduct.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterProduct.h new file mode 100644 index 0000000..ff0b036 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterProduct.h @@ -0,0 +1,77 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/// @methodgroup Predefined event name parameters for common additional information to accompany events logged through the `logProductItem` method on `FBSDKAppEvents`. + +/// typedef for FBSDKAppEventParameterProduct +typedef NSString *const FBSDKAppEventParameterProduct NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(AppEvents.ParameterProduct); + +/// Parameter key used to specify the product item's category. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCategory; + +/// Parameter key used to specify the product item's custom label 0. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCustomLabel0; + +/// Parameter key used to specify the product item's custom label 1. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCustomLabel1; + +/// Parameter key used to specify the product item's custom label 2. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCustomLabel2; + +/// Parameter key used to specify the product item's custom label 3. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCustomLabel3; + +/// Parameter key used to specify the product item's custom label 4. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCustomLabel4; + +/// Parameter key used to specify the product item's AppLink app URL for iOS. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIOSUrl; + +/// Parameter key used to specify the product item's AppLink app ID for iOS App Store. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIOSAppStoreID; + +/// Parameter key used to specify the product item's AppLink app name for iOS. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIOSAppName; + +/// Parameter key used to specify the product item's AppLink app URL for iPhone. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPhoneUrl; + +/// Parameter key used to specify the product item's AppLink app ID for iPhone App Store. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPhoneAppStoreID; + +/// Parameter key used to specify the product item's AppLink app name for iPhone. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPhoneAppName; + +/// Parameter key used to specify the product item's AppLink app URL for iPad. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPadUrl; + +/// Parameter key used to specify the product item's AppLink app ID for iPad App Store. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPadAppStoreID; + +/// Parameter key used to specify the product item's AppLink app name for iPad. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPadAppName; + +/// Parameter key used to specify the product item's AppLink app URL for Android. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkAndroidUrl; + +/// Parameter key used to specify the product item's AppLink fully-qualified package name for intent generation. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkAndroidPackage; + +/// Parameter key used to specify the product item's AppLink app name for Android. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkAndroidAppName; + +/// Parameter key used to specify the product item's AppLink app URL for Windows Phone. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkWindowsPhoneUrl; + +/// Parameter key used to specify the product item's AppLink app ID, as a GUID, for App Store. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkWindowsPhoneAppID; + +/// Parameter key used to specify the product item's AppLink app name for Windows Phone. +FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkWindowsPhoneAppName; diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterValue.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterValue.h new file mode 100644 index 0000000..796e2e1 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterValue.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/* + @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. + */ + +/// typedef for FBSDKAppEventParameterValue +typedef NSString *const FBSDKAppEventParameterValue NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(AppEvents.ParameterValue); + +/// Yes-valued parameter value to be used with parameter keys that need a Yes/No value +FOUNDATION_EXPORT FBSDKAppEventParameterValue FBSDKAppEventParameterValueYes; + +/// No-valued parameter value to be used with parameter keys that need a Yes/No value +FOUNDATION_EXPORT FBSDKAppEventParameterValue FBSDKAppEventParameterValueNo; diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEventUserDataType.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEventUserDataType.h new file mode 100644 index 0000000..194443d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEventUserDataType.h @@ -0,0 +1,44 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +typedef NSString *const FBSDKAppEventUserDataType NS_TYPED_EXTENSIBLE_ENUM; + +/// Parameter key used to specify user's email. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventEmail; + +/// Parameter key used to specify user's first name. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventFirstName; + +/// Parameter key used to specify user's last name. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventLastName; + +/// Parameter key used to specify user's phone. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventPhone; + +/// Parameter key used to specify user's date of birth. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventDateOfBirth; + +/// Parameter key used to specify user's gender. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventGender; + +/// Parameter key used to specify user's city. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventCity; + +/// Parameter key used to specify user's state. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventState; + +/// Parameter key used to specify user's zip. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventZip; + +/// Parameter key used to specify user's country. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventCountry; + +/// Parameter key used to specify user's external id. +FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventExternalId; diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h new file mode 100644 index 0000000..1504e74 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h @@ -0,0 +1,521 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + #import +#endif + +#import +#import +#import +#import +#import +#import +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +@class FBSDKAccessToken; + +/// Optional plist key ("FacebookLoggingOverrideAppID") for setting `loggingOverrideAppID` +FOUNDATION_EXPORT NSString *const FBSDKAppEventsOverrideAppIDBundleKey +NS_SWIFT_NAME(AppEventsOverrideAppIDBundleKey); + +/** + Client-side event logging for specialized application analytics available through Facebook App Insights + and for use with Facebook Ads conversion tracking and optimization. + + 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. + */ +NS_SWIFT_NAME(AppEvents) +@interface FBSDKAppEvents : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/// The shared instance of AppEvents. +@property (class, nonatomic, readonly, strong) FBSDKAppEvents *shared; + +/// Control over event batching/flushing + +/// The current event flushing behavior specifying when events are sent back to Facebook servers. +@property (nonatomic) FBSDKAppEventsFlushBehavior flushBehavior; + +/** + Set the 'override' App ID for App Event logging. + + 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 `Settings.shared.appID`. + + This should be set before any other calls are made to `AppEvents`. Thus, you should set it in your application + delegate's `application(_:didFinishLaunchingWithOptions:)` method. + */ +@property (nullable, nonatomic, copy) NSString *loggingOverrideAppID; + +/** + The custom user ID to associate with all app events. + + The userID is persisted until it is cleared by passing `nil`. + */ +@property (nullable, nonatomic, copy) NSString *userID; + +/// Returns generated anonymous id that persisted with current install of the app +@property (nonatomic, readonly) NSString *anonymousID; + +/* + * Basic event logging + */ + +/** + Log an event with just an event name. + + @param eventName The name of the event to record. Limitations on number of events and name length + are given in the `AppEvents` documentation. + */ +- (void)logEvent:(FBSDKAppEventName)eventName; + +/** + Log an event with an event name 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 `AppEvents` documentation. Common event names are provided in `AppEvents.Name` constants. + + @param valueToSum Amount to be aggregated into all events of this event name, and App Insights will report + the cumulative and average value of this amount. + */ +- (void)logEvent:(FBSDKAppEventName)eventName + valueToSum:(double)valueToSum; + +/** + Log an event with an event name 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 `AppEvents` documentation. Common event names are provided in `AppEvents.Name` 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 `AppEvents` documentation. Commonly used parameter names + are provided in `AppEvents.ParameterName` constants. + */ +- (void)logEvent:(FBSDKAppEventName)eventName + parameters:(nullable NSDictionary *)parameters; + +/** + Log an event with an event name, 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 `AppEvents` documentation. Common event names are provided in `AppEvents.Name` constants. + + @param valueToSum Amount to be aggregated into all events of this event name, 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 `AppEvents` documentation. Commonly used parameter names + are provided in `AppEvents.ParameterName` constants. + */ +- (void)logEvent:(FBSDKAppEventName)eventName + valueToSum:(double)valueToSum + parameters:(nullable NSDictionary *)parameters; + +/** + Log an event with an event name, 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 `AppEvents` documentation. Common event names are provided in `AppEvents.Name` 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 `AppEvents` documentation. Commonly used parameter names + are provided in `AppEvents.ParameterName` constants. + + @param accessToken The optional access token to log the event as. + */ +- (void)logEvent:(FBSDKAppEventName)eventName + valueToSum:(nullable NSNumber *)valueToSum + parameters:(nullable NSDictionary *)parameters + accessToken:(nullable FBSDKAccessToken *)accessToken; + +/* + * Purchase logging + */ + +/** + 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 string (e.g., "USD", "EUR", "GBP"); see ISO-4217 for + specific values. One reference for these is . + + This event immediately triggers a flush of the `AppEvents` event queue, unless the `flushBehavior` is set + to `FBSDKAppEventsFlushBehaviorExplicitOnly`. + */ +// UNCRUSTIFY_FORMAT_OFF +- (void)logPurchase:(double)purchaseAmount currency:(NSString *)currency + NS_SWIFT_NAME(logPurchase(amount:currency:)); +// UNCRUSTIFY_FORMAT_ON + +/** + 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 string (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 `AppEvents` documentation. Commonly used parameter names + are provided in `AppEvents.ParameterName` constants. + + This event immediately triggers a flush of the `AppEvents` event queue, unless the `flushBehavior` is set + to `FBSDKAppEventsFlushBehaviorExplicitOnly`. + */ +// UNCRUSTIFY_FORMAT_OFF +- (void)logPurchase:(double)purchaseAmount + currency:(NSString *)currency + parameters:(nullable NSDictionary *)parameters + NS_SWIFT_NAME(logPurchase(amount:currency:parameters:)); +// UNCRUSTIFY_FORMAT_ON + +/** + 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 string (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 `AppEvents` documentation. Commonly used parameter names + are provided in `AppEvents.ParameterName` constants. + + @param accessToken The optional access token to log the event as. + + This event immediately triggers a flush of the `AppEvents` event queue, unless the `flushBehavior` is set + to `FBSDKAppEventsFlushBehaviorExplicitOnly`. + */ +// UNCRUSTIFY_FORMAT_OFF +- (void)logPurchase:(double)purchaseAmount + currency:(NSString *)currency + parameters:(nullable NSDictionary *)parameters + accessToken:(nullable FBSDKAccessToken *)accessToken + NS_SWIFT_NAME(logPurchase(amount:currency:parameters:accessToken:)); +// UNCRUSTIFY_FORMAT_ON + +/* + * Push Notifications Logging + */ + +/** + Log an app event that tracks that the application was open via Push Notification. + + @param payload Notification payload received via `UIApplicationDelegate`. + */ +// UNCRUSTIFY_FORMAT_OFF +- (void)logPushNotificationOpen:(NSDictionary *)payload + NS_SWIFT_NAME(logPushNotificationOpen(payload:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Log an app event that tracks that a custom action was taken from a push notification. + + @param payload Notification payload received via `UIApplicationDelegate`. + @param action Name of the action that was taken. + */ +// UNCRUSTIFY_FORMAT_OFF +- (void)logPushNotificationOpen:(NSDictionary *)payload action:(NSString *)action + NS_SWIFT_NAME(logPushNotificationOpen(payload:action:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Uploads product catalog product item as an app event + + @param itemID Unique ID for the item. Can be a variant for a product. + Max size is 100. + @param availability If item is in stock. Accepted values are: + in stock - Item ships immediately + out of stock - No plan to restock + preorder - Available in future + available for order - Ships in 1-2 weeks + discontinued - Discontinued + @param condition Product condition: new, refurbished or used. + @param description Short text describing product. Max size is 5000. + @param imageLink Link to item image used in ad. + @param link Link to merchant's site where someone can buy the item. + @param title Title of item. + @param priceAmount Amount of purchase, in the currency specified by the 'currency' + parameter. This value will be rounded to the thousandths place + (e.g., 12.34567 becomes 12.346). + @param currency Currency string (e.g., "USD", "EUR", "GBP"); see ISO-4217 for + specific values. One reference for these is . + @param gtin Global Trade Item Number including UPC, EAN, JAN and ISBN + @param mpn Unique manufacture ID for product + @param brand Name of the brand + Note: Either gtin, mpn or brand is required. + @param parameters Optional fields for deep link specification. + */ +// UNCRUSTIFY_FORMAT_OFF +- (void)logProductItem:(NSString *)itemID + availability:(FBSDKProductAvailability)availability + condition:(FBSDKProductCondition)condition + description:(NSString *)description + imageLink:(NSString *)imageLink + link:(NSString *)link + title:(NSString *)title + priceAmount:(double)priceAmount + currency:(NSString *)currency + gtin:(nullable NSString *)gtin + mpn:(nullable NSString *)mpn + brand:(nullable NSString *)brand + parameters:(nullable NSDictionary *)parameters + NS_SWIFT_NAME(logProductItem(id:availability:condition:description:imageLink:link:title:priceAmount:currency:gtin:mpn:brand:parameters:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Notifies the events system that the app has launched and, when appropriate, logs an "activated app" event. + This function is called automatically from FBSDKApplicationDelegate applicationDidBecomeActive, unless + one overrides 'FacebookAutoLogAppEventsEnabled' key to false in the project info plist file. + In case 'FacebookAutoLogAppEventsEnabled' is set to false, then it 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. + + `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; + +/* + * Push Notifications Registration and Uninstall Tracking + */ + +/** + Sets and sends device token to register the current application for push notifications. + + Sets and sends a device token from the `Data` representation that you get from + `UIApplicationDelegate.application(_:didRegisterForRemoteNotificationsWithDeviceToken:)`. + + @param deviceToken Device token data. + */ +- (void)setPushNotificationsDeviceToken:(nullable NSData *)deviceToken; + +/** + Sets and sends device token string to register the current application for push notifications. + + Sets and sends a device token string + + @param deviceTokenString Device token string. + */ +// UNCRUSTIFY_FORMAT_OFF +- (void)setPushNotificationsDeviceTokenString:(nullable NSString *)deviceTokenString +NS_SWIFT_NAME(setPushNotificationsDeviceToken(_:)); +// UNCRUSTIFY_FORMAT_ON + +/** + 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; + +/** + 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. + + The JSON in the request's response will include a "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 `Settings.shared.isEventDataUsageLimited` flag, or a specific Facebook user cannot be identified. + + @param accessToken The access token to use to establish the user's identity for users logged into Facebook through this app. + If `nil`, then `AccessToken.current` is used. + */ +// UNCRUSTIFY_FORMAT_OFF +- (nullable FBSDKGraphRequest *)requestForCustomAudienceThirdPartyIDWithAccessToken:(nullable FBSDKAccessToken *)accessToken +NS_SWIFT_NAME(requestForCustomAudienceThirdPartyID(accessToken:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Sets custom user data to associate with all app events. All user data are hashed + and used to match Facebook user from this instance of an application. + + The user data will be persisted between application instances. + + @param email user's email + @param firstName user's first name + @param lastName user's last name + @param phone user's phone + @param dateOfBirth user's date of birth + @param gender user's gender + @param city user's city + @param state user's state + @param zip user's zip + @param country user's country + */ + +// UNCRUSTIFY_FORMAT_OFF +- (void)setUserEmail:(nullable NSString *)email + firstName:(nullable NSString *)firstName + lastName:(nullable NSString *)lastName + phone:(nullable NSString *)phone + dateOfBirth:(nullable NSString *)dateOfBirth + gender:(nullable NSString *)gender + city:(nullable NSString *)city + state:(nullable NSString *)state + zip:(nullable NSString *)zip + country:(nullable NSString *)country +NS_SWIFT_NAME(setUser(email:firstName:lastName:phone:dateOfBirth:gender:city:state:zip:country:)); +// UNCRUSTIFY_FORMAT_ON + +/// Returns the set user data else nil +- (nullable NSString *)getUserData; + +/// Clears the current user data +- (void)clearUserData; + +/** + Sets custom user data to associate with all app events. All user data are hashed + and used to match Facebook user from this instance of an application. + + The user data will be persisted between application instances. + + @param data data + @param type data type, e.g. FBSDKAppEventEmail, FBSDKAppEventPhone + */ +- (void)setUserData:(nullable NSString *)data + forType:(FBSDKAppEventUserDataType)type; + +/// Clears the current user data of certain type +- (void)clearUserDataForType:(FBSDKAppEventUserDataType)type; + +#if !TARGET_OS_TV +/** + Intended to be used as part of a hybrid webapp. + If you call this method, the FB SDK will inject a new JavaScript object into your webview. + If the FB Pixel is used within the webview, and references the app ID of this app, + then it will detect the presence of this injected JavaScript object + and pass Pixel events back to the FB SDK for logging using the AppEvents framework. + + @param webView The webview to augment with the additional JavaScript behavior + */ +- (void)augmentHybridWebView:(WKWebView *)webView; +#endif + +/* + * Unity helper functions + */ + +/** + Set whether Unity is already initialized. + + @param isUnityInitialized Whether Unity is initialized. + */ +- (void)setIsUnityInitialized:(BOOL)isUnityInitialized; + +/// Send event bindings to Unity +- (void)sendEventBindingsToUnity; + +/* + * SDK Specific Event Logging + * Do not call directly outside of the SDK itself. + */ + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void)logInternalEvent:(FBSDKAppEventName)eventName + parameters:(nullable NSDictionary *)parameters + isImplicitlyLogged:(BOOL)isImplicitlyLogged; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void)logInternalEvent:(FBSDKAppEventName)eventName + parameters:(nullable NSDictionary *)parameters + isImplicitlyLogged:(BOOL)isImplicitlyLogged + accessToken:(nullable FBSDKAccessToken *)accessToken; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEventsFlushBehavior.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEventsFlushBehavior.h new file mode 100644 index 0000000..872ef49 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEventsFlushBehavior.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/** + NS_ENUM (NSUInteger, FBSDKAppEventsFlushBehavior) + + 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, +} NS_SWIFT_NAME(AppEvents.FlushBehavior); diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEventsNotificationName.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEventsNotificationName.h new file mode 100644 index 0000000..159e27d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppEventsNotificationName.h @@ -0,0 +1,13 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/// NSNotificationCenter name indicating a result of a failed log flush attempt. The posted object will be an NSError instance. +FOUNDATION_EXPORT NSNotificationName const FBSDKAppEventsLoggingResultNotification +NS_SWIFT_NAME(AppEventsLoggingResult); diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppURLSchemeProviding.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppURLSchemeProviding.h new file mode 100644 index 0000000..c8b39fa --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAppURLSchemeProviding.h @@ -0,0 +1,34 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AppURLSchemeProviding) +@protocol FBSDKAppURLSchemeProviding + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nonatomic, readonly, copy) NSString *appURLScheme; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void)validateURLSchemes; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h new file mode 100644 index 0000000..585fb0c --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h @@ -0,0 +1,131 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + 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). + + 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. + */ +NS_SWIFT_NAME(ApplicationDelegate) +@interface FBSDKApplicationDelegate : NSObject + +#if !DEBUG +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; +#endif + +#if DEBUG +@property (nonnull, nonatomic, readonly) NSHashTable> *applicationObservers; +#endif + +/// Gets the singleton instance. +@property (class, nonatomic, readonly, strong) FBSDKApplicationDelegate *sharedInstance +NS_SWIFT_NAME(shared); + +/** + Call this method from the [UIApplicationDelegate application:continue:restorationHandler:] method + of the AppDelegate for your app. It should be invoked in order to properly process the web URL (universal link) + once the end user is redirected to your app. + + @param application The application as passed to [UIApplicationDelegate application:continue:restorationHandler:]. + @param userActivity The user activity as passed to [UIApplicationDelegate application:continue:restorationHandler:]. + + @return YES if the URL was intended for the Facebook SDK, NO if not. +*/ +- (BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity; + +/** + 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:(nullable NSString *)sourceApplication + annotation:(nullable id)annotation; + +/** + Call this method from the [UIApplicationDelegate application:openURL:options:] 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:options:]. + + @param url The URL as passed to [UIApplicationDelegate application:openURL:options:]. + + @param options The options dictionary as passed to [UIApplicationDelegate application:openURL:options:]. + + @return YES if the URL was intended for the Facebook SDK, NO if not. + */ +- (BOOL)application:(UIApplication *)application + openURL:(NSURL *)url + options:(NSDictionary *)options; + +/** + 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. + As part of SDK initialization basic auto logging of app events will occur, this can be + controlled via 'FacebookAutoLogAppEventsEnabled' key in the project info plist file. + + @param application The application as passed to [UIApplicationDelegate application:didFinishLaunchingWithOptions:]. + + @param launchOptions The launchOptions as passed to [UIApplicationDelegate application:didFinishLaunchingWithOptions:]. + + @return True if there are any added application observers that themselves return true from calling `application:didFinishLaunchingWithOptions:`. + Otherwise will return false. Note: If this method is called after calling `initializeSDK` then the return type will always be false. + */ +- (BOOL) application:(UIApplication *)application + didFinishLaunchingWithOptions:(nullable NSDictionary *)launchOptions; + +/** + Initializes the SDK. + + If you are using the SDK within the context of the UIApplication lifecycle, do not use this method. + Instead use `application: didFinishLaunchingWithOptions:`. + + As part of SDK initialization basic auto logging of app events will occur, this can be + controlled via 'FacebookAutoLogAppEventsEnabled' key in the project info plist file. + */ +- (void)initializeSDK; + +/** + Adds an observer that will be informed about application lifecycle events. + + @note Observers are weakly held + */ +- (void)addObserver:(id)observer; + +/** + Removes an observer so that it will no longer be informed about application lifecycle events. + + @note Observers are weakly held + */ +- (void)removeObserver:(id)observer; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKApplicationObserving.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKApplicationObserving.h new file mode 100644 index 0000000..14de894 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKApplicationObserving.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/* + Describes any types that optionally responds to various lifecycle events + received by the system and propagated by `ApplicationDelegate`. + */ +@protocol FBSDKApplicationObserving + +@optional +- (void)applicationDidBecomeActive:(nullable UIApplication *)application; +- (void)applicationWillResignActive:(nullable UIApplication *)application; +- (void)applicationDidEnterBackground:(nullable UIApplication *)application; +- (BOOL) application:(UIApplication *)application + didFinishLaunchingWithOptions:(nullable NSDictionary *)launchOptions; + +- (BOOL)application:(UIApplication *)application + openURL:(NSURL *)url + sourceApplication:(nullable NSString *)sourceApplication + annotation:(nullable id)annotation; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationToken.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationToken.h new file mode 100644 index 0000000..90648c9 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationToken.h @@ -0,0 +1,53 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +@class FBSDKAuthenticationTokenClaims; +@protocol FBSDKTokenCaching; + +NS_ASSUME_NONNULL_BEGIN + +/// Represent an AuthenticationToken used for a login attempt +NS_SWIFT_NAME(AuthenticationToken) +@interface FBSDKAuthenticationToken : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + The "global" authentication token that represents the currently logged in user. + + The `currentAuthenticationToken` represents the authentication token of the + current user and can be used by a client to verify an authentication attempt. + */ +@property (class, nullable, nonatomic, copy) FBSDKAuthenticationToken *currentAuthenticationToken; + +/// The raw token string from the authentication response +@property (nonatomic, readonly, copy) NSString *tokenString; + +/// The nonce from the decoded authentication response +@property (nonatomic, readonly, copy) NSString *nonce; + +/// The graph domain where the user is authenticated. +@property (nonatomic, readonly, copy) NSString *graphDomain; + +/// Returns the claims encoded in the AuthenticationToken +- (nullable FBSDKAuthenticationTokenClaims *)claims; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (class, nullable, nonatomic, copy) id tokenCache; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenClaims.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenClaims.h new file mode 100644 index 0000000..874fe07 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenClaims.h @@ -0,0 +1,89 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AuthenticationTokenClaims) +@interface FBSDKAuthenticationTokenClaims : NSObject + +/// A unique identifier for the token. +@property (nonatomic, readonly, strong) NSString *jti; + +/// Issuer Identifier for the Issuer of the response. +@property (nonatomic, readonly, strong) NSString *iss; + +/// Audience(s) that this ID Token is intended for. +@property (nonatomic, readonly, strong) NSString *aud; + +/// String value used to associate a Client session with an ID Token, and to mitigate replay attacks. +@property (nonatomic, readonly, strong) NSString *nonce; + +/// Expiration time on or after which the ID Token MUST NOT be accepted for processing. +@property (nonatomic, readonly, assign) NSTimeInterval exp; + +/// Time at which the JWT was issued. +@property (nonatomic, readonly, assign) NSTimeInterval iat; + +/// Subject - Identifier for the End-User at the Issuer. +@property (nonatomic, readonly, strong) NSString *sub; + +/// End-User's full name in displayable form including all name parts. +@property (nullable, nonatomic, readonly, strong) NSString *name; + +/// End-User's given name in displayable form +@property (nullable, nonatomic, readonly, strong) NSString *givenName; + +/// End-User's middle name in displayable form +@property (nullable, nonatomic, readonly, strong) NSString *middleName; + +/// End-User's family name in displayable form +@property (nullable, nonatomic, readonly, strong) NSString *familyName; + +/** + End-User's preferred e-mail address. + + IMPORTANT: This field will only be populated if your user has granted your application the 'email' permission. + */ +@property (nullable, nonatomic, readonly, strong) NSString *email; + +/// URL of the End-User's profile picture. +@property (nullable, nonatomic, readonly, strong) NSString *picture; + +/** + End-User's friends. + + IMPORTANT: This field will only be populated if your user has granted your application the 'user_friends' permission. + */ +@property (nullable, nonatomic, readonly, strong) NSArray *userFriends; + +/// End-User's birthday +@property (nullable, nonatomic, readonly, strong) NSString *userBirthday; + +/// End-User's age range +@property (nullable, nonatomic, readonly, strong) NSDictionary *userAgeRange; + +/// End-User's hometown +@property (nullable, nonatomic, readonly, strong) NSDictionary *userHometown; + +/// End-User's location +@property (nullable, nonatomic, readonly, strong) NSDictionary *userLocation; + +/// End-User's gender +@property (nullable, nonatomic, readonly, strong) NSString *userGender; + +/// End-User's link +@property (nullable, nonatomic, readonly, strong) NSString *userLink; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenProtocols.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenProtocols.h new file mode 100644 index 0000000..4f64230 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenProtocols.h @@ -0,0 +1,31 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AuthenticationTokenProviding) +@protocol FBSDKAuthenticationTokenProviding + +@property (class, nullable, nonatomic, readonly, copy) FBSDKAuthenticationToken *currentAuthenticationToken; +@property (class, nullable, nonatomic, copy) id tokenCache; + +@end + +NS_SWIFT_NAME(AuthenticationTokenSetting) +@protocol FBSDKAuthenticationTokenSetting + +@property (class, nullable, nonatomic, copy) FBSDKAuthenticationToken *currentAuthenticationToken; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKButton.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKButton.h new file mode 100644 index 0000000..beae11a --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKButton.h @@ -0,0 +1,80 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import +#import + +@class FBSDKIcon; + +NS_ASSUME_NONNULL_BEGIN + +/// A base class for common SDK buttons. +NS_SWIFT_NAME(FBButton) +@interface FBSDKButton : FBSDKImpressionLoggingButton + +@property (nonatomic, readonly, getter = isImplicitlyDisabled) BOOL implicitlyDisabled; + +- (void)checkImplicitlyDisabled; +- (void)configureWithIcon:(nullable FBSDKIcon *)icon + title:(nullable NSString *)title + backgroundColor:(nullable UIColor *)backgroundColor + highlightedColor:(nullable UIColor *)highlightedColor; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void) configureWithIcon:(nullable FBSDKIcon *)icon + title:(nullable NSString *)title + backgroundColor:(nullable UIColor *)backgroundColor + highlightedColor:(nullable UIColor *)highlightedColor + selectedTitle:(nullable NSString *)selectedTitle + selectedIcon:(nullable FBSDKIcon *)selectedIcon + selectedColor:(nullable UIColor *)selectedColor + selectedHighlightedColor:(nullable UIColor *)selectedHighlightedColor; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (UIColor *)defaultBackgroundColor; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (CGSize)sizeThatFits:(CGSize)size title:(NSString *)title; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (CGSize)textSizeForText:(NSString *)text font:(UIFont *)font constrainedSize:(CGSize)constrainedSize lineBreakMode:(NSLineBreakMode)lineBreakMode; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void)logTapEventWithEventName:(FBSDKAppEventName)eventName + parameters:(nullable NSDictionary *)parameters; +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKButtonImpressionLogging.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKButtonImpressionLogging.h new file mode 100644 index 0000000..806edb4 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKButtonImpressionLogging.h @@ -0,0 +1,31 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(FBButtonImpressionLogging) +@protocol FBSDKButtonImpressionLogging + +@property (nullable, nonatomic, readonly, copy) NSDictionary *analyticsParameters; +@property (nonatomic, readonly, copy) FBSDKAppEventName impressionTrackingEventName; +@property (nonatomic, readonly, copy) NSString *impressionTrackingIdentifier; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKConstants.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKConstants.h new file mode 100644 index 0000000..d746dca --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKConstants.h @@ -0,0 +1,206 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + The error domain for all errors from FBSDKCoreKit. + + Error codes from the SDK in the range 0-99 are reserved for this domain. + */ +FOUNDATION_EXPORT NSErrorDomain const FBSDKErrorDomain +NS_SWIFT_NAME(ErrorDomain); + +/* + @methodgroup error userInfo keys + */ + +/** + The userInfo key for the invalid collection for errors with FBSDKErrorInvalidArgument. + + If the invalid argument is a collection, the collection can be found with this key and the individual + invalid item can be found with FBSDKErrorArgumentValueKey. + */ +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorArgumentCollectionKey +NS_SWIFT_NAME(ErrorArgumentCollectionKey); + +/// The userInfo key for the invalid argument name for errors with FBSDKErrorInvalidArgument. +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorArgumentNameKey +NS_SWIFT_NAME(ErrorArgumentNameKey); + +/// The userInfo key for the invalid argument value for errors with FBSDKErrorInvalidArgument. +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorArgumentValueKey +NS_SWIFT_NAME(ErrorArgumentValueKey); + +/** + The userInfo key for the message for developers in NSErrors that originate from the SDK. + + The developer message will not be localized and is not intended to be presented within the app. + */ +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorDeveloperMessageKey +NS_SWIFT_NAME(ErrorDeveloperMessageKey); + +/// The userInfo key describing a localized description that can be presented to the user. +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorLocalizedDescriptionKey +NS_SWIFT_NAME(ErrorLocalizedDescriptionKey); + +/// The userInfo key describing a localized title that can be presented to the user, used with `FBSDKLocalizedErrorDescriptionKey`. +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorLocalizedTitleKey +NS_SWIFT_NAME(ErrorLocalizedTitleKey); + +/* + @methodgroup FBSDKGraphRequest error userInfo keys + */ + +/** + The userInfo key describing the error category, for error recovery purposes. + + See `FBSDKGraphErrorRecoveryProcessor` and `[FBSDKGraphRequest disableErrorRecovery]`. + */ +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorKey +NS_SWIFT_NAME(GraphRequestErrorKey); + +/* + The userInfo key for the Graph API error code. + */ +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorGraphErrorCodeKey +NS_SWIFT_NAME(GraphRequestErrorGraphErrorCodeKey); + +/* + The userInfo key for the Graph API error subcode. + */ +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorGraphErrorSubcodeKey +NS_SWIFT_NAME(GraphRequestErrorGraphErrorSubcodeKey); + +/* + The userInfo key for the HTTP status code. + */ +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorHTTPStatusCodeKey +NS_SWIFT_NAME(GraphRequestErrorHTTPStatusCodeKey); + +/* + The userInfo key for the raw JSON response. + */ +FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorParsedJSONResponseKey +NS_SWIFT_NAME(GraphRequestErrorParsedJSONResponseKey); + +/* + @methodgroup Common Code Block typedefs + */ + +/// Success Block +typedef void (^ FBSDKCodeBlock)(void) +NS_SWIFT_NAME(CodeBlock); + +/// Error Block +typedef void (^ FBSDKErrorBlock)(NSError *_Nullable error) +NS_SWIFT_NAME(ErrorBlock); + +/// Success Block +typedef void (^ FBSDKSuccessBlock)(BOOL success, NSError *_Nullable error) +NS_SWIFT_NAME(SuccessBlock); + +/* + @methodgroup Enums + */ + +#ifndef NS_ERROR_ENUM + #define NS_ERROR_ENUM(_domain, _name) \ + enum _name : NSInteger _name; \ + enum __attribute__((ns_error_domain(_domain))) _name: NSInteger +#endif + +/** + FBSDKCoreError + Error codes for FBSDKErrorDomain. + */ +typedef NS_ERROR_ENUM (FBSDKErrorDomain, FBSDKCoreError) +{ + /// Reserved. + FBSDKErrorReserved = 0, + + /// The error code for errors from invalid encryption on incoming encryption URLs. + FBSDKErrorEncryption, + + /// The error code for errors from invalid arguments to SDK methods. + FBSDKErrorInvalidArgument, + + /// The error code for unknown errors. + FBSDKErrorUnknown, + + /** + A request failed due to a network error. Use NSUnderlyingErrorKey to retrieve + the error object from the NSURLSession for more information. + */ + FBSDKErrorNetwork, + + /// The error code for errors encountered during an App Events flush. + FBSDKErrorAppEventsFlush, + + /** + An endpoint that returns a binary response was used with FBSDKGraphRequestConnection. + + Endpoints that return image/jpg, etc. should be accessed using NSURLRequest + */ + FBSDKErrorGraphRequestNonTextMimeTypeReturned, + + /** + The operation failed because the server returned an unexpected response. + + You can get this error if you are not using the most recent SDK, or you are accessing a version of the + Graph API incompatible with the current SDK. + */ + FBSDKErrorGraphRequestProtocolMismatch, + + /** + The Graph API returned an error. + + See below for useful userInfo keys (beginning with FBSDKGraphRequestError*) + */ + FBSDKErrorGraphRequestGraphAPI, + + /** + The specified dialog configuration is not available. + + This error may signify that the configuration for the dialogs has not yet been downloaded from the server + or that the dialog is unavailable. Subsequent attempts to use the dialog may succeed as the configuration is loaded. + */ + FBSDKErrorDialogUnavailable, + + /// Indicates an operation failed because a required access token was not found. + FBSDKErrorAccessTokenRequired, + + /// Indicates an app switch (typically for a dialog) failed because the destination app is out of date. + FBSDKErrorAppVersionUnsupported, + + /// Indicates an app switch to the browser (typically for a dialog) failed. + FBSDKErrorBrowserUnavailable, + + /// Indicates that a bridge api interaction was interrupted. + FBSDKErrorBridgeAPIInterruption, + + /// Indicates that a bridge api response creation failed. + FBSDKErrorBridgeAPIResponse, +} NS_SWIFT_NAME(CoreError); + +/** + FBSDKGraphRequestError + Describes the category of Facebook error. See `FBSDKGraphRequestErrorKey`. + */ +typedef NS_ENUM(NSUInteger, FBSDKGraphRequestError) { + /// The default error category that is not known to be recoverable. Check `FBSDKLocalizedErrorDescriptionKey` for a user facing message. + FBSDKGraphRequestErrorOther = 0, + /// Indicates the error is temporary (such as server throttling). While a recoveryAttempter will be provided with the error instance, the attempt is guaranteed to succeed so you can simply retry the operation if you do not want to present an alert. + FBSDKGraphRequestErrorTransient = 1, + /// Indicates the error can be recovered (such as requiring a login). A recoveryAttempter will be provided with the error instance that can take UI action. + FBSDKGraphRequestErrorRecoverable = 2, +} NS_SWIFT_NAME(GraphRequestError); + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-Swift.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-Swift.h new file mode 100644 index 0000000..095752d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-Swift.h @@ -0,0 +1,500 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +#ifndef FBSDKCOREKIT_SWIFT_H +#define FBSDKCOREKIT_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import Foundation; +@import ObjectiveC; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKCoreKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + +@protocol FBSDKGraphRequestFactory; +@protocol FBSDKSettings; +@class NSString; + +SWIFT_PROTOCOL_NAMED("CAPIReporter") +@protocol FBSDKCAPIReporter +- (void)enable; +- (void)configureWithFactory:(id _Nonnull)factory settings:(id _Nonnull)settings; +- (void)recordEvent:(NSDictionary * _Nonnull)parameters; +@end + + +SWIFT_CLASS("_TtC12FBSDKCoreKit25FBSDKAppEventsCAPIManager") +@interface FBSDKAppEventsCAPIManager : NSObject +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FBSDKAppEventsCAPIManager * _Nonnull shared;) ++ (FBSDKAppEventsCAPIManager * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +- (void)configureWithFactory:(id _Nonnull)factory settings:(id _Nonnull)settings; +- (void)enable; +- (void)recordEvent:(NSDictionary * _Nonnull)parameters; +@end + + +SWIFT_CLASS("_TtC12FBSDKCoreKit35FBSDKTransformerGraphRequestFactory") +@interface FBSDKTransformerGraphRequestFactory : NSObject +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FBSDKTransformerGraphRequestFactory * _Nonnull shared;) ++ (FBSDKTransformerGraphRequestFactory * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +- (void)configureWithDatasetID:(NSString * _Nonnull)datasetID url:(NSString * _Nonnull)url accessKey:(NSString * _Nonnull)accessKey; +- (void)callCapiGatewayAPIWith:(NSDictionary * _Nonnull)parameters; +@end + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +#ifndef FBSDKCOREKIT_SWIFT_H +#define FBSDKCOREKIT_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import Foundation; +@import ObjectiveC; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKCoreKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + +@protocol FBSDKGraphRequestFactory; +@protocol FBSDKSettings; +@class NSString; + +SWIFT_PROTOCOL_NAMED("CAPIReporter") +@protocol FBSDKCAPIReporter +- (void)enable; +- (void)configureWithFactory:(id _Nonnull)factory settings:(id _Nonnull)settings; +- (void)recordEvent:(NSDictionary * _Nonnull)parameters; +@end + + +SWIFT_CLASS("_TtC12FBSDKCoreKit25FBSDKAppEventsCAPIManager") +@interface FBSDKAppEventsCAPIManager : NSObject +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FBSDKAppEventsCAPIManager * _Nonnull shared;) ++ (FBSDKAppEventsCAPIManager * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +- (void)configureWithFactory:(id _Nonnull)factory settings:(id _Nonnull)settings; +- (void)enable; +- (void)recordEvent:(NSDictionary * _Nonnull)parameters; +@end + + +SWIFT_CLASS("_TtC12FBSDKCoreKit35FBSDKTransformerGraphRequestFactory") +@interface FBSDKTransformerGraphRequestFactory : NSObject +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FBSDKTransformerGraphRequestFactory * _Nonnull shared;) ++ (FBSDKTransformerGraphRequestFactory * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +- (void)configureWithDatasetID:(NSString * _Nonnull)datasetID url:(NSString * _Nonnull)url accessKey:(NSString * _Nonnull)accessKey; +- (void)callCapiGatewayAPIWith:(NSDictionary * _Nonnull)parameters; +@end + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h new file mode 100644 index 0000000..8a4569c --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h @@ -0,0 +1,112 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import + +#import + +#if !TARGET_OS_TV + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import + #import +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKCoreKitVersions.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKCoreKitVersions.h new file mode 100644 index 0000000..14be1be --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKCoreKitVersions.h @@ -0,0 +1,10 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#define FBSDK_VERSION_STRING @"13.2.0" +#define FBSDK_DEFAULT_GRAPH_API_VERSION @"v13.0" diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKDeviceButton.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKDeviceButton.h new file mode 100644 index 0000000..73ac851 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKDeviceButton.h @@ -0,0 +1,28 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +/* + An internal base class for device related flows. + + This is an internal API that should not be used directly and is subject to change. + */ +NS_SWIFT_NAME(FBDeviceButton) +@interface FBSDKDeviceButton : FBSDKButton +- (CGSize)sizeThatFits:(CGSize)size attributedTitle:(NSAttributedString *)title; +- (nullable NSAttributedString *)attributedTitleStringFromString:(NSString *)string; +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKDeviceDialogView.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKDeviceDialogView.h new file mode 100644 index 0000000..b98e122 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKDeviceDialogView.h @@ -0,0 +1,45 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(DeviceDialogViewDelegate) +@protocol FBSDKDeviceDialogViewDelegate; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ + +NS_SWIFT_NAME(FBDeviceDialogView) +@interface FBSDKDeviceDialogView : UIView + +@property (nonatomic, weak) id delegate; +@property (nonatomic, copy) NSString *confirmationCode; + +// override point for subclasses. +- (void)buildView; + +@end + +NS_SWIFT_NAME(DeviceDialogViewDelegate) +@protocol FBSDKDeviceDialogViewDelegate + +- (void)deviceDialogViewDidCancel:(FBSDKDeviceDialogView *)deviceDialogView; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKDeviceViewControllerBase.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKDeviceViewControllerBase.h new file mode 100644 index 0000000..b4e309a --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKDeviceViewControllerBase.h @@ -0,0 +1,28 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if TARGET_OS_TV + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/* + An internal base class for device related flows. + + This is an internal API that should not be used directly and is subject to change. + */ +NS_SWIFT_NAME(FBDeviceViewControllerBase) +@interface FBSDKDeviceViewControllerBase : UIViewController +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKDynamicFrameworkLoaderProxy.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKDynamicFrameworkLoaderProxy.h new file mode 100644 index 0000000..a46a303 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKDynamicFrameworkLoaderProxy.h @@ -0,0 +1,29 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(DynamicFrameworkLoaderProxy) +@interface FBSDKDynamicFrameworkLoaderProxy : NSObject +/** + Load the kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly value from the Security Framework + + @return The kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly value or nil. + */ ++ (CFTypeRef)loadkSecAttrAccessibleAfterFirstUnlockThisDeviceOnly; +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKDynamicSocialFrameworkLoader.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKDynamicSocialFrameworkLoader.h new file mode 100644 index 0000000..bad1414 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKDynamicSocialFrameworkLoader.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - Social Constants + +/// Dynamically loaded constant for SLServiceTypeFacebook +FOUNDATION_EXPORT NSString *fbsdkdfl_SLServiceTypeFacebook(void); + +#pragma mark - Social Classes + +FOUNDATION_EXPORT Class fbsdkdfl_SLComposeViewControllerClass(void); + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKErrorCreating.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKErrorCreating.h new file mode 100644 index 0000000..85c9e19 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKErrorCreating.h @@ -0,0 +1,81 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(ErrorCreating) +@protocol FBSDKErrorCreating + +// MARK: - General Errors + +// UNCRUSTIFY_FORMAT_OFF +- (NSError *)errorWithCode:(NSInteger)code + userInfo:(nullable NSDictionary *)userInfo + message:(nullable NSString *)message + underlyingError:(nullable NSError *)underlyingError +NS_SWIFT_NAME(error(code:userInfo:message:underlyingError:)); +// UNCRUSTIFY_FORMAT_ON + +// UNCRUSTIFY_FORMAT_OFF +- (NSError *)errorWithDomain:(NSErrorDomain)domain + code:(NSInteger)code + userInfo:(nullable NSDictionary *)userInfo + message:(nullable NSString *)message + underlyingError:(nullable NSError *)underlyingError +NS_SWIFT_NAME(error(domain:code:userInfo:message:underlyingError:)); +// UNCRUSTIFY_FORMAT_ON + +// MARK: - Invalid Argument Errors + +// UNCRUSTIFY_FORMAT_OFF +- (NSError *)invalidArgumentErrorWithName:(NSString *)name + value:(nullable id)value + message:(nullable NSString *)message + underlyingError:(nullable NSError *)underlyingError +NS_SWIFT_NAME(invalidArgumentError(name:value:message:underlyingError:)); +// UNCRUSTIFY_FORMAT_ON + +// UNCRUSTIFY_FORMAT_OFF +- (NSError *)invalidArgumentErrorWithDomain:(NSErrorDomain)domain + name:(NSString *)name + value:(nullable id)value + message:(nullable NSString *)message + underlyingError:(nullable NSError *)underlyingError +NS_SWIFT_NAME(invalidArgumentError(domain:name:value:message:underlyingError:)); +// UNCRUSTIFY_FORMAT_ON + +// MARK: - Required Argument Errors + +// UNCRUSTIFY_FORMAT_OFF +- (NSError *)requiredArgumentErrorWithName:(NSString *)name + message:(nullable NSString *)message + underlyingError:(nullable NSError *)underlyingError +NS_SWIFT_NAME(requiredArgumentError(name:message:underlyingError:)); +// UNCRUSTIFY_FORMAT_ON + +// UNCRUSTIFY_FORMAT_OFF +- (NSError *)requiredArgumentErrorWithDomain:(NSErrorDomain)domain + name:(NSString *)name + message:(nullable NSString *)message + underlyingError:(nullable NSError *)underlyingError + NS_SWIFT_NAME(requiredArgumentError(domain:name:message:underlyingError:)); +// UNCRUSTIFY_FORMAT_ON + +// MARK: - Unknown Errors + +// UNCRUSTIFY_FORMAT_OFF +- (NSError *)unknownErrorWithMessage:(nullable NSString *)message + userInfo:(nullable NSDictionary *)userInfo +NS_SWIFT_NAME(unknownError(message:userInfo:)); +// UNCRUSTIFY_FORMAT_ON + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKErrorFactory.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKErrorFactory.h new file mode 100644 index 0000000..217c00b --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKErrorFactory.h @@ -0,0 +1,18 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(ErrorFactory) +@interface FBSDKErrorFactory : NSObject + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKErrorRecoveryAttempting.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKErrorRecoveryAttempting.h new file mode 100644 index 0000000..b005f8e --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKErrorRecoveryAttempting.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + A formal protocol very similar to the informal protocol NSErrorRecoveryAttempting + Internal use only + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(ErrorRecoveryAttempting) +@protocol FBSDKErrorRecoveryAttempting + +/** + Attempt the recovery + @param error the error + @param completionHandler the handler called upon completion of error recovery + + Attempt recovery from the error, and call the completion handler. The value passed for didRecover must be YES if error recovery was completely successful, NO otherwise. + */ +- (void)attemptRecoveryFromError:(NSError *)error + completionHandler:(void (^)(BOOL didRecover))completionHandler; +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKFeature.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKFeature.h new file mode 100644 index 0000000..09a72fa --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKFeature.h @@ -0,0 +1,84 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + FBSDKFeature enum + Defines features in SDK + + Sample: + FBSDKFeatureAppEvents = 0x00010000, + ^ ^ ^ ^ + | | | | + kit | | | + feature | | + sub-feature | + sub-sub-feature + 1st byte: kit + 2nd byte: feature + 3rd byte: sub-feature + 4th byte: sub-sub-feature + + @warning INTERNAL - DO NOT USE + */ +typedef NS_ENUM(NSUInteger, FBSDKFeature) { + FBSDKFeatureNone = 0x00000000, + // Features in CoreKit + /// Essential of CoreKit + FBSDKFeatureCore = 0x01000000, + /// App Events + FBSDKFeatureAppEvents = 0x01010000, + FBSDKFeatureCodelessEvents = 0x01010100, + FBSDKFeatureRestrictiveDataFiltering = 0x01010200, + FBSDKFeatureAAM = 0x01010300, + FBSDKFeaturePrivacyProtection = 0x01010400, + FBSDKFeatureSuggestedEvents = 0x01010401, + FBSDKFeatureIntelligentIntegrity = 0x01010402, + FBSDKFeatureModelRequest = 0x01010403, + FBSDKFeatureEventDeactivation = 0x01010500, + FBSDKFeatureSKAdNetwork = 0x01010600, + FBSDKFeatureSKAdNetworkConversionValue = 0x01010601, + FBSDKFeatureATELogging = 0x01010700, + FBSDKFeatureAEM = 0x01010800, + FBSDKFeatureAEMConversionFiltering = 0x01010801, + FBSDKFeatureAEMCatalogMatching = 0x01010802, + FBSDKFeatureAppEventsCloudbridge = 0x01010900, + /// Instrument + FBSDKFeatureInstrument = 0x01020000, + FBSDKFeatureCrashReport = 0x01020100, + FBSDKFeatureCrashShield = 0x01020101, + FBSDKFeatureErrorReport = 0x01020200, + + // Features in LoginKit + /// Essential of LoginKit + FBSDKFeatureLogin = 0x02000000, + + // Features in ShareKit + /// Essential of ShareKit + FBSDKFeatureShare = 0x03000000, + + // Features in GamingServicesKit + /// Essential of GamingServicesKit + FBSDKFeatureGamingServices = 0x04000000, +} NS_SWIFT_NAME(SDKFeature); + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +typedef void (^FBSDKFeatureManagerBlock)(BOOL enabled); + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKFeatureChecking.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKFeatureChecking.h new file mode 100644 index 0000000..bdb5d53 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKFeatureChecking.h @@ -0,0 +1,29 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(FeatureChecking) +@protocol FBSDKFeatureChecking + +- (BOOL)isEnabled:(FBSDKFeature)feature; + +- (void)checkFeature:(FBSDKFeature)feature + completionBlock:(FBSDKFeatureManagerBlock)completionBlock; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h new file mode 100644 index 0000000..bd14952 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h @@ -0,0 +1,167 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import +#import +#import +#import +#import + +NS_ASSUME_NONNULL_BEGIN +/** + Represents a request to the Facebook Graph API. + + `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 + */ +NS_SWIFT_NAME(GraphRequest) +@interface FBSDKGraphRequest : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +// UNCRUSTIFY_FORMAT_OFF ++ (void) configureWithSettings:(id)settings + currentAccessTokenStringProvider:(Class)accessTokenProvider + graphRequestConnectionFactory:(id)_graphRequestConnectionFactory +NS_SWIFT_NAME(configure(settings:currentAccessTokenStringProvider:graphRequestConnectionFactory:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Initializes a new instance that use use `[FBSDKAccessToken currentAccessToken]`. + @param graphPath the graph path (e.g., @"me"). + */ +- (instancetype)initWithGraphPath:(NSString *)graphPath; + +/** + Initializes a new instance that use use `[FBSDKAccessToken currentAccessToken]`. + @param graphPath the graph path (e.g., @"me"). + @param method the HTTP method. Empty String defaults to @"GET". + */ +- (instancetype)initWithGraphPath:(NSString *)graphPath + HTTPMethod:(FBSDKHTTPMethod)method; + +/** + 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; + +/** + Initializes a new instance that use use `[FBSDKAccessToken currentAccessToken]`. + @param graphPath the graph path (e.g., @"me"). + @param parameters the optional parameters dictionary. + @param method the HTTP method. Empty String defaults to @"GET". + */ +- (instancetype)initWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + HTTPMethod:(FBSDKHTTPMethod)method; + +/** + 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 `[FBSDKSettings graphAPIVersion]`. + @param method the HTTP method. Empty String defaults to @"GET". + */ +- (instancetype)initWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + tokenString:(nullable NSString *)tokenString + version:(nullable NSString *)version + HTTPMethod:(FBSDKHTTPMethod)method + NS_DESIGNATED_INITIALIZER; + +/** + Initializes a new instance. + @param graphPath the graph path (e.g., @"me"). + @param parameters the optional parameters dictionary. + @param requestFlags flags that indicate how a graph request should be treated in various scenarios + */ +- (instancetype)initWithGraphPath:(NSString *)graphPath + parameters:(nullable NSDictionary *)parameters + flags:(FBSDKGraphRequestFlags)requestFlags; + +/** + 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 HTTPMethod the HTTP method. Empty String defaults to @"GET". + @param flags flags that indicate how a graph request should be treated in various scenarios + */ +- (instancetype)initWithGraphPath:(NSString *)graphPath + parameters:(nullable NSDictionary *)parameters + tokenString:(nullable NSString *)tokenString + HTTPMethod:(nullable NSString *)HTTPMethod + flags:(FBSDKGraphRequestFlags)flags; + +/// The request parameters. +@property (nonatomic, copy) NSDictionary *parameters; + +/// The access token string used by the request. +@property (nullable, nonatomic, readonly, copy) NSString *tokenString; + +/// The Graph API endpoint to use for the request, for example "me". +@property (nonatomic, readonly, copy) NSString *graphPath; + +/// The HTTPMethod to use for the request, for example "GET" or "POST". +@property (nonatomic, readonly, copy) FBSDKHTTPMethod HTTPMethod; + +/// The Graph API version to use (e.g., "v2.0") +@property (nonatomic, readonly, copy) NSString *version; + +/** + If set, disables the automatic error recovery mechanism. + @param disable whether to disable the automatic error recovery mechanism + + By default, non-batched FBSDKGraphRequest instances will automatically try to recover + from errors by constructing a `FBSDKGraphErrorRecoveryProcessor` instance that + 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:]. + */ + +// UNCRUSTIFY_FORMAT_OFF +- (void)setGraphErrorRecoveryDisabled:(BOOL)disable +NS_SWIFT_NAME(setGraphErrorRecovery(disabled:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Starts a connection to the Graph API. + @param completion The handler block to call when the request completes. + */ +- (id)startWithCompletion:(nullable FBSDKGraphRequestCompletion)completion; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnecting.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnecting.h new file mode 100644 index 0000000..a64cb00 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnecting.h @@ -0,0 +1,54 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol FBSDKGraphRequest; +@protocol FBSDKGraphRequestConnecting; +@protocol FBSDKGraphRequestConnectionDelegate; + +/** + FBSDKGraphRequestCompletion + + A block that is passed to addRequest to register for a callback with the results of that + request once the connection completes. + + 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 connection 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. + */ +NS_SWIFT_NAME(GraphRequestCompletion) +typedef void (^FBSDKGraphRequestCompletion)(id _Nullable connection, + id _Nullable result, + NSError *_Nullable error); + +/// A protocol to describe an object that can manage graph requests +NS_SWIFT_NAME(GraphRequestConnecting) +@protocol FBSDKGraphRequestConnecting + +@property (nonatomic, assign) NSTimeInterval timeout; +@property (nullable, nonatomic, weak) id delegate; + +- (void)addRequest:(id)request + completion:(FBSDKGraphRequestCompletion)handler; + +- (void)start; +- (void)cancel; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h new file mode 100644 index 0000000..99966bf --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h @@ -0,0 +1,173 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + The key in the result dictionary for requests to old versions of the Graph API + whose response is not a JSON object. + + 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. + */ +FOUNDATION_EXPORT NSString *const FBSDKNonJSONResponseProperty +NS_SWIFT_NAME(NonJSONResponseProperty); + +@protocol FBSDKGraphRequest; + +/** + The `FBSDKGraphRequestConnection` represents a single connection to Facebook to service a request. + + 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. + */ +NS_SWIFT_NAME(GraphRequestConnection) +@interface FBSDKGraphRequestConnection : NSObject + +/// The default timeout on all FBSDKGraphRequestConnection instances. Defaults to 60 seconds. +@property (class, nonatomic, assign) NSTimeInterval defaultConnectionTimeout; + +/// The delegate object that receives updates. +@property (nullable, nonatomic, weak) id delegate; + +/// Gets or sets the timeout interval to wait for a response before giving up. +@property (nonatomic, assign) NSTimeInterval timeout; + +/** + The raw response that was returned from the server. (readonly) + + 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 FBSDKGraphRequestBlock callback. + */ +@property (nullable, nonatomic, readonly, retain) NSHTTPURLResponse *urlResponse; + +/** + Determines the operation queue that is used to call methods on the connection's delegate. + + 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. + */ +@property (nullable, nonatomic) NSOperationQueue *delegateQueue; + +/// @methodgroup Class methods + +/// @methodgroup Adding requests + +/** + @method + + This method adds an object to this connection. + + @param request A request to be included in the round-trip when start is called. + @param completion A handler to call back when the round-trip completes or times out. + + The completion handler is retained until the block is called upon the + completion or cancellation of the connection. + */ +- (void)addRequest:(id)request + completion:(FBSDKGraphRequestCompletion)completion; + +/** + @method + + This method adds an object to this connection. + + @param request A request to be included in the round-trip when start is called. + + @param completion A handler to call back when the round-trip completes or times out. + The handler will be invoked on the main thread. + + @param name A 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/ ). + + 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:(id)request + name:(NSString *)name + completion:(FBSDKGraphRequestCompletion)completion; + +/** + @method + + This method adds an object to this connection. + + @param request A request to be included in the round-trip when start is called. + + @param completion A handler to call back when the round-trip completes or times out. + + @param parameters The 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". + + 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:(id)request + parameters:(nullable NSDictionary *)parameters + completion:(FBSDKGraphRequestCompletion)completion; + +/// @methodgroup Instance methods + +/** + @method + + Signals that a connection should be logically terminated as the + application is no longer interested in a response. + + 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 + + This method starts a connection with the server and is capable of handling all of the + requests that were added to the connection. + + 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; + +/** + @method + + Overrides the default version for a batch request + + 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)overrideGraphAPIVersion:(NSString *)version; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionDelegate.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionDelegate.h new file mode 100644 index 0000000..738ad47 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionDelegate.h @@ -0,0 +1,93 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + @protocol + + The `FBSDKGraphRequestConnectionDelegate` protocol defines the methods used to receive network + activity progress information from a . + */ +NS_SWIFT_NAME(GraphRequestConnectionDelegate) +@protocol FBSDKGraphRequestConnectionDelegate + +@optional + +/** + @method + + Tells the delegate the request connection will begin loading + + 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:(id)connection; + +/** + @method + + Tells the delegate the request connection finished loading + + If the request connection completes without a network error occurring 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 FBSDKGraphRequestBlock + 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:(id)connection; + +/** + @method + + Tells the delegate the request connection failed with an error + + 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 + FBSDKGraphRequestBlock 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:(id)connection + didFailWithError:(NSError *)error; + +/** + @method + + Tells the delegate how much data has been sent and is planned to send to the remote host + + The byte count arguments refer to the aggregated objects, not a particular . + + Like `NSURLSession`, 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:(id)connection + didSendBodyData:(NSInteger)bytesWritten + totalBytesWritten:(NSInteger)totalBytesWritten + totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactory.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactory.h new file mode 100644 index 0000000..19e62d2 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactory.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal type not intended for use outside of the SDKs. + + A factory for providing objects that conform to `GraphRequestConnecting`. + */ +NS_SWIFT_NAME(GraphRequestConnectionFactory) +@interface FBSDKGraphRequestConnectionFactory : NSObject +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactoryProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactoryProtocol.h new file mode 100644 index 0000000..96b43df --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactoryProtocol.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol FBSDKGraphRequestConnecting; + +/// Describes anything that can provide instances of `FBSDKGraphRequestConnecting` +NS_SWIFT_NAME(GraphRequestConnectionFactoryProtocol) +@protocol FBSDKGraphRequestConnectionFactory + +- (id)createGraphRequestConnection; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h new file mode 100644 index 0000000..3775cb4 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h @@ -0,0 +1,42 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// A container class for data attachments so that additional metadata can be provided about the attachment. +NS_SWIFT_NAME(GraphRequestDataAttachment) +@interface FBSDKGraphRequestDataAttachment : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + 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; + +/// The content type for the attachment. +@property (nonatomic, readonly, copy) NSString *contentType; + +/// The attachment data. +@property (nonatomic, readonly, strong) NSData *data; + +/// The filename for the attachment. +@property (nonatomic, readonly, copy) NSString *filename; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactory.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactory.h new file mode 100644 index 0000000..6661ac1 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactory.h @@ -0,0 +1,26 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol FBSDKGraphRequestFactory; + +/** + Internal type not intended for use outside of the SDKs. + + A factory for providing objects that conform to `GraphRequest` + */ +NS_SWIFT_NAME(GraphRequestFactory) +@interface FBSDKGraphRequestFactory : NSObject +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactoryProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactoryProtocol.h new file mode 100644 index 0000000..eb85a3b --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactoryProtocol.h @@ -0,0 +1,54 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +@protocol FBSDKGraphRequest; + +typedef NSString *const FBSDKHTTPMethod NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(HTTPMethod); + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal type not intended for use outside of the SDKs. + +Describes anything that can provide instances of `GraphRequestProtocol` + */ +NS_SWIFT_NAME(GraphRequestFactoryProtocol) +@protocol FBSDKGraphRequestFactory + +- (id)createGraphRequestWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + tokenString:(nullable NSString *)tokenString + HTTPMethod:(nullable FBSDKHTTPMethod)method + flags:(FBSDKGraphRequestFlags)flags; + +- (id)createGraphRequestWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters; + +- (id)createGraphRequestWithGraphPath:(NSString *)graphPath; + +- (id)createGraphRequestWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + HTTPMethod:(FBSDKHTTPMethod)method; + +- (id)createGraphRequestWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + tokenString:(nullable NSString *)tokenString + version:(nullable NSString *)version + HTTPMethod:(FBSDKHTTPMethod)method; + +- (id)createGraphRequestWithGraphPath:(NSString *)graphPath + parameters:(NSDictionary *)parameters + flags:(FBSDKGraphRequestFlags)flags; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFlags.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFlags.h new file mode 100644 index 0000000..68e7c8d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFlags.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Flags that indicate how a graph request should be treated in various scenarios +typedef NS_OPTIONS(NSUInteger, FBSDKGraphRequestFlags) { + FBSDKGraphRequestFlagNone = 0, + /// indicates this request should not use a client token as its token parameter + FBSDKGraphRequestFlagSkipClientToken = 1 << 1, + /// indicates this request should not close the session if its response is an oauth error + FBSDKGraphRequestFlagDoNotInvalidateTokenOnError = 1 << 2, + /// indicates this request should not perform error recovery + FBSDKGraphRequestFlagDisableErrorRecovery = 1 << 3, +} NS_SWIFT_NAME(GraphRequestFlags); + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestHTTPMethod.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestHTTPMethod.h new file mode 100644 index 0000000..e79728d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestHTTPMethod.h @@ -0,0 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/// typedef for FBSDKHTTPMethod +typedef NSString *const FBSDKHTTPMethod NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(HTTPMethod); + +/// GET Request +FOUNDATION_EXPORT FBSDKHTTPMethod FBSDKHTTPMethodGET NS_SWIFT_NAME(get); + +/// POST Request +FOUNDATION_EXPORT FBSDKHTTPMethod FBSDKHTTPMethodPOST NS_SWIFT_NAME(post); + +/// DELETE Request +FOUNDATION_EXPORT FBSDKHTTPMethod FBSDKHTTPMethodDELETE NS_SWIFT_NAME(delete); diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestProtocol.h new file mode 100644 index 0000000..6cc4da3 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestProtocol.h @@ -0,0 +1,66 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +@class FBSDKGraphRequestConnection; +@protocol FBSDKGraphRequestConnecting; + +typedef void (^FBSDKGraphRequestCompletion)(id _Nullable connection, + id _Nullable result, + NSError *_Nullable error); + +typedef void (^FBSDKGraphRequestBlock)(FBSDKGraphRequestConnection *_Nullable connection, + id _Nullable result, + NSError *_Nullable error); + +/// A protocol to describe anything that represents a graph request +NS_SWIFT_NAME(GraphRequestProtocol) +@protocol FBSDKGraphRequest + +/// The request parameters. +@property (nonatomic, copy) NSDictionary *parameters; + +/// The access token string used by the request. +@property (nullable, nonatomic, readonly, copy) NSString *tokenString; + +/// The Graph API endpoint to use for the request, for example "me". +@property (nonatomic, readonly, copy) NSString *graphPath; + +/// The HTTPMethod to use for the request, for example "GET" or "POST". +@property (nonatomic, readonly, copy) FBSDKHTTPMethod HTTPMethod; + +/// The Graph API version to use (e.g., "v2.0") +@property (nonatomic, readonly, copy) NSString *version; + +/// The graph request flags to use +@property (nonatomic, readonly, assign) FBSDKGraphRequestFlags flags; + +/// Convenience property to determine if graph error recover is disabled +@property (nonatomic, getter = isGraphErrorRecoveryDisabled) BOOL graphErrorRecoveryDisabled; + +/// Convenience property to determine if the request has attachments +@property (nonatomic, readonly) BOOL hasAttachments; + +/** + Starts a connection to the Graph API. + @param completion The handler block to call when the request completes. + */ +- (id)startWithCompletion:(nullable FBSDKGraphRequestCompletion)completion; + +/// A formatted description of the graph request +- (NSString *)formattedDescription; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKIcon.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKIcon.h new file mode 100644 index 0000000..0404e39 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKIcon.h @@ -0,0 +1,26 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(Icon) +@interface FBSDKIcon : NSObject + +- (nullable CGPathRef)pathWithSize:(CGSize)size; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKImpressionLoggingButton.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKImpressionLoggingButton.h new file mode 100644 index 0000000..4202de7 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKImpressionLoggingButton.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(ImpressionLoggingButton) +@interface FBSDKImpressionLoggingButton : UIButton +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKInternalUtility.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKInternalUtility.h new file mode 100644 index 0000000..c48e086 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKInternalUtility.h @@ -0,0 +1,83 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import + +#import +#import +#import +#import + +#if !TARGET_OS_TV + #import +#endif + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(InternalUtility) +@interface FBSDKInternalUtility : NSObject +#if !TARGET_OS_TV + +#else + +#endif + +#if !DEBUG +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; +#endif + +@property (class, nonnull, readonly) FBSDKInternalUtility *sharedUtility; + +/** + Returns bundle for returning localized strings + + We assume a convention of a bundle named FBSDKStrings.bundle, otherwise we + return the main bundle. + */ +@property (nonatomic, readonly, strong) NSBundle *bundleForStrings; + +/** + Tests whether the supplied URL is a valid URL for opening in the browser. + @param URL The URL to test. + @return YES if the URL refers to an http or https resource, otherwise NO. + */ +- (BOOL)isBrowserURL:(NSURL *)URL; + +/** + Checks equality between 2 objects. + + Checks for pointer equality, nils, isEqual:. + @param object The first object to compare. + @param other The second object to compare. + @return YES if the objects are equal, otherwise NO. + */ +- (BOOL)object:(id)object isEqualToObject:(id)other; + +/// Attempts to find the first UIViewController in the view's responder chain. Returns nil if not found. +- (nullable UIViewController *)viewControllerForView:(UIView *)view; + +/// returns true if the url scheme is registered in the CFBundleURLTypes +- (BOOL)isRegisteredURLScheme:(NSString *)urlScheme; + +/// returns currently displayed top view controller. +- (nullable UIViewController *)topMostViewController; + +/// returns the current key window +- (nullable UIWindow *)findWindow; + +#pragma mark - FB Apps Installed + +@property (nonatomic, readonly, assign) BOOL isMessengerAppInstalled; + +- (BOOL)isRegisteredCanOpenURLScheme:(NSString *)urlScheme; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKInternalUtilityProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKInternalUtilityProtocol.h new file mode 100644 index 0000000..1084682 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKInternalUtilityProtocol.h @@ -0,0 +1,135 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(InternalUtilityProtocol) +@protocol FBSDKInternalUtility + +#pragma mark - FB Apps Installed + +@property (nonatomic, readonly) BOOL isFacebookAppInstalled; + +/* + Checks if the app is Unity. + */ +@property (nonatomic, readonly) BOOL isUnity; + +/** + Constructs an NSURL. + @param scheme The scheme for the URL. + @param host The host for the URL. + @param path The path for the URL. + @param queryParameters The query parameters for the URL. This will be converted into a query string. + @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. + @return The URL. + */ +- (nullable NSURL *)URLWithScheme:(NSString *)scheme + host:(NSString *)host + path:(NSString *)path + queryParameters:(NSDictionary *)queryParameters + error:(NSError *__autoreleasing *)errorRef; + +/** + Constructs an URL for the current app. + @param host The host for the URL. + @param path The path for the URL. + @param queryParameters The query parameters for the URL. This will be converted into a query string. + @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. + @return The app URL. + */ +- (nullable NSURL *)appURLWithHost:(NSString *)host + path:(NSString *)path + queryParameters:(NSDictionary *)queryParameters + error:(NSError *__autoreleasing *)errorRef; + +/** + Constructs a Facebook URL. + @param hostPrefix The prefix for the host, such as 'm', 'graph', etc. + @param path The path for the URL. This may or may not include a version. + @param queryParameters The query parameters for the URL. This will be converted into a query string. + @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. + @return The Facebook URL. + */ +- (nullable NSURL *)facebookURLWithHostPrefix:(NSString *)hostPrefix + path:(NSString *)path + queryParameters:(NSDictionary *)queryParameters + error:(NSError *__autoreleasing *)errorRef; + +/** + Registers a transient object so that it will not be deallocated until unregistered + @param object The transient object + */ +- (void)registerTransientObject:(id)object; + +/** + Unregisters a transient object that was previously registered with registerTransientObject: + @param object The transient object + */ +- (void)unregisterTransientObject:(__weak id)object; + +- (void)checkRegisteredCanOpenURLScheme:(NSString *)urlScheme; + +/// Validates that the right URL schemes are registered, throws an NSException if not. +- (void)validateURLSchemes; + +/// add data processing options to the dictionary. +- (void)extendDictionaryWithDataProcessingOptions:(NSMutableDictionary *)parameters; + +/// Converts NSData to a hexadecimal UTF8 String. +- (nullable NSString *)hexadecimalStringFromData:(NSData *)data; + +/// validates that the app ID is non-nil, throws an NSException if nil. +- (void)validateAppID; + +/** + Validates that the client access token is non-nil, otherwise - throws an NSException otherwise. + Returns the composed client access token. + */ +- (NSString *)validateRequiredClientAccessToken; + +/** + Extracts permissions from a response fetched from me/permissions + @param responseObject the response + @param grantedPermissions the set to add granted permissions to + @param declinedPermissions the set to add declined permissions to. + */ +- (void)extractPermissionsFromResponse:(NSDictionary *)responseObject + grantedPermissions:(NSMutableSet *)grantedPermissions + declinedPermissions:(NSMutableSet *)declinedPermissions + expiredPermissions:(NSMutableSet *)expiredPermissions; + +/// validates that Facebook reserved URL schemes are not registered, throws an NSException if they are. +- (void)validateFacebookReservedURLSchemes; + +/** + Parses an FB url's query params (and potentially fragment) into a dictionary. + @param url The FB url. + @return A dictionary with the key/value pairs. + */ +- (NSDictionary *)parametersFromFBURL:(NSURL *)url; + +/** + Returns bundle for returning localized strings + + We assume a convention of a bundle named FBSDKStrings.bundle, otherwise we + return the main bundle. + */ +@property (nonatomic, readonly, strong) NSBundle *bundleForStrings; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKKeychainStore.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKKeychainStore.h new file mode 100644 index 0000000..a4292d5 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKKeychainStore.h @@ -0,0 +1,34 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(KeychainStore) +@interface FBSDKKeychainStore : NSObject + +@property (nonatomic, readonly, copy) NSString *service; +@property (nullable, nonatomic, readonly, copy) NSString *accessGroup; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +- (instancetype)initWithService:(NSString *)service accessGroup:(nullable NSString *)accessGroup NS_DESIGNATED_INITIALIZER; + +- (BOOL)setData:(nullable NSData *)value forKey:(NSString *)key accessibility:(CFTypeRef)accessibility; +- (nullable NSData *)dataForKey:(NSString *)key; + +// hook for subclasses to override keychain query construction. +- (NSMutableDictionary *)queryForKey:(NSString *)key; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreFactory.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreFactory.h new file mode 100644 index 0000000..149c59d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreFactory.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal type not intended for use outside of the SDKs. + + A factory for providing objects that conform to `KeychainStore` + */ +NS_SWIFT_NAME(KeychainStoreFactory) +@interface FBSDKKeychainStoreFactory : NSObject +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProtocol.h new file mode 100644 index 0000000..4f8636a --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProtocol.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(KeychainStoreProtocol) +@protocol FBSDKKeychainStore + +- (nullable NSString *)stringForKey:(NSString *)key; +- (nullable NSDictionary *)dictionaryForKey:(NSString *)key; + +- (BOOL)setString:(nullable NSString *)value forKey:(NSString *)key accessibility:(nullable CFTypeRef)accessibility; +- (BOOL)setDictionary:(nullable NSDictionary *)value forKey:(NSString *)key accessibility:(nullable CFTypeRef)accessibility; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProviding.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProviding.h new file mode 100644 index 0000000..af0263c --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProviding.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(KeychainStoreProviding) +@protocol FBSDKKeychainStoreProviding + +- (nonnull id)createKeychainStoreWithService:(NSString *)service + accessGroup:(nullable NSString *)accessGroup; +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKLocation.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKLocation.h new file mode 100644 index 0000000..e9fd130 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKLocation.h @@ -0,0 +1,34 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(Location) +@interface FBSDKLocation : NSObject + +/// Location id +@property (nonatomic, readonly, strong) NSString *id; +/// Location name +@property (nonatomic, readonly, strong) NSString *name; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + Returns a Location object from a dinctionary containing valid location information. + @param dictionary The dictionary containing raw location + + Valid location will consist of "id" and "name" strings. + */ ++ (nullable instancetype)locationFromDictionary:(NSDictionary *)dictionary; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKLogger.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKLogger.h new file mode 100644 index 0000000..d6a3100 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKLogger.h @@ -0,0 +1,38 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Simple logging utility for conditionally logging strings and then emitting them + via NSLog(). + + @unsorted + + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(Logger) +@interface FBSDKLogger : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +// Simple helper to write a single log entry, based upon whether the behavior matches a specified on. ++ (void)singleShotLogEntry:(FBSDKLoggingBehavior)loggingBehavior + logEntry:(NSString *)logEntry; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKLogging.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKLogging.h new file mode 100644 index 0000000..dbef541 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKLogging.h @@ -0,0 +1,30 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(Logging) +@protocol FBSDKLogging + +@property (nonatomic, readonly, copy) NSString *contents; +@property (nonatomic, readonly, copy) FBSDKLoggingBehavior loggingBehavior; + +- (instancetype)initWithLoggingBehavior:(FBSDKLoggingBehavior)loggingBehavior; + ++ (void)singleShotLogEntry:(FBSDKLoggingBehavior)loggingBehavior + logEntry:(NSString *)logEntry; + +- (void)logEntry:(NSString *)logEntry; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKLoggingBehavior.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKLoggingBehavior.h new file mode 100644 index 0000000..900542d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKLoggingBehavior.h @@ -0,0 +1,51 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/* + * Constants defining logging behavior. Use with <[FBSDKSettings setLoggingBehavior]>. + */ + +typedef NSString *FBSDKLoggingBehavior NS_TYPED_ENUM NS_SWIFT_NAME(LoggingBehavior); + +/// Include access token in logging. +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorAccessTokens; + +/// Log performance characteristics +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorPerformanceCharacteristics; + +/// Log FBSDKAppEvents interactions +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorAppEvents; + +/// Log Informational occurrences +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorInformational; + +/// Log cache errors. +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorCacheErrors; + +/// Log errors from SDK UI controls +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorUIControlErrors; + +/// Log debug warnings from API response, i.e. when friends fields requested, but user_friends permission isn't granted. +FOUNDATION_EXPORT FBSDKLoggingBehavior 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. + */ +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorGraphAPIDebugInfo; + +/// Log errors from SDK network requests +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorNetworkRequests; + +/// Log errors likely to be preventable by the developer. This is in the default set of enabled logging behaviors. +FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorDeveloperErrors; + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKLoginTooltip.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKLoginTooltip.h new file mode 100644 index 0000000..a663749 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKLoginTooltip.h @@ -0,0 +1,31 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** +Internal Type exposed to facilitate transition to Swift. +API Subject to change or removal without warning. Do not use. + +@warning INTERNAL - DO NOT USE + */ +@interface FBSDKLoginTooltip : NSObject +@property (nonatomic, readonly, getter = isEnabled, assign) BOOL enabled; +@property (nonatomic, readonly, copy) NSString *text; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +- (instancetype)initWithText:(NSString *)text + enabled:(BOOL)enabled + NS_DESIGNATED_INITIALIZER; +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKNetworkErrorChecker.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKNetworkErrorChecker.h new file mode 100644 index 0000000..5b157c2 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKNetworkErrorChecker.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Concrete type providing functionality that checks whether an error represents a + network error. + */ +NS_SWIFT_NAME(NetworkErrorChecker) +@interface FBSDKNetworkErrorChecker : NSObject + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKNetworkErrorChecking.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKNetworkErrorChecking.h new file mode 100644 index 0000000..2868737 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKNetworkErrorChecking.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_SWIFT_NAME(NetworkErrorChecking) +@protocol FBSDKNetworkErrorChecking + +/** + Checks whether an error is a network error. + + @param error An error that may or may not represent a network error. + + @return `YES` if the error represents a network error, otherwise `NO`. + */ +- (BOOL)isNetworkError:(NSError *)error; + +@end diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKProductAvailability.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKProductAvailability.h new file mode 100644 index 0000000..fa8f4cd --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKProductAvailability.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** + NS_ENUM(NSUInteger, FBSDKProductAvailability) + Specifies product availability for Product Catalog product item update + */ +typedef NS_ENUM(NSUInteger, FBSDKProductAvailability) { + /// Item ships immediately + FBSDKProductAvailabilityInStock = 0, + /// No plan to restock + FBSDKProductAvailabilityOutOfStock, + /// Available in future + FBSDKProductAvailabilityPreOrder, + /// Ships in 1-2 weeks + FBSDKProductAvailabilityAvailableForOrder, + /// Discontinued + FBSDKProductAvailabilityDiscontinued, +} NS_SWIFT_NAME(AppEvents.ProductAvailability); diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKProductCondition.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKProductCondition.h new file mode 100644 index 0000000..41e23b1 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKProductCondition.h @@ -0,0 +1,17 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** + NS_ENUM(NSUInteger, FBSDKProductCondition) + Specifies product condition for Product Catalog product item update + */ +typedef NS_ENUM(NSUInteger, FBSDKProductCondition) { + FBSDKProductConditionNew = 0, + FBSDKProductConditionRefurbished, + FBSDKProductConditionUsed, +} NS_SWIFT_NAME(AppEvents.ProductCondition); diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKRandom.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKRandom.h new file mode 100644 index 0000000..653a038 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKRandom.h @@ -0,0 +1,15 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +/** + Provides a random string + @param numberOfBytes the number of bytes to use + */ +extern NSString *fb_randomString(NSUInteger numberOfBytes); diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKServerConfigurationProvider.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKServerConfigurationProvider.h new file mode 100644 index 0000000..8c651e1 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKServerConfigurationProvider.h @@ -0,0 +1,67 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal block type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(LoginTooltipBlock) +typedef void (^FBSDKLoginTooltipBlock)(FBSDKLoginTooltip *_Nullable loginTooltip, NSError *_Nullable error); + +/** +Internal Type exposed to facilitate transition to Swift. +API Subject to change or removal without warning. Do not use. + +@warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(ServerConfigurationProvider) +@interface FBSDKServerConfigurationProvider : NSObject + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nonatomic, readonly) NSString *loggingToken; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (NSUInteger)cachedSmartLoginOptions; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (BOOL)useSafariViewControllerForDialogName:(NSString *)dialogName; + +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void)loadServerConfigurationWithCompletionBlock:(nullable FBSDKLoginTooltipBlock)completionBlock + NS_SWIFT_NAME(loadServerConfiguration(completion:)); +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKSettings.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKSettings.h new file mode 100644 index 0000000..9a00e27 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKSettings.h @@ -0,0 +1,197 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(Settings) +@interface FBSDKSettings : NSObject + +#if !DEBUG +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; +#endif + +/// The shared settings instance. Prefer this and the exposed instance methods over the class variants. +@property (class, nonatomic, readonly) FBSDKSettings *sharedSettings; + +/// Retrieve the current iOS SDK version. +@property (nonatomic, readonly, copy) NSString *sdkVersion; + +/// Retrieve the current default Graph API version. +@property (nonatomic, readonly, copy) NSString *defaultGraphAPIVersion; + +/** + The quality of JPEG images sent to Facebook from the SDK, + expressed as a value from 0.0 to 1.0. + + If not explicitly set, the default is 0.9. +*/ +@property (nonatomic) CGFloat JPEGCompressionQuality +NS_SWIFT_NAME(jpegCompressionQuality); + +/** + Controls the auto logging of basic app events, such as activateApp and deactivateApp. + If not explicitly set, the default is true + */ +@property (nonatomic, getter = isAutoLogAppEventsEnabled) BOOL autoLogAppEventsEnabled; + +/** + Controls the fb_codeless_debug logging event + If not explicitly set, the default is true + */ +@property (nonatomic, getter = isCodelessDebugLogEnabled) BOOL codelessDebugLogEnabled; + +/** + Controls the access to IDFA + If not explicitly set, the default is true + */ +@property (nonatomic, getter = isAdvertiserIDCollectionEnabled) BOOL advertiserIDCollectionEnabled; + +/** + Controls the SKAdNetwork report + If not explicitly set, the default is true + */ +@property (nonatomic, getter = isSKAdNetworkReportEnabled) BOOL skAdNetworkReportEnabled; + +/** + 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. + */ +@property (nonatomic) BOOL isEventDataUsageLimited; + +/** + Whether in memory cached values should be used for expensive metadata fields, such as + carrier and advertiser ID, that are fetched on many applicationDidBecomeActive notifications. + Defaults to NO. This value is stored on the device and persists across app launches. + */ +@property (nonatomic) BOOL shouldUseCachedValuesForExpensiveMetadata; + +/// A convenient way to toggle error recovery for all FBSDKGraphRequest instances created after this is set. +@property (nonatomic) BOOL isGraphErrorRecoveryEnabled; + +/** + The Facebook App ID used by the SDK. + + If not explicitly set, the default will be read from the application's plist (FacebookAppID). + */ +@property (nullable, nonatomic, copy) NSString *appID; + +/** + The default url scheme suffix used for sessions. + + If not explicitly set, the default will be read from the application's plist (FacebookUrlSchemeSuffix). + */ +@property (nullable, nonatomic, copy) NSString *appURLSchemeSuffix; + +/** + The Client Token that has been set via [[FBSDKSettings sharedSettings] setClientToken]. + This is needed for certain API calls when made anonymously, without a user-based access token. + + 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 + + If not explicitly set, the default will be read from the application's plist (FacebookClientToken). + */ +@property (nullable, nonatomic, copy) NSString *clientToken; + +/** + The Facebook Display Name used by the SDK. + + This should match the Display Name that has been set for the app with the corresponding Facebook App ID, + in the Facebook App Dashboard. + + If not explicitly set, the default will be read from the application's plist (FacebookDisplayName). + */ +@property (nullable, nonatomic, copy) NSString *displayName; + +/** + The Facebook domain part. This can be used to change the Facebook domain + (e.g. @"beta") so that requests will be sent to `graph.beta.facebook.com` + + If not explicitly set, the default will be read from the application's plist (FacebookDomainPart). + */ +@property (nullable, nonatomic, copy) NSString *facebookDomainPart; + +/** + The current Facebook SDK logging behavior. This should consist of strings + defined as constants with FBSDKLoggingBehavior*. + + This should consist a set of strings indicating what information should be logged + defined as constants with FBSDKLoggingBehavior*. Set to an empty set in order to disable all logging. + + You can also define this via an array in your app plist with key "FacebookLoggingBehavior" or add and remove individual values via enableLoggingBehavior: or disableLoggingBehavior: + + The default is a set consisting of FBSDKLoggingBehaviorDeveloperErrors + */ +@property (nonatomic, copy) NSSet *loggingBehaviors; + +/** + Overrides the default Graph API version to use with `FBSDKGraphRequests`. + + The string should be of the form `@"v2.7"`. + + Defaults to `defaultGraphAPIVersion`. + */ +@property (nonatomic, copy) NSString *graphAPIVersion; + +/** + Internal property exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nullable, nonatomic, copy) NSString *userAgentSuffix; + +/** + The value of the flag advertiser_tracking_enabled that controls the advertiser tracking status of the data sent to Facebook + If not explicitly set in iOS14 or above, the default is false in iOS14 or above. + */ +@property (nonatomic, getter = isAdvertiserTrackingEnabled) BOOL advertiserTrackingEnabled; + +/** +Set the data processing options. + + @param options list of options + */ +- (void)setDataProcessingOptions:(nullable NSArray *)options; + +/** +Set the data processing options. + + @param options list of the options + @param country code of the country + @param state code of the state + */ +- (void)setDataProcessingOptions:(nullable NSArray *)options + country:(int)country + state:(int)state; + +/** + Enable a particular Facebook SDK logging behavior. + + @param loggingBehavior The LoggingBehavior to enable. This should be a string defined as a constant with FBSDKLoggingBehavior*. + */ +- (void)enableLoggingBehavior:(FBSDKLoggingBehavior)loggingBehavior; + +/** + 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:(FBSDKLoggingBehavior)loggingBehavior; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKSettingsLogging.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKSettingsLogging.h new file mode 100644 index 0000000..1e21fe0 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKSettingsLogging.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(SettingsLogging) +@protocol FBSDKSettingsLogging + +- (void)logWarnings; +- (void)logIfSDKSettingsChanged; +- (void)recordInstall; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKSettingsProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKSettingsProtocol.h new file mode 100644 index 0000000..d0eeb7a --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKSettingsProtocol.h @@ -0,0 +1,63 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(SettingsProtocol) +@protocol FBSDKSettings + +@property (nullable, nonatomic, copy) NSString *appID; +@property (nullable, nonatomic, copy) NSString *clientToken; +@property (nullable, nonatomic, copy) NSString *userAgentSuffix; +@property (nonatomic, readonly, copy) NSString *sdkVersion; +@property (nullable, nonatomic, copy) NSString *displayName; +@property (nullable, nonatomic, copy) NSString *facebookDomainPart; +@property (nonnull, nonatomic, copy) NSSet *loggingBehaviors; +@property (nullable, nonatomic, copy) NSString *appURLSchemeSuffix; +@property (nonatomic, readonly) BOOL isDataProcessingRestricted; +@property (nonatomic, readonly) BOOL isAutoLogAppEventsEnabled; +@property (nonatomic, getter = isCodelessDebugLogEnabled) BOOL codelessDebugLogEnabled; +@property (nonatomic, getter = isAdvertiserIDCollectionEnabled) BOOL advertiserIDCollectionEnabled; +@property (nonatomic, readonly) BOOL isSetATETimeExceedsInstallTime; +@property (nonatomic, readonly) BOOL isSKAdNetworkReportEnabled; +@property (nonatomic, readonly) FBSDKAdvertisingTrackingStatus advertisingTrackingStatus; +@property (nullable, nonatomic, readonly) NSDate *installTimestamp; +@property (nullable, nonatomic, readonly) NSDate *advertiserTrackingEnabledTimestamp; +@property (nonatomic) BOOL isEventDataUsageLimited; +@property (nonatomic) BOOL shouldUseTokenOptimizations; +@property (nonatomic, copy) NSString *graphAPIVersion; +@property (nonatomic) BOOL isGraphErrorRecoveryEnabled; +@property (nullable, nonatomic, readonly, copy) NSString *graphAPIDebugParamValue; +@property (nonatomic, getter = isAdvertiserTrackingEnabled) BOOL advertiserTrackingEnabled; +@property (nonatomic) BOOL shouldUseCachedValuesForExpensiveMetadata; +@property (nullable, nonatomic, readonly) NSDictionary *persistableDataProcessingOptions; + +/** + Set the data processing options. + + @param options list of options + */ +- (void)setDataProcessingOptions:(nullable NSArray *)options; + +/** + Set the data processing options. + + @param options list of the options + @param country code of the country + @param state code of the state + */ +- (void)setDataProcessingOptions:(nullable NSArray *)options + country:(int)country + state:(int)state; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKTokenCaching.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKTokenCaching.h new file mode 100644 index 0000000..6b07cb4 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKTokenCaching.h @@ -0,0 +1,43 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@class FBSDKAccessToken; +@class FBSDKAuthenticationToken; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(TokenCaching) +@protocol FBSDKTokenCaching + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nullable, nonatomic, copy) FBSDKAccessToken *accessToken; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@property (nullable, nonatomic, copy) FBSDKAuthenticationToken *authenticationToken; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKTokenStringProviding.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKTokenStringProviding.h new file mode 100644 index 0000000..87f227d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKTokenStringProviding.h @@ -0,0 +1,29 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(TokenStringProviding) +@protocol FBSDKTokenStringProviding + +/** + Return the token string of the current access token. + + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ + +@property (class, nullable, nonatomic, readonly, copy) NSString *tokenString; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKTransformer.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKTransformer.h new file mode 100644 index 0000000..ea415c8 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKTransformer.h @@ -0,0 +1,28 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +extern CATransform3D const FBSDKCATransform3DIdentity; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +@interface FBSDKTransformer : NSObject +- (CATransform3D)CATransform3DMakeScale:(CGFloat)sx sy:(CGFloat)sy sz:(CGFloat)sz; +- (CATransform3D)CATransform3DMakeTranslation:(CGFloat)tx ty:(CGFloat)ty tz:(CGFloat)tz; +- (CATransform3D)CATransform3DConcat:(CATransform3D)a b:(CATransform3D)b; +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKURLScheme.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKURLScheme.h new file mode 100644 index 0000000..f728392 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKURLScheme.h @@ -0,0 +1,17 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +typedef NSString *FBSDKURLScheme NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(URLScheme); + +FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeFacebookAPI; +FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeMessengerApp; +FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeHTTPS NS_SWIFT_NAME(https); +FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeHTTP NS_SWIFT_NAME(http); +FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeWeb; diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKUserAgeRange.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKUserAgeRange.h new file mode 100644 index 0000000..7d71916 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKUserAgeRange.h @@ -0,0 +1,35 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(UserAgeRange) +@interface FBSDKUserAgeRange : NSObject + +/// The user's minimun age, nil if unspecified +@property (nullable, nonatomic, readonly, strong) NSNumber *min; +/// The user's maximun age, nil if unspecified +@property (nullable, nonatomic, readonly, strong) NSNumber *max; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + Returns a UserAgeRange object from a dinctionary containing valid user age range. + @param dictionary The dictionary containing raw user age range + + Valid user age range will consist of "min" and/or "max" values that are + positive integers, where "min" is smaller than or equal to "max". + */ ++ (nullable instancetype)ageRangeFromDictionary:(NSDictionary *)dictionary; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKUtility.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKUtility.h new file mode 100644 index 0000000..eb5ca0a --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/FBSDKUtility.h @@ -0,0 +1,108 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Class to contain common utility methods. +NS_SWIFT_NAME(Utility) +@interface FBSDKUtility : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/** + Parses a query string into a dictionary. + @param queryString The query string value. + @return A dictionary with the key/value pairs. + */ + +// UNCRUSTIFY_FORMAT_OFF ++ (NSDictionary *)dictionaryWithQueryString:(NSString *)queryString +NS_SWIFT_NAME(dictionary(withQuery:)); +// UNCRUSTIFY_FORMAT_ON + +/** + 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. + @return Query string representation of the parameters. + */ + +// UNCRUSTIFY_FORMAT_OFF ++ (NSString *)queryStringWithDictionary:(NSDictionary *)dictionary + error:(NSError **)errorRef +NS_SWIFT_NAME(query(from:)) +__attribute__((swift_error(nonnull_error))); +// UNCRUSTIFY_FORMAT_ON + +/** + Decodes a value from an URL. + @param value The value to decode. + @return The decoded value. + */ + +// UNCRUSTIFY_FORMAT_OFF ++ (NSString *)URLDecode:(NSString *)value +NS_SWIFT_NAME(decode(urlString:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Encodes a value for an URL. + @param value The value to encode. + @return The encoded value. + */ + +// UNCRUSTIFY_FORMAT_OFF ++ (NSString *)URLEncode:(NSString *)value +NS_SWIFT_NAME(encode(urlString:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Creates a timer using Grand Central Dispatch. + @param interval The interval to fire the timer, in seconds. + @param block The code block to execute when timer is fired. + @return The dispatch handle. + */ ++ (dispatch_source_t)startGCDTimerWithInterval:(double)interval block:(dispatch_block_t)block; + +/** + Stop a timer that was started by startGCDTimerWithInterval. + @param timer The dispatch handle received from startGCDTimerWithInterval. + */ ++ (void)stopGCDTimer:(dispatch_source_t)timer; + +/** + Get SHA256 hased string of NSString/NSData + + @param input The data that needs to be hashed, it could be NSString or NSData. + */ + +// UNCRUSTIFY_FORMAT_OFF ++ (nullable NSString *)SHA256Hash:(NSObject *)input +NS_SWIFT_NAME(sha256Hash(_:)); +// UNCRUSTIFY_FORMAT_ON + +/// Returns the graphdomain stored in FBSDKAuthenticationToken ++ (nullable NSString *)getGraphDomainFromToken; + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ ++ (NSURL *)unversionedFacebookURLWithHostPrefix:(NSString *)hostPrefix + path:(NSString *)path + queryParameters:(NSDictionary *)queryParameters + error:(NSError *__autoreleasing *)errorRef; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/_FBSDKWindowFinding.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/_FBSDKWindowFinding.h new file mode 100644 index 0000000..a9d946f --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/_FBSDKWindowFinding.h @@ -0,0 +1,36 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(_WindowFinding) +@protocol _FBSDKWindowFinding + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (nullable UIWindow *)findWindow; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/__FBSDKLoggerCreating.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/__FBSDKLoggerCreating.h new file mode 100644 index 0000000..a8114b1 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Headers/__FBSDKLoggerCreating.h @@ -0,0 +1,29 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Internal Type exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +NS_SWIFT_NAME(LoggerCreating) +@protocol __FBSDKLoggerCreating + +- (id)createLoggerWithLoggingBehavior:(FBSDKLoggingBehavior)loggingBehavior; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Info.plist b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Info.plist new file mode 100644 index 0000000..eaed1bf Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Info.plist differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-tvos-simulator.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-tvos-simulator.swiftdoc new file mode 100644 index 0000000..2c5d8a4 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-tvos-simulator.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-tvos-simulator.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-tvos-simulator.swiftinterface new file mode 100644 index 0000000..e1f81f9 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-tvos-simulator.swiftinterface @@ -0,0 +1,99 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-tvos11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKCoreKit +@_exported import FBSDKCoreKit +import FBSDKCoreKit_Basics +import Foundation +import Swift +import UIKit +import _Concurrency +extension FBSDKCoreKit.AccessToken { + public var permissions: Swift.Set { + get + } + public var declinedPermissions: Swift.Set { + get + } + public var expiredPermissions: Swift.Set { + get + } + public func hasGranted(_ permission: FBSDKCoreKit.Permission) -> Swift.Bool +} +@objc(FBSDKCAPIReporter) public protocol CAPIReporter { + @objc func enable() + @objc func configure(factory: FBSDKCoreKit.GraphRequestFactoryProtocol, settings: FBSDKCoreKit.SettingsProtocol) + @objc func recordEvent(_ parameters: [Swift.String : Any]) +} +@objc @_inheritsConvenienceInitializers @objcMembers public class FBSDKAppEventsCAPIManager : ObjectiveC.NSObject, FBSDKCoreKit.CAPIReporter { + @objc public static let shared: FBSDKCoreKit.FBSDKAppEventsCAPIManager + @objc override dynamic public init() + @objc public func configure(factory: FBSDKCoreKit.GraphRequestFactoryProtocol, settings: FBSDKCoreKit.SettingsProtocol) + @objc public func enable() + @objc public func recordEvent(_ parameters: [Swift.String : Any]) + @objc deinit +} +@objc @_inheritsConvenienceInitializers @objcMembers public class FBSDKTransformerGraphRequestFactory : ObjectiveC.NSObject { + @objc public static let shared: FBSDKCoreKit.FBSDKTransformerGraphRequestFactory + public var credentials: FBSDKCoreKit.FBSDKTransformerGraphRequestFactory.CapiGCredentials? { + get + } + public struct CapiGCredentials { + public let accessKey: Swift.String + public let capiGatewayURL: Swift.String + public let datasetID: Swift.String + } + @objc override dynamic public init() + @objc public func configure(datasetID: Swift.String, url: Swift.String, accessKey: Swift.String) + @objc public func callCapiGatewayAPI(with parameters: [Swift.String : Any]) + @objc deinit +} +public enum Permission : Swift.Hashable, Swift.ExpressibleByStringLiteral { + case publicProfile + case userFriends + case email + case userAboutMe + case userActionsBooks + case userActionsFitness + case userActionsMusic + case userActionsNews + case userActionsVideo + case userBirthday + case userEducationHistory + case userEvents + case userGamesActivity + case userGender + case userHometown + case userLikes + case userLocation + case userManagedGroups + case userPhotos + case userPosts + case userRelationships + case userRelationshipDetails + case userReligionPolitics + case userTaggedPlaces + case userVideos + case userWebsite + case userWorkHistory + case readCustomFriendlists + case readInsights + case readAudienceNetworkInsights + case readPageMailboxes + case pagesShowList + case pagesManageCta + case pagesManageInstantArticles + case adsRead + case custom(Swift.String) + public init(stringLiteral value: Swift.String) + public var name: Swift.String { + get + } + public func hash(into hasher: inout Swift.Hasher) + public static func == (a: FBSDKCoreKit.Permission, b: FBSDKCoreKit.Permission) -> Swift.Bool + public typealias ExtendedGraphemeClusterLiteralType = Swift.String + public typealias StringLiteralType = Swift.String + public typealias UnicodeScalarLiteralType = Swift.String + public var hashValue: Swift.Int { + get + } +} diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..2c5d8a4 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..e1f81f9 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftinterface @@ -0,0 +1,99 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-tvos11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKCoreKit +@_exported import FBSDKCoreKit +import FBSDKCoreKit_Basics +import Foundation +import Swift +import UIKit +import _Concurrency +extension FBSDKCoreKit.AccessToken { + public var permissions: Swift.Set { + get + } + public var declinedPermissions: Swift.Set { + get + } + public var expiredPermissions: Swift.Set { + get + } + public func hasGranted(_ permission: FBSDKCoreKit.Permission) -> Swift.Bool +} +@objc(FBSDKCAPIReporter) public protocol CAPIReporter { + @objc func enable() + @objc func configure(factory: FBSDKCoreKit.GraphRequestFactoryProtocol, settings: FBSDKCoreKit.SettingsProtocol) + @objc func recordEvent(_ parameters: [Swift.String : Any]) +} +@objc @_inheritsConvenienceInitializers @objcMembers public class FBSDKAppEventsCAPIManager : ObjectiveC.NSObject, FBSDKCoreKit.CAPIReporter { + @objc public static let shared: FBSDKCoreKit.FBSDKAppEventsCAPIManager + @objc override dynamic public init() + @objc public func configure(factory: FBSDKCoreKit.GraphRequestFactoryProtocol, settings: FBSDKCoreKit.SettingsProtocol) + @objc public func enable() + @objc public func recordEvent(_ parameters: [Swift.String : Any]) + @objc deinit +} +@objc @_inheritsConvenienceInitializers @objcMembers public class FBSDKTransformerGraphRequestFactory : ObjectiveC.NSObject { + @objc public static let shared: FBSDKCoreKit.FBSDKTransformerGraphRequestFactory + public var credentials: FBSDKCoreKit.FBSDKTransformerGraphRequestFactory.CapiGCredentials? { + get + } + public struct CapiGCredentials { + public let accessKey: Swift.String + public let capiGatewayURL: Swift.String + public let datasetID: Swift.String + } + @objc override dynamic public init() + @objc public func configure(datasetID: Swift.String, url: Swift.String, accessKey: Swift.String) + @objc public func callCapiGatewayAPI(with parameters: [Swift.String : Any]) + @objc deinit +} +public enum Permission : Swift.Hashable, Swift.ExpressibleByStringLiteral { + case publicProfile + case userFriends + case email + case userAboutMe + case userActionsBooks + case userActionsFitness + case userActionsMusic + case userActionsNews + case userActionsVideo + case userBirthday + case userEducationHistory + case userEvents + case userGamesActivity + case userGender + case userHometown + case userLikes + case userLocation + case userManagedGroups + case userPhotos + case userPosts + case userRelationships + case userRelationshipDetails + case userReligionPolitics + case userTaggedPlaces + case userVideos + case userWebsite + case userWorkHistory + case readCustomFriendlists + case readInsights + case readAudienceNetworkInsights + case readPageMailboxes + case pagesShowList + case pagesManageCta + case pagesManageInstantArticles + case adsRead + case custom(Swift.String) + public init(stringLiteral value: Swift.String) + public var name: Swift.String { + get + } + public func hash(into hasher: inout Swift.Hasher) + public static func == (a: FBSDKCoreKit.Permission, b: FBSDKCoreKit.Permission) -> Swift.Bool + public typealias ExtendedGraphemeClusterLiteralType = Swift.String + public typealias StringLiteralType = Swift.String + public typealias UnicodeScalarLiteralType = Swift.String + public var hashValue: Swift.Int { + get + } +} diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-tvos-simulator.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-tvos-simulator.swiftdoc new file mode 100644 index 0000000..bbc7106 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-tvos-simulator.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-tvos-simulator.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-tvos-simulator.swiftinterface new file mode 100644 index 0000000..a3f4c95 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-tvos-simulator.swiftinterface @@ -0,0 +1,99 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target x86_64-apple-tvos11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKCoreKit +@_exported import FBSDKCoreKit +import FBSDKCoreKit_Basics +import Foundation +import Swift +import UIKit +import _Concurrency +extension FBSDKCoreKit.AccessToken { + public var permissions: Swift.Set { + get + } + public var declinedPermissions: Swift.Set { + get + } + public var expiredPermissions: Swift.Set { + get + } + public func hasGranted(_ permission: FBSDKCoreKit.Permission) -> Swift.Bool +} +@objc(FBSDKCAPIReporter) public protocol CAPIReporter { + @objc func enable() + @objc func configure(factory: FBSDKCoreKit.GraphRequestFactoryProtocol, settings: FBSDKCoreKit.SettingsProtocol) + @objc func recordEvent(_ parameters: [Swift.String : Any]) +} +@objc @_inheritsConvenienceInitializers @objcMembers public class FBSDKAppEventsCAPIManager : ObjectiveC.NSObject, FBSDKCoreKit.CAPIReporter { + @objc public static let shared: FBSDKCoreKit.FBSDKAppEventsCAPIManager + @objc override dynamic public init() + @objc public func configure(factory: FBSDKCoreKit.GraphRequestFactoryProtocol, settings: FBSDKCoreKit.SettingsProtocol) + @objc public func enable() + @objc public func recordEvent(_ parameters: [Swift.String : Any]) + @objc deinit +} +@objc @_inheritsConvenienceInitializers @objcMembers public class FBSDKTransformerGraphRequestFactory : ObjectiveC.NSObject { + @objc public static let shared: FBSDKCoreKit.FBSDKTransformerGraphRequestFactory + public var credentials: FBSDKCoreKit.FBSDKTransformerGraphRequestFactory.CapiGCredentials? { + get + } + public struct CapiGCredentials { + public let accessKey: Swift.String + public let capiGatewayURL: Swift.String + public let datasetID: Swift.String + } + @objc override dynamic public init() + @objc public func configure(datasetID: Swift.String, url: Swift.String, accessKey: Swift.String) + @objc public func callCapiGatewayAPI(with parameters: [Swift.String : Any]) + @objc deinit +} +public enum Permission : Swift.Hashable, Swift.ExpressibleByStringLiteral { + case publicProfile + case userFriends + case email + case userAboutMe + case userActionsBooks + case userActionsFitness + case userActionsMusic + case userActionsNews + case userActionsVideo + case userBirthday + case userEducationHistory + case userEvents + case userGamesActivity + case userGender + case userHometown + case userLikes + case userLocation + case userManagedGroups + case userPhotos + case userPosts + case userRelationships + case userRelationshipDetails + case userReligionPolitics + case userTaggedPlaces + case userVideos + case userWebsite + case userWorkHistory + case readCustomFriendlists + case readInsights + case readAudienceNetworkInsights + case readPageMailboxes + case pagesShowList + case pagesManageCta + case pagesManageInstantArticles + case adsRead + case custom(Swift.String) + public init(stringLiteral value: Swift.String) + public var name: Swift.String { + get + } + public func hash(into hasher: inout Swift.Hasher) + public static func == (a: FBSDKCoreKit.Permission, b: FBSDKCoreKit.Permission) -> Swift.Bool + public typealias ExtendedGraphemeClusterLiteralType = Swift.String + public typealias StringLiteralType = Swift.String + public typealias UnicodeScalarLiteralType = Swift.String + public var hashValue: Swift.Int { + get + } +} diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftdoc new file mode 100644 index 0000000..bbc7106 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftinterface new file mode 100644 index 0000000..a3f4c95 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftinterface @@ -0,0 +1,99 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target x86_64-apple-tvos11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKCoreKit +@_exported import FBSDKCoreKit +import FBSDKCoreKit_Basics +import Foundation +import Swift +import UIKit +import _Concurrency +extension FBSDKCoreKit.AccessToken { + public var permissions: Swift.Set { + get + } + public var declinedPermissions: Swift.Set { + get + } + public var expiredPermissions: Swift.Set { + get + } + public func hasGranted(_ permission: FBSDKCoreKit.Permission) -> Swift.Bool +} +@objc(FBSDKCAPIReporter) public protocol CAPIReporter { + @objc func enable() + @objc func configure(factory: FBSDKCoreKit.GraphRequestFactoryProtocol, settings: FBSDKCoreKit.SettingsProtocol) + @objc func recordEvent(_ parameters: [Swift.String : Any]) +} +@objc @_inheritsConvenienceInitializers @objcMembers public class FBSDKAppEventsCAPIManager : ObjectiveC.NSObject, FBSDKCoreKit.CAPIReporter { + @objc public static let shared: FBSDKCoreKit.FBSDKAppEventsCAPIManager + @objc override dynamic public init() + @objc public func configure(factory: FBSDKCoreKit.GraphRequestFactoryProtocol, settings: FBSDKCoreKit.SettingsProtocol) + @objc public func enable() + @objc public func recordEvent(_ parameters: [Swift.String : Any]) + @objc deinit +} +@objc @_inheritsConvenienceInitializers @objcMembers public class FBSDKTransformerGraphRequestFactory : ObjectiveC.NSObject { + @objc public static let shared: FBSDKCoreKit.FBSDKTransformerGraphRequestFactory + public var credentials: FBSDKCoreKit.FBSDKTransformerGraphRequestFactory.CapiGCredentials? { + get + } + public struct CapiGCredentials { + public let accessKey: Swift.String + public let capiGatewayURL: Swift.String + public let datasetID: Swift.String + } + @objc override dynamic public init() + @objc public func configure(datasetID: Swift.String, url: Swift.String, accessKey: Swift.String) + @objc public func callCapiGatewayAPI(with parameters: [Swift.String : Any]) + @objc deinit +} +public enum Permission : Swift.Hashable, Swift.ExpressibleByStringLiteral { + case publicProfile + case userFriends + case email + case userAboutMe + case userActionsBooks + case userActionsFitness + case userActionsMusic + case userActionsNews + case userActionsVideo + case userBirthday + case userEducationHistory + case userEvents + case userGamesActivity + case userGender + case userHometown + case userLikes + case userLocation + case userManagedGroups + case userPhotos + case userPosts + case userRelationships + case userRelationshipDetails + case userReligionPolitics + case userTaggedPlaces + case userVideos + case userWebsite + case userWorkHistory + case readCustomFriendlists + case readInsights + case readAudienceNetworkInsights + case readPageMailboxes + case pagesShowList + case pagesManageCta + case pagesManageInstantArticles + case adsRead + case custom(Swift.String) + public init(stringLiteral value: Swift.String) + public var name: Swift.String { + get + } + public func hash(into hasher: inout Swift.Hasher) + public static func == (a: FBSDKCoreKit.Permission, b: FBSDKCoreKit.Permission) -> Swift.Bool + public typealias ExtendedGraphemeClusterLiteralType = Swift.String + public typealias StringLiteralType = Swift.String + public typealias UnicodeScalarLiteralType = Swift.String + public var hashValue: Swift.Int { + get + } +} diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/module.modulemap b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/module.modulemap new file mode 100644 index 0000000..f951cee --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module FBSDKCoreKit { + umbrella header "FBSDKCoreKit.h" + + export * + module * { export * } +} + +module FBSDKCoreKit.Swift { + header "FBSDKCoreKit-Swift.h" + requires objc +} diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/_CodeSignature/CodeDirectory b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/_CodeSignature/CodeDirectory new file mode 100644 index 0000000..96a23f8 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/_CodeSignature/CodeDirectory differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/_CodeSignature/CodeRequirements b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/_CodeSignature/CodeRequirements new file mode 100644 index 0000000..dbf9d61 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/_CodeSignature/CodeRequirements differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/_CodeSignature/CodeRequirements-1 b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/_CodeSignature/CodeRequirements-1 new file mode 100644 index 0000000..dab105e Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/_CodeSignature/CodeRequirements-1 differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/_CodeSignature/CodeResources b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/_CodeSignature/CodeResources new file mode 100644 index 0000000..849e9bc --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/_CodeSignature/CodeResources @@ -0,0 +1,1437 @@ + + + + + files + + Headers/FBSDKAccessToken.h + + Zwalh7WGm73EGYq6r0hOtY6TVyM= + + Headers/FBSDKAccessTokenProtocols.h + + QpJzB6oI1x1D3M0cC8Yw7FSuwKg= + + Headers/FBSDKAdvertisingTrackingStatus.h + + s2/tT+xSXPH4xXaQ+yW41JtgT58= + + Headers/FBSDKAppAvailabilityChecker.h + + Wyf9l4OPVlNw4rmgihSwsLLXekY= + + Headers/FBSDKAppEventName.h + + EU49DFEvgz3pfVKd2Gh6GcVz19w= + + Headers/FBSDKAppEventParameterName.h + + jMPwz6fdms/XUiUDkGZXO8LsEPs= + + Headers/FBSDKAppEventParameterProduct.h + + r+KeRcYNIPkXBrMbyUHT2wI7s9Y= + + Headers/FBSDKAppEventParameterValue.h + + 040yhBlHKamIDlwNu0ImpgLTCqc= + + Headers/FBSDKAppEventUserDataType.h + + A3lEI7gxtNx4AHoXWeE0s7u1zK8= + + Headers/FBSDKAppEvents.h + + ZabZwehtvq6nno9KnlPUHOfoXSA= + + Headers/FBSDKAppEventsFlushBehavior.h + + tGoQfvz6uAy5DjnhPnzX/Ai2vl4= + + Headers/FBSDKAppEventsNotificationName.h + + y7c3PKWx/w77oSbeugClHIvTMS8= + + Headers/FBSDKAppURLSchemeProviding.h + + G7H5ArEaw56tAdukKkeFnHJW3yM= + + Headers/FBSDKApplicationDelegate.h + + ffAxY4yzMyaQxX1xI1pkYmGpaa0= + + Headers/FBSDKApplicationObserving.h + + E5Ew6Wmyl//0dt7F2wSyYMbL8Uc= + + Headers/FBSDKAuthenticationToken.h + + 8MSOJbkw+GYK17UVaHITUogBFow= + + Headers/FBSDKAuthenticationTokenClaims.h + + xojLcwuGpunIQjN3S1ntX2IxWxk= + + Headers/FBSDKAuthenticationTokenProtocols.h + + ll9VzBIGgFDag+gJiL8CfwN8Vmc= + + Headers/FBSDKButton.h + + Q5s1g6x77uecqksyNP9YvwAxGKo= + + Headers/FBSDKButtonImpressionLogging.h + + LsVpQhR6smaHCPnF/ITEWiKGkKA= + + Headers/FBSDKConstants.h + + 8uLZKrsuXsxVHJGVSrF1lCoNawo= + + Headers/FBSDKCoreKit-Swift.h + + fu059kzrvFABk/Ncld4vk4y9vUI= + + Headers/FBSDKCoreKit.h + + rSB/5qnmwQ/YfcHSajkFConHwuI= + + Headers/FBSDKCoreKitVersions.h + + 5h80jtLpxKnIOkErVQzQ9esYVVM= + + Headers/FBSDKDeviceButton.h + + 4LIheHz+TKvNTDHMFLx9U5N9muI= + + Headers/FBSDKDeviceDialogView.h + + 0aubj8CDlLTz/o8MfbxQrck/VQs= + + Headers/FBSDKDeviceViewControllerBase.h + + 9d5jpsDwPq4ZpbCHYzNDectdVyE= + + Headers/FBSDKDynamicFrameworkLoaderProxy.h + + gQze+1wXFmg8HHDE0Ba4/AdlSbk= + + Headers/FBSDKDynamicSocialFrameworkLoader.h + + VkK7+4REIGtAPH/eFKxy/bj9hQ0= + + Headers/FBSDKErrorCreating.h + + hSTHauBFdEYzYLgpazD8Nu2mbvA= + + Headers/FBSDKErrorFactory.h + + BbwtPEHEtIq6FGLxlzJ+93hv4XU= + + Headers/FBSDKErrorRecoveryAttempting.h + + r3mkBDHcKe63UzmZCJLFEisXL3I= + + Headers/FBSDKFeature.h + + oi8Vqy8v5+vpnJjJcnkEXSeEshQ= + + Headers/FBSDKFeatureChecking.h + + rYTkx84W03mL0rrno4sthw6poiM= + + Headers/FBSDKGraphRequest.h + + mDiia1xQGNDzGWkoO2IrQrHcVCo= + + Headers/FBSDKGraphRequestConnecting.h + + paaU79+o3FwlCqzfosIGlXZTwL4= + + Headers/FBSDKGraphRequestConnection.h + + ZCtXBvpuATZKAZvJLOo9h5KrckA= + + Headers/FBSDKGraphRequestConnectionDelegate.h + + FSHiVcHDpJTlfdfBczQNHtjDJ8s= + + Headers/FBSDKGraphRequestConnectionFactory.h + + gAfT3DO/vuTTlEaJPEP8hL5P3Eo= + + Headers/FBSDKGraphRequestConnectionFactoryProtocol.h + + A26a5H79Zb1dRO6YHMFB4DbS+D8= + + Headers/FBSDKGraphRequestDataAttachment.h + + 7vvCqPiZp4o6JKVaJJ4FP9XkXKE= + + Headers/FBSDKGraphRequestFactory.h + + lAwX1CKv5VHiJ07/xZZylICOdg4= + + Headers/FBSDKGraphRequestFactoryProtocol.h + + Nz3K53RPMCO3ckDCvhJoBJ9TIKI= + + Headers/FBSDKGraphRequestFlags.h + + Zas2ccUoNaCrjUffAdLC6TmKLWs= + + Headers/FBSDKGraphRequestHTTPMethod.h + + sF4WT7ko2ZXuQ91thBewwSb29Cc= + + Headers/FBSDKGraphRequestProtocol.h + + E72bbJ8BaX/EV/so4aPEeaLRTkY= + + Headers/FBSDKIcon.h + + nSUcEGcswYAb2H/1Kk1Ibii38sQ= + + Headers/FBSDKImpressionLoggingButton.h + + aaainoJHYRbRmab8MpwHmrU4hVo= + + Headers/FBSDKInternalUtility.h + + SGKxlebDOswyK9ij4YkNeiS+jmM= + + Headers/FBSDKInternalUtilityProtocol.h + + Fv2HZA8YkLc1F/996f+/OhkAzZM= + + Headers/FBSDKKeychainStore.h + + VSfBFlzguwgAJhVey77PM3TiKzI= + + Headers/FBSDKKeychainStoreFactory.h + + EokxqDkQxYQBz5YnFwcqJvVKd8I= + + Headers/FBSDKKeychainStoreProtocol.h + + Vl4nIrUwT7cqcjwlXymbPkKUVDo= + + Headers/FBSDKKeychainStoreProviding.h + + mIeRZ1Khyvf/6V2HXI3+7c15XfU= + + Headers/FBSDKLocation.h + + lVldFN//gmPckkWOntm6/lMe0QE= + + Headers/FBSDKLogger.h + + rtRqjTXsaZXv5x8H14rMIs3g7Gk= + + Headers/FBSDKLogging.h + + /DbryGZcqEQACAktvCjPjV6SDG4= + + Headers/FBSDKLoggingBehavior.h + + 2RipnoPNHjzmVyzHpZjxsO+csE0= + + Headers/FBSDKLoginTooltip.h + + t9qlwGoUeyWhxDfXE8Ky6RnF/gg= + + Headers/FBSDKNetworkErrorChecker.h + + lc4ltIsnGN0wefVKZeW3BTQqt8o= + + Headers/FBSDKNetworkErrorChecking.h + + DQOOpk+tae6sTARv6zgYkUNQv+4= + + Headers/FBSDKProductAvailability.h + + 4z6lAOLiyG+H6sMmuDzBXlrBO4Q= + + Headers/FBSDKProductCondition.h + + p2M86R+0XjuIIHBALGh4qHhF0sg= + + Headers/FBSDKRandom.h + + R8FED9YvoEocX/AhmRTKcVPRw2o= + + Headers/FBSDKServerConfigurationProvider.h + + AhAGmLml8AEa2qhdMA2aHiBseRk= + + Headers/FBSDKSettings.h + + R6dyUp+m+ea3r1bDBUkuxV3X6AY= + + Headers/FBSDKSettingsLogging.h + + j4NKiO1um7BzI27sPShA+WNNV6E= + + Headers/FBSDKSettingsProtocol.h + + QogmjQBweHFkUWSIRYsBQvR4gHE= + + Headers/FBSDKTokenCaching.h + + Y9D8zDMXaiaJEPNG6yqmuv8sdxU= + + Headers/FBSDKTokenStringProviding.h + + 1ULLCT9qWhm7HkrSyND4RJwRF6Y= + + Headers/FBSDKTransformer.h + + Ui2GFPACS7T6kK9LcCLcdJyCYyo= + + Headers/FBSDKURLScheme.h + + 36HfFNYLwWfRajDYFDJeNZe/evc= + + Headers/FBSDKUserAgeRange.h + + eRyqSxEieMcqdjv0yKXNIDnmRIg= + + Headers/FBSDKUtility.h + + ACK+e48w6WLwZDhZT9VIaXDWTlk= + + Headers/_FBSDKWindowFinding.h + + Gac9mAAYHny41SRhpW53CbfSo2s= + + Headers/__FBSDKLoggerCreating.h + + y1VVRA/XNhhKMaoTUc/66smvRqI= + + Info.plist + + GL1702Rme3Ytl3O1VMtq9bWX7KQ= + + Modules/FBSDKCoreKit.swiftmodule/arm64-apple-tvos-simulator.swiftdoc + + ZrWzlJawpsjKWNXlpmAyba7QC1w= + + Modules/FBSDKCoreKit.swiftmodule/arm64-apple-tvos-simulator.swiftinterface + + pmukDPtWzfjdrOHMBT+gFs0TEJo= + + Modules/FBSDKCoreKit.swiftmodule/arm64-apple-tvos-simulator.swiftmodule + + WVr5yAlFEJ0tSYhISJq24wSCOgk= + + Modules/FBSDKCoreKit.swiftmodule/arm64.swiftdoc + + ZrWzlJawpsjKWNXlpmAyba7QC1w= + + Modules/FBSDKCoreKit.swiftmodule/arm64.swiftinterface + + pmukDPtWzfjdrOHMBT+gFs0TEJo= + + Modules/FBSDKCoreKit.swiftmodule/arm64.swiftmodule + + WVr5yAlFEJ0tSYhISJq24wSCOgk= + + Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-tvos-simulator.swiftdoc + + 8kfwMPUBSu2lhB+8EYWm/1aZKHA= + + Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-tvos-simulator.swiftinterface + + GQQdqqQQSo0V7KBfEqhLxoohm5c= + + Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-tvos-simulator.swiftmodule + + VoPMe0iUnFXF2MdlpcE889xnYxg= + + Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftdoc + + 8kfwMPUBSu2lhB+8EYWm/1aZKHA= + + Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftinterface + + GQQdqqQQSo0V7KBfEqhLxoohm5c= + + Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftmodule + + VoPMe0iUnFXF2MdlpcE889xnYxg= + + Modules/module.modulemap + + dqxVNYXT9nBvFc3sI+M8nUrDXuA= + + + files2 + + Headers/FBSDKAccessToken.h + + hash + + Zwalh7WGm73EGYq6r0hOtY6TVyM= + + hash2 + + 1HuXQBYX9e+yfKLIyhwED67a3VCkpra3DxlLwws0NvA= + + + Headers/FBSDKAccessTokenProtocols.h + + hash + + QpJzB6oI1x1D3M0cC8Yw7FSuwKg= + + hash2 + + VuMGgje9C8CglYD1qDMt29vcNIUBUZlTAdNo+qvSeXM= + + + Headers/FBSDKAdvertisingTrackingStatus.h + + hash + + s2/tT+xSXPH4xXaQ+yW41JtgT58= + + hash2 + + pj5HBFKU2AJRVkryxLDxsNyV+Hq0vhsL7ESLeXA7gco= + + + Headers/FBSDKAppAvailabilityChecker.h + + hash + + Wyf9l4OPVlNw4rmgihSwsLLXekY= + + hash2 + + WCKAfRQSLZ76amGNcy7D85Zr0FqbK3yqgD2x9Q2KMVc= + + + Headers/FBSDKAppEventName.h + + hash + + EU49DFEvgz3pfVKd2Gh6GcVz19w= + + hash2 + + qlGcgxs7AVCOJpK7+czagW3XaPQIdPFE23qdql2xK3s= + + + Headers/FBSDKAppEventParameterName.h + + hash + + jMPwz6fdms/XUiUDkGZXO8LsEPs= + + hash2 + + P5BcIc7FNHua2MKnE3mmflQlvvdqk25zXugjGZGRhJk= + + + Headers/FBSDKAppEventParameterProduct.h + + hash + + r+KeRcYNIPkXBrMbyUHT2wI7s9Y= + + hash2 + + FIPXmw+JMv7bBSbF0zhfVC2Ib03Sx9JYrwjlNp1XInI= + + + Headers/FBSDKAppEventParameterValue.h + + hash + + 040yhBlHKamIDlwNu0ImpgLTCqc= + + hash2 + + Q2olYJJI/DN976h566Nwy3D+obhtAQAKHOJ5lKeTfm8= + + + Headers/FBSDKAppEventUserDataType.h + + hash + + A3lEI7gxtNx4AHoXWeE0s7u1zK8= + + hash2 + + 7pjsRgcXBeV8tJeLjrQvQ/3ZBmzY9k086Z46TsArMag= + + + Headers/FBSDKAppEvents.h + + hash + + ZabZwehtvq6nno9KnlPUHOfoXSA= + + hash2 + + /dqfqBWS1XAnIVpkJtTdrw+vGtx3hEWCNfcr96cZ7rU= + + + Headers/FBSDKAppEventsFlushBehavior.h + + hash + + tGoQfvz6uAy5DjnhPnzX/Ai2vl4= + + hash2 + + iUxqEKL4pmF7f47Qul2Oe8QI0MjDPnOn3VhWjVQWe90= + + + Headers/FBSDKAppEventsNotificationName.h + + hash + + y7c3PKWx/w77oSbeugClHIvTMS8= + + hash2 + + 7JmzpHhHPCXS4WcGYrhN2g1u5YXUgR/ltWdRyfv8l0I= + + + Headers/FBSDKAppURLSchemeProviding.h + + hash + + G7H5ArEaw56tAdukKkeFnHJW3yM= + + hash2 + + o9vW113QSBrXeTu8w1RgrMfMpi3Li+ZHpavPt/xYGa4= + + + Headers/FBSDKApplicationDelegate.h + + hash + + ffAxY4yzMyaQxX1xI1pkYmGpaa0= + + hash2 + + PwSs6xMf/ybhlatFk/DLtcVQSIsuPncA99fqc9Q7QBc= + + + Headers/FBSDKApplicationObserving.h + + hash + + E5Ew6Wmyl//0dt7F2wSyYMbL8Uc= + + hash2 + + I09jTNQCgePthHc0fW/okp1bhMUx7+PPWoHkC8vl+Ls= + + + Headers/FBSDKAuthenticationToken.h + + hash + + 8MSOJbkw+GYK17UVaHITUogBFow= + + hash2 + + vMJ3N8rqdWY+q5wZWX5vjz3+YpiIueuJEVZ63TxUS6s= + + + Headers/FBSDKAuthenticationTokenClaims.h + + hash + + xojLcwuGpunIQjN3S1ntX2IxWxk= + + hash2 + + aBU/e5udieGDwDgz+qcP4zTL0e86m4akTzjoHIZViY4= + + + Headers/FBSDKAuthenticationTokenProtocols.h + + hash + + ll9VzBIGgFDag+gJiL8CfwN8Vmc= + + hash2 + + 9hunZocu2ArA/iddd/8a9xWZwt0gHDZPA7mNEhsFEgQ= + + + Headers/FBSDKButton.h + + hash + + Q5s1g6x77uecqksyNP9YvwAxGKo= + + hash2 + + VGY0AU3C6L7ZwTarF+0BOGRkeoqOQcLDpxQJ6sRMJXY= + + + Headers/FBSDKButtonImpressionLogging.h + + hash + + LsVpQhR6smaHCPnF/ITEWiKGkKA= + + hash2 + + pShKA3myYUve8S5W/TI08BTWmhPh0RgoZQ6lY9c5S9g= + + + Headers/FBSDKConstants.h + + hash + + 8uLZKrsuXsxVHJGVSrF1lCoNawo= + + hash2 + + LxzBWAAzRjmjvoPtHtvZHe66BnfzV1RlnGfB8ljOYVA= + + + Headers/FBSDKCoreKit-Swift.h + + hash + + fu059kzrvFABk/Ncld4vk4y9vUI= + + hash2 + + 926NIy8nLmTFB9VLIZvz3MlJF/PLsp2Zl2P9Gwl6mXc= + + + Headers/FBSDKCoreKit.h + + hash + + rSB/5qnmwQ/YfcHSajkFConHwuI= + + hash2 + + wiDLJIdGwhq62RT8NUGC9H3Ji6WVgPCTE3q7FTMneJw= + + + Headers/FBSDKCoreKitVersions.h + + hash + + 5h80jtLpxKnIOkErVQzQ9esYVVM= + + hash2 + + KZ7nwRhL5CEca+znQ0DVoRblUrDBB2r4A/rsTIAq9m8= + + + Headers/FBSDKDeviceButton.h + + hash + + 4LIheHz+TKvNTDHMFLx9U5N9muI= + + hash2 + + jraVs1muJpXk8r7ljiHH2+6sCGrZ0j+17u95Jn5xgKM= + + + Headers/FBSDKDeviceDialogView.h + + hash + + 0aubj8CDlLTz/o8MfbxQrck/VQs= + + hash2 + + 5SsLAz81rfMji3a9qaEVQ9gWESKGuH6ziUaSTA4K+k4= + + + Headers/FBSDKDeviceViewControllerBase.h + + hash + + 9d5jpsDwPq4ZpbCHYzNDectdVyE= + + hash2 + + 996f3WvoxwknKnreRc5JpTLQcUB27LR5tq5tV3qRHe0= + + + Headers/FBSDKDynamicFrameworkLoaderProxy.h + + hash + + gQze+1wXFmg8HHDE0Ba4/AdlSbk= + + hash2 + + DKzc5A2VHGjb5zjiW11FfYE+be1Je5rxetWvpGpLWP8= + + + Headers/FBSDKDynamicSocialFrameworkLoader.h + + hash + + VkK7+4REIGtAPH/eFKxy/bj9hQ0= + + hash2 + + I6uYOLsEUDxk7HKK39oiWyshO9sP8I6Ul2aPS4AGbaM= + + + Headers/FBSDKErrorCreating.h + + hash + + hSTHauBFdEYzYLgpazD8Nu2mbvA= + + hash2 + + J1rXYSPoy877pIwlZKDP6n/b3DufexQeIl0pOymmYVY= + + + Headers/FBSDKErrorFactory.h + + hash + + BbwtPEHEtIq6FGLxlzJ+93hv4XU= + + hash2 + + PwxuvjiaBR9QpRJl5SjDI8lRM5aDTxvbBAloH4txjBs= + + + Headers/FBSDKErrorRecoveryAttempting.h + + hash + + r3mkBDHcKe63UzmZCJLFEisXL3I= + + hash2 + + bbQLx2KLum7BokOQzq6eMFMcPRKyQgeSJyYi567SqfQ= + + + Headers/FBSDKFeature.h + + hash + + oi8Vqy8v5+vpnJjJcnkEXSeEshQ= + + hash2 + + Yhm/pHM7ISu9kydXaHMtqHPBvvrmM/scVpvj5OfXQ24= + + + Headers/FBSDKFeatureChecking.h + + hash + + rYTkx84W03mL0rrno4sthw6poiM= + + hash2 + + QtYErERzFYGRmUpt4HXd8p062xQtrNl5l+J2nUhhc1k= + + + Headers/FBSDKGraphRequest.h + + hash + + mDiia1xQGNDzGWkoO2IrQrHcVCo= + + hash2 + + cObAdeSuYo3AG0Il/A6PknPlmQQkmsy8p6wzTTeJnFc= + + + Headers/FBSDKGraphRequestConnecting.h + + hash + + paaU79+o3FwlCqzfosIGlXZTwL4= + + hash2 + + ly7JyuRHRTif+4dhHHyNJrgci4jYJ1SPobEAWFdeBG8= + + + Headers/FBSDKGraphRequestConnection.h + + hash + + ZCtXBvpuATZKAZvJLOo9h5KrckA= + + hash2 + + ZbfPRx7gmcdeVKVyDE+cliM8ehWUJBPao1Kbkzn0Xv8= + + + Headers/FBSDKGraphRequestConnectionDelegate.h + + hash + + FSHiVcHDpJTlfdfBczQNHtjDJ8s= + + hash2 + + pbeIgtjILQ+9lWJviGFFqpO8IqXWnVf2DQ094YKDKMY= + + + Headers/FBSDKGraphRequestConnectionFactory.h + + hash + + gAfT3DO/vuTTlEaJPEP8hL5P3Eo= + + hash2 + + xgTvIuiH3O0GP4dAfx+lVweVvj/3VUFzk/ZwDkEd6UM= + + + Headers/FBSDKGraphRequestConnectionFactoryProtocol.h + + hash + + A26a5H79Zb1dRO6YHMFB4DbS+D8= + + hash2 + + ZSBkNkUs6k4hh3lOO6aa5+j5kuh9vwSm6BTbH++KEH4= + + + Headers/FBSDKGraphRequestDataAttachment.h + + hash + + 7vvCqPiZp4o6JKVaJJ4FP9XkXKE= + + hash2 + + rrQm0dv7u0VNuBOOr4bOsLq22U2VRKN5+/8z8dvg8ac= + + + Headers/FBSDKGraphRequestFactory.h + + hash + + lAwX1CKv5VHiJ07/xZZylICOdg4= + + hash2 + + VHji6+eQJ/noGhXoav1+rDhYGkeNSPac5f3JMIMO4OQ= + + + Headers/FBSDKGraphRequestFactoryProtocol.h + + hash + + Nz3K53RPMCO3ckDCvhJoBJ9TIKI= + + hash2 + + 4EdOx1EfPwkCg86SDjtSacKJozvb0RRnJZ19a7qirAA= + + + Headers/FBSDKGraphRequestFlags.h + + hash + + Zas2ccUoNaCrjUffAdLC6TmKLWs= + + hash2 + + QaBxTTw493IFQLv0fwkhBkWu57wAPkAZ/fexBSmcWuA= + + + Headers/FBSDKGraphRequestHTTPMethod.h + + hash + + sF4WT7ko2ZXuQ91thBewwSb29Cc= + + hash2 + + s/ZdV1PYtfb+e5MToTE5eWQ/g8Ea8Lfbn1y5cPXIois= + + + Headers/FBSDKGraphRequestProtocol.h + + hash + + E72bbJ8BaX/EV/so4aPEeaLRTkY= + + hash2 + + GDWolFR0Dj6corFdcjDQZdk7rfU0AEPiBD4Ij/x0efk= + + + Headers/FBSDKIcon.h + + hash + + nSUcEGcswYAb2H/1Kk1Ibii38sQ= + + hash2 + + +bRm7DWEBj2Qs6f5L8UwS8K4WF3DXn9C+47shPYf33Q= + + + Headers/FBSDKImpressionLoggingButton.h + + hash + + aaainoJHYRbRmab8MpwHmrU4hVo= + + hash2 + + YdoyQtxZm0tnh9jsgEZSnzReYlue+nwzRR4z3AsUkdg= + + + Headers/FBSDKInternalUtility.h + + hash + + SGKxlebDOswyK9ij4YkNeiS+jmM= + + hash2 + + ITLHu17JQHXN5BRP/aB0T2nlEkV6l8gADgjDCHMcOm0= + + + Headers/FBSDKInternalUtilityProtocol.h + + hash + + Fv2HZA8YkLc1F/996f+/OhkAzZM= + + hash2 + + mbZQDpstOa8EgXL6i2KXC/6Al3EIoKxJT0wqzk2UNfs= + + + Headers/FBSDKKeychainStore.h + + hash + + VSfBFlzguwgAJhVey77PM3TiKzI= + + hash2 + + sQGCel/07cMPMZI0kl8wscwPV9WL/JIYf1ns0PSf8v0= + + + Headers/FBSDKKeychainStoreFactory.h + + hash + + EokxqDkQxYQBz5YnFwcqJvVKd8I= + + hash2 + + la/OM0KnLr35SmfD02P88Sr62T2F8+uRVF/wDtbdfSw= + + + Headers/FBSDKKeychainStoreProtocol.h + + hash + + Vl4nIrUwT7cqcjwlXymbPkKUVDo= + + hash2 + + XNfcYyJYq69j5eL0ARtTlzkh8SdVCq+G/s9eY4Pd8O8= + + + Headers/FBSDKKeychainStoreProviding.h + + hash + + mIeRZ1Khyvf/6V2HXI3+7c15XfU= + + hash2 + + N5iX620VVuEnU9MNl/truAcPdvE78EoCZ13WK/XGM7w= + + + Headers/FBSDKLocation.h + + hash + + lVldFN//gmPckkWOntm6/lMe0QE= + + hash2 + + 4VM07vWgUKPPsLEMLF29hXYKIHBkc9vETSX506Z++Uw= + + + Headers/FBSDKLogger.h + + hash + + rtRqjTXsaZXv5x8H14rMIs3g7Gk= + + hash2 + + Qfqspxm3/sPBdO0HFJAKtqdycEFIM/L2eebvKieQ5F4= + + + Headers/FBSDKLogging.h + + hash + + /DbryGZcqEQACAktvCjPjV6SDG4= + + hash2 + + IvKTyTv5bHSAJcZqLwaHR/lW5CFnjIggFOzHMRDWMk4= + + + Headers/FBSDKLoggingBehavior.h + + hash + + 2RipnoPNHjzmVyzHpZjxsO+csE0= + + hash2 + + 4aOXHNufAYanMkOEmfMy+Os4pKJrcNj1FhZ5sT1dlwA= + + + Headers/FBSDKLoginTooltip.h + + hash + + t9qlwGoUeyWhxDfXE8Ky6RnF/gg= + + hash2 + + C6wHDAq5ukwucR1FkTnnq3ucsw6y7GR9wDadgB3zHZY= + + + Headers/FBSDKNetworkErrorChecker.h + + hash + + lc4ltIsnGN0wefVKZeW3BTQqt8o= + + hash2 + + mQPfqbSnxLTJW64KKhoGcZPQYNTYQABLzG1AZ2hcTSs= + + + Headers/FBSDKNetworkErrorChecking.h + + hash + + DQOOpk+tae6sTARv6zgYkUNQv+4= + + hash2 + + JaxujLpfeoL0uJ15AXk/+TxmnQ+XgmtHYz9sb5k3r1w= + + + Headers/FBSDKProductAvailability.h + + hash + + 4z6lAOLiyG+H6sMmuDzBXlrBO4Q= + + hash2 + + AfSg3sbP+VegxUAApbWi9NSI+/dlu9LbDGiLvCWo3Z0= + + + Headers/FBSDKProductCondition.h + + hash + + p2M86R+0XjuIIHBALGh4qHhF0sg= + + hash2 + + dNGTpMMgyZMruD+nBPSsD0Y3Bc2L8ZoTcsW1f5tdK7Q= + + + Headers/FBSDKRandom.h + + hash + + R8FED9YvoEocX/AhmRTKcVPRw2o= + + hash2 + + JXR3YBjvsfljeUoFjq/rNAz0+acuqvjZkXBhXXs5bgE= + + + Headers/FBSDKServerConfigurationProvider.h + + hash + + AhAGmLml8AEa2qhdMA2aHiBseRk= + + hash2 + + RXwkFjplbHxdLpEaBMqqLSRR8dDM5WCHUNSq389EwY0= + + + Headers/FBSDKSettings.h + + hash + + R6dyUp+m+ea3r1bDBUkuxV3X6AY= + + hash2 + + XkVFFBY9CgWqcTRO9141I1ojD855VIKzqj32ohj9988= + + + Headers/FBSDKSettingsLogging.h + + hash + + j4NKiO1um7BzI27sPShA+WNNV6E= + + hash2 + + GgfZ+r7AkNT2pA6iA72tqgExzEgxS0MRiVNUSlpsa48= + + + Headers/FBSDKSettingsProtocol.h + + hash + + QogmjQBweHFkUWSIRYsBQvR4gHE= + + hash2 + + vYviw3P0xVBPMPq5TFbuuFWvwiZH9HkZcHV1gavtPLo= + + + Headers/FBSDKTokenCaching.h + + hash + + Y9D8zDMXaiaJEPNG6yqmuv8sdxU= + + hash2 + + adI/CmzszZ3MQwaZv5E3iCsNy9ipB09TK9oNjPirDD4= + + + Headers/FBSDKTokenStringProviding.h + + hash + + 1ULLCT9qWhm7HkrSyND4RJwRF6Y= + + hash2 + + Cmhyy2RK5YdGkiMeYR7YqggjtKl5xi9gfIWd5Rzyos0= + + + Headers/FBSDKTransformer.h + + hash + + Ui2GFPACS7T6kK9LcCLcdJyCYyo= + + hash2 + + 76ADDGvmmKAAjwJQmqZOKN1QRhrUmGE9qELPwGG2F4k= + + + Headers/FBSDKURLScheme.h + + hash + + 36HfFNYLwWfRajDYFDJeNZe/evc= + + hash2 + + BdpEnJgCwk4m/BX4jdUcFWtch+dOASiPi4b4XuShRow= + + + Headers/FBSDKUserAgeRange.h + + hash + + eRyqSxEieMcqdjv0yKXNIDnmRIg= + + hash2 + + HlG9273bkbhwQ3Z40EFALmtcSl7mgJYAMF+i4LVTQuM= + + + Headers/FBSDKUtility.h + + hash + + ACK+e48w6WLwZDhZT9VIaXDWTlk= + + hash2 + + aDJa31ufENPB6jQuSRYbBb60HcsTocEvvcqZw2iWBN8= + + + Headers/_FBSDKWindowFinding.h + + hash + + Gac9mAAYHny41SRhpW53CbfSo2s= + + hash2 + + QxPymhBROXgyvxD0bzeN+T5ennsD7zaelwvA1a2l3oE= + + + Headers/__FBSDKLoggerCreating.h + + hash + + y1VVRA/XNhhKMaoTUc/66smvRqI= + + hash2 + + /8e+8f0FIi7sNd85JGNd2gXdF5x4vJgOTUOgWIssxL4= + + + Modules/FBSDKCoreKit.swiftmodule/arm64-apple-tvos-simulator.swiftdoc + + hash + + ZrWzlJawpsjKWNXlpmAyba7QC1w= + + hash2 + + 3lDUPX1SQgNYlbCsapPQdMQ2uID4A97JtWymTXrxdHI= + + + Modules/FBSDKCoreKit.swiftmodule/arm64-apple-tvos-simulator.swiftinterface + + hash + + pmukDPtWzfjdrOHMBT+gFs0TEJo= + + hash2 + + YeYV3CesIZWMD+4zweGHgxz40VwFZLgFaLUM8UfsDrU= + + + Modules/FBSDKCoreKit.swiftmodule/arm64-apple-tvos-simulator.swiftmodule + + hash + + WVr5yAlFEJ0tSYhISJq24wSCOgk= + + hash2 + + ONiLBjkTzPH2E9EPuET3GNZ2btXdDZkI42ZDGUaEjXk= + + + Modules/FBSDKCoreKit.swiftmodule/arm64.swiftdoc + + hash + + ZrWzlJawpsjKWNXlpmAyba7QC1w= + + hash2 + + 3lDUPX1SQgNYlbCsapPQdMQ2uID4A97JtWymTXrxdHI= + + + Modules/FBSDKCoreKit.swiftmodule/arm64.swiftinterface + + hash + + pmukDPtWzfjdrOHMBT+gFs0TEJo= + + hash2 + + YeYV3CesIZWMD+4zweGHgxz40VwFZLgFaLUM8UfsDrU= + + + Modules/FBSDKCoreKit.swiftmodule/arm64.swiftmodule + + hash + + WVr5yAlFEJ0tSYhISJq24wSCOgk= + + hash2 + + ONiLBjkTzPH2E9EPuET3GNZ2btXdDZkI42ZDGUaEjXk= + + + Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-tvos-simulator.swiftdoc + + hash + + 8kfwMPUBSu2lhB+8EYWm/1aZKHA= + + hash2 + + N5IWlQY05qYRjtGMQSWJ2hGQjdXCFycN0eTNHE3Bpdk= + + + Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-tvos-simulator.swiftinterface + + hash + + GQQdqqQQSo0V7KBfEqhLxoohm5c= + + hash2 + + kKS2mNYWsiJ1v+/fZehbhioadtXDQixBMm4jzFDsvDY= + + + Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-tvos-simulator.swiftmodule + + hash + + VoPMe0iUnFXF2MdlpcE889xnYxg= + + hash2 + + 99ZC/vKmuj1W+s8wgFZbhf+mZXltGNmN7dSbo/GKaiQ= + + + Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftdoc + + hash + + 8kfwMPUBSu2lhB+8EYWm/1aZKHA= + + hash2 + + N5IWlQY05qYRjtGMQSWJ2hGQjdXCFycN0eTNHE3Bpdk= + + + Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftinterface + + hash + + GQQdqqQQSo0V7KBfEqhLxoohm5c= + + hash2 + + kKS2mNYWsiJ1v+/fZehbhioadtXDQixBMm4jzFDsvDY= + + + Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftmodule + + hash + + VoPMe0iUnFXF2MdlpcE889xnYxg= + + hash2 + + 99ZC/vKmuj1W+s8wgFZbhf+mZXltGNmN7dSbo/GKaiQ= + + + Modules/module.modulemap + + hash + + dqxVNYXT9nBvFc3sI+M8nUrDXuA= + + hash2 + + c2A9sHV9BPDFexemM1nM/fNWiYjoYt4V7Zxb+LDeu2Y= + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/_CodeSignature/CodeSignature b/src/ios/EmbeddedFrameworks/FBSDKCoreKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit.framework/_CodeSignature/CodeSignature new file mode 100644 index 0000000..e69de29 diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/Info.plist b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/Info.plist new file mode 100644 index 0000000..148b044 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/Info.plist @@ -0,0 +1,82 @@ + + + + + AvailableLibraries + + + LibraryIdentifier + ios-arm64 + LibraryPath + FBSDKCoreKit_Basics.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + + + LibraryIdentifier + ios-arm64_x86_64-simulator + LibraryPath + FBSDKCoreKit_Basics.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + LibraryIdentifier + ios-arm64_x86_64-maccatalyst + LibraryPath + FBSDKCoreKit_Basics.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + maccatalyst + + + LibraryIdentifier + tvos-arm64 + LibraryPath + FBSDKCoreKit_Basics.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + tvos + + + LibraryIdentifier + tvos-arm64_x86_64-simulator + LibraryPath + FBSDKCoreKit_Basics.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + tvos + SupportedPlatformVariant + simulator + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/LICENSE b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/LICENSE new file mode 100644 index 0000000..2eecb62 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/LICENSE @@ -0,0 +1,17 @@ +Copyright (c) Meta Platforms, Inc. and affiliates. 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 Platform Policy +[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. diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/FBSDKCoreKit_Basics b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/FBSDKCoreKit_Basics new file mode 100644 index 0000000..d3f1343 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/FBSDKCoreKit_Basics differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKBase64.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKBase64.h new file mode 100644 index 0000000..b8b3a02 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKBase64.h @@ -0,0 +1,46 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(Base64) +@interface FBSDKBase64 : NSObject + +/** + Decodes a base-64 encoded string. + @param string The base-64 encoded string. + @return NSData containing the decoded bytes. + */ ++ (nullable NSData *)decodeAsData:(nullable NSString *)string; + +/** + Decodes a base-64 encoded string into a string. + @param string The base-64 encoded string. + @return NSString with the decoded UTF-8 value. + */ ++ (nullable NSString *)decodeAsString:(nullable NSString *)string; + +/** + Encodes string into a base-64 representation. + @param string The string to be encoded. + @return The base-64 encoded string. + */ ++ (nullable NSString *)encodeString:(nullable NSString *)string; + +/** + Encodes URL string into a base-64 representation. + @param base64Url The URL string to be encoded. + @return The base-64 encoded string. + */ ++ (NSString *)base64FromBase64Url:(NSString *)base64Url; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKBasicUtility.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKBasicUtility.h new file mode 100644 index 0000000..4c5de41 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKBasicUtility.h @@ -0,0 +1,121 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Dispatches the specified block on the main thread. + @param block the block to dispatch + */ +extern void fb_dispatch_on_main_thread(dispatch_block_t block); + +/** + Dispatches the specified block on the default thread. + @param block the block to dispatch + */ +extern void fb_dispatch_on_default_thread(dispatch_block_t block); + +/** + Describes the callback for appLinkFromURLInBackground. + @param object the FBSDKAppLink representing the deferred App Link + @param stop the error during the request, if any + */ +typedef id _Nullable (^ FBSDKInvalidObjectHandler)(id object, BOOL *stop) +NS_SWIFT_NAME(InvalidObjectHandler); + +NS_SWIFT_NAME(BasicUtility) +@interface FBSDKBasicUtility : NSObject + +/** + Converts an object into a JSON string. + @param object The object to convert to JSON. + @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. + @param invalidObjectHandler Handles objects that are invalid, returning a replacement value or nil to ignore. + @return A JSON string or nil if the object cannot be converted to JSON. + */ ++ (nullable NSString *)JSONStringForObject:(id)object + error:(NSError *__autoreleasing *)errorRef + invalidObjectHandler:(nullable FBSDKInvalidObjectHandler)invalidObjectHandler; + +/** + Sets an object for a key in a dictionary if it is not nil. + @param dictionary The dictionary to set the value for. + @param object The value to set after serializing to JSON. + @param key The key to set the value for. + @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. + @return NO if an error occurred while serializing the object, otherwise YES. + */ ++ (BOOL) dictionary:(NSMutableDictionary *)dictionary + setJSONStringForObject:(id)object + forKey:(id)key + error:(NSError *__autoreleasing *)errorRef; + +/** + Converts a JSON string into an object + @param string The JSON string to convert. + @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. + @return An NSDictionary, NSArray, NSString or NSNumber containing the object representation, or nil if the string + cannot be converted. + */ ++ (nullable id)objectForJSONString:(NSString *)string error:(NSError *__autoreleasing *)errorRef; + +/** + 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. + @param invalidObjectHandler Handles objects that are invalid, returning a replacement value or nil to ignore. + @return Query string representation of the parameters. + */ ++ (nullable NSString *)queryStringWithDictionary:(NSDictionary *)dictionary + error:(NSError *__autoreleasing *)errorRef + invalidObjectHandler:(nullable FBSDKInvalidObjectHandler)invalidObjectHandler; + +/** + Converts simple value types to the string equivalent for serializing to a request query or body. + @param value The value to be converted. + @return The value that may have been converted if able (otherwise the input param). + */ ++ (id)convertRequestValue:(id)value; + +/** + Encodes a value for an URL. + @param value The value to encode. + @return The encoded value. + */ ++ (NSString *)URLEncode:(NSString *)value; + +/** + 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; + +/** + Decodes a value from an URL. + @param value The value to decode. + @return The decoded value. + */ ++ (NSString *)URLDecode:(NSString *)value; + +/** + Gzip data with default compression level if possible. + @param data The raw data. + @return nil if unable to gzip the data, otherwise gzipped data. + */ ++ (nullable NSData *)gzip:(NSData *)data; + ++ (NSString *)anonymousID; ++ (NSString *)persistenceFilePath:(NSString *)filename; ++ (nullable NSString *)SHA256Hash:(nullable NSObject *)input; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKCoreKit_Basics.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKCoreKit_Basics.h new file mode 100644 index 0000000..4bc09b7 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKCoreKit_Basics.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashHandler.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashHandler.h new file mode 100644 index 0000000..29f004a --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashHandler.h @@ -0,0 +1,34 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(CrashHandler) +@interface FBSDKCrashHandler : NSObject + +@property (class, nonatomic, readonly) FBSDKCrashHandler *shared; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + ++ (void)disable; ++ (void)addObserver:(id)observer; ++ (void)removeObserver:(id)observer; ++ (void)clearCrashReportFiles; ++ (NSString *)getFBSDKVersion; + +- (void)disable; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashHandlerProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashHandlerProtocol.h new file mode 100644 index 0000000..9335e7d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashHandlerProtocol.h @@ -0,0 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +NS_ASSUME_NONNULL_BEGIN + +@protocol FBSDKCrashObserving; + +NS_SWIFT_NAME(CrashHandlerProtocol) +@protocol FBSDKCrashHandler + +- (void)addObserver:(id)observer; +- (void)clearCrashReportFiles; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashObserving.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashObserving.h new file mode 100644 index 0000000..230ac9e --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashObserving.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(CrashObserving) +@protocol FBSDKCrashObserving + +@property (nonatomic, copy) NSArray *prefixes; +@property (nullable, nonatomic, copy) NSArray *frameworks; + +- (void)didReceiveCrashLogs:(NSArray *> *)crashLogs; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKDataPersisting.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKDataPersisting.h new file mode 100644 index 0000000..45a949e --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKDataPersisting.h @@ -0,0 +1,29 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// An internal protocol used to describe a simple data store +NS_SWIFT_NAME(DataPersisting) +@protocol FBSDKDataPersisting + +- (void)setInteger:(NSInteger)value + forKey:(NSString *)defaultName; +- (void)setObject:(id)value + forKey:(NSString *)defaultName; +- (nullable NSData *)dataForKey:(NSString *)defaultName; +- (NSInteger)integerForKey:(NSString *)defaultName; +- (nullable NSString *)stringForKey:(NSString *)defaultName; +- (nullable id)objectForKey:(NSString *)defaultName; +- (void)removeObjectForKey:(NSString *)defaultName; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKFileDataExtracting.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKFileDataExtracting.h new file mode 100644 index 0000000..395e08b --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKFileDataExtracting.h @@ -0,0 +1,26 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// An internal protocol used to describe a type that can extract data from a file +NS_SWIFT_NAME(FileDataExtracting) +@protocol FBSDKFileDataExtracting + ++ (nullable NSData *)dataWithContentsOfFile:(NSString *)path + options:(NSDataReadingOptions)readOptionsMask + error:(NSError *_Nullable *)errorPtr; + +@end + +@interface NSData (FileDataExtracting) +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKFileManaging.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKFileManaging.h new file mode 100644 index 0000000..17bd385 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKFileManaging.h @@ -0,0 +1,41 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// An internal protocol used to describe a file manager +NS_SWIFT_NAME(FileManaging) +@protocol FBSDKFileManaging + +- (nullable NSURL *)URLForDirectory:(NSSearchPathDirectory)directory + inDomain:(NSSearchPathDomainMask)domain + appropriateForURL:(NSURL *)url + create:(BOOL)shouldCreate + error:(NSError *_Nullable *)error; + +- (BOOL)createDirectoryAtPath:(NSString *)path + withIntermediateDirectories:(BOOL)createIntermediates + attributes:(NSDictionary *_Nullable)attributes + error:(NSError *_Nullable *)error; + +- (BOOL)fileExistsAtPath:(NSString *)path; + +- (BOOL)removeItemAtPath:(NSString *)path + error:(NSError *_Nullable *)error; + +- (NSArray *)contentsOfDirectoryAtPath:(NSString *)path + error:(NSError *_Nullable *)error; + +@end + +@interface NSFileManager (FBSDKFileManaging) +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKInfoDictionaryProviding.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKInfoDictionaryProviding.h new file mode 100644 index 0000000..f524405 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKInfoDictionaryProviding.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(InfoDictionaryProviding) +@protocol FBSDKInfoDictionaryProviding + +@property (nullable, readonly, copy) NSDictionary *infoDictionary; +@property (nullable, readonly, copy) NSString *bundleIdentifier; + +- (nullable id)objectForInfoDictionaryKey:(NSString *)key; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKLibAnalyzer.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKLibAnalyzer.h new file mode 100644 index 0000000..eb1192b --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKLibAnalyzer.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(LibAnalyzer) +@interface FBSDKLibAnalyzer : NSObject + ++ (NSDictionary *)getMethodsTable:(NSArray *)prefixes + frameworks:(NSArray *_Nullable)frameworks; ++ (nullable NSArray *)symbolicateCallstack:(NSArray *)callstack + methodMapping:(NSDictionary *)methodMapping; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKSessionProviding.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKSessionProviding.h new file mode 100644 index 0000000..494839e --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKSessionProviding.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// An internal protocol used to describe a session data task +NS_SWIFT_NAME(SessionDataTask) +@protocol FBSDKSessionDataTask + +@property (readonly) NSURLSessionTaskState state; + +- (void)resume; +- (void)cancel; + +@end + +/// An internal protocol used to describe a url session +NS_SWIFT_NAME(SessionProviding) +@protocol FBSDKSessionProviding + +- (id)dataTaskWithRequest:(NSURLRequest *)request + completionHandler:(void (^)(NSData *_Nullable data, NSURLResponse *_Nullable response, NSError *_Nullable error))completionHandler; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKTypeUtility.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKTypeUtility.h new file mode 100644 index 0000000..c0b4b61 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKTypeUtility.h @@ -0,0 +1,113 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(TypeUtility) +@interface FBSDKTypeUtility : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/// Returns an NSArray if the provided object is an NSArray, otherwise returns nil. ++ (nullable NSArray *)arrayValue:(nullable id)object; + +/** + Return an object at a given index if the index is valid, otherwise return nil + @param array The array to retrieve the object from. + @param index The index to retrieve the object from. + */ ++ (nullable id)array:(NSArray *)array objectAtIndex:(NSUInteger)index; + +/** + Adds an object to an array if it is not nil. + @param array The array to add the object to. + @param object The object to add to the array. + */ ++ (void)array:(NSMutableArray *)array addObject:(nullable id)object; + +/// Returns a BOOL if the provided object is a BOOL, otherwise returns nil. ++ (BOOL)boolValue:(id)object; + +/// Returns an NSDictionary if the provided object is an NSDictionary, otherwise returns nil. ++ (nullable NSDictionary *)dictionaryValue:(nullable id)object; + +/// Returns an object for a given key in the provided dictionary if it matches the stated type ++ (nullable id)dictionary:(NSDictionary *)dictionary objectForKey:(NSString *)key ofType:(Class)type; + +/** + Sets an object for a key in a dictionary if it is not nil. + @param dictionary The dictionary to set the value for. + @param object The value to set. + @param key The key to set the value for. + */ ++ (void)dictionary:(NSMutableDictionary *)dictionary + setObject:(nullable id)object + forKey:(nullable id)key; + +/// Checks if an object is a valid dictionary type before enumerating its keys and objects ++ (void)dictionary:(NSDictionary *)dictionary enumerateKeysAndObjectsUsingBlock:(void(NS_NOESCAPE ^)(id key, id obj, BOOL *stop))block; + +/// Returns an NSInteger if the provided object is an NSInteger, otherwise returns nil. ++ (NSInteger)integerValue:(id)object; + +/// Returns a double if the provided object is a double, otherwise returns 0. ++ (double)doubleValue:(id)object; + +/// Returns an NSNumber if the provided object is an NSNumber, otherwise returns nil. ++ (NSNumber *)numberValue:(id)object; + +/// Returns an NSString if the provided object is an NSString, otherwise returns nil. ++ (NSString *)stringValueOrNil:(id)object; + +/// Returns the provided object if it is non-null ++ (nullable id)objectValue:(id)object; + +/// Returns an NSString if the provided object can be coered to an NSString, otherwise returns nil. ++ (nullable NSString *)coercedToStringValue:(id)object; + +/// Returns an NSTimeInterval if the provided object is an NSTimeInterval, otherwise returns nil. ++ (NSTimeInterval)timeIntervalValue:(id)object; + +/// Returns an NSUInteger if the provided object is an NSUInteger, otherwise returns nil. ++ (NSUInteger)unsignedIntegerValue:(id)object; + +/// Returns an NSURL if the provided object is an NSURL; will attempt to create an NSURL if the object is an NSString; returns nil otherwise. ++ (nullable NSURL *)coercedToURLValue:(id)object; + +/* + Lightweight safety wrapper around Foundation's NSJSONSerialization:dataWithJSONObject:options:error: + + Generate JSON data from a Foundation object. + If the object will not produce valid JSON then null is returned. + Setting the NSJSONWritingPrettyPrinted option will generate JSON with whitespace designed to make the output more readable. + If that option is not set, the most compact possible JSON will be generated. + If an error occurs, the error parameter will be set and the return value will be nil. + The resulting data is a encoded in UTF-8. + */ ++ (nullable NSData *)dataWithJSONObject:(id)obj options:(NSJSONWritingOptions)opt error:(NSError **)error; + +/* + Lightweight safety wrapper around Foundation's NSJSONSerialization:JSONObjectWithData:options:error: + + Create a Foundation object from JSON data. + Set the NSJSONReadingAllowFragments option if the parser should allow top-level objects that are not an NSArray or NSDictionary. + Setting the NSJSONReadingMutableContainers option will make the parser generate mutable NSArrays and NSDictionaries. + Setting the NSJSONReadingMutableLeaves option will make the parser generate mutable NSString objects. + If an error occurs during the parse, then the error parameter will be set and the result will be nil. + The data must be in one of the 5 supported encodings listed in the JSON specification: UTF-8, UTF-16LE, UTF-16BE, UTF-32LE, UTF-32BE. + The data may or may not have a BOM. + The most efficient encoding to use for parsing is UTF-8, so if you have a choice in encoding the data passed to this method, use UTF-8. + */ ++ (nullable id)JSONObjectWithData:(NSData *)data options:(NSJSONReadingOptions)opt error:(NSError **)error; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKURLSession.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKURLSession.h new file mode 100644 index 0000000..15d8cb6 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKURLSession.h @@ -0,0 +1,38 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +@interface FBSDKURLSession : NSObject + +@property (nullable, atomic, strong) NSURLSession *session; +@property (nullable, nonatomic, weak) id delegate; +@property (nullable, nonatomic, retain) NSOperationQueue *delegateQueue; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +- (instancetype)initWithDelegate:(id)delegate + delegateQueue:(NSOperationQueue *)delegateQueue; + +- (void)executeURLRequest:(NSURLRequest *)request + completionHandler:(FBSDKURLSessionTaskBlock)handler; + +- (void)updateSessionWithBlock:(dispatch_block_t)block; + +- (void)invalidateAndCancel; + +- (BOOL)valid; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKURLSessionTask.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKURLSessionTask.h new file mode 100644 index 0000000..128efb8 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKURLSessionTask.h @@ -0,0 +1,42 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +typedef void (^ FBSDKURLSessionTaskBlock)(NSData *_Nullable responseData, + NSURLResponse *_Nullable response, + NSError *_Nullable error) +NS_SWIFT_NAME(UrlSessionTaskBlock); + +NS_SWIFT_NAME(UrlSessionTask) +@interface FBSDKURLSessionTask : NSObject + +@property (nonatomic, strong) id task; +@property (atomic, readonly) NSURLSessionTaskState state; +@property (nonatomic, readonly, strong) NSDate *requestStartDate; +@property (nullable, nonatomic, copy) FBSDKURLSessionTaskBlock handler; +@property (nonatomic, assign) uint64_t requestStartTime; +@property (nonatomic, assign) NSUInteger loggerSerialNumber; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +- (nullable instancetype)initWithRequest:(NSURLRequest *)request + fromSession:(id)session + completionHandler:(nullable FBSDKURLSessionTaskBlock)handler; + +- (void)start; +- (void)cancel; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/NSBundle+InfoDictionaryProviding.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/NSBundle+InfoDictionaryProviding.h new file mode 100644 index 0000000..a75e146 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/NSBundle+InfoDictionaryProviding.h @@ -0,0 +1,19 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Default conformance to the info dictionary providing protocol +@interface NSBundle (InfoDictionaryProviding) +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/NSUserDefaults+FBSDKDataPersisting.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/NSUserDefaults+FBSDKDataPersisting.h new file mode 100644 index 0000000..4de9320 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Headers/NSUserDefaults+FBSDKDataPersisting.h @@ -0,0 +1,19 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Default conformance to the data persisting protocol +@interface NSUserDefaults (DataPersisting) +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Info.plist b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Info.plist new file mode 100644 index 0000000..57517e2 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Info.plist differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Modules/module.modulemap b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Modules/module.modulemap new file mode 100644 index 0000000..b30d9eb --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64/FBSDKCoreKit_Basics.framework/Modules/module.modulemap @@ -0,0 +1,6 @@ +framework module FBSDKCoreKit_Basics { + umbrella header "FBSDKCoreKit_Basics.h" + + export * + module * { export * } +} diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/FBSDKCoreKit_Basics b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/FBSDKCoreKit_Basics new file mode 100644 index 0000000..47bfc0d Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/FBSDKCoreKit_Basics differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKBase64.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKBase64.h new file mode 100644 index 0000000..b8b3a02 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKBase64.h @@ -0,0 +1,46 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(Base64) +@interface FBSDKBase64 : NSObject + +/** + Decodes a base-64 encoded string. + @param string The base-64 encoded string. + @return NSData containing the decoded bytes. + */ ++ (nullable NSData *)decodeAsData:(nullable NSString *)string; + +/** + Decodes a base-64 encoded string into a string. + @param string The base-64 encoded string. + @return NSString with the decoded UTF-8 value. + */ ++ (nullable NSString *)decodeAsString:(nullable NSString *)string; + +/** + Encodes string into a base-64 representation. + @param string The string to be encoded. + @return The base-64 encoded string. + */ ++ (nullable NSString *)encodeString:(nullable NSString *)string; + +/** + Encodes URL string into a base-64 representation. + @param base64Url The URL string to be encoded. + @return The base-64 encoded string. + */ ++ (NSString *)base64FromBase64Url:(NSString *)base64Url; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKBasicUtility.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKBasicUtility.h new file mode 100644 index 0000000..4c5de41 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKBasicUtility.h @@ -0,0 +1,121 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Dispatches the specified block on the main thread. + @param block the block to dispatch + */ +extern void fb_dispatch_on_main_thread(dispatch_block_t block); + +/** + Dispatches the specified block on the default thread. + @param block the block to dispatch + */ +extern void fb_dispatch_on_default_thread(dispatch_block_t block); + +/** + Describes the callback for appLinkFromURLInBackground. + @param object the FBSDKAppLink representing the deferred App Link + @param stop the error during the request, if any + */ +typedef id _Nullable (^ FBSDKInvalidObjectHandler)(id object, BOOL *stop) +NS_SWIFT_NAME(InvalidObjectHandler); + +NS_SWIFT_NAME(BasicUtility) +@interface FBSDKBasicUtility : NSObject + +/** + Converts an object into a JSON string. + @param object The object to convert to JSON. + @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. + @param invalidObjectHandler Handles objects that are invalid, returning a replacement value or nil to ignore. + @return A JSON string or nil if the object cannot be converted to JSON. + */ ++ (nullable NSString *)JSONStringForObject:(id)object + error:(NSError *__autoreleasing *)errorRef + invalidObjectHandler:(nullable FBSDKInvalidObjectHandler)invalidObjectHandler; + +/** + Sets an object for a key in a dictionary if it is not nil. + @param dictionary The dictionary to set the value for. + @param object The value to set after serializing to JSON. + @param key The key to set the value for. + @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. + @return NO if an error occurred while serializing the object, otherwise YES. + */ ++ (BOOL) dictionary:(NSMutableDictionary *)dictionary + setJSONStringForObject:(id)object + forKey:(id)key + error:(NSError *__autoreleasing *)errorRef; + +/** + Converts a JSON string into an object + @param string The JSON string to convert. + @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. + @return An NSDictionary, NSArray, NSString or NSNumber containing the object representation, or nil if the string + cannot be converted. + */ ++ (nullable id)objectForJSONString:(NSString *)string error:(NSError *__autoreleasing *)errorRef; + +/** + 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. + @param invalidObjectHandler Handles objects that are invalid, returning a replacement value or nil to ignore. + @return Query string representation of the parameters. + */ ++ (nullable NSString *)queryStringWithDictionary:(NSDictionary *)dictionary + error:(NSError *__autoreleasing *)errorRef + invalidObjectHandler:(nullable FBSDKInvalidObjectHandler)invalidObjectHandler; + +/** + Converts simple value types to the string equivalent for serializing to a request query or body. + @param value The value to be converted. + @return The value that may have been converted if able (otherwise the input param). + */ ++ (id)convertRequestValue:(id)value; + +/** + Encodes a value for an URL. + @param value The value to encode. + @return The encoded value. + */ ++ (NSString *)URLEncode:(NSString *)value; + +/** + 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; + +/** + Decodes a value from an URL. + @param value The value to decode. + @return The decoded value. + */ ++ (NSString *)URLDecode:(NSString *)value; + +/** + Gzip data with default compression level if possible. + @param data The raw data. + @return nil if unable to gzip the data, otherwise gzipped data. + */ ++ (nullable NSData *)gzip:(NSData *)data; + ++ (NSString *)anonymousID; ++ (NSString *)persistenceFilePath:(NSString *)filename; ++ (nullable NSString *)SHA256Hash:(nullable NSObject *)input; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKCoreKit_Basics.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKCoreKit_Basics.h new file mode 100644 index 0000000..4bc09b7 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKCoreKit_Basics.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashHandler.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashHandler.h new file mode 100644 index 0000000..29f004a --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashHandler.h @@ -0,0 +1,34 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(CrashHandler) +@interface FBSDKCrashHandler : NSObject + +@property (class, nonatomic, readonly) FBSDKCrashHandler *shared; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + ++ (void)disable; ++ (void)addObserver:(id)observer; ++ (void)removeObserver:(id)observer; ++ (void)clearCrashReportFiles; ++ (NSString *)getFBSDKVersion; + +- (void)disable; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashHandlerProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashHandlerProtocol.h new file mode 100644 index 0000000..9335e7d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashHandlerProtocol.h @@ -0,0 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +NS_ASSUME_NONNULL_BEGIN + +@protocol FBSDKCrashObserving; + +NS_SWIFT_NAME(CrashHandlerProtocol) +@protocol FBSDKCrashHandler + +- (void)addObserver:(id)observer; +- (void)clearCrashReportFiles; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashObserving.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashObserving.h new file mode 100644 index 0000000..230ac9e --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashObserving.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(CrashObserving) +@protocol FBSDKCrashObserving + +@property (nonatomic, copy) NSArray *prefixes; +@property (nullable, nonatomic, copy) NSArray *frameworks; + +- (void)didReceiveCrashLogs:(NSArray *> *)crashLogs; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKDataPersisting.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKDataPersisting.h new file mode 100644 index 0000000..45a949e --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKDataPersisting.h @@ -0,0 +1,29 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// An internal protocol used to describe a simple data store +NS_SWIFT_NAME(DataPersisting) +@protocol FBSDKDataPersisting + +- (void)setInteger:(NSInteger)value + forKey:(NSString *)defaultName; +- (void)setObject:(id)value + forKey:(NSString *)defaultName; +- (nullable NSData *)dataForKey:(NSString *)defaultName; +- (NSInteger)integerForKey:(NSString *)defaultName; +- (nullable NSString *)stringForKey:(NSString *)defaultName; +- (nullable id)objectForKey:(NSString *)defaultName; +- (void)removeObjectForKey:(NSString *)defaultName; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKFileDataExtracting.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKFileDataExtracting.h new file mode 100644 index 0000000..395e08b --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKFileDataExtracting.h @@ -0,0 +1,26 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// An internal protocol used to describe a type that can extract data from a file +NS_SWIFT_NAME(FileDataExtracting) +@protocol FBSDKFileDataExtracting + ++ (nullable NSData *)dataWithContentsOfFile:(NSString *)path + options:(NSDataReadingOptions)readOptionsMask + error:(NSError *_Nullable *)errorPtr; + +@end + +@interface NSData (FileDataExtracting) +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKFileManaging.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKFileManaging.h new file mode 100644 index 0000000..17bd385 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKFileManaging.h @@ -0,0 +1,41 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// An internal protocol used to describe a file manager +NS_SWIFT_NAME(FileManaging) +@protocol FBSDKFileManaging + +- (nullable NSURL *)URLForDirectory:(NSSearchPathDirectory)directory + inDomain:(NSSearchPathDomainMask)domain + appropriateForURL:(NSURL *)url + create:(BOOL)shouldCreate + error:(NSError *_Nullable *)error; + +- (BOOL)createDirectoryAtPath:(NSString *)path + withIntermediateDirectories:(BOOL)createIntermediates + attributes:(NSDictionary *_Nullable)attributes + error:(NSError *_Nullable *)error; + +- (BOOL)fileExistsAtPath:(NSString *)path; + +- (BOOL)removeItemAtPath:(NSString *)path + error:(NSError *_Nullable *)error; + +- (NSArray *)contentsOfDirectoryAtPath:(NSString *)path + error:(NSError *_Nullable *)error; + +@end + +@interface NSFileManager (FBSDKFileManaging) +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKInfoDictionaryProviding.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKInfoDictionaryProviding.h new file mode 100644 index 0000000..f524405 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKInfoDictionaryProviding.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(InfoDictionaryProviding) +@protocol FBSDKInfoDictionaryProviding + +@property (nullable, readonly, copy) NSDictionary *infoDictionary; +@property (nullable, readonly, copy) NSString *bundleIdentifier; + +- (nullable id)objectForInfoDictionaryKey:(NSString *)key; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKLibAnalyzer.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKLibAnalyzer.h new file mode 100644 index 0000000..eb1192b --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKLibAnalyzer.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(LibAnalyzer) +@interface FBSDKLibAnalyzer : NSObject + ++ (NSDictionary *)getMethodsTable:(NSArray *)prefixes + frameworks:(NSArray *_Nullable)frameworks; ++ (nullable NSArray *)symbolicateCallstack:(NSArray *)callstack + methodMapping:(NSDictionary *)methodMapping; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKSessionProviding.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKSessionProviding.h new file mode 100644 index 0000000..494839e --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKSessionProviding.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// An internal protocol used to describe a session data task +NS_SWIFT_NAME(SessionDataTask) +@protocol FBSDKSessionDataTask + +@property (readonly) NSURLSessionTaskState state; + +- (void)resume; +- (void)cancel; + +@end + +/// An internal protocol used to describe a url session +NS_SWIFT_NAME(SessionProviding) +@protocol FBSDKSessionProviding + +- (id)dataTaskWithRequest:(NSURLRequest *)request + completionHandler:(void (^)(NSData *_Nullable data, NSURLResponse *_Nullable response, NSError *_Nullable error))completionHandler; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKTypeUtility.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKTypeUtility.h new file mode 100644 index 0000000..c0b4b61 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKTypeUtility.h @@ -0,0 +1,113 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(TypeUtility) +@interface FBSDKTypeUtility : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/// Returns an NSArray if the provided object is an NSArray, otherwise returns nil. ++ (nullable NSArray *)arrayValue:(nullable id)object; + +/** + Return an object at a given index if the index is valid, otherwise return nil + @param array The array to retrieve the object from. + @param index The index to retrieve the object from. + */ ++ (nullable id)array:(NSArray *)array objectAtIndex:(NSUInteger)index; + +/** + Adds an object to an array if it is not nil. + @param array The array to add the object to. + @param object The object to add to the array. + */ ++ (void)array:(NSMutableArray *)array addObject:(nullable id)object; + +/// Returns a BOOL if the provided object is a BOOL, otherwise returns nil. ++ (BOOL)boolValue:(id)object; + +/// Returns an NSDictionary if the provided object is an NSDictionary, otherwise returns nil. ++ (nullable NSDictionary *)dictionaryValue:(nullable id)object; + +/// Returns an object for a given key in the provided dictionary if it matches the stated type ++ (nullable id)dictionary:(NSDictionary *)dictionary objectForKey:(NSString *)key ofType:(Class)type; + +/** + Sets an object for a key in a dictionary if it is not nil. + @param dictionary The dictionary to set the value for. + @param object The value to set. + @param key The key to set the value for. + */ ++ (void)dictionary:(NSMutableDictionary *)dictionary + setObject:(nullable id)object + forKey:(nullable id)key; + +/// Checks if an object is a valid dictionary type before enumerating its keys and objects ++ (void)dictionary:(NSDictionary *)dictionary enumerateKeysAndObjectsUsingBlock:(void(NS_NOESCAPE ^)(id key, id obj, BOOL *stop))block; + +/// Returns an NSInteger if the provided object is an NSInteger, otherwise returns nil. ++ (NSInteger)integerValue:(id)object; + +/// Returns a double if the provided object is a double, otherwise returns 0. ++ (double)doubleValue:(id)object; + +/// Returns an NSNumber if the provided object is an NSNumber, otherwise returns nil. ++ (NSNumber *)numberValue:(id)object; + +/// Returns an NSString if the provided object is an NSString, otherwise returns nil. ++ (NSString *)stringValueOrNil:(id)object; + +/// Returns the provided object if it is non-null ++ (nullable id)objectValue:(id)object; + +/// Returns an NSString if the provided object can be coered to an NSString, otherwise returns nil. ++ (nullable NSString *)coercedToStringValue:(id)object; + +/// Returns an NSTimeInterval if the provided object is an NSTimeInterval, otherwise returns nil. ++ (NSTimeInterval)timeIntervalValue:(id)object; + +/// Returns an NSUInteger if the provided object is an NSUInteger, otherwise returns nil. ++ (NSUInteger)unsignedIntegerValue:(id)object; + +/// Returns an NSURL if the provided object is an NSURL; will attempt to create an NSURL if the object is an NSString; returns nil otherwise. ++ (nullable NSURL *)coercedToURLValue:(id)object; + +/* + Lightweight safety wrapper around Foundation's NSJSONSerialization:dataWithJSONObject:options:error: + + Generate JSON data from a Foundation object. + If the object will not produce valid JSON then null is returned. + Setting the NSJSONWritingPrettyPrinted option will generate JSON with whitespace designed to make the output more readable. + If that option is not set, the most compact possible JSON will be generated. + If an error occurs, the error parameter will be set and the return value will be nil. + The resulting data is a encoded in UTF-8. + */ ++ (nullable NSData *)dataWithJSONObject:(id)obj options:(NSJSONWritingOptions)opt error:(NSError **)error; + +/* + Lightweight safety wrapper around Foundation's NSJSONSerialization:JSONObjectWithData:options:error: + + Create a Foundation object from JSON data. + Set the NSJSONReadingAllowFragments option if the parser should allow top-level objects that are not an NSArray or NSDictionary. + Setting the NSJSONReadingMutableContainers option will make the parser generate mutable NSArrays and NSDictionaries. + Setting the NSJSONReadingMutableLeaves option will make the parser generate mutable NSString objects. + If an error occurs during the parse, then the error parameter will be set and the result will be nil. + The data must be in one of the 5 supported encodings listed in the JSON specification: UTF-8, UTF-16LE, UTF-16BE, UTF-32LE, UTF-32BE. + The data may or may not have a BOM. + The most efficient encoding to use for parsing is UTF-8, so if you have a choice in encoding the data passed to this method, use UTF-8. + */ ++ (nullable id)JSONObjectWithData:(NSData *)data options:(NSJSONReadingOptions)opt error:(NSError **)error; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKURLSession.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKURLSession.h new file mode 100644 index 0000000..15d8cb6 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKURLSession.h @@ -0,0 +1,38 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +@interface FBSDKURLSession : NSObject + +@property (nullable, atomic, strong) NSURLSession *session; +@property (nullable, nonatomic, weak) id delegate; +@property (nullable, nonatomic, retain) NSOperationQueue *delegateQueue; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +- (instancetype)initWithDelegate:(id)delegate + delegateQueue:(NSOperationQueue *)delegateQueue; + +- (void)executeURLRequest:(NSURLRequest *)request + completionHandler:(FBSDKURLSessionTaskBlock)handler; + +- (void)updateSessionWithBlock:(dispatch_block_t)block; + +- (void)invalidateAndCancel; + +- (BOOL)valid; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKURLSessionTask.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKURLSessionTask.h new file mode 100644 index 0000000..128efb8 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/FBSDKURLSessionTask.h @@ -0,0 +1,42 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +typedef void (^ FBSDKURLSessionTaskBlock)(NSData *_Nullable responseData, + NSURLResponse *_Nullable response, + NSError *_Nullable error) +NS_SWIFT_NAME(UrlSessionTaskBlock); + +NS_SWIFT_NAME(UrlSessionTask) +@interface FBSDKURLSessionTask : NSObject + +@property (nonatomic, strong) id task; +@property (atomic, readonly) NSURLSessionTaskState state; +@property (nonatomic, readonly, strong) NSDate *requestStartDate; +@property (nullable, nonatomic, copy) FBSDKURLSessionTaskBlock handler; +@property (nonatomic, assign) uint64_t requestStartTime; +@property (nonatomic, assign) NSUInteger loggerSerialNumber; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +- (nullable instancetype)initWithRequest:(NSURLRequest *)request + fromSession:(id)session + completionHandler:(nullable FBSDKURLSessionTaskBlock)handler; + +- (void)start; +- (void)cancel; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/NSBundle+InfoDictionaryProviding.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/NSBundle+InfoDictionaryProviding.h new file mode 100644 index 0000000..a75e146 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/NSBundle+InfoDictionaryProviding.h @@ -0,0 +1,19 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Default conformance to the info dictionary providing protocol +@interface NSBundle (InfoDictionaryProviding) +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/NSUserDefaults+FBSDKDataPersisting.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/NSUserDefaults+FBSDKDataPersisting.h new file mode 100644 index 0000000..4de9320 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Headers/NSUserDefaults+FBSDKDataPersisting.h @@ -0,0 +1,19 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Default conformance to the data persisting protocol +@interface NSUserDefaults (DataPersisting) +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Modules/module.modulemap b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Modules/module.modulemap new file mode 100644 index 0000000..b30d9eb --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Modules/module.modulemap @@ -0,0 +1,6 @@ +framework module FBSDKCoreKit_Basics { + umbrella header "FBSDKCoreKit_Basics.h" + + export * + module * { export * } +} diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Resources/Info.plist b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Resources/Info.plist new file mode 100644 index 0000000..7db6f53 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit_Basics.framework/Resources/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 21E258 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FBSDKCoreKit_Basics + CFBundleIdentifier + com.facebook.sdk.FBSDKCoreKitBasics + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FBSDKCoreKit_Basics + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 13.2.0 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 13A233 + DTPlatformName + macosx + DTPlatformVersion + 11.3 + DTSDKBuild + 20E214 + DTSDKName + macosx11.3 + DTXcode + 1300 + DTXcodeBuild + 13A233 + LSMinimumSystemVersion + 10.15 + UIDeviceFamily + + 2 + + + diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/FBSDKCoreKit_Basics b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/FBSDKCoreKit_Basics new file mode 100644 index 0000000..5184cfe Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/FBSDKCoreKit_Basics differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKBase64.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKBase64.h new file mode 100644 index 0000000..b8b3a02 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKBase64.h @@ -0,0 +1,46 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(Base64) +@interface FBSDKBase64 : NSObject + +/** + Decodes a base-64 encoded string. + @param string The base-64 encoded string. + @return NSData containing the decoded bytes. + */ ++ (nullable NSData *)decodeAsData:(nullable NSString *)string; + +/** + Decodes a base-64 encoded string into a string. + @param string The base-64 encoded string. + @return NSString with the decoded UTF-8 value. + */ ++ (nullable NSString *)decodeAsString:(nullable NSString *)string; + +/** + Encodes string into a base-64 representation. + @param string The string to be encoded. + @return The base-64 encoded string. + */ ++ (nullable NSString *)encodeString:(nullable NSString *)string; + +/** + Encodes URL string into a base-64 representation. + @param base64Url The URL string to be encoded. + @return The base-64 encoded string. + */ ++ (NSString *)base64FromBase64Url:(NSString *)base64Url; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKBasicUtility.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKBasicUtility.h new file mode 100644 index 0000000..4c5de41 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKBasicUtility.h @@ -0,0 +1,121 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Dispatches the specified block on the main thread. + @param block the block to dispatch + */ +extern void fb_dispatch_on_main_thread(dispatch_block_t block); + +/** + Dispatches the specified block on the default thread. + @param block the block to dispatch + */ +extern void fb_dispatch_on_default_thread(dispatch_block_t block); + +/** + Describes the callback for appLinkFromURLInBackground. + @param object the FBSDKAppLink representing the deferred App Link + @param stop the error during the request, if any + */ +typedef id _Nullable (^ FBSDKInvalidObjectHandler)(id object, BOOL *stop) +NS_SWIFT_NAME(InvalidObjectHandler); + +NS_SWIFT_NAME(BasicUtility) +@interface FBSDKBasicUtility : NSObject + +/** + Converts an object into a JSON string. + @param object The object to convert to JSON. + @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. + @param invalidObjectHandler Handles objects that are invalid, returning a replacement value or nil to ignore. + @return A JSON string or nil if the object cannot be converted to JSON. + */ ++ (nullable NSString *)JSONStringForObject:(id)object + error:(NSError *__autoreleasing *)errorRef + invalidObjectHandler:(nullable FBSDKInvalidObjectHandler)invalidObjectHandler; + +/** + Sets an object for a key in a dictionary if it is not nil. + @param dictionary The dictionary to set the value for. + @param object The value to set after serializing to JSON. + @param key The key to set the value for. + @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. + @return NO if an error occurred while serializing the object, otherwise YES. + */ ++ (BOOL) dictionary:(NSMutableDictionary *)dictionary + setJSONStringForObject:(id)object + forKey:(id)key + error:(NSError *__autoreleasing *)errorRef; + +/** + Converts a JSON string into an object + @param string The JSON string to convert. + @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. + @return An NSDictionary, NSArray, NSString or NSNumber containing the object representation, or nil if the string + cannot be converted. + */ ++ (nullable id)objectForJSONString:(NSString *)string error:(NSError *__autoreleasing *)errorRef; + +/** + 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. + @param invalidObjectHandler Handles objects that are invalid, returning a replacement value or nil to ignore. + @return Query string representation of the parameters. + */ ++ (nullable NSString *)queryStringWithDictionary:(NSDictionary *)dictionary + error:(NSError *__autoreleasing *)errorRef + invalidObjectHandler:(nullable FBSDKInvalidObjectHandler)invalidObjectHandler; + +/** + Converts simple value types to the string equivalent for serializing to a request query or body. + @param value The value to be converted. + @return The value that may have been converted if able (otherwise the input param). + */ ++ (id)convertRequestValue:(id)value; + +/** + Encodes a value for an URL. + @param value The value to encode. + @return The encoded value. + */ ++ (NSString *)URLEncode:(NSString *)value; + +/** + 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; + +/** + Decodes a value from an URL. + @param value The value to decode. + @return The decoded value. + */ ++ (NSString *)URLDecode:(NSString *)value; + +/** + Gzip data with default compression level if possible. + @param data The raw data. + @return nil if unable to gzip the data, otherwise gzipped data. + */ ++ (nullable NSData *)gzip:(NSData *)data; + ++ (NSString *)anonymousID; ++ (NSString *)persistenceFilePath:(NSString *)filename; ++ (nullable NSString *)SHA256Hash:(nullable NSObject *)input; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKCoreKit_Basics.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKCoreKit_Basics.h new file mode 100644 index 0000000..4bc09b7 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKCoreKit_Basics.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashHandler.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashHandler.h new file mode 100644 index 0000000..29f004a --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashHandler.h @@ -0,0 +1,34 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(CrashHandler) +@interface FBSDKCrashHandler : NSObject + +@property (class, nonatomic, readonly) FBSDKCrashHandler *shared; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + ++ (void)disable; ++ (void)addObserver:(id)observer; ++ (void)removeObserver:(id)observer; ++ (void)clearCrashReportFiles; ++ (NSString *)getFBSDKVersion; + +- (void)disable; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashHandlerProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashHandlerProtocol.h new file mode 100644 index 0000000..9335e7d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashHandlerProtocol.h @@ -0,0 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +NS_ASSUME_NONNULL_BEGIN + +@protocol FBSDKCrashObserving; + +NS_SWIFT_NAME(CrashHandlerProtocol) +@protocol FBSDKCrashHandler + +- (void)addObserver:(id)observer; +- (void)clearCrashReportFiles; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashObserving.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashObserving.h new file mode 100644 index 0000000..230ac9e --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashObserving.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(CrashObserving) +@protocol FBSDKCrashObserving + +@property (nonatomic, copy) NSArray *prefixes; +@property (nullable, nonatomic, copy) NSArray *frameworks; + +- (void)didReceiveCrashLogs:(NSArray *> *)crashLogs; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKDataPersisting.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKDataPersisting.h new file mode 100644 index 0000000..45a949e --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKDataPersisting.h @@ -0,0 +1,29 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// An internal protocol used to describe a simple data store +NS_SWIFT_NAME(DataPersisting) +@protocol FBSDKDataPersisting + +- (void)setInteger:(NSInteger)value + forKey:(NSString *)defaultName; +- (void)setObject:(id)value + forKey:(NSString *)defaultName; +- (nullable NSData *)dataForKey:(NSString *)defaultName; +- (NSInteger)integerForKey:(NSString *)defaultName; +- (nullable NSString *)stringForKey:(NSString *)defaultName; +- (nullable id)objectForKey:(NSString *)defaultName; +- (void)removeObjectForKey:(NSString *)defaultName; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKFileDataExtracting.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKFileDataExtracting.h new file mode 100644 index 0000000..395e08b --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKFileDataExtracting.h @@ -0,0 +1,26 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// An internal protocol used to describe a type that can extract data from a file +NS_SWIFT_NAME(FileDataExtracting) +@protocol FBSDKFileDataExtracting + ++ (nullable NSData *)dataWithContentsOfFile:(NSString *)path + options:(NSDataReadingOptions)readOptionsMask + error:(NSError *_Nullable *)errorPtr; + +@end + +@interface NSData (FileDataExtracting) +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKFileManaging.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKFileManaging.h new file mode 100644 index 0000000..17bd385 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKFileManaging.h @@ -0,0 +1,41 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// An internal protocol used to describe a file manager +NS_SWIFT_NAME(FileManaging) +@protocol FBSDKFileManaging + +- (nullable NSURL *)URLForDirectory:(NSSearchPathDirectory)directory + inDomain:(NSSearchPathDomainMask)domain + appropriateForURL:(NSURL *)url + create:(BOOL)shouldCreate + error:(NSError *_Nullable *)error; + +- (BOOL)createDirectoryAtPath:(NSString *)path + withIntermediateDirectories:(BOOL)createIntermediates + attributes:(NSDictionary *_Nullable)attributes + error:(NSError *_Nullable *)error; + +- (BOOL)fileExistsAtPath:(NSString *)path; + +- (BOOL)removeItemAtPath:(NSString *)path + error:(NSError *_Nullable *)error; + +- (NSArray *)contentsOfDirectoryAtPath:(NSString *)path + error:(NSError *_Nullable *)error; + +@end + +@interface NSFileManager (FBSDKFileManaging) +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKInfoDictionaryProviding.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKInfoDictionaryProviding.h new file mode 100644 index 0000000..f524405 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKInfoDictionaryProviding.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(InfoDictionaryProviding) +@protocol FBSDKInfoDictionaryProviding + +@property (nullable, readonly, copy) NSDictionary *infoDictionary; +@property (nullable, readonly, copy) NSString *bundleIdentifier; + +- (nullable id)objectForInfoDictionaryKey:(NSString *)key; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKLibAnalyzer.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKLibAnalyzer.h new file mode 100644 index 0000000..eb1192b --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKLibAnalyzer.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(LibAnalyzer) +@interface FBSDKLibAnalyzer : NSObject + ++ (NSDictionary *)getMethodsTable:(NSArray *)prefixes + frameworks:(NSArray *_Nullable)frameworks; ++ (nullable NSArray *)symbolicateCallstack:(NSArray *)callstack + methodMapping:(NSDictionary *)methodMapping; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKSessionProviding.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKSessionProviding.h new file mode 100644 index 0000000..494839e --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKSessionProviding.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// An internal protocol used to describe a session data task +NS_SWIFT_NAME(SessionDataTask) +@protocol FBSDKSessionDataTask + +@property (readonly) NSURLSessionTaskState state; + +- (void)resume; +- (void)cancel; + +@end + +/// An internal protocol used to describe a url session +NS_SWIFT_NAME(SessionProviding) +@protocol FBSDKSessionProviding + +- (id)dataTaskWithRequest:(NSURLRequest *)request + completionHandler:(void (^)(NSData *_Nullable data, NSURLResponse *_Nullable response, NSError *_Nullable error))completionHandler; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKTypeUtility.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKTypeUtility.h new file mode 100644 index 0000000..c0b4b61 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKTypeUtility.h @@ -0,0 +1,113 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(TypeUtility) +@interface FBSDKTypeUtility : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/// Returns an NSArray if the provided object is an NSArray, otherwise returns nil. ++ (nullable NSArray *)arrayValue:(nullable id)object; + +/** + Return an object at a given index if the index is valid, otherwise return nil + @param array The array to retrieve the object from. + @param index The index to retrieve the object from. + */ ++ (nullable id)array:(NSArray *)array objectAtIndex:(NSUInteger)index; + +/** + Adds an object to an array if it is not nil. + @param array The array to add the object to. + @param object The object to add to the array. + */ ++ (void)array:(NSMutableArray *)array addObject:(nullable id)object; + +/// Returns a BOOL if the provided object is a BOOL, otherwise returns nil. ++ (BOOL)boolValue:(id)object; + +/// Returns an NSDictionary if the provided object is an NSDictionary, otherwise returns nil. ++ (nullable NSDictionary *)dictionaryValue:(nullable id)object; + +/// Returns an object for a given key in the provided dictionary if it matches the stated type ++ (nullable id)dictionary:(NSDictionary *)dictionary objectForKey:(NSString *)key ofType:(Class)type; + +/** + Sets an object for a key in a dictionary if it is not nil. + @param dictionary The dictionary to set the value for. + @param object The value to set. + @param key The key to set the value for. + */ ++ (void)dictionary:(NSMutableDictionary *)dictionary + setObject:(nullable id)object + forKey:(nullable id)key; + +/// Checks if an object is a valid dictionary type before enumerating its keys and objects ++ (void)dictionary:(NSDictionary *)dictionary enumerateKeysAndObjectsUsingBlock:(void(NS_NOESCAPE ^)(id key, id obj, BOOL *stop))block; + +/// Returns an NSInteger if the provided object is an NSInteger, otherwise returns nil. ++ (NSInteger)integerValue:(id)object; + +/// Returns a double if the provided object is a double, otherwise returns 0. ++ (double)doubleValue:(id)object; + +/// Returns an NSNumber if the provided object is an NSNumber, otherwise returns nil. ++ (NSNumber *)numberValue:(id)object; + +/// Returns an NSString if the provided object is an NSString, otherwise returns nil. ++ (NSString *)stringValueOrNil:(id)object; + +/// Returns the provided object if it is non-null ++ (nullable id)objectValue:(id)object; + +/// Returns an NSString if the provided object can be coered to an NSString, otherwise returns nil. ++ (nullable NSString *)coercedToStringValue:(id)object; + +/// Returns an NSTimeInterval if the provided object is an NSTimeInterval, otherwise returns nil. ++ (NSTimeInterval)timeIntervalValue:(id)object; + +/// Returns an NSUInteger if the provided object is an NSUInteger, otherwise returns nil. ++ (NSUInteger)unsignedIntegerValue:(id)object; + +/// Returns an NSURL if the provided object is an NSURL; will attempt to create an NSURL if the object is an NSString; returns nil otherwise. ++ (nullable NSURL *)coercedToURLValue:(id)object; + +/* + Lightweight safety wrapper around Foundation's NSJSONSerialization:dataWithJSONObject:options:error: + + Generate JSON data from a Foundation object. + If the object will not produce valid JSON then null is returned. + Setting the NSJSONWritingPrettyPrinted option will generate JSON with whitespace designed to make the output more readable. + If that option is not set, the most compact possible JSON will be generated. + If an error occurs, the error parameter will be set and the return value will be nil. + The resulting data is a encoded in UTF-8. + */ ++ (nullable NSData *)dataWithJSONObject:(id)obj options:(NSJSONWritingOptions)opt error:(NSError **)error; + +/* + Lightweight safety wrapper around Foundation's NSJSONSerialization:JSONObjectWithData:options:error: + + Create a Foundation object from JSON data. + Set the NSJSONReadingAllowFragments option if the parser should allow top-level objects that are not an NSArray or NSDictionary. + Setting the NSJSONReadingMutableContainers option will make the parser generate mutable NSArrays and NSDictionaries. + Setting the NSJSONReadingMutableLeaves option will make the parser generate mutable NSString objects. + If an error occurs during the parse, then the error parameter will be set and the result will be nil. + The data must be in one of the 5 supported encodings listed in the JSON specification: UTF-8, UTF-16LE, UTF-16BE, UTF-32LE, UTF-32BE. + The data may or may not have a BOM. + The most efficient encoding to use for parsing is UTF-8, so if you have a choice in encoding the data passed to this method, use UTF-8. + */ ++ (nullable id)JSONObjectWithData:(NSData *)data options:(NSJSONReadingOptions)opt error:(NSError **)error; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKURLSession.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKURLSession.h new file mode 100644 index 0000000..15d8cb6 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKURLSession.h @@ -0,0 +1,38 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +@interface FBSDKURLSession : NSObject + +@property (nullable, atomic, strong) NSURLSession *session; +@property (nullable, nonatomic, weak) id delegate; +@property (nullable, nonatomic, retain) NSOperationQueue *delegateQueue; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +- (instancetype)initWithDelegate:(id)delegate + delegateQueue:(NSOperationQueue *)delegateQueue; + +- (void)executeURLRequest:(NSURLRequest *)request + completionHandler:(FBSDKURLSessionTaskBlock)handler; + +- (void)updateSessionWithBlock:(dispatch_block_t)block; + +- (void)invalidateAndCancel; + +- (BOOL)valid; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKURLSessionTask.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKURLSessionTask.h new file mode 100644 index 0000000..128efb8 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKURLSessionTask.h @@ -0,0 +1,42 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +typedef void (^ FBSDKURLSessionTaskBlock)(NSData *_Nullable responseData, + NSURLResponse *_Nullable response, + NSError *_Nullable error) +NS_SWIFT_NAME(UrlSessionTaskBlock); + +NS_SWIFT_NAME(UrlSessionTask) +@interface FBSDKURLSessionTask : NSObject + +@property (nonatomic, strong) id task; +@property (atomic, readonly) NSURLSessionTaskState state; +@property (nonatomic, readonly, strong) NSDate *requestStartDate; +@property (nullable, nonatomic, copy) FBSDKURLSessionTaskBlock handler; +@property (nonatomic, assign) uint64_t requestStartTime; +@property (nonatomic, assign) NSUInteger loggerSerialNumber; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +- (nullable instancetype)initWithRequest:(NSURLRequest *)request + fromSession:(id)session + completionHandler:(nullable FBSDKURLSessionTaskBlock)handler; + +- (void)start; +- (void)cancel; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/NSBundle+InfoDictionaryProviding.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/NSBundle+InfoDictionaryProviding.h new file mode 100644 index 0000000..a75e146 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/NSBundle+InfoDictionaryProviding.h @@ -0,0 +1,19 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Default conformance to the info dictionary providing protocol +@interface NSBundle (InfoDictionaryProviding) +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/NSUserDefaults+FBSDKDataPersisting.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/NSUserDefaults+FBSDKDataPersisting.h new file mode 100644 index 0000000..4de9320 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/NSUserDefaults+FBSDKDataPersisting.h @@ -0,0 +1,19 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Default conformance to the data persisting protocol +@interface NSUserDefaults (DataPersisting) +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Info.plist b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Info.plist new file mode 100644 index 0000000..0b85a20 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Info.plist differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Modules/module.modulemap b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Modules/module.modulemap new file mode 100644 index 0000000..b30d9eb --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Modules/module.modulemap @@ -0,0 +1,6 @@ +framework module FBSDKCoreKit_Basics { + umbrella header "FBSDKCoreKit_Basics.h" + + export * + module * { export * } +} diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/_CodeSignature/CodeDirectory b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/_CodeSignature/CodeDirectory new file mode 100644 index 0000000..a6975ac Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/_CodeSignature/CodeDirectory differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/_CodeSignature/CodeRequirements b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/_CodeSignature/CodeRequirements new file mode 100644 index 0000000..dbf9d61 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/_CodeSignature/CodeRequirements differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/_CodeSignature/CodeRequirements-1 b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/_CodeSignature/CodeRequirements-1 new file mode 100644 index 0000000..88fd45a Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/_CodeSignature/CodeRequirements-1 differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/_CodeSignature/CodeResources b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/_CodeSignature/CodeResources new file mode 100644 index 0000000..64fbc97 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/_CodeSignature/CodeResources @@ -0,0 +1,372 @@ + + + + + files + + Headers/FBSDKBase64.h + + 4WPA7ov2bAhRn5QP5eZDBYX+spk= + + Headers/FBSDKBasicUtility.h + + 3Ij+0qMFvTmtUIuRbymzor6FDzg= + + Headers/FBSDKCoreKit_Basics.h + + sdYFifkG6LjAL2gVGzVD4yiGokI= + + Headers/FBSDKCrashHandler.h + + 9qyZhKdBiv/2JqsnbqJjzs6JDp4= + + Headers/FBSDKCrashHandlerProtocol.h + + PlP4CtaRgnMKzXyn0Cd6eWV10r8= + + Headers/FBSDKCrashObserving.h + + UhJc2ZYtB2hcyXxk00KbwKbTgcc= + + Headers/FBSDKDataPersisting.h + + g8WRKHOVC7O4vDzcESc4nl6IrS8= + + Headers/FBSDKFileDataExtracting.h + + LaiRhfHoweHIv08y19Rl1bKPTwU= + + Headers/FBSDKFileManaging.h + + zEID6Ct6C8vfKzOG+NiXbiQRLBw= + + Headers/FBSDKInfoDictionaryProviding.h + + 96kTJJn3CsFC9EpCzQGrMMnxoDw= + + Headers/FBSDKLibAnalyzer.h + + Sr7GpMqIG4HmNNhoU6xSJrR36F8= + + Headers/FBSDKSessionProviding.h + + bPzFkDKe6de6K5IwqpGectQjKmQ= + + Headers/FBSDKTypeUtility.h + + qgaA6wWpYIa+hM+VZSTB1P0w8Jk= + + Headers/FBSDKURLSession.h + + lNyxKy0KC2f37l17PcuP0Gv/EDA= + + Headers/FBSDKURLSessionTask.h + + kV58WzW39iZxupFSArvSXn3K8W8= + + Headers/NSBundle+InfoDictionaryProviding.h + + LQYuP7h8HIOQcOgzp9G/wjytXFE= + + Headers/NSUserDefaults+FBSDKDataPersisting.h + + bnAslOCiggux3zXflp6F2JcibGg= + + Info.plist + + i4PjTm4kgYk0gqYXuKo7mXqNqrU= + + Modules/module.modulemap + + dAKyD+E6uMaCMsZEO7c47okujEM= + + + files2 + + Headers/FBSDKBase64.h + + hash + + 4WPA7ov2bAhRn5QP5eZDBYX+spk= + + hash2 + + ePF4YsPJC4jFg1uvNt6fb83WN1IDTijvBhGt+V0Rh/8= + + + Headers/FBSDKBasicUtility.h + + hash + + 3Ij+0qMFvTmtUIuRbymzor6FDzg= + + hash2 + + 4HOJGD9dL2BJIlaj/ej0J6MTNqBvYgF0/XrWiZtsT3E= + + + Headers/FBSDKCoreKit_Basics.h + + hash + + sdYFifkG6LjAL2gVGzVD4yiGokI= + + hash2 + + m2OfhFb3YJB9xZdoeWb3jGwtlzC+fFRL3OvxsSyJFiM= + + + Headers/FBSDKCrashHandler.h + + hash + + 9qyZhKdBiv/2JqsnbqJjzs6JDp4= + + hash2 + + IVTN0V/IdMwICexRs9MiG/lIQQLOiqU/aXDP+5QfgDY= + + + Headers/FBSDKCrashHandlerProtocol.h + + hash + + PlP4CtaRgnMKzXyn0Cd6eWV10r8= + + hash2 + + woEHrSFdQvUOUdlyH0JGdVNem49byRaZAMw+19Pe+Sc= + + + Headers/FBSDKCrashObserving.h + + hash + + UhJc2ZYtB2hcyXxk00KbwKbTgcc= + + hash2 + + tO6F4Bbijxuct9m9xB8pcqmAlnyPPJ0EqbN+Z8/EM1w= + + + Headers/FBSDKDataPersisting.h + + hash + + g8WRKHOVC7O4vDzcESc4nl6IrS8= + + hash2 + + U4CbBRkZKqUmvVM6czJbCCMQnHOikLVo+sln0V5PwpU= + + + Headers/FBSDKFileDataExtracting.h + + hash + + LaiRhfHoweHIv08y19Rl1bKPTwU= + + hash2 + + No8SNuna5s6hBe6z7rrhuaOccAq19c7TgMxr/tTH/BM= + + + Headers/FBSDKFileManaging.h + + hash + + zEID6Ct6C8vfKzOG+NiXbiQRLBw= + + hash2 + + VciJQtgUlelDAY1xRcTmKgt6cQknm/5hZEuuAr/BX4Y= + + + Headers/FBSDKInfoDictionaryProviding.h + + hash + + 96kTJJn3CsFC9EpCzQGrMMnxoDw= + + hash2 + + r1HYofHvcKSm6OwMFb0NMlU3HWk3NQRE6wffAJf1wzY= + + + Headers/FBSDKLibAnalyzer.h + + hash + + Sr7GpMqIG4HmNNhoU6xSJrR36F8= + + hash2 + + vcTMWhsIb/z29oxTpsnEfTWCnlgLS7qlPQuTTREW6Ek= + + + Headers/FBSDKSessionProviding.h + + hash + + bPzFkDKe6de6K5IwqpGectQjKmQ= + + hash2 + + 1EO8Q16A83EsCIlaeWEa1ly8UaLgWSEMtrwrO9dDWY4= + + + Headers/FBSDKTypeUtility.h + + hash + + qgaA6wWpYIa+hM+VZSTB1P0w8Jk= + + hash2 + + Xm2cMC3iy1kvQn8EXXkZ0eKLNRVCmSlSbefuvvTCTTs= + + + Headers/FBSDKURLSession.h + + hash + + lNyxKy0KC2f37l17PcuP0Gv/EDA= + + hash2 + + 5L3MvrHaYDNtK2zrxdEtZNCRnhTQHNM0bvoh0pAfKg0= + + + Headers/FBSDKURLSessionTask.h + + hash + + kV58WzW39iZxupFSArvSXn3K8W8= + + hash2 + + p05rvhLSmlFGAIUL94Ow7U6/25AfiIq3zBQkI19aMw4= + + + Headers/NSBundle+InfoDictionaryProviding.h + + hash + + LQYuP7h8HIOQcOgzp9G/wjytXFE= + + hash2 + + prKkDnp04YVMOPQH+h/YUPwUEFJuHKQbMxiL1PkGRYM= + + + Headers/NSUserDefaults+FBSDKDataPersisting.h + + hash + + bnAslOCiggux3zXflp6F2JcibGg= + + hash2 + + F0axQ9q1u74YAyMfIa9uyxde6rbjKmxC4wxD6M00k0Y= + + + Modules/module.modulemap + + hash + + dAKyD+E6uMaCMsZEO7c47okujEM= + + hash2 + + Ax5EJgz2ae9iwvEaJiJhRzHL4ePWe4qZhIaEdKJk27I= + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/_CodeSignature/CodeSignature b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/_CodeSignature/CodeSignature new file mode 100644 index 0000000..e69de29 diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/FBSDKCoreKit_Basics b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/FBSDKCoreKit_Basics new file mode 100644 index 0000000..8304cf1 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/FBSDKCoreKit_Basics differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKBase64.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKBase64.h new file mode 100644 index 0000000..b8b3a02 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKBase64.h @@ -0,0 +1,46 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(Base64) +@interface FBSDKBase64 : NSObject + +/** + Decodes a base-64 encoded string. + @param string The base-64 encoded string. + @return NSData containing the decoded bytes. + */ ++ (nullable NSData *)decodeAsData:(nullable NSString *)string; + +/** + Decodes a base-64 encoded string into a string. + @param string The base-64 encoded string. + @return NSString with the decoded UTF-8 value. + */ ++ (nullable NSString *)decodeAsString:(nullable NSString *)string; + +/** + Encodes string into a base-64 representation. + @param string The string to be encoded. + @return The base-64 encoded string. + */ ++ (nullable NSString *)encodeString:(nullable NSString *)string; + +/** + Encodes URL string into a base-64 representation. + @param base64Url The URL string to be encoded. + @return The base-64 encoded string. + */ ++ (NSString *)base64FromBase64Url:(NSString *)base64Url; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKBasicUtility.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKBasicUtility.h new file mode 100644 index 0000000..4c5de41 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKBasicUtility.h @@ -0,0 +1,121 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Dispatches the specified block on the main thread. + @param block the block to dispatch + */ +extern void fb_dispatch_on_main_thread(dispatch_block_t block); + +/** + Dispatches the specified block on the default thread. + @param block the block to dispatch + */ +extern void fb_dispatch_on_default_thread(dispatch_block_t block); + +/** + Describes the callback for appLinkFromURLInBackground. + @param object the FBSDKAppLink representing the deferred App Link + @param stop the error during the request, if any + */ +typedef id _Nullable (^ FBSDKInvalidObjectHandler)(id object, BOOL *stop) +NS_SWIFT_NAME(InvalidObjectHandler); + +NS_SWIFT_NAME(BasicUtility) +@interface FBSDKBasicUtility : NSObject + +/** + Converts an object into a JSON string. + @param object The object to convert to JSON. + @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. + @param invalidObjectHandler Handles objects that are invalid, returning a replacement value or nil to ignore. + @return A JSON string or nil if the object cannot be converted to JSON. + */ ++ (nullable NSString *)JSONStringForObject:(id)object + error:(NSError *__autoreleasing *)errorRef + invalidObjectHandler:(nullable FBSDKInvalidObjectHandler)invalidObjectHandler; + +/** + Sets an object for a key in a dictionary if it is not nil. + @param dictionary The dictionary to set the value for. + @param object The value to set after serializing to JSON. + @param key The key to set the value for. + @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. + @return NO if an error occurred while serializing the object, otherwise YES. + */ ++ (BOOL) dictionary:(NSMutableDictionary *)dictionary + setJSONStringForObject:(id)object + forKey:(id)key + error:(NSError *__autoreleasing *)errorRef; + +/** + Converts a JSON string into an object + @param string The JSON string to convert. + @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. + @return An NSDictionary, NSArray, NSString or NSNumber containing the object representation, or nil if the string + cannot be converted. + */ ++ (nullable id)objectForJSONString:(NSString *)string error:(NSError *__autoreleasing *)errorRef; + +/** + 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. + @param invalidObjectHandler Handles objects that are invalid, returning a replacement value or nil to ignore. + @return Query string representation of the parameters. + */ ++ (nullable NSString *)queryStringWithDictionary:(NSDictionary *)dictionary + error:(NSError *__autoreleasing *)errorRef + invalidObjectHandler:(nullable FBSDKInvalidObjectHandler)invalidObjectHandler; + +/** + Converts simple value types to the string equivalent for serializing to a request query or body. + @param value The value to be converted. + @return The value that may have been converted if able (otherwise the input param). + */ ++ (id)convertRequestValue:(id)value; + +/** + Encodes a value for an URL. + @param value The value to encode. + @return The encoded value. + */ ++ (NSString *)URLEncode:(NSString *)value; + +/** + 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; + +/** + Decodes a value from an URL. + @param value The value to decode. + @return The decoded value. + */ ++ (NSString *)URLDecode:(NSString *)value; + +/** + Gzip data with default compression level if possible. + @param data The raw data. + @return nil if unable to gzip the data, otherwise gzipped data. + */ ++ (nullable NSData *)gzip:(NSData *)data; + ++ (NSString *)anonymousID; ++ (NSString *)persistenceFilePath:(NSString *)filename; ++ (nullable NSString *)SHA256Hash:(nullable NSObject *)input; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKCoreKit_Basics.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKCoreKit_Basics.h new file mode 100644 index 0000000..4bc09b7 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKCoreKit_Basics.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashHandler.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashHandler.h new file mode 100644 index 0000000..29f004a --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashHandler.h @@ -0,0 +1,34 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(CrashHandler) +@interface FBSDKCrashHandler : NSObject + +@property (class, nonatomic, readonly) FBSDKCrashHandler *shared; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + ++ (void)disable; ++ (void)addObserver:(id)observer; ++ (void)removeObserver:(id)observer; ++ (void)clearCrashReportFiles; ++ (NSString *)getFBSDKVersion; + +- (void)disable; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashHandlerProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashHandlerProtocol.h new file mode 100644 index 0000000..9335e7d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashHandlerProtocol.h @@ -0,0 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +NS_ASSUME_NONNULL_BEGIN + +@protocol FBSDKCrashObserving; + +NS_SWIFT_NAME(CrashHandlerProtocol) +@protocol FBSDKCrashHandler + +- (void)addObserver:(id)observer; +- (void)clearCrashReportFiles; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashObserving.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashObserving.h new file mode 100644 index 0000000..230ac9e --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashObserving.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(CrashObserving) +@protocol FBSDKCrashObserving + +@property (nonatomic, copy) NSArray *prefixes; +@property (nullable, nonatomic, copy) NSArray *frameworks; + +- (void)didReceiveCrashLogs:(NSArray *> *)crashLogs; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKDataPersisting.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKDataPersisting.h new file mode 100644 index 0000000..45a949e --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKDataPersisting.h @@ -0,0 +1,29 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// An internal protocol used to describe a simple data store +NS_SWIFT_NAME(DataPersisting) +@protocol FBSDKDataPersisting + +- (void)setInteger:(NSInteger)value + forKey:(NSString *)defaultName; +- (void)setObject:(id)value + forKey:(NSString *)defaultName; +- (nullable NSData *)dataForKey:(NSString *)defaultName; +- (NSInteger)integerForKey:(NSString *)defaultName; +- (nullable NSString *)stringForKey:(NSString *)defaultName; +- (nullable id)objectForKey:(NSString *)defaultName; +- (void)removeObjectForKey:(NSString *)defaultName; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKFileDataExtracting.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKFileDataExtracting.h new file mode 100644 index 0000000..395e08b --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKFileDataExtracting.h @@ -0,0 +1,26 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// An internal protocol used to describe a type that can extract data from a file +NS_SWIFT_NAME(FileDataExtracting) +@protocol FBSDKFileDataExtracting + ++ (nullable NSData *)dataWithContentsOfFile:(NSString *)path + options:(NSDataReadingOptions)readOptionsMask + error:(NSError *_Nullable *)errorPtr; + +@end + +@interface NSData (FileDataExtracting) +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKFileManaging.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKFileManaging.h new file mode 100644 index 0000000..17bd385 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKFileManaging.h @@ -0,0 +1,41 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// An internal protocol used to describe a file manager +NS_SWIFT_NAME(FileManaging) +@protocol FBSDKFileManaging + +- (nullable NSURL *)URLForDirectory:(NSSearchPathDirectory)directory + inDomain:(NSSearchPathDomainMask)domain + appropriateForURL:(NSURL *)url + create:(BOOL)shouldCreate + error:(NSError *_Nullable *)error; + +- (BOOL)createDirectoryAtPath:(NSString *)path + withIntermediateDirectories:(BOOL)createIntermediates + attributes:(NSDictionary *_Nullable)attributes + error:(NSError *_Nullable *)error; + +- (BOOL)fileExistsAtPath:(NSString *)path; + +- (BOOL)removeItemAtPath:(NSString *)path + error:(NSError *_Nullable *)error; + +- (NSArray *)contentsOfDirectoryAtPath:(NSString *)path + error:(NSError *_Nullable *)error; + +@end + +@interface NSFileManager (FBSDKFileManaging) +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKInfoDictionaryProviding.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKInfoDictionaryProviding.h new file mode 100644 index 0000000..f524405 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKInfoDictionaryProviding.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(InfoDictionaryProviding) +@protocol FBSDKInfoDictionaryProviding + +@property (nullable, readonly, copy) NSDictionary *infoDictionary; +@property (nullable, readonly, copy) NSString *bundleIdentifier; + +- (nullable id)objectForInfoDictionaryKey:(NSString *)key; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKLibAnalyzer.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKLibAnalyzer.h new file mode 100644 index 0000000..eb1192b --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKLibAnalyzer.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(LibAnalyzer) +@interface FBSDKLibAnalyzer : NSObject + ++ (NSDictionary *)getMethodsTable:(NSArray *)prefixes + frameworks:(NSArray *_Nullable)frameworks; ++ (nullable NSArray *)symbolicateCallstack:(NSArray *)callstack + methodMapping:(NSDictionary *)methodMapping; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKSessionProviding.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKSessionProviding.h new file mode 100644 index 0000000..494839e --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKSessionProviding.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// An internal protocol used to describe a session data task +NS_SWIFT_NAME(SessionDataTask) +@protocol FBSDKSessionDataTask + +@property (readonly) NSURLSessionTaskState state; + +- (void)resume; +- (void)cancel; + +@end + +/// An internal protocol used to describe a url session +NS_SWIFT_NAME(SessionProviding) +@protocol FBSDKSessionProviding + +- (id)dataTaskWithRequest:(NSURLRequest *)request + completionHandler:(void (^)(NSData *_Nullable data, NSURLResponse *_Nullable response, NSError *_Nullable error))completionHandler; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKTypeUtility.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKTypeUtility.h new file mode 100644 index 0000000..c0b4b61 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKTypeUtility.h @@ -0,0 +1,113 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(TypeUtility) +@interface FBSDKTypeUtility : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/// Returns an NSArray if the provided object is an NSArray, otherwise returns nil. ++ (nullable NSArray *)arrayValue:(nullable id)object; + +/** + Return an object at a given index if the index is valid, otherwise return nil + @param array The array to retrieve the object from. + @param index The index to retrieve the object from. + */ ++ (nullable id)array:(NSArray *)array objectAtIndex:(NSUInteger)index; + +/** + Adds an object to an array if it is not nil. + @param array The array to add the object to. + @param object The object to add to the array. + */ ++ (void)array:(NSMutableArray *)array addObject:(nullable id)object; + +/// Returns a BOOL if the provided object is a BOOL, otherwise returns nil. ++ (BOOL)boolValue:(id)object; + +/// Returns an NSDictionary if the provided object is an NSDictionary, otherwise returns nil. ++ (nullable NSDictionary *)dictionaryValue:(nullable id)object; + +/// Returns an object for a given key in the provided dictionary if it matches the stated type ++ (nullable id)dictionary:(NSDictionary *)dictionary objectForKey:(NSString *)key ofType:(Class)type; + +/** + Sets an object for a key in a dictionary if it is not nil. + @param dictionary The dictionary to set the value for. + @param object The value to set. + @param key The key to set the value for. + */ ++ (void)dictionary:(NSMutableDictionary *)dictionary + setObject:(nullable id)object + forKey:(nullable id)key; + +/// Checks if an object is a valid dictionary type before enumerating its keys and objects ++ (void)dictionary:(NSDictionary *)dictionary enumerateKeysAndObjectsUsingBlock:(void(NS_NOESCAPE ^)(id key, id obj, BOOL *stop))block; + +/// Returns an NSInteger if the provided object is an NSInteger, otherwise returns nil. ++ (NSInteger)integerValue:(id)object; + +/// Returns a double if the provided object is a double, otherwise returns 0. ++ (double)doubleValue:(id)object; + +/// Returns an NSNumber if the provided object is an NSNumber, otherwise returns nil. ++ (NSNumber *)numberValue:(id)object; + +/// Returns an NSString if the provided object is an NSString, otherwise returns nil. ++ (NSString *)stringValueOrNil:(id)object; + +/// Returns the provided object if it is non-null ++ (nullable id)objectValue:(id)object; + +/// Returns an NSString if the provided object can be coered to an NSString, otherwise returns nil. ++ (nullable NSString *)coercedToStringValue:(id)object; + +/// Returns an NSTimeInterval if the provided object is an NSTimeInterval, otherwise returns nil. ++ (NSTimeInterval)timeIntervalValue:(id)object; + +/// Returns an NSUInteger if the provided object is an NSUInteger, otherwise returns nil. ++ (NSUInteger)unsignedIntegerValue:(id)object; + +/// Returns an NSURL if the provided object is an NSURL; will attempt to create an NSURL if the object is an NSString; returns nil otherwise. ++ (nullable NSURL *)coercedToURLValue:(id)object; + +/* + Lightweight safety wrapper around Foundation's NSJSONSerialization:dataWithJSONObject:options:error: + + Generate JSON data from a Foundation object. + If the object will not produce valid JSON then null is returned. + Setting the NSJSONWritingPrettyPrinted option will generate JSON with whitespace designed to make the output more readable. + If that option is not set, the most compact possible JSON will be generated. + If an error occurs, the error parameter will be set and the return value will be nil. + The resulting data is a encoded in UTF-8. + */ ++ (nullable NSData *)dataWithJSONObject:(id)obj options:(NSJSONWritingOptions)opt error:(NSError **)error; + +/* + Lightweight safety wrapper around Foundation's NSJSONSerialization:JSONObjectWithData:options:error: + + Create a Foundation object from JSON data. + Set the NSJSONReadingAllowFragments option if the parser should allow top-level objects that are not an NSArray or NSDictionary. + Setting the NSJSONReadingMutableContainers option will make the parser generate mutable NSArrays and NSDictionaries. + Setting the NSJSONReadingMutableLeaves option will make the parser generate mutable NSString objects. + If an error occurs during the parse, then the error parameter will be set and the result will be nil. + The data must be in one of the 5 supported encodings listed in the JSON specification: UTF-8, UTF-16LE, UTF-16BE, UTF-32LE, UTF-32BE. + The data may or may not have a BOM. + The most efficient encoding to use for parsing is UTF-8, so if you have a choice in encoding the data passed to this method, use UTF-8. + */ ++ (nullable id)JSONObjectWithData:(NSData *)data options:(NSJSONReadingOptions)opt error:(NSError **)error; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKURLSession.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKURLSession.h new file mode 100644 index 0000000..15d8cb6 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKURLSession.h @@ -0,0 +1,38 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +@interface FBSDKURLSession : NSObject + +@property (nullable, atomic, strong) NSURLSession *session; +@property (nullable, nonatomic, weak) id delegate; +@property (nullable, nonatomic, retain) NSOperationQueue *delegateQueue; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +- (instancetype)initWithDelegate:(id)delegate + delegateQueue:(NSOperationQueue *)delegateQueue; + +- (void)executeURLRequest:(NSURLRequest *)request + completionHandler:(FBSDKURLSessionTaskBlock)handler; + +- (void)updateSessionWithBlock:(dispatch_block_t)block; + +- (void)invalidateAndCancel; + +- (BOOL)valid; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKURLSessionTask.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKURLSessionTask.h new file mode 100644 index 0000000..128efb8 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/FBSDKURLSessionTask.h @@ -0,0 +1,42 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +typedef void (^ FBSDKURLSessionTaskBlock)(NSData *_Nullable responseData, + NSURLResponse *_Nullable response, + NSError *_Nullable error) +NS_SWIFT_NAME(UrlSessionTaskBlock); + +NS_SWIFT_NAME(UrlSessionTask) +@interface FBSDKURLSessionTask : NSObject + +@property (nonatomic, strong) id task; +@property (atomic, readonly) NSURLSessionTaskState state; +@property (nonatomic, readonly, strong) NSDate *requestStartDate; +@property (nullable, nonatomic, copy) FBSDKURLSessionTaskBlock handler; +@property (nonatomic, assign) uint64_t requestStartTime; +@property (nonatomic, assign) NSUInteger loggerSerialNumber; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +- (nullable instancetype)initWithRequest:(NSURLRequest *)request + fromSession:(id)session + completionHandler:(nullable FBSDKURLSessionTaskBlock)handler; + +- (void)start; +- (void)cancel; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/NSBundle+InfoDictionaryProviding.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/NSBundle+InfoDictionaryProviding.h new file mode 100644 index 0000000..a75e146 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/NSBundle+InfoDictionaryProviding.h @@ -0,0 +1,19 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Default conformance to the info dictionary providing protocol +@interface NSBundle (InfoDictionaryProviding) +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/NSUserDefaults+FBSDKDataPersisting.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/NSUserDefaults+FBSDKDataPersisting.h new file mode 100644 index 0000000..4de9320 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Headers/NSUserDefaults+FBSDKDataPersisting.h @@ -0,0 +1,19 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Default conformance to the data persisting protocol +@interface NSUserDefaults (DataPersisting) +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Info.plist b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Info.plist new file mode 100644 index 0000000..0c378c5 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Info.plist differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Modules/module.modulemap b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Modules/module.modulemap new file mode 100644 index 0000000..b30d9eb --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64/FBSDKCoreKit_Basics.framework/Modules/module.modulemap @@ -0,0 +1,6 @@ +framework module FBSDKCoreKit_Basics { + umbrella header "FBSDKCoreKit_Basics.h" + + export * + module * { export * } +} diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/FBSDKCoreKit_Basics b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/FBSDKCoreKit_Basics new file mode 100644 index 0000000..bf6cce0 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/FBSDKCoreKit_Basics differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKBase64.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKBase64.h new file mode 100644 index 0000000..b8b3a02 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKBase64.h @@ -0,0 +1,46 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(Base64) +@interface FBSDKBase64 : NSObject + +/** + Decodes a base-64 encoded string. + @param string The base-64 encoded string. + @return NSData containing the decoded bytes. + */ ++ (nullable NSData *)decodeAsData:(nullable NSString *)string; + +/** + Decodes a base-64 encoded string into a string. + @param string The base-64 encoded string. + @return NSString with the decoded UTF-8 value. + */ ++ (nullable NSString *)decodeAsString:(nullable NSString *)string; + +/** + Encodes string into a base-64 representation. + @param string The string to be encoded. + @return The base-64 encoded string. + */ ++ (nullable NSString *)encodeString:(nullable NSString *)string; + +/** + Encodes URL string into a base-64 representation. + @param base64Url The URL string to be encoded. + @return The base-64 encoded string. + */ ++ (NSString *)base64FromBase64Url:(NSString *)base64Url; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKBasicUtility.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKBasicUtility.h new file mode 100644 index 0000000..4c5de41 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKBasicUtility.h @@ -0,0 +1,121 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Dispatches the specified block on the main thread. + @param block the block to dispatch + */ +extern void fb_dispatch_on_main_thread(dispatch_block_t block); + +/** + Dispatches the specified block on the default thread. + @param block the block to dispatch + */ +extern void fb_dispatch_on_default_thread(dispatch_block_t block); + +/** + Describes the callback for appLinkFromURLInBackground. + @param object the FBSDKAppLink representing the deferred App Link + @param stop the error during the request, if any + */ +typedef id _Nullable (^ FBSDKInvalidObjectHandler)(id object, BOOL *stop) +NS_SWIFT_NAME(InvalidObjectHandler); + +NS_SWIFT_NAME(BasicUtility) +@interface FBSDKBasicUtility : NSObject + +/** + Converts an object into a JSON string. + @param object The object to convert to JSON. + @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. + @param invalidObjectHandler Handles objects that are invalid, returning a replacement value or nil to ignore. + @return A JSON string or nil if the object cannot be converted to JSON. + */ ++ (nullable NSString *)JSONStringForObject:(id)object + error:(NSError *__autoreleasing *)errorRef + invalidObjectHandler:(nullable FBSDKInvalidObjectHandler)invalidObjectHandler; + +/** + Sets an object for a key in a dictionary if it is not nil. + @param dictionary The dictionary to set the value for. + @param object The value to set after serializing to JSON. + @param key The key to set the value for. + @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. + @return NO if an error occurred while serializing the object, otherwise YES. + */ ++ (BOOL) dictionary:(NSMutableDictionary *)dictionary + setJSONStringForObject:(id)object + forKey:(id)key + error:(NSError *__autoreleasing *)errorRef; + +/** + Converts a JSON string into an object + @param string The JSON string to convert. + @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. + @return An NSDictionary, NSArray, NSString or NSNumber containing the object representation, or nil if the string + cannot be converted. + */ ++ (nullable id)objectForJSONString:(NSString *)string error:(NSError *__autoreleasing *)errorRef; + +/** + 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. + @param invalidObjectHandler Handles objects that are invalid, returning a replacement value or nil to ignore. + @return Query string representation of the parameters. + */ ++ (nullable NSString *)queryStringWithDictionary:(NSDictionary *)dictionary + error:(NSError *__autoreleasing *)errorRef + invalidObjectHandler:(nullable FBSDKInvalidObjectHandler)invalidObjectHandler; + +/** + Converts simple value types to the string equivalent for serializing to a request query or body. + @param value The value to be converted. + @return The value that may have been converted if able (otherwise the input param). + */ ++ (id)convertRequestValue:(id)value; + +/** + Encodes a value for an URL. + @param value The value to encode. + @return The encoded value. + */ ++ (NSString *)URLEncode:(NSString *)value; + +/** + 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; + +/** + Decodes a value from an URL. + @param value The value to decode. + @return The decoded value. + */ ++ (NSString *)URLDecode:(NSString *)value; + +/** + Gzip data with default compression level if possible. + @param data The raw data. + @return nil if unable to gzip the data, otherwise gzipped data. + */ ++ (nullable NSData *)gzip:(NSData *)data; + ++ (NSString *)anonymousID; ++ (NSString *)persistenceFilePath:(NSString *)filename; ++ (nullable NSString *)SHA256Hash:(nullable NSObject *)input; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKCoreKit_Basics.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKCoreKit_Basics.h new file mode 100644 index 0000000..4bc09b7 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKCoreKit_Basics.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashHandler.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashHandler.h new file mode 100644 index 0000000..29f004a --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashHandler.h @@ -0,0 +1,34 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(CrashHandler) +@interface FBSDKCrashHandler : NSObject + +@property (class, nonatomic, readonly) FBSDKCrashHandler *shared; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + ++ (void)disable; ++ (void)addObserver:(id)observer; ++ (void)removeObserver:(id)observer; ++ (void)clearCrashReportFiles; ++ (NSString *)getFBSDKVersion; + +- (void)disable; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashHandlerProtocol.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashHandlerProtocol.h new file mode 100644 index 0000000..9335e7d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashHandlerProtocol.h @@ -0,0 +1,21 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +NS_ASSUME_NONNULL_BEGIN + +@protocol FBSDKCrashObserving; + +NS_SWIFT_NAME(CrashHandlerProtocol) +@protocol FBSDKCrashHandler + +- (void)addObserver:(id)observer; +- (void)clearCrashReportFiles; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashObserving.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashObserving.h new file mode 100644 index 0000000..230ac9e --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKCrashObserving.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(CrashObserving) +@protocol FBSDKCrashObserving + +@property (nonatomic, copy) NSArray *prefixes; +@property (nullable, nonatomic, copy) NSArray *frameworks; + +- (void)didReceiveCrashLogs:(NSArray *> *)crashLogs; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKDataPersisting.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKDataPersisting.h new file mode 100644 index 0000000..45a949e --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKDataPersisting.h @@ -0,0 +1,29 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// An internal protocol used to describe a simple data store +NS_SWIFT_NAME(DataPersisting) +@protocol FBSDKDataPersisting + +- (void)setInteger:(NSInteger)value + forKey:(NSString *)defaultName; +- (void)setObject:(id)value + forKey:(NSString *)defaultName; +- (nullable NSData *)dataForKey:(NSString *)defaultName; +- (NSInteger)integerForKey:(NSString *)defaultName; +- (nullable NSString *)stringForKey:(NSString *)defaultName; +- (nullable id)objectForKey:(NSString *)defaultName; +- (void)removeObjectForKey:(NSString *)defaultName; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKFileDataExtracting.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKFileDataExtracting.h new file mode 100644 index 0000000..395e08b --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKFileDataExtracting.h @@ -0,0 +1,26 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// An internal protocol used to describe a type that can extract data from a file +NS_SWIFT_NAME(FileDataExtracting) +@protocol FBSDKFileDataExtracting + ++ (nullable NSData *)dataWithContentsOfFile:(NSString *)path + options:(NSDataReadingOptions)readOptionsMask + error:(NSError *_Nullable *)errorPtr; + +@end + +@interface NSData (FileDataExtracting) +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKFileManaging.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKFileManaging.h new file mode 100644 index 0000000..17bd385 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKFileManaging.h @@ -0,0 +1,41 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// An internal protocol used to describe a file manager +NS_SWIFT_NAME(FileManaging) +@protocol FBSDKFileManaging + +- (nullable NSURL *)URLForDirectory:(NSSearchPathDirectory)directory + inDomain:(NSSearchPathDomainMask)domain + appropriateForURL:(NSURL *)url + create:(BOOL)shouldCreate + error:(NSError *_Nullable *)error; + +- (BOOL)createDirectoryAtPath:(NSString *)path + withIntermediateDirectories:(BOOL)createIntermediates + attributes:(NSDictionary *_Nullable)attributes + error:(NSError *_Nullable *)error; + +- (BOOL)fileExistsAtPath:(NSString *)path; + +- (BOOL)removeItemAtPath:(NSString *)path + error:(NSError *_Nullable *)error; + +- (NSArray *)contentsOfDirectoryAtPath:(NSString *)path + error:(NSError *_Nullable *)error; + +@end + +@interface NSFileManager (FBSDKFileManaging) +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKInfoDictionaryProviding.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKInfoDictionaryProviding.h new file mode 100644 index 0000000..f524405 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKInfoDictionaryProviding.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(InfoDictionaryProviding) +@protocol FBSDKInfoDictionaryProviding + +@property (nullable, readonly, copy) NSDictionary *infoDictionary; +@property (nullable, readonly, copy) NSString *bundleIdentifier; + +- (nullable id)objectForInfoDictionaryKey:(NSString *)key; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKLibAnalyzer.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKLibAnalyzer.h new file mode 100644 index 0000000..eb1192b --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKLibAnalyzer.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(LibAnalyzer) +@interface FBSDKLibAnalyzer : NSObject + ++ (NSDictionary *)getMethodsTable:(NSArray *)prefixes + frameworks:(NSArray *_Nullable)frameworks; ++ (nullable NSArray *)symbolicateCallstack:(NSArray *)callstack + methodMapping:(NSDictionary *)methodMapping; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKSessionProviding.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKSessionProviding.h new file mode 100644 index 0000000..494839e --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKSessionProviding.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// An internal protocol used to describe a session data task +NS_SWIFT_NAME(SessionDataTask) +@protocol FBSDKSessionDataTask + +@property (readonly) NSURLSessionTaskState state; + +- (void)resume; +- (void)cancel; + +@end + +/// An internal protocol used to describe a url session +NS_SWIFT_NAME(SessionProviding) +@protocol FBSDKSessionProviding + +- (id)dataTaskWithRequest:(NSURLRequest *)request + completionHandler:(void (^)(NSData *_Nullable data, NSURLResponse *_Nullable response, NSError *_Nullable error))completionHandler; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKTypeUtility.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKTypeUtility.h new file mode 100644 index 0000000..c0b4b61 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKTypeUtility.h @@ -0,0 +1,113 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(TypeUtility) +@interface FBSDKTypeUtility : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/// Returns an NSArray if the provided object is an NSArray, otherwise returns nil. ++ (nullable NSArray *)arrayValue:(nullable id)object; + +/** + Return an object at a given index if the index is valid, otherwise return nil + @param array The array to retrieve the object from. + @param index The index to retrieve the object from. + */ ++ (nullable id)array:(NSArray *)array objectAtIndex:(NSUInteger)index; + +/** + Adds an object to an array if it is not nil. + @param array The array to add the object to. + @param object The object to add to the array. + */ ++ (void)array:(NSMutableArray *)array addObject:(nullable id)object; + +/// Returns a BOOL if the provided object is a BOOL, otherwise returns nil. ++ (BOOL)boolValue:(id)object; + +/// Returns an NSDictionary if the provided object is an NSDictionary, otherwise returns nil. ++ (nullable NSDictionary *)dictionaryValue:(nullable id)object; + +/// Returns an object for a given key in the provided dictionary if it matches the stated type ++ (nullable id)dictionary:(NSDictionary *)dictionary objectForKey:(NSString *)key ofType:(Class)type; + +/** + Sets an object for a key in a dictionary if it is not nil. + @param dictionary The dictionary to set the value for. + @param object The value to set. + @param key The key to set the value for. + */ ++ (void)dictionary:(NSMutableDictionary *)dictionary + setObject:(nullable id)object + forKey:(nullable id)key; + +/// Checks if an object is a valid dictionary type before enumerating its keys and objects ++ (void)dictionary:(NSDictionary *)dictionary enumerateKeysAndObjectsUsingBlock:(void(NS_NOESCAPE ^)(id key, id obj, BOOL *stop))block; + +/// Returns an NSInteger if the provided object is an NSInteger, otherwise returns nil. ++ (NSInteger)integerValue:(id)object; + +/// Returns a double if the provided object is a double, otherwise returns 0. ++ (double)doubleValue:(id)object; + +/// Returns an NSNumber if the provided object is an NSNumber, otherwise returns nil. ++ (NSNumber *)numberValue:(id)object; + +/// Returns an NSString if the provided object is an NSString, otherwise returns nil. ++ (NSString *)stringValueOrNil:(id)object; + +/// Returns the provided object if it is non-null ++ (nullable id)objectValue:(id)object; + +/// Returns an NSString if the provided object can be coered to an NSString, otherwise returns nil. ++ (nullable NSString *)coercedToStringValue:(id)object; + +/// Returns an NSTimeInterval if the provided object is an NSTimeInterval, otherwise returns nil. ++ (NSTimeInterval)timeIntervalValue:(id)object; + +/// Returns an NSUInteger if the provided object is an NSUInteger, otherwise returns nil. ++ (NSUInteger)unsignedIntegerValue:(id)object; + +/// Returns an NSURL if the provided object is an NSURL; will attempt to create an NSURL if the object is an NSString; returns nil otherwise. ++ (nullable NSURL *)coercedToURLValue:(id)object; + +/* + Lightweight safety wrapper around Foundation's NSJSONSerialization:dataWithJSONObject:options:error: + + Generate JSON data from a Foundation object. + If the object will not produce valid JSON then null is returned. + Setting the NSJSONWritingPrettyPrinted option will generate JSON with whitespace designed to make the output more readable. + If that option is not set, the most compact possible JSON will be generated. + If an error occurs, the error parameter will be set and the return value will be nil. + The resulting data is a encoded in UTF-8. + */ ++ (nullable NSData *)dataWithJSONObject:(id)obj options:(NSJSONWritingOptions)opt error:(NSError **)error; + +/* + Lightweight safety wrapper around Foundation's NSJSONSerialization:JSONObjectWithData:options:error: + + Create a Foundation object from JSON data. + Set the NSJSONReadingAllowFragments option if the parser should allow top-level objects that are not an NSArray or NSDictionary. + Setting the NSJSONReadingMutableContainers option will make the parser generate mutable NSArrays and NSDictionaries. + Setting the NSJSONReadingMutableLeaves option will make the parser generate mutable NSString objects. + If an error occurs during the parse, then the error parameter will be set and the result will be nil. + The data must be in one of the 5 supported encodings listed in the JSON specification: UTF-8, UTF-16LE, UTF-16BE, UTF-32LE, UTF-32BE. + The data may or may not have a BOM. + The most efficient encoding to use for parsing is UTF-8, so if you have a choice in encoding the data passed to this method, use UTF-8. + */ ++ (nullable id)JSONObjectWithData:(NSData *)data options:(NSJSONReadingOptions)opt error:(NSError **)error; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKURLSession.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKURLSession.h new file mode 100644 index 0000000..15d8cb6 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKURLSession.h @@ -0,0 +1,38 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +@interface FBSDKURLSession : NSObject + +@property (nullable, atomic, strong) NSURLSession *session; +@property (nullable, nonatomic, weak) id delegate; +@property (nullable, nonatomic, retain) NSOperationQueue *delegateQueue; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +- (instancetype)initWithDelegate:(id)delegate + delegateQueue:(NSOperationQueue *)delegateQueue; + +- (void)executeURLRequest:(NSURLRequest *)request + completionHandler:(FBSDKURLSessionTaskBlock)handler; + +- (void)updateSessionWithBlock:(dispatch_block_t)block; + +- (void)invalidateAndCancel; + +- (BOOL)valid; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKURLSessionTask.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKURLSessionTask.h new file mode 100644 index 0000000..128efb8 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/FBSDKURLSessionTask.h @@ -0,0 +1,42 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +typedef void (^ FBSDKURLSessionTaskBlock)(NSData *_Nullable responseData, + NSURLResponse *_Nullable response, + NSError *_Nullable error) +NS_SWIFT_NAME(UrlSessionTaskBlock); + +NS_SWIFT_NAME(UrlSessionTask) +@interface FBSDKURLSessionTask : NSObject + +@property (nonatomic, strong) id task; +@property (atomic, readonly) NSURLSessionTaskState state; +@property (nonatomic, readonly, strong) NSDate *requestStartDate; +@property (nullable, nonatomic, copy) FBSDKURLSessionTaskBlock handler; +@property (nonatomic, assign) uint64_t requestStartTime; +@property (nonatomic, assign) NSUInteger loggerSerialNumber; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +- (nullable instancetype)initWithRequest:(NSURLRequest *)request + fromSession:(id)session + completionHandler:(nullable FBSDKURLSessionTaskBlock)handler; + +- (void)start; +- (void)cancel; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/NSBundle+InfoDictionaryProviding.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/NSBundle+InfoDictionaryProviding.h new file mode 100644 index 0000000..a75e146 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/NSBundle+InfoDictionaryProviding.h @@ -0,0 +1,19 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Default conformance to the info dictionary providing protocol +@interface NSBundle (InfoDictionaryProviding) +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/NSUserDefaults+FBSDKDataPersisting.h b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/NSUserDefaults+FBSDKDataPersisting.h new file mode 100644 index 0000000..4de9320 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Headers/NSUserDefaults+FBSDKDataPersisting.h @@ -0,0 +1,19 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Default conformance to the data persisting protocol +@interface NSUserDefaults (DataPersisting) +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Info.plist b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Info.plist new file mode 100644 index 0000000..cf72349 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Info.plist differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Modules/module.modulemap b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Modules/module.modulemap new file mode 100644 index 0000000..b30d9eb --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/Modules/module.modulemap @@ -0,0 +1,6 @@ +framework module FBSDKCoreKit_Basics { + umbrella header "FBSDKCoreKit_Basics.h" + + export * + module * { export * } +} diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/_CodeSignature/CodeDirectory b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/_CodeSignature/CodeDirectory new file mode 100644 index 0000000..292bf18 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/_CodeSignature/CodeDirectory differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/_CodeSignature/CodeRequirements b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/_CodeSignature/CodeRequirements new file mode 100644 index 0000000..dbf9d61 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/_CodeSignature/CodeRequirements differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/_CodeSignature/CodeRequirements-1 b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/_CodeSignature/CodeRequirements-1 new file mode 100644 index 0000000..388da53 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/_CodeSignature/CodeRequirements-1 differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/_CodeSignature/CodeResources b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/_CodeSignature/CodeResources new file mode 100644 index 0000000..2b9ef22 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/_CodeSignature/CodeResources @@ -0,0 +1,372 @@ + + + + + files + + Headers/FBSDKBase64.h + + 4WPA7ov2bAhRn5QP5eZDBYX+spk= + + Headers/FBSDKBasicUtility.h + + 3Ij+0qMFvTmtUIuRbymzor6FDzg= + + Headers/FBSDKCoreKit_Basics.h + + sdYFifkG6LjAL2gVGzVD4yiGokI= + + Headers/FBSDKCrashHandler.h + + 9qyZhKdBiv/2JqsnbqJjzs6JDp4= + + Headers/FBSDKCrashHandlerProtocol.h + + PlP4CtaRgnMKzXyn0Cd6eWV10r8= + + Headers/FBSDKCrashObserving.h + + UhJc2ZYtB2hcyXxk00KbwKbTgcc= + + Headers/FBSDKDataPersisting.h + + g8WRKHOVC7O4vDzcESc4nl6IrS8= + + Headers/FBSDKFileDataExtracting.h + + LaiRhfHoweHIv08y19Rl1bKPTwU= + + Headers/FBSDKFileManaging.h + + zEID6Ct6C8vfKzOG+NiXbiQRLBw= + + Headers/FBSDKInfoDictionaryProviding.h + + 96kTJJn3CsFC9EpCzQGrMMnxoDw= + + Headers/FBSDKLibAnalyzer.h + + Sr7GpMqIG4HmNNhoU6xSJrR36F8= + + Headers/FBSDKSessionProviding.h + + bPzFkDKe6de6K5IwqpGectQjKmQ= + + Headers/FBSDKTypeUtility.h + + qgaA6wWpYIa+hM+VZSTB1P0w8Jk= + + Headers/FBSDKURLSession.h + + lNyxKy0KC2f37l17PcuP0Gv/EDA= + + Headers/FBSDKURLSessionTask.h + + kV58WzW39iZxupFSArvSXn3K8W8= + + Headers/NSBundle+InfoDictionaryProviding.h + + LQYuP7h8HIOQcOgzp9G/wjytXFE= + + Headers/NSUserDefaults+FBSDKDataPersisting.h + + bnAslOCiggux3zXflp6F2JcibGg= + + Info.plist + + 7IJKQpW/Mk3xV8Y6c0Uka5MhZ50= + + Modules/module.modulemap + + dAKyD+E6uMaCMsZEO7c47okujEM= + + + files2 + + Headers/FBSDKBase64.h + + hash + + 4WPA7ov2bAhRn5QP5eZDBYX+spk= + + hash2 + + ePF4YsPJC4jFg1uvNt6fb83WN1IDTijvBhGt+V0Rh/8= + + + Headers/FBSDKBasicUtility.h + + hash + + 3Ij+0qMFvTmtUIuRbymzor6FDzg= + + hash2 + + 4HOJGD9dL2BJIlaj/ej0J6MTNqBvYgF0/XrWiZtsT3E= + + + Headers/FBSDKCoreKit_Basics.h + + hash + + sdYFifkG6LjAL2gVGzVD4yiGokI= + + hash2 + + m2OfhFb3YJB9xZdoeWb3jGwtlzC+fFRL3OvxsSyJFiM= + + + Headers/FBSDKCrashHandler.h + + hash + + 9qyZhKdBiv/2JqsnbqJjzs6JDp4= + + hash2 + + IVTN0V/IdMwICexRs9MiG/lIQQLOiqU/aXDP+5QfgDY= + + + Headers/FBSDKCrashHandlerProtocol.h + + hash + + PlP4CtaRgnMKzXyn0Cd6eWV10r8= + + hash2 + + woEHrSFdQvUOUdlyH0JGdVNem49byRaZAMw+19Pe+Sc= + + + Headers/FBSDKCrashObserving.h + + hash + + UhJc2ZYtB2hcyXxk00KbwKbTgcc= + + hash2 + + tO6F4Bbijxuct9m9xB8pcqmAlnyPPJ0EqbN+Z8/EM1w= + + + Headers/FBSDKDataPersisting.h + + hash + + g8WRKHOVC7O4vDzcESc4nl6IrS8= + + hash2 + + U4CbBRkZKqUmvVM6czJbCCMQnHOikLVo+sln0V5PwpU= + + + Headers/FBSDKFileDataExtracting.h + + hash + + LaiRhfHoweHIv08y19Rl1bKPTwU= + + hash2 + + No8SNuna5s6hBe6z7rrhuaOccAq19c7TgMxr/tTH/BM= + + + Headers/FBSDKFileManaging.h + + hash + + zEID6Ct6C8vfKzOG+NiXbiQRLBw= + + hash2 + + VciJQtgUlelDAY1xRcTmKgt6cQknm/5hZEuuAr/BX4Y= + + + Headers/FBSDKInfoDictionaryProviding.h + + hash + + 96kTJJn3CsFC9EpCzQGrMMnxoDw= + + hash2 + + r1HYofHvcKSm6OwMFb0NMlU3HWk3NQRE6wffAJf1wzY= + + + Headers/FBSDKLibAnalyzer.h + + hash + + Sr7GpMqIG4HmNNhoU6xSJrR36F8= + + hash2 + + vcTMWhsIb/z29oxTpsnEfTWCnlgLS7qlPQuTTREW6Ek= + + + Headers/FBSDKSessionProviding.h + + hash + + bPzFkDKe6de6K5IwqpGectQjKmQ= + + hash2 + + 1EO8Q16A83EsCIlaeWEa1ly8UaLgWSEMtrwrO9dDWY4= + + + Headers/FBSDKTypeUtility.h + + hash + + qgaA6wWpYIa+hM+VZSTB1P0w8Jk= + + hash2 + + Xm2cMC3iy1kvQn8EXXkZ0eKLNRVCmSlSbefuvvTCTTs= + + + Headers/FBSDKURLSession.h + + hash + + lNyxKy0KC2f37l17PcuP0Gv/EDA= + + hash2 + + 5L3MvrHaYDNtK2zrxdEtZNCRnhTQHNM0bvoh0pAfKg0= + + + Headers/FBSDKURLSessionTask.h + + hash + + kV58WzW39iZxupFSArvSXn3K8W8= + + hash2 + + p05rvhLSmlFGAIUL94Ow7U6/25AfiIq3zBQkI19aMw4= + + + Headers/NSBundle+InfoDictionaryProviding.h + + hash + + LQYuP7h8HIOQcOgzp9G/wjytXFE= + + hash2 + + prKkDnp04YVMOPQH+h/YUPwUEFJuHKQbMxiL1PkGRYM= + + + Headers/NSUserDefaults+FBSDKDataPersisting.h + + hash + + bnAslOCiggux3zXflp6F2JcibGg= + + hash2 + + F0axQ9q1u74YAyMfIa9uyxde6rbjKmxC4wxD6M00k0Y= + + + Modules/module.modulemap + + hash + + dAKyD+E6uMaCMsZEO7c47okujEM= + + hash2 + + Ax5EJgz2ae9iwvEaJiJhRzHL4ePWe4qZhIaEdKJk27I= + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/_CodeSignature/CodeSignature b/src/ios/EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework/tvos-arm64_x86_64-simulator/FBSDKCoreKit_Basics.framework/_CodeSignature/CodeSignature new file mode 100644 index 0000000..e69de29 diff --git a/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/Info.plist b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/Info.plist new file mode 100644 index 0000000..b15f38d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/Info.plist @@ -0,0 +1,55 @@ + + + + + AvailableLibraries + + + LibraryIdentifier + ios-arm64_x86_64-simulator + LibraryPath + FBSDKGamingServicesKit.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + LibraryIdentifier + ios-arm64_x86_64-maccatalyst + LibraryPath + FBSDKGamingServicesKit.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + maccatalyst + + + LibraryIdentifier + ios-arm64 + LibraryPath + FBSDKGamingServicesKit.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/LICENSE b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/LICENSE new file mode 100644 index 0000000..2eecb62 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/LICENSE @@ -0,0 +1,17 @@ +Copyright (c) Meta Platforms, Inc. and affiliates. 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 Platform Policy +[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. diff --git a/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64/FBSDKGamingServicesKit.framework/FBSDKGamingServicesKit b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64/FBSDKGamingServicesKit.framework/FBSDKGamingServicesKit new file mode 100644 index 0000000..08df628 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64/FBSDKGamingServicesKit.framework/FBSDKGamingServicesKit differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64/FBSDKGamingServicesKit.framework/Headers/FBSDKGamingServicesKit-Swift.h b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64/FBSDKGamingServicesKit.framework/Headers/FBSDKGamingServicesKit-Swift.h new file mode 100644 index 0000000..4565df2 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64/FBSDKGamingServicesKit.framework/Headers/FBSDKGamingServicesKit-Swift.h @@ -0,0 +1,961 @@ +// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +#ifndef FBSDKGAMINGSERVICESKIT_SWIFT_H +#define FBSDKGAMINGSERVICESKIT_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import CoreGraphics; +@import FBSDKCoreKit; +@import FBSDKShareKit; +@import Foundation; +@import ObjectiveC; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKGamingServicesKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + +/// A protocol that a content object must conform to be used in a Gaming Services dialog +SWIFT_PROTOCOL_NAMED("ValidatableProtocol") +@protocol FBSDKValidatable +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +@end + +enum FBSDKChooseContextFilter : NSInteger; +@class NSNumber; +@class NSString; + +/// A model for an instant games choose context app switch dialog +SWIFT_CLASS_NAMED("ChooseContextContent") +@interface FBSDKChooseContextContent : NSObject +/// This sets the filter which determines which context will show when the user is app switched to the choose context dialog. +@property (nonatomic) enum FBSDKChooseContextFilter filter; +/// This sets the maximum number of participants that the suggested context(s) shown in the dialog should have. +@property (nonatomic) NSInteger maxParticipants; +/// This sets the minimum number of participants that the suggested context(s) shown in the dialog should have. +@property (nonatomic) NSInteger minParticipants; ++ (NSString * _Nonnull)filtersNameForFilters:(enum FBSDKChooseContextFilter)filter SWIFT_WARN_UNUSED_RESULT; +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@protocol FBSDKContextDialogDelegate; + +/// The protocol sdk dialogs must conform to and implement all the following methods. +SWIFT_PROTOCOL_NAMED("DialogProtocol") +@protocol FBSDKDialog +/// The receiver’s delegate or nil if it doesn’t have a delegate. +@property (nonatomic, weak) id _Nullable delegate; +/// The content object used to create the specific dialog +@property (nonatomic, strong) id _Nullable dialogContent; +/// Begins to show the specfic dialog +/// @return true if the receiver was able to show the dialog, otherwise false. +- (BOOL)show SWIFT_WARN_UNUSED_RESULT; +/// Validates the content for the dialog +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +@end + +@class FBSDKWebDialog; +@protocol _FBSDKWindowFinding; + +/// A super class type for the context dialogs classes that show an in-app webview to display content. +SWIFT_CLASS_NAMED("ContextWebDialog") +@interface FBSDKContextWebDialog : NSObject +@property (nonatomic, strong) id _Nullable delegate; +@property (nonatomic, strong) id _Nullable dialogContent; +@property (nonatomic, strong) FBSDKWebDialog * _Nullable currentWebDialog; +- (BOOL)show SWIFT_WARN_UNUSED_RESULT; +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +- (void)webDialog:(FBSDKWebDialog * _Nonnull)webDialog didCompleteWithResults:(NSDictionary * _Nonnull)results; +- (void)webDialog:(FBSDKWebDialog * _Nonnull)webDialog didFailWithError:(NSError * _Nonnull)error; +- (void)webDialogDidCancel:(FBSDKWebDialog * _Nonnull)webDialog; +/// Depending on the content size within the browser, this method allows for the resizing of web dialog +- (CGRect)createWebDialogFrameWithWidth:(CGFloat)width height:(CGFloat)height windowFinder:(id <_FBSDKWindowFinding> _Nonnull)windowFinder SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +@class UIApplication; +@class NSURL; + +/// A dialog for the choose context through app switch +SWIFT_CLASS_NAMED("ChooseContextDialog") +@interface FBSDKChooseContextDialog : FBSDKContextWebDialog +/// Convenience method to build up a choose context app switch with content and a delegate. +/// @param content The content for the choose context dialog +/// @param delegate The receiver’s delegate. +- (nonnull instancetype)initWithContent:(FBSDKChooseContextContent * _Nonnull)content delegate:(id _Nonnull)delegate; +- (BOOL)show SWIFT_WARN_UNUSED_RESULT; +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +- (BOOL)application:(UIApplication * _Nullable)application openURL:(NSURL * _Nullable)url sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +- (BOOL)canOpenURL:(NSURL * _Nonnull)url forApplication:(UIApplication * _Nullable)application sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +- (void)applicationDidBecomeActive:(UIApplication * _Nonnull)application; +- (BOOL)isAuthenticationURL:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT; +@end + + +SWIFT_PROTOCOL_NAMED("Showable") +@protocol FBSDKShowable +- (BOOL)show SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKChooseContextDialog (SWIFT_EXTENSION(FBSDKGamingServicesKit)) +@end + +typedef SWIFT_ENUM_NAMED(NSInteger, FBSDKChooseContextFilter, "ChooseContextFilter", open) { + FBSDKChooseContextFilterNone = 0, + FBSDKChooseContextFilterExistingChallenges = 1, + FBSDKChooseContextFilterNewPlayersOnly = 2, + FBSDKChooseContextFilterNewContextOnly = 3, +}; + + +/// A delegate for context dialogs to communicate with the dialog handler. +/// The delegate is notified with the results of the cross play request as long as the application has permissions to +/// receive the information. For example, if the person is not signed into the containing app, the shower may not be able +/// to distinguish between completion of a cross play request and cancellation. +SWIFT_PROTOCOL_NAMED("ContextDialogDelegate") +@protocol FBSDKContextDialogDelegate +/// Sent to the delegate when the context dialog completes without error. +/// @param contextDialog The FBSDKContextDialog that completed. +- (void)contextDialogDidComplete:(FBSDKContextWebDialog * _Nonnull)contextDialog; +/// Sent to the delegate when the context dialog encounters an error. +/// @param contextDialog The FBSDKContextDialog that completed. +/// @param error The error. +- (void)contextDialog:(FBSDKContextWebDialog * _Nonnull)contextDialog didFailWithError:(NSError * _Nonnull)error; +/// Sent to the delegate when the cross play request dialog is cancelled. +/// @param contextDialog The FBSDKContextDialog that completed. +- (void)contextDialogDidCancel:(FBSDKContextWebDialog * _Nonnull)contextDialog; +@end + +@class FBSDKCreateContextContent; +@class NSError; +@class FBSDKSwitchContextContent; +@class FBSDKCreateContextDialog; +@class FBSDKSwitchContextDialog; + +/// A dialog presenter responsible for creating and showing all the dialogs that create, switch, +/// choose and otherwise manipulate the gaming context. +SWIFT_CLASS_NAMED("ContextDialogPresenter") +@interface FBSDKContextDialogPresenter : NSObject +- (nonnull instancetype)init; +/// Convenience method to build up and show an instant games create context dialog with content and delegate. +/// \param content The content for the create context dialog +/// +/// \param delegate The receiver’s delegate. +/// ++ (NSError * _Nullable)showCreateContextDialogWithContent:(FBSDKCreateContextContent * _Nonnull)content delegate:(id _Nonnull)delegate SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowCreateContextDialog(content:delegate:)` instead"); +/// Convenience method to build up and show an instant games create context dialog with content and delegate. +/// \param content The content for the create context dialog +/// +/// \param delegate The receiver’s delegate. +/// +- (BOOL)makeAndShowCreateContextDialogWithContent:(FBSDKCreateContextContent * _Nonnull)content delegate:(id _Nonnull)delegate error:(NSError * _Nullable * _Nullable)error; +/// Convenience method to build up and show an instant games switch context dialog with content and delegate. +/// \param content The content for the switch context dialog +/// +/// \param delegate The receiver’s delegate. +/// ++ (NSError * _Nullable)showSwitchContextDialogWithContent:(FBSDKSwitchContextContent * _Nonnull)content delegate:(id _Nullable)delegate SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowSwitchContextDialog(content:delegate:)` instead"); +/// Convenience method to build up and show an instant games switch context dialog with the giving content and delegate. +/// \param content The content for the switch context dialog +/// +/// \param delegate The receiver’s delegate. +/// +- (BOOL)makeAndShowSwitchContextDialogWithContent:(FBSDKSwitchContextContent * _Nonnull)content delegate:(id _Nonnull)delegate error:(NSError * _Nullable * _Nullable)error; +/// Convenience method to build up and show an instant games choose context dialog with content and a delegate. +/// \param content The content for the choose context dialog +/// +/// \param delegate The receiver’s delegate. +/// ++ (FBSDKChooseContextDialog * _Nonnull)showChooseContextDialogWithContent:(FBSDKChooseContextContent * _Nonnull)content delegate:(id _Nonnull)delegate SWIFT_DEPRECATED_MSG("This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowChooseContextDialog(content:delegate:)` instead"); +/// Convenience method to build up and show an instant games choose context dialog with content and a delegate. +/// \param content The content for the choose context dialog +/// +/// \param delegate The receiver’s delegate. +/// +- (void)makeAndShowChooseContextDialogWithContent:(FBSDKChooseContextContent * _Nonnull)content delegate:(id _Nonnull)delegate; ++ (FBSDKChooseContextDialog * _Nonnull)showChooseContextDialogWith:(FBSDKChooseContextContent * _Nonnull)content delegate:(id _Nonnull)delegate SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("showChooseContextDialog is deprecated. Please use the instance method `makeAndShowChooseContextDialog` instead"); +/// Convenience method to build up an instant games create context dialog with content and delegate. +///
    +///
  • +/// Parameters +///
      +///
    • +/// content: The content for the create context dialog +///
    • +///
    • +/// delegate: The receiver’s delegate. +///
    • +///
    +///
  • +///
++ (FBSDKCreateContextDialog * _Nullable)createContextDialogWithContent:(FBSDKCreateContextContent * _Nonnull)content delegate:(id _Nullable)delegate SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowCreateContextDialog(content:delegate:)` instead"); +/// Convenience method to build up an instant games switch context dialog with content and delegate. +/// \param content The content for the switch context dialog +/// +/// \param delegate The receiver’s delegate. +/// ++ (FBSDKSwitchContextDialog * _Nullable)switchContextDialogWithContent:(FBSDKSwitchContextContent * _Nonnull)content delegate:(id _Nullable)delegate SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowSwitchContextDialog(content:delegate:)` instead"); +@end + + + +/// A model for an instant games createAsync cross play request. +SWIFT_CLASS_NAMED("CreateContextContent") +@interface FBSDKCreateContextContent : NSObject +/// The ID of the player that is being challenged. +/// @return The ID for the player being challenged +@property (nonatomic, copy) NSString * _Nonnull playerID; +/// Builds a content object that will be use to display a create context dialog +/// @param playerID The player ID of the user being challenged which will be used to create a game context +- (nonnull instancetype)initDialogContentWithPlayerID:(NSString * _Nonnull)playerID OBJC_DESIGNATED_INITIALIZER; +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// A dialog to create a context through a web view +SWIFT_CLASS_NAMED("CreateContextDialog") +@interface FBSDKCreateContextDialog : FBSDKContextWebDialog +/// Builds a context creation web dialog with content and a delegate. +/// @param content The content for the create context dialog +/// @param windowFinder The application window finder that provides the window to display the dialog +/// @param delegate The receiver’s delegate used to let the receiver know a context was created or failure +- (nonnull instancetype)initWithContent:(FBSDKCreateContextContent * _Nonnull)content windowFinder:(id <_FBSDKWindowFinding> _Nonnull)windowFinder delegate:(id _Nonnull)delegate OBJC_DESIGNATED_INITIALIZER; +- (BOOL)show; +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +@end + + +@interface FBSDKCreateContextDialog (SWIFT_EXTENSION(FBSDKGamingServicesKit)) +@end + + + + +SWIFT_CLASS_NAMED("FriendFinderDialog") +@interface FBSDKFriendFinderDialog : NSObject +- (nonnull instancetype)init; ++ (void)launchFriendFinderDialogWithCompletionHandler:(void (^ _Nonnull)(BOOL, NSError * _Nullable))completionHandler; +@end + +/// Additional context about the nature of the game request. +typedef SWIFT_ENUM_NAMED(NSUInteger, FBSDKGameRequestActionType, "GameRequestActionType", open) { +/// No action type + FBSDKGameRequestActionTypeNone = 0, +/// Send action type: The user is sending an object to the friends. + FBSDKGameRequestActionTypeSend = 1, +/// Ask For action type: The user is asking for an object from friends. + FBSDKGameRequestActionTypeAskFor = 2, +/// Turn action type: It is the turn of the friends to play against the user in a match. + FBSDKGameRequestActionTypeTurn = 3, +/// Invite action type: The user is inviting a friend. + FBSDKGameRequestActionTypeInvite = 4, +}; + +enum FBSDKGameRequestFilter : NSUInteger; +@class NSCoder; + +/// A model for a game request. +SWIFT_CLASS_NAMED("GameRequestContent") +@interface FBSDKGameRequestContent : NSObject +/// Used when defining additional context about the nature of the request. +/// The parameter ‘objectID’ is required if the action type is either +/// ‘.send’ or ‘.askFor’. +/// seealso: +/// objectID +@property (nonatomic) enum FBSDKGameRequestActionType actionType; +/// Additional freeform data you may pass for tracking. This will be stored as part of +/// the request objects created. The maximum length is 255 characters. +@property (nonatomic, copy) NSString * _Nullable data; +/// This controls the set of friends someone sees if a multi-friend selector is shown. +/// It is .none by default, meaning that all friends can be shown. +/// If specify as .appUsers, only friends who use the app will be shown. +/// On the other hands, use .appNonUsers to filter only friends who do not use the app. +/// The parameter name is preserved to be consistent with the counter part on desktop. +@property (nonatomic) enum FBSDKGameRequestFilter filters; +/// A plain-text message to be sent as part of the request. This text will surface in the App Center view +/// of the request, but not on the notification jewel. Required parameter. +@property (nonatomic, copy) NSString * _Nonnull message; +/// The Open Graph object ID of the object being sent. +/// seealso: +/// actionType +@property (nonatomic, copy) NSString * _Nonnull objectID; +/// An array of user IDs, usernames or invite tokens (NSString) of people to send request. +/// These may or may not be a friend of the sender. If this is specified by the app, +/// the sender will not have a choice of recipients. If not, the sender will see a multi-friend selector +/// This is equivalent to the “to” parameter when using the web game request dialog. +@property (nonatomic, copy) NSArray * _Nonnull recipients; +/// An array of user IDs that will be included in the dialog as the first suggested friends. +/// Cannot be used together with filters. +/// This is equivalent to the suggestions parameter when using the web game request dialog. +@property (nonatomic, copy) NSArray * _Nonnull recipientSuggestions; +/// The title for the dialog. +@property (nonatomic, copy) NSString * _Nonnull title; +/// The call to action for the dialog. +@property (nonatomic, copy) NSString * _Nonnull cta; +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)options error:(NSError * _Nullable * _Nullable)error; +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +/// Compares the receiver to another game request content. +/// @param content The other content +/// @return true if the receiver’s values are equal to the other content’s values; otherwise false +- (BOOL)isEqualToGameRequestContent:(FBSDKGameRequestContent * _Nonnull)content SWIFT_WARN_UNUSED_RESULT; +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) BOOL supportsSecureCoding;) ++ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)initWithCoder:(NSCoder * _Nonnull)decoder; +- (void)encodeWithCoder:(NSCoder * _Nonnull)encoder; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@protocol FBSDKGameRequestDialogDelegate; + +/// A dialog for sending game requests. +SWIFT_CLASS_NAMED("GameRequestDialog") +@interface FBSDKGameRequestDialog : NSObject +/// The receiver’s delegate or nil if it doesn’t have a delegate. +@property (nonatomic, weak) id _Nullable delegate; +/// The content for game request. +@property (nonatomic, strong) FBSDKGameRequestContent * _Nonnull content; +/// Specifies whether frictionless requests are enabled. +@property (nonatomic) BOOL isFrictionlessRequestsEnabled; +/// A Boolean value that indicates whether the receiver can initiate a game request. +/// May return false if the appropriate Facebook app is not installed and is required or an access token is +/// required but not available. This method does not validate the content on the receiver, so this can be checked before +/// building up the content. +/// See validate() +/// @return true if the receiver can share, otherwise false. +@property (nonatomic, readonly) BOOL canShow; +- (nonnull instancetype)initWithContent:(FBSDKGameRequestContent * _Nonnull)content delegate:(id _Nullable)delegate OBJC_DESIGNATED_INITIALIZER; +/// Convenience method to build up a game request with content and a delegate. +/// @param content The content for the game request. +/// @param delegate The receiver’s delegate. ++ (FBSDKGameRequestDialog * _Nonnull)dialogWithContent:(FBSDKGameRequestContent * _Nonnull)content delegate:(id _Nullable)delegate SWIFT_WARN_UNUSED_RESULT; +/// Convenience method to build up and show a game request with content and a delegate. +/// @param content The content for the game request. +/// @param delegate The receiver’s delegate. ++ (FBSDKGameRequestDialog * _Nonnull)showWithContent:(FBSDKGameRequestContent * _Nonnull)content delegate:(id _Nullable)delegate; +/// Begins the game request from the receiver. +/// @return true if the receiver was able to show the dialog, otherwise false. +- (BOOL)show; +/// Validates the content on the receiver. +- (BOOL)validateWithError:(NSError * _Nullable * _Nullable)error; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface FBSDKGameRequestDialog (SWIFT_EXTENSION(FBSDKGamingServicesKit)) +- (void)webDialog:(FBSDKWebDialog * _Nonnull)webDialog didCompleteWithResults:(NSDictionary * _Nonnull)results; +- (void)webDialog:(FBSDKWebDialog * _Nonnull)webDialog didFailWithError:(NSError * _Nonnull)error; +- (void)webDialogDidCancel:(FBSDKWebDialog * _Nonnull)webDialog; +@end + + +@interface FBSDKGameRequestDialog (SWIFT_EXTENSION(FBSDKGamingServicesKit)) +- (BOOL)application:(UIApplication * _Nullable)application openURL:(NSURL * _Nullable)potentialURL sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +- (BOOL)canOpenURL:(NSURL * _Nonnull)url forApplication:(UIApplication * _Nullable)application sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +- (void)applicationDidBecomeActive:(UIApplication * _Nonnull)application; +- (BOOL)isAuthenticationURL:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT; +@end + + +/// A delegate for GameRequestDialog. +/// The delegate is notified with the results of the game request as long as the application has permissions to +/// receive the information. For example, if the person is not signed into the containing app, the shower may not be able +/// to distinguish between completion of a game request and cancellation. +SWIFT_PROTOCOL_NAMED("GameRequestDialogDelegate") +@protocol FBSDKGameRequestDialogDelegate +/// Sent to the delegate when the game request completes without error. +/// @param gameRequestDialog The GameRequestDialog that completed. +/// @param results The results from the dialog. This may be nil or empty. +- (void)gameRequestDialog:(FBSDKGameRequestDialog * _Nonnull)gameRequestDialog didCompleteWithResults:(NSDictionary * _Nonnull)results; +/// Sent to the delegate when the game request encounters an error. +/// @param gameRequestDialog The GameRequestDialog that completed. +/// @param error The error. +- (void)gameRequestDialog:(FBSDKGameRequestDialog * _Nonnull)gameRequestDialog didFailWithError:(NSError * _Nonnull)error; +/// Sent to the delegate when the game request dialog is cancelled. +/// @param gameRequestDialog The GameRequestDialog that completed. +- (void)gameRequestDialogDidCancel:(FBSDKGameRequestDialog * _Nonnull)gameRequestDialog; +@end + +/// Filter for who can be displayed in the multi-friend selector. +typedef SWIFT_ENUM_NAMED(NSUInteger, FBSDKGameRequestFilter, "GameRequestFilter", open) { +/// No filter, all friends can be displayed. + FBSDKGameRequestFilterNone = 0, +/// Friends using the app can be displayed. + FBSDKGameRequestFilterAppUsers = 1, +/// Friends not using the app can be displayed. + FBSDKGameRequestFilterAppNonUsers = 2, +/// All friends can be displayed if FB app is installed. + FBSDKGameRequestFilterEverybody = 3, +}; + + +SWIFT_CLASS_NAMED("GameRequestURLProvider") +@interface FBSDKGameRequestURLProvider : NSObject ++ (NSURL * _Nullable)createDeepLinkURLWithQueryDictionary:(NSDictionary * _Nonnull)queryDictionary SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)filtersNameForFilters:(enum FBSDKGameRequestFilter)filters SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)actionTypeNameForActionType:(enum FBSDKGameRequestActionType)actionType SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +SWIFT_CLASS_NAMED("GamingContext") +@interface FBSDKGamingContext : NSObject +/// A shared object that holds data about the current user’s game instance which could be solo game or multiplayer game with other users. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, strong) FBSDKGamingContext * _Nullable currentContext;) ++ (FBSDKGamingContext * _Nullable)currentContext SWIFT_WARN_UNUSED_RESULT; ++ (void)setCurrentContext:(FBSDKGamingContext * _Nullable)value; +/// A unique identifier for the current game context. This represents a specific game instance that the user is playing in. +@property (nonatomic, readonly, copy) NSString * _Nonnull identifier; +/// The number of players in the current user’s game instance +@property (nonatomic, readonly) NSInteger size; +- (nullable instancetype)initWithIdentifier:(NSString * _Nonnull)identifier size:(NSInteger)size OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_CLASS_NAMED("GamingGroupIntegration") +@interface FBSDKGamingGroupIntegration : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (void)openGroupPageWithCompletionHandler:(void (^ _Nonnull)(BOOL, NSError * _Nullable))completionHandler; +@end + +@class FBSDKGamingImageUploaderConfiguration; + +SWIFT_CLASS_NAMED("GamingImageUploader") +@interface FBSDKGamingImageUploader : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// Runs an upload to a users Gaming Media Library with the given configuration +/// @param configuration model object contain the content that will be uploaded +/// @param completion a callback that is fired dependent on the configuration. +/// Fired when the upload completes or when the users returns to the caller app +/// after the media dialog is shown. ++ (void)uploadImageWithConfiguration:(FBSDKGamingImageUploaderConfiguration * _Nonnull)configuration andResultCompletion:(void (^ _Nonnull)(BOOL, NSDictionary * _Nullable, NSError * _Nullable))completion; +/// Runs an upload to a users Gaming Media Library with the given configuration +/// @param configuration model object contain the content that will be uploaded +/// @param completion a callback that is fired dependent on the configuration. +/// Fired when the upload completes or when the users returns to the caller app +/// after the media dialog is shown. +/// @param progressHandler an optional callback that is fired multiple times as +/// bytes are transferred to Facebook. ++ (void)uploadImageWithConfiguration:(FBSDKGamingImageUploaderConfiguration * _Nonnull)configuration completion:(void (^ _Nonnull)(BOOL, NSDictionary * _Nullable, NSError * _Nullable))completion andProgressHandler:(void (^ _Nullable)(int64_t, int64_t, int64_t))progressHandler; +@end + +@protocol FBSDKGraphRequestConnecting; + +@interface FBSDKGamingImageUploader (SWIFT_EXTENSION(FBSDKGamingServicesKit)) +- (void)requestConnection:(id _Nonnull)connection didSendBodyData:(NSInteger)bytesWritten totalBytesWritten:(NSInteger)totalBytesWritten totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite; +@end + +@class UIImage; + +SWIFT_CLASS_NAMED("GamingImageUploaderConfiguration") +@interface FBSDKGamingImageUploaderConfiguration : NSObject +@property (nonatomic, readonly, strong) UIImage * _Nonnull image; +@property (nonatomic, readonly, copy) NSString * _Nullable caption; +@property (nonatomic, readonly) BOOL shouldLaunchMediaDialog; +/// A model for Gaming image upload content to be shared. +/// @param image the image that will be shared. +/// @param caption and optional caption that will appear along side the image on Facebook. +/// @param shouldLaunchMediaDialog whether or not to open the media dialog on Facebook when the upload completes. +- (nonnull instancetype)initWithImage:(UIImage * _Nonnull)image caption:(NSString * _Nullable)caption shouldLaunchMediaDialog:(BOOL)shouldLaunchMediaDialog OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +@class FBSDKURL; + +SWIFT_CLASS_NAMED("GamingPayload") +@interface FBSDKGamingPayload : NSObject +@property (nonatomic, strong) FBSDKURL * _Nonnull URL; +@property (nonatomic, copy) NSString * _Nonnull payload; +- (nonnull instancetype)initWithURL:(FBSDKURL * _Nonnull)URL OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_PROTOCOL_NAMED("GamingPayloadDelegate") +@protocol FBSDKGamingPayloadDelegate +@optional +/// Delegate method will be triggered when a GamingPayloadObserver parses a url with a payload and game request ID +/// @param payload The payload recieved in the url +/// @param gameRequestID The game request ID recieved in the url +- (void)parsedGameRequestURLContaining:(FBSDKGamingPayload * _Nonnull)payload gameRequestID:(NSString * _Nonnull)gameRequestID; +/// Delegate method will be triggered when a GamingPayloadObserver parses a gaming context url with a payload and game context token ID. The current gaming context will be update with the context ID. +/// @param payload The payload recieved in the url +- (void)parsedGamingContextURLContaining:(FBSDKGamingPayload * _Nonnull)payload; +/// Delegate method will be triggered when a GamingPayloadObserver parses a url with a payload and tournament ID +/// @param payload The payload associated with the tournament +/// @param tournamentID The tournament ID the player wants to enter +- (void)parsedTournamentURLContaining:(FBSDKGamingPayload * _Nonnull)payload tournamentID:(NSString * _Nonnull)tournamentID; +@end + + +SWIFT_CLASS_NAMED("GamingPayloadObserver") +@interface FBSDKGamingPayloadObserver : NSObject +@property (nonatomic, weak) id _Nullable delegate; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +- (nonnull instancetype)initWithDelegate:(id _Nullable)delegate; +@end + + +@interface FBSDKGamingPayloadObserver (SWIFT_EXTENSION(FBSDKGamingServicesKit)) +- (BOOL)application:(UIApplication * _Nonnull)application openURL:(NSURL * _Nonnull)url sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +@end + +@class FBSDKGamingVideoUploaderConfiguration; + +SWIFT_CLASS_NAMED("GamingVideoUploader") +@interface FBSDKGamingVideoUploader : NSObject +/// Runs an upload to a users Gaming Media Library with the given configuration +/// @param configuration model object contain the content that will be uploaded +/// @param completion a callback that is fired when the upload completes. ++ (void)uploadVideoWithConfiguration:(FBSDKGamingVideoUploaderConfiguration * _Nonnull)configuration andResultCompletion:(void (^ _Nonnull)(BOOL, NSDictionary * _Nullable, NSError * _Nullable))completion; +/// Runs an upload to a users Gaming Media Library with the given configuration +/// @param configuration model object contain the content that will be uploaded +/// @param completion a callback that is fired when the upload completes. +/// @param progressHandler an optional callback that is fired multiple times as bytes are transferred to Facebook. ++ (void)uploadVideoWithConfiguration:(FBSDKGamingVideoUploaderConfiguration * _Nonnull)configuration completion:(void (^ _Nonnull)(BOOL, NSDictionary * _Nullable, NSError * _Nullable))completion andProgressHandler:(void (^ _Nullable)(int64_t, int64_t, int64_t))progressHandler; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +SWIFT_CLASS_NAMED("GamingVideoUploaderConfiguration") +@interface FBSDKGamingVideoUploaderConfiguration : NSObject +@property (nonatomic, readonly, copy) NSURL * _Nonnull videoURL; +@property (nonatomic, readonly, copy) NSString * _Nullable caption; +/// A model for Gaming video upload content to be shared. +/// @param videoURL a url to the videos location on local disk. +/// @param caption and optional caption that will appear along side the video on Facebook. +- (nonnull instancetype)initWithVideoURL:(NSURL * _Nonnull)videoURL caption:(NSString * _Nullable)caption OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_CLASS("_TtC22FBSDKGamingServicesKit21ShareTournamentDialog") +@interface ShareTournamentDialog : NSObject +- (BOOL)isAuthenticationURL:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT; +- (BOOL)application:(UIApplication * _Nullable)application openURL:(NSURL * _Nullable)url sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +- (BOOL)canOpenURL:(NSURL * _Nonnull)url forApplication:(UIApplication * _Nullable)application sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +- (void)applicationDidBecomeActive:(UIApplication * _Nonnull)application; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +/// A model for an instant games switchAsync cross play request. +SWIFT_CLASS_NAMED("SwitchContextContent") +@interface FBSDKSwitchContextContent : NSObject +- (nonnull instancetype)initDialogContentWithContextID:(NSString * _Nonnull)contextID OBJC_DESIGNATED_INITIALIZER; +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// A dialog to switch the current gaming context through a web view +SWIFT_CLASS_NAMED("SwitchContextDialog") +@interface FBSDKSwitchContextDialog : FBSDKContextWebDialog +/// Builds a switch context web dialog with content and a delegate. +///
    +///
  • +/// Parameters: +///
  • +///
  • +/// content: The content for the switch context dialog +///
  • +///
  • +/// windowFinder: The application window finder that provides the window to display the dialog +///
  • +///
  • +/// delegate: The receiver’s delegate used to let the receiver know if a context switch was successful +///
  • +///
++ (nonnull instancetype)dialogWithContent:(FBSDKSwitchContextContent * _Nonnull)content windowFinder:(id <_FBSDKWindowFinding> _Nonnull)windowFinder delegate:(id _Nonnull)delegate SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("This method is deprecated and will be removed in the next major release. Use the initializer `init(content:windowFinder:delegate:)` instead"); +/// Creates a switch context web dialog with content and a delegate. +/// \param content The content for the switch context dialog +/// +/// \param windowFinder The application window finder that provides the window to display the dialog +/// +/// \param delegate The receiver’s delegate used to let the receiver know a context switch was successful or failed +/// +- (nonnull instancetype)initWithContent:(FBSDKSwitchContextContent * _Nonnull)content windowFinder:(id <_FBSDKWindowFinding> _Nonnull)windowFinder delegate:(id _Nonnull)delegate OBJC_DESIGNATED_INITIALIZER; +- (BOOL)show SWIFT_WARN_UNUSED_RESULT; +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +@end + + + +@class NSDate; + +/// An internal representation of tournament graph objects. Use Tournament instead. +/// warning: +/// For internal use only! Subject to change or removal at any time. +SWIFT_CLASS("_TtC22FBSDKGamingServicesKit16_FBSDKTournament") +@interface _FBSDKTournament : NSObject +/// The unique ID that is associated with this tournament. +@property (nonatomic, readonly, copy) NSString * _Nonnull identifier; +/// Timestamp when the tournament ends. +/// If the expiration is in the past, then the tournament is already finished and has expired. +@property (nonatomic, readonly, copy) NSDate * _Nullable endTime; +/// Title of the tournament provided upon the creation of the tournament. +@property (nonatomic, readonly, copy) NSString * _Nullable title; +/// Payload of the tournament provided upon the creation of the tournament. +@property (nonatomic, copy) NSString * _Nullable payload; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +@class _FBSDKTournamentConfig; + +/// An internal wrapper for sharing tournaments via dialog. Use ShareTournamentDialog instead. +/// warning: +/// For internal use only! Subject to change or removal at any time. +SWIFT_CLASS_NAMED("_ShareTournamentDialog") +@interface _FBSDKShareTournamentDialog : NSObject +/// Attempts to show the share dialog to share an existing tournament +///
    +///
  • +/// throws Will throw if an error occurs when attempting to show the dialog +///
  • +///
+/// \param score A score to share in the tournament could be a numeric score or time interval +/// dependent on the given tournament score type +/// +/// \param tournamentID The ID of the tournament to share and update with the given score +/// +- (BOOL)showWithScore:(NSInteger)score tournamentID:(NSString * _Nonnull)tournamentID error:(NSError * _Nullable * _Nullable)error; +/// Attempts to show the share dialog to share an existing tournament +///
    +///
  • +/// throws Will throw if an error occurs when attempting to show the dialog +///
  • +///
+/// \param score A score to share in the tournament could be a numeric score or time interval +/// dependent on the given tournament score type +/// +/// \param tournament The tournament to share and update with the given score +/// +- (BOOL)showWithScore:(NSInteger)score tournament:(_FBSDKTournament * _Nonnull)tournament error:(NSError * _Nullable * _Nullable)error; +/// Attempts to show the share dialog to share a newly created tournnament +///
    +///
  • +/// throws Will throw if an error occurs when attempting to show the dialog +///
  • +///
+/// \param initialScore An initial score to share, could be a numeric score or time interval +/// dependent on the tournament configuration +/// +/// \param config The tournament configuration used to create a new tournament +/// +- (BOOL)showWithInitialScore:(NSInteger)initialScore config:(_FBSDKTournamentConfig * _Nonnull)config error:(NSError * _Nullable * _Nullable)error; +- (BOOL)isAuthenticationURL:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT; +- (BOOL)application:(UIApplication * _Nullable)application open:(NSURL * _Nullable)url sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +- (BOOL)canOpen:(NSURL * _Nonnull)url for:(UIApplication * _Nullable)application sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +- (void)applicationDidBecomeActive:(UIApplication * _Nonnull)application; +- (void)didFailWithError:(NSError * _Nonnull)error dialog:(ShareTournamentDialog * _Nonnull)dialog; +- (void)didCancelWithDialog:(ShareTournamentDialog * _Nonnull)dialog; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An internal protocol for sharing tournaments. Use ShareTournamentDialog and ShareTournamentDialogDelegate instead. +/// warning: +/// For internal use only! Subject to change or removal at any time. +SWIFT_PROTOCOL_NAMED("_ShareTournamentDialogDelegate") +@protocol _FBSDKShareTournamentDialogDelegate +- (void)didCompleteWithDialog:(_FBSDKShareTournamentDialog * _Nonnull)dialog tournament:(_FBSDKTournament * _Nonnull)tournament; +- (void)didFailWithError:(NSError * _Nonnull)error dialog:(_FBSDKShareTournamentDialog * _Nonnull)dialog; +- (void)didCancelWithDialog:(_FBSDKShareTournamentDialog * _Nonnull)dialog; +@end + + +/// An internal object for configuring tournament share dialogs. Use TournamentConfig instead. +/// warning: +/// For internal use only! Subject to change or removal at any time. +SWIFT_CLASS_NAMED("_TournamentConfig") +@interface _FBSDKTournamentConfig : NSObject +/// Title of the tournament +@property (nonatomic, copy) NSString * _Nullable title; +/// Payload of the tournament +@property (nonatomic, copy) NSString * _Nullable payload; +/// The image associated with the tournament +@property (nonatomic, strong) UIImage * _Nullable image; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An internal class for fetching tournament objects. Use TournamentFetcher instead. +/// warning: +/// For internal use only! Subject to change or removal at any time. +SWIFT_CLASS_NAMED("_TournamentFetcher") +@interface _FBSDKTournamentFetcher : NSObject +/// Attempts to fetch all the tournaments where the current logged in user is a participant ; +/// \param completionHandler The caller’s completion handler to invoke once the graph request is complete +/// +- (void)fetchTournamentsWithCompletionHandler:(void (^ _Nonnull)(NSArray<_FBSDKTournament *> * _Nullable, NSError * _Nullable))completionHandler; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// An internal enum for different methods of tournament scoring . Use TournamentScoreType instead. +/// warning: +/// For internal use only! Subject to change or removal at any time. +typedef SWIFT_ENUM_NAMED(NSInteger, _FBSDKTournamentScoreType, "_TournamentScoreType", open) { + _FBSDKTournamentScoreTypeNumeric = 0, + _FBSDKTournamentScoreTypeTime = 1, +}; + +/// An internal enum for sorting tournament scores. Use TournamentSortOrder instead. +/// warning: +/// For internal use only! Subject to change or removal at any time. +typedef SWIFT_ENUM_NAMED(NSInteger, _FBSDKTournamentSortOrder, "_TournamentSortOrder", open) { + _FBSDKTournamentSortOrderHigherIsBetter = 0, + _FBSDKTournamentSortOrderLowerIsBetter = 1, +}; + + +/// An internal class for fetching tournament objects. Use TournamentUpdater instead. +/// warning: +/// For internal use only! Subject to change or removal at any time. +SWIFT_CLASS_NAMED("_TournamentUpdater") +@interface _FBSDKTournamentUpdater : NSObject +/// Updates the given tournament with the given score +/// \param tournamentID The ID of the tournament you want to update +/// +/// \param score The new score to update within the tournament +/// +/// \param completionHandler The caller’s completion handler to invoke once the graph request is complete. Completes with true if successful. +/// +- (void)updateWithTournamentID:(NSString * _Nonnull)tournamentID score:(NSInteger)score completionHandler:(void (^ _Nonnull)(BOOL, NSError * _Nullable))completionHandler; +/// Updates the given tournament with the given score +/// \param tournament The tournament you want to update +/// +/// \param score The new score to update within the tournament +/// +/// \param completionHandler The caller’s completion handler to invoke once the graph request is complete. Completes with true if successful. +/// +- (void)updateWithTournament:(_FBSDKTournament * _Nonnull)tournament score:(NSInteger)score completionHandler:(void (^ _Nonnull)(BOOL, NSError * _Nullable))completionHandler; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64/FBSDKGamingServicesKit.framework/Info.plist b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64/FBSDKGamingServicesKit.framework/Info.plist new file mode 100644 index 0000000..c687e65 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64/FBSDKGamingServicesKit.framework/Info.plist differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/arm64-apple-ios.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/arm64-apple-ios.swiftdoc new file mode 100644 index 0000000..7806502 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/arm64-apple-ios.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/arm64-apple-ios.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/arm64-apple-ios.swiftinterface new file mode 100644 index 0000000..afa4d6e --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/arm64-apple-ios.swiftinterface @@ -0,0 +1,557 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKGamingServicesKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +import FBSDKShareKit +import Foundation +import Swift +import UIKit +import _Concurrency +@objc(FBSDKChooseContextFilter) public enum ChooseContextFilter : Swift.Int, Swift.CaseIterable { + case none + case existingChallenges + case newPlayersOnly + case newContextOnly + public var name: Swift.String { + get + } + public init?(rawValue: Swift.Int) + public typealias AllCases = [FBSDKGamingServicesKit.ChooseContextFilter] + public typealias RawValue = Swift.Int + public static var allCases: [FBSDKGamingServicesKit.ChooseContextFilter] { + get + } + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKChooseContextContent) final public class ChooseContextContent : ObjectiveC.NSObject, FBSDKGamingServicesKit.ValidatableProtocol { + @objc final public var filter: FBSDKGamingServicesKit.ChooseContextFilter + @objc final public var maxParticipants: Swift.Int + @objc final public var minParticipants: Swift.Int + @objc public static func filtersName(forFilters filter: FBSDKGamingServicesKit.ChooseContextFilter) -> Swift.String + @objc final public func validate() throws + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public init() + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKChooseContextDialog) final public class ChooseContextDialog : FBSDKGamingServicesKit.ContextWebDialog, FBSDKCoreKit.URLOpening { + @objc convenience public init(content: FBSDKGamingServicesKit.ChooseContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) + @objc override final public func show() -> Swift.Bool + @objc override final public func validate() throws + @objc final public func application(_ application: UIKit.UIApplication?, open url: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication) + @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool + @objc deinit +} +@objc(FBSDKContextDialogDelegate) public protocol ContextDialogDelegate { + @objc func contextDialogDidComplete(_ contextDialog: FBSDKGamingServicesKit.ContextWebDialog) + @objc func contextDialog(_ contextDialog: FBSDKGamingServicesKit.ContextWebDialog, didFailWithError error: Swift.Error) + @objc func contextDialogDidCancel(_ contextDialog: FBSDKGamingServicesKit.ContextWebDialog) +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKContextDialogPresenter) final public class ContextDialogPresenter : ObjectiveC.NSObject { + @objc override convenience dynamic public init() + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowCreateContextDialog(content:delegate:)` instead") + @objc(showCreateContextDialogWithContent:delegate:) final public class func showCreateContextDialog(withContent content: FBSDKGamingServicesKit.CreateContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) -> Foundation.NSError? + @objc final public func makeAndShowCreateContextDialog(content: FBSDKGamingServicesKit.CreateContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) throws + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowSwitchContextDialog(content:delegate:)` instead") + @objc(showSwitchContextDialogWithContent:delegate:) final public class func showSwitchContextDialog(withContent content: FBSDKGamingServicesKit.SwitchContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate?) -> Foundation.NSError? + @objc final public func makeAndShowSwitchContextDialog(content: FBSDKGamingServicesKit.SwitchContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) throws + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowChooseContextDialog(content:delegate:)` instead") + @discardableResult + @objc(showChooseContextDialogWithContent:delegate:) final public class func showChooseContextDialog(withContent content: FBSDKGamingServicesKit.ChooseContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) -> FBSDKGamingServicesKit.ChooseContextDialog + @objc final public func makeAndShowChooseContextDialog(content: FBSDKGamingServicesKit.ChooseContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) + @objc @available(*, deprecated, message: "showChooseContextDialog is deprecated. Please use the instance method `makeAndShowChooseContextDialog` instead") + final public class func showChooseContextDialog(with content: FBSDKGamingServicesKit.ChooseContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) -> FBSDKGamingServicesKit.ChooseContextDialog + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowCreateContextDialog(content:delegate:)` instead") + @objc(createContextDialogWithContent:delegate:) final public class func createContextDialog(withContent content: FBSDKGamingServicesKit.CreateContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate?) -> FBSDKGamingServicesKit.CreateContextDialog? + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowSwitchContextDialog(content:delegate:)` instead") + @objc(switchContextDialogWithContent:delegate:) final public class func switchContextDialog(withContent content: FBSDKGamingServicesKit.SwitchContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate?) -> FBSDKGamingServicesKit.SwitchContextDialog? + @objc deinit +} +public enum ContextDialogPresenterError : Swift.Error { + case showCreateContext + case showSwitchContext + case showChooseContext + case invalidAccessToken + public static func == (a: FBSDKGamingServicesKit.ContextDialogPresenterError, b: FBSDKGamingServicesKit.ContextDialogPresenterError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKContextWebDialog) public class ContextWebDialog : ObjectiveC.NSObject, FBSDKCoreKit.WebDialogDelegate, FBSDKGamingServicesKit.DialogProtocol { + @objc public var delegate: FBSDKGamingServicesKit.ContextDialogDelegate? + @objc public var dialogContent: FBSDKGamingServicesKit.ValidatableProtocol? + @objc public var currentWebDialog: FBSDKCoreKit.WebDialog? + @objc public func show() -> Swift.Bool + @objc public func validate() throws + @objc public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didCompleteWithResults results: [Swift.String : Any]) + @objc public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didFailWithError error: Swift.Error) + @objc public func webDialogDidCancel(_ webDialog: FBSDKCoreKit.WebDialog) + @objc public func createWebDialogFrame(withWidth width: CoreGraphics.CGFloat, height: CoreGraphics.CGFloat, windowFinder: FBSDKCoreKit._WindowFinding) -> CoreGraphics.CGRect + @objc deinit +} +@objcMembers @objc(FBSDKCreateContextContent) final public class CreateContextContent : ObjectiveC.NSObject, FBSDKGamingServicesKit.ValidatableProtocol { + @objc final public var playerID: Swift.String + @objc(initDialogContentWithPlayerID:) public init(playerID: Swift.String) + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc final public func validate() throws + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKCreateContextDialog) final public class CreateContextDialog : FBSDKGamingServicesKit.ContextWebDialog { + @objc public init(content: FBSDKGamingServicesKit.CreateContextContent, windowFinder: FBSDKCoreKit._WindowFinding, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) + @discardableResult + @objc override final public func show() -> Swift.Bool + @objc override final public func validate() throws + @objc deinit +} +public enum CustomUpdateContentError : Swift.Error { + case notInGameContext + case invalidMessage + case invalidMedia + case invalidImage + public static func == (a: FBSDKGamingServicesKit.CustomUpdateContentError, b: FBSDKGamingServicesKit.CustomUpdateContentError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +final public class CustomUpdateContentImage { + public init(message: Swift.String, image: UIKit.UIImage, cta: Swift.String? = nil, payload: Swift.String? = nil, messageLocalization: [Swift.String : Swift.String] = [:], ctaLocalization: [Swift.String : Swift.String] = [:]) + @objc deinit +} +final public class CustomUpdateContentMedia { + public init(message: Swift.String, media: FBSDKGamingServicesKit.URLMedia, cta: Swift.String? = nil, payload: Swift.String? = nil, messageLocalization: [Swift.String : Swift.String] = [:], ctaLocalization: [Swift.String : Swift.String] = [:]) + @objc deinit +} +public enum CustomUpdateGraphRequestError : Swift.Error { + case server(Swift.Error) + case invalidAccessToken + case contentParsing + case decoding +} +final public class CustomUpdateGraphRequest { + final public let graphRequestFactory: FBSDKCoreKit.GraphRequestFactoryProtocol + public init() + public init(graphRequestFactory: FBSDKCoreKit.GraphRequestFactoryProtocol = GraphRequestFactory()) + final public func request(content: FBSDKGamingServicesKit.CustomUpdateContentMedia, completionHandler: @escaping (Swift.Result) -> Swift.Void) throws + final public func request(content: FBSDKGamingServicesKit.CustomUpdateContentImage, completionHandler: @escaping (Swift.Result) -> Swift.Void) throws + @objc deinit +} +@objc(FBSDKDialog) public protocol DialogProtocol { + @objc weak var delegate: FBSDKGamingServicesKit.ContextDialogDelegate? { get set } + @objc var dialogContent: FBSDKGamingServicesKit.ValidatableProtocol? { get set } + @objc func show() -> Swift.Bool + @objc func validate() throws +} +@objc(FBSDKValidatable) public protocol ValidatableProtocol { + @objc func validate() throws +} +public struct FacebookGIF : Swift.Codable, Swift.Equatable, FBSDKGamingServicesKit.URLMedia { + public init(withUrl url: Foundation.URL) + public static func == (a: FBSDKGamingServicesKit.FacebookGIF, b: FBSDKGamingServicesKit.FacebookGIF) -> Swift.Bool + public func encode(to encoder: Swift.Encoder) throws + public init(from decoder: Swift.Decoder) throws +} +public struct FacebookVideo : Swift.Codable, Swift.Equatable, FBSDKGamingServicesKit.URLMedia { + public init(withUrl url: Foundation.URL) + public static func == (a: FBSDKGamingServicesKit.FacebookVideo, b: FBSDKGamingServicesKit.FacebookVideo) -> Swift.Bool + public func encode(to encoder: Swift.Encoder) throws + public init(from decoder: Swift.Decoder) throws +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc(FBSDKFriendFinderDialog) final public class FriendFinderDialog : ObjectiveC.NSObject { + @objc override convenience dynamic public init() + @objc(launchFriendFinderDialogWithCompletionHandler:) public static func launch(completionHandler: @escaping FBSDKGamingServicesKit.GamingServiceCompletionHandler) + @objc deinit +} +@objc(FBSDKGameRequestActionType) public enum GameRequestActionType : Swift.UInt { + case none + case send + case askFor + case turn + case invite + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKGameRequestContent) final public class GameRequestContent : ObjectiveC.NSObject, FBSDKShareKit.SharingValidation, Foundation.NSSecureCoding { + @objc final public var actionType: FBSDKGamingServicesKit.GameRequestActionType + @objc final public var data: Swift.String? + @objc final public var filters: FBSDKGamingServicesKit.GameRequestFilter + @objc final public var message: Swift.String + @objc final public var objectID: Swift.String + @objc final public var recipients: [Swift.String] + @objc final public var recipientSuggestions: [Swift.String] + @objc final public var title: Swift.String + @objc final public var cta: Swift.String + @objc(validateWithOptions:error:) final public func validate(options: FBSDKShareKit.ShareBridgeOptions = []) throws + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc(isEqualToGameRequestContent:) final public func isEqual(to content: FBSDKGamingServicesKit.GameRequestContent) -> Swift.Bool + @objc final public class var supportsSecureCoding: Swift.Bool { + @objc get + } + @objc convenience public init(coder decoder: Foundation.NSCoder) + @objc final public func encode(with encoder: Foundation.NSCoder) + @objc override dynamic public init() + @objc deinit +} +@objcMembers @objc(FBSDKGameRequestDialog) final public class GameRequestDialog : ObjectiveC.NSObject { + @objc weak final public var delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate? + @objc final public var content: FBSDKGamingServicesKit.GameRequestContent + @objc final public var isFrictionlessRequestsEnabled: Swift.Bool + @objc final public var canShow: Swift.Bool { + @objc get + } + @objc public init(content: FBSDKGamingServicesKit.GameRequestContent, delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate?) + @objc(dialogWithContent:delegate:) public static func dialog(content: FBSDKGamingServicesKit.GameRequestContent, delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate?) -> FBSDKGamingServicesKit.GameRequestDialog + @discardableResult + @objc(showWithContent:delegate:) public static func show(content: FBSDKGamingServicesKit.GameRequestContent, delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate?) -> FBSDKGamingServicesKit.GameRequestDialog + @objc @discardableResult + final public func show() -> Swift.Bool + @objc(validateWithError:) final public func validate() throws + @objc deinit +} +extension FBSDKGamingServicesKit.GameRequestDialog : FBSDKCoreKit.WebDialogDelegate { + @objc final public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didCompleteWithResults results: [Swift.String : Any]) + @objc final public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didFailWithError error: Swift.Error) + @objc final public func webDialogDidCancel(_ webDialog: FBSDKCoreKit.WebDialog) +} +extension FBSDKGamingServicesKit.GameRequestDialog : FBSDKCoreKit.URLOpening { + @objc final public func application(_ application: UIKit.UIApplication?, open potentialURL: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication) + @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool +} +@objc(FBSDKGameRequestDialogDelegate) public protocol GameRequestDialogDelegate { + @objc(gameRequestDialog:didCompleteWithResults:) func gameRequestDialog(_ gameRequestDialog: FBSDKGamingServicesKit.GameRequestDialog, didCompleteWithResults results: [Swift.String : Any]) + @objc(gameRequestDialog:didFailWithError:) func gameRequestDialog(_ gameRequestDialog: FBSDKGamingServicesKit.GameRequestDialog, didFailWithError error: Swift.Error) + @objc func gameRequestDialogDidCancel(_ gameRequestDialog: FBSDKGamingServicesKit.GameRequestDialog) +} +@objc(FBSDKGameRequestFilter) public enum GameRequestFilter : Swift.UInt { + case none + case appUsers + case appNonUsers + case everybody + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKGameRequestURLProvider) final public class GameRequestURLProvider : ObjectiveC.NSObject { + @objc(createDeepLinkURLWithQueryDictionary:) final public class func createDeepLinkURL(queryDictionary: [Swift.String : Any]) -> Foundation.URL? + @objc(filtersNameForFilters:) final public class func filtersName(for filters: FBSDKGamingServicesKit.GameRequestFilter) -> Swift.String? + @objc(actionTypeNameForActionType:) final public class func actionTypeName(for actionType: FBSDKGamingServicesKit.GameRequestActionType) -> Swift.String? + @objc override dynamic public init() + @objc deinit +} +@objcMembers @objc(FBSDKGamingContext) final public class GamingContext : ObjectiveC.NSObject { + @objc(currentContext) public static var current: FBSDKGamingServicesKit.GamingContext? + @objc final public let identifier: Swift.String + @objc final public let size: Swift.Int + @objc public init?(identifier: Swift.String, size: Swift.Int) + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingGroupIntegration) final public class GamingGroupIntegration : ObjectiveC.NSObject { + @objc public static func openGroupPage(completionHandler: @escaping FBSDKGamingServicesKit.GamingServiceCompletionHandler) + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingImageUploader) final public class GamingImageUploader : ObjectiveC.NSObject { + @objc(uploadImageWithConfiguration:andResultCompletion:) public static func uploadImage(with configuration: FBSDKGamingServicesKit.GamingImageUploaderConfiguration, andResultCompletion completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion) + @objc(uploadImageWithConfiguration:completion:andProgressHandler:) public static func uploadImage(with configuration: FBSDKGamingServicesKit.GamingImageUploaderConfiguration, completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion, andProgressHandler progressHandler: FBSDKGamingServicesKit.GamingServiceProgressHandler?) + @objc deinit +} +extension FBSDKGamingServicesKit.GamingImageUploader : FBSDKCoreKit.GraphRequestConnectionDelegate { + @objc final public func requestConnection(_ connection: FBSDKCoreKit.GraphRequestConnecting, didSendBodyData bytesWritten: Swift.Int, totalBytesWritten: Swift.Int, totalBytesExpectedToWrite: Swift.Int) +} +@objcMembers @objc(FBSDKGamingImageUploaderConfiguration) final public class GamingImageUploaderConfiguration : ObjectiveC.NSObject { + @objc final public var image: UIKit.UIImage { + get + } + @objc final public var caption: Swift.String? { + get + } + @objc final public var shouldLaunchMediaDialog: Swift.Bool { + get + } + @objc public init(image: UIKit.UIImage, caption: Swift.String?, shouldLaunchMediaDialog: Swift.Bool) + @objc deinit +} +@objcMembers @objc(FBSDKGamingPayload) final public class GamingPayload : ObjectiveC.NSObject { + @objc final public var URL: FBSDKCoreKit.AppLinkURL + @objc final public var payload: Swift.String + @objc public init(URL: FBSDKCoreKit.AppLinkURL) + @objc deinit +} +@objc(FBSDKGamingPayloadDelegate) public protocol GamingPayloadDelegate : ObjectiveC.NSObjectProtocol { + @objc optional func parsedGameRequestURLContaining(_ payload: FBSDKGamingServicesKit.GamingPayload, gameRequestID: Swift.String) + @objc optional func parsedGamingContextURLContaining(_ payload: FBSDKGamingServicesKit.GamingPayload) + @objc optional func parsedTournamentURLContaining(_ payload: FBSDKGamingServicesKit.GamingPayload, tournamentID: Swift.String) +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingPayloadObserver) final public class GamingPayloadObserver : ObjectiveC.NSObject { + @objc weak final public var delegate: FBSDKGamingServicesKit.GamingPayloadDelegate? { + @objc get + @objc set + } + @objc convenience public init(delegate: FBSDKGamingServicesKit.GamingPayloadDelegate?) + @objc deinit +} +extension FBSDKGamingServicesKit.GamingPayloadObserver : FBSDKCoreKit.FBSDKApplicationObserving { + @objc final public func application(_ application: UIKit.UIApplication, open url: Foundation.URL, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool +} +public typealias GamingServiceCompletionHandler = (_ success: Swift.Bool, _ error: Swift.Error?) -> Swift.Void +public typealias FBSDKGamingServiceCompletionHandler = FBSDKGamingServicesKit.GamingServiceCompletionHandler +public typealias GamingServiceResultCompletion = (_ success: Swift.Bool, _ result: [Swift.String : Any]?, _ error: Swift.Error?) -> Swift.Void +public typealias FBSDKGamingServiceResultCompletion = FBSDKGamingServicesKit.GamingServiceResultCompletion +public typealias GamingServiceProgressHandler = (_ bytesSent: Swift.Int64, _ totalBytesSent: Swift.Int64, _ totalBytesExpectedToSend: Swift.Int64) -> Swift.Void +public typealias FBSDKGamingServiceProgressHandler = FBSDKGamingServicesKit.GamingServiceProgressHandler +public enum GamingServicesDialogError : Swift.Error { + case invalidContentType + case missingContent + case deeplinkURLCreation + public static func == (a: FBSDKGamingServicesKit.GamingServicesDialogError, b: FBSDKGamingServicesKit.GamingServicesDialogError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingVideoUploader) final public class GamingVideoUploader : ObjectiveC.NSObject { + @objc(uploadVideoWithConfiguration:andResultCompletion:) public static func uploadVideo(configuration: FBSDKGamingServicesKit.GamingVideoUploaderConfiguration, completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion) + @objc(uploadVideoWithConfiguration:completion:andProgressHandler:) public static func uploadVideo(configuration: FBSDKGamingServicesKit.GamingVideoUploaderConfiguration, completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion, progressHandler: FBSDKGamingServicesKit.GamingServiceProgressHandler?) + @objc deinit +} +@objcMembers @objc(FBSDKGamingVideoUploaderConfiguration) final public class GamingVideoUploaderConfiguration : ObjectiveC.NSObject { + @objc final public var videoURL: Foundation.URL { + get + } + @objc final public var caption: Swift.String? { + get + } + @objc public init(videoURL: Foundation.URL, caption: Swift.String?) + @objc deinit +} +public enum ShareTournamentDialogError : Swift.Error { + case invalidAccessToken + case invalidAuthToken + case invalidTournamentID + case unableToCreateDialogUrl + case unknownBridgeError + case errorMessage(Swift.String) + case bridgeError(Swift.Error) +} +@objc @_hasMissingDesignatedInitializers final public class ShareTournamentDialog : ObjectiveC.NSObject, FBSDKCoreKit.URLOpening { + convenience public init(delegate: FBSDKGamingServicesKit.ShareTournamentDialogDelegate) + final public func show(score: Swift.Int, tournamentID: Swift.String) throws + final public func show(score: Swift.Int, tournament: FBSDKGamingServicesKit.Tournament) throws + final public func show(initialScore: Swift.Int, config: FBSDKGamingServicesKit.TournamentConfig) throws + @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool + @objc final public func application(_ application: UIKit.UIApplication?, open url: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication) + @objc deinit +} +public protocol ShareTournamentDialogDelegate : AnyObject { + func didComplete(dialog: FBSDKGamingServicesKit.ShareTournamentDialog, tournament: FBSDKGamingServicesKit.Tournament) + func didFail(withError error: Swift.Error, dialog: FBSDKGamingServicesKit.ShareTournamentDialog) + func didCancel(dialog: FBSDKGamingServicesKit.ShareTournamentDialog) +} +@objc(FBSDKShowable) public protocol Showable { + @objc func show() -> Swift.Bool +} +extension FBSDKGamingServicesKit.ChooseContextDialog : FBSDKGamingServicesKit.Showable { +} +extension FBSDKGamingServicesKit.CreateContextDialog : FBSDKGamingServicesKit.Showable { +} +@objcMembers @objc(FBSDKSwitchContextContent) final public class SwitchContextContent : ObjectiveC.NSObject, FBSDKGamingServicesKit.ValidatableProtocol { + @objc(initDialogContentWithContextID:) public init(contextID: Swift.String) + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc final public func validate() throws + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKSwitchContextDialog) final public class SwitchContextDialog : FBSDKGamingServicesKit.ContextWebDialog, FBSDKGamingServicesKit.Showable { + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the initializer `init(content:windowFinder:delegate:)` instead") + @objc(dialogWithContent:windowFinder:delegate:) public static func dialog(content: FBSDKGamingServicesKit.SwitchContextContent, windowFinder: FBSDKCoreKit._WindowFinding, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) -> Self + @objc public init(content: FBSDKGamingServicesKit.SwitchContextContent, windowFinder: FBSDKCoreKit._WindowFinding, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) + @objc override final public func show() -> Swift.Bool + @objc override final public func validate() throws + @objc deinit +} +public enum TournamentDecodingError : Swift.Error { + case invalidExpirationDate + case invalidScoreType + public static func == (a: FBSDKGamingServicesKit.TournamentDecodingError, b: FBSDKGamingServicesKit.TournamentDecodingError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +public struct Tournament : Swift.Codable { + public var identifier: Swift.String { + get + } + public var endTime: Foundation.Date? { + get + } + public var title: Swift.String? { + get + } + public var payload: Swift.String? + public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws +} +public struct TournamentConfig { + public var title: Swift.String? + public var endTime: Foundation.TimeInterval? + public var scoreType: FBSDKGamingServicesKit.TournamentScoreType? + public var sortOrder: FBSDKGamingServicesKit.TournamentSortOrder? + public var payload: Swift.String? + public var image: UIKit.UIImage? + public init(title: Swift.String? = nil, endTime: Foundation.Date? = nil, scoreType: FBSDKGamingServicesKit.TournamentScoreType? = nil, sortOrder: FBSDKGamingServicesKit.TournamentSortOrder? = nil, image: UIKit.UIImage? = nil, payload: Swift.String? = nil) +} +public enum TournamentFetchError : Swift.Error { + case server(Swift.Error) + case decoding + case invalidAuthToken + case invalidAccessToken +} +@_hasMissingDesignatedInitializers final public class TournamentFetcher { + convenience public init() + final public func fetchTournaments(completionHandler: @escaping (Swift.Result<[FBSDKGamingServicesKit.Tournament], FBSDKGamingServicesKit.TournamentFetchError>) -> Swift.Void) + @objc deinit +} +public enum TournamentScoreType : Swift.String { + case numeric + case time + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +public enum TournamentSortOrder : Swift.String { + case higherIsBetter + case lowerIsBetter + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +public enum TournamentUpdaterError : Swift.Error { + case server(Swift.Error) + case decoding + case invalidAuthToken + case invalidAccessToken + case invalidTournamentID +} +@_hasMissingDesignatedInitializers final public class TournamentUpdater { + convenience public init() + final public func update(tournamentID: Swift.String, score: Swift.Int, completionHandler: @escaping (Swift.Result) -> Swift.Void) + final public func update(tournament: FBSDKGamingServicesKit.Tournament, score: Swift.Int, completionHandler: @escaping (Swift.Result) -> Swift.Void) + @objc deinit +} +public protocol URLMedia : Swift.Decodable, Swift.Encodable { + init(withUrl: Foundation.URL) +} +@objc @_hasMissingDesignatedInitializers @objcMembers final public class _FBSDKTournament : ObjectiveC.NSObject { + @objc final public var identifier: Swift.String { + get + } + @objc final public var endTime: Foundation.Date? { + get + } + @objc final public var title: Swift.String? { + get + } + @objc final public var payload: Swift.String? + @objc deinit +} +@objc(_FBSDKShareTournamentDialogDelegate) public protocol _ShareTournamentDialogDelegate { + @objc func didComplete(dialog: FBSDKGamingServicesKit._ShareTournamentDialog, tournament: FBSDKGamingServicesKit._FBSDKTournament) + @objc func didFail(withError error: Swift.Error, dialog: FBSDKGamingServicesKit._ShareTournamentDialog) + @objc func didCancel(dialog: FBSDKGamingServicesKit._ShareTournamentDialog) +} +@_hasMissingDesignatedInitializers @objcMembers @objc(_FBSDKShareTournamentDialog) final public class _ShareTournamentDialog : ObjectiveC.NSObject, FBSDKGamingServicesKit.ShareTournamentDialogDelegate { + @objc final public func show(score: Swift.Int, tournamentID: Swift.String) throws + @objc final public func show(score: Swift.Int, tournament: FBSDKGamingServicesKit._FBSDKTournament) throws + @objc final public func show(initialScore: Swift.Int, config: FBSDKGamingServicesKit._TournamentConfig) throws + @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool + @objc final public func application(_ application: UIKit.UIApplication?, open url: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication) + final public func didComplete(dialog: FBSDKGamingServicesKit.ShareTournamentDialog, tournament: FBSDKGamingServicesKit.Tournament) + @objc final public func didFail(withError error: Swift.Error, dialog: FBSDKGamingServicesKit.ShareTournamentDialog) + @objc final public func didCancel(dialog: FBSDKGamingServicesKit.ShareTournamentDialog) + @objc deinit +} +@objc(_FBSDKTournamentScoreType) public enum _TournamentScoreType : Swift.Int { + case numeric + case time + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@objc(_FBSDKTournamentSortOrder) public enum _TournamentSortOrder : Swift.Int { + case higherIsBetter + case lowerIsBetter + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@objcMembers @objc(_FBSDKTournamentConfig) final public class _TournamentConfig : ObjectiveC.NSObject { + @objc final public var title: Swift.String? + final public var endTime: CoreGraphics.CGFloat? + final public var scoreType: FBSDKGamingServicesKit._TournamentScoreType? + final public var sortOrder: FBSDKGamingServicesKit._TournamentSortOrder? + @objc final public var payload: Swift.String? + @objc final public var image: UIKit.UIImage? + public init(title: Swift.String? = nil, endTime: Foundation.Date? = nil, scoreType: FBSDKGamingServicesKit._TournamentScoreType? = nil, sortOrder: FBSDKGamingServicesKit._TournamentSortOrder? = nil, image: UIKit.UIImage? = nil, payload: Swift.String? = nil) + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(_FBSDKTournamentFetcher) final public class _TournamentFetcher : ObjectiveC.NSObject { + @objc final public func fetchTournaments(completionHandler: @escaping ([FBSDKGamingServicesKit._FBSDKTournament]?, Swift.Error?) -> Swift.Void) + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(_FBSDKTournamentUpdater) final public class _TournamentUpdater : ObjectiveC.NSObject { + @objc final public func update(tournamentID: Swift.String, score: Swift.Int, completionHandler: @escaping (Swift.Bool, Swift.Error?) -> Swift.Void) + @objc final public func update(tournament: FBSDKGamingServicesKit._FBSDKTournament, score: Swift.Int, completionHandler: @escaping (Swift.Bool, Swift.Error?) -> Swift.Void) + @objc deinit +} +extension FBSDKGamingServicesKit.ChooseContextFilter : Swift.Equatable {} +extension FBSDKGamingServicesKit.ChooseContextFilter : Swift.Hashable {} +extension FBSDKGamingServicesKit.ChooseContextFilter : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit.ContextDialogPresenterError : Swift.Equatable {} +extension FBSDKGamingServicesKit.ContextDialogPresenterError : Swift.Hashable {} +extension FBSDKGamingServicesKit.CustomUpdateContentError : Swift.Equatable {} +extension FBSDKGamingServicesKit.CustomUpdateContentError : Swift.Hashable {} +extension FBSDKGamingServicesKit.GameRequestActionType : Swift.Equatable {} +extension FBSDKGamingServicesKit.GameRequestActionType : Swift.Hashable {} +extension FBSDKGamingServicesKit.GameRequestActionType : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit.GameRequestFilter : Swift.Equatable {} +extension FBSDKGamingServicesKit.GameRequestFilter : Swift.Hashable {} +extension FBSDKGamingServicesKit.GameRequestFilter : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit.GamingServicesDialogError : Swift.Equatable {} +extension FBSDKGamingServicesKit.GamingServicesDialogError : Swift.Hashable {} +extension FBSDKGamingServicesKit.TournamentDecodingError : Swift.Equatable {} +extension FBSDKGamingServicesKit.TournamentDecodingError : Swift.Hashable {} +extension FBSDKGamingServicesKit.TournamentScoreType : Swift.Equatable {} +extension FBSDKGamingServicesKit.TournamentScoreType : Swift.Hashable {} +extension FBSDKGamingServicesKit.TournamentScoreType : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit.TournamentSortOrder : Swift.Equatable {} +extension FBSDKGamingServicesKit.TournamentSortOrder : Swift.Hashable {} +extension FBSDKGamingServicesKit.TournamentSortOrder : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit._TournamentScoreType : Swift.Equatable {} +extension FBSDKGamingServicesKit._TournamentScoreType : Swift.Hashable {} +extension FBSDKGamingServicesKit._TournamentScoreType : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit._TournamentSortOrder : Swift.Equatable {} +extension FBSDKGamingServicesKit._TournamentSortOrder : Swift.Hashable {} +extension FBSDKGamingServicesKit._TournamentSortOrder : Swift.RawRepresentable {} diff --git a/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/arm64.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..7806502 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/arm64.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/arm64.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..afa4d6e --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/arm64.swiftinterface @@ -0,0 +1,557 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKGamingServicesKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +import FBSDKShareKit +import Foundation +import Swift +import UIKit +import _Concurrency +@objc(FBSDKChooseContextFilter) public enum ChooseContextFilter : Swift.Int, Swift.CaseIterable { + case none + case existingChallenges + case newPlayersOnly + case newContextOnly + public var name: Swift.String { + get + } + public init?(rawValue: Swift.Int) + public typealias AllCases = [FBSDKGamingServicesKit.ChooseContextFilter] + public typealias RawValue = Swift.Int + public static var allCases: [FBSDKGamingServicesKit.ChooseContextFilter] { + get + } + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKChooseContextContent) final public class ChooseContextContent : ObjectiveC.NSObject, FBSDKGamingServicesKit.ValidatableProtocol { + @objc final public var filter: FBSDKGamingServicesKit.ChooseContextFilter + @objc final public var maxParticipants: Swift.Int + @objc final public var minParticipants: Swift.Int + @objc public static func filtersName(forFilters filter: FBSDKGamingServicesKit.ChooseContextFilter) -> Swift.String + @objc final public func validate() throws + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public init() + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKChooseContextDialog) final public class ChooseContextDialog : FBSDKGamingServicesKit.ContextWebDialog, FBSDKCoreKit.URLOpening { + @objc convenience public init(content: FBSDKGamingServicesKit.ChooseContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) + @objc override final public func show() -> Swift.Bool + @objc override final public func validate() throws + @objc final public func application(_ application: UIKit.UIApplication?, open url: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication) + @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool + @objc deinit +} +@objc(FBSDKContextDialogDelegate) public protocol ContextDialogDelegate { + @objc func contextDialogDidComplete(_ contextDialog: FBSDKGamingServicesKit.ContextWebDialog) + @objc func contextDialog(_ contextDialog: FBSDKGamingServicesKit.ContextWebDialog, didFailWithError error: Swift.Error) + @objc func contextDialogDidCancel(_ contextDialog: FBSDKGamingServicesKit.ContextWebDialog) +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKContextDialogPresenter) final public class ContextDialogPresenter : ObjectiveC.NSObject { + @objc override convenience dynamic public init() + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowCreateContextDialog(content:delegate:)` instead") + @objc(showCreateContextDialogWithContent:delegate:) final public class func showCreateContextDialog(withContent content: FBSDKGamingServicesKit.CreateContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) -> Foundation.NSError? + @objc final public func makeAndShowCreateContextDialog(content: FBSDKGamingServicesKit.CreateContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) throws + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowSwitchContextDialog(content:delegate:)` instead") + @objc(showSwitchContextDialogWithContent:delegate:) final public class func showSwitchContextDialog(withContent content: FBSDKGamingServicesKit.SwitchContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate?) -> Foundation.NSError? + @objc final public func makeAndShowSwitchContextDialog(content: FBSDKGamingServicesKit.SwitchContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) throws + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowChooseContextDialog(content:delegate:)` instead") + @discardableResult + @objc(showChooseContextDialogWithContent:delegate:) final public class func showChooseContextDialog(withContent content: FBSDKGamingServicesKit.ChooseContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) -> FBSDKGamingServicesKit.ChooseContextDialog + @objc final public func makeAndShowChooseContextDialog(content: FBSDKGamingServicesKit.ChooseContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) + @objc @available(*, deprecated, message: "showChooseContextDialog is deprecated. Please use the instance method `makeAndShowChooseContextDialog` instead") + final public class func showChooseContextDialog(with content: FBSDKGamingServicesKit.ChooseContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) -> FBSDKGamingServicesKit.ChooseContextDialog + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowCreateContextDialog(content:delegate:)` instead") + @objc(createContextDialogWithContent:delegate:) final public class func createContextDialog(withContent content: FBSDKGamingServicesKit.CreateContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate?) -> FBSDKGamingServicesKit.CreateContextDialog? + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowSwitchContextDialog(content:delegate:)` instead") + @objc(switchContextDialogWithContent:delegate:) final public class func switchContextDialog(withContent content: FBSDKGamingServicesKit.SwitchContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate?) -> FBSDKGamingServicesKit.SwitchContextDialog? + @objc deinit +} +public enum ContextDialogPresenterError : Swift.Error { + case showCreateContext + case showSwitchContext + case showChooseContext + case invalidAccessToken + public static func == (a: FBSDKGamingServicesKit.ContextDialogPresenterError, b: FBSDKGamingServicesKit.ContextDialogPresenterError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKContextWebDialog) public class ContextWebDialog : ObjectiveC.NSObject, FBSDKCoreKit.WebDialogDelegate, FBSDKGamingServicesKit.DialogProtocol { + @objc public var delegate: FBSDKGamingServicesKit.ContextDialogDelegate? + @objc public var dialogContent: FBSDKGamingServicesKit.ValidatableProtocol? + @objc public var currentWebDialog: FBSDKCoreKit.WebDialog? + @objc public func show() -> Swift.Bool + @objc public func validate() throws + @objc public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didCompleteWithResults results: [Swift.String : Any]) + @objc public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didFailWithError error: Swift.Error) + @objc public func webDialogDidCancel(_ webDialog: FBSDKCoreKit.WebDialog) + @objc public func createWebDialogFrame(withWidth width: CoreGraphics.CGFloat, height: CoreGraphics.CGFloat, windowFinder: FBSDKCoreKit._WindowFinding) -> CoreGraphics.CGRect + @objc deinit +} +@objcMembers @objc(FBSDKCreateContextContent) final public class CreateContextContent : ObjectiveC.NSObject, FBSDKGamingServicesKit.ValidatableProtocol { + @objc final public var playerID: Swift.String + @objc(initDialogContentWithPlayerID:) public init(playerID: Swift.String) + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc final public func validate() throws + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKCreateContextDialog) final public class CreateContextDialog : FBSDKGamingServicesKit.ContextWebDialog { + @objc public init(content: FBSDKGamingServicesKit.CreateContextContent, windowFinder: FBSDKCoreKit._WindowFinding, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) + @discardableResult + @objc override final public func show() -> Swift.Bool + @objc override final public func validate() throws + @objc deinit +} +public enum CustomUpdateContentError : Swift.Error { + case notInGameContext + case invalidMessage + case invalidMedia + case invalidImage + public static func == (a: FBSDKGamingServicesKit.CustomUpdateContentError, b: FBSDKGamingServicesKit.CustomUpdateContentError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +final public class CustomUpdateContentImage { + public init(message: Swift.String, image: UIKit.UIImage, cta: Swift.String? = nil, payload: Swift.String? = nil, messageLocalization: [Swift.String : Swift.String] = [:], ctaLocalization: [Swift.String : Swift.String] = [:]) + @objc deinit +} +final public class CustomUpdateContentMedia { + public init(message: Swift.String, media: FBSDKGamingServicesKit.URLMedia, cta: Swift.String? = nil, payload: Swift.String? = nil, messageLocalization: [Swift.String : Swift.String] = [:], ctaLocalization: [Swift.String : Swift.String] = [:]) + @objc deinit +} +public enum CustomUpdateGraphRequestError : Swift.Error { + case server(Swift.Error) + case invalidAccessToken + case contentParsing + case decoding +} +final public class CustomUpdateGraphRequest { + final public let graphRequestFactory: FBSDKCoreKit.GraphRequestFactoryProtocol + public init() + public init(graphRequestFactory: FBSDKCoreKit.GraphRequestFactoryProtocol = GraphRequestFactory()) + final public func request(content: FBSDKGamingServicesKit.CustomUpdateContentMedia, completionHandler: @escaping (Swift.Result) -> Swift.Void) throws + final public func request(content: FBSDKGamingServicesKit.CustomUpdateContentImage, completionHandler: @escaping (Swift.Result) -> Swift.Void) throws + @objc deinit +} +@objc(FBSDKDialog) public protocol DialogProtocol { + @objc weak var delegate: FBSDKGamingServicesKit.ContextDialogDelegate? { get set } + @objc var dialogContent: FBSDKGamingServicesKit.ValidatableProtocol? { get set } + @objc func show() -> Swift.Bool + @objc func validate() throws +} +@objc(FBSDKValidatable) public protocol ValidatableProtocol { + @objc func validate() throws +} +public struct FacebookGIF : Swift.Codable, Swift.Equatable, FBSDKGamingServicesKit.URLMedia { + public init(withUrl url: Foundation.URL) + public static func == (a: FBSDKGamingServicesKit.FacebookGIF, b: FBSDKGamingServicesKit.FacebookGIF) -> Swift.Bool + public func encode(to encoder: Swift.Encoder) throws + public init(from decoder: Swift.Decoder) throws +} +public struct FacebookVideo : Swift.Codable, Swift.Equatable, FBSDKGamingServicesKit.URLMedia { + public init(withUrl url: Foundation.URL) + public static func == (a: FBSDKGamingServicesKit.FacebookVideo, b: FBSDKGamingServicesKit.FacebookVideo) -> Swift.Bool + public func encode(to encoder: Swift.Encoder) throws + public init(from decoder: Swift.Decoder) throws +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc(FBSDKFriendFinderDialog) final public class FriendFinderDialog : ObjectiveC.NSObject { + @objc override convenience dynamic public init() + @objc(launchFriendFinderDialogWithCompletionHandler:) public static func launch(completionHandler: @escaping FBSDKGamingServicesKit.GamingServiceCompletionHandler) + @objc deinit +} +@objc(FBSDKGameRequestActionType) public enum GameRequestActionType : Swift.UInt { + case none + case send + case askFor + case turn + case invite + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKGameRequestContent) final public class GameRequestContent : ObjectiveC.NSObject, FBSDKShareKit.SharingValidation, Foundation.NSSecureCoding { + @objc final public var actionType: FBSDKGamingServicesKit.GameRequestActionType + @objc final public var data: Swift.String? + @objc final public var filters: FBSDKGamingServicesKit.GameRequestFilter + @objc final public var message: Swift.String + @objc final public var objectID: Swift.String + @objc final public var recipients: [Swift.String] + @objc final public var recipientSuggestions: [Swift.String] + @objc final public var title: Swift.String + @objc final public var cta: Swift.String + @objc(validateWithOptions:error:) final public func validate(options: FBSDKShareKit.ShareBridgeOptions = []) throws + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc(isEqualToGameRequestContent:) final public func isEqual(to content: FBSDKGamingServicesKit.GameRequestContent) -> Swift.Bool + @objc final public class var supportsSecureCoding: Swift.Bool { + @objc get + } + @objc convenience public init(coder decoder: Foundation.NSCoder) + @objc final public func encode(with encoder: Foundation.NSCoder) + @objc override dynamic public init() + @objc deinit +} +@objcMembers @objc(FBSDKGameRequestDialog) final public class GameRequestDialog : ObjectiveC.NSObject { + @objc weak final public var delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate? + @objc final public var content: FBSDKGamingServicesKit.GameRequestContent + @objc final public var isFrictionlessRequestsEnabled: Swift.Bool + @objc final public var canShow: Swift.Bool { + @objc get + } + @objc public init(content: FBSDKGamingServicesKit.GameRequestContent, delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate?) + @objc(dialogWithContent:delegate:) public static func dialog(content: FBSDKGamingServicesKit.GameRequestContent, delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate?) -> FBSDKGamingServicesKit.GameRequestDialog + @discardableResult + @objc(showWithContent:delegate:) public static func show(content: FBSDKGamingServicesKit.GameRequestContent, delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate?) -> FBSDKGamingServicesKit.GameRequestDialog + @objc @discardableResult + final public func show() -> Swift.Bool + @objc(validateWithError:) final public func validate() throws + @objc deinit +} +extension FBSDKGamingServicesKit.GameRequestDialog : FBSDKCoreKit.WebDialogDelegate { + @objc final public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didCompleteWithResults results: [Swift.String : Any]) + @objc final public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didFailWithError error: Swift.Error) + @objc final public func webDialogDidCancel(_ webDialog: FBSDKCoreKit.WebDialog) +} +extension FBSDKGamingServicesKit.GameRequestDialog : FBSDKCoreKit.URLOpening { + @objc final public func application(_ application: UIKit.UIApplication?, open potentialURL: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication) + @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool +} +@objc(FBSDKGameRequestDialogDelegate) public protocol GameRequestDialogDelegate { + @objc(gameRequestDialog:didCompleteWithResults:) func gameRequestDialog(_ gameRequestDialog: FBSDKGamingServicesKit.GameRequestDialog, didCompleteWithResults results: [Swift.String : Any]) + @objc(gameRequestDialog:didFailWithError:) func gameRequestDialog(_ gameRequestDialog: FBSDKGamingServicesKit.GameRequestDialog, didFailWithError error: Swift.Error) + @objc func gameRequestDialogDidCancel(_ gameRequestDialog: FBSDKGamingServicesKit.GameRequestDialog) +} +@objc(FBSDKGameRequestFilter) public enum GameRequestFilter : Swift.UInt { + case none + case appUsers + case appNonUsers + case everybody + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKGameRequestURLProvider) final public class GameRequestURLProvider : ObjectiveC.NSObject { + @objc(createDeepLinkURLWithQueryDictionary:) final public class func createDeepLinkURL(queryDictionary: [Swift.String : Any]) -> Foundation.URL? + @objc(filtersNameForFilters:) final public class func filtersName(for filters: FBSDKGamingServicesKit.GameRequestFilter) -> Swift.String? + @objc(actionTypeNameForActionType:) final public class func actionTypeName(for actionType: FBSDKGamingServicesKit.GameRequestActionType) -> Swift.String? + @objc override dynamic public init() + @objc deinit +} +@objcMembers @objc(FBSDKGamingContext) final public class GamingContext : ObjectiveC.NSObject { + @objc(currentContext) public static var current: FBSDKGamingServicesKit.GamingContext? + @objc final public let identifier: Swift.String + @objc final public let size: Swift.Int + @objc public init?(identifier: Swift.String, size: Swift.Int) + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingGroupIntegration) final public class GamingGroupIntegration : ObjectiveC.NSObject { + @objc public static func openGroupPage(completionHandler: @escaping FBSDKGamingServicesKit.GamingServiceCompletionHandler) + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingImageUploader) final public class GamingImageUploader : ObjectiveC.NSObject { + @objc(uploadImageWithConfiguration:andResultCompletion:) public static func uploadImage(with configuration: FBSDKGamingServicesKit.GamingImageUploaderConfiguration, andResultCompletion completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion) + @objc(uploadImageWithConfiguration:completion:andProgressHandler:) public static func uploadImage(with configuration: FBSDKGamingServicesKit.GamingImageUploaderConfiguration, completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion, andProgressHandler progressHandler: FBSDKGamingServicesKit.GamingServiceProgressHandler?) + @objc deinit +} +extension FBSDKGamingServicesKit.GamingImageUploader : FBSDKCoreKit.GraphRequestConnectionDelegate { + @objc final public func requestConnection(_ connection: FBSDKCoreKit.GraphRequestConnecting, didSendBodyData bytesWritten: Swift.Int, totalBytesWritten: Swift.Int, totalBytesExpectedToWrite: Swift.Int) +} +@objcMembers @objc(FBSDKGamingImageUploaderConfiguration) final public class GamingImageUploaderConfiguration : ObjectiveC.NSObject { + @objc final public var image: UIKit.UIImage { + get + } + @objc final public var caption: Swift.String? { + get + } + @objc final public var shouldLaunchMediaDialog: Swift.Bool { + get + } + @objc public init(image: UIKit.UIImage, caption: Swift.String?, shouldLaunchMediaDialog: Swift.Bool) + @objc deinit +} +@objcMembers @objc(FBSDKGamingPayload) final public class GamingPayload : ObjectiveC.NSObject { + @objc final public var URL: FBSDKCoreKit.AppLinkURL + @objc final public var payload: Swift.String + @objc public init(URL: FBSDKCoreKit.AppLinkURL) + @objc deinit +} +@objc(FBSDKGamingPayloadDelegate) public protocol GamingPayloadDelegate : ObjectiveC.NSObjectProtocol { + @objc optional func parsedGameRequestURLContaining(_ payload: FBSDKGamingServicesKit.GamingPayload, gameRequestID: Swift.String) + @objc optional func parsedGamingContextURLContaining(_ payload: FBSDKGamingServicesKit.GamingPayload) + @objc optional func parsedTournamentURLContaining(_ payload: FBSDKGamingServicesKit.GamingPayload, tournamentID: Swift.String) +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingPayloadObserver) final public class GamingPayloadObserver : ObjectiveC.NSObject { + @objc weak final public var delegate: FBSDKGamingServicesKit.GamingPayloadDelegate? { + @objc get + @objc set + } + @objc convenience public init(delegate: FBSDKGamingServicesKit.GamingPayloadDelegate?) + @objc deinit +} +extension FBSDKGamingServicesKit.GamingPayloadObserver : FBSDKCoreKit.FBSDKApplicationObserving { + @objc final public func application(_ application: UIKit.UIApplication, open url: Foundation.URL, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool +} +public typealias GamingServiceCompletionHandler = (_ success: Swift.Bool, _ error: Swift.Error?) -> Swift.Void +public typealias FBSDKGamingServiceCompletionHandler = FBSDKGamingServicesKit.GamingServiceCompletionHandler +public typealias GamingServiceResultCompletion = (_ success: Swift.Bool, _ result: [Swift.String : Any]?, _ error: Swift.Error?) -> Swift.Void +public typealias FBSDKGamingServiceResultCompletion = FBSDKGamingServicesKit.GamingServiceResultCompletion +public typealias GamingServiceProgressHandler = (_ bytesSent: Swift.Int64, _ totalBytesSent: Swift.Int64, _ totalBytesExpectedToSend: Swift.Int64) -> Swift.Void +public typealias FBSDKGamingServiceProgressHandler = FBSDKGamingServicesKit.GamingServiceProgressHandler +public enum GamingServicesDialogError : Swift.Error { + case invalidContentType + case missingContent + case deeplinkURLCreation + public static func == (a: FBSDKGamingServicesKit.GamingServicesDialogError, b: FBSDKGamingServicesKit.GamingServicesDialogError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingVideoUploader) final public class GamingVideoUploader : ObjectiveC.NSObject { + @objc(uploadVideoWithConfiguration:andResultCompletion:) public static func uploadVideo(configuration: FBSDKGamingServicesKit.GamingVideoUploaderConfiguration, completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion) + @objc(uploadVideoWithConfiguration:completion:andProgressHandler:) public static func uploadVideo(configuration: FBSDKGamingServicesKit.GamingVideoUploaderConfiguration, completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion, progressHandler: FBSDKGamingServicesKit.GamingServiceProgressHandler?) + @objc deinit +} +@objcMembers @objc(FBSDKGamingVideoUploaderConfiguration) final public class GamingVideoUploaderConfiguration : ObjectiveC.NSObject { + @objc final public var videoURL: Foundation.URL { + get + } + @objc final public var caption: Swift.String? { + get + } + @objc public init(videoURL: Foundation.URL, caption: Swift.String?) + @objc deinit +} +public enum ShareTournamentDialogError : Swift.Error { + case invalidAccessToken + case invalidAuthToken + case invalidTournamentID + case unableToCreateDialogUrl + case unknownBridgeError + case errorMessage(Swift.String) + case bridgeError(Swift.Error) +} +@objc @_hasMissingDesignatedInitializers final public class ShareTournamentDialog : ObjectiveC.NSObject, FBSDKCoreKit.URLOpening { + convenience public init(delegate: FBSDKGamingServicesKit.ShareTournamentDialogDelegate) + final public func show(score: Swift.Int, tournamentID: Swift.String) throws + final public func show(score: Swift.Int, tournament: FBSDKGamingServicesKit.Tournament) throws + final public func show(initialScore: Swift.Int, config: FBSDKGamingServicesKit.TournamentConfig) throws + @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool + @objc final public func application(_ application: UIKit.UIApplication?, open url: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication) + @objc deinit +} +public protocol ShareTournamentDialogDelegate : AnyObject { + func didComplete(dialog: FBSDKGamingServicesKit.ShareTournamentDialog, tournament: FBSDKGamingServicesKit.Tournament) + func didFail(withError error: Swift.Error, dialog: FBSDKGamingServicesKit.ShareTournamentDialog) + func didCancel(dialog: FBSDKGamingServicesKit.ShareTournamentDialog) +} +@objc(FBSDKShowable) public protocol Showable { + @objc func show() -> Swift.Bool +} +extension FBSDKGamingServicesKit.ChooseContextDialog : FBSDKGamingServicesKit.Showable { +} +extension FBSDKGamingServicesKit.CreateContextDialog : FBSDKGamingServicesKit.Showable { +} +@objcMembers @objc(FBSDKSwitchContextContent) final public class SwitchContextContent : ObjectiveC.NSObject, FBSDKGamingServicesKit.ValidatableProtocol { + @objc(initDialogContentWithContextID:) public init(contextID: Swift.String) + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc final public func validate() throws + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKSwitchContextDialog) final public class SwitchContextDialog : FBSDKGamingServicesKit.ContextWebDialog, FBSDKGamingServicesKit.Showable { + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the initializer `init(content:windowFinder:delegate:)` instead") + @objc(dialogWithContent:windowFinder:delegate:) public static func dialog(content: FBSDKGamingServicesKit.SwitchContextContent, windowFinder: FBSDKCoreKit._WindowFinding, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) -> Self + @objc public init(content: FBSDKGamingServicesKit.SwitchContextContent, windowFinder: FBSDKCoreKit._WindowFinding, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) + @objc override final public func show() -> Swift.Bool + @objc override final public func validate() throws + @objc deinit +} +public enum TournamentDecodingError : Swift.Error { + case invalidExpirationDate + case invalidScoreType + public static func == (a: FBSDKGamingServicesKit.TournamentDecodingError, b: FBSDKGamingServicesKit.TournamentDecodingError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +public struct Tournament : Swift.Codable { + public var identifier: Swift.String { + get + } + public var endTime: Foundation.Date? { + get + } + public var title: Swift.String? { + get + } + public var payload: Swift.String? + public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws +} +public struct TournamentConfig { + public var title: Swift.String? + public var endTime: Foundation.TimeInterval? + public var scoreType: FBSDKGamingServicesKit.TournamentScoreType? + public var sortOrder: FBSDKGamingServicesKit.TournamentSortOrder? + public var payload: Swift.String? + public var image: UIKit.UIImage? + public init(title: Swift.String? = nil, endTime: Foundation.Date? = nil, scoreType: FBSDKGamingServicesKit.TournamentScoreType? = nil, sortOrder: FBSDKGamingServicesKit.TournamentSortOrder? = nil, image: UIKit.UIImage? = nil, payload: Swift.String? = nil) +} +public enum TournamentFetchError : Swift.Error { + case server(Swift.Error) + case decoding + case invalidAuthToken + case invalidAccessToken +} +@_hasMissingDesignatedInitializers final public class TournamentFetcher { + convenience public init() + final public func fetchTournaments(completionHandler: @escaping (Swift.Result<[FBSDKGamingServicesKit.Tournament], FBSDKGamingServicesKit.TournamentFetchError>) -> Swift.Void) + @objc deinit +} +public enum TournamentScoreType : Swift.String { + case numeric + case time + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +public enum TournamentSortOrder : Swift.String { + case higherIsBetter + case lowerIsBetter + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +public enum TournamentUpdaterError : Swift.Error { + case server(Swift.Error) + case decoding + case invalidAuthToken + case invalidAccessToken + case invalidTournamentID +} +@_hasMissingDesignatedInitializers final public class TournamentUpdater { + convenience public init() + final public func update(tournamentID: Swift.String, score: Swift.Int, completionHandler: @escaping (Swift.Result) -> Swift.Void) + final public func update(tournament: FBSDKGamingServicesKit.Tournament, score: Swift.Int, completionHandler: @escaping (Swift.Result) -> Swift.Void) + @objc deinit +} +public protocol URLMedia : Swift.Decodable, Swift.Encodable { + init(withUrl: Foundation.URL) +} +@objc @_hasMissingDesignatedInitializers @objcMembers final public class _FBSDKTournament : ObjectiveC.NSObject { + @objc final public var identifier: Swift.String { + get + } + @objc final public var endTime: Foundation.Date? { + get + } + @objc final public var title: Swift.String? { + get + } + @objc final public var payload: Swift.String? + @objc deinit +} +@objc(_FBSDKShareTournamentDialogDelegate) public protocol _ShareTournamentDialogDelegate { + @objc func didComplete(dialog: FBSDKGamingServicesKit._ShareTournamentDialog, tournament: FBSDKGamingServicesKit._FBSDKTournament) + @objc func didFail(withError error: Swift.Error, dialog: FBSDKGamingServicesKit._ShareTournamentDialog) + @objc func didCancel(dialog: FBSDKGamingServicesKit._ShareTournamentDialog) +} +@_hasMissingDesignatedInitializers @objcMembers @objc(_FBSDKShareTournamentDialog) final public class _ShareTournamentDialog : ObjectiveC.NSObject, FBSDKGamingServicesKit.ShareTournamentDialogDelegate { + @objc final public func show(score: Swift.Int, tournamentID: Swift.String) throws + @objc final public func show(score: Swift.Int, tournament: FBSDKGamingServicesKit._FBSDKTournament) throws + @objc final public func show(initialScore: Swift.Int, config: FBSDKGamingServicesKit._TournamentConfig) throws + @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool + @objc final public func application(_ application: UIKit.UIApplication?, open url: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication) + final public func didComplete(dialog: FBSDKGamingServicesKit.ShareTournamentDialog, tournament: FBSDKGamingServicesKit.Tournament) + @objc final public func didFail(withError error: Swift.Error, dialog: FBSDKGamingServicesKit.ShareTournamentDialog) + @objc final public func didCancel(dialog: FBSDKGamingServicesKit.ShareTournamentDialog) + @objc deinit +} +@objc(_FBSDKTournamentScoreType) public enum _TournamentScoreType : Swift.Int { + case numeric + case time + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@objc(_FBSDKTournamentSortOrder) public enum _TournamentSortOrder : Swift.Int { + case higherIsBetter + case lowerIsBetter + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@objcMembers @objc(_FBSDKTournamentConfig) final public class _TournamentConfig : ObjectiveC.NSObject { + @objc final public var title: Swift.String? + final public var endTime: CoreGraphics.CGFloat? + final public var scoreType: FBSDKGamingServicesKit._TournamentScoreType? + final public var sortOrder: FBSDKGamingServicesKit._TournamentSortOrder? + @objc final public var payload: Swift.String? + @objc final public var image: UIKit.UIImage? + public init(title: Swift.String? = nil, endTime: Foundation.Date? = nil, scoreType: FBSDKGamingServicesKit._TournamentScoreType? = nil, sortOrder: FBSDKGamingServicesKit._TournamentSortOrder? = nil, image: UIKit.UIImage? = nil, payload: Swift.String? = nil) + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(_FBSDKTournamentFetcher) final public class _TournamentFetcher : ObjectiveC.NSObject { + @objc final public func fetchTournaments(completionHandler: @escaping ([FBSDKGamingServicesKit._FBSDKTournament]?, Swift.Error?) -> Swift.Void) + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(_FBSDKTournamentUpdater) final public class _TournamentUpdater : ObjectiveC.NSObject { + @objc final public func update(tournamentID: Swift.String, score: Swift.Int, completionHandler: @escaping (Swift.Bool, Swift.Error?) -> Swift.Void) + @objc final public func update(tournament: FBSDKGamingServicesKit._FBSDKTournament, score: Swift.Int, completionHandler: @escaping (Swift.Bool, Swift.Error?) -> Swift.Void) + @objc deinit +} +extension FBSDKGamingServicesKit.ChooseContextFilter : Swift.Equatable {} +extension FBSDKGamingServicesKit.ChooseContextFilter : Swift.Hashable {} +extension FBSDKGamingServicesKit.ChooseContextFilter : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit.ContextDialogPresenterError : Swift.Equatable {} +extension FBSDKGamingServicesKit.ContextDialogPresenterError : Swift.Hashable {} +extension FBSDKGamingServicesKit.CustomUpdateContentError : Swift.Equatable {} +extension FBSDKGamingServicesKit.CustomUpdateContentError : Swift.Hashable {} +extension FBSDKGamingServicesKit.GameRequestActionType : Swift.Equatable {} +extension FBSDKGamingServicesKit.GameRequestActionType : Swift.Hashable {} +extension FBSDKGamingServicesKit.GameRequestActionType : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit.GameRequestFilter : Swift.Equatable {} +extension FBSDKGamingServicesKit.GameRequestFilter : Swift.Hashable {} +extension FBSDKGamingServicesKit.GameRequestFilter : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit.GamingServicesDialogError : Swift.Equatable {} +extension FBSDKGamingServicesKit.GamingServicesDialogError : Swift.Hashable {} +extension FBSDKGamingServicesKit.TournamentDecodingError : Swift.Equatable {} +extension FBSDKGamingServicesKit.TournamentDecodingError : Swift.Hashable {} +extension FBSDKGamingServicesKit.TournamentScoreType : Swift.Equatable {} +extension FBSDKGamingServicesKit.TournamentScoreType : Swift.Hashable {} +extension FBSDKGamingServicesKit.TournamentScoreType : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit.TournamentSortOrder : Swift.Equatable {} +extension FBSDKGamingServicesKit.TournamentSortOrder : Swift.Hashable {} +extension FBSDKGamingServicesKit.TournamentSortOrder : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit._TournamentScoreType : Swift.Equatable {} +extension FBSDKGamingServicesKit._TournamentScoreType : Swift.Hashable {} +extension FBSDKGamingServicesKit._TournamentScoreType : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit._TournamentSortOrder : Swift.Equatable {} +extension FBSDKGamingServicesKit._TournamentSortOrder : Swift.Hashable {} +extension FBSDKGamingServicesKit._TournamentSortOrder : Swift.RawRepresentable {} diff --git a/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64/FBSDKGamingServicesKit.framework/Modules/module.modulemap b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64/FBSDKGamingServicesKit.framework/Modules/module.modulemap new file mode 100644 index 0000000..e143fca --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64/FBSDKGamingServicesKit.framework/Modules/module.modulemap @@ -0,0 +1,4 @@ +framework module FBSDKGamingServicesKit { + header "FBSDKGamingServicesKit-Swift.h" + requires objc +} diff --git a/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKGamingServicesKit.framework/FBSDKGamingServicesKit b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKGamingServicesKit.framework/FBSDKGamingServicesKit new file mode 100644 index 0000000..e4972d1 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKGamingServicesKit.framework/FBSDKGamingServicesKit differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKGamingServicesKit.framework/Headers/FBSDKGamingServicesKit-Swift.h b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKGamingServicesKit.framework/Headers/FBSDKGamingServicesKit-Swift.h new file mode 100644 index 0000000..18435cc --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKGamingServicesKit.framework/Headers/FBSDKGamingServicesKit-Swift.h @@ -0,0 +1,1928 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +#ifndef FBSDKGAMINGSERVICESKIT_SWIFT_H +#define FBSDKGAMINGSERVICESKIT_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import CoreGraphics; +@import FBSDKCoreKit; +@import FBSDKShareKit; +@import Foundation; +@import ObjectiveC; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKGamingServicesKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + +/// A protocol that a content object must conform to be used in a Gaming Services dialog +SWIFT_PROTOCOL_NAMED("ValidatableProtocol") +@protocol FBSDKValidatable +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +@end + +enum FBSDKChooseContextFilter : NSInteger; +@class NSNumber; +@class NSString; + +/// A model for an instant games choose context app switch dialog +SWIFT_CLASS_NAMED("ChooseContextContent") +@interface FBSDKChooseContextContent : NSObject +/// This sets the filter which determines which context will show when the user is app switched to the choose context dialog. +@property (nonatomic) enum FBSDKChooseContextFilter filter; +/// This sets the maximum number of participants that the suggested context(s) shown in the dialog should have. +@property (nonatomic) NSInteger maxParticipants; +/// This sets the minimum number of participants that the suggested context(s) shown in the dialog should have. +@property (nonatomic) NSInteger minParticipants; ++ (NSString * _Nonnull)filtersNameForFilters:(enum FBSDKChooseContextFilter)filter SWIFT_WARN_UNUSED_RESULT; +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@protocol FBSDKContextDialogDelegate; + +/// The protocol sdk dialogs must conform to and implement all the following methods. +SWIFT_PROTOCOL_NAMED("DialogProtocol") +@protocol FBSDKDialog +/// The receiver’s delegate or nil if it doesn’t have a delegate. +@property (nonatomic, weak) id _Nullable delegate; +/// The content object used to create the specific dialog +@property (nonatomic, strong) id _Nullable dialogContent; +/// Begins to show the specfic dialog +/// @return true if the receiver was able to show the dialog, otherwise false. +- (BOOL)show SWIFT_WARN_UNUSED_RESULT; +/// Validates the content for the dialog +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +@end + +@class FBSDKWebDialog; +@protocol _FBSDKWindowFinding; + +/// A super class type for the context dialogs classes that show an in-app webview to display content. +SWIFT_CLASS_NAMED("ContextWebDialog") +@interface FBSDKContextWebDialog : NSObject +@property (nonatomic, strong) id _Nullable delegate; +@property (nonatomic, strong) id _Nullable dialogContent; +@property (nonatomic, strong) FBSDKWebDialog * _Nullable currentWebDialog; +- (BOOL)show SWIFT_WARN_UNUSED_RESULT; +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +- (void)webDialog:(FBSDKWebDialog * _Nonnull)webDialog didCompleteWithResults:(NSDictionary * _Nonnull)results; +- (void)webDialog:(FBSDKWebDialog * _Nonnull)webDialog didFailWithError:(NSError * _Nonnull)error; +- (void)webDialogDidCancel:(FBSDKWebDialog * _Nonnull)webDialog; +/// Depending on the content size within the browser, this method allows for the resizing of web dialog +- (CGRect)createWebDialogFrameWithWidth:(CGFloat)width height:(CGFloat)height windowFinder:(id <_FBSDKWindowFinding> _Nonnull)windowFinder SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +@class UIApplication; +@class NSURL; + +/// A dialog for the choose context through app switch +SWIFT_CLASS_NAMED("ChooseContextDialog") +@interface FBSDKChooseContextDialog : FBSDKContextWebDialog +/// Convenience method to build up a choose context app switch with content and a delegate. +/// @param content The content for the choose context dialog +/// @param delegate The receiver’s delegate. +- (nonnull instancetype)initWithContent:(FBSDKChooseContextContent * _Nonnull)content delegate:(id _Nonnull)delegate; +- (BOOL)show SWIFT_WARN_UNUSED_RESULT; +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +- (BOOL)application:(UIApplication * _Nullable)application openURL:(NSURL * _Nullable)url sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +- (BOOL)canOpenURL:(NSURL * _Nonnull)url forApplication:(UIApplication * _Nullable)application sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +- (void)applicationDidBecomeActive:(UIApplication * _Nonnull)application; +- (BOOL)isAuthenticationURL:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT; +@end + + +SWIFT_PROTOCOL_NAMED("Showable") +@protocol FBSDKShowable +- (BOOL)show SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKChooseContextDialog (SWIFT_EXTENSION(FBSDKGamingServicesKit)) +@end + +typedef SWIFT_ENUM_NAMED(NSInteger, FBSDKChooseContextFilter, "ChooseContextFilter", open) { + FBSDKChooseContextFilterNone = 0, + FBSDKChooseContextFilterExistingChallenges = 1, + FBSDKChooseContextFilterNewPlayersOnly = 2, + FBSDKChooseContextFilterNewContextOnly = 3, +}; + + +/// A delegate for context dialogs to communicate with the dialog handler. +/// The delegate is notified with the results of the cross play request as long as the application has permissions to +/// receive the information. For example, if the person is not signed into the containing app, the shower may not be able +/// to distinguish between completion of a cross play request and cancellation. +SWIFT_PROTOCOL_NAMED("ContextDialogDelegate") +@protocol FBSDKContextDialogDelegate +/// Sent to the delegate when the context dialog completes without error. +/// @param contextDialog The FBSDKContextDialog that completed. +- (void)contextDialogDidComplete:(FBSDKContextWebDialog * _Nonnull)contextDialog; +/// Sent to the delegate when the context dialog encounters an error. +/// @param contextDialog The FBSDKContextDialog that completed. +/// @param error The error. +- (void)contextDialog:(FBSDKContextWebDialog * _Nonnull)contextDialog didFailWithError:(NSError * _Nonnull)error; +/// Sent to the delegate when the cross play request dialog is cancelled. +/// @param contextDialog The FBSDKContextDialog that completed. +- (void)contextDialogDidCancel:(FBSDKContextWebDialog * _Nonnull)contextDialog; +@end + +@class FBSDKCreateContextContent; +@class NSError; +@class FBSDKSwitchContextContent; +@class FBSDKCreateContextDialog; +@class FBSDKSwitchContextDialog; + +/// A dialog presenter responsible for creating and showing all the dialogs that create, switch, +/// choose and otherwise manipulate the gaming context. +SWIFT_CLASS_NAMED("ContextDialogPresenter") +@interface FBSDKContextDialogPresenter : NSObject +- (nonnull instancetype)init; +/// Convenience method to build up and show an instant games create context dialog with content and delegate. +/// \param content The content for the create context dialog +/// +/// \param delegate The receiver’s delegate. +/// ++ (NSError * _Nullable)showCreateContextDialogWithContent:(FBSDKCreateContextContent * _Nonnull)content delegate:(id _Nonnull)delegate SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowCreateContextDialog(content:delegate:)` instead"); +/// Convenience method to build up and show an instant games create context dialog with content and delegate. +/// \param content The content for the create context dialog +/// +/// \param delegate The receiver’s delegate. +/// +- (BOOL)makeAndShowCreateContextDialogWithContent:(FBSDKCreateContextContent * _Nonnull)content delegate:(id _Nonnull)delegate error:(NSError * _Nullable * _Nullable)error; +/// Convenience method to build up and show an instant games switch context dialog with content and delegate. +/// \param content The content for the switch context dialog +/// +/// \param delegate The receiver’s delegate. +/// ++ (NSError * _Nullable)showSwitchContextDialogWithContent:(FBSDKSwitchContextContent * _Nonnull)content delegate:(id _Nullable)delegate SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowSwitchContextDialog(content:delegate:)` instead"); +/// Convenience method to build up and show an instant games switch context dialog with the giving content and delegate. +/// \param content The content for the switch context dialog +/// +/// \param delegate The receiver’s delegate. +/// +- (BOOL)makeAndShowSwitchContextDialogWithContent:(FBSDKSwitchContextContent * _Nonnull)content delegate:(id _Nonnull)delegate error:(NSError * _Nullable * _Nullable)error; +/// Convenience method to build up and show an instant games choose context dialog with content and a delegate. +/// \param content The content for the choose context dialog +/// +/// \param delegate The receiver’s delegate. +/// ++ (FBSDKChooseContextDialog * _Nonnull)showChooseContextDialogWithContent:(FBSDKChooseContextContent * _Nonnull)content delegate:(id _Nonnull)delegate SWIFT_DEPRECATED_MSG("This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowChooseContextDialog(content:delegate:)` instead"); +/// Convenience method to build up and show an instant games choose context dialog with content and a delegate. +/// \param content The content for the choose context dialog +/// +/// \param delegate The receiver’s delegate. +/// +- (void)makeAndShowChooseContextDialogWithContent:(FBSDKChooseContextContent * _Nonnull)content delegate:(id _Nonnull)delegate; ++ (FBSDKChooseContextDialog * _Nonnull)showChooseContextDialogWith:(FBSDKChooseContextContent * _Nonnull)content delegate:(id _Nonnull)delegate SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("showChooseContextDialog is deprecated. Please use the instance method `makeAndShowChooseContextDialog` instead"); +/// Convenience method to build up an instant games create context dialog with content and delegate. +///
    +///
  • +/// Parameters +///
      +///
    • +/// content: The content for the create context dialog +///
    • +///
    • +/// delegate: The receiver’s delegate. +///
    • +///
    +///
  • +///
++ (FBSDKCreateContextDialog * _Nullable)createContextDialogWithContent:(FBSDKCreateContextContent * _Nonnull)content delegate:(id _Nullable)delegate SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowCreateContextDialog(content:delegate:)` instead"); +/// Convenience method to build up an instant games switch context dialog with content and delegate. +/// \param content The content for the switch context dialog +/// +/// \param delegate The receiver’s delegate. +/// ++ (FBSDKSwitchContextDialog * _Nullable)switchContextDialogWithContent:(FBSDKSwitchContextContent * _Nonnull)content delegate:(id _Nullable)delegate SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowSwitchContextDialog(content:delegate:)` instead"); +@end + + + +/// A model for an instant games createAsync cross play request. +SWIFT_CLASS_NAMED("CreateContextContent") +@interface FBSDKCreateContextContent : NSObject +/// The ID of the player that is being challenged. +/// @return The ID for the player being challenged +@property (nonatomic, copy) NSString * _Nonnull playerID; +/// Builds a content object that will be use to display a create context dialog +/// @param playerID The player ID of the user being challenged which will be used to create a game context +- (nonnull instancetype)initDialogContentWithPlayerID:(NSString * _Nonnull)playerID OBJC_DESIGNATED_INITIALIZER; +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// A dialog to create a context through a web view +SWIFT_CLASS_NAMED("CreateContextDialog") +@interface FBSDKCreateContextDialog : FBSDKContextWebDialog +/// Builds a context creation web dialog with content and a delegate. +/// @param content The content for the create context dialog +/// @param windowFinder The application window finder that provides the window to display the dialog +/// @param delegate The receiver’s delegate used to let the receiver know a context was created or failure +- (nonnull instancetype)initWithContent:(FBSDKCreateContextContent * _Nonnull)content windowFinder:(id <_FBSDKWindowFinding> _Nonnull)windowFinder delegate:(id _Nonnull)delegate OBJC_DESIGNATED_INITIALIZER; +- (BOOL)show; +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +@end + + +@interface FBSDKCreateContextDialog (SWIFT_EXTENSION(FBSDKGamingServicesKit)) +@end + + + + +SWIFT_CLASS_NAMED("FriendFinderDialog") +@interface FBSDKFriendFinderDialog : NSObject +- (nonnull instancetype)init; ++ (void)launchFriendFinderDialogWithCompletionHandler:(void (^ _Nonnull)(BOOL, NSError * _Nullable))completionHandler; +@end + +/// Additional context about the nature of the game request. +typedef SWIFT_ENUM_NAMED(NSUInteger, FBSDKGameRequestActionType, "GameRequestActionType", open) { +/// No action type + FBSDKGameRequestActionTypeNone = 0, +/// Send action type: The user is sending an object to the friends. + FBSDKGameRequestActionTypeSend = 1, +/// Ask For action type: The user is asking for an object from friends. + FBSDKGameRequestActionTypeAskFor = 2, +/// Turn action type: It is the turn of the friends to play against the user in a match. + FBSDKGameRequestActionTypeTurn = 3, +/// Invite action type: The user is inviting a friend. + FBSDKGameRequestActionTypeInvite = 4, +}; + +enum FBSDKGameRequestFilter : NSUInteger; +@class NSCoder; + +/// A model for a game request. +SWIFT_CLASS_NAMED("GameRequestContent") +@interface FBSDKGameRequestContent : NSObject +/// Used when defining additional context about the nature of the request. +/// The parameter ‘objectID’ is required if the action type is either +/// ‘.send’ or ‘.askFor’. +/// seealso: +/// objectID +@property (nonatomic) enum FBSDKGameRequestActionType actionType; +/// Additional freeform data you may pass for tracking. This will be stored as part of +/// the request objects created. The maximum length is 255 characters. +@property (nonatomic, copy) NSString * _Nullable data; +/// This controls the set of friends someone sees if a multi-friend selector is shown. +/// It is .none by default, meaning that all friends can be shown. +/// If specify as .appUsers, only friends who use the app will be shown. +/// On the other hands, use .appNonUsers to filter only friends who do not use the app. +/// The parameter name is preserved to be consistent with the counter part on desktop. +@property (nonatomic) enum FBSDKGameRequestFilter filters; +/// A plain-text message to be sent as part of the request. This text will surface in the App Center view +/// of the request, but not on the notification jewel. Required parameter. +@property (nonatomic, copy) NSString * _Nonnull message; +/// The Open Graph object ID of the object being sent. +/// seealso: +/// actionType +@property (nonatomic, copy) NSString * _Nonnull objectID; +/// An array of user IDs, usernames or invite tokens (NSString) of people to send request. +/// These may or may not be a friend of the sender. If this is specified by the app, +/// the sender will not have a choice of recipients. If not, the sender will see a multi-friend selector +/// This is equivalent to the “to” parameter when using the web game request dialog. +@property (nonatomic, copy) NSArray * _Nonnull recipients; +/// An array of user IDs that will be included in the dialog as the first suggested friends. +/// Cannot be used together with filters. +/// This is equivalent to the suggestions parameter when using the web game request dialog. +@property (nonatomic, copy) NSArray * _Nonnull recipientSuggestions; +/// The title for the dialog. +@property (nonatomic, copy) NSString * _Nonnull title; +/// The call to action for the dialog. +@property (nonatomic, copy) NSString * _Nonnull cta; +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)options error:(NSError * _Nullable * _Nullable)error; +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +/// Compares the receiver to another game request content. +/// @param content The other content +/// @return true if the receiver’s values are equal to the other content’s values; otherwise false +- (BOOL)isEqualToGameRequestContent:(FBSDKGameRequestContent * _Nonnull)content SWIFT_WARN_UNUSED_RESULT; +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) BOOL supportsSecureCoding;) ++ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)initWithCoder:(NSCoder * _Nonnull)decoder; +- (void)encodeWithCoder:(NSCoder * _Nonnull)encoder; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@protocol FBSDKGameRequestDialogDelegate; + +/// A dialog for sending game requests. +SWIFT_CLASS_NAMED("GameRequestDialog") +@interface FBSDKGameRequestDialog : NSObject +/// The receiver’s delegate or nil if it doesn’t have a delegate. +@property (nonatomic, weak) id _Nullable delegate; +/// The content for game request. +@property (nonatomic, strong) FBSDKGameRequestContent * _Nonnull content; +/// Specifies whether frictionless requests are enabled. +@property (nonatomic) BOOL isFrictionlessRequestsEnabled; +/// A Boolean value that indicates whether the receiver can initiate a game request. +/// May return false if the appropriate Facebook app is not installed and is required or an access token is +/// required but not available. This method does not validate the content on the receiver, so this can be checked before +/// building up the content. +/// See validate() +/// @return true if the receiver can share, otherwise false. +@property (nonatomic, readonly) BOOL canShow; +- (nonnull instancetype)initWithContent:(FBSDKGameRequestContent * _Nonnull)content delegate:(id _Nullable)delegate OBJC_DESIGNATED_INITIALIZER; +/// Convenience method to build up a game request with content and a delegate. +/// @param content The content for the game request. +/// @param delegate The receiver’s delegate. ++ (FBSDKGameRequestDialog * _Nonnull)dialogWithContent:(FBSDKGameRequestContent * _Nonnull)content delegate:(id _Nullable)delegate SWIFT_WARN_UNUSED_RESULT; +/// Convenience method to build up and show a game request with content and a delegate. +/// @param content The content for the game request. +/// @param delegate The receiver’s delegate. ++ (FBSDKGameRequestDialog * _Nonnull)showWithContent:(FBSDKGameRequestContent * _Nonnull)content delegate:(id _Nullable)delegate; +/// Begins the game request from the receiver. +/// @return true if the receiver was able to show the dialog, otherwise false. +- (BOOL)show; +/// Validates the content on the receiver. +- (BOOL)validateWithError:(NSError * _Nullable * _Nullable)error; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface FBSDKGameRequestDialog (SWIFT_EXTENSION(FBSDKGamingServicesKit)) +- (void)webDialog:(FBSDKWebDialog * _Nonnull)webDialog didCompleteWithResults:(NSDictionary * _Nonnull)results; +- (void)webDialog:(FBSDKWebDialog * _Nonnull)webDialog didFailWithError:(NSError * _Nonnull)error; +- (void)webDialogDidCancel:(FBSDKWebDialog * _Nonnull)webDialog; +@end + + +@interface FBSDKGameRequestDialog (SWIFT_EXTENSION(FBSDKGamingServicesKit)) +- (BOOL)application:(UIApplication * _Nullable)application openURL:(NSURL * _Nullable)potentialURL sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +- (BOOL)canOpenURL:(NSURL * _Nonnull)url forApplication:(UIApplication * _Nullable)application sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +- (void)applicationDidBecomeActive:(UIApplication * _Nonnull)application; +- (BOOL)isAuthenticationURL:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT; +@end + + +/// A delegate for GameRequestDialog. +/// The delegate is notified with the results of the game request as long as the application has permissions to +/// receive the information. For example, if the person is not signed into the containing app, the shower may not be able +/// to distinguish between completion of a game request and cancellation. +SWIFT_PROTOCOL_NAMED("GameRequestDialogDelegate") +@protocol FBSDKGameRequestDialogDelegate +/// Sent to the delegate when the game request completes without error. +/// @param gameRequestDialog The GameRequestDialog that completed. +/// @param results The results from the dialog. This may be nil or empty. +- (void)gameRequestDialog:(FBSDKGameRequestDialog * _Nonnull)gameRequestDialog didCompleteWithResults:(NSDictionary * _Nonnull)results; +/// Sent to the delegate when the game request encounters an error. +/// @param gameRequestDialog The GameRequestDialog that completed. +/// @param error The error. +- (void)gameRequestDialog:(FBSDKGameRequestDialog * _Nonnull)gameRequestDialog didFailWithError:(NSError * _Nonnull)error; +/// Sent to the delegate when the game request dialog is cancelled. +/// @param gameRequestDialog The GameRequestDialog that completed. +- (void)gameRequestDialogDidCancel:(FBSDKGameRequestDialog * _Nonnull)gameRequestDialog; +@end + +/// Filter for who can be displayed in the multi-friend selector. +typedef SWIFT_ENUM_NAMED(NSUInteger, FBSDKGameRequestFilter, "GameRequestFilter", open) { +/// No filter, all friends can be displayed. + FBSDKGameRequestFilterNone = 0, +/// Friends using the app can be displayed. + FBSDKGameRequestFilterAppUsers = 1, +/// Friends not using the app can be displayed. + FBSDKGameRequestFilterAppNonUsers = 2, +/// All friends can be displayed if FB app is installed. + FBSDKGameRequestFilterEverybody = 3, +}; + + +SWIFT_CLASS_NAMED("GameRequestURLProvider") +@interface FBSDKGameRequestURLProvider : NSObject ++ (NSURL * _Nullable)createDeepLinkURLWithQueryDictionary:(NSDictionary * _Nonnull)queryDictionary SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)filtersNameForFilters:(enum FBSDKGameRequestFilter)filters SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)actionTypeNameForActionType:(enum FBSDKGameRequestActionType)actionType SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +SWIFT_CLASS_NAMED("GamingContext") +@interface FBSDKGamingContext : NSObject +/// A shared object that holds data about the current user’s game instance which could be solo game or multiplayer game with other users. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, strong) FBSDKGamingContext * _Nullable currentContext;) ++ (FBSDKGamingContext * _Nullable)currentContext SWIFT_WARN_UNUSED_RESULT; ++ (void)setCurrentContext:(FBSDKGamingContext * _Nullable)value; +/// A unique identifier for the current game context. This represents a specific game instance that the user is playing in. +@property (nonatomic, readonly, copy) NSString * _Nonnull identifier; +/// The number of players in the current user’s game instance +@property (nonatomic, readonly) NSInteger size; +- (nullable instancetype)initWithIdentifier:(NSString * _Nonnull)identifier size:(NSInteger)size OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_CLASS_NAMED("GamingGroupIntegration") +@interface FBSDKGamingGroupIntegration : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (void)openGroupPageWithCompletionHandler:(void (^ _Nonnull)(BOOL, NSError * _Nullable))completionHandler; +@end + +@class FBSDKGamingImageUploaderConfiguration; + +SWIFT_CLASS_NAMED("GamingImageUploader") +@interface FBSDKGamingImageUploader : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// Runs an upload to a users Gaming Media Library with the given configuration +/// @param configuration model object contain the content that will be uploaded +/// @param completion a callback that is fired dependent on the configuration. +/// Fired when the upload completes or when the users returns to the caller app +/// after the media dialog is shown. ++ (void)uploadImageWithConfiguration:(FBSDKGamingImageUploaderConfiguration * _Nonnull)configuration andResultCompletion:(void (^ _Nonnull)(BOOL, NSDictionary * _Nullable, NSError * _Nullable))completion; +/// Runs an upload to a users Gaming Media Library with the given configuration +/// @param configuration model object contain the content that will be uploaded +/// @param completion a callback that is fired dependent on the configuration. +/// Fired when the upload completes or when the users returns to the caller app +/// after the media dialog is shown. +/// @param progressHandler an optional callback that is fired multiple times as +/// bytes are transferred to Facebook. ++ (void)uploadImageWithConfiguration:(FBSDKGamingImageUploaderConfiguration * _Nonnull)configuration completion:(void (^ _Nonnull)(BOOL, NSDictionary * _Nullable, NSError * _Nullable))completion andProgressHandler:(void (^ _Nullable)(int64_t, int64_t, int64_t))progressHandler; +@end + +@protocol FBSDKGraphRequestConnecting; + +@interface FBSDKGamingImageUploader (SWIFT_EXTENSION(FBSDKGamingServicesKit)) +- (void)requestConnection:(id _Nonnull)connection didSendBodyData:(NSInteger)bytesWritten totalBytesWritten:(NSInteger)totalBytesWritten totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite; +@end + +@class UIImage; + +SWIFT_CLASS_NAMED("GamingImageUploaderConfiguration") +@interface FBSDKGamingImageUploaderConfiguration : NSObject +@property (nonatomic, readonly, strong) UIImage * _Nonnull image; +@property (nonatomic, readonly, copy) NSString * _Nullable caption; +@property (nonatomic, readonly) BOOL shouldLaunchMediaDialog; +/// A model for Gaming image upload content to be shared. +/// @param image the image that will be shared. +/// @param caption and optional caption that will appear along side the image on Facebook. +/// @param shouldLaunchMediaDialog whether or not to open the media dialog on Facebook when the upload completes. +- (nonnull instancetype)initWithImage:(UIImage * _Nonnull)image caption:(NSString * _Nullable)caption shouldLaunchMediaDialog:(BOOL)shouldLaunchMediaDialog OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +@class FBSDKURL; + +SWIFT_CLASS_NAMED("GamingPayload") +@interface FBSDKGamingPayload : NSObject +@property (nonatomic, strong) FBSDKURL * _Nonnull URL; +@property (nonatomic, copy) NSString * _Nonnull payload; +- (nonnull instancetype)initWithURL:(FBSDKURL * _Nonnull)URL OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_PROTOCOL_NAMED("GamingPayloadDelegate") +@protocol FBSDKGamingPayloadDelegate +@optional +/// Delegate method will be triggered when a GamingPayloadObserver parses a url with a payload and game request ID +/// @param payload The payload recieved in the url +/// @param gameRequestID The game request ID recieved in the url +- (void)parsedGameRequestURLContaining:(FBSDKGamingPayload * _Nonnull)payload gameRequestID:(NSString * _Nonnull)gameRequestID; +/// Delegate method will be triggered when a GamingPayloadObserver parses a gaming context url with a payload and game context token ID. The current gaming context will be update with the context ID. +/// @param payload The payload recieved in the url +- (void)parsedGamingContextURLContaining:(FBSDKGamingPayload * _Nonnull)payload; +/// Delegate method will be triggered when a GamingPayloadObserver parses a url with a payload and tournament ID +/// @param payload The payload associated with the tournament +/// @param tournamentID The tournament ID the player wants to enter +- (void)parsedTournamentURLContaining:(FBSDKGamingPayload * _Nonnull)payload tournamentID:(NSString * _Nonnull)tournamentID; +@end + + +SWIFT_CLASS_NAMED("GamingPayloadObserver") +@interface FBSDKGamingPayloadObserver : NSObject +@property (nonatomic, weak) id _Nullable delegate; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +- (nonnull instancetype)initWithDelegate:(id _Nullable)delegate; +@end + + +@interface FBSDKGamingPayloadObserver (SWIFT_EXTENSION(FBSDKGamingServicesKit)) +- (BOOL)application:(UIApplication * _Nonnull)application openURL:(NSURL * _Nonnull)url sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +@end + +@class FBSDKGamingVideoUploaderConfiguration; + +SWIFT_CLASS_NAMED("GamingVideoUploader") +@interface FBSDKGamingVideoUploader : NSObject +/// Runs an upload to a users Gaming Media Library with the given configuration +/// @param configuration model object contain the content that will be uploaded +/// @param completion a callback that is fired when the upload completes. ++ (void)uploadVideoWithConfiguration:(FBSDKGamingVideoUploaderConfiguration * _Nonnull)configuration andResultCompletion:(void (^ _Nonnull)(BOOL, NSDictionary * _Nullable, NSError * _Nullable))completion; +/// Runs an upload to a users Gaming Media Library with the given configuration +/// @param configuration model object contain the content that will be uploaded +/// @param completion a callback that is fired when the upload completes. +/// @param progressHandler an optional callback that is fired multiple times as bytes are transferred to Facebook. ++ (void)uploadVideoWithConfiguration:(FBSDKGamingVideoUploaderConfiguration * _Nonnull)configuration completion:(void (^ _Nonnull)(BOOL, NSDictionary * _Nullable, NSError * _Nullable))completion andProgressHandler:(void (^ _Nullable)(int64_t, int64_t, int64_t))progressHandler; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +SWIFT_CLASS_NAMED("GamingVideoUploaderConfiguration") +@interface FBSDKGamingVideoUploaderConfiguration : NSObject +@property (nonatomic, readonly, copy) NSURL * _Nonnull videoURL; +@property (nonatomic, readonly, copy) NSString * _Nullable caption; +/// A model for Gaming video upload content to be shared. +/// @param videoURL a url to the videos location on local disk. +/// @param caption and optional caption that will appear along side the video on Facebook. +- (nonnull instancetype)initWithVideoURL:(NSURL * _Nonnull)videoURL caption:(NSString * _Nullable)caption OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_CLASS("_TtC22FBSDKGamingServicesKit21ShareTournamentDialog") +@interface ShareTournamentDialog : NSObject +- (BOOL)isAuthenticationURL:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT; +- (BOOL)application:(UIApplication * _Nullable)application openURL:(NSURL * _Nullable)url sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +- (BOOL)canOpenURL:(NSURL * _Nonnull)url forApplication:(UIApplication * _Nullable)application sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +- (void)applicationDidBecomeActive:(UIApplication * _Nonnull)application; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +/// A model for an instant games switchAsync cross play request. +SWIFT_CLASS_NAMED("SwitchContextContent") +@interface FBSDKSwitchContextContent : NSObject +- (nonnull instancetype)initDialogContentWithContextID:(NSString * _Nonnull)contextID OBJC_DESIGNATED_INITIALIZER; +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// A dialog to switch the current gaming context through a web view +SWIFT_CLASS_NAMED("SwitchContextDialog") +@interface FBSDKSwitchContextDialog : FBSDKContextWebDialog +/// Builds a switch context web dialog with content and a delegate. +///
    +///
  • +/// Parameters: +///
  • +///
  • +/// content: The content for the switch context dialog +///
  • +///
  • +/// windowFinder: The application window finder that provides the window to display the dialog +///
  • +///
  • +/// delegate: The receiver’s delegate used to let the receiver know if a context switch was successful +///
  • +///
++ (nonnull instancetype)dialogWithContent:(FBSDKSwitchContextContent * _Nonnull)content windowFinder:(id <_FBSDKWindowFinding> _Nonnull)windowFinder delegate:(id _Nonnull)delegate SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("This method is deprecated and will be removed in the next major release. Use the initializer `init(content:windowFinder:delegate:)` instead"); +/// Creates a switch context web dialog with content and a delegate. +/// \param content The content for the switch context dialog +/// +/// \param windowFinder The application window finder that provides the window to display the dialog +/// +/// \param delegate The receiver’s delegate used to let the receiver know a context switch was successful or failed +/// +- (nonnull instancetype)initWithContent:(FBSDKSwitchContextContent * _Nonnull)content windowFinder:(id <_FBSDKWindowFinding> _Nonnull)windowFinder delegate:(id _Nonnull)delegate OBJC_DESIGNATED_INITIALIZER; +- (BOOL)show SWIFT_WARN_UNUSED_RESULT; +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +@end + + + +@class NSDate; + +/// An internal representation of tournament graph objects. Use Tournament instead. +/// warning: +/// For internal use only! Subject to change or removal at any time. +SWIFT_CLASS("_TtC22FBSDKGamingServicesKit16_FBSDKTournament") +@interface _FBSDKTournament : NSObject +/// The unique ID that is associated with this tournament. +@property (nonatomic, readonly, copy) NSString * _Nonnull identifier; +/// Timestamp when the tournament ends. +/// If the expiration is in the past, then the tournament is already finished and has expired. +@property (nonatomic, readonly, copy) NSDate * _Nullable endTime; +/// Title of the tournament provided upon the creation of the tournament. +@property (nonatomic, readonly, copy) NSString * _Nullable title; +/// Payload of the tournament provided upon the creation of the tournament. +@property (nonatomic, copy) NSString * _Nullable payload; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +@class _FBSDKTournamentConfig; + +/// An internal wrapper for sharing tournaments via dialog. Use ShareTournamentDialog instead. +/// warning: +/// For internal use only! Subject to change or removal at any time. +SWIFT_CLASS_NAMED("_ShareTournamentDialog") +@interface _FBSDKShareTournamentDialog : NSObject +/// Attempts to show the share dialog to share an existing tournament +///
    +///
  • +/// throws Will throw if an error occurs when attempting to show the dialog +///
  • +///
+/// \param score A score to share in the tournament could be a numeric score or time interval +/// dependent on the given tournament score type +/// +/// \param tournamentID The ID of the tournament to share and update with the given score +/// +- (BOOL)showWithScore:(NSInteger)score tournamentID:(NSString * _Nonnull)tournamentID error:(NSError * _Nullable * _Nullable)error; +/// Attempts to show the share dialog to share an existing tournament +///
    +///
  • +/// throws Will throw if an error occurs when attempting to show the dialog +///
  • +///
+/// \param score A score to share in the tournament could be a numeric score or time interval +/// dependent on the given tournament score type +/// +/// \param tournament The tournament to share and update with the given score +/// +- (BOOL)showWithScore:(NSInteger)score tournament:(_FBSDKTournament * _Nonnull)tournament error:(NSError * _Nullable * _Nullable)error; +/// Attempts to show the share dialog to share a newly created tournnament +///
    +///
  • +/// throws Will throw if an error occurs when attempting to show the dialog +///
  • +///
+/// \param initialScore An initial score to share, could be a numeric score or time interval +/// dependent on the tournament configuration +/// +/// \param config The tournament configuration used to create a new tournament +/// +- (BOOL)showWithInitialScore:(NSInteger)initialScore config:(_FBSDKTournamentConfig * _Nonnull)config error:(NSError * _Nullable * _Nullable)error; +- (BOOL)isAuthenticationURL:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT; +- (BOOL)application:(UIApplication * _Nullable)application open:(NSURL * _Nullable)url sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +- (BOOL)canOpen:(NSURL * _Nonnull)url for:(UIApplication * _Nullable)application sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +- (void)applicationDidBecomeActive:(UIApplication * _Nonnull)application; +- (void)didFailWithError:(NSError * _Nonnull)error dialog:(ShareTournamentDialog * _Nonnull)dialog; +- (void)didCancelWithDialog:(ShareTournamentDialog * _Nonnull)dialog; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An internal protocol for sharing tournaments. Use ShareTournamentDialog and ShareTournamentDialogDelegate instead. +/// warning: +/// For internal use only! Subject to change or removal at any time. +SWIFT_PROTOCOL_NAMED("_ShareTournamentDialogDelegate") +@protocol _FBSDKShareTournamentDialogDelegate +- (void)didCompleteWithDialog:(_FBSDKShareTournamentDialog * _Nonnull)dialog tournament:(_FBSDKTournament * _Nonnull)tournament; +- (void)didFailWithError:(NSError * _Nonnull)error dialog:(_FBSDKShareTournamentDialog * _Nonnull)dialog; +- (void)didCancelWithDialog:(_FBSDKShareTournamentDialog * _Nonnull)dialog; +@end + + +/// An internal object for configuring tournament share dialogs. Use TournamentConfig instead. +/// warning: +/// For internal use only! Subject to change or removal at any time. +SWIFT_CLASS_NAMED("_TournamentConfig") +@interface _FBSDKTournamentConfig : NSObject +/// Title of the tournament +@property (nonatomic, copy) NSString * _Nullable title; +/// Payload of the tournament +@property (nonatomic, copy) NSString * _Nullable payload; +/// The image associated with the tournament +@property (nonatomic, strong) UIImage * _Nullable image; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An internal class for fetching tournament objects. Use TournamentFetcher instead. +/// warning: +/// For internal use only! Subject to change or removal at any time. +SWIFT_CLASS_NAMED("_TournamentFetcher") +@interface _FBSDKTournamentFetcher : NSObject +/// Attempts to fetch all the tournaments where the current logged in user is a participant ; +/// \param completionHandler The caller’s completion handler to invoke once the graph request is complete +/// +- (void)fetchTournamentsWithCompletionHandler:(void (^ _Nonnull)(NSArray<_FBSDKTournament *> * _Nullable, NSError * _Nullable))completionHandler; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// An internal enum for different methods of tournament scoring . Use TournamentScoreType instead. +/// warning: +/// For internal use only! Subject to change or removal at any time. +typedef SWIFT_ENUM_NAMED(NSInteger, _FBSDKTournamentScoreType, "_TournamentScoreType", open) { + _FBSDKTournamentScoreTypeNumeric = 0, + _FBSDKTournamentScoreTypeTime = 1, +}; + +/// An internal enum for sorting tournament scores. Use TournamentSortOrder instead. +/// warning: +/// For internal use only! Subject to change or removal at any time. +typedef SWIFT_ENUM_NAMED(NSInteger, _FBSDKTournamentSortOrder, "_TournamentSortOrder", open) { + _FBSDKTournamentSortOrderHigherIsBetter = 0, + _FBSDKTournamentSortOrderLowerIsBetter = 1, +}; + + +/// An internal class for fetching tournament objects. Use TournamentUpdater instead. +/// warning: +/// For internal use only! Subject to change or removal at any time. +SWIFT_CLASS_NAMED("_TournamentUpdater") +@interface _FBSDKTournamentUpdater : NSObject +/// Updates the given tournament with the given score +/// \param tournamentID The ID of the tournament you want to update +/// +/// \param score The new score to update within the tournament +/// +/// \param completionHandler The caller’s completion handler to invoke once the graph request is complete. Completes with true if successful. +/// +- (void)updateWithTournamentID:(NSString * _Nonnull)tournamentID score:(NSInteger)score completionHandler:(void (^ _Nonnull)(BOOL, NSError * _Nullable))completionHandler; +/// Updates the given tournament with the given score +/// \param tournament The tournament you want to update +/// +/// \param score The new score to update within the tournament +/// +/// \param completionHandler The caller’s completion handler to invoke once the graph request is complete. Completes with true if successful. +/// +- (void)updateWithTournament:(_FBSDKTournament * _Nonnull)tournament score:(NSInteger)score completionHandler:(void (^ _Nonnull)(BOOL, NSError * _Nullable))completionHandler; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +#ifndef FBSDKGAMINGSERVICESKIT_SWIFT_H +#define FBSDKGAMINGSERVICESKIT_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import CoreGraphics; +@import FBSDKCoreKit; +@import FBSDKShareKit; +@import Foundation; +@import ObjectiveC; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKGamingServicesKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + +/// A protocol that a content object must conform to be used in a Gaming Services dialog +SWIFT_PROTOCOL_NAMED("ValidatableProtocol") +@protocol FBSDKValidatable +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +@end + +enum FBSDKChooseContextFilter : NSInteger; +@class NSNumber; +@class NSString; + +/// A model for an instant games choose context app switch dialog +SWIFT_CLASS_NAMED("ChooseContextContent") +@interface FBSDKChooseContextContent : NSObject +/// This sets the filter which determines which context will show when the user is app switched to the choose context dialog. +@property (nonatomic) enum FBSDKChooseContextFilter filter; +/// This sets the maximum number of participants that the suggested context(s) shown in the dialog should have. +@property (nonatomic) NSInteger maxParticipants; +/// This sets the minimum number of participants that the suggested context(s) shown in the dialog should have. +@property (nonatomic) NSInteger minParticipants; ++ (NSString * _Nonnull)filtersNameForFilters:(enum FBSDKChooseContextFilter)filter SWIFT_WARN_UNUSED_RESULT; +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@protocol FBSDKContextDialogDelegate; + +/// The protocol sdk dialogs must conform to and implement all the following methods. +SWIFT_PROTOCOL_NAMED("DialogProtocol") +@protocol FBSDKDialog +/// The receiver’s delegate or nil if it doesn’t have a delegate. +@property (nonatomic, weak) id _Nullable delegate; +/// The content object used to create the specific dialog +@property (nonatomic, strong) id _Nullable dialogContent; +/// Begins to show the specfic dialog +/// @return true if the receiver was able to show the dialog, otherwise false. +- (BOOL)show SWIFT_WARN_UNUSED_RESULT; +/// Validates the content for the dialog +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +@end + +@class FBSDKWebDialog; +@protocol _FBSDKWindowFinding; + +/// A super class type for the context dialogs classes that show an in-app webview to display content. +SWIFT_CLASS_NAMED("ContextWebDialog") +@interface FBSDKContextWebDialog : NSObject +@property (nonatomic, strong) id _Nullable delegate; +@property (nonatomic, strong) id _Nullable dialogContent; +@property (nonatomic, strong) FBSDKWebDialog * _Nullable currentWebDialog; +- (BOOL)show SWIFT_WARN_UNUSED_RESULT; +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +- (void)webDialog:(FBSDKWebDialog * _Nonnull)webDialog didCompleteWithResults:(NSDictionary * _Nonnull)results; +- (void)webDialog:(FBSDKWebDialog * _Nonnull)webDialog didFailWithError:(NSError * _Nonnull)error; +- (void)webDialogDidCancel:(FBSDKWebDialog * _Nonnull)webDialog; +/// Depending on the content size within the browser, this method allows for the resizing of web dialog +- (CGRect)createWebDialogFrameWithWidth:(CGFloat)width height:(CGFloat)height windowFinder:(id <_FBSDKWindowFinding> _Nonnull)windowFinder SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +@class UIApplication; +@class NSURL; + +/// A dialog for the choose context through app switch +SWIFT_CLASS_NAMED("ChooseContextDialog") +@interface FBSDKChooseContextDialog : FBSDKContextWebDialog +/// Convenience method to build up a choose context app switch with content and a delegate. +/// @param content The content for the choose context dialog +/// @param delegate The receiver’s delegate. +- (nonnull instancetype)initWithContent:(FBSDKChooseContextContent * _Nonnull)content delegate:(id _Nonnull)delegate; +- (BOOL)show SWIFT_WARN_UNUSED_RESULT; +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +- (BOOL)application:(UIApplication * _Nullable)application openURL:(NSURL * _Nullable)url sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +- (BOOL)canOpenURL:(NSURL * _Nonnull)url forApplication:(UIApplication * _Nullable)application sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +- (void)applicationDidBecomeActive:(UIApplication * _Nonnull)application; +- (BOOL)isAuthenticationURL:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT; +@end + + +SWIFT_PROTOCOL_NAMED("Showable") +@protocol FBSDKShowable +- (BOOL)show SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKChooseContextDialog (SWIFT_EXTENSION(FBSDKGamingServicesKit)) +@end + +typedef SWIFT_ENUM_NAMED(NSInteger, FBSDKChooseContextFilter, "ChooseContextFilter", open) { + FBSDKChooseContextFilterNone = 0, + FBSDKChooseContextFilterExistingChallenges = 1, + FBSDKChooseContextFilterNewPlayersOnly = 2, + FBSDKChooseContextFilterNewContextOnly = 3, +}; + + +/// A delegate for context dialogs to communicate with the dialog handler. +/// The delegate is notified with the results of the cross play request as long as the application has permissions to +/// receive the information. For example, if the person is not signed into the containing app, the shower may not be able +/// to distinguish between completion of a cross play request and cancellation. +SWIFT_PROTOCOL_NAMED("ContextDialogDelegate") +@protocol FBSDKContextDialogDelegate +/// Sent to the delegate when the context dialog completes without error. +/// @param contextDialog The FBSDKContextDialog that completed. +- (void)contextDialogDidComplete:(FBSDKContextWebDialog * _Nonnull)contextDialog; +/// Sent to the delegate when the context dialog encounters an error. +/// @param contextDialog The FBSDKContextDialog that completed. +/// @param error The error. +- (void)contextDialog:(FBSDKContextWebDialog * _Nonnull)contextDialog didFailWithError:(NSError * _Nonnull)error; +/// Sent to the delegate when the cross play request dialog is cancelled. +/// @param contextDialog The FBSDKContextDialog that completed. +- (void)contextDialogDidCancel:(FBSDKContextWebDialog * _Nonnull)contextDialog; +@end + +@class FBSDKCreateContextContent; +@class NSError; +@class FBSDKSwitchContextContent; +@class FBSDKCreateContextDialog; +@class FBSDKSwitchContextDialog; + +/// A dialog presenter responsible for creating and showing all the dialogs that create, switch, +/// choose and otherwise manipulate the gaming context. +SWIFT_CLASS_NAMED("ContextDialogPresenter") +@interface FBSDKContextDialogPresenter : NSObject +- (nonnull instancetype)init; +/// Convenience method to build up and show an instant games create context dialog with content and delegate. +/// \param content The content for the create context dialog +/// +/// \param delegate The receiver’s delegate. +/// ++ (NSError * _Nullable)showCreateContextDialogWithContent:(FBSDKCreateContextContent * _Nonnull)content delegate:(id _Nonnull)delegate SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowCreateContextDialog(content:delegate:)` instead"); +/// Convenience method to build up and show an instant games create context dialog with content and delegate. +/// \param content The content for the create context dialog +/// +/// \param delegate The receiver’s delegate. +/// +- (BOOL)makeAndShowCreateContextDialogWithContent:(FBSDKCreateContextContent * _Nonnull)content delegate:(id _Nonnull)delegate error:(NSError * _Nullable * _Nullable)error; +/// Convenience method to build up and show an instant games switch context dialog with content and delegate. +/// \param content The content for the switch context dialog +/// +/// \param delegate The receiver’s delegate. +/// ++ (NSError * _Nullable)showSwitchContextDialogWithContent:(FBSDKSwitchContextContent * _Nonnull)content delegate:(id _Nullable)delegate SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowSwitchContextDialog(content:delegate:)` instead"); +/// Convenience method to build up and show an instant games switch context dialog with the giving content and delegate. +/// \param content The content for the switch context dialog +/// +/// \param delegate The receiver’s delegate. +/// +- (BOOL)makeAndShowSwitchContextDialogWithContent:(FBSDKSwitchContextContent * _Nonnull)content delegate:(id _Nonnull)delegate error:(NSError * _Nullable * _Nullable)error; +/// Convenience method to build up and show an instant games choose context dialog with content and a delegate. +/// \param content The content for the choose context dialog +/// +/// \param delegate The receiver’s delegate. +/// ++ (FBSDKChooseContextDialog * _Nonnull)showChooseContextDialogWithContent:(FBSDKChooseContextContent * _Nonnull)content delegate:(id _Nonnull)delegate SWIFT_DEPRECATED_MSG("This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowChooseContextDialog(content:delegate:)` instead"); +/// Convenience method to build up and show an instant games choose context dialog with content and a delegate. +/// \param content The content for the choose context dialog +/// +/// \param delegate The receiver’s delegate. +/// +- (void)makeAndShowChooseContextDialogWithContent:(FBSDKChooseContextContent * _Nonnull)content delegate:(id _Nonnull)delegate; ++ (FBSDKChooseContextDialog * _Nonnull)showChooseContextDialogWith:(FBSDKChooseContextContent * _Nonnull)content delegate:(id _Nonnull)delegate SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("showChooseContextDialog is deprecated. Please use the instance method `makeAndShowChooseContextDialog` instead"); +/// Convenience method to build up an instant games create context dialog with content and delegate. +///
    +///
  • +/// Parameters +///
      +///
    • +/// content: The content for the create context dialog +///
    • +///
    • +/// delegate: The receiver’s delegate. +///
    • +///
    +///
  • +///
++ (FBSDKCreateContextDialog * _Nullable)createContextDialogWithContent:(FBSDKCreateContextContent * _Nonnull)content delegate:(id _Nullable)delegate SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowCreateContextDialog(content:delegate:)` instead"); +/// Convenience method to build up an instant games switch context dialog with content and delegate. +/// \param content The content for the switch context dialog +/// +/// \param delegate The receiver’s delegate. +/// ++ (FBSDKSwitchContextDialog * _Nullable)switchContextDialogWithContent:(FBSDKSwitchContextContent * _Nonnull)content delegate:(id _Nullable)delegate SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowSwitchContextDialog(content:delegate:)` instead"); +@end + + + +/// A model for an instant games createAsync cross play request. +SWIFT_CLASS_NAMED("CreateContextContent") +@interface FBSDKCreateContextContent : NSObject +/// The ID of the player that is being challenged. +/// @return The ID for the player being challenged +@property (nonatomic, copy) NSString * _Nonnull playerID; +/// Builds a content object that will be use to display a create context dialog +/// @param playerID The player ID of the user being challenged which will be used to create a game context +- (nonnull instancetype)initDialogContentWithPlayerID:(NSString * _Nonnull)playerID OBJC_DESIGNATED_INITIALIZER; +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// A dialog to create a context through a web view +SWIFT_CLASS_NAMED("CreateContextDialog") +@interface FBSDKCreateContextDialog : FBSDKContextWebDialog +/// Builds a context creation web dialog with content and a delegate. +/// @param content The content for the create context dialog +/// @param windowFinder The application window finder that provides the window to display the dialog +/// @param delegate The receiver’s delegate used to let the receiver know a context was created or failure +- (nonnull instancetype)initWithContent:(FBSDKCreateContextContent * _Nonnull)content windowFinder:(id <_FBSDKWindowFinding> _Nonnull)windowFinder delegate:(id _Nonnull)delegate OBJC_DESIGNATED_INITIALIZER; +- (BOOL)show; +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +@end + + +@interface FBSDKCreateContextDialog (SWIFT_EXTENSION(FBSDKGamingServicesKit)) +@end + + + + +SWIFT_CLASS_NAMED("FriendFinderDialog") +@interface FBSDKFriendFinderDialog : NSObject +- (nonnull instancetype)init; ++ (void)launchFriendFinderDialogWithCompletionHandler:(void (^ _Nonnull)(BOOL, NSError * _Nullable))completionHandler; +@end + +/// Additional context about the nature of the game request. +typedef SWIFT_ENUM_NAMED(NSUInteger, FBSDKGameRequestActionType, "GameRequestActionType", open) { +/// No action type + FBSDKGameRequestActionTypeNone = 0, +/// Send action type: The user is sending an object to the friends. + FBSDKGameRequestActionTypeSend = 1, +/// Ask For action type: The user is asking for an object from friends. + FBSDKGameRequestActionTypeAskFor = 2, +/// Turn action type: It is the turn of the friends to play against the user in a match. + FBSDKGameRequestActionTypeTurn = 3, +/// Invite action type: The user is inviting a friend. + FBSDKGameRequestActionTypeInvite = 4, +}; + +enum FBSDKGameRequestFilter : NSUInteger; +@class NSCoder; + +/// A model for a game request. +SWIFT_CLASS_NAMED("GameRequestContent") +@interface FBSDKGameRequestContent : NSObject +/// Used when defining additional context about the nature of the request. +/// The parameter ‘objectID’ is required if the action type is either +/// ‘.send’ or ‘.askFor’. +/// seealso: +/// objectID +@property (nonatomic) enum FBSDKGameRequestActionType actionType; +/// Additional freeform data you may pass for tracking. This will be stored as part of +/// the request objects created. The maximum length is 255 characters. +@property (nonatomic, copy) NSString * _Nullable data; +/// This controls the set of friends someone sees if a multi-friend selector is shown. +/// It is .none by default, meaning that all friends can be shown. +/// If specify as .appUsers, only friends who use the app will be shown. +/// On the other hands, use .appNonUsers to filter only friends who do not use the app. +/// The parameter name is preserved to be consistent with the counter part on desktop. +@property (nonatomic) enum FBSDKGameRequestFilter filters; +/// A plain-text message to be sent as part of the request. This text will surface in the App Center view +/// of the request, but not on the notification jewel. Required parameter. +@property (nonatomic, copy) NSString * _Nonnull message; +/// The Open Graph object ID of the object being sent. +/// seealso: +/// actionType +@property (nonatomic, copy) NSString * _Nonnull objectID; +/// An array of user IDs, usernames or invite tokens (NSString) of people to send request. +/// These may or may not be a friend of the sender. If this is specified by the app, +/// the sender will not have a choice of recipients. If not, the sender will see a multi-friend selector +/// This is equivalent to the “to” parameter when using the web game request dialog. +@property (nonatomic, copy) NSArray * _Nonnull recipients; +/// An array of user IDs that will be included in the dialog as the first suggested friends. +/// Cannot be used together with filters. +/// This is equivalent to the suggestions parameter when using the web game request dialog. +@property (nonatomic, copy) NSArray * _Nonnull recipientSuggestions; +/// The title for the dialog. +@property (nonatomic, copy) NSString * _Nonnull title; +/// The call to action for the dialog. +@property (nonatomic, copy) NSString * _Nonnull cta; +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)options error:(NSError * _Nullable * _Nullable)error; +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +/// Compares the receiver to another game request content. +/// @param content The other content +/// @return true if the receiver’s values are equal to the other content’s values; otherwise false +- (BOOL)isEqualToGameRequestContent:(FBSDKGameRequestContent * _Nonnull)content SWIFT_WARN_UNUSED_RESULT; +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) BOOL supportsSecureCoding;) ++ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)initWithCoder:(NSCoder * _Nonnull)decoder; +- (void)encodeWithCoder:(NSCoder * _Nonnull)encoder; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@protocol FBSDKGameRequestDialogDelegate; + +/// A dialog for sending game requests. +SWIFT_CLASS_NAMED("GameRequestDialog") +@interface FBSDKGameRequestDialog : NSObject +/// The receiver’s delegate or nil if it doesn’t have a delegate. +@property (nonatomic, weak) id _Nullable delegate; +/// The content for game request. +@property (nonatomic, strong) FBSDKGameRequestContent * _Nonnull content; +/// Specifies whether frictionless requests are enabled. +@property (nonatomic) BOOL isFrictionlessRequestsEnabled; +/// A Boolean value that indicates whether the receiver can initiate a game request. +/// May return false if the appropriate Facebook app is not installed and is required or an access token is +/// required but not available. This method does not validate the content on the receiver, so this can be checked before +/// building up the content. +/// See validate() +/// @return true if the receiver can share, otherwise false. +@property (nonatomic, readonly) BOOL canShow; +- (nonnull instancetype)initWithContent:(FBSDKGameRequestContent * _Nonnull)content delegate:(id _Nullable)delegate OBJC_DESIGNATED_INITIALIZER; +/// Convenience method to build up a game request with content and a delegate. +/// @param content The content for the game request. +/// @param delegate The receiver’s delegate. ++ (FBSDKGameRequestDialog * _Nonnull)dialogWithContent:(FBSDKGameRequestContent * _Nonnull)content delegate:(id _Nullable)delegate SWIFT_WARN_UNUSED_RESULT; +/// Convenience method to build up and show a game request with content and a delegate. +/// @param content The content for the game request. +/// @param delegate The receiver’s delegate. ++ (FBSDKGameRequestDialog * _Nonnull)showWithContent:(FBSDKGameRequestContent * _Nonnull)content delegate:(id _Nullable)delegate; +/// Begins the game request from the receiver. +/// @return true if the receiver was able to show the dialog, otherwise false. +- (BOOL)show; +/// Validates the content on the receiver. +- (BOOL)validateWithError:(NSError * _Nullable * _Nullable)error; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface FBSDKGameRequestDialog (SWIFT_EXTENSION(FBSDKGamingServicesKit)) +- (void)webDialog:(FBSDKWebDialog * _Nonnull)webDialog didCompleteWithResults:(NSDictionary * _Nonnull)results; +- (void)webDialog:(FBSDKWebDialog * _Nonnull)webDialog didFailWithError:(NSError * _Nonnull)error; +- (void)webDialogDidCancel:(FBSDKWebDialog * _Nonnull)webDialog; +@end + + +@interface FBSDKGameRequestDialog (SWIFT_EXTENSION(FBSDKGamingServicesKit)) +- (BOOL)application:(UIApplication * _Nullable)application openURL:(NSURL * _Nullable)potentialURL sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +- (BOOL)canOpenURL:(NSURL * _Nonnull)url forApplication:(UIApplication * _Nullable)application sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +- (void)applicationDidBecomeActive:(UIApplication * _Nonnull)application; +- (BOOL)isAuthenticationURL:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT; +@end + + +/// A delegate for GameRequestDialog. +/// The delegate is notified with the results of the game request as long as the application has permissions to +/// receive the information. For example, if the person is not signed into the containing app, the shower may not be able +/// to distinguish between completion of a game request and cancellation. +SWIFT_PROTOCOL_NAMED("GameRequestDialogDelegate") +@protocol FBSDKGameRequestDialogDelegate +/// Sent to the delegate when the game request completes without error. +/// @param gameRequestDialog The GameRequestDialog that completed. +/// @param results The results from the dialog. This may be nil or empty. +- (void)gameRequestDialog:(FBSDKGameRequestDialog * _Nonnull)gameRequestDialog didCompleteWithResults:(NSDictionary * _Nonnull)results; +/// Sent to the delegate when the game request encounters an error. +/// @param gameRequestDialog The GameRequestDialog that completed. +/// @param error The error. +- (void)gameRequestDialog:(FBSDKGameRequestDialog * _Nonnull)gameRequestDialog didFailWithError:(NSError * _Nonnull)error; +/// Sent to the delegate when the game request dialog is cancelled. +/// @param gameRequestDialog The GameRequestDialog that completed. +- (void)gameRequestDialogDidCancel:(FBSDKGameRequestDialog * _Nonnull)gameRequestDialog; +@end + +/// Filter for who can be displayed in the multi-friend selector. +typedef SWIFT_ENUM_NAMED(NSUInteger, FBSDKGameRequestFilter, "GameRequestFilter", open) { +/// No filter, all friends can be displayed. + FBSDKGameRequestFilterNone = 0, +/// Friends using the app can be displayed. + FBSDKGameRequestFilterAppUsers = 1, +/// Friends not using the app can be displayed. + FBSDKGameRequestFilterAppNonUsers = 2, +/// All friends can be displayed if FB app is installed. + FBSDKGameRequestFilterEverybody = 3, +}; + + +SWIFT_CLASS_NAMED("GameRequestURLProvider") +@interface FBSDKGameRequestURLProvider : NSObject ++ (NSURL * _Nullable)createDeepLinkURLWithQueryDictionary:(NSDictionary * _Nonnull)queryDictionary SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)filtersNameForFilters:(enum FBSDKGameRequestFilter)filters SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)actionTypeNameForActionType:(enum FBSDKGameRequestActionType)actionType SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +SWIFT_CLASS_NAMED("GamingContext") +@interface FBSDKGamingContext : NSObject +/// A shared object that holds data about the current user’s game instance which could be solo game or multiplayer game with other users. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, strong) FBSDKGamingContext * _Nullable currentContext;) ++ (FBSDKGamingContext * _Nullable)currentContext SWIFT_WARN_UNUSED_RESULT; ++ (void)setCurrentContext:(FBSDKGamingContext * _Nullable)value; +/// A unique identifier for the current game context. This represents a specific game instance that the user is playing in. +@property (nonatomic, readonly, copy) NSString * _Nonnull identifier; +/// The number of players in the current user’s game instance +@property (nonatomic, readonly) NSInteger size; +- (nullable instancetype)initWithIdentifier:(NSString * _Nonnull)identifier size:(NSInteger)size OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_CLASS_NAMED("GamingGroupIntegration") +@interface FBSDKGamingGroupIntegration : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (void)openGroupPageWithCompletionHandler:(void (^ _Nonnull)(BOOL, NSError * _Nullable))completionHandler; +@end + +@class FBSDKGamingImageUploaderConfiguration; + +SWIFT_CLASS_NAMED("GamingImageUploader") +@interface FBSDKGamingImageUploader : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// Runs an upload to a users Gaming Media Library with the given configuration +/// @param configuration model object contain the content that will be uploaded +/// @param completion a callback that is fired dependent on the configuration. +/// Fired when the upload completes or when the users returns to the caller app +/// after the media dialog is shown. ++ (void)uploadImageWithConfiguration:(FBSDKGamingImageUploaderConfiguration * _Nonnull)configuration andResultCompletion:(void (^ _Nonnull)(BOOL, NSDictionary * _Nullable, NSError * _Nullable))completion; +/// Runs an upload to a users Gaming Media Library with the given configuration +/// @param configuration model object contain the content that will be uploaded +/// @param completion a callback that is fired dependent on the configuration. +/// Fired when the upload completes or when the users returns to the caller app +/// after the media dialog is shown. +/// @param progressHandler an optional callback that is fired multiple times as +/// bytes are transferred to Facebook. ++ (void)uploadImageWithConfiguration:(FBSDKGamingImageUploaderConfiguration * _Nonnull)configuration completion:(void (^ _Nonnull)(BOOL, NSDictionary * _Nullable, NSError * _Nullable))completion andProgressHandler:(void (^ _Nullable)(int64_t, int64_t, int64_t))progressHandler; +@end + +@protocol FBSDKGraphRequestConnecting; + +@interface FBSDKGamingImageUploader (SWIFT_EXTENSION(FBSDKGamingServicesKit)) +- (void)requestConnection:(id _Nonnull)connection didSendBodyData:(NSInteger)bytesWritten totalBytesWritten:(NSInteger)totalBytesWritten totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite; +@end + +@class UIImage; + +SWIFT_CLASS_NAMED("GamingImageUploaderConfiguration") +@interface FBSDKGamingImageUploaderConfiguration : NSObject +@property (nonatomic, readonly, strong) UIImage * _Nonnull image; +@property (nonatomic, readonly, copy) NSString * _Nullable caption; +@property (nonatomic, readonly) BOOL shouldLaunchMediaDialog; +/// A model for Gaming image upload content to be shared. +/// @param image the image that will be shared. +/// @param caption and optional caption that will appear along side the image on Facebook. +/// @param shouldLaunchMediaDialog whether or not to open the media dialog on Facebook when the upload completes. +- (nonnull instancetype)initWithImage:(UIImage * _Nonnull)image caption:(NSString * _Nullable)caption shouldLaunchMediaDialog:(BOOL)shouldLaunchMediaDialog OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +@class FBSDKURL; + +SWIFT_CLASS_NAMED("GamingPayload") +@interface FBSDKGamingPayload : NSObject +@property (nonatomic, strong) FBSDKURL * _Nonnull URL; +@property (nonatomic, copy) NSString * _Nonnull payload; +- (nonnull instancetype)initWithURL:(FBSDKURL * _Nonnull)URL OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_PROTOCOL_NAMED("GamingPayloadDelegate") +@protocol FBSDKGamingPayloadDelegate +@optional +/// Delegate method will be triggered when a GamingPayloadObserver parses a url with a payload and game request ID +/// @param payload The payload recieved in the url +/// @param gameRequestID The game request ID recieved in the url +- (void)parsedGameRequestURLContaining:(FBSDKGamingPayload * _Nonnull)payload gameRequestID:(NSString * _Nonnull)gameRequestID; +/// Delegate method will be triggered when a GamingPayloadObserver parses a gaming context url with a payload and game context token ID. The current gaming context will be update with the context ID. +/// @param payload The payload recieved in the url +- (void)parsedGamingContextURLContaining:(FBSDKGamingPayload * _Nonnull)payload; +/// Delegate method will be triggered when a GamingPayloadObserver parses a url with a payload and tournament ID +/// @param payload The payload associated with the tournament +/// @param tournamentID The tournament ID the player wants to enter +- (void)parsedTournamentURLContaining:(FBSDKGamingPayload * _Nonnull)payload tournamentID:(NSString * _Nonnull)tournamentID; +@end + + +SWIFT_CLASS_NAMED("GamingPayloadObserver") +@interface FBSDKGamingPayloadObserver : NSObject +@property (nonatomic, weak) id _Nullable delegate; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +- (nonnull instancetype)initWithDelegate:(id _Nullable)delegate; +@end + + +@interface FBSDKGamingPayloadObserver (SWIFT_EXTENSION(FBSDKGamingServicesKit)) +- (BOOL)application:(UIApplication * _Nonnull)application openURL:(NSURL * _Nonnull)url sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +@end + +@class FBSDKGamingVideoUploaderConfiguration; + +SWIFT_CLASS_NAMED("GamingVideoUploader") +@interface FBSDKGamingVideoUploader : NSObject +/// Runs an upload to a users Gaming Media Library with the given configuration +/// @param configuration model object contain the content that will be uploaded +/// @param completion a callback that is fired when the upload completes. ++ (void)uploadVideoWithConfiguration:(FBSDKGamingVideoUploaderConfiguration * _Nonnull)configuration andResultCompletion:(void (^ _Nonnull)(BOOL, NSDictionary * _Nullable, NSError * _Nullable))completion; +/// Runs an upload to a users Gaming Media Library with the given configuration +/// @param configuration model object contain the content that will be uploaded +/// @param completion a callback that is fired when the upload completes. +/// @param progressHandler an optional callback that is fired multiple times as bytes are transferred to Facebook. ++ (void)uploadVideoWithConfiguration:(FBSDKGamingVideoUploaderConfiguration * _Nonnull)configuration completion:(void (^ _Nonnull)(BOOL, NSDictionary * _Nullable, NSError * _Nullable))completion andProgressHandler:(void (^ _Nullable)(int64_t, int64_t, int64_t))progressHandler; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +SWIFT_CLASS_NAMED("GamingVideoUploaderConfiguration") +@interface FBSDKGamingVideoUploaderConfiguration : NSObject +@property (nonatomic, readonly, copy) NSURL * _Nonnull videoURL; +@property (nonatomic, readonly, copy) NSString * _Nullable caption; +/// A model for Gaming video upload content to be shared. +/// @param videoURL a url to the videos location on local disk. +/// @param caption and optional caption that will appear along side the video on Facebook. +- (nonnull instancetype)initWithVideoURL:(NSURL * _Nonnull)videoURL caption:(NSString * _Nullable)caption OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_CLASS("_TtC22FBSDKGamingServicesKit21ShareTournamentDialog") +@interface ShareTournamentDialog : NSObject +- (BOOL)isAuthenticationURL:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT; +- (BOOL)application:(UIApplication * _Nullable)application openURL:(NSURL * _Nullable)url sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +- (BOOL)canOpenURL:(NSURL * _Nonnull)url forApplication:(UIApplication * _Nullable)application sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +- (void)applicationDidBecomeActive:(UIApplication * _Nonnull)application; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +/// A model for an instant games switchAsync cross play request. +SWIFT_CLASS_NAMED("SwitchContextContent") +@interface FBSDKSwitchContextContent : NSObject +- (nonnull instancetype)initDialogContentWithContextID:(NSString * _Nonnull)contextID OBJC_DESIGNATED_INITIALIZER; +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// A dialog to switch the current gaming context through a web view +SWIFT_CLASS_NAMED("SwitchContextDialog") +@interface FBSDKSwitchContextDialog : FBSDKContextWebDialog +/// Builds a switch context web dialog with content and a delegate. +///
    +///
  • +/// Parameters: +///
  • +///
  • +/// content: The content for the switch context dialog +///
  • +///
  • +/// windowFinder: The application window finder that provides the window to display the dialog +///
  • +///
  • +/// delegate: The receiver’s delegate used to let the receiver know if a context switch was successful +///
  • +///
++ (nonnull instancetype)dialogWithContent:(FBSDKSwitchContextContent * _Nonnull)content windowFinder:(id <_FBSDKWindowFinding> _Nonnull)windowFinder delegate:(id _Nonnull)delegate SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("This method is deprecated and will be removed in the next major release. Use the initializer `init(content:windowFinder:delegate:)` instead"); +/// Creates a switch context web dialog with content and a delegate. +/// \param content The content for the switch context dialog +/// +/// \param windowFinder The application window finder that provides the window to display the dialog +/// +/// \param delegate The receiver’s delegate used to let the receiver know a context switch was successful or failed +/// +- (nonnull instancetype)initWithContent:(FBSDKSwitchContextContent * _Nonnull)content windowFinder:(id <_FBSDKWindowFinding> _Nonnull)windowFinder delegate:(id _Nonnull)delegate OBJC_DESIGNATED_INITIALIZER; +- (BOOL)show SWIFT_WARN_UNUSED_RESULT; +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +@end + + + +@class NSDate; + +/// An internal representation of tournament graph objects. Use Tournament instead. +/// warning: +/// For internal use only! Subject to change or removal at any time. +SWIFT_CLASS("_TtC22FBSDKGamingServicesKit16_FBSDKTournament") +@interface _FBSDKTournament : NSObject +/// The unique ID that is associated with this tournament. +@property (nonatomic, readonly, copy) NSString * _Nonnull identifier; +/// Timestamp when the tournament ends. +/// If the expiration is in the past, then the tournament is already finished and has expired. +@property (nonatomic, readonly, copy) NSDate * _Nullable endTime; +/// Title of the tournament provided upon the creation of the tournament. +@property (nonatomic, readonly, copy) NSString * _Nullable title; +/// Payload of the tournament provided upon the creation of the tournament. +@property (nonatomic, copy) NSString * _Nullable payload; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +@class _FBSDKTournamentConfig; + +/// An internal wrapper for sharing tournaments via dialog. Use ShareTournamentDialog instead. +/// warning: +/// For internal use only! Subject to change or removal at any time. +SWIFT_CLASS_NAMED("_ShareTournamentDialog") +@interface _FBSDKShareTournamentDialog : NSObject +/// Attempts to show the share dialog to share an existing tournament +///
    +///
  • +/// throws Will throw if an error occurs when attempting to show the dialog +///
  • +///
+/// \param score A score to share in the tournament could be a numeric score or time interval +/// dependent on the given tournament score type +/// +/// \param tournamentID The ID of the tournament to share and update with the given score +/// +- (BOOL)showWithScore:(NSInteger)score tournamentID:(NSString * _Nonnull)tournamentID error:(NSError * _Nullable * _Nullable)error; +/// Attempts to show the share dialog to share an existing tournament +///
    +///
  • +/// throws Will throw if an error occurs when attempting to show the dialog +///
  • +///
+/// \param score A score to share in the tournament could be a numeric score or time interval +/// dependent on the given tournament score type +/// +/// \param tournament The tournament to share and update with the given score +/// +- (BOOL)showWithScore:(NSInteger)score tournament:(_FBSDKTournament * _Nonnull)tournament error:(NSError * _Nullable * _Nullable)error; +/// Attempts to show the share dialog to share a newly created tournnament +///
    +///
  • +/// throws Will throw if an error occurs when attempting to show the dialog +///
  • +///
+/// \param initialScore An initial score to share, could be a numeric score or time interval +/// dependent on the tournament configuration +/// +/// \param config The tournament configuration used to create a new tournament +/// +- (BOOL)showWithInitialScore:(NSInteger)initialScore config:(_FBSDKTournamentConfig * _Nonnull)config error:(NSError * _Nullable * _Nullable)error; +- (BOOL)isAuthenticationURL:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT; +- (BOOL)application:(UIApplication * _Nullable)application open:(NSURL * _Nullable)url sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +- (BOOL)canOpen:(NSURL * _Nonnull)url for:(UIApplication * _Nullable)application sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +- (void)applicationDidBecomeActive:(UIApplication * _Nonnull)application; +- (void)didFailWithError:(NSError * _Nonnull)error dialog:(ShareTournamentDialog * _Nonnull)dialog; +- (void)didCancelWithDialog:(ShareTournamentDialog * _Nonnull)dialog; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An internal protocol for sharing tournaments. Use ShareTournamentDialog and ShareTournamentDialogDelegate instead. +/// warning: +/// For internal use only! Subject to change or removal at any time. +SWIFT_PROTOCOL_NAMED("_ShareTournamentDialogDelegate") +@protocol _FBSDKShareTournamentDialogDelegate +- (void)didCompleteWithDialog:(_FBSDKShareTournamentDialog * _Nonnull)dialog tournament:(_FBSDKTournament * _Nonnull)tournament; +- (void)didFailWithError:(NSError * _Nonnull)error dialog:(_FBSDKShareTournamentDialog * _Nonnull)dialog; +- (void)didCancelWithDialog:(_FBSDKShareTournamentDialog * _Nonnull)dialog; +@end + + +/// An internal object for configuring tournament share dialogs. Use TournamentConfig instead. +/// warning: +/// For internal use only! Subject to change or removal at any time. +SWIFT_CLASS_NAMED("_TournamentConfig") +@interface _FBSDKTournamentConfig : NSObject +/// Title of the tournament +@property (nonatomic, copy) NSString * _Nullable title; +/// Payload of the tournament +@property (nonatomic, copy) NSString * _Nullable payload; +/// The image associated with the tournament +@property (nonatomic, strong) UIImage * _Nullable image; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An internal class for fetching tournament objects. Use TournamentFetcher instead. +/// warning: +/// For internal use only! Subject to change or removal at any time. +SWIFT_CLASS_NAMED("_TournamentFetcher") +@interface _FBSDKTournamentFetcher : NSObject +/// Attempts to fetch all the tournaments where the current logged in user is a participant ; +/// \param completionHandler The caller’s completion handler to invoke once the graph request is complete +/// +- (void)fetchTournamentsWithCompletionHandler:(void (^ _Nonnull)(NSArray<_FBSDKTournament *> * _Nullable, NSError * _Nullable))completionHandler; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// An internal enum for different methods of tournament scoring . Use TournamentScoreType instead. +/// warning: +/// For internal use only! Subject to change or removal at any time. +typedef SWIFT_ENUM_NAMED(NSInteger, _FBSDKTournamentScoreType, "_TournamentScoreType", open) { + _FBSDKTournamentScoreTypeNumeric = 0, + _FBSDKTournamentScoreTypeTime = 1, +}; + +/// An internal enum for sorting tournament scores. Use TournamentSortOrder instead. +/// warning: +/// For internal use only! Subject to change or removal at any time. +typedef SWIFT_ENUM_NAMED(NSInteger, _FBSDKTournamentSortOrder, "_TournamentSortOrder", open) { + _FBSDKTournamentSortOrderHigherIsBetter = 0, + _FBSDKTournamentSortOrderLowerIsBetter = 1, +}; + + +/// An internal class for fetching tournament objects. Use TournamentUpdater instead. +/// warning: +/// For internal use only! Subject to change or removal at any time. +SWIFT_CLASS_NAMED("_TournamentUpdater") +@interface _FBSDKTournamentUpdater : NSObject +/// Updates the given tournament with the given score +/// \param tournamentID The ID of the tournament you want to update +/// +/// \param score The new score to update within the tournament +/// +/// \param completionHandler The caller’s completion handler to invoke once the graph request is complete. Completes with true if successful. +/// +- (void)updateWithTournamentID:(NSString * _Nonnull)tournamentID score:(NSInteger)score completionHandler:(void (^ _Nonnull)(BOOL, NSError * _Nullable))completionHandler; +/// Updates the given tournament with the given score +/// \param tournament The tournament you want to update +/// +/// \param score The new score to update within the tournament +/// +/// \param completionHandler The caller’s completion handler to invoke once the graph request is complete. Completes with true if successful. +/// +- (void)updateWithTournament:(_FBSDKTournament * _Nonnull)tournament score:(NSInteger)score completionHandler:(void (^ _Nonnull)(BOOL, NSError * _Nullable))completionHandler; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/arm64-apple-ios-macabi.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/arm64-apple-ios-macabi.swiftdoc new file mode 100644 index 0000000..d2f5230 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/arm64-apple-ios-macabi.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/arm64-apple-ios-macabi.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/arm64-apple-ios-macabi.swiftinterface new file mode 100644 index 0000000..fc593c5 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/arm64-apple-ios-macabi.swiftinterface @@ -0,0 +1,556 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKGamingServicesKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +import FBSDKShareKit +import Foundation +import Swift +import UIKit +@objc(FBSDKChooseContextFilter) public enum ChooseContextFilter : Swift.Int, Swift.CaseIterable { + case none + case existingChallenges + case newPlayersOnly + case newContextOnly + public var name: Swift.String { + get + } + public init?(rawValue: Swift.Int) + public typealias AllCases = [FBSDKGamingServicesKit.ChooseContextFilter] + public typealias RawValue = Swift.Int + public static var allCases: [FBSDKGamingServicesKit.ChooseContextFilter] { + get + } + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKChooseContextContent) final public class ChooseContextContent : ObjectiveC.NSObject, FBSDKGamingServicesKit.ValidatableProtocol { + @objc final public var filter: FBSDKGamingServicesKit.ChooseContextFilter + @objc final public var maxParticipants: Swift.Int + @objc final public var minParticipants: Swift.Int + @objc public static func filtersName(forFilters filter: FBSDKGamingServicesKit.ChooseContextFilter) -> Swift.String + @objc final public func validate() throws + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public init() + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKChooseContextDialog) final public class ChooseContextDialog : FBSDKGamingServicesKit.ContextWebDialog, FBSDKCoreKit.URLOpening { + @objc convenience public init(content: FBSDKGamingServicesKit.ChooseContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) + @objc override final public func show() -> Swift.Bool + @objc override final public func validate() throws + @objc final public func application(_ application: UIKit.UIApplication?, open url: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication) + @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool + @objc deinit +} +@objc(FBSDKContextDialogDelegate) public protocol ContextDialogDelegate { + @objc func contextDialogDidComplete(_ contextDialog: FBSDKGamingServicesKit.ContextWebDialog) + @objc func contextDialog(_ contextDialog: FBSDKGamingServicesKit.ContextWebDialog, didFailWithError error: Swift.Error) + @objc func contextDialogDidCancel(_ contextDialog: FBSDKGamingServicesKit.ContextWebDialog) +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKContextDialogPresenter) final public class ContextDialogPresenter : ObjectiveC.NSObject { + @objc override convenience dynamic public init() + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowCreateContextDialog(content:delegate:)` instead") + @objc(showCreateContextDialogWithContent:delegate:) final public class func showCreateContextDialog(withContent content: FBSDKGamingServicesKit.CreateContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) -> Foundation.NSError? + @objc final public func makeAndShowCreateContextDialog(content: FBSDKGamingServicesKit.CreateContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) throws + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowSwitchContextDialog(content:delegate:)` instead") + @objc(showSwitchContextDialogWithContent:delegate:) final public class func showSwitchContextDialog(withContent content: FBSDKGamingServicesKit.SwitchContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate?) -> Foundation.NSError? + @objc final public func makeAndShowSwitchContextDialog(content: FBSDKGamingServicesKit.SwitchContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) throws + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowChooseContextDialog(content:delegate:)` instead") + @discardableResult + @objc(showChooseContextDialogWithContent:delegate:) final public class func showChooseContextDialog(withContent content: FBSDKGamingServicesKit.ChooseContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) -> FBSDKGamingServicesKit.ChooseContextDialog + @objc final public func makeAndShowChooseContextDialog(content: FBSDKGamingServicesKit.ChooseContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) + @objc @available(*, deprecated, message: "showChooseContextDialog is deprecated. Please use the instance method `makeAndShowChooseContextDialog` instead") + final public class func showChooseContextDialog(with content: FBSDKGamingServicesKit.ChooseContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) -> FBSDKGamingServicesKit.ChooseContextDialog + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowCreateContextDialog(content:delegate:)` instead") + @objc(createContextDialogWithContent:delegate:) final public class func createContextDialog(withContent content: FBSDKGamingServicesKit.CreateContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate?) -> FBSDKGamingServicesKit.CreateContextDialog? + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowSwitchContextDialog(content:delegate:)` instead") + @objc(switchContextDialogWithContent:delegate:) final public class func switchContextDialog(withContent content: FBSDKGamingServicesKit.SwitchContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate?) -> FBSDKGamingServicesKit.SwitchContextDialog? + @objc deinit +} +public enum ContextDialogPresenterError : Swift.Error { + case showCreateContext + case showSwitchContext + case showChooseContext + case invalidAccessToken + public static func == (a: FBSDKGamingServicesKit.ContextDialogPresenterError, b: FBSDKGamingServicesKit.ContextDialogPresenterError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKContextWebDialog) public class ContextWebDialog : ObjectiveC.NSObject, FBSDKCoreKit.WebDialogDelegate, FBSDKGamingServicesKit.DialogProtocol { + @objc public var delegate: FBSDKGamingServicesKit.ContextDialogDelegate? + @objc public var dialogContent: FBSDKGamingServicesKit.ValidatableProtocol? + @objc public var currentWebDialog: FBSDKCoreKit.WebDialog? + @objc public func show() -> Swift.Bool + @objc public func validate() throws + @objc public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didCompleteWithResults results: [Swift.String : Any]) + @objc public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didFailWithError error: Swift.Error) + @objc public func webDialogDidCancel(_ webDialog: FBSDKCoreKit.WebDialog) + @objc public func createWebDialogFrame(withWidth width: CoreGraphics.CGFloat, height: CoreGraphics.CGFloat, windowFinder: FBSDKCoreKit._WindowFinding) -> CoreGraphics.CGRect + @objc deinit +} +@objcMembers @objc(FBSDKCreateContextContent) final public class CreateContextContent : ObjectiveC.NSObject, FBSDKGamingServicesKit.ValidatableProtocol { + @objc final public var playerID: Swift.String + @objc(initDialogContentWithPlayerID:) public init(playerID: Swift.String) + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc final public func validate() throws + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKCreateContextDialog) final public class CreateContextDialog : FBSDKGamingServicesKit.ContextWebDialog { + @objc public init(content: FBSDKGamingServicesKit.CreateContextContent, windowFinder: FBSDKCoreKit._WindowFinding, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) + @discardableResult + @objc override final public func show() -> Swift.Bool + @objc override final public func validate() throws + @objc deinit +} +public enum CustomUpdateContentError : Swift.Error { + case notInGameContext + case invalidMessage + case invalidMedia + case invalidImage + public static func == (a: FBSDKGamingServicesKit.CustomUpdateContentError, b: FBSDKGamingServicesKit.CustomUpdateContentError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +final public class CustomUpdateContentImage { + public init(message: Swift.String, image: UIKit.UIImage, cta: Swift.String? = nil, payload: Swift.String? = nil, messageLocalization: [Swift.String : Swift.String] = [:], ctaLocalization: [Swift.String : Swift.String] = [:]) + @objc deinit +} +final public class CustomUpdateContentMedia { + public init(message: Swift.String, media: FBSDKGamingServicesKit.URLMedia, cta: Swift.String? = nil, payload: Swift.String? = nil, messageLocalization: [Swift.String : Swift.String] = [:], ctaLocalization: [Swift.String : Swift.String] = [:]) + @objc deinit +} +public enum CustomUpdateGraphRequestError : Swift.Error { + case server(Swift.Error) + case invalidAccessToken + case contentParsing + case decoding +} +final public class CustomUpdateGraphRequest { + final public let graphRequestFactory: FBSDKCoreKit.GraphRequestFactoryProtocol + public init() + public init(graphRequestFactory: FBSDKCoreKit.GraphRequestFactoryProtocol = GraphRequestFactory()) + final public func request(content: FBSDKGamingServicesKit.CustomUpdateContentMedia, completionHandler: @escaping (Swift.Result) -> Swift.Void) throws + final public func request(content: FBSDKGamingServicesKit.CustomUpdateContentImage, completionHandler: @escaping (Swift.Result) -> Swift.Void) throws + @objc deinit +} +@objc(FBSDKDialog) public protocol DialogProtocol { + @objc weak var delegate: FBSDKGamingServicesKit.ContextDialogDelegate? { get set } + @objc var dialogContent: FBSDKGamingServicesKit.ValidatableProtocol? { get set } + @objc func show() -> Swift.Bool + @objc func validate() throws +} +@objc(FBSDKValidatable) public protocol ValidatableProtocol { + @objc func validate() throws +} +public struct FacebookGIF : Swift.Codable, Swift.Equatable, FBSDKGamingServicesKit.URLMedia { + public init(withUrl url: Foundation.URL) + public static func == (a: FBSDKGamingServicesKit.FacebookGIF, b: FBSDKGamingServicesKit.FacebookGIF) -> Swift.Bool + public func encode(to encoder: Swift.Encoder) throws + public init(from decoder: Swift.Decoder) throws +} +public struct FacebookVideo : Swift.Codable, Swift.Equatable, FBSDKGamingServicesKit.URLMedia { + public init(withUrl url: Foundation.URL) + public static func == (a: FBSDKGamingServicesKit.FacebookVideo, b: FBSDKGamingServicesKit.FacebookVideo) -> Swift.Bool + public func encode(to encoder: Swift.Encoder) throws + public init(from decoder: Swift.Decoder) throws +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc(FBSDKFriendFinderDialog) final public class FriendFinderDialog : ObjectiveC.NSObject { + @objc override convenience dynamic public init() + @objc(launchFriendFinderDialogWithCompletionHandler:) public static func launch(completionHandler: @escaping FBSDKGamingServicesKit.GamingServiceCompletionHandler) + @objc deinit +} +@objc(FBSDKGameRequestActionType) public enum GameRequestActionType : Swift.UInt { + case none + case send + case askFor + case turn + case invite + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKGameRequestContent) final public class GameRequestContent : ObjectiveC.NSObject, FBSDKShareKit.SharingValidation, Foundation.NSSecureCoding { + @objc final public var actionType: FBSDKGamingServicesKit.GameRequestActionType + @objc final public var data: Swift.String? + @objc final public var filters: FBSDKGamingServicesKit.GameRequestFilter + @objc final public var message: Swift.String + @objc final public var objectID: Swift.String + @objc final public var recipients: [Swift.String] + @objc final public var recipientSuggestions: [Swift.String] + @objc final public var title: Swift.String + @objc final public var cta: Swift.String + @objc(validateWithOptions:error:) final public func validate(options: FBSDKShareKit.ShareBridgeOptions = []) throws + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc(isEqualToGameRequestContent:) final public func isEqual(to content: FBSDKGamingServicesKit.GameRequestContent) -> Swift.Bool + @objc final public class var supportsSecureCoding: Swift.Bool { + @objc get + } + @objc convenience public init(coder decoder: Foundation.NSCoder) + @objc final public func encode(with encoder: Foundation.NSCoder) + @objc override dynamic public init() + @objc deinit +} +@objcMembers @objc(FBSDKGameRequestDialog) final public class GameRequestDialog : ObjectiveC.NSObject { + @objc weak final public var delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate? + @objc final public var content: FBSDKGamingServicesKit.GameRequestContent + @objc final public var isFrictionlessRequestsEnabled: Swift.Bool + @objc final public var canShow: Swift.Bool { + @objc get + } + @objc public init(content: FBSDKGamingServicesKit.GameRequestContent, delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate?) + @objc(dialogWithContent:delegate:) public static func dialog(content: FBSDKGamingServicesKit.GameRequestContent, delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate?) -> FBSDKGamingServicesKit.GameRequestDialog + @discardableResult + @objc(showWithContent:delegate:) public static func show(content: FBSDKGamingServicesKit.GameRequestContent, delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate?) -> FBSDKGamingServicesKit.GameRequestDialog + @objc @discardableResult + final public func show() -> Swift.Bool + @objc(validateWithError:) final public func validate() throws + @objc deinit +} +extension FBSDKGamingServicesKit.GameRequestDialog : FBSDKCoreKit.WebDialogDelegate { + @objc final public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didCompleteWithResults results: [Swift.String : Any]) + @objc final public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didFailWithError error: Swift.Error) + @objc final public func webDialogDidCancel(_ webDialog: FBSDKCoreKit.WebDialog) +} +extension FBSDKGamingServicesKit.GameRequestDialog : FBSDKCoreKit.URLOpening { + @objc final public func application(_ application: UIKit.UIApplication?, open potentialURL: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication) + @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool +} +@objc(FBSDKGameRequestDialogDelegate) public protocol GameRequestDialogDelegate { + @objc(gameRequestDialog:didCompleteWithResults:) func gameRequestDialog(_ gameRequestDialog: FBSDKGamingServicesKit.GameRequestDialog, didCompleteWithResults results: [Swift.String : Any]) + @objc(gameRequestDialog:didFailWithError:) func gameRequestDialog(_ gameRequestDialog: FBSDKGamingServicesKit.GameRequestDialog, didFailWithError error: Swift.Error) + @objc func gameRequestDialogDidCancel(_ gameRequestDialog: FBSDKGamingServicesKit.GameRequestDialog) +} +@objc(FBSDKGameRequestFilter) public enum GameRequestFilter : Swift.UInt { + case none + case appUsers + case appNonUsers + case everybody + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKGameRequestURLProvider) final public class GameRequestURLProvider : ObjectiveC.NSObject { + @objc(createDeepLinkURLWithQueryDictionary:) final public class func createDeepLinkURL(queryDictionary: [Swift.String : Any]) -> Foundation.URL? + @objc(filtersNameForFilters:) final public class func filtersName(for filters: FBSDKGamingServicesKit.GameRequestFilter) -> Swift.String? + @objc(actionTypeNameForActionType:) final public class func actionTypeName(for actionType: FBSDKGamingServicesKit.GameRequestActionType) -> Swift.String? + @objc override dynamic public init() + @objc deinit +} +@objcMembers @objc(FBSDKGamingContext) final public class GamingContext : ObjectiveC.NSObject { + @objc(currentContext) public static var current: FBSDKGamingServicesKit.GamingContext? + @objc final public let identifier: Swift.String + @objc final public let size: Swift.Int + @objc public init?(identifier: Swift.String, size: Swift.Int) + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingGroupIntegration) final public class GamingGroupIntegration : ObjectiveC.NSObject { + @objc public static func openGroupPage(completionHandler: @escaping FBSDKGamingServicesKit.GamingServiceCompletionHandler) + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingImageUploader) final public class GamingImageUploader : ObjectiveC.NSObject { + @objc(uploadImageWithConfiguration:andResultCompletion:) public static func uploadImage(with configuration: FBSDKGamingServicesKit.GamingImageUploaderConfiguration, andResultCompletion completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion) + @objc(uploadImageWithConfiguration:completion:andProgressHandler:) public static func uploadImage(with configuration: FBSDKGamingServicesKit.GamingImageUploaderConfiguration, completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion, andProgressHandler progressHandler: FBSDKGamingServicesKit.GamingServiceProgressHandler?) + @objc deinit +} +extension FBSDKGamingServicesKit.GamingImageUploader : FBSDKCoreKit.GraphRequestConnectionDelegate { + @objc final public func requestConnection(_ connection: FBSDKCoreKit.GraphRequestConnecting, didSendBodyData bytesWritten: Swift.Int, totalBytesWritten: Swift.Int, totalBytesExpectedToWrite: Swift.Int) +} +@objcMembers @objc(FBSDKGamingImageUploaderConfiguration) final public class GamingImageUploaderConfiguration : ObjectiveC.NSObject { + @objc final public var image: UIKit.UIImage { + get + } + @objc final public var caption: Swift.String? { + get + } + @objc final public var shouldLaunchMediaDialog: Swift.Bool { + get + } + @objc public init(image: UIKit.UIImage, caption: Swift.String?, shouldLaunchMediaDialog: Swift.Bool) + @objc deinit +} +@objcMembers @objc(FBSDKGamingPayload) final public class GamingPayload : ObjectiveC.NSObject { + @objc final public var URL: FBSDKCoreKit.AppLinkURL + @objc final public var payload: Swift.String + @objc public init(URL: FBSDKCoreKit.AppLinkURL) + @objc deinit +} +@objc(FBSDKGamingPayloadDelegate) public protocol GamingPayloadDelegate : ObjectiveC.NSObjectProtocol { + @objc optional func parsedGameRequestURLContaining(_ payload: FBSDKGamingServicesKit.GamingPayload, gameRequestID: Swift.String) + @objc optional func parsedGamingContextURLContaining(_ payload: FBSDKGamingServicesKit.GamingPayload) + @objc optional func parsedTournamentURLContaining(_ payload: FBSDKGamingServicesKit.GamingPayload, tournamentID: Swift.String) +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingPayloadObserver) final public class GamingPayloadObserver : ObjectiveC.NSObject { + @objc weak final public var delegate: FBSDKGamingServicesKit.GamingPayloadDelegate? { + @objc get + @objc set + } + @objc convenience public init(delegate: FBSDKGamingServicesKit.GamingPayloadDelegate?) + @objc deinit +} +extension FBSDKGamingServicesKit.GamingPayloadObserver : FBSDKCoreKit.FBSDKApplicationObserving { + @objc final public func application(_ application: UIKit.UIApplication, open url: Foundation.URL, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool +} +public typealias GamingServiceCompletionHandler = (_ success: Swift.Bool, _ error: Swift.Error?) -> Swift.Void +public typealias FBSDKGamingServiceCompletionHandler = FBSDKGamingServicesKit.GamingServiceCompletionHandler +public typealias GamingServiceResultCompletion = (_ success: Swift.Bool, _ result: [Swift.String : Any]?, _ error: Swift.Error?) -> Swift.Void +public typealias FBSDKGamingServiceResultCompletion = FBSDKGamingServicesKit.GamingServiceResultCompletion +public typealias GamingServiceProgressHandler = (_ bytesSent: Swift.Int64, _ totalBytesSent: Swift.Int64, _ totalBytesExpectedToSend: Swift.Int64) -> Swift.Void +public typealias FBSDKGamingServiceProgressHandler = FBSDKGamingServicesKit.GamingServiceProgressHandler +public enum GamingServicesDialogError : Swift.Error { + case invalidContentType + case missingContent + case deeplinkURLCreation + public static func == (a: FBSDKGamingServicesKit.GamingServicesDialogError, b: FBSDKGamingServicesKit.GamingServicesDialogError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingVideoUploader) final public class GamingVideoUploader : ObjectiveC.NSObject { + @objc(uploadVideoWithConfiguration:andResultCompletion:) public static func uploadVideo(configuration: FBSDKGamingServicesKit.GamingVideoUploaderConfiguration, completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion) + @objc(uploadVideoWithConfiguration:completion:andProgressHandler:) public static func uploadVideo(configuration: FBSDKGamingServicesKit.GamingVideoUploaderConfiguration, completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion, progressHandler: FBSDKGamingServicesKit.GamingServiceProgressHandler?) + @objc deinit +} +@objcMembers @objc(FBSDKGamingVideoUploaderConfiguration) final public class GamingVideoUploaderConfiguration : ObjectiveC.NSObject { + @objc final public var videoURL: Foundation.URL { + get + } + @objc final public var caption: Swift.String? { + get + } + @objc public init(videoURL: Foundation.URL, caption: Swift.String?) + @objc deinit +} +public enum ShareTournamentDialogError : Swift.Error { + case invalidAccessToken + case invalidAuthToken + case invalidTournamentID + case unableToCreateDialogUrl + case unknownBridgeError + case errorMessage(Swift.String) + case bridgeError(Swift.Error) +} +@objc @_hasMissingDesignatedInitializers final public class ShareTournamentDialog : ObjectiveC.NSObject, FBSDKCoreKit.URLOpening { + convenience public init(delegate: FBSDKGamingServicesKit.ShareTournamentDialogDelegate) + final public func show(score: Swift.Int, tournamentID: Swift.String) throws + final public func show(score: Swift.Int, tournament: FBSDKGamingServicesKit.Tournament) throws + final public func show(initialScore: Swift.Int, config: FBSDKGamingServicesKit.TournamentConfig) throws + @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool + @objc final public func application(_ application: UIKit.UIApplication?, open url: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication) + @objc deinit +} +public protocol ShareTournamentDialogDelegate : AnyObject { + func didComplete(dialog: FBSDKGamingServicesKit.ShareTournamentDialog, tournament: FBSDKGamingServicesKit.Tournament) + func didFail(withError error: Swift.Error, dialog: FBSDKGamingServicesKit.ShareTournamentDialog) + func didCancel(dialog: FBSDKGamingServicesKit.ShareTournamentDialog) +} +@objc(FBSDKShowable) public protocol Showable { + @objc func show() -> Swift.Bool +} +extension FBSDKGamingServicesKit.ChooseContextDialog : FBSDKGamingServicesKit.Showable { +} +extension FBSDKGamingServicesKit.CreateContextDialog : FBSDKGamingServicesKit.Showable { +} +@objcMembers @objc(FBSDKSwitchContextContent) final public class SwitchContextContent : ObjectiveC.NSObject, FBSDKGamingServicesKit.ValidatableProtocol { + @objc(initDialogContentWithContextID:) public init(contextID: Swift.String) + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc final public func validate() throws + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKSwitchContextDialog) final public class SwitchContextDialog : FBSDKGamingServicesKit.ContextWebDialog, FBSDKGamingServicesKit.Showable { + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the initializer `init(content:windowFinder:delegate:)` instead") + @objc(dialogWithContent:windowFinder:delegate:) public static func dialog(content: FBSDKGamingServicesKit.SwitchContextContent, windowFinder: FBSDKCoreKit._WindowFinding, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) -> Self + @objc public init(content: FBSDKGamingServicesKit.SwitchContextContent, windowFinder: FBSDKCoreKit._WindowFinding, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) + @objc override final public func show() -> Swift.Bool + @objc override final public func validate() throws + @objc deinit +} +public enum TournamentDecodingError : Swift.Error { + case invalidExpirationDate + case invalidScoreType + public static func == (a: FBSDKGamingServicesKit.TournamentDecodingError, b: FBSDKGamingServicesKit.TournamentDecodingError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +public struct Tournament : Swift.Codable { + public var identifier: Swift.String { + get + } + public var endTime: Foundation.Date? { + get + } + public var title: Swift.String? { + get + } + public var payload: Swift.String? + public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws +} +public struct TournamentConfig { + public var title: Swift.String? + public var endTime: Foundation.TimeInterval? + public var scoreType: FBSDKGamingServicesKit.TournamentScoreType? + public var sortOrder: FBSDKGamingServicesKit.TournamentSortOrder? + public var payload: Swift.String? + public var image: UIKit.UIImage? + public init(title: Swift.String? = nil, endTime: Foundation.Date? = nil, scoreType: FBSDKGamingServicesKit.TournamentScoreType? = nil, sortOrder: FBSDKGamingServicesKit.TournamentSortOrder? = nil, image: UIKit.UIImage? = nil, payload: Swift.String? = nil) +} +public enum TournamentFetchError : Swift.Error { + case server(Swift.Error) + case decoding + case invalidAuthToken + case invalidAccessToken +} +@_hasMissingDesignatedInitializers final public class TournamentFetcher { + convenience public init() + final public func fetchTournaments(completionHandler: @escaping (Swift.Result<[FBSDKGamingServicesKit.Tournament], FBSDKGamingServicesKit.TournamentFetchError>) -> Swift.Void) + @objc deinit +} +public enum TournamentScoreType : Swift.String { + case numeric + case time + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +public enum TournamentSortOrder : Swift.String { + case higherIsBetter + case lowerIsBetter + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +public enum TournamentUpdaterError : Swift.Error { + case server(Swift.Error) + case decoding + case invalidAuthToken + case invalidAccessToken + case invalidTournamentID +} +@_hasMissingDesignatedInitializers final public class TournamentUpdater { + convenience public init() + final public func update(tournamentID: Swift.String, score: Swift.Int, completionHandler: @escaping (Swift.Result) -> Swift.Void) + final public func update(tournament: FBSDKGamingServicesKit.Tournament, score: Swift.Int, completionHandler: @escaping (Swift.Result) -> Swift.Void) + @objc deinit +} +public protocol URLMedia : Swift.Decodable, Swift.Encodable { + init(withUrl: Foundation.URL) +} +@objc @_hasMissingDesignatedInitializers @objcMembers final public class _FBSDKTournament : ObjectiveC.NSObject { + @objc final public var identifier: Swift.String { + get + } + @objc final public var endTime: Foundation.Date? { + get + } + @objc final public var title: Swift.String? { + get + } + @objc final public var payload: Swift.String? + @objc deinit +} +@objc(_FBSDKShareTournamentDialogDelegate) public protocol _ShareTournamentDialogDelegate { + @objc func didComplete(dialog: FBSDKGamingServicesKit._ShareTournamentDialog, tournament: FBSDKGamingServicesKit._FBSDKTournament) + @objc func didFail(withError error: Swift.Error, dialog: FBSDKGamingServicesKit._ShareTournamentDialog) + @objc func didCancel(dialog: FBSDKGamingServicesKit._ShareTournamentDialog) +} +@_hasMissingDesignatedInitializers @objcMembers @objc(_FBSDKShareTournamentDialog) final public class _ShareTournamentDialog : ObjectiveC.NSObject, FBSDKGamingServicesKit.ShareTournamentDialogDelegate { + @objc final public func show(score: Swift.Int, tournamentID: Swift.String) throws + @objc final public func show(score: Swift.Int, tournament: FBSDKGamingServicesKit._FBSDKTournament) throws + @objc final public func show(initialScore: Swift.Int, config: FBSDKGamingServicesKit._TournamentConfig) throws + @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool + @objc final public func application(_ application: UIKit.UIApplication?, open url: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication) + final public func didComplete(dialog: FBSDKGamingServicesKit.ShareTournamentDialog, tournament: FBSDKGamingServicesKit.Tournament) + @objc final public func didFail(withError error: Swift.Error, dialog: FBSDKGamingServicesKit.ShareTournamentDialog) + @objc final public func didCancel(dialog: FBSDKGamingServicesKit.ShareTournamentDialog) + @objc deinit +} +@objc(_FBSDKTournamentScoreType) public enum _TournamentScoreType : Swift.Int { + case numeric + case time + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@objc(_FBSDKTournamentSortOrder) public enum _TournamentSortOrder : Swift.Int { + case higherIsBetter + case lowerIsBetter + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@objcMembers @objc(_FBSDKTournamentConfig) final public class _TournamentConfig : ObjectiveC.NSObject { + @objc final public var title: Swift.String? + final public var endTime: CoreGraphics.CGFloat? + final public var scoreType: FBSDKGamingServicesKit._TournamentScoreType? + final public var sortOrder: FBSDKGamingServicesKit._TournamentSortOrder? + @objc final public var payload: Swift.String? + @objc final public var image: UIKit.UIImage? + public init(title: Swift.String? = nil, endTime: Foundation.Date? = nil, scoreType: FBSDKGamingServicesKit._TournamentScoreType? = nil, sortOrder: FBSDKGamingServicesKit._TournamentSortOrder? = nil, image: UIKit.UIImage? = nil, payload: Swift.String? = nil) + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(_FBSDKTournamentFetcher) final public class _TournamentFetcher : ObjectiveC.NSObject { + @objc final public func fetchTournaments(completionHandler: @escaping ([FBSDKGamingServicesKit._FBSDKTournament]?, Swift.Error?) -> Swift.Void) + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(_FBSDKTournamentUpdater) final public class _TournamentUpdater : ObjectiveC.NSObject { + @objc final public func update(tournamentID: Swift.String, score: Swift.Int, completionHandler: @escaping (Swift.Bool, Swift.Error?) -> Swift.Void) + @objc final public func update(tournament: FBSDKGamingServicesKit._FBSDKTournament, score: Swift.Int, completionHandler: @escaping (Swift.Bool, Swift.Error?) -> Swift.Void) + @objc deinit +} +extension FBSDKGamingServicesKit.ChooseContextFilter : Swift.Equatable {} +extension FBSDKGamingServicesKit.ChooseContextFilter : Swift.Hashable {} +extension FBSDKGamingServicesKit.ChooseContextFilter : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit.ContextDialogPresenterError : Swift.Equatable {} +extension FBSDKGamingServicesKit.ContextDialogPresenterError : Swift.Hashable {} +extension FBSDKGamingServicesKit.CustomUpdateContentError : Swift.Equatable {} +extension FBSDKGamingServicesKit.CustomUpdateContentError : Swift.Hashable {} +extension FBSDKGamingServicesKit.GameRequestActionType : Swift.Equatable {} +extension FBSDKGamingServicesKit.GameRequestActionType : Swift.Hashable {} +extension FBSDKGamingServicesKit.GameRequestActionType : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit.GameRequestFilter : Swift.Equatable {} +extension FBSDKGamingServicesKit.GameRequestFilter : Swift.Hashable {} +extension FBSDKGamingServicesKit.GameRequestFilter : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit.GamingServicesDialogError : Swift.Equatable {} +extension FBSDKGamingServicesKit.GamingServicesDialogError : Swift.Hashable {} +extension FBSDKGamingServicesKit.TournamentDecodingError : Swift.Equatable {} +extension FBSDKGamingServicesKit.TournamentDecodingError : Swift.Hashable {} +extension FBSDKGamingServicesKit.TournamentScoreType : Swift.Equatable {} +extension FBSDKGamingServicesKit.TournamentScoreType : Swift.Hashable {} +extension FBSDKGamingServicesKit.TournamentScoreType : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit.TournamentSortOrder : Swift.Equatable {} +extension FBSDKGamingServicesKit.TournamentSortOrder : Swift.Hashable {} +extension FBSDKGamingServicesKit.TournamentSortOrder : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit._TournamentScoreType : Swift.Equatable {} +extension FBSDKGamingServicesKit._TournamentScoreType : Swift.Hashable {} +extension FBSDKGamingServicesKit._TournamentScoreType : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit._TournamentSortOrder : Swift.Equatable {} +extension FBSDKGamingServicesKit._TournamentSortOrder : Swift.Hashable {} +extension FBSDKGamingServicesKit._TournamentSortOrder : Swift.RawRepresentable {} diff --git a/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/arm64.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..d2f5230 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/arm64.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/arm64.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..fc593c5 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/arm64.swiftinterface @@ -0,0 +1,556 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKGamingServicesKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +import FBSDKShareKit +import Foundation +import Swift +import UIKit +@objc(FBSDKChooseContextFilter) public enum ChooseContextFilter : Swift.Int, Swift.CaseIterable { + case none + case existingChallenges + case newPlayersOnly + case newContextOnly + public var name: Swift.String { + get + } + public init?(rawValue: Swift.Int) + public typealias AllCases = [FBSDKGamingServicesKit.ChooseContextFilter] + public typealias RawValue = Swift.Int + public static var allCases: [FBSDKGamingServicesKit.ChooseContextFilter] { + get + } + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKChooseContextContent) final public class ChooseContextContent : ObjectiveC.NSObject, FBSDKGamingServicesKit.ValidatableProtocol { + @objc final public var filter: FBSDKGamingServicesKit.ChooseContextFilter + @objc final public var maxParticipants: Swift.Int + @objc final public var minParticipants: Swift.Int + @objc public static func filtersName(forFilters filter: FBSDKGamingServicesKit.ChooseContextFilter) -> Swift.String + @objc final public func validate() throws + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public init() + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKChooseContextDialog) final public class ChooseContextDialog : FBSDKGamingServicesKit.ContextWebDialog, FBSDKCoreKit.URLOpening { + @objc convenience public init(content: FBSDKGamingServicesKit.ChooseContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) + @objc override final public func show() -> Swift.Bool + @objc override final public func validate() throws + @objc final public func application(_ application: UIKit.UIApplication?, open url: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication) + @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool + @objc deinit +} +@objc(FBSDKContextDialogDelegate) public protocol ContextDialogDelegate { + @objc func contextDialogDidComplete(_ contextDialog: FBSDKGamingServicesKit.ContextWebDialog) + @objc func contextDialog(_ contextDialog: FBSDKGamingServicesKit.ContextWebDialog, didFailWithError error: Swift.Error) + @objc func contextDialogDidCancel(_ contextDialog: FBSDKGamingServicesKit.ContextWebDialog) +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKContextDialogPresenter) final public class ContextDialogPresenter : ObjectiveC.NSObject { + @objc override convenience dynamic public init() + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowCreateContextDialog(content:delegate:)` instead") + @objc(showCreateContextDialogWithContent:delegate:) final public class func showCreateContextDialog(withContent content: FBSDKGamingServicesKit.CreateContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) -> Foundation.NSError? + @objc final public func makeAndShowCreateContextDialog(content: FBSDKGamingServicesKit.CreateContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) throws + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowSwitchContextDialog(content:delegate:)` instead") + @objc(showSwitchContextDialogWithContent:delegate:) final public class func showSwitchContextDialog(withContent content: FBSDKGamingServicesKit.SwitchContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate?) -> Foundation.NSError? + @objc final public func makeAndShowSwitchContextDialog(content: FBSDKGamingServicesKit.SwitchContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) throws + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowChooseContextDialog(content:delegate:)` instead") + @discardableResult + @objc(showChooseContextDialogWithContent:delegate:) final public class func showChooseContextDialog(withContent content: FBSDKGamingServicesKit.ChooseContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) -> FBSDKGamingServicesKit.ChooseContextDialog + @objc final public func makeAndShowChooseContextDialog(content: FBSDKGamingServicesKit.ChooseContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) + @objc @available(*, deprecated, message: "showChooseContextDialog is deprecated. Please use the instance method `makeAndShowChooseContextDialog` instead") + final public class func showChooseContextDialog(with content: FBSDKGamingServicesKit.ChooseContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) -> FBSDKGamingServicesKit.ChooseContextDialog + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowCreateContextDialog(content:delegate:)` instead") + @objc(createContextDialogWithContent:delegate:) final public class func createContextDialog(withContent content: FBSDKGamingServicesKit.CreateContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate?) -> FBSDKGamingServicesKit.CreateContextDialog? + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowSwitchContextDialog(content:delegate:)` instead") + @objc(switchContextDialogWithContent:delegate:) final public class func switchContextDialog(withContent content: FBSDKGamingServicesKit.SwitchContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate?) -> FBSDKGamingServicesKit.SwitchContextDialog? + @objc deinit +} +public enum ContextDialogPresenterError : Swift.Error { + case showCreateContext + case showSwitchContext + case showChooseContext + case invalidAccessToken + public static func == (a: FBSDKGamingServicesKit.ContextDialogPresenterError, b: FBSDKGamingServicesKit.ContextDialogPresenterError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKContextWebDialog) public class ContextWebDialog : ObjectiveC.NSObject, FBSDKCoreKit.WebDialogDelegate, FBSDKGamingServicesKit.DialogProtocol { + @objc public var delegate: FBSDKGamingServicesKit.ContextDialogDelegate? + @objc public var dialogContent: FBSDKGamingServicesKit.ValidatableProtocol? + @objc public var currentWebDialog: FBSDKCoreKit.WebDialog? + @objc public func show() -> Swift.Bool + @objc public func validate() throws + @objc public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didCompleteWithResults results: [Swift.String : Any]) + @objc public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didFailWithError error: Swift.Error) + @objc public func webDialogDidCancel(_ webDialog: FBSDKCoreKit.WebDialog) + @objc public func createWebDialogFrame(withWidth width: CoreGraphics.CGFloat, height: CoreGraphics.CGFloat, windowFinder: FBSDKCoreKit._WindowFinding) -> CoreGraphics.CGRect + @objc deinit +} +@objcMembers @objc(FBSDKCreateContextContent) final public class CreateContextContent : ObjectiveC.NSObject, FBSDKGamingServicesKit.ValidatableProtocol { + @objc final public var playerID: Swift.String + @objc(initDialogContentWithPlayerID:) public init(playerID: Swift.String) + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc final public func validate() throws + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKCreateContextDialog) final public class CreateContextDialog : FBSDKGamingServicesKit.ContextWebDialog { + @objc public init(content: FBSDKGamingServicesKit.CreateContextContent, windowFinder: FBSDKCoreKit._WindowFinding, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) + @discardableResult + @objc override final public func show() -> Swift.Bool + @objc override final public func validate() throws + @objc deinit +} +public enum CustomUpdateContentError : Swift.Error { + case notInGameContext + case invalidMessage + case invalidMedia + case invalidImage + public static func == (a: FBSDKGamingServicesKit.CustomUpdateContentError, b: FBSDKGamingServicesKit.CustomUpdateContentError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +final public class CustomUpdateContentImage { + public init(message: Swift.String, image: UIKit.UIImage, cta: Swift.String? = nil, payload: Swift.String? = nil, messageLocalization: [Swift.String : Swift.String] = [:], ctaLocalization: [Swift.String : Swift.String] = [:]) + @objc deinit +} +final public class CustomUpdateContentMedia { + public init(message: Swift.String, media: FBSDKGamingServicesKit.URLMedia, cta: Swift.String? = nil, payload: Swift.String? = nil, messageLocalization: [Swift.String : Swift.String] = [:], ctaLocalization: [Swift.String : Swift.String] = [:]) + @objc deinit +} +public enum CustomUpdateGraphRequestError : Swift.Error { + case server(Swift.Error) + case invalidAccessToken + case contentParsing + case decoding +} +final public class CustomUpdateGraphRequest { + final public let graphRequestFactory: FBSDKCoreKit.GraphRequestFactoryProtocol + public init() + public init(graphRequestFactory: FBSDKCoreKit.GraphRequestFactoryProtocol = GraphRequestFactory()) + final public func request(content: FBSDKGamingServicesKit.CustomUpdateContentMedia, completionHandler: @escaping (Swift.Result) -> Swift.Void) throws + final public func request(content: FBSDKGamingServicesKit.CustomUpdateContentImage, completionHandler: @escaping (Swift.Result) -> Swift.Void) throws + @objc deinit +} +@objc(FBSDKDialog) public protocol DialogProtocol { + @objc weak var delegate: FBSDKGamingServicesKit.ContextDialogDelegate? { get set } + @objc var dialogContent: FBSDKGamingServicesKit.ValidatableProtocol? { get set } + @objc func show() -> Swift.Bool + @objc func validate() throws +} +@objc(FBSDKValidatable) public protocol ValidatableProtocol { + @objc func validate() throws +} +public struct FacebookGIF : Swift.Codable, Swift.Equatable, FBSDKGamingServicesKit.URLMedia { + public init(withUrl url: Foundation.URL) + public static func == (a: FBSDKGamingServicesKit.FacebookGIF, b: FBSDKGamingServicesKit.FacebookGIF) -> Swift.Bool + public func encode(to encoder: Swift.Encoder) throws + public init(from decoder: Swift.Decoder) throws +} +public struct FacebookVideo : Swift.Codable, Swift.Equatable, FBSDKGamingServicesKit.URLMedia { + public init(withUrl url: Foundation.URL) + public static func == (a: FBSDKGamingServicesKit.FacebookVideo, b: FBSDKGamingServicesKit.FacebookVideo) -> Swift.Bool + public func encode(to encoder: Swift.Encoder) throws + public init(from decoder: Swift.Decoder) throws +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc(FBSDKFriendFinderDialog) final public class FriendFinderDialog : ObjectiveC.NSObject { + @objc override convenience dynamic public init() + @objc(launchFriendFinderDialogWithCompletionHandler:) public static func launch(completionHandler: @escaping FBSDKGamingServicesKit.GamingServiceCompletionHandler) + @objc deinit +} +@objc(FBSDKGameRequestActionType) public enum GameRequestActionType : Swift.UInt { + case none + case send + case askFor + case turn + case invite + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKGameRequestContent) final public class GameRequestContent : ObjectiveC.NSObject, FBSDKShareKit.SharingValidation, Foundation.NSSecureCoding { + @objc final public var actionType: FBSDKGamingServicesKit.GameRequestActionType + @objc final public var data: Swift.String? + @objc final public var filters: FBSDKGamingServicesKit.GameRequestFilter + @objc final public var message: Swift.String + @objc final public var objectID: Swift.String + @objc final public var recipients: [Swift.String] + @objc final public var recipientSuggestions: [Swift.String] + @objc final public var title: Swift.String + @objc final public var cta: Swift.String + @objc(validateWithOptions:error:) final public func validate(options: FBSDKShareKit.ShareBridgeOptions = []) throws + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc(isEqualToGameRequestContent:) final public func isEqual(to content: FBSDKGamingServicesKit.GameRequestContent) -> Swift.Bool + @objc final public class var supportsSecureCoding: Swift.Bool { + @objc get + } + @objc convenience public init(coder decoder: Foundation.NSCoder) + @objc final public func encode(with encoder: Foundation.NSCoder) + @objc override dynamic public init() + @objc deinit +} +@objcMembers @objc(FBSDKGameRequestDialog) final public class GameRequestDialog : ObjectiveC.NSObject { + @objc weak final public var delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate? + @objc final public var content: FBSDKGamingServicesKit.GameRequestContent + @objc final public var isFrictionlessRequestsEnabled: Swift.Bool + @objc final public var canShow: Swift.Bool { + @objc get + } + @objc public init(content: FBSDKGamingServicesKit.GameRequestContent, delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate?) + @objc(dialogWithContent:delegate:) public static func dialog(content: FBSDKGamingServicesKit.GameRequestContent, delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate?) -> FBSDKGamingServicesKit.GameRequestDialog + @discardableResult + @objc(showWithContent:delegate:) public static func show(content: FBSDKGamingServicesKit.GameRequestContent, delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate?) -> FBSDKGamingServicesKit.GameRequestDialog + @objc @discardableResult + final public func show() -> Swift.Bool + @objc(validateWithError:) final public func validate() throws + @objc deinit +} +extension FBSDKGamingServicesKit.GameRequestDialog : FBSDKCoreKit.WebDialogDelegate { + @objc final public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didCompleteWithResults results: [Swift.String : Any]) + @objc final public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didFailWithError error: Swift.Error) + @objc final public func webDialogDidCancel(_ webDialog: FBSDKCoreKit.WebDialog) +} +extension FBSDKGamingServicesKit.GameRequestDialog : FBSDKCoreKit.URLOpening { + @objc final public func application(_ application: UIKit.UIApplication?, open potentialURL: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication) + @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool +} +@objc(FBSDKGameRequestDialogDelegate) public protocol GameRequestDialogDelegate { + @objc(gameRequestDialog:didCompleteWithResults:) func gameRequestDialog(_ gameRequestDialog: FBSDKGamingServicesKit.GameRequestDialog, didCompleteWithResults results: [Swift.String : Any]) + @objc(gameRequestDialog:didFailWithError:) func gameRequestDialog(_ gameRequestDialog: FBSDKGamingServicesKit.GameRequestDialog, didFailWithError error: Swift.Error) + @objc func gameRequestDialogDidCancel(_ gameRequestDialog: FBSDKGamingServicesKit.GameRequestDialog) +} +@objc(FBSDKGameRequestFilter) public enum GameRequestFilter : Swift.UInt { + case none + case appUsers + case appNonUsers + case everybody + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKGameRequestURLProvider) final public class GameRequestURLProvider : ObjectiveC.NSObject { + @objc(createDeepLinkURLWithQueryDictionary:) final public class func createDeepLinkURL(queryDictionary: [Swift.String : Any]) -> Foundation.URL? + @objc(filtersNameForFilters:) final public class func filtersName(for filters: FBSDKGamingServicesKit.GameRequestFilter) -> Swift.String? + @objc(actionTypeNameForActionType:) final public class func actionTypeName(for actionType: FBSDKGamingServicesKit.GameRequestActionType) -> Swift.String? + @objc override dynamic public init() + @objc deinit +} +@objcMembers @objc(FBSDKGamingContext) final public class GamingContext : ObjectiveC.NSObject { + @objc(currentContext) public static var current: FBSDKGamingServicesKit.GamingContext? + @objc final public let identifier: Swift.String + @objc final public let size: Swift.Int + @objc public init?(identifier: Swift.String, size: Swift.Int) + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingGroupIntegration) final public class GamingGroupIntegration : ObjectiveC.NSObject { + @objc public static func openGroupPage(completionHandler: @escaping FBSDKGamingServicesKit.GamingServiceCompletionHandler) + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingImageUploader) final public class GamingImageUploader : ObjectiveC.NSObject { + @objc(uploadImageWithConfiguration:andResultCompletion:) public static func uploadImage(with configuration: FBSDKGamingServicesKit.GamingImageUploaderConfiguration, andResultCompletion completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion) + @objc(uploadImageWithConfiguration:completion:andProgressHandler:) public static func uploadImage(with configuration: FBSDKGamingServicesKit.GamingImageUploaderConfiguration, completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion, andProgressHandler progressHandler: FBSDKGamingServicesKit.GamingServiceProgressHandler?) + @objc deinit +} +extension FBSDKGamingServicesKit.GamingImageUploader : FBSDKCoreKit.GraphRequestConnectionDelegate { + @objc final public func requestConnection(_ connection: FBSDKCoreKit.GraphRequestConnecting, didSendBodyData bytesWritten: Swift.Int, totalBytesWritten: Swift.Int, totalBytesExpectedToWrite: Swift.Int) +} +@objcMembers @objc(FBSDKGamingImageUploaderConfiguration) final public class GamingImageUploaderConfiguration : ObjectiveC.NSObject { + @objc final public var image: UIKit.UIImage { + get + } + @objc final public var caption: Swift.String? { + get + } + @objc final public var shouldLaunchMediaDialog: Swift.Bool { + get + } + @objc public init(image: UIKit.UIImage, caption: Swift.String?, shouldLaunchMediaDialog: Swift.Bool) + @objc deinit +} +@objcMembers @objc(FBSDKGamingPayload) final public class GamingPayload : ObjectiveC.NSObject { + @objc final public var URL: FBSDKCoreKit.AppLinkURL + @objc final public var payload: Swift.String + @objc public init(URL: FBSDKCoreKit.AppLinkURL) + @objc deinit +} +@objc(FBSDKGamingPayloadDelegate) public protocol GamingPayloadDelegate : ObjectiveC.NSObjectProtocol { + @objc optional func parsedGameRequestURLContaining(_ payload: FBSDKGamingServicesKit.GamingPayload, gameRequestID: Swift.String) + @objc optional func parsedGamingContextURLContaining(_ payload: FBSDKGamingServicesKit.GamingPayload) + @objc optional func parsedTournamentURLContaining(_ payload: FBSDKGamingServicesKit.GamingPayload, tournamentID: Swift.String) +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingPayloadObserver) final public class GamingPayloadObserver : ObjectiveC.NSObject { + @objc weak final public var delegate: FBSDKGamingServicesKit.GamingPayloadDelegate? { + @objc get + @objc set + } + @objc convenience public init(delegate: FBSDKGamingServicesKit.GamingPayloadDelegate?) + @objc deinit +} +extension FBSDKGamingServicesKit.GamingPayloadObserver : FBSDKCoreKit.FBSDKApplicationObserving { + @objc final public func application(_ application: UIKit.UIApplication, open url: Foundation.URL, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool +} +public typealias GamingServiceCompletionHandler = (_ success: Swift.Bool, _ error: Swift.Error?) -> Swift.Void +public typealias FBSDKGamingServiceCompletionHandler = FBSDKGamingServicesKit.GamingServiceCompletionHandler +public typealias GamingServiceResultCompletion = (_ success: Swift.Bool, _ result: [Swift.String : Any]?, _ error: Swift.Error?) -> Swift.Void +public typealias FBSDKGamingServiceResultCompletion = FBSDKGamingServicesKit.GamingServiceResultCompletion +public typealias GamingServiceProgressHandler = (_ bytesSent: Swift.Int64, _ totalBytesSent: Swift.Int64, _ totalBytesExpectedToSend: Swift.Int64) -> Swift.Void +public typealias FBSDKGamingServiceProgressHandler = FBSDKGamingServicesKit.GamingServiceProgressHandler +public enum GamingServicesDialogError : Swift.Error { + case invalidContentType + case missingContent + case deeplinkURLCreation + public static func == (a: FBSDKGamingServicesKit.GamingServicesDialogError, b: FBSDKGamingServicesKit.GamingServicesDialogError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingVideoUploader) final public class GamingVideoUploader : ObjectiveC.NSObject { + @objc(uploadVideoWithConfiguration:andResultCompletion:) public static func uploadVideo(configuration: FBSDKGamingServicesKit.GamingVideoUploaderConfiguration, completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion) + @objc(uploadVideoWithConfiguration:completion:andProgressHandler:) public static func uploadVideo(configuration: FBSDKGamingServicesKit.GamingVideoUploaderConfiguration, completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion, progressHandler: FBSDKGamingServicesKit.GamingServiceProgressHandler?) + @objc deinit +} +@objcMembers @objc(FBSDKGamingVideoUploaderConfiguration) final public class GamingVideoUploaderConfiguration : ObjectiveC.NSObject { + @objc final public var videoURL: Foundation.URL { + get + } + @objc final public var caption: Swift.String? { + get + } + @objc public init(videoURL: Foundation.URL, caption: Swift.String?) + @objc deinit +} +public enum ShareTournamentDialogError : Swift.Error { + case invalidAccessToken + case invalidAuthToken + case invalidTournamentID + case unableToCreateDialogUrl + case unknownBridgeError + case errorMessage(Swift.String) + case bridgeError(Swift.Error) +} +@objc @_hasMissingDesignatedInitializers final public class ShareTournamentDialog : ObjectiveC.NSObject, FBSDKCoreKit.URLOpening { + convenience public init(delegate: FBSDKGamingServicesKit.ShareTournamentDialogDelegate) + final public func show(score: Swift.Int, tournamentID: Swift.String) throws + final public func show(score: Swift.Int, tournament: FBSDKGamingServicesKit.Tournament) throws + final public func show(initialScore: Swift.Int, config: FBSDKGamingServicesKit.TournamentConfig) throws + @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool + @objc final public func application(_ application: UIKit.UIApplication?, open url: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication) + @objc deinit +} +public protocol ShareTournamentDialogDelegate : AnyObject { + func didComplete(dialog: FBSDKGamingServicesKit.ShareTournamentDialog, tournament: FBSDKGamingServicesKit.Tournament) + func didFail(withError error: Swift.Error, dialog: FBSDKGamingServicesKit.ShareTournamentDialog) + func didCancel(dialog: FBSDKGamingServicesKit.ShareTournamentDialog) +} +@objc(FBSDKShowable) public protocol Showable { + @objc func show() -> Swift.Bool +} +extension FBSDKGamingServicesKit.ChooseContextDialog : FBSDKGamingServicesKit.Showable { +} +extension FBSDKGamingServicesKit.CreateContextDialog : FBSDKGamingServicesKit.Showable { +} +@objcMembers @objc(FBSDKSwitchContextContent) final public class SwitchContextContent : ObjectiveC.NSObject, FBSDKGamingServicesKit.ValidatableProtocol { + @objc(initDialogContentWithContextID:) public init(contextID: Swift.String) + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc final public func validate() throws + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKSwitchContextDialog) final public class SwitchContextDialog : FBSDKGamingServicesKit.ContextWebDialog, FBSDKGamingServicesKit.Showable { + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the initializer `init(content:windowFinder:delegate:)` instead") + @objc(dialogWithContent:windowFinder:delegate:) public static func dialog(content: FBSDKGamingServicesKit.SwitchContextContent, windowFinder: FBSDKCoreKit._WindowFinding, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) -> Self + @objc public init(content: FBSDKGamingServicesKit.SwitchContextContent, windowFinder: FBSDKCoreKit._WindowFinding, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) + @objc override final public func show() -> Swift.Bool + @objc override final public func validate() throws + @objc deinit +} +public enum TournamentDecodingError : Swift.Error { + case invalidExpirationDate + case invalidScoreType + public static func == (a: FBSDKGamingServicesKit.TournamentDecodingError, b: FBSDKGamingServicesKit.TournamentDecodingError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +public struct Tournament : Swift.Codable { + public var identifier: Swift.String { + get + } + public var endTime: Foundation.Date? { + get + } + public var title: Swift.String? { + get + } + public var payload: Swift.String? + public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws +} +public struct TournamentConfig { + public var title: Swift.String? + public var endTime: Foundation.TimeInterval? + public var scoreType: FBSDKGamingServicesKit.TournamentScoreType? + public var sortOrder: FBSDKGamingServicesKit.TournamentSortOrder? + public var payload: Swift.String? + public var image: UIKit.UIImage? + public init(title: Swift.String? = nil, endTime: Foundation.Date? = nil, scoreType: FBSDKGamingServicesKit.TournamentScoreType? = nil, sortOrder: FBSDKGamingServicesKit.TournamentSortOrder? = nil, image: UIKit.UIImage? = nil, payload: Swift.String? = nil) +} +public enum TournamentFetchError : Swift.Error { + case server(Swift.Error) + case decoding + case invalidAuthToken + case invalidAccessToken +} +@_hasMissingDesignatedInitializers final public class TournamentFetcher { + convenience public init() + final public func fetchTournaments(completionHandler: @escaping (Swift.Result<[FBSDKGamingServicesKit.Tournament], FBSDKGamingServicesKit.TournamentFetchError>) -> Swift.Void) + @objc deinit +} +public enum TournamentScoreType : Swift.String { + case numeric + case time + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +public enum TournamentSortOrder : Swift.String { + case higherIsBetter + case lowerIsBetter + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +public enum TournamentUpdaterError : Swift.Error { + case server(Swift.Error) + case decoding + case invalidAuthToken + case invalidAccessToken + case invalidTournamentID +} +@_hasMissingDesignatedInitializers final public class TournamentUpdater { + convenience public init() + final public func update(tournamentID: Swift.String, score: Swift.Int, completionHandler: @escaping (Swift.Result) -> Swift.Void) + final public func update(tournament: FBSDKGamingServicesKit.Tournament, score: Swift.Int, completionHandler: @escaping (Swift.Result) -> Swift.Void) + @objc deinit +} +public protocol URLMedia : Swift.Decodable, Swift.Encodable { + init(withUrl: Foundation.URL) +} +@objc @_hasMissingDesignatedInitializers @objcMembers final public class _FBSDKTournament : ObjectiveC.NSObject { + @objc final public var identifier: Swift.String { + get + } + @objc final public var endTime: Foundation.Date? { + get + } + @objc final public var title: Swift.String? { + get + } + @objc final public var payload: Swift.String? + @objc deinit +} +@objc(_FBSDKShareTournamentDialogDelegate) public protocol _ShareTournamentDialogDelegate { + @objc func didComplete(dialog: FBSDKGamingServicesKit._ShareTournamentDialog, tournament: FBSDKGamingServicesKit._FBSDKTournament) + @objc func didFail(withError error: Swift.Error, dialog: FBSDKGamingServicesKit._ShareTournamentDialog) + @objc func didCancel(dialog: FBSDKGamingServicesKit._ShareTournamentDialog) +} +@_hasMissingDesignatedInitializers @objcMembers @objc(_FBSDKShareTournamentDialog) final public class _ShareTournamentDialog : ObjectiveC.NSObject, FBSDKGamingServicesKit.ShareTournamentDialogDelegate { + @objc final public func show(score: Swift.Int, tournamentID: Swift.String) throws + @objc final public func show(score: Swift.Int, tournament: FBSDKGamingServicesKit._FBSDKTournament) throws + @objc final public func show(initialScore: Swift.Int, config: FBSDKGamingServicesKit._TournamentConfig) throws + @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool + @objc final public func application(_ application: UIKit.UIApplication?, open url: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication) + final public func didComplete(dialog: FBSDKGamingServicesKit.ShareTournamentDialog, tournament: FBSDKGamingServicesKit.Tournament) + @objc final public func didFail(withError error: Swift.Error, dialog: FBSDKGamingServicesKit.ShareTournamentDialog) + @objc final public func didCancel(dialog: FBSDKGamingServicesKit.ShareTournamentDialog) + @objc deinit +} +@objc(_FBSDKTournamentScoreType) public enum _TournamentScoreType : Swift.Int { + case numeric + case time + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@objc(_FBSDKTournamentSortOrder) public enum _TournamentSortOrder : Swift.Int { + case higherIsBetter + case lowerIsBetter + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@objcMembers @objc(_FBSDKTournamentConfig) final public class _TournamentConfig : ObjectiveC.NSObject { + @objc final public var title: Swift.String? + final public var endTime: CoreGraphics.CGFloat? + final public var scoreType: FBSDKGamingServicesKit._TournamentScoreType? + final public var sortOrder: FBSDKGamingServicesKit._TournamentSortOrder? + @objc final public var payload: Swift.String? + @objc final public var image: UIKit.UIImage? + public init(title: Swift.String? = nil, endTime: Foundation.Date? = nil, scoreType: FBSDKGamingServicesKit._TournamentScoreType? = nil, sortOrder: FBSDKGamingServicesKit._TournamentSortOrder? = nil, image: UIKit.UIImage? = nil, payload: Swift.String? = nil) + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(_FBSDKTournamentFetcher) final public class _TournamentFetcher : ObjectiveC.NSObject { + @objc final public func fetchTournaments(completionHandler: @escaping ([FBSDKGamingServicesKit._FBSDKTournament]?, Swift.Error?) -> Swift.Void) + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(_FBSDKTournamentUpdater) final public class _TournamentUpdater : ObjectiveC.NSObject { + @objc final public func update(tournamentID: Swift.String, score: Swift.Int, completionHandler: @escaping (Swift.Bool, Swift.Error?) -> Swift.Void) + @objc final public func update(tournament: FBSDKGamingServicesKit._FBSDKTournament, score: Swift.Int, completionHandler: @escaping (Swift.Bool, Swift.Error?) -> Swift.Void) + @objc deinit +} +extension FBSDKGamingServicesKit.ChooseContextFilter : Swift.Equatable {} +extension FBSDKGamingServicesKit.ChooseContextFilter : Swift.Hashable {} +extension FBSDKGamingServicesKit.ChooseContextFilter : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit.ContextDialogPresenterError : Swift.Equatable {} +extension FBSDKGamingServicesKit.ContextDialogPresenterError : Swift.Hashable {} +extension FBSDKGamingServicesKit.CustomUpdateContentError : Swift.Equatable {} +extension FBSDKGamingServicesKit.CustomUpdateContentError : Swift.Hashable {} +extension FBSDKGamingServicesKit.GameRequestActionType : Swift.Equatable {} +extension FBSDKGamingServicesKit.GameRequestActionType : Swift.Hashable {} +extension FBSDKGamingServicesKit.GameRequestActionType : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit.GameRequestFilter : Swift.Equatable {} +extension FBSDKGamingServicesKit.GameRequestFilter : Swift.Hashable {} +extension FBSDKGamingServicesKit.GameRequestFilter : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit.GamingServicesDialogError : Swift.Equatable {} +extension FBSDKGamingServicesKit.GamingServicesDialogError : Swift.Hashable {} +extension FBSDKGamingServicesKit.TournamentDecodingError : Swift.Equatable {} +extension FBSDKGamingServicesKit.TournamentDecodingError : Swift.Hashable {} +extension FBSDKGamingServicesKit.TournamentScoreType : Swift.Equatable {} +extension FBSDKGamingServicesKit.TournamentScoreType : Swift.Hashable {} +extension FBSDKGamingServicesKit.TournamentScoreType : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit.TournamentSortOrder : Swift.Equatable {} +extension FBSDKGamingServicesKit.TournamentSortOrder : Swift.Hashable {} +extension FBSDKGamingServicesKit.TournamentSortOrder : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit._TournamentScoreType : Swift.Equatable {} +extension FBSDKGamingServicesKit._TournamentScoreType : Swift.Hashable {} +extension FBSDKGamingServicesKit._TournamentScoreType : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit._TournamentSortOrder : Swift.Equatable {} +extension FBSDKGamingServicesKit._TournamentSortOrder : Swift.Hashable {} +extension FBSDKGamingServicesKit._TournamentSortOrder : Swift.RawRepresentable {} diff --git a/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/x86_64-apple-ios-macabi.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/x86_64-apple-ios-macabi.swiftdoc new file mode 100644 index 0000000..1d85186 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/x86_64-apple-ios-macabi.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/x86_64-apple-ios-macabi.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/x86_64-apple-ios-macabi.swiftinterface new file mode 100644 index 0000000..b7f6c22 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/x86_64-apple-ios-macabi.swiftinterface @@ -0,0 +1,556 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target x86_64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKGamingServicesKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +import FBSDKShareKit +import Foundation +import Swift +import UIKit +@objc(FBSDKChooseContextFilter) public enum ChooseContextFilter : Swift.Int, Swift.CaseIterable { + case none + case existingChallenges + case newPlayersOnly + case newContextOnly + public var name: Swift.String { + get + } + public init?(rawValue: Swift.Int) + public typealias AllCases = [FBSDKGamingServicesKit.ChooseContextFilter] + public typealias RawValue = Swift.Int + public static var allCases: [FBSDKGamingServicesKit.ChooseContextFilter] { + get + } + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKChooseContextContent) final public class ChooseContextContent : ObjectiveC.NSObject, FBSDKGamingServicesKit.ValidatableProtocol { + @objc final public var filter: FBSDKGamingServicesKit.ChooseContextFilter + @objc final public var maxParticipants: Swift.Int + @objc final public var minParticipants: Swift.Int + @objc public static func filtersName(forFilters filter: FBSDKGamingServicesKit.ChooseContextFilter) -> Swift.String + @objc final public func validate() throws + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public init() + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKChooseContextDialog) final public class ChooseContextDialog : FBSDKGamingServicesKit.ContextWebDialog, FBSDKCoreKit.URLOpening { + @objc convenience public init(content: FBSDKGamingServicesKit.ChooseContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) + @objc override final public func show() -> Swift.Bool + @objc override final public func validate() throws + @objc final public func application(_ application: UIKit.UIApplication?, open url: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication) + @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool + @objc deinit +} +@objc(FBSDKContextDialogDelegate) public protocol ContextDialogDelegate { + @objc func contextDialogDidComplete(_ contextDialog: FBSDKGamingServicesKit.ContextWebDialog) + @objc func contextDialog(_ contextDialog: FBSDKGamingServicesKit.ContextWebDialog, didFailWithError error: Swift.Error) + @objc func contextDialogDidCancel(_ contextDialog: FBSDKGamingServicesKit.ContextWebDialog) +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKContextDialogPresenter) final public class ContextDialogPresenter : ObjectiveC.NSObject { + @objc override convenience dynamic public init() + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowCreateContextDialog(content:delegate:)` instead") + @objc(showCreateContextDialogWithContent:delegate:) final public class func showCreateContextDialog(withContent content: FBSDKGamingServicesKit.CreateContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) -> Foundation.NSError? + @objc final public func makeAndShowCreateContextDialog(content: FBSDKGamingServicesKit.CreateContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) throws + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowSwitchContextDialog(content:delegate:)` instead") + @objc(showSwitchContextDialogWithContent:delegate:) final public class func showSwitchContextDialog(withContent content: FBSDKGamingServicesKit.SwitchContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate?) -> Foundation.NSError? + @objc final public func makeAndShowSwitchContextDialog(content: FBSDKGamingServicesKit.SwitchContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) throws + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowChooseContextDialog(content:delegate:)` instead") + @discardableResult + @objc(showChooseContextDialogWithContent:delegate:) final public class func showChooseContextDialog(withContent content: FBSDKGamingServicesKit.ChooseContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) -> FBSDKGamingServicesKit.ChooseContextDialog + @objc final public func makeAndShowChooseContextDialog(content: FBSDKGamingServicesKit.ChooseContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) + @objc @available(*, deprecated, message: "showChooseContextDialog is deprecated. Please use the instance method `makeAndShowChooseContextDialog` instead") + final public class func showChooseContextDialog(with content: FBSDKGamingServicesKit.ChooseContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) -> FBSDKGamingServicesKit.ChooseContextDialog + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowCreateContextDialog(content:delegate:)` instead") + @objc(createContextDialogWithContent:delegate:) final public class func createContextDialog(withContent content: FBSDKGamingServicesKit.CreateContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate?) -> FBSDKGamingServicesKit.CreateContextDialog? + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowSwitchContextDialog(content:delegate:)` instead") + @objc(switchContextDialogWithContent:delegate:) final public class func switchContextDialog(withContent content: FBSDKGamingServicesKit.SwitchContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate?) -> FBSDKGamingServicesKit.SwitchContextDialog? + @objc deinit +} +public enum ContextDialogPresenterError : Swift.Error { + case showCreateContext + case showSwitchContext + case showChooseContext + case invalidAccessToken + public static func == (a: FBSDKGamingServicesKit.ContextDialogPresenterError, b: FBSDKGamingServicesKit.ContextDialogPresenterError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKContextWebDialog) public class ContextWebDialog : ObjectiveC.NSObject, FBSDKCoreKit.WebDialogDelegate, FBSDKGamingServicesKit.DialogProtocol { + @objc public var delegate: FBSDKGamingServicesKit.ContextDialogDelegate? + @objc public var dialogContent: FBSDKGamingServicesKit.ValidatableProtocol? + @objc public var currentWebDialog: FBSDKCoreKit.WebDialog? + @objc public func show() -> Swift.Bool + @objc public func validate() throws + @objc public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didCompleteWithResults results: [Swift.String : Any]) + @objc public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didFailWithError error: Swift.Error) + @objc public func webDialogDidCancel(_ webDialog: FBSDKCoreKit.WebDialog) + @objc public func createWebDialogFrame(withWidth width: CoreGraphics.CGFloat, height: CoreGraphics.CGFloat, windowFinder: FBSDKCoreKit._WindowFinding) -> CoreGraphics.CGRect + @objc deinit +} +@objcMembers @objc(FBSDKCreateContextContent) final public class CreateContextContent : ObjectiveC.NSObject, FBSDKGamingServicesKit.ValidatableProtocol { + @objc final public var playerID: Swift.String + @objc(initDialogContentWithPlayerID:) public init(playerID: Swift.String) + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc final public func validate() throws + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKCreateContextDialog) final public class CreateContextDialog : FBSDKGamingServicesKit.ContextWebDialog { + @objc public init(content: FBSDKGamingServicesKit.CreateContextContent, windowFinder: FBSDKCoreKit._WindowFinding, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) + @discardableResult + @objc override final public func show() -> Swift.Bool + @objc override final public func validate() throws + @objc deinit +} +public enum CustomUpdateContentError : Swift.Error { + case notInGameContext + case invalidMessage + case invalidMedia + case invalidImage + public static func == (a: FBSDKGamingServicesKit.CustomUpdateContentError, b: FBSDKGamingServicesKit.CustomUpdateContentError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +final public class CustomUpdateContentImage { + public init(message: Swift.String, image: UIKit.UIImage, cta: Swift.String? = nil, payload: Swift.String? = nil, messageLocalization: [Swift.String : Swift.String] = [:], ctaLocalization: [Swift.String : Swift.String] = [:]) + @objc deinit +} +final public class CustomUpdateContentMedia { + public init(message: Swift.String, media: FBSDKGamingServicesKit.URLMedia, cta: Swift.String? = nil, payload: Swift.String? = nil, messageLocalization: [Swift.String : Swift.String] = [:], ctaLocalization: [Swift.String : Swift.String] = [:]) + @objc deinit +} +public enum CustomUpdateGraphRequestError : Swift.Error { + case server(Swift.Error) + case invalidAccessToken + case contentParsing + case decoding +} +final public class CustomUpdateGraphRequest { + final public let graphRequestFactory: FBSDKCoreKit.GraphRequestFactoryProtocol + public init() + public init(graphRequestFactory: FBSDKCoreKit.GraphRequestFactoryProtocol = GraphRequestFactory()) + final public func request(content: FBSDKGamingServicesKit.CustomUpdateContentMedia, completionHandler: @escaping (Swift.Result) -> Swift.Void) throws + final public func request(content: FBSDKGamingServicesKit.CustomUpdateContentImage, completionHandler: @escaping (Swift.Result) -> Swift.Void) throws + @objc deinit +} +@objc(FBSDKDialog) public protocol DialogProtocol { + @objc weak var delegate: FBSDKGamingServicesKit.ContextDialogDelegate? { get set } + @objc var dialogContent: FBSDKGamingServicesKit.ValidatableProtocol? { get set } + @objc func show() -> Swift.Bool + @objc func validate() throws +} +@objc(FBSDKValidatable) public protocol ValidatableProtocol { + @objc func validate() throws +} +public struct FacebookGIF : Swift.Codable, Swift.Equatable, FBSDKGamingServicesKit.URLMedia { + public init(withUrl url: Foundation.URL) + public static func == (a: FBSDKGamingServicesKit.FacebookGIF, b: FBSDKGamingServicesKit.FacebookGIF) -> Swift.Bool + public func encode(to encoder: Swift.Encoder) throws + public init(from decoder: Swift.Decoder) throws +} +public struct FacebookVideo : Swift.Codable, Swift.Equatable, FBSDKGamingServicesKit.URLMedia { + public init(withUrl url: Foundation.URL) + public static func == (a: FBSDKGamingServicesKit.FacebookVideo, b: FBSDKGamingServicesKit.FacebookVideo) -> Swift.Bool + public func encode(to encoder: Swift.Encoder) throws + public init(from decoder: Swift.Decoder) throws +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc(FBSDKFriendFinderDialog) final public class FriendFinderDialog : ObjectiveC.NSObject { + @objc override convenience dynamic public init() + @objc(launchFriendFinderDialogWithCompletionHandler:) public static func launch(completionHandler: @escaping FBSDKGamingServicesKit.GamingServiceCompletionHandler) + @objc deinit +} +@objc(FBSDKGameRequestActionType) public enum GameRequestActionType : Swift.UInt { + case none + case send + case askFor + case turn + case invite + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKGameRequestContent) final public class GameRequestContent : ObjectiveC.NSObject, FBSDKShareKit.SharingValidation, Foundation.NSSecureCoding { + @objc final public var actionType: FBSDKGamingServicesKit.GameRequestActionType + @objc final public var data: Swift.String? + @objc final public var filters: FBSDKGamingServicesKit.GameRequestFilter + @objc final public var message: Swift.String + @objc final public var objectID: Swift.String + @objc final public var recipients: [Swift.String] + @objc final public var recipientSuggestions: [Swift.String] + @objc final public var title: Swift.String + @objc final public var cta: Swift.String + @objc(validateWithOptions:error:) final public func validate(options: FBSDKShareKit.ShareBridgeOptions = []) throws + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc(isEqualToGameRequestContent:) final public func isEqual(to content: FBSDKGamingServicesKit.GameRequestContent) -> Swift.Bool + @objc final public class var supportsSecureCoding: Swift.Bool { + @objc get + } + @objc convenience public init(coder decoder: Foundation.NSCoder) + @objc final public func encode(with encoder: Foundation.NSCoder) + @objc override dynamic public init() + @objc deinit +} +@objcMembers @objc(FBSDKGameRequestDialog) final public class GameRequestDialog : ObjectiveC.NSObject { + @objc weak final public var delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate? + @objc final public var content: FBSDKGamingServicesKit.GameRequestContent + @objc final public var isFrictionlessRequestsEnabled: Swift.Bool + @objc final public var canShow: Swift.Bool { + @objc get + } + @objc public init(content: FBSDKGamingServicesKit.GameRequestContent, delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate?) + @objc(dialogWithContent:delegate:) public static func dialog(content: FBSDKGamingServicesKit.GameRequestContent, delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate?) -> FBSDKGamingServicesKit.GameRequestDialog + @discardableResult + @objc(showWithContent:delegate:) public static func show(content: FBSDKGamingServicesKit.GameRequestContent, delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate?) -> FBSDKGamingServicesKit.GameRequestDialog + @objc @discardableResult + final public func show() -> Swift.Bool + @objc(validateWithError:) final public func validate() throws + @objc deinit +} +extension FBSDKGamingServicesKit.GameRequestDialog : FBSDKCoreKit.WebDialogDelegate { + @objc final public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didCompleteWithResults results: [Swift.String : Any]) + @objc final public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didFailWithError error: Swift.Error) + @objc final public func webDialogDidCancel(_ webDialog: FBSDKCoreKit.WebDialog) +} +extension FBSDKGamingServicesKit.GameRequestDialog : FBSDKCoreKit.URLOpening { + @objc final public func application(_ application: UIKit.UIApplication?, open potentialURL: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication) + @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool +} +@objc(FBSDKGameRequestDialogDelegate) public protocol GameRequestDialogDelegate { + @objc(gameRequestDialog:didCompleteWithResults:) func gameRequestDialog(_ gameRequestDialog: FBSDKGamingServicesKit.GameRequestDialog, didCompleteWithResults results: [Swift.String : Any]) + @objc(gameRequestDialog:didFailWithError:) func gameRequestDialog(_ gameRequestDialog: FBSDKGamingServicesKit.GameRequestDialog, didFailWithError error: Swift.Error) + @objc func gameRequestDialogDidCancel(_ gameRequestDialog: FBSDKGamingServicesKit.GameRequestDialog) +} +@objc(FBSDKGameRequestFilter) public enum GameRequestFilter : Swift.UInt { + case none + case appUsers + case appNonUsers + case everybody + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKGameRequestURLProvider) final public class GameRequestURLProvider : ObjectiveC.NSObject { + @objc(createDeepLinkURLWithQueryDictionary:) final public class func createDeepLinkURL(queryDictionary: [Swift.String : Any]) -> Foundation.URL? + @objc(filtersNameForFilters:) final public class func filtersName(for filters: FBSDKGamingServicesKit.GameRequestFilter) -> Swift.String? + @objc(actionTypeNameForActionType:) final public class func actionTypeName(for actionType: FBSDKGamingServicesKit.GameRequestActionType) -> Swift.String? + @objc override dynamic public init() + @objc deinit +} +@objcMembers @objc(FBSDKGamingContext) final public class GamingContext : ObjectiveC.NSObject { + @objc(currentContext) public static var current: FBSDKGamingServicesKit.GamingContext? + @objc final public let identifier: Swift.String + @objc final public let size: Swift.Int + @objc public init?(identifier: Swift.String, size: Swift.Int) + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingGroupIntegration) final public class GamingGroupIntegration : ObjectiveC.NSObject { + @objc public static func openGroupPage(completionHandler: @escaping FBSDKGamingServicesKit.GamingServiceCompletionHandler) + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingImageUploader) final public class GamingImageUploader : ObjectiveC.NSObject { + @objc(uploadImageWithConfiguration:andResultCompletion:) public static func uploadImage(with configuration: FBSDKGamingServicesKit.GamingImageUploaderConfiguration, andResultCompletion completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion) + @objc(uploadImageWithConfiguration:completion:andProgressHandler:) public static func uploadImage(with configuration: FBSDKGamingServicesKit.GamingImageUploaderConfiguration, completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion, andProgressHandler progressHandler: FBSDKGamingServicesKit.GamingServiceProgressHandler?) + @objc deinit +} +extension FBSDKGamingServicesKit.GamingImageUploader : FBSDKCoreKit.GraphRequestConnectionDelegate { + @objc final public func requestConnection(_ connection: FBSDKCoreKit.GraphRequestConnecting, didSendBodyData bytesWritten: Swift.Int, totalBytesWritten: Swift.Int, totalBytesExpectedToWrite: Swift.Int) +} +@objcMembers @objc(FBSDKGamingImageUploaderConfiguration) final public class GamingImageUploaderConfiguration : ObjectiveC.NSObject { + @objc final public var image: UIKit.UIImage { + get + } + @objc final public var caption: Swift.String? { + get + } + @objc final public var shouldLaunchMediaDialog: Swift.Bool { + get + } + @objc public init(image: UIKit.UIImage, caption: Swift.String?, shouldLaunchMediaDialog: Swift.Bool) + @objc deinit +} +@objcMembers @objc(FBSDKGamingPayload) final public class GamingPayload : ObjectiveC.NSObject { + @objc final public var URL: FBSDKCoreKit.AppLinkURL + @objc final public var payload: Swift.String + @objc public init(URL: FBSDKCoreKit.AppLinkURL) + @objc deinit +} +@objc(FBSDKGamingPayloadDelegate) public protocol GamingPayloadDelegate : ObjectiveC.NSObjectProtocol { + @objc optional func parsedGameRequestURLContaining(_ payload: FBSDKGamingServicesKit.GamingPayload, gameRequestID: Swift.String) + @objc optional func parsedGamingContextURLContaining(_ payload: FBSDKGamingServicesKit.GamingPayload) + @objc optional func parsedTournamentURLContaining(_ payload: FBSDKGamingServicesKit.GamingPayload, tournamentID: Swift.String) +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingPayloadObserver) final public class GamingPayloadObserver : ObjectiveC.NSObject { + @objc weak final public var delegate: FBSDKGamingServicesKit.GamingPayloadDelegate? { + @objc get + @objc set + } + @objc convenience public init(delegate: FBSDKGamingServicesKit.GamingPayloadDelegate?) + @objc deinit +} +extension FBSDKGamingServicesKit.GamingPayloadObserver : FBSDKCoreKit.FBSDKApplicationObserving { + @objc final public func application(_ application: UIKit.UIApplication, open url: Foundation.URL, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool +} +public typealias GamingServiceCompletionHandler = (_ success: Swift.Bool, _ error: Swift.Error?) -> Swift.Void +public typealias FBSDKGamingServiceCompletionHandler = FBSDKGamingServicesKit.GamingServiceCompletionHandler +public typealias GamingServiceResultCompletion = (_ success: Swift.Bool, _ result: [Swift.String : Any]?, _ error: Swift.Error?) -> Swift.Void +public typealias FBSDKGamingServiceResultCompletion = FBSDKGamingServicesKit.GamingServiceResultCompletion +public typealias GamingServiceProgressHandler = (_ bytesSent: Swift.Int64, _ totalBytesSent: Swift.Int64, _ totalBytesExpectedToSend: Swift.Int64) -> Swift.Void +public typealias FBSDKGamingServiceProgressHandler = FBSDKGamingServicesKit.GamingServiceProgressHandler +public enum GamingServicesDialogError : Swift.Error { + case invalidContentType + case missingContent + case deeplinkURLCreation + public static func == (a: FBSDKGamingServicesKit.GamingServicesDialogError, b: FBSDKGamingServicesKit.GamingServicesDialogError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingVideoUploader) final public class GamingVideoUploader : ObjectiveC.NSObject { + @objc(uploadVideoWithConfiguration:andResultCompletion:) public static func uploadVideo(configuration: FBSDKGamingServicesKit.GamingVideoUploaderConfiguration, completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion) + @objc(uploadVideoWithConfiguration:completion:andProgressHandler:) public static func uploadVideo(configuration: FBSDKGamingServicesKit.GamingVideoUploaderConfiguration, completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion, progressHandler: FBSDKGamingServicesKit.GamingServiceProgressHandler?) + @objc deinit +} +@objcMembers @objc(FBSDKGamingVideoUploaderConfiguration) final public class GamingVideoUploaderConfiguration : ObjectiveC.NSObject { + @objc final public var videoURL: Foundation.URL { + get + } + @objc final public var caption: Swift.String? { + get + } + @objc public init(videoURL: Foundation.URL, caption: Swift.String?) + @objc deinit +} +public enum ShareTournamentDialogError : Swift.Error { + case invalidAccessToken + case invalidAuthToken + case invalidTournamentID + case unableToCreateDialogUrl + case unknownBridgeError + case errorMessage(Swift.String) + case bridgeError(Swift.Error) +} +@objc @_hasMissingDesignatedInitializers final public class ShareTournamentDialog : ObjectiveC.NSObject, FBSDKCoreKit.URLOpening { + convenience public init(delegate: FBSDKGamingServicesKit.ShareTournamentDialogDelegate) + final public func show(score: Swift.Int, tournamentID: Swift.String) throws + final public func show(score: Swift.Int, tournament: FBSDKGamingServicesKit.Tournament) throws + final public func show(initialScore: Swift.Int, config: FBSDKGamingServicesKit.TournamentConfig) throws + @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool + @objc final public func application(_ application: UIKit.UIApplication?, open url: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication) + @objc deinit +} +public protocol ShareTournamentDialogDelegate : AnyObject { + func didComplete(dialog: FBSDKGamingServicesKit.ShareTournamentDialog, tournament: FBSDKGamingServicesKit.Tournament) + func didFail(withError error: Swift.Error, dialog: FBSDKGamingServicesKit.ShareTournamentDialog) + func didCancel(dialog: FBSDKGamingServicesKit.ShareTournamentDialog) +} +@objc(FBSDKShowable) public protocol Showable { + @objc func show() -> Swift.Bool +} +extension FBSDKGamingServicesKit.ChooseContextDialog : FBSDKGamingServicesKit.Showable { +} +extension FBSDKGamingServicesKit.CreateContextDialog : FBSDKGamingServicesKit.Showable { +} +@objcMembers @objc(FBSDKSwitchContextContent) final public class SwitchContextContent : ObjectiveC.NSObject, FBSDKGamingServicesKit.ValidatableProtocol { + @objc(initDialogContentWithContextID:) public init(contextID: Swift.String) + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc final public func validate() throws + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKSwitchContextDialog) final public class SwitchContextDialog : FBSDKGamingServicesKit.ContextWebDialog, FBSDKGamingServicesKit.Showable { + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the initializer `init(content:windowFinder:delegate:)` instead") + @objc(dialogWithContent:windowFinder:delegate:) public static func dialog(content: FBSDKGamingServicesKit.SwitchContextContent, windowFinder: FBSDKCoreKit._WindowFinding, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) -> Self + @objc public init(content: FBSDKGamingServicesKit.SwitchContextContent, windowFinder: FBSDKCoreKit._WindowFinding, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) + @objc override final public func show() -> Swift.Bool + @objc override final public func validate() throws + @objc deinit +} +public enum TournamentDecodingError : Swift.Error { + case invalidExpirationDate + case invalidScoreType + public static func == (a: FBSDKGamingServicesKit.TournamentDecodingError, b: FBSDKGamingServicesKit.TournamentDecodingError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +public struct Tournament : Swift.Codable { + public var identifier: Swift.String { + get + } + public var endTime: Foundation.Date? { + get + } + public var title: Swift.String? { + get + } + public var payload: Swift.String? + public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws +} +public struct TournamentConfig { + public var title: Swift.String? + public var endTime: Foundation.TimeInterval? + public var scoreType: FBSDKGamingServicesKit.TournamentScoreType? + public var sortOrder: FBSDKGamingServicesKit.TournamentSortOrder? + public var payload: Swift.String? + public var image: UIKit.UIImage? + public init(title: Swift.String? = nil, endTime: Foundation.Date? = nil, scoreType: FBSDKGamingServicesKit.TournamentScoreType? = nil, sortOrder: FBSDKGamingServicesKit.TournamentSortOrder? = nil, image: UIKit.UIImage? = nil, payload: Swift.String? = nil) +} +public enum TournamentFetchError : Swift.Error { + case server(Swift.Error) + case decoding + case invalidAuthToken + case invalidAccessToken +} +@_hasMissingDesignatedInitializers final public class TournamentFetcher { + convenience public init() + final public func fetchTournaments(completionHandler: @escaping (Swift.Result<[FBSDKGamingServicesKit.Tournament], FBSDKGamingServicesKit.TournamentFetchError>) -> Swift.Void) + @objc deinit +} +public enum TournamentScoreType : Swift.String { + case numeric + case time + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +public enum TournamentSortOrder : Swift.String { + case higherIsBetter + case lowerIsBetter + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +public enum TournamentUpdaterError : Swift.Error { + case server(Swift.Error) + case decoding + case invalidAuthToken + case invalidAccessToken + case invalidTournamentID +} +@_hasMissingDesignatedInitializers final public class TournamentUpdater { + convenience public init() + final public func update(tournamentID: Swift.String, score: Swift.Int, completionHandler: @escaping (Swift.Result) -> Swift.Void) + final public func update(tournament: FBSDKGamingServicesKit.Tournament, score: Swift.Int, completionHandler: @escaping (Swift.Result) -> Swift.Void) + @objc deinit +} +public protocol URLMedia : Swift.Decodable, Swift.Encodable { + init(withUrl: Foundation.URL) +} +@objc @_hasMissingDesignatedInitializers @objcMembers final public class _FBSDKTournament : ObjectiveC.NSObject { + @objc final public var identifier: Swift.String { + get + } + @objc final public var endTime: Foundation.Date? { + get + } + @objc final public var title: Swift.String? { + get + } + @objc final public var payload: Swift.String? + @objc deinit +} +@objc(_FBSDKShareTournamentDialogDelegate) public protocol _ShareTournamentDialogDelegate { + @objc func didComplete(dialog: FBSDKGamingServicesKit._ShareTournamentDialog, tournament: FBSDKGamingServicesKit._FBSDKTournament) + @objc func didFail(withError error: Swift.Error, dialog: FBSDKGamingServicesKit._ShareTournamentDialog) + @objc func didCancel(dialog: FBSDKGamingServicesKit._ShareTournamentDialog) +} +@_hasMissingDesignatedInitializers @objcMembers @objc(_FBSDKShareTournamentDialog) final public class _ShareTournamentDialog : ObjectiveC.NSObject, FBSDKGamingServicesKit.ShareTournamentDialogDelegate { + @objc final public func show(score: Swift.Int, tournamentID: Swift.String) throws + @objc final public func show(score: Swift.Int, tournament: FBSDKGamingServicesKit._FBSDKTournament) throws + @objc final public func show(initialScore: Swift.Int, config: FBSDKGamingServicesKit._TournamentConfig) throws + @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool + @objc final public func application(_ application: UIKit.UIApplication?, open url: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication) + final public func didComplete(dialog: FBSDKGamingServicesKit.ShareTournamentDialog, tournament: FBSDKGamingServicesKit.Tournament) + @objc final public func didFail(withError error: Swift.Error, dialog: FBSDKGamingServicesKit.ShareTournamentDialog) + @objc final public func didCancel(dialog: FBSDKGamingServicesKit.ShareTournamentDialog) + @objc deinit +} +@objc(_FBSDKTournamentScoreType) public enum _TournamentScoreType : Swift.Int { + case numeric + case time + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@objc(_FBSDKTournamentSortOrder) public enum _TournamentSortOrder : Swift.Int { + case higherIsBetter + case lowerIsBetter + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@objcMembers @objc(_FBSDKTournamentConfig) final public class _TournamentConfig : ObjectiveC.NSObject { + @objc final public var title: Swift.String? + final public var endTime: CoreGraphics.CGFloat? + final public var scoreType: FBSDKGamingServicesKit._TournamentScoreType? + final public var sortOrder: FBSDKGamingServicesKit._TournamentSortOrder? + @objc final public var payload: Swift.String? + @objc final public var image: UIKit.UIImage? + public init(title: Swift.String? = nil, endTime: Foundation.Date? = nil, scoreType: FBSDKGamingServicesKit._TournamentScoreType? = nil, sortOrder: FBSDKGamingServicesKit._TournamentSortOrder? = nil, image: UIKit.UIImage? = nil, payload: Swift.String? = nil) + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(_FBSDKTournamentFetcher) final public class _TournamentFetcher : ObjectiveC.NSObject { + @objc final public func fetchTournaments(completionHandler: @escaping ([FBSDKGamingServicesKit._FBSDKTournament]?, Swift.Error?) -> Swift.Void) + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(_FBSDKTournamentUpdater) final public class _TournamentUpdater : ObjectiveC.NSObject { + @objc final public func update(tournamentID: Swift.String, score: Swift.Int, completionHandler: @escaping (Swift.Bool, Swift.Error?) -> Swift.Void) + @objc final public func update(tournament: FBSDKGamingServicesKit._FBSDKTournament, score: Swift.Int, completionHandler: @escaping (Swift.Bool, Swift.Error?) -> Swift.Void) + @objc deinit +} +extension FBSDKGamingServicesKit.ChooseContextFilter : Swift.Equatable {} +extension FBSDKGamingServicesKit.ChooseContextFilter : Swift.Hashable {} +extension FBSDKGamingServicesKit.ChooseContextFilter : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit.ContextDialogPresenterError : Swift.Equatable {} +extension FBSDKGamingServicesKit.ContextDialogPresenterError : Swift.Hashable {} +extension FBSDKGamingServicesKit.CustomUpdateContentError : Swift.Equatable {} +extension FBSDKGamingServicesKit.CustomUpdateContentError : Swift.Hashable {} +extension FBSDKGamingServicesKit.GameRequestActionType : Swift.Equatable {} +extension FBSDKGamingServicesKit.GameRequestActionType : Swift.Hashable {} +extension FBSDKGamingServicesKit.GameRequestActionType : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit.GameRequestFilter : Swift.Equatable {} +extension FBSDKGamingServicesKit.GameRequestFilter : Swift.Hashable {} +extension FBSDKGamingServicesKit.GameRequestFilter : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit.GamingServicesDialogError : Swift.Equatable {} +extension FBSDKGamingServicesKit.GamingServicesDialogError : Swift.Hashable {} +extension FBSDKGamingServicesKit.TournamentDecodingError : Swift.Equatable {} +extension FBSDKGamingServicesKit.TournamentDecodingError : Swift.Hashable {} +extension FBSDKGamingServicesKit.TournamentScoreType : Swift.Equatable {} +extension FBSDKGamingServicesKit.TournamentScoreType : Swift.Hashable {} +extension FBSDKGamingServicesKit.TournamentScoreType : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit.TournamentSortOrder : Swift.Equatable {} +extension FBSDKGamingServicesKit.TournamentSortOrder : Swift.Hashable {} +extension FBSDKGamingServicesKit.TournamentSortOrder : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit._TournamentScoreType : Swift.Equatable {} +extension FBSDKGamingServicesKit._TournamentScoreType : Swift.Hashable {} +extension FBSDKGamingServicesKit._TournamentScoreType : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit._TournamentSortOrder : Swift.Equatable {} +extension FBSDKGamingServicesKit._TournamentSortOrder : Swift.Hashable {} +extension FBSDKGamingServicesKit._TournamentSortOrder : Swift.RawRepresentable {} diff --git a/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/x86_64.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/x86_64.swiftdoc new file mode 100644 index 0000000..1d85186 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/x86_64.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/x86_64.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/x86_64.swiftinterface new file mode 100644 index 0000000..b7f6c22 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/x86_64.swiftinterface @@ -0,0 +1,556 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target x86_64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKGamingServicesKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +import FBSDKShareKit +import Foundation +import Swift +import UIKit +@objc(FBSDKChooseContextFilter) public enum ChooseContextFilter : Swift.Int, Swift.CaseIterable { + case none + case existingChallenges + case newPlayersOnly + case newContextOnly + public var name: Swift.String { + get + } + public init?(rawValue: Swift.Int) + public typealias AllCases = [FBSDKGamingServicesKit.ChooseContextFilter] + public typealias RawValue = Swift.Int + public static var allCases: [FBSDKGamingServicesKit.ChooseContextFilter] { + get + } + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKChooseContextContent) final public class ChooseContextContent : ObjectiveC.NSObject, FBSDKGamingServicesKit.ValidatableProtocol { + @objc final public var filter: FBSDKGamingServicesKit.ChooseContextFilter + @objc final public var maxParticipants: Swift.Int + @objc final public var minParticipants: Swift.Int + @objc public static func filtersName(forFilters filter: FBSDKGamingServicesKit.ChooseContextFilter) -> Swift.String + @objc final public func validate() throws + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public init() + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKChooseContextDialog) final public class ChooseContextDialog : FBSDKGamingServicesKit.ContextWebDialog, FBSDKCoreKit.URLOpening { + @objc convenience public init(content: FBSDKGamingServicesKit.ChooseContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) + @objc override final public func show() -> Swift.Bool + @objc override final public func validate() throws + @objc final public func application(_ application: UIKit.UIApplication?, open url: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication) + @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool + @objc deinit +} +@objc(FBSDKContextDialogDelegate) public protocol ContextDialogDelegate { + @objc func contextDialogDidComplete(_ contextDialog: FBSDKGamingServicesKit.ContextWebDialog) + @objc func contextDialog(_ contextDialog: FBSDKGamingServicesKit.ContextWebDialog, didFailWithError error: Swift.Error) + @objc func contextDialogDidCancel(_ contextDialog: FBSDKGamingServicesKit.ContextWebDialog) +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKContextDialogPresenter) final public class ContextDialogPresenter : ObjectiveC.NSObject { + @objc override convenience dynamic public init() + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowCreateContextDialog(content:delegate:)` instead") + @objc(showCreateContextDialogWithContent:delegate:) final public class func showCreateContextDialog(withContent content: FBSDKGamingServicesKit.CreateContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) -> Foundation.NSError? + @objc final public func makeAndShowCreateContextDialog(content: FBSDKGamingServicesKit.CreateContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) throws + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowSwitchContextDialog(content:delegate:)` instead") + @objc(showSwitchContextDialogWithContent:delegate:) final public class func showSwitchContextDialog(withContent content: FBSDKGamingServicesKit.SwitchContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate?) -> Foundation.NSError? + @objc final public func makeAndShowSwitchContextDialog(content: FBSDKGamingServicesKit.SwitchContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) throws + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowChooseContextDialog(content:delegate:)` instead") + @discardableResult + @objc(showChooseContextDialogWithContent:delegate:) final public class func showChooseContextDialog(withContent content: FBSDKGamingServicesKit.ChooseContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) -> FBSDKGamingServicesKit.ChooseContextDialog + @objc final public func makeAndShowChooseContextDialog(content: FBSDKGamingServicesKit.ChooseContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) + @objc @available(*, deprecated, message: "showChooseContextDialog is deprecated. Please use the instance method `makeAndShowChooseContextDialog` instead") + final public class func showChooseContextDialog(with content: FBSDKGamingServicesKit.ChooseContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) -> FBSDKGamingServicesKit.ChooseContextDialog + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowCreateContextDialog(content:delegate:)` instead") + @objc(createContextDialogWithContent:delegate:) final public class func createContextDialog(withContent content: FBSDKGamingServicesKit.CreateContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate?) -> FBSDKGamingServicesKit.CreateContextDialog? + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowSwitchContextDialog(content:delegate:)` instead") + @objc(switchContextDialogWithContent:delegate:) final public class func switchContextDialog(withContent content: FBSDKGamingServicesKit.SwitchContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate?) -> FBSDKGamingServicesKit.SwitchContextDialog? + @objc deinit +} +public enum ContextDialogPresenterError : Swift.Error { + case showCreateContext + case showSwitchContext + case showChooseContext + case invalidAccessToken + public static func == (a: FBSDKGamingServicesKit.ContextDialogPresenterError, b: FBSDKGamingServicesKit.ContextDialogPresenterError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKContextWebDialog) public class ContextWebDialog : ObjectiveC.NSObject, FBSDKCoreKit.WebDialogDelegate, FBSDKGamingServicesKit.DialogProtocol { + @objc public var delegate: FBSDKGamingServicesKit.ContextDialogDelegate? + @objc public var dialogContent: FBSDKGamingServicesKit.ValidatableProtocol? + @objc public var currentWebDialog: FBSDKCoreKit.WebDialog? + @objc public func show() -> Swift.Bool + @objc public func validate() throws + @objc public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didCompleteWithResults results: [Swift.String : Any]) + @objc public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didFailWithError error: Swift.Error) + @objc public func webDialogDidCancel(_ webDialog: FBSDKCoreKit.WebDialog) + @objc public func createWebDialogFrame(withWidth width: CoreGraphics.CGFloat, height: CoreGraphics.CGFloat, windowFinder: FBSDKCoreKit._WindowFinding) -> CoreGraphics.CGRect + @objc deinit +} +@objcMembers @objc(FBSDKCreateContextContent) final public class CreateContextContent : ObjectiveC.NSObject, FBSDKGamingServicesKit.ValidatableProtocol { + @objc final public var playerID: Swift.String + @objc(initDialogContentWithPlayerID:) public init(playerID: Swift.String) + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc final public func validate() throws + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKCreateContextDialog) final public class CreateContextDialog : FBSDKGamingServicesKit.ContextWebDialog { + @objc public init(content: FBSDKGamingServicesKit.CreateContextContent, windowFinder: FBSDKCoreKit._WindowFinding, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) + @discardableResult + @objc override final public func show() -> Swift.Bool + @objc override final public func validate() throws + @objc deinit +} +public enum CustomUpdateContentError : Swift.Error { + case notInGameContext + case invalidMessage + case invalidMedia + case invalidImage + public static func == (a: FBSDKGamingServicesKit.CustomUpdateContentError, b: FBSDKGamingServicesKit.CustomUpdateContentError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +final public class CustomUpdateContentImage { + public init(message: Swift.String, image: UIKit.UIImage, cta: Swift.String? = nil, payload: Swift.String? = nil, messageLocalization: [Swift.String : Swift.String] = [:], ctaLocalization: [Swift.String : Swift.String] = [:]) + @objc deinit +} +final public class CustomUpdateContentMedia { + public init(message: Swift.String, media: FBSDKGamingServicesKit.URLMedia, cta: Swift.String? = nil, payload: Swift.String? = nil, messageLocalization: [Swift.String : Swift.String] = [:], ctaLocalization: [Swift.String : Swift.String] = [:]) + @objc deinit +} +public enum CustomUpdateGraphRequestError : Swift.Error { + case server(Swift.Error) + case invalidAccessToken + case contentParsing + case decoding +} +final public class CustomUpdateGraphRequest { + final public let graphRequestFactory: FBSDKCoreKit.GraphRequestFactoryProtocol + public init() + public init(graphRequestFactory: FBSDKCoreKit.GraphRequestFactoryProtocol = GraphRequestFactory()) + final public func request(content: FBSDKGamingServicesKit.CustomUpdateContentMedia, completionHandler: @escaping (Swift.Result) -> Swift.Void) throws + final public func request(content: FBSDKGamingServicesKit.CustomUpdateContentImage, completionHandler: @escaping (Swift.Result) -> Swift.Void) throws + @objc deinit +} +@objc(FBSDKDialog) public protocol DialogProtocol { + @objc weak var delegate: FBSDKGamingServicesKit.ContextDialogDelegate? { get set } + @objc var dialogContent: FBSDKGamingServicesKit.ValidatableProtocol? { get set } + @objc func show() -> Swift.Bool + @objc func validate() throws +} +@objc(FBSDKValidatable) public protocol ValidatableProtocol { + @objc func validate() throws +} +public struct FacebookGIF : Swift.Codable, Swift.Equatable, FBSDKGamingServicesKit.URLMedia { + public init(withUrl url: Foundation.URL) + public static func == (a: FBSDKGamingServicesKit.FacebookGIF, b: FBSDKGamingServicesKit.FacebookGIF) -> Swift.Bool + public func encode(to encoder: Swift.Encoder) throws + public init(from decoder: Swift.Decoder) throws +} +public struct FacebookVideo : Swift.Codable, Swift.Equatable, FBSDKGamingServicesKit.URLMedia { + public init(withUrl url: Foundation.URL) + public static func == (a: FBSDKGamingServicesKit.FacebookVideo, b: FBSDKGamingServicesKit.FacebookVideo) -> Swift.Bool + public func encode(to encoder: Swift.Encoder) throws + public init(from decoder: Swift.Decoder) throws +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc(FBSDKFriendFinderDialog) final public class FriendFinderDialog : ObjectiveC.NSObject { + @objc override convenience dynamic public init() + @objc(launchFriendFinderDialogWithCompletionHandler:) public static func launch(completionHandler: @escaping FBSDKGamingServicesKit.GamingServiceCompletionHandler) + @objc deinit +} +@objc(FBSDKGameRequestActionType) public enum GameRequestActionType : Swift.UInt { + case none + case send + case askFor + case turn + case invite + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKGameRequestContent) final public class GameRequestContent : ObjectiveC.NSObject, FBSDKShareKit.SharingValidation, Foundation.NSSecureCoding { + @objc final public var actionType: FBSDKGamingServicesKit.GameRequestActionType + @objc final public var data: Swift.String? + @objc final public var filters: FBSDKGamingServicesKit.GameRequestFilter + @objc final public var message: Swift.String + @objc final public var objectID: Swift.String + @objc final public var recipients: [Swift.String] + @objc final public var recipientSuggestions: [Swift.String] + @objc final public var title: Swift.String + @objc final public var cta: Swift.String + @objc(validateWithOptions:error:) final public func validate(options: FBSDKShareKit.ShareBridgeOptions = []) throws + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc(isEqualToGameRequestContent:) final public func isEqual(to content: FBSDKGamingServicesKit.GameRequestContent) -> Swift.Bool + @objc final public class var supportsSecureCoding: Swift.Bool { + @objc get + } + @objc convenience public init(coder decoder: Foundation.NSCoder) + @objc final public func encode(with encoder: Foundation.NSCoder) + @objc override dynamic public init() + @objc deinit +} +@objcMembers @objc(FBSDKGameRequestDialog) final public class GameRequestDialog : ObjectiveC.NSObject { + @objc weak final public var delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate? + @objc final public var content: FBSDKGamingServicesKit.GameRequestContent + @objc final public var isFrictionlessRequestsEnabled: Swift.Bool + @objc final public var canShow: Swift.Bool { + @objc get + } + @objc public init(content: FBSDKGamingServicesKit.GameRequestContent, delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate?) + @objc(dialogWithContent:delegate:) public static func dialog(content: FBSDKGamingServicesKit.GameRequestContent, delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate?) -> FBSDKGamingServicesKit.GameRequestDialog + @discardableResult + @objc(showWithContent:delegate:) public static func show(content: FBSDKGamingServicesKit.GameRequestContent, delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate?) -> FBSDKGamingServicesKit.GameRequestDialog + @objc @discardableResult + final public func show() -> Swift.Bool + @objc(validateWithError:) final public func validate() throws + @objc deinit +} +extension FBSDKGamingServicesKit.GameRequestDialog : FBSDKCoreKit.WebDialogDelegate { + @objc final public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didCompleteWithResults results: [Swift.String : Any]) + @objc final public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didFailWithError error: Swift.Error) + @objc final public func webDialogDidCancel(_ webDialog: FBSDKCoreKit.WebDialog) +} +extension FBSDKGamingServicesKit.GameRequestDialog : FBSDKCoreKit.URLOpening { + @objc final public func application(_ application: UIKit.UIApplication?, open potentialURL: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication) + @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool +} +@objc(FBSDKGameRequestDialogDelegate) public protocol GameRequestDialogDelegate { + @objc(gameRequestDialog:didCompleteWithResults:) func gameRequestDialog(_ gameRequestDialog: FBSDKGamingServicesKit.GameRequestDialog, didCompleteWithResults results: [Swift.String : Any]) + @objc(gameRequestDialog:didFailWithError:) func gameRequestDialog(_ gameRequestDialog: FBSDKGamingServicesKit.GameRequestDialog, didFailWithError error: Swift.Error) + @objc func gameRequestDialogDidCancel(_ gameRequestDialog: FBSDKGamingServicesKit.GameRequestDialog) +} +@objc(FBSDKGameRequestFilter) public enum GameRequestFilter : Swift.UInt { + case none + case appUsers + case appNonUsers + case everybody + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKGameRequestURLProvider) final public class GameRequestURLProvider : ObjectiveC.NSObject { + @objc(createDeepLinkURLWithQueryDictionary:) final public class func createDeepLinkURL(queryDictionary: [Swift.String : Any]) -> Foundation.URL? + @objc(filtersNameForFilters:) final public class func filtersName(for filters: FBSDKGamingServicesKit.GameRequestFilter) -> Swift.String? + @objc(actionTypeNameForActionType:) final public class func actionTypeName(for actionType: FBSDKGamingServicesKit.GameRequestActionType) -> Swift.String? + @objc override dynamic public init() + @objc deinit +} +@objcMembers @objc(FBSDKGamingContext) final public class GamingContext : ObjectiveC.NSObject { + @objc(currentContext) public static var current: FBSDKGamingServicesKit.GamingContext? + @objc final public let identifier: Swift.String + @objc final public let size: Swift.Int + @objc public init?(identifier: Swift.String, size: Swift.Int) + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingGroupIntegration) final public class GamingGroupIntegration : ObjectiveC.NSObject { + @objc public static func openGroupPage(completionHandler: @escaping FBSDKGamingServicesKit.GamingServiceCompletionHandler) + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingImageUploader) final public class GamingImageUploader : ObjectiveC.NSObject { + @objc(uploadImageWithConfiguration:andResultCompletion:) public static func uploadImage(with configuration: FBSDKGamingServicesKit.GamingImageUploaderConfiguration, andResultCompletion completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion) + @objc(uploadImageWithConfiguration:completion:andProgressHandler:) public static func uploadImage(with configuration: FBSDKGamingServicesKit.GamingImageUploaderConfiguration, completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion, andProgressHandler progressHandler: FBSDKGamingServicesKit.GamingServiceProgressHandler?) + @objc deinit +} +extension FBSDKGamingServicesKit.GamingImageUploader : FBSDKCoreKit.GraphRequestConnectionDelegate { + @objc final public func requestConnection(_ connection: FBSDKCoreKit.GraphRequestConnecting, didSendBodyData bytesWritten: Swift.Int, totalBytesWritten: Swift.Int, totalBytesExpectedToWrite: Swift.Int) +} +@objcMembers @objc(FBSDKGamingImageUploaderConfiguration) final public class GamingImageUploaderConfiguration : ObjectiveC.NSObject { + @objc final public var image: UIKit.UIImage { + get + } + @objc final public var caption: Swift.String? { + get + } + @objc final public var shouldLaunchMediaDialog: Swift.Bool { + get + } + @objc public init(image: UIKit.UIImage, caption: Swift.String?, shouldLaunchMediaDialog: Swift.Bool) + @objc deinit +} +@objcMembers @objc(FBSDKGamingPayload) final public class GamingPayload : ObjectiveC.NSObject { + @objc final public var URL: FBSDKCoreKit.AppLinkURL + @objc final public var payload: Swift.String + @objc public init(URL: FBSDKCoreKit.AppLinkURL) + @objc deinit +} +@objc(FBSDKGamingPayloadDelegate) public protocol GamingPayloadDelegate : ObjectiveC.NSObjectProtocol { + @objc optional func parsedGameRequestURLContaining(_ payload: FBSDKGamingServicesKit.GamingPayload, gameRequestID: Swift.String) + @objc optional func parsedGamingContextURLContaining(_ payload: FBSDKGamingServicesKit.GamingPayload) + @objc optional func parsedTournamentURLContaining(_ payload: FBSDKGamingServicesKit.GamingPayload, tournamentID: Swift.String) +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingPayloadObserver) final public class GamingPayloadObserver : ObjectiveC.NSObject { + @objc weak final public var delegate: FBSDKGamingServicesKit.GamingPayloadDelegate? { + @objc get + @objc set + } + @objc convenience public init(delegate: FBSDKGamingServicesKit.GamingPayloadDelegate?) + @objc deinit +} +extension FBSDKGamingServicesKit.GamingPayloadObserver : FBSDKCoreKit.FBSDKApplicationObserving { + @objc final public func application(_ application: UIKit.UIApplication, open url: Foundation.URL, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool +} +public typealias GamingServiceCompletionHandler = (_ success: Swift.Bool, _ error: Swift.Error?) -> Swift.Void +public typealias FBSDKGamingServiceCompletionHandler = FBSDKGamingServicesKit.GamingServiceCompletionHandler +public typealias GamingServiceResultCompletion = (_ success: Swift.Bool, _ result: [Swift.String : Any]?, _ error: Swift.Error?) -> Swift.Void +public typealias FBSDKGamingServiceResultCompletion = FBSDKGamingServicesKit.GamingServiceResultCompletion +public typealias GamingServiceProgressHandler = (_ bytesSent: Swift.Int64, _ totalBytesSent: Swift.Int64, _ totalBytesExpectedToSend: Swift.Int64) -> Swift.Void +public typealias FBSDKGamingServiceProgressHandler = FBSDKGamingServicesKit.GamingServiceProgressHandler +public enum GamingServicesDialogError : Swift.Error { + case invalidContentType + case missingContent + case deeplinkURLCreation + public static func == (a: FBSDKGamingServicesKit.GamingServicesDialogError, b: FBSDKGamingServicesKit.GamingServicesDialogError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingVideoUploader) final public class GamingVideoUploader : ObjectiveC.NSObject { + @objc(uploadVideoWithConfiguration:andResultCompletion:) public static func uploadVideo(configuration: FBSDKGamingServicesKit.GamingVideoUploaderConfiguration, completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion) + @objc(uploadVideoWithConfiguration:completion:andProgressHandler:) public static func uploadVideo(configuration: FBSDKGamingServicesKit.GamingVideoUploaderConfiguration, completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion, progressHandler: FBSDKGamingServicesKit.GamingServiceProgressHandler?) + @objc deinit +} +@objcMembers @objc(FBSDKGamingVideoUploaderConfiguration) final public class GamingVideoUploaderConfiguration : ObjectiveC.NSObject { + @objc final public var videoURL: Foundation.URL { + get + } + @objc final public var caption: Swift.String? { + get + } + @objc public init(videoURL: Foundation.URL, caption: Swift.String?) + @objc deinit +} +public enum ShareTournamentDialogError : Swift.Error { + case invalidAccessToken + case invalidAuthToken + case invalidTournamentID + case unableToCreateDialogUrl + case unknownBridgeError + case errorMessage(Swift.String) + case bridgeError(Swift.Error) +} +@objc @_hasMissingDesignatedInitializers final public class ShareTournamentDialog : ObjectiveC.NSObject, FBSDKCoreKit.URLOpening { + convenience public init(delegate: FBSDKGamingServicesKit.ShareTournamentDialogDelegate) + final public func show(score: Swift.Int, tournamentID: Swift.String) throws + final public func show(score: Swift.Int, tournament: FBSDKGamingServicesKit.Tournament) throws + final public func show(initialScore: Swift.Int, config: FBSDKGamingServicesKit.TournamentConfig) throws + @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool + @objc final public func application(_ application: UIKit.UIApplication?, open url: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication) + @objc deinit +} +public protocol ShareTournamentDialogDelegate : AnyObject { + func didComplete(dialog: FBSDKGamingServicesKit.ShareTournamentDialog, tournament: FBSDKGamingServicesKit.Tournament) + func didFail(withError error: Swift.Error, dialog: FBSDKGamingServicesKit.ShareTournamentDialog) + func didCancel(dialog: FBSDKGamingServicesKit.ShareTournamentDialog) +} +@objc(FBSDKShowable) public protocol Showable { + @objc func show() -> Swift.Bool +} +extension FBSDKGamingServicesKit.ChooseContextDialog : FBSDKGamingServicesKit.Showable { +} +extension FBSDKGamingServicesKit.CreateContextDialog : FBSDKGamingServicesKit.Showable { +} +@objcMembers @objc(FBSDKSwitchContextContent) final public class SwitchContextContent : ObjectiveC.NSObject, FBSDKGamingServicesKit.ValidatableProtocol { + @objc(initDialogContentWithContextID:) public init(contextID: Swift.String) + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc final public func validate() throws + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKSwitchContextDialog) final public class SwitchContextDialog : FBSDKGamingServicesKit.ContextWebDialog, FBSDKGamingServicesKit.Showable { + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the initializer `init(content:windowFinder:delegate:)` instead") + @objc(dialogWithContent:windowFinder:delegate:) public static func dialog(content: FBSDKGamingServicesKit.SwitchContextContent, windowFinder: FBSDKCoreKit._WindowFinding, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) -> Self + @objc public init(content: FBSDKGamingServicesKit.SwitchContextContent, windowFinder: FBSDKCoreKit._WindowFinding, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) + @objc override final public func show() -> Swift.Bool + @objc override final public func validate() throws + @objc deinit +} +public enum TournamentDecodingError : Swift.Error { + case invalidExpirationDate + case invalidScoreType + public static func == (a: FBSDKGamingServicesKit.TournamentDecodingError, b: FBSDKGamingServicesKit.TournamentDecodingError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +public struct Tournament : Swift.Codable { + public var identifier: Swift.String { + get + } + public var endTime: Foundation.Date? { + get + } + public var title: Swift.String? { + get + } + public var payload: Swift.String? + public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws +} +public struct TournamentConfig { + public var title: Swift.String? + public var endTime: Foundation.TimeInterval? + public var scoreType: FBSDKGamingServicesKit.TournamentScoreType? + public var sortOrder: FBSDKGamingServicesKit.TournamentSortOrder? + public var payload: Swift.String? + public var image: UIKit.UIImage? + public init(title: Swift.String? = nil, endTime: Foundation.Date? = nil, scoreType: FBSDKGamingServicesKit.TournamentScoreType? = nil, sortOrder: FBSDKGamingServicesKit.TournamentSortOrder? = nil, image: UIKit.UIImage? = nil, payload: Swift.String? = nil) +} +public enum TournamentFetchError : Swift.Error { + case server(Swift.Error) + case decoding + case invalidAuthToken + case invalidAccessToken +} +@_hasMissingDesignatedInitializers final public class TournamentFetcher { + convenience public init() + final public func fetchTournaments(completionHandler: @escaping (Swift.Result<[FBSDKGamingServicesKit.Tournament], FBSDKGamingServicesKit.TournamentFetchError>) -> Swift.Void) + @objc deinit +} +public enum TournamentScoreType : Swift.String { + case numeric + case time + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +public enum TournamentSortOrder : Swift.String { + case higherIsBetter + case lowerIsBetter + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +public enum TournamentUpdaterError : Swift.Error { + case server(Swift.Error) + case decoding + case invalidAuthToken + case invalidAccessToken + case invalidTournamentID +} +@_hasMissingDesignatedInitializers final public class TournamentUpdater { + convenience public init() + final public func update(tournamentID: Swift.String, score: Swift.Int, completionHandler: @escaping (Swift.Result) -> Swift.Void) + final public func update(tournament: FBSDKGamingServicesKit.Tournament, score: Swift.Int, completionHandler: @escaping (Swift.Result) -> Swift.Void) + @objc deinit +} +public protocol URLMedia : Swift.Decodable, Swift.Encodable { + init(withUrl: Foundation.URL) +} +@objc @_hasMissingDesignatedInitializers @objcMembers final public class _FBSDKTournament : ObjectiveC.NSObject { + @objc final public var identifier: Swift.String { + get + } + @objc final public var endTime: Foundation.Date? { + get + } + @objc final public var title: Swift.String? { + get + } + @objc final public var payload: Swift.String? + @objc deinit +} +@objc(_FBSDKShareTournamentDialogDelegate) public protocol _ShareTournamentDialogDelegate { + @objc func didComplete(dialog: FBSDKGamingServicesKit._ShareTournamentDialog, tournament: FBSDKGamingServicesKit._FBSDKTournament) + @objc func didFail(withError error: Swift.Error, dialog: FBSDKGamingServicesKit._ShareTournamentDialog) + @objc func didCancel(dialog: FBSDKGamingServicesKit._ShareTournamentDialog) +} +@_hasMissingDesignatedInitializers @objcMembers @objc(_FBSDKShareTournamentDialog) final public class _ShareTournamentDialog : ObjectiveC.NSObject, FBSDKGamingServicesKit.ShareTournamentDialogDelegate { + @objc final public func show(score: Swift.Int, tournamentID: Swift.String) throws + @objc final public func show(score: Swift.Int, tournament: FBSDKGamingServicesKit._FBSDKTournament) throws + @objc final public func show(initialScore: Swift.Int, config: FBSDKGamingServicesKit._TournamentConfig) throws + @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool + @objc final public func application(_ application: UIKit.UIApplication?, open url: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication) + final public func didComplete(dialog: FBSDKGamingServicesKit.ShareTournamentDialog, tournament: FBSDKGamingServicesKit.Tournament) + @objc final public func didFail(withError error: Swift.Error, dialog: FBSDKGamingServicesKit.ShareTournamentDialog) + @objc final public func didCancel(dialog: FBSDKGamingServicesKit.ShareTournamentDialog) + @objc deinit +} +@objc(_FBSDKTournamentScoreType) public enum _TournamentScoreType : Swift.Int { + case numeric + case time + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@objc(_FBSDKTournamentSortOrder) public enum _TournamentSortOrder : Swift.Int { + case higherIsBetter + case lowerIsBetter + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@objcMembers @objc(_FBSDKTournamentConfig) final public class _TournamentConfig : ObjectiveC.NSObject { + @objc final public var title: Swift.String? + final public var endTime: CoreGraphics.CGFloat? + final public var scoreType: FBSDKGamingServicesKit._TournamentScoreType? + final public var sortOrder: FBSDKGamingServicesKit._TournamentSortOrder? + @objc final public var payload: Swift.String? + @objc final public var image: UIKit.UIImage? + public init(title: Swift.String? = nil, endTime: Foundation.Date? = nil, scoreType: FBSDKGamingServicesKit._TournamentScoreType? = nil, sortOrder: FBSDKGamingServicesKit._TournamentSortOrder? = nil, image: UIKit.UIImage? = nil, payload: Swift.String? = nil) + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(_FBSDKTournamentFetcher) final public class _TournamentFetcher : ObjectiveC.NSObject { + @objc final public func fetchTournaments(completionHandler: @escaping ([FBSDKGamingServicesKit._FBSDKTournament]?, Swift.Error?) -> Swift.Void) + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(_FBSDKTournamentUpdater) final public class _TournamentUpdater : ObjectiveC.NSObject { + @objc final public func update(tournamentID: Swift.String, score: Swift.Int, completionHandler: @escaping (Swift.Bool, Swift.Error?) -> Swift.Void) + @objc final public func update(tournament: FBSDKGamingServicesKit._FBSDKTournament, score: Swift.Int, completionHandler: @escaping (Swift.Bool, Swift.Error?) -> Swift.Void) + @objc deinit +} +extension FBSDKGamingServicesKit.ChooseContextFilter : Swift.Equatable {} +extension FBSDKGamingServicesKit.ChooseContextFilter : Swift.Hashable {} +extension FBSDKGamingServicesKit.ChooseContextFilter : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit.ContextDialogPresenterError : Swift.Equatable {} +extension FBSDKGamingServicesKit.ContextDialogPresenterError : Swift.Hashable {} +extension FBSDKGamingServicesKit.CustomUpdateContentError : Swift.Equatable {} +extension FBSDKGamingServicesKit.CustomUpdateContentError : Swift.Hashable {} +extension FBSDKGamingServicesKit.GameRequestActionType : Swift.Equatable {} +extension FBSDKGamingServicesKit.GameRequestActionType : Swift.Hashable {} +extension FBSDKGamingServicesKit.GameRequestActionType : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit.GameRequestFilter : Swift.Equatable {} +extension FBSDKGamingServicesKit.GameRequestFilter : Swift.Hashable {} +extension FBSDKGamingServicesKit.GameRequestFilter : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit.GamingServicesDialogError : Swift.Equatable {} +extension FBSDKGamingServicesKit.GamingServicesDialogError : Swift.Hashable {} +extension FBSDKGamingServicesKit.TournamentDecodingError : Swift.Equatable {} +extension FBSDKGamingServicesKit.TournamentDecodingError : Swift.Hashable {} +extension FBSDKGamingServicesKit.TournamentScoreType : Swift.Equatable {} +extension FBSDKGamingServicesKit.TournamentScoreType : Swift.Hashable {} +extension FBSDKGamingServicesKit.TournamentScoreType : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit.TournamentSortOrder : Swift.Equatable {} +extension FBSDKGamingServicesKit.TournamentSortOrder : Swift.Hashable {} +extension FBSDKGamingServicesKit.TournamentSortOrder : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit._TournamentScoreType : Swift.Equatable {} +extension FBSDKGamingServicesKit._TournamentScoreType : Swift.Hashable {} +extension FBSDKGamingServicesKit._TournamentScoreType : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit._TournamentSortOrder : Swift.Equatable {} +extension FBSDKGamingServicesKit._TournamentSortOrder : Swift.Hashable {} +extension FBSDKGamingServicesKit._TournamentSortOrder : Swift.RawRepresentable {} diff --git a/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKGamingServicesKit.framework/Modules/module.modulemap b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKGamingServicesKit.framework/Modules/module.modulemap new file mode 100644 index 0000000..e143fca --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKGamingServicesKit.framework/Modules/module.modulemap @@ -0,0 +1,4 @@ +framework module FBSDKGamingServicesKit { + header "FBSDKGamingServicesKit-Swift.h" + requires objc +} diff --git a/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKGamingServicesKit.framework/Resources/Info.plist b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKGamingServicesKit.framework/Resources/Info.plist new file mode 100644 index 0000000..e396f43 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKGamingServicesKit.framework/Resources/Info.plist @@ -0,0 +1,50 @@ + + + + + BuildMachineOSBuild + 21E258 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FBSDKGamingServicesKit + CFBundleIdentifier + com.facebook.sdk.FBSDKGamingServicesKit + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FBSDKGamingServicesKit + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 13.2.0 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 13A233 + DTPlatformName + macosx + DTPlatformVersion + 11.3 + DTSDKBuild + 20E214 + DTSDKName + macosx11.3 + DTXcode + 1300 + DTXcodeBuild + 13A233 + LSMinimumSystemVersion + 10.15 + UIDeviceFamily + + 2 + + + diff --git a/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/FBSDKGamingServicesKit b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/FBSDKGamingServicesKit new file mode 100644 index 0000000..839070d Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/FBSDKGamingServicesKit differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/Headers/FBSDKGamingServicesKit-Swift.h b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/Headers/FBSDKGamingServicesKit-Swift.h new file mode 100644 index 0000000..18435cc --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/Headers/FBSDKGamingServicesKit-Swift.h @@ -0,0 +1,1928 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +#ifndef FBSDKGAMINGSERVICESKIT_SWIFT_H +#define FBSDKGAMINGSERVICESKIT_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import CoreGraphics; +@import FBSDKCoreKit; +@import FBSDKShareKit; +@import Foundation; +@import ObjectiveC; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKGamingServicesKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + +/// A protocol that a content object must conform to be used in a Gaming Services dialog +SWIFT_PROTOCOL_NAMED("ValidatableProtocol") +@protocol FBSDKValidatable +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +@end + +enum FBSDKChooseContextFilter : NSInteger; +@class NSNumber; +@class NSString; + +/// A model for an instant games choose context app switch dialog +SWIFT_CLASS_NAMED("ChooseContextContent") +@interface FBSDKChooseContextContent : NSObject +/// This sets the filter which determines which context will show when the user is app switched to the choose context dialog. +@property (nonatomic) enum FBSDKChooseContextFilter filter; +/// This sets the maximum number of participants that the suggested context(s) shown in the dialog should have. +@property (nonatomic) NSInteger maxParticipants; +/// This sets the minimum number of participants that the suggested context(s) shown in the dialog should have. +@property (nonatomic) NSInteger minParticipants; ++ (NSString * _Nonnull)filtersNameForFilters:(enum FBSDKChooseContextFilter)filter SWIFT_WARN_UNUSED_RESULT; +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@protocol FBSDKContextDialogDelegate; + +/// The protocol sdk dialogs must conform to and implement all the following methods. +SWIFT_PROTOCOL_NAMED("DialogProtocol") +@protocol FBSDKDialog +/// The receiver’s delegate or nil if it doesn’t have a delegate. +@property (nonatomic, weak) id _Nullable delegate; +/// The content object used to create the specific dialog +@property (nonatomic, strong) id _Nullable dialogContent; +/// Begins to show the specfic dialog +/// @return true if the receiver was able to show the dialog, otherwise false. +- (BOOL)show SWIFT_WARN_UNUSED_RESULT; +/// Validates the content for the dialog +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +@end + +@class FBSDKWebDialog; +@protocol _FBSDKWindowFinding; + +/// A super class type for the context dialogs classes that show an in-app webview to display content. +SWIFT_CLASS_NAMED("ContextWebDialog") +@interface FBSDKContextWebDialog : NSObject +@property (nonatomic, strong) id _Nullable delegate; +@property (nonatomic, strong) id _Nullable dialogContent; +@property (nonatomic, strong) FBSDKWebDialog * _Nullable currentWebDialog; +- (BOOL)show SWIFT_WARN_UNUSED_RESULT; +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +- (void)webDialog:(FBSDKWebDialog * _Nonnull)webDialog didCompleteWithResults:(NSDictionary * _Nonnull)results; +- (void)webDialog:(FBSDKWebDialog * _Nonnull)webDialog didFailWithError:(NSError * _Nonnull)error; +- (void)webDialogDidCancel:(FBSDKWebDialog * _Nonnull)webDialog; +/// Depending on the content size within the browser, this method allows for the resizing of web dialog +- (CGRect)createWebDialogFrameWithWidth:(CGFloat)width height:(CGFloat)height windowFinder:(id <_FBSDKWindowFinding> _Nonnull)windowFinder SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +@class UIApplication; +@class NSURL; + +/// A dialog for the choose context through app switch +SWIFT_CLASS_NAMED("ChooseContextDialog") +@interface FBSDKChooseContextDialog : FBSDKContextWebDialog +/// Convenience method to build up a choose context app switch with content and a delegate. +/// @param content The content for the choose context dialog +/// @param delegate The receiver’s delegate. +- (nonnull instancetype)initWithContent:(FBSDKChooseContextContent * _Nonnull)content delegate:(id _Nonnull)delegate; +- (BOOL)show SWIFT_WARN_UNUSED_RESULT; +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +- (BOOL)application:(UIApplication * _Nullable)application openURL:(NSURL * _Nullable)url sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +- (BOOL)canOpenURL:(NSURL * _Nonnull)url forApplication:(UIApplication * _Nullable)application sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +- (void)applicationDidBecomeActive:(UIApplication * _Nonnull)application; +- (BOOL)isAuthenticationURL:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT; +@end + + +SWIFT_PROTOCOL_NAMED("Showable") +@protocol FBSDKShowable +- (BOOL)show SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKChooseContextDialog (SWIFT_EXTENSION(FBSDKGamingServicesKit)) +@end + +typedef SWIFT_ENUM_NAMED(NSInteger, FBSDKChooseContextFilter, "ChooseContextFilter", open) { + FBSDKChooseContextFilterNone = 0, + FBSDKChooseContextFilterExistingChallenges = 1, + FBSDKChooseContextFilterNewPlayersOnly = 2, + FBSDKChooseContextFilterNewContextOnly = 3, +}; + + +/// A delegate for context dialogs to communicate with the dialog handler. +/// The delegate is notified with the results of the cross play request as long as the application has permissions to +/// receive the information. For example, if the person is not signed into the containing app, the shower may not be able +/// to distinguish between completion of a cross play request and cancellation. +SWIFT_PROTOCOL_NAMED("ContextDialogDelegate") +@protocol FBSDKContextDialogDelegate +/// Sent to the delegate when the context dialog completes without error. +/// @param contextDialog The FBSDKContextDialog that completed. +- (void)contextDialogDidComplete:(FBSDKContextWebDialog * _Nonnull)contextDialog; +/// Sent to the delegate when the context dialog encounters an error. +/// @param contextDialog The FBSDKContextDialog that completed. +/// @param error The error. +- (void)contextDialog:(FBSDKContextWebDialog * _Nonnull)contextDialog didFailWithError:(NSError * _Nonnull)error; +/// Sent to the delegate when the cross play request dialog is cancelled. +/// @param contextDialog The FBSDKContextDialog that completed. +- (void)contextDialogDidCancel:(FBSDKContextWebDialog * _Nonnull)contextDialog; +@end + +@class FBSDKCreateContextContent; +@class NSError; +@class FBSDKSwitchContextContent; +@class FBSDKCreateContextDialog; +@class FBSDKSwitchContextDialog; + +/// A dialog presenter responsible for creating and showing all the dialogs that create, switch, +/// choose and otherwise manipulate the gaming context. +SWIFT_CLASS_NAMED("ContextDialogPresenter") +@interface FBSDKContextDialogPresenter : NSObject +- (nonnull instancetype)init; +/// Convenience method to build up and show an instant games create context dialog with content and delegate. +/// \param content The content for the create context dialog +/// +/// \param delegate The receiver’s delegate. +/// ++ (NSError * _Nullable)showCreateContextDialogWithContent:(FBSDKCreateContextContent * _Nonnull)content delegate:(id _Nonnull)delegate SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowCreateContextDialog(content:delegate:)` instead"); +/// Convenience method to build up and show an instant games create context dialog with content and delegate. +/// \param content The content for the create context dialog +/// +/// \param delegate The receiver’s delegate. +/// +- (BOOL)makeAndShowCreateContextDialogWithContent:(FBSDKCreateContextContent * _Nonnull)content delegate:(id _Nonnull)delegate error:(NSError * _Nullable * _Nullable)error; +/// Convenience method to build up and show an instant games switch context dialog with content and delegate. +/// \param content The content for the switch context dialog +/// +/// \param delegate The receiver’s delegate. +/// ++ (NSError * _Nullable)showSwitchContextDialogWithContent:(FBSDKSwitchContextContent * _Nonnull)content delegate:(id _Nullable)delegate SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowSwitchContextDialog(content:delegate:)` instead"); +/// Convenience method to build up and show an instant games switch context dialog with the giving content and delegate. +/// \param content The content for the switch context dialog +/// +/// \param delegate The receiver’s delegate. +/// +- (BOOL)makeAndShowSwitchContextDialogWithContent:(FBSDKSwitchContextContent * _Nonnull)content delegate:(id _Nonnull)delegate error:(NSError * _Nullable * _Nullable)error; +/// Convenience method to build up and show an instant games choose context dialog with content and a delegate. +/// \param content The content for the choose context dialog +/// +/// \param delegate The receiver’s delegate. +/// ++ (FBSDKChooseContextDialog * _Nonnull)showChooseContextDialogWithContent:(FBSDKChooseContextContent * _Nonnull)content delegate:(id _Nonnull)delegate SWIFT_DEPRECATED_MSG("This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowChooseContextDialog(content:delegate:)` instead"); +/// Convenience method to build up and show an instant games choose context dialog with content and a delegate. +/// \param content The content for the choose context dialog +/// +/// \param delegate The receiver’s delegate. +/// +- (void)makeAndShowChooseContextDialogWithContent:(FBSDKChooseContextContent * _Nonnull)content delegate:(id _Nonnull)delegate; ++ (FBSDKChooseContextDialog * _Nonnull)showChooseContextDialogWith:(FBSDKChooseContextContent * _Nonnull)content delegate:(id _Nonnull)delegate SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("showChooseContextDialog is deprecated. Please use the instance method `makeAndShowChooseContextDialog` instead"); +/// Convenience method to build up an instant games create context dialog with content and delegate. +///
    +///
  • +/// Parameters +///
      +///
    • +/// content: The content for the create context dialog +///
    • +///
    • +/// delegate: The receiver’s delegate. +///
    • +///
    +///
  • +///
++ (FBSDKCreateContextDialog * _Nullable)createContextDialogWithContent:(FBSDKCreateContextContent * _Nonnull)content delegate:(id _Nullable)delegate SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowCreateContextDialog(content:delegate:)` instead"); +/// Convenience method to build up an instant games switch context dialog with content and delegate. +/// \param content The content for the switch context dialog +/// +/// \param delegate The receiver’s delegate. +/// ++ (FBSDKSwitchContextDialog * _Nullable)switchContextDialogWithContent:(FBSDKSwitchContextContent * _Nonnull)content delegate:(id _Nullable)delegate SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowSwitchContextDialog(content:delegate:)` instead"); +@end + + + +/// A model for an instant games createAsync cross play request. +SWIFT_CLASS_NAMED("CreateContextContent") +@interface FBSDKCreateContextContent : NSObject +/// The ID of the player that is being challenged. +/// @return The ID for the player being challenged +@property (nonatomic, copy) NSString * _Nonnull playerID; +/// Builds a content object that will be use to display a create context dialog +/// @param playerID The player ID of the user being challenged which will be used to create a game context +- (nonnull instancetype)initDialogContentWithPlayerID:(NSString * _Nonnull)playerID OBJC_DESIGNATED_INITIALIZER; +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// A dialog to create a context through a web view +SWIFT_CLASS_NAMED("CreateContextDialog") +@interface FBSDKCreateContextDialog : FBSDKContextWebDialog +/// Builds a context creation web dialog with content and a delegate. +/// @param content The content for the create context dialog +/// @param windowFinder The application window finder that provides the window to display the dialog +/// @param delegate The receiver’s delegate used to let the receiver know a context was created or failure +- (nonnull instancetype)initWithContent:(FBSDKCreateContextContent * _Nonnull)content windowFinder:(id <_FBSDKWindowFinding> _Nonnull)windowFinder delegate:(id _Nonnull)delegate OBJC_DESIGNATED_INITIALIZER; +- (BOOL)show; +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +@end + + +@interface FBSDKCreateContextDialog (SWIFT_EXTENSION(FBSDKGamingServicesKit)) +@end + + + + +SWIFT_CLASS_NAMED("FriendFinderDialog") +@interface FBSDKFriendFinderDialog : NSObject +- (nonnull instancetype)init; ++ (void)launchFriendFinderDialogWithCompletionHandler:(void (^ _Nonnull)(BOOL, NSError * _Nullable))completionHandler; +@end + +/// Additional context about the nature of the game request. +typedef SWIFT_ENUM_NAMED(NSUInteger, FBSDKGameRequestActionType, "GameRequestActionType", open) { +/// No action type + FBSDKGameRequestActionTypeNone = 0, +/// Send action type: The user is sending an object to the friends. + FBSDKGameRequestActionTypeSend = 1, +/// Ask For action type: The user is asking for an object from friends. + FBSDKGameRequestActionTypeAskFor = 2, +/// Turn action type: It is the turn of the friends to play against the user in a match. + FBSDKGameRequestActionTypeTurn = 3, +/// Invite action type: The user is inviting a friend. + FBSDKGameRequestActionTypeInvite = 4, +}; + +enum FBSDKGameRequestFilter : NSUInteger; +@class NSCoder; + +/// A model for a game request. +SWIFT_CLASS_NAMED("GameRequestContent") +@interface FBSDKGameRequestContent : NSObject +/// Used when defining additional context about the nature of the request. +/// The parameter ‘objectID’ is required if the action type is either +/// ‘.send’ or ‘.askFor’. +/// seealso: +/// objectID +@property (nonatomic) enum FBSDKGameRequestActionType actionType; +/// Additional freeform data you may pass for tracking. This will be stored as part of +/// the request objects created. The maximum length is 255 characters. +@property (nonatomic, copy) NSString * _Nullable data; +/// This controls the set of friends someone sees if a multi-friend selector is shown. +/// It is .none by default, meaning that all friends can be shown. +/// If specify as .appUsers, only friends who use the app will be shown. +/// On the other hands, use .appNonUsers to filter only friends who do not use the app. +/// The parameter name is preserved to be consistent with the counter part on desktop. +@property (nonatomic) enum FBSDKGameRequestFilter filters; +/// A plain-text message to be sent as part of the request. This text will surface in the App Center view +/// of the request, but not on the notification jewel. Required parameter. +@property (nonatomic, copy) NSString * _Nonnull message; +/// The Open Graph object ID of the object being sent. +/// seealso: +/// actionType +@property (nonatomic, copy) NSString * _Nonnull objectID; +/// An array of user IDs, usernames or invite tokens (NSString) of people to send request. +/// These may or may not be a friend of the sender. If this is specified by the app, +/// the sender will not have a choice of recipients. If not, the sender will see a multi-friend selector +/// This is equivalent to the “to” parameter when using the web game request dialog. +@property (nonatomic, copy) NSArray * _Nonnull recipients; +/// An array of user IDs that will be included in the dialog as the first suggested friends. +/// Cannot be used together with filters. +/// This is equivalent to the suggestions parameter when using the web game request dialog. +@property (nonatomic, copy) NSArray * _Nonnull recipientSuggestions; +/// The title for the dialog. +@property (nonatomic, copy) NSString * _Nonnull title; +/// The call to action for the dialog. +@property (nonatomic, copy) NSString * _Nonnull cta; +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)options error:(NSError * _Nullable * _Nullable)error; +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +/// Compares the receiver to another game request content. +/// @param content The other content +/// @return true if the receiver’s values are equal to the other content’s values; otherwise false +- (BOOL)isEqualToGameRequestContent:(FBSDKGameRequestContent * _Nonnull)content SWIFT_WARN_UNUSED_RESULT; +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) BOOL supportsSecureCoding;) ++ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)initWithCoder:(NSCoder * _Nonnull)decoder; +- (void)encodeWithCoder:(NSCoder * _Nonnull)encoder; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@protocol FBSDKGameRequestDialogDelegate; + +/// A dialog for sending game requests. +SWIFT_CLASS_NAMED("GameRequestDialog") +@interface FBSDKGameRequestDialog : NSObject +/// The receiver’s delegate or nil if it doesn’t have a delegate. +@property (nonatomic, weak) id _Nullable delegate; +/// The content for game request. +@property (nonatomic, strong) FBSDKGameRequestContent * _Nonnull content; +/// Specifies whether frictionless requests are enabled. +@property (nonatomic) BOOL isFrictionlessRequestsEnabled; +/// A Boolean value that indicates whether the receiver can initiate a game request. +/// May return false if the appropriate Facebook app is not installed and is required or an access token is +/// required but not available. This method does not validate the content on the receiver, so this can be checked before +/// building up the content. +/// See validate() +/// @return true if the receiver can share, otherwise false. +@property (nonatomic, readonly) BOOL canShow; +- (nonnull instancetype)initWithContent:(FBSDKGameRequestContent * _Nonnull)content delegate:(id _Nullable)delegate OBJC_DESIGNATED_INITIALIZER; +/// Convenience method to build up a game request with content and a delegate. +/// @param content The content for the game request. +/// @param delegate The receiver’s delegate. ++ (FBSDKGameRequestDialog * _Nonnull)dialogWithContent:(FBSDKGameRequestContent * _Nonnull)content delegate:(id _Nullable)delegate SWIFT_WARN_UNUSED_RESULT; +/// Convenience method to build up and show a game request with content and a delegate. +/// @param content The content for the game request. +/// @param delegate The receiver’s delegate. ++ (FBSDKGameRequestDialog * _Nonnull)showWithContent:(FBSDKGameRequestContent * _Nonnull)content delegate:(id _Nullable)delegate; +/// Begins the game request from the receiver. +/// @return true if the receiver was able to show the dialog, otherwise false. +- (BOOL)show; +/// Validates the content on the receiver. +- (BOOL)validateWithError:(NSError * _Nullable * _Nullable)error; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface FBSDKGameRequestDialog (SWIFT_EXTENSION(FBSDKGamingServicesKit)) +- (void)webDialog:(FBSDKWebDialog * _Nonnull)webDialog didCompleteWithResults:(NSDictionary * _Nonnull)results; +- (void)webDialog:(FBSDKWebDialog * _Nonnull)webDialog didFailWithError:(NSError * _Nonnull)error; +- (void)webDialogDidCancel:(FBSDKWebDialog * _Nonnull)webDialog; +@end + + +@interface FBSDKGameRequestDialog (SWIFT_EXTENSION(FBSDKGamingServicesKit)) +- (BOOL)application:(UIApplication * _Nullable)application openURL:(NSURL * _Nullable)potentialURL sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +- (BOOL)canOpenURL:(NSURL * _Nonnull)url forApplication:(UIApplication * _Nullable)application sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +- (void)applicationDidBecomeActive:(UIApplication * _Nonnull)application; +- (BOOL)isAuthenticationURL:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT; +@end + + +/// A delegate for GameRequestDialog. +/// The delegate is notified with the results of the game request as long as the application has permissions to +/// receive the information. For example, if the person is not signed into the containing app, the shower may not be able +/// to distinguish between completion of a game request and cancellation. +SWIFT_PROTOCOL_NAMED("GameRequestDialogDelegate") +@protocol FBSDKGameRequestDialogDelegate +/// Sent to the delegate when the game request completes without error. +/// @param gameRequestDialog The GameRequestDialog that completed. +/// @param results The results from the dialog. This may be nil or empty. +- (void)gameRequestDialog:(FBSDKGameRequestDialog * _Nonnull)gameRequestDialog didCompleteWithResults:(NSDictionary * _Nonnull)results; +/// Sent to the delegate when the game request encounters an error. +/// @param gameRequestDialog The GameRequestDialog that completed. +/// @param error The error. +- (void)gameRequestDialog:(FBSDKGameRequestDialog * _Nonnull)gameRequestDialog didFailWithError:(NSError * _Nonnull)error; +/// Sent to the delegate when the game request dialog is cancelled. +/// @param gameRequestDialog The GameRequestDialog that completed. +- (void)gameRequestDialogDidCancel:(FBSDKGameRequestDialog * _Nonnull)gameRequestDialog; +@end + +/// Filter for who can be displayed in the multi-friend selector. +typedef SWIFT_ENUM_NAMED(NSUInteger, FBSDKGameRequestFilter, "GameRequestFilter", open) { +/// No filter, all friends can be displayed. + FBSDKGameRequestFilterNone = 0, +/// Friends using the app can be displayed. + FBSDKGameRequestFilterAppUsers = 1, +/// Friends not using the app can be displayed. + FBSDKGameRequestFilterAppNonUsers = 2, +/// All friends can be displayed if FB app is installed. + FBSDKGameRequestFilterEverybody = 3, +}; + + +SWIFT_CLASS_NAMED("GameRequestURLProvider") +@interface FBSDKGameRequestURLProvider : NSObject ++ (NSURL * _Nullable)createDeepLinkURLWithQueryDictionary:(NSDictionary * _Nonnull)queryDictionary SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)filtersNameForFilters:(enum FBSDKGameRequestFilter)filters SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)actionTypeNameForActionType:(enum FBSDKGameRequestActionType)actionType SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +SWIFT_CLASS_NAMED("GamingContext") +@interface FBSDKGamingContext : NSObject +/// A shared object that holds data about the current user’s game instance which could be solo game or multiplayer game with other users. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, strong) FBSDKGamingContext * _Nullable currentContext;) ++ (FBSDKGamingContext * _Nullable)currentContext SWIFT_WARN_UNUSED_RESULT; ++ (void)setCurrentContext:(FBSDKGamingContext * _Nullable)value; +/// A unique identifier for the current game context. This represents a specific game instance that the user is playing in. +@property (nonatomic, readonly, copy) NSString * _Nonnull identifier; +/// The number of players in the current user’s game instance +@property (nonatomic, readonly) NSInteger size; +- (nullable instancetype)initWithIdentifier:(NSString * _Nonnull)identifier size:(NSInteger)size OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_CLASS_NAMED("GamingGroupIntegration") +@interface FBSDKGamingGroupIntegration : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (void)openGroupPageWithCompletionHandler:(void (^ _Nonnull)(BOOL, NSError * _Nullable))completionHandler; +@end + +@class FBSDKGamingImageUploaderConfiguration; + +SWIFT_CLASS_NAMED("GamingImageUploader") +@interface FBSDKGamingImageUploader : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// Runs an upload to a users Gaming Media Library with the given configuration +/// @param configuration model object contain the content that will be uploaded +/// @param completion a callback that is fired dependent on the configuration. +/// Fired when the upload completes or when the users returns to the caller app +/// after the media dialog is shown. ++ (void)uploadImageWithConfiguration:(FBSDKGamingImageUploaderConfiguration * _Nonnull)configuration andResultCompletion:(void (^ _Nonnull)(BOOL, NSDictionary * _Nullable, NSError * _Nullable))completion; +/// Runs an upload to a users Gaming Media Library with the given configuration +/// @param configuration model object contain the content that will be uploaded +/// @param completion a callback that is fired dependent on the configuration. +/// Fired when the upload completes or when the users returns to the caller app +/// after the media dialog is shown. +/// @param progressHandler an optional callback that is fired multiple times as +/// bytes are transferred to Facebook. ++ (void)uploadImageWithConfiguration:(FBSDKGamingImageUploaderConfiguration * _Nonnull)configuration completion:(void (^ _Nonnull)(BOOL, NSDictionary * _Nullable, NSError * _Nullable))completion andProgressHandler:(void (^ _Nullable)(int64_t, int64_t, int64_t))progressHandler; +@end + +@protocol FBSDKGraphRequestConnecting; + +@interface FBSDKGamingImageUploader (SWIFT_EXTENSION(FBSDKGamingServicesKit)) +- (void)requestConnection:(id _Nonnull)connection didSendBodyData:(NSInteger)bytesWritten totalBytesWritten:(NSInteger)totalBytesWritten totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite; +@end + +@class UIImage; + +SWIFT_CLASS_NAMED("GamingImageUploaderConfiguration") +@interface FBSDKGamingImageUploaderConfiguration : NSObject +@property (nonatomic, readonly, strong) UIImage * _Nonnull image; +@property (nonatomic, readonly, copy) NSString * _Nullable caption; +@property (nonatomic, readonly) BOOL shouldLaunchMediaDialog; +/// A model for Gaming image upload content to be shared. +/// @param image the image that will be shared. +/// @param caption and optional caption that will appear along side the image on Facebook. +/// @param shouldLaunchMediaDialog whether or not to open the media dialog on Facebook when the upload completes. +- (nonnull instancetype)initWithImage:(UIImage * _Nonnull)image caption:(NSString * _Nullable)caption shouldLaunchMediaDialog:(BOOL)shouldLaunchMediaDialog OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +@class FBSDKURL; + +SWIFT_CLASS_NAMED("GamingPayload") +@interface FBSDKGamingPayload : NSObject +@property (nonatomic, strong) FBSDKURL * _Nonnull URL; +@property (nonatomic, copy) NSString * _Nonnull payload; +- (nonnull instancetype)initWithURL:(FBSDKURL * _Nonnull)URL OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_PROTOCOL_NAMED("GamingPayloadDelegate") +@protocol FBSDKGamingPayloadDelegate +@optional +/// Delegate method will be triggered when a GamingPayloadObserver parses a url with a payload and game request ID +/// @param payload The payload recieved in the url +/// @param gameRequestID The game request ID recieved in the url +- (void)parsedGameRequestURLContaining:(FBSDKGamingPayload * _Nonnull)payload gameRequestID:(NSString * _Nonnull)gameRequestID; +/// Delegate method will be triggered when a GamingPayloadObserver parses a gaming context url with a payload and game context token ID. The current gaming context will be update with the context ID. +/// @param payload The payload recieved in the url +- (void)parsedGamingContextURLContaining:(FBSDKGamingPayload * _Nonnull)payload; +/// Delegate method will be triggered when a GamingPayloadObserver parses a url with a payload and tournament ID +/// @param payload The payload associated with the tournament +/// @param tournamentID The tournament ID the player wants to enter +- (void)parsedTournamentURLContaining:(FBSDKGamingPayload * _Nonnull)payload tournamentID:(NSString * _Nonnull)tournamentID; +@end + + +SWIFT_CLASS_NAMED("GamingPayloadObserver") +@interface FBSDKGamingPayloadObserver : NSObject +@property (nonatomic, weak) id _Nullable delegate; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +- (nonnull instancetype)initWithDelegate:(id _Nullable)delegate; +@end + + +@interface FBSDKGamingPayloadObserver (SWIFT_EXTENSION(FBSDKGamingServicesKit)) +- (BOOL)application:(UIApplication * _Nonnull)application openURL:(NSURL * _Nonnull)url sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +@end + +@class FBSDKGamingVideoUploaderConfiguration; + +SWIFT_CLASS_NAMED("GamingVideoUploader") +@interface FBSDKGamingVideoUploader : NSObject +/// Runs an upload to a users Gaming Media Library with the given configuration +/// @param configuration model object contain the content that will be uploaded +/// @param completion a callback that is fired when the upload completes. ++ (void)uploadVideoWithConfiguration:(FBSDKGamingVideoUploaderConfiguration * _Nonnull)configuration andResultCompletion:(void (^ _Nonnull)(BOOL, NSDictionary * _Nullable, NSError * _Nullable))completion; +/// Runs an upload to a users Gaming Media Library with the given configuration +/// @param configuration model object contain the content that will be uploaded +/// @param completion a callback that is fired when the upload completes. +/// @param progressHandler an optional callback that is fired multiple times as bytes are transferred to Facebook. ++ (void)uploadVideoWithConfiguration:(FBSDKGamingVideoUploaderConfiguration * _Nonnull)configuration completion:(void (^ _Nonnull)(BOOL, NSDictionary * _Nullable, NSError * _Nullable))completion andProgressHandler:(void (^ _Nullable)(int64_t, int64_t, int64_t))progressHandler; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +SWIFT_CLASS_NAMED("GamingVideoUploaderConfiguration") +@interface FBSDKGamingVideoUploaderConfiguration : NSObject +@property (nonatomic, readonly, copy) NSURL * _Nonnull videoURL; +@property (nonatomic, readonly, copy) NSString * _Nullable caption; +/// A model for Gaming video upload content to be shared. +/// @param videoURL a url to the videos location on local disk. +/// @param caption and optional caption that will appear along side the video on Facebook. +- (nonnull instancetype)initWithVideoURL:(NSURL * _Nonnull)videoURL caption:(NSString * _Nullable)caption OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_CLASS("_TtC22FBSDKGamingServicesKit21ShareTournamentDialog") +@interface ShareTournamentDialog : NSObject +- (BOOL)isAuthenticationURL:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT; +- (BOOL)application:(UIApplication * _Nullable)application openURL:(NSURL * _Nullable)url sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +- (BOOL)canOpenURL:(NSURL * _Nonnull)url forApplication:(UIApplication * _Nullable)application sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +- (void)applicationDidBecomeActive:(UIApplication * _Nonnull)application; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +/// A model for an instant games switchAsync cross play request. +SWIFT_CLASS_NAMED("SwitchContextContent") +@interface FBSDKSwitchContextContent : NSObject +- (nonnull instancetype)initDialogContentWithContextID:(NSString * _Nonnull)contextID OBJC_DESIGNATED_INITIALIZER; +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// A dialog to switch the current gaming context through a web view +SWIFT_CLASS_NAMED("SwitchContextDialog") +@interface FBSDKSwitchContextDialog : FBSDKContextWebDialog +/// Builds a switch context web dialog with content and a delegate. +///
    +///
  • +/// Parameters: +///
  • +///
  • +/// content: The content for the switch context dialog +///
  • +///
  • +/// windowFinder: The application window finder that provides the window to display the dialog +///
  • +///
  • +/// delegate: The receiver’s delegate used to let the receiver know if a context switch was successful +///
  • +///
++ (nonnull instancetype)dialogWithContent:(FBSDKSwitchContextContent * _Nonnull)content windowFinder:(id <_FBSDKWindowFinding> _Nonnull)windowFinder delegate:(id _Nonnull)delegate SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("This method is deprecated and will be removed in the next major release. Use the initializer `init(content:windowFinder:delegate:)` instead"); +/// Creates a switch context web dialog with content and a delegate. +/// \param content The content for the switch context dialog +/// +/// \param windowFinder The application window finder that provides the window to display the dialog +/// +/// \param delegate The receiver’s delegate used to let the receiver know a context switch was successful or failed +/// +- (nonnull instancetype)initWithContent:(FBSDKSwitchContextContent * _Nonnull)content windowFinder:(id <_FBSDKWindowFinding> _Nonnull)windowFinder delegate:(id _Nonnull)delegate OBJC_DESIGNATED_INITIALIZER; +- (BOOL)show SWIFT_WARN_UNUSED_RESULT; +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +@end + + + +@class NSDate; + +/// An internal representation of tournament graph objects. Use Tournament instead. +/// warning: +/// For internal use only! Subject to change or removal at any time. +SWIFT_CLASS("_TtC22FBSDKGamingServicesKit16_FBSDKTournament") +@interface _FBSDKTournament : NSObject +/// The unique ID that is associated with this tournament. +@property (nonatomic, readonly, copy) NSString * _Nonnull identifier; +/// Timestamp when the tournament ends. +/// If the expiration is in the past, then the tournament is already finished and has expired. +@property (nonatomic, readonly, copy) NSDate * _Nullable endTime; +/// Title of the tournament provided upon the creation of the tournament. +@property (nonatomic, readonly, copy) NSString * _Nullable title; +/// Payload of the tournament provided upon the creation of the tournament. +@property (nonatomic, copy) NSString * _Nullable payload; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +@class _FBSDKTournamentConfig; + +/// An internal wrapper for sharing tournaments via dialog. Use ShareTournamentDialog instead. +/// warning: +/// For internal use only! Subject to change or removal at any time. +SWIFT_CLASS_NAMED("_ShareTournamentDialog") +@interface _FBSDKShareTournamentDialog : NSObject +/// Attempts to show the share dialog to share an existing tournament +///
    +///
  • +/// throws Will throw if an error occurs when attempting to show the dialog +///
  • +///
+/// \param score A score to share in the tournament could be a numeric score or time interval +/// dependent on the given tournament score type +/// +/// \param tournamentID The ID of the tournament to share and update with the given score +/// +- (BOOL)showWithScore:(NSInteger)score tournamentID:(NSString * _Nonnull)tournamentID error:(NSError * _Nullable * _Nullable)error; +/// Attempts to show the share dialog to share an existing tournament +///
    +///
  • +/// throws Will throw if an error occurs when attempting to show the dialog +///
  • +///
+/// \param score A score to share in the tournament could be a numeric score or time interval +/// dependent on the given tournament score type +/// +/// \param tournament The tournament to share and update with the given score +/// +- (BOOL)showWithScore:(NSInteger)score tournament:(_FBSDKTournament * _Nonnull)tournament error:(NSError * _Nullable * _Nullable)error; +/// Attempts to show the share dialog to share a newly created tournnament +///
    +///
  • +/// throws Will throw if an error occurs when attempting to show the dialog +///
  • +///
+/// \param initialScore An initial score to share, could be a numeric score or time interval +/// dependent on the tournament configuration +/// +/// \param config The tournament configuration used to create a new tournament +/// +- (BOOL)showWithInitialScore:(NSInteger)initialScore config:(_FBSDKTournamentConfig * _Nonnull)config error:(NSError * _Nullable * _Nullable)error; +- (BOOL)isAuthenticationURL:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT; +- (BOOL)application:(UIApplication * _Nullable)application open:(NSURL * _Nullable)url sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +- (BOOL)canOpen:(NSURL * _Nonnull)url for:(UIApplication * _Nullable)application sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +- (void)applicationDidBecomeActive:(UIApplication * _Nonnull)application; +- (void)didFailWithError:(NSError * _Nonnull)error dialog:(ShareTournamentDialog * _Nonnull)dialog; +- (void)didCancelWithDialog:(ShareTournamentDialog * _Nonnull)dialog; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An internal protocol for sharing tournaments. Use ShareTournamentDialog and ShareTournamentDialogDelegate instead. +/// warning: +/// For internal use only! Subject to change or removal at any time. +SWIFT_PROTOCOL_NAMED("_ShareTournamentDialogDelegate") +@protocol _FBSDKShareTournamentDialogDelegate +- (void)didCompleteWithDialog:(_FBSDKShareTournamentDialog * _Nonnull)dialog tournament:(_FBSDKTournament * _Nonnull)tournament; +- (void)didFailWithError:(NSError * _Nonnull)error dialog:(_FBSDKShareTournamentDialog * _Nonnull)dialog; +- (void)didCancelWithDialog:(_FBSDKShareTournamentDialog * _Nonnull)dialog; +@end + + +/// An internal object for configuring tournament share dialogs. Use TournamentConfig instead. +/// warning: +/// For internal use only! Subject to change or removal at any time. +SWIFT_CLASS_NAMED("_TournamentConfig") +@interface _FBSDKTournamentConfig : NSObject +/// Title of the tournament +@property (nonatomic, copy) NSString * _Nullable title; +/// Payload of the tournament +@property (nonatomic, copy) NSString * _Nullable payload; +/// The image associated with the tournament +@property (nonatomic, strong) UIImage * _Nullable image; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An internal class for fetching tournament objects. Use TournamentFetcher instead. +/// warning: +/// For internal use only! Subject to change or removal at any time. +SWIFT_CLASS_NAMED("_TournamentFetcher") +@interface _FBSDKTournamentFetcher : NSObject +/// Attempts to fetch all the tournaments where the current logged in user is a participant ; +/// \param completionHandler The caller’s completion handler to invoke once the graph request is complete +/// +- (void)fetchTournamentsWithCompletionHandler:(void (^ _Nonnull)(NSArray<_FBSDKTournament *> * _Nullable, NSError * _Nullable))completionHandler; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// An internal enum for different methods of tournament scoring . Use TournamentScoreType instead. +/// warning: +/// For internal use only! Subject to change or removal at any time. +typedef SWIFT_ENUM_NAMED(NSInteger, _FBSDKTournamentScoreType, "_TournamentScoreType", open) { + _FBSDKTournamentScoreTypeNumeric = 0, + _FBSDKTournamentScoreTypeTime = 1, +}; + +/// An internal enum for sorting tournament scores. Use TournamentSortOrder instead. +/// warning: +/// For internal use only! Subject to change or removal at any time. +typedef SWIFT_ENUM_NAMED(NSInteger, _FBSDKTournamentSortOrder, "_TournamentSortOrder", open) { + _FBSDKTournamentSortOrderHigherIsBetter = 0, + _FBSDKTournamentSortOrderLowerIsBetter = 1, +}; + + +/// An internal class for fetching tournament objects. Use TournamentUpdater instead. +/// warning: +/// For internal use only! Subject to change or removal at any time. +SWIFT_CLASS_NAMED("_TournamentUpdater") +@interface _FBSDKTournamentUpdater : NSObject +/// Updates the given tournament with the given score +/// \param tournamentID The ID of the tournament you want to update +/// +/// \param score The new score to update within the tournament +/// +/// \param completionHandler The caller’s completion handler to invoke once the graph request is complete. Completes with true if successful. +/// +- (void)updateWithTournamentID:(NSString * _Nonnull)tournamentID score:(NSInteger)score completionHandler:(void (^ _Nonnull)(BOOL, NSError * _Nullable))completionHandler; +/// Updates the given tournament with the given score +/// \param tournament The tournament you want to update +/// +/// \param score The new score to update within the tournament +/// +/// \param completionHandler The caller’s completion handler to invoke once the graph request is complete. Completes with true if successful. +/// +- (void)updateWithTournament:(_FBSDKTournament * _Nonnull)tournament score:(NSInteger)score completionHandler:(void (^ _Nonnull)(BOOL, NSError * _Nullable))completionHandler; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +#ifndef FBSDKGAMINGSERVICESKIT_SWIFT_H +#define FBSDKGAMINGSERVICESKIT_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import CoreGraphics; +@import FBSDKCoreKit; +@import FBSDKShareKit; +@import Foundation; +@import ObjectiveC; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKGamingServicesKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + +/// A protocol that a content object must conform to be used in a Gaming Services dialog +SWIFT_PROTOCOL_NAMED("ValidatableProtocol") +@protocol FBSDKValidatable +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +@end + +enum FBSDKChooseContextFilter : NSInteger; +@class NSNumber; +@class NSString; + +/// A model for an instant games choose context app switch dialog +SWIFT_CLASS_NAMED("ChooseContextContent") +@interface FBSDKChooseContextContent : NSObject +/// This sets the filter which determines which context will show when the user is app switched to the choose context dialog. +@property (nonatomic) enum FBSDKChooseContextFilter filter; +/// This sets the maximum number of participants that the suggested context(s) shown in the dialog should have. +@property (nonatomic) NSInteger maxParticipants; +/// This sets the minimum number of participants that the suggested context(s) shown in the dialog should have. +@property (nonatomic) NSInteger minParticipants; ++ (NSString * _Nonnull)filtersNameForFilters:(enum FBSDKChooseContextFilter)filter SWIFT_WARN_UNUSED_RESULT; +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@protocol FBSDKContextDialogDelegate; + +/// The protocol sdk dialogs must conform to and implement all the following methods. +SWIFT_PROTOCOL_NAMED("DialogProtocol") +@protocol FBSDKDialog +/// The receiver’s delegate or nil if it doesn’t have a delegate. +@property (nonatomic, weak) id _Nullable delegate; +/// The content object used to create the specific dialog +@property (nonatomic, strong) id _Nullable dialogContent; +/// Begins to show the specfic dialog +/// @return true if the receiver was able to show the dialog, otherwise false. +- (BOOL)show SWIFT_WARN_UNUSED_RESULT; +/// Validates the content for the dialog +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +@end + +@class FBSDKWebDialog; +@protocol _FBSDKWindowFinding; + +/// A super class type for the context dialogs classes that show an in-app webview to display content. +SWIFT_CLASS_NAMED("ContextWebDialog") +@interface FBSDKContextWebDialog : NSObject +@property (nonatomic, strong) id _Nullable delegate; +@property (nonatomic, strong) id _Nullable dialogContent; +@property (nonatomic, strong) FBSDKWebDialog * _Nullable currentWebDialog; +- (BOOL)show SWIFT_WARN_UNUSED_RESULT; +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +- (void)webDialog:(FBSDKWebDialog * _Nonnull)webDialog didCompleteWithResults:(NSDictionary * _Nonnull)results; +- (void)webDialog:(FBSDKWebDialog * _Nonnull)webDialog didFailWithError:(NSError * _Nonnull)error; +- (void)webDialogDidCancel:(FBSDKWebDialog * _Nonnull)webDialog; +/// Depending on the content size within the browser, this method allows for the resizing of web dialog +- (CGRect)createWebDialogFrameWithWidth:(CGFloat)width height:(CGFloat)height windowFinder:(id <_FBSDKWindowFinding> _Nonnull)windowFinder SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +@class UIApplication; +@class NSURL; + +/// A dialog for the choose context through app switch +SWIFT_CLASS_NAMED("ChooseContextDialog") +@interface FBSDKChooseContextDialog : FBSDKContextWebDialog +/// Convenience method to build up a choose context app switch with content and a delegate. +/// @param content The content for the choose context dialog +/// @param delegate The receiver’s delegate. +- (nonnull instancetype)initWithContent:(FBSDKChooseContextContent * _Nonnull)content delegate:(id _Nonnull)delegate; +- (BOOL)show SWIFT_WARN_UNUSED_RESULT; +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +- (BOOL)application:(UIApplication * _Nullable)application openURL:(NSURL * _Nullable)url sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +- (BOOL)canOpenURL:(NSURL * _Nonnull)url forApplication:(UIApplication * _Nullable)application sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +- (void)applicationDidBecomeActive:(UIApplication * _Nonnull)application; +- (BOOL)isAuthenticationURL:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT; +@end + + +SWIFT_PROTOCOL_NAMED("Showable") +@protocol FBSDKShowable +- (BOOL)show SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKChooseContextDialog (SWIFT_EXTENSION(FBSDKGamingServicesKit)) +@end + +typedef SWIFT_ENUM_NAMED(NSInteger, FBSDKChooseContextFilter, "ChooseContextFilter", open) { + FBSDKChooseContextFilterNone = 0, + FBSDKChooseContextFilterExistingChallenges = 1, + FBSDKChooseContextFilterNewPlayersOnly = 2, + FBSDKChooseContextFilterNewContextOnly = 3, +}; + + +/// A delegate for context dialogs to communicate with the dialog handler. +/// The delegate is notified with the results of the cross play request as long as the application has permissions to +/// receive the information. For example, if the person is not signed into the containing app, the shower may not be able +/// to distinguish between completion of a cross play request and cancellation. +SWIFT_PROTOCOL_NAMED("ContextDialogDelegate") +@protocol FBSDKContextDialogDelegate +/// Sent to the delegate when the context dialog completes without error. +/// @param contextDialog The FBSDKContextDialog that completed. +- (void)contextDialogDidComplete:(FBSDKContextWebDialog * _Nonnull)contextDialog; +/// Sent to the delegate when the context dialog encounters an error. +/// @param contextDialog The FBSDKContextDialog that completed. +/// @param error The error. +- (void)contextDialog:(FBSDKContextWebDialog * _Nonnull)contextDialog didFailWithError:(NSError * _Nonnull)error; +/// Sent to the delegate when the cross play request dialog is cancelled. +/// @param contextDialog The FBSDKContextDialog that completed. +- (void)contextDialogDidCancel:(FBSDKContextWebDialog * _Nonnull)contextDialog; +@end + +@class FBSDKCreateContextContent; +@class NSError; +@class FBSDKSwitchContextContent; +@class FBSDKCreateContextDialog; +@class FBSDKSwitchContextDialog; + +/// A dialog presenter responsible for creating and showing all the dialogs that create, switch, +/// choose and otherwise manipulate the gaming context. +SWIFT_CLASS_NAMED("ContextDialogPresenter") +@interface FBSDKContextDialogPresenter : NSObject +- (nonnull instancetype)init; +/// Convenience method to build up and show an instant games create context dialog with content and delegate. +/// \param content The content for the create context dialog +/// +/// \param delegate The receiver’s delegate. +/// ++ (NSError * _Nullable)showCreateContextDialogWithContent:(FBSDKCreateContextContent * _Nonnull)content delegate:(id _Nonnull)delegate SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowCreateContextDialog(content:delegate:)` instead"); +/// Convenience method to build up and show an instant games create context dialog with content and delegate. +/// \param content The content for the create context dialog +/// +/// \param delegate The receiver’s delegate. +/// +- (BOOL)makeAndShowCreateContextDialogWithContent:(FBSDKCreateContextContent * _Nonnull)content delegate:(id _Nonnull)delegate error:(NSError * _Nullable * _Nullable)error; +/// Convenience method to build up and show an instant games switch context dialog with content and delegate. +/// \param content The content for the switch context dialog +/// +/// \param delegate The receiver’s delegate. +/// ++ (NSError * _Nullable)showSwitchContextDialogWithContent:(FBSDKSwitchContextContent * _Nonnull)content delegate:(id _Nullable)delegate SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowSwitchContextDialog(content:delegate:)` instead"); +/// Convenience method to build up and show an instant games switch context dialog with the giving content and delegate. +/// \param content The content for the switch context dialog +/// +/// \param delegate The receiver’s delegate. +/// +- (BOOL)makeAndShowSwitchContextDialogWithContent:(FBSDKSwitchContextContent * _Nonnull)content delegate:(id _Nonnull)delegate error:(NSError * _Nullable * _Nullable)error; +/// Convenience method to build up and show an instant games choose context dialog with content and a delegate. +/// \param content The content for the choose context dialog +/// +/// \param delegate The receiver’s delegate. +/// ++ (FBSDKChooseContextDialog * _Nonnull)showChooseContextDialogWithContent:(FBSDKChooseContextContent * _Nonnull)content delegate:(id _Nonnull)delegate SWIFT_DEPRECATED_MSG("This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowChooseContextDialog(content:delegate:)` instead"); +/// Convenience method to build up and show an instant games choose context dialog with content and a delegate. +/// \param content The content for the choose context dialog +/// +/// \param delegate The receiver’s delegate. +/// +- (void)makeAndShowChooseContextDialogWithContent:(FBSDKChooseContextContent * _Nonnull)content delegate:(id _Nonnull)delegate; ++ (FBSDKChooseContextDialog * _Nonnull)showChooseContextDialogWith:(FBSDKChooseContextContent * _Nonnull)content delegate:(id _Nonnull)delegate SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("showChooseContextDialog is deprecated. Please use the instance method `makeAndShowChooseContextDialog` instead"); +/// Convenience method to build up an instant games create context dialog with content and delegate. +///
    +///
  • +/// Parameters +///
      +///
    • +/// content: The content for the create context dialog +///
    • +///
    • +/// delegate: The receiver’s delegate. +///
    • +///
    +///
  • +///
++ (FBSDKCreateContextDialog * _Nullable)createContextDialogWithContent:(FBSDKCreateContextContent * _Nonnull)content delegate:(id _Nullable)delegate SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowCreateContextDialog(content:delegate:)` instead"); +/// Convenience method to build up an instant games switch context dialog with content and delegate. +/// \param content The content for the switch context dialog +/// +/// \param delegate The receiver’s delegate. +/// ++ (FBSDKSwitchContextDialog * _Nullable)switchContextDialogWithContent:(FBSDKSwitchContextContent * _Nonnull)content delegate:(id _Nullable)delegate SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowSwitchContextDialog(content:delegate:)` instead"); +@end + + + +/// A model for an instant games createAsync cross play request. +SWIFT_CLASS_NAMED("CreateContextContent") +@interface FBSDKCreateContextContent : NSObject +/// The ID of the player that is being challenged. +/// @return The ID for the player being challenged +@property (nonatomic, copy) NSString * _Nonnull playerID; +/// Builds a content object that will be use to display a create context dialog +/// @param playerID The player ID of the user being challenged which will be used to create a game context +- (nonnull instancetype)initDialogContentWithPlayerID:(NSString * _Nonnull)playerID OBJC_DESIGNATED_INITIALIZER; +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// A dialog to create a context through a web view +SWIFT_CLASS_NAMED("CreateContextDialog") +@interface FBSDKCreateContextDialog : FBSDKContextWebDialog +/// Builds a context creation web dialog with content and a delegate. +/// @param content The content for the create context dialog +/// @param windowFinder The application window finder that provides the window to display the dialog +/// @param delegate The receiver’s delegate used to let the receiver know a context was created or failure +- (nonnull instancetype)initWithContent:(FBSDKCreateContextContent * _Nonnull)content windowFinder:(id <_FBSDKWindowFinding> _Nonnull)windowFinder delegate:(id _Nonnull)delegate OBJC_DESIGNATED_INITIALIZER; +- (BOOL)show; +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +@end + + +@interface FBSDKCreateContextDialog (SWIFT_EXTENSION(FBSDKGamingServicesKit)) +@end + + + + +SWIFT_CLASS_NAMED("FriendFinderDialog") +@interface FBSDKFriendFinderDialog : NSObject +- (nonnull instancetype)init; ++ (void)launchFriendFinderDialogWithCompletionHandler:(void (^ _Nonnull)(BOOL, NSError * _Nullable))completionHandler; +@end + +/// Additional context about the nature of the game request. +typedef SWIFT_ENUM_NAMED(NSUInteger, FBSDKGameRequestActionType, "GameRequestActionType", open) { +/// No action type + FBSDKGameRequestActionTypeNone = 0, +/// Send action type: The user is sending an object to the friends. + FBSDKGameRequestActionTypeSend = 1, +/// Ask For action type: The user is asking for an object from friends. + FBSDKGameRequestActionTypeAskFor = 2, +/// Turn action type: It is the turn of the friends to play against the user in a match. + FBSDKGameRequestActionTypeTurn = 3, +/// Invite action type: The user is inviting a friend. + FBSDKGameRequestActionTypeInvite = 4, +}; + +enum FBSDKGameRequestFilter : NSUInteger; +@class NSCoder; + +/// A model for a game request. +SWIFT_CLASS_NAMED("GameRequestContent") +@interface FBSDKGameRequestContent : NSObject +/// Used when defining additional context about the nature of the request. +/// The parameter ‘objectID’ is required if the action type is either +/// ‘.send’ or ‘.askFor’. +/// seealso: +/// objectID +@property (nonatomic) enum FBSDKGameRequestActionType actionType; +/// Additional freeform data you may pass for tracking. This will be stored as part of +/// the request objects created. The maximum length is 255 characters. +@property (nonatomic, copy) NSString * _Nullable data; +/// This controls the set of friends someone sees if a multi-friend selector is shown. +/// It is .none by default, meaning that all friends can be shown. +/// If specify as .appUsers, only friends who use the app will be shown. +/// On the other hands, use .appNonUsers to filter only friends who do not use the app. +/// The parameter name is preserved to be consistent with the counter part on desktop. +@property (nonatomic) enum FBSDKGameRequestFilter filters; +/// A plain-text message to be sent as part of the request. This text will surface in the App Center view +/// of the request, but not on the notification jewel. Required parameter. +@property (nonatomic, copy) NSString * _Nonnull message; +/// The Open Graph object ID of the object being sent. +/// seealso: +/// actionType +@property (nonatomic, copy) NSString * _Nonnull objectID; +/// An array of user IDs, usernames or invite tokens (NSString) of people to send request. +/// These may or may not be a friend of the sender. If this is specified by the app, +/// the sender will not have a choice of recipients. If not, the sender will see a multi-friend selector +/// This is equivalent to the “to” parameter when using the web game request dialog. +@property (nonatomic, copy) NSArray * _Nonnull recipients; +/// An array of user IDs that will be included in the dialog as the first suggested friends. +/// Cannot be used together with filters. +/// This is equivalent to the suggestions parameter when using the web game request dialog. +@property (nonatomic, copy) NSArray * _Nonnull recipientSuggestions; +/// The title for the dialog. +@property (nonatomic, copy) NSString * _Nonnull title; +/// The call to action for the dialog. +@property (nonatomic, copy) NSString * _Nonnull cta; +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)options error:(NSError * _Nullable * _Nullable)error; +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +/// Compares the receiver to another game request content. +/// @param content The other content +/// @return true if the receiver’s values are equal to the other content’s values; otherwise false +- (BOOL)isEqualToGameRequestContent:(FBSDKGameRequestContent * _Nonnull)content SWIFT_WARN_UNUSED_RESULT; +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) BOOL supportsSecureCoding;) ++ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)initWithCoder:(NSCoder * _Nonnull)decoder; +- (void)encodeWithCoder:(NSCoder * _Nonnull)encoder; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@protocol FBSDKGameRequestDialogDelegate; + +/// A dialog for sending game requests. +SWIFT_CLASS_NAMED("GameRequestDialog") +@interface FBSDKGameRequestDialog : NSObject +/// The receiver’s delegate or nil if it doesn’t have a delegate. +@property (nonatomic, weak) id _Nullable delegate; +/// The content for game request. +@property (nonatomic, strong) FBSDKGameRequestContent * _Nonnull content; +/// Specifies whether frictionless requests are enabled. +@property (nonatomic) BOOL isFrictionlessRequestsEnabled; +/// A Boolean value that indicates whether the receiver can initiate a game request. +/// May return false if the appropriate Facebook app is not installed and is required or an access token is +/// required but not available. This method does not validate the content on the receiver, so this can be checked before +/// building up the content. +/// See validate() +/// @return true if the receiver can share, otherwise false. +@property (nonatomic, readonly) BOOL canShow; +- (nonnull instancetype)initWithContent:(FBSDKGameRequestContent * _Nonnull)content delegate:(id _Nullable)delegate OBJC_DESIGNATED_INITIALIZER; +/// Convenience method to build up a game request with content and a delegate. +/// @param content The content for the game request. +/// @param delegate The receiver’s delegate. ++ (FBSDKGameRequestDialog * _Nonnull)dialogWithContent:(FBSDKGameRequestContent * _Nonnull)content delegate:(id _Nullable)delegate SWIFT_WARN_UNUSED_RESULT; +/// Convenience method to build up and show a game request with content and a delegate. +/// @param content The content for the game request. +/// @param delegate The receiver’s delegate. ++ (FBSDKGameRequestDialog * _Nonnull)showWithContent:(FBSDKGameRequestContent * _Nonnull)content delegate:(id _Nullable)delegate; +/// Begins the game request from the receiver. +/// @return true if the receiver was able to show the dialog, otherwise false. +- (BOOL)show; +/// Validates the content on the receiver. +- (BOOL)validateWithError:(NSError * _Nullable * _Nullable)error; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface FBSDKGameRequestDialog (SWIFT_EXTENSION(FBSDKGamingServicesKit)) +- (void)webDialog:(FBSDKWebDialog * _Nonnull)webDialog didCompleteWithResults:(NSDictionary * _Nonnull)results; +- (void)webDialog:(FBSDKWebDialog * _Nonnull)webDialog didFailWithError:(NSError * _Nonnull)error; +- (void)webDialogDidCancel:(FBSDKWebDialog * _Nonnull)webDialog; +@end + + +@interface FBSDKGameRequestDialog (SWIFT_EXTENSION(FBSDKGamingServicesKit)) +- (BOOL)application:(UIApplication * _Nullable)application openURL:(NSURL * _Nullable)potentialURL sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +- (BOOL)canOpenURL:(NSURL * _Nonnull)url forApplication:(UIApplication * _Nullable)application sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +- (void)applicationDidBecomeActive:(UIApplication * _Nonnull)application; +- (BOOL)isAuthenticationURL:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT; +@end + + +/// A delegate for GameRequestDialog. +/// The delegate is notified with the results of the game request as long as the application has permissions to +/// receive the information. For example, if the person is not signed into the containing app, the shower may not be able +/// to distinguish between completion of a game request and cancellation. +SWIFT_PROTOCOL_NAMED("GameRequestDialogDelegate") +@protocol FBSDKGameRequestDialogDelegate +/// Sent to the delegate when the game request completes without error. +/// @param gameRequestDialog The GameRequestDialog that completed. +/// @param results The results from the dialog. This may be nil or empty. +- (void)gameRequestDialog:(FBSDKGameRequestDialog * _Nonnull)gameRequestDialog didCompleteWithResults:(NSDictionary * _Nonnull)results; +/// Sent to the delegate when the game request encounters an error. +/// @param gameRequestDialog The GameRequestDialog that completed. +/// @param error The error. +- (void)gameRequestDialog:(FBSDKGameRequestDialog * _Nonnull)gameRequestDialog didFailWithError:(NSError * _Nonnull)error; +/// Sent to the delegate when the game request dialog is cancelled. +/// @param gameRequestDialog The GameRequestDialog that completed. +- (void)gameRequestDialogDidCancel:(FBSDKGameRequestDialog * _Nonnull)gameRequestDialog; +@end + +/// Filter for who can be displayed in the multi-friend selector. +typedef SWIFT_ENUM_NAMED(NSUInteger, FBSDKGameRequestFilter, "GameRequestFilter", open) { +/// No filter, all friends can be displayed. + FBSDKGameRequestFilterNone = 0, +/// Friends using the app can be displayed. + FBSDKGameRequestFilterAppUsers = 1, +/// Friends not using the app can be displayed. + FBSDKGameRequestFilterAppNonUsers = 2, +/// All friends can be displayed if FB app is installed. + FBSDKGameRequestFilterEverybody = 3, +}; + + +SWIFT_CLASS_NAMED("GameRequestURLProvider") +@interface FBSDKGameRequestURLProvider : NSObject ++ (NSURL * _Nullable)createDeepLinkURLWithQueryDictionary:(NSDictionary * _Nonnull)queryDictionary SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)filtersNameForFilters:(enum FBSDKGameRequestFilter)filters SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)actionTypeNameForActionType:(enum FBSDKGameRequestActionType)actionType SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +SWIFT_CLASS_NAMED("GamingContext") +@interface FBSDKGamingContext : NSObject +/// A shared object that holds data about the current user’s game instance which could be solo game or multiplayer game with other users. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, strong) FBSDKGamingContext * _Nullable currentContext;) ++ (FBSDKGamingContext * _Nullable)currentContext SWIFT_WARN_UNUSED_RESULT; ++ (void)setCurrentContext:(FBSDKGamingContext * _Nullable)value; +/// A unique identifier for the current game context. This represents a specific game instance that the user is playing in. +@property (nonatomic, readonly, copy) NSString * _Nonnull identifier; +/// The number of players in the current user’s game instance +@property (nonatomic, readonly) NSInteger size; +- (nullable instancetype)initWithIdentifier:(NSString * _Nonnull)identifier size:(NSInteger)size OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_CLASS_NAMED("GamingGroupIntegration") +@interface FBSDKGamingGroupIntegration : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (void)openGroupPageWithCompletionHandler:(void (^ _Nonnull)(BOOL, NSError * _Nullable))completionHandler; +@end + +@class FBSDKGamingImageUploaderConfiguration; + +SWIFT_CLASS_NAMED("GamingImageUploader") +@interface FBSDKGamingImageUploader : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// Runs an upload to a users Gaming Media Library with the given configuration +/// @param configuration model object contain the content that will be uploaded +/// @param completion a callback that is fired dependent on the configuration. +/// Fired when the upload completes or when the users returns to the caller app +/// after the media dialog is shown. ++ (void)uploadImageWithConfiguration:(FBSDKGamingImageUploaderConfiguration * _Nonnull)configuration andResultCompletion:(void (^ _Nonnull)(BOOL, NSDictionary * _Nullable, NSError * _Nullable))completion; +/// Runs an upload to a users Gaming Media Library with the given configuration +/// @param configuration model object contain the content that will be uploaded +/// @param completion a callback that is fired dependent on the configuration. +/// Fired when the upload completes or when the users returns to the caller app +/// after the media dialog is shown. +/// @param progressHandler an optional callback that is fired multiple times as +/// bytes are transferred to Facebook. ++ (void)uploadImageWithConfiguration:(FBSDKGamingImageUploaderConfiguration * _Nonnull)configuration completion:(void (^ _Nonnull)(BOOL, NSDictionary * _Nullable, NSError * _Nullable))completion andProgressHandler:(void (^ _Nullable)(int64_t, int64_t, int64_t))progressHandler; +@end + +@protocol FBSDKGraphRequestConnecting; + +@interface FBSDKGamingImageUploader (SWIFT_EXTENSION(FBSDKGamingServicesKit)) +- (void)requestConnection:(id _Nonnull)connection didSendBodyData:(NSInteger)bytesWritten totalBytesWritten:(NSInteger)totalBytesWritten totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite; +@end + +@class UIImage; + +SWIFT_CLASS_NAMED("GamingImageUploaderConfiguration") +@interface FBSDKGamingImageUploaderConfiguration : NSObject +@property (nonatomic, readonly, strong) UIImage * _Nonnull image; +@property (nonatomic, readonly, copy) NSString * _Nullable caption; +@property (nonatomic, readonly) BOOL shouldLaunchMediaDialog; +/// A model for Gaming image upload content to be shared. +/// @param image the image that will be shared. +/// @param caption and optional caption that will appear along side the image on Facebook. +/// @param shouldLaunchMediaDialog whether or not to open the media dialog on Facebook when the upload completes. +- (nonnull instancetype)initWithImage:(UIImage * _Nonnull)image caption:(NSString * _Nullable)caption shouldLaunchMediaDialog:(BOOL)shouldLaunchMediaDialog OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +@class FBSDKURL; + +SWIFT_CLASS_NAMED("GamingPayload") +@interface FBSDKGamingPayload : NSObject +@property (nonatomic, strong) FBSDKURL * _Nonnull URL; +@property (nonatomic, copy) NSString * _Nonnull payload; +- (nonnull instancetype)initWithURL:(FBSDKURL * _Nonnull)URL OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_PROTOCOL_NAMED("GamingPayloadDelegate") +@protocol FBSDKGamingPayloadDelegate +@optional +/// Delegate method will be triggered when a GamingPayloadObserver parses a url with a payload and game request ID +/// @param payload The payload recieved in the url +/// @param gameRequestID The game request ID recieved in the url +- (void)parsedGameRequestURLContaining:(FBSDKGamingPayload * _Nonnull)payload gameRequestID:(NSString * _Nonnull)gameRequestID; +/// Delegate method will be triggered when a GamingPayloadObserver parses a gaming context url with a payload and game context token ID. The current gaming context will be update with the context ID. +/// @param payload The payload recieved in the url +- (void)parsedGamingContextURLContaining:(FBSDKGamingPayload * _Nonnull)payload; +/// Delegate method will be triggered when a GamingPayloadObserver parses a url with a payload and tournament ID +/// @param payload The payload associated with the tournament +/// @param tournamentID The tournament ID the player wants to enter +- (void)parsedTournamentURLContaining:(FBSDKGamingPayload * _Nonnull)payload tournamentID:(NSString * _Nonnull)tournamentID; +@end + + +SWIFT_CLASS_NAMED("GamingPayloadObserver") +@interface FBSDKGamingPayloadObserver : NSObject +@property (nonatomic, weak) id _Nullable delegate; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +- (nonnull instancetype)initWithDelegate:(id _Nullable)delegate; +@end + + +@interface FBSDKGamingPayloadObserver (SWIFT_EXTENSION(FBSDKGamingServicesKit)) +- (BOOL)application:(UIApplication * _Nonnull)application openURL:(NSURL * _Nonnull)url sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +@end + +@class FBSDKGamingVideoUploaderConfiguration; + +SWIFT_CLASS_NAMED("GamingVideoUploader") +@interface FBSDKGamingVideoUploader : NSObject +/// Runs an upload to a users Gaming Media Library with the given configuration +/// @param configuration model object contain the content that will be uploaded +/// @param completion a callback that is fired when the upload completes. ++ (void)uploadVideoWithConfiguration:(FBSDKGamingVideoUploaderConfiguration * _Nonnull)configuration andResultCompletion:(void (^ _Nonnull)(BOOL, NSDictionary * _Nullable, NSError * _Nullable))completion; +/// Runs an upload to a users Gaming Media Library with the given configuration +/// @param configuration model object contain the content that will be uploaded +/// @param completion a callback that is fired when the upload completes. +/// @param progressHandler an optional callback that is fired multiple times as bytes are transferred to Facebook. ++ (void)uploadVideoWithConfiguration:(FBSDKGamingVideoUploaderConfiguration * _Nonnull)configuration completion:(void (^ _Nonnull)(BOOL, NSDictionary * _Nullable, NSError * _Nullable))completion andProgressHandler:(void (^ _Nullable)(int64_t, int64_t, int64_t))progressHandler; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +SWIFT_CLASS_NAMED("GamingVideoUploaderConfiguration") +@interface FBSDKGamingVideoUploaderConfiguration : NSObject +@property (nonatomic, readonly, copy) NSURL * _Nonnull videoURL; +@property (nonatomic, readonly, copy) NSString * _Nullable caption; +/// A model for Gaming video upload content to be shared. +/// @param videoURL a url to the videos location on local disk. +/// @param caption and optional caption that will appear along side the video on Facebook. +- (nonnull instancetype)initWithVideoURL:(NSURL * _Nonnull)videoURL caption:(NSString * _Nullable)caption OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_CLASS("_TtC22FBSDKGamingServicesKit21ShareTournamentDialog") +@interface ShareTournamentDialog : NSObject +- (BOOL)isAuthenticationURL:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT; +- (BOOL)application:(UIApplication * _Nullable)application openURL:(NSURL * _Nullable)url sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +- (BOOL)canOpenURL:(NSURL * _Nonnull)url forApplication:(UIApplication * _Nullable)application sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +- (void)applicationDidBecomeActive:(UIApplication * _Nonnull)application; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +/// A model for an instant games switchAsync cross play request. +SWIFT_CLASS_NAMED("SwitchContextContent") +@interface FBSDKSwitchContextContent : NSObject +- (nonnull instancetype)initDialogContentWithContextID:(NSString * _Nonnull)contextID OBJC_DESIGNATED_INITIALIZER; +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// A dialog to switch the current gaming context through a web view +SWIFT_CLASS_NAMED("SwitchContextDialog") +@interface FBSDKSwitchContextDialog : FBSDKContextWebDialog +/// Builds a switch context web dialog with content and a delegate. +///
    +///
  • +/// Parameters: +///
  • +///
  • +/// content: The content for the switch context dialog +///
  • +///
  • +/// windowFinder: The application window finder that provides the window to display the dialog +///
  • +///
  • +/// delegate: The receiver’s delegate used to let the receiver know if a context switch was successful +///
  • +///
++ (nonnull instancetype)dialogWithContent:(FBSDKSwitchContextContent * _Nonnull)content windowFinder:(id <_FBSDKWindowFinding> _Nonnull)windowFinder delegate:(id _Nonnull)delegate SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("This method is deprecated and will be removed in the next major release. Use the initializer `init(content:windowFinder:delegate:)` instead"); +/// Creates a switch context web dialog with content and a delegate. +/// \param content The content for the switch context dialog +/// +/// \param windowFinder The application window finder that provides the window to display the dialog +/// +/// \param delegate The receiver’s delegate used to let the receiver know a context switch was successful or failed +/// +- (nonnull instancetype)initWithContent:(FBSDKSwitchContextContent * _Nonnull)content windowFinder:(id <_FBSDKWindowFinding> _Nonnull)windowFinder delegate:(id _Nonnull)delegate OBJC_DESIGNATED_INITIALIZER; +- (BOOL)show SWIFT_WARN_UNUSED_RESULT; +- (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error; +@end + + + +@class NSDate; + +/// An internal representation of tournament graph objects. Use Tournament instead. +/// warning: +/// For internal use only! Subject to change or removal at any time. +SWIFT_CLASS("_TtC22FBSDKGamingServicesKit16_FBSDKTournament") +@interface _FBSDKTournament : NSObject +/// The unique ID that is associated with this tournament. +@property (nonatomic, readonly, copy) NSString * _Nonnull identifier; +/// Timestamp when the tournament ends. +/// If the expiration is in the past, then the tournament is already finished and has expired. +@property (nonatomic, readonly, copy) NSDate * _Nullable endTime; +/// Title of the tournament provided upon the creation of the tournament. +@property (nonatomic, readonly, copy) NSString * _Nullable title; +/// Payload of the tournament provided upon the creation of the tournament. +@property (nonatomic, copy) NSString * _Nullable payload; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +@class _FBSDKTournamentConfig; + +/// An internal wrapper for sharing tournaments via dialog. Use ShareTournamentDialog instead. +/// warning: +/// For internal use only! Subject to change or removal at any time. +SWIFT_CLASS_NAMED("_ShareTournamentDialog") +@interface _FBSDKShareTournamentDialog : NSObject +/// Attempts to show the share dialog to share an existing tournament +///
    +///
  • +/// throws Will throw if an error occurs when attempting to show the dialog +///
  • +///
+/// \param score A score to share in the tournament could be a numeric score or time interval +/// dependent on the given tournament score type +/// +/// \param tournamentID The ID of the tournament to share and update with the given score +/// +- (BOOL)showWithScore:(NSInteger)score tournamentID:(NSString * _Nonnull)tournamentID error:(NSError * _Nullable * _Nullable)error; +/// Attempts to show the share dialog to share an existing tournament +///
    +///
  • +/// throws Will throw if an error occurs when attempting to show the dialog +///
  • +///
+/// \param score A score to share in the tournament could be a numeric score or time interval +/// dependent on the given tournament score type +/// +/// \param tournament The tournament to share and update with the given score +/// +- (BOOL)showWithScore:(NSInteger)score tournament:(_FBSDKTournament * _Nonnull)tournament error:(NSError * _Nullable * _Nullable)error; +/// Attempts to show the share dialog to share a newly created tournnament +///
    +///
  • +/// throws Will throw if an error occurs when attempting to show the dialog +///
  • +///
+/// \param initialScore An initial score to share, could be a numeric score or time interval +/// dependent on the tournament configuration +/// +/// \param config The tournament configuration used to create a new tournament +/// +- (BOOL)showWithInitialScore:(NSInteger)initialScore config:(_FBSDKTournamentConfig * _Nonnull)config error:(NSError * _Nullable * _Nullable)error; +- (BOOL)isAuthenticationURL:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT; +- (BOOL)application:(UIApplication * _Nullable)application open:(NSURL * _Nullable)url sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +- (BOOL)canOpen:(NSURL * _Nonnull)url for:(UIApplication * _Nullable)application sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation SWIFT_WARN_UNUSED_RESULT; +- (void)applicationDidBecomeActive:(UIApplication * _Nonnull)application; +- (void)didFailWithError:(NSError * _Nonnull)error dialog:(ShareTournamentDialog * _Nonnull)dialog; +- (void)didCancelWithDialog:(ShareTournamentDialog * _Nonnull)dialog; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An internal protocol for sharing tournaments. Use ShareTournamentDialog and ShareTournamentDialogDelegate instead. +/// warning: +/// For internal use only! Subject to change or removal at any time. +SWIFT_PROTOCOL_NAMED("_ShareTournamentDialogDelegate") +@protocol _FBSDKShareTournamentDialogDelegate +- (void)didCompleteWithDialog:(_FBSDKShareTournamentDialog * _Nonnull)dialog tournament:(_FBSDKTournament * _Nonnull)tournament; +- (void)didFailWithError:(NSError * _Nonnull)error dialog:(_FBSDKShareTournamentDialog * _Nonnull)dialog; +- (void)didCancelWithDialog:(_FBSDKShareTournamentDialog * _Nonnull)dialog; +@end + + +/// An internal object for configuring tournament share dialogs. Use TournamentConfig instead. +/// warning: +/// For internal use only! Subject to change or removal at any time. +SWIFT_CLASS_NAMED("_TournamentConfig") +@interface _FBSDKTournamentConfig : NSObject +/// Title of the tournament +@property (nonatomic, copy) NSString * _Nullable title; +/// Payload of the tournament +@property (nonatomic, copy) NSString * _Nullable payload; +/// The image associated with the tournament +@property (nonatomic, strong) UIImage * _Nullable image; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An internal class for fetching tournament objects. Use TournamentFetcher instead. +/// warning: +/// For internal use only! Subject to change or removal at any time. +SWIFT_CLASS_NAMED("_TournamentFetcher") +@interface _FBSDKTournamentFetcher : NSObject +/// Attempts to fetch all the tournaments where the current logged in user is a participant ; +/// \param completionHandler The caller’s completion handler to invoke once the graph request is complete +/// +- (void)fetchTournamentsWithCompletionHandler:(void (^ _Nonnull)(NSArray<_FBSDKTournament *> * _Nullable, NSError * _Nullable))completionHandler; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// An internal enum for different methods of tournament scoring . Use TournamentScoreType instead. +/// warning: +/// For internal use only! Subject to change or removal at any time. +typedef SWIFT_ENUM_NAMED(NSInteger, _FBSDKTournamentScoreType, "_TournamentScoreType", open) { + _FBSDKTournamentScoreTypeNumeric = 0, + _FBSDKTournamentScoreTypeTime = 1, +}; + +/// An internal enum for sorting tournament scores. Use TournamentSortOrder instead. +/// warning: +/// For internal use only! Subject to change or removal at any time. +typedef SWIFT_ENUM_NAMED(NSInteger, _FBSDKTournamentSortOrder, "_TournamentSortOrder", open) { + _FBSDKTournamentSortOrderHigherIsBetter = 0, + _FBSDKTournamentSortOrderLowerIsBetter = 1, +}; + + +/// An internal class for fetching tournament objects. Use TournamentUpdater instead. +/// warning: +/// For internal use only! Subject to change or removal at any time. +SWIFT_CLASS_NAMED("_TournamentUpdater") +@interface _FBSDKTournamentUpdater : NSObject +/// Updates the given tournament with the given score +/// \param tournamentID The ID of the tournament you want to update +/// +/// \param score The new score to update within the tournament +/// +/// \param completionHandler The caller’s completion handler to invoke once the graph request is complete. Completes with true if successful. +/// +- (void)updateWithTournamentID:(NSString * _Nonnull)tournamentID score:(NSInteger)score completionHandler:(void (^ _Nonnull)(BOOL, NSError * _Nullable))completionHandler; +/// Updates the given tournament with the given score +/// \param tournament The tournament you want to update +/// +/// \param score The new score to update within the tournament +/// +/// \param completionHandler The caller’s completion handler to invoke once the graph request is complete. Completes with true if successful. +/// +- (void)updateWithTournament:(_FBSDKTournament * _Nonnull)tournament score:(NSInteger)score completionHandler:(void (^ _Nonnull)(BOOL, NSError * _Nullable))completionHandler; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/Info.plist b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/Info.plist new file mode 100644 index 0000000..6c4d9e6 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/Info.plist differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000..410d89e Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000..aae53c5 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -0,0 +1,557 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKGamingServicesKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +import FBSDKShareKit +import Foundation +import Swift +import UIKit +import _Concurrency +@objc(FBSDKChooseContextFilter) public enum ChooseContextFilter : Swift.Int, Swift.CaseIterable { + case none + case existingChallenges + case newPlayersOnly + case newContextOnly + public var name: Swift.String { + get + } + public init?(rawValue: Swift.Int) + public typealias AllCases = [FBSDKGamingServicesKit.ChooseContextFilter] + public typealias RawValue = Swift.Int + public static var allCases: [FBSDKGamingServicesKit.ChooseContextFilter] { + get + } + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKChooseContextContent) final public class ChooseContextContent : ObjectiveC.NSObject, FBSDKGamingServicesKit.ValidatableProtocol { + @objc final public var filter: FBSDKGamingServicesKit.ChooseContextFilter + @objc final public var maxParticipants: Swift.Int + @objc final public var minParticipants: Swift.Int + @objc public static func filtersName(forFilters filter: FBSDKGamingServicesKit.ChooseContextFilter) -> Swift.String + @objc final public func validate() throws + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public init() + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKChooseContextDialog) final public class ChooseContextDialog : FBSDKGamingServicesKit.ContextWebDialog, FBSDKCoreKit.URLOpening { + @objc convenience public init(content: FBSDKGamingServicesKit.ChooseContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) + @objc override final public func show() -> Swift.Bool + @objc override final public func validate() throws + @objc final public func application(_ application: UIKit.UIApplication?, open url: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication) + @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool + @objc deinit +} +@objc(FBSDKContextDialogDelegate) public protocol ContextDialogDelegate { + @objc func contextDialogDidComplete(_ contextDialog: FBSDKGamingServicesKit.ContextWebDialog) + @objc func contextDialog(_ contextDialog: FBSDKGamingServicesKit.ContextWebDialog, didFailWithError error: Swift.Error) + @objc func contextDialogDidCancel(_ contextDialog: FBSDKGamingServicesKit.ContextWebDialog) +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKContextDialogPresenter) final public class ContextDialogPresenter : ObjectiveC.NSObject { + @objc override convenience dynamic public init() + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowCreateContextDialog(content:delegate:)` instead") + @objc(showCreateContextDialogWithContent:delegate:) final public class func showCreateContextDialog(withContent content: FBSDKGamingServicesKit.CreateContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) -> Foundation.NSError? + @objc final public func makeAndShowCreateContextDialog(content: FBSDKGamingServicesKit.CreateContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) throws + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowSwitchContextDialog(content:delegate:)` instead") + @objc(showSwitchContextDialogWithContent:delegate:) final public class func showSwitchContextDialog(withContent content: FBSDKGamingServicesKit.SwitchContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate?) -> Foundation.NSError? + @objc final public func makeAndShowSwitchContextDialog(content: FBSDKGamingServicesKit.SwitchContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) throws + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowChooseContextDialog(content:delegate:)` instead") + @discardableResult + @objc(showChooseContextDialogWithContent:delegate:) final public class func showChooseContextDialog(withContent content: FBSDKGamingServicesKit.ChooseContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) -> FBSDKGamingServicesKit.ChooseContextDialog + @objc final public func makeAndShowChooseContextDialog(content: FBSDKGamingServicesKit.ChooseContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) + @objc @available(*, deprecated, message: "showChooseContextDialog is deprecated. Please use the instance method `makeAndShowChooseContextDialog` instead") + final public class func showChooseContextDialog(with content: FBSDKGamingServicesKit.ChooseContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) -> FBSDKGamingServicesKit.ChooseContextDialog + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowCreateContextDialog(content:delegate:)` instead") + @objc(createContextDialogWithContent:delegate:) final public class func createContextDialog(withContent content: FBSDKGamingServicesKit.CreateContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate?) -> FBSDKGamingServicesKit.CreateContextDialog? + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowSwitchContextDialog(content:delegate:)` instead") + @objc(switchContextDialogWithContent:delegate:) final public class func switchContextDialog(withContent content: FBSDKGamingServicesKit.SwitchContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate?) -> FBSDKGamingServicesKit.SwitchContextDialog? + @objc deinit +} +public enum ContextDialogPresenterError : Swift.Error { + case showCreateContext + case showSwitchContext + case showChooseContext + case invalidAccessToken + public static func == (a: FBSDKGamingServicesKit.ContextDialogPresenterError, b: FBSDKGamingServicesKit.ContextDialogPresenterError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKContextWebDialog) public class ContextWebDialog : ObjectiveC.NSObject, FBSDKCoreKit.WebDialogDelegate, FBSDKGamingServicesKit.DialogProtocol { + @objc public var delegate: FBSDKGamingServicesKit.ContextDialogDelegate? + @objc public var dialogContent: FBSDKGamingServicesKit.ValidatableProtocol? + @objc public var currentWebDialog: FBSDKCoreKit.WebDialog? + @objc public func show() -> Swift.Bool + @objc public func validate() throws + @objc public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didCompleteWithResults results: [Swift.String : Any]) + @objc public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didFailWithError error: Swift.Error) + @objc public func webDialogDidCancel(_ webDialog: FBSDKCoreKit.WebDialog) + @objc public func createWebDialogFrame(withWidth width: CoreGraphics.CGFloat, height: CoreGraphics.CGFloat, windowFinder: FBSDKCoreKit._WindowFinding) -> CoreGraphics.CGRect + @objc deinit +} +@objcMembers @objc(FBSDKCreateContextContent) final public class CreateContextContent : ObjectiveC.NSObject, FBSDKGamingServicesKit.ValidatableProtocol { + @objc final public var playerID: Swift.String + @objc(initDialogContentWithPlayerID:) public init(playerID: Swift.String) + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc final public func validate() throws + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKCreateContextDialog) final public class CreateContextDialog : FBSDKGamingServicesKit.ContextWebDialog { + @objc public init(content: FBSDKGamingServicesKit.CreateContextContent, windowFinder: FBSDKCoreKit._WindowFinding, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) + @discardableResult + @objc override final public func show() -> Swift.Bool + @objc override final public func validate() throws + @objc deinit +} +public enum CustomUpdateContentError : Swift.Error { + case notInGameContext + case invalidMessage + case invalidMedia + case invalidImage + public static func == (a: FBSDKGamingServicesKit.CustomUpdateContentError, b: FBSDKGamingServicesKit.CustomUpdateContentError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +final public class CustomUpdateContentImage { + public init(message: Swift.String, image: UIKit.UIImage, cta: Swift.String? = nil, payload: Swift.String? = nil, messageLocalization: [Swift.String : Swift.String] = [:], ctaLocalization: [Swift.String : Swift.String] = [:]) + @objc deinit +} +final public class CustomUpdateContentMedia { + public init(message: Swift.String, media: FBSDKGamingServicesKit.URLMedia, cta: Swift.String? = nil, payload: Swift.String? = nil, messageLocalization: [Swift.String : Swift.String] = [:], ctaLocalization: [Swift.String : Swift.String] = [:]) + @objc deinit +} +public enum CustomUpdateGraphRequestError : Swift.Error { + case server(Swift.Error) + case invalidAccessToken + case contentParsing + case decoding +} +final public class CustomUpdateGraphRequest { + final public let graphRequestFactory: FBSDKCoreKit.GraphRequestFactoryProtocol + public init() + public init(graphRequestFactory: FBSDKCoreKit.GraphRequestFactoryProtocol = GraphRequestFactory()) + final public func request(content: FBSDKGamingServicesKit.CustomUpdateContentMedia, completionHandler: @escaping (Swift.Result) -> Swift.Void) throws + final public func request(content: FBSDKGamingServicesKit.CustomUpdateContentImage, completionHandler: @escaping (Swift.Result) -> Swift.Void) throws + @objc deinit +} +@objc(FBSDKDialog) public protocol DialogProtocol { + @objc weak var delegate: FBSDKGamingServicesKit.ContextDialogDelegate? { get set } + @objc var dialogContent: FBSDKGamingServicesKit.ValidatableProtocol? { get set } + @objc func show() -> Swift.Bool + @objc func validate() throws +} +@objc(FBSDKValidatable) public protocol ValidatableProtocol { + @objc func validate() throws +} +public struct FacebookGIF : Swift.Codable, Swift.Equatable, FBSDKGamingServicesKit.URLMedia { + public init(withUrl url: Foundation.URL) + public static func == (a: FBSDKGamingServicesKit.FacebookGIF, b: FBSDKGamingServicesKit.FacebookGIF) -> Swift.Bool + public func encode(to encoder: Swift.Encoder) throws + public init(from decoder: Swift.Decoder) throws +} +public struct FacebookVideo : Swift.Codable, Swift.Equatable, FBSDKGamingServicesKit.URLMedia { + public init(withUrl url: Foundation.URL) + public static func == (a: FBSDKGamingServicesKit.FacebookVideo, b: FBSDKGamingServicesKit.FacebookVideo) -> Swift.Bool + public func encode(to encoder: Swift.Encoder) throws + public init(from decoder: Swift.Decoder) throws +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc(FBSDKFriendFinderDialog) final public class FriendFinderDialog : ObjectiveC.NSObject { + @objc override convenience dynamic public init() + @objc(launchFriendFinderDialogWithCompletionHandler:) public static func launch(completionHandler: @escaping FBSDKGamingServicesKit.GamingServiceCompletionHandler) + @objc deinit +} +@objc(FBSDKGameRequestActionType) public enum GameRequestActionType : Swift.UInt { + case none + case send + case askFor + case turn + case invite + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKGameRequestContent) final public class GameRequestContent : ObjectiveC.NSObject, FBSDKShareKit.SharingValidation, Foundation.NSSecureCoding { + @objc final public var actionType: FBSDKGamingServicesKit.GameRequestActionType + @objc final public var data: Swift.String? + @objc final public var filters: FBSDKGamingServicesKit.GameRequestFilter + @objc final public var message: Swift.String + @objc final public var objectID: Swift.String + @objc final public var recipients: [Swift.String] + @objc final public var recipientSuggestions: [Swift.String] + @objc final public var title: Swift.String + @objc final public var cta: Swift.String + @objc(validateWithOptions:error:) final public func validate(options: FBSDKShareKit.ShareBridgeOptions = []) throws + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc(isEqualToGameRequestContent:) final public func isEqual(to content: FBSDKGamingServicesKit.GameRequestContent) -> Swift.Bool + @objc final public class var supportsSecureCoding: Swift.Bool { + @objc get + } + @objc convenience public init(coder decoder: Foundation.NSCoder) + @objc final public func encode(with encoder: Foundation.NSCoder) + @objc override dynamic public init() + @objc deinit +} +@objcMembers @objc(FBSDKGameRequestDialog) final public class GameRequestDialog : ObjectiveC.NSObject { + @objc weak final public var delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate? + @objc final public var content: FBSDKGamingServicesKit.GameRequestContent + @objc final public var isFrictionlessRequestsEnabled: Swift.Bool + @objc final public var canShow: Swift.Bool { + @objc get + } + @objc public init(content: FBSDKGamingServicesKit.GameRequestContent, delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate?) + @objc(dialogWithContent:delegate:) public static func dialog(content: FBSDKGamingServicesKit.GameRequestContent, delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate?) -> FBSDKGamingServicesKit.GameRequestDialog + @discardableResult + @objc(showWithContent:delegate:) public static func show(content: FBSDKGamingServicesKit.GameRequestContent, delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate?) -> FBSDKGamingServicesKit.GameRequestDialog + @objc @discardableResult + final public func show() -> Swift.Bool + @objc(validateWithError:) final public func validate() throws + @objc deinit +} +extension FBSDKGamingServicesKit.GameRequestDialog : FBSDKCoreKit.WebDialogDelegate { + @objc final public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didCompleteWithResults results: [Swift.String : Any]) + @objc final public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didFailWithError error: Swift.Error) + @objc final public func webDialogDidCancel(_ webDialog: FBSDKCoreKit.WebDialog) +} +extension FBSDKGamingServicesKit.GameRequestDialog : FBSDKCoreKit.URLOpening { + @objc final public func application(_ application: UIKit.UIApplication?, open potentialURL: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication) + @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool +} +@objc(FBSDKGameRequestDialogDelegate) public protocol GameRequestDialogDelegate { + @objc(gameRequestDialog:didCompleteWithResults:) func gameRequestDialog(_ gameRequestDialog: FBSDKGamingServicesKit.GameRequestDialog, didCompleteWithResults results: [Swift.String : Any]) + @objc(gameRequestDialog:didFailWithError:) func gameRequestDialog(_ gameRequestDialog: FBSDKGamingServicesKit.GameRequestDialog, didFailWithError error: Swift.Error) + @objc func gameRequestDialogDidCancel(_ gameRequestDialog: FBSDKGamingServicesKit.GameRequestDialog) +} +@objc(FBSDKGameRequestFilter) public enum GameRequestFilter : Swift.UInt { + case none + case appUsers + case appNonUsers + case everybody + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKGameRequestURLProvider) final public class GameRequestURLProvider : ObjectiveC.NSObject { + @objc(createDeepLinkURLWithQueryDictionary:) final public class func createDeepLinkURL(queryDictionary: [Swift.String : Any]) -> Foundation.URL? + @objc(filtersNameForFilters:) final public class func filtersName(for filters: FBSDKGamingServicesKit.GameRequestFilter) -> Swift.String? + @objc(actionTypeNameForActionType:) final public class func actionTypeName(for actionType: FBSDKGamingServicesKit.GameRequestActionType) -> Swift.String? + @objc override dynamic public init() + @objc deinit +} +@objcMembers @objc(FBSDKGamingContext) final public class GamingContext : ObjectiveC.NSObject { + @objc(currentContext) public static var current: FBSDKGamingServicesKit.GamingContext? + @objc final public let identifier: Swift.String + @objc final public let size: Swift.Int + @objc public init?(identifier: Swift.String, size: Swift.Int) + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingGroupIntegration) final public class GamingGroupIntegration : ObjectiveC.NSObject { + @objc public static func openGroupPage(completionHandler: @escaping FBSDKGamingServicesKit.GamingServiceCompletionHandler) + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingImageUploader) final public class GamingImageUploader : ObjectiveC.NSObject { + @objc(uploadImageWithConfiguration:andResultCompletion:) public static func uploadImage(with configuration: FBSDKGamingServicesKit.GamingImageUploaderConfiguration, andResultCompletion completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion) + @objc(uploadImageWithConfiguration:completion:andProgressHandler:) public static func uploadImage(with configuration: FBSDKGamingServicesKit.GamingImageUploaderConfiguration, completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion, andProgressHandler progressHandler: FBSDKGamingServicesKit.GamingServiceProgressHandler?) + @objc deinit +} +extension FBSDKGamingServicesKit.GamingImageUploader : FBSDKCoreKit.GraphRequestConnectionDelegate { + @objc final public func requestConnection(_ connection: FBSDKCoreKit.GraphRequestConnecting, didSendBodyData bytesWritten: Swift.Int, totalBytesWritten: Swift.Int, totalBytesExpectedToWrite: Swift.Int) +} +@objcMembers @objc(FBSDKGamingImageUploaderConfiguration) final public class GamingImageUploaderConfiguration : ObjectiveC.NSObject { + @objc final public var image: UIKit.UIImage { + get + } + @objc final public var caption: Swift.String? { + get + } + @objc final public var shouldLaunchMediaDialog: Swift.Bool { + get + } + @objc public init(image: UIKit.UIImage, caption: Swift.String?, shouldLaunchMediaDialog: Swift.Bool) + @objc deinit +} +@objcMembers @objc(FBSDKGamingPayload) final public class GamingPayload : ObjectiveC.NSObject { + @objc final public var URL: FBSDKCoreKit.AppLinkURL + @objc final public var payload: Swift.String + @objc public init(URL: FBSDKCoreKit.AppLinkURL) + @objc deinit +} +@objc(FBSDKGamingPayloadDelegate) public protocol GamingPayloadDelegate : ObjectiveC.NSObjectProtocol { + @objc optional func parsedGameRequestURLContaining(_ payload: FBSDKGamingServicesKit.GamingPayload, gameRequestID: Swift.String) + @objc optional func parsedGamingContextURLContaining(_ payload: FBSDKGamingServicesKit.GamingPayload) + @objc optional func parsedTournamentURLContaining(_ payload: FBSDKGamingServicesKit.GamingPayload, tournamentID: Swift.String) +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingPayloadObserver) final public class GamingPayloadObserver : ObjectiveC.NSObject { + @objc weak final public var delegate: FBSDKGamingServicesKit.GamingPayloadDelegate? { + @objc get + @objc set + } + @objc convenience public init(delegate: FBSDKGamingServicesKit.GamingPayloadDelegate?) + @objc deinit +} +extension FBSDKGamingServicesKit.GamingPayloadObserver : FBSDKCoreKit.FBSDKApplicationObserving { + @objc final public func application(_ application: UIKit.UIApplication, open url: Foundation.URL, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool +} +public typealias GamingServiceCompletionHandler = (_ success: Swift.Bool, _ error: Swift.Error?) -> Swift.Void +public typealias FBSDKGamingServiceCompletionHandler = FBSDKGamingServicesKit.GamingServiceCompletionHandler +public typealias GamingServiceResultCompletion = (_ success: Swift.Bool, _ result: [Swift.String : Any]?, _ error: Swift.Error?) -> Swift.Void +public typealias FBSDKGamingServiceResultCompletion = FBSDKGamingServicesKit.GamingServiceResultCompletion +public typealias GamingServiceProgressHandler = (_ bytesSent: Swift.Int64, _ totalBytesSent: Swift.Int64, _ totalBytesExpectedToSend: Swift.Int64) -> Swift.Void +public typealias FBSDKGamingServiceProgressHandler = FBSDKGamingServicesKit.GamingServiceProgressHandler +public enum GamingServicesDialogError : Swift.Error { + case invalidContentType + case missingContent + case deeplinkURLCreation + public static func == (a: FBSDKGamingServicesKit.GamingServicesDialogError, b: FBSDKGamingServicesKit.GamingServicesDialogError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingVideoUploader) final public class GamingVideoUploader : ObjectiveC.NSObject { + @objc(uploadVideoWithConfiguration:andResultCompletion:) public static func uploadVideo(configuration: FBSDKGamingServicesKit.GamingVideoUploaderConfiguration, completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion) + @objc(uploadVideoWithConfiguration:completion:andProgressHandler:) public static func uploadVideo(configuration: FBSDKGamingServicesKit.GamingVideoUploaderConfiguration, completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion, progressHandler: FBSDKGamingServicesKit.GamingServiceProgressHandler?) + @objc deinit +} +@objcMembers @objc(FBSDKGamingVideoUploaderConfiguration) final public class GamingVideoUploaderConfiguration : ObjectiveC.NSObject { + @objc final public var videoURL: Foundation.URL { + get + } + @objc final public var caption: Swift.String? { + get + } + @objc public init(videoURL: Foundation.URL, caption: Swift.String?) + @objc deinit +} +public enum ShareTournamentDialogError : Swift.Error { + case invalidAccessToken + case invalidAuthToken + case invalidTournamentID + case unableToCreateDialogUrl + case unknownBridgeError + case errorMessage(Swift.String) + case bridgeError(Swift.Error) +} +@objc @_hasMissingDesignatedInitializers final public class ShareTournamentDialog : ObjectiveC.NSObject, FBSDKCoreKit.URLOpening { + convenience public init(delegate: FBSDKGamingServicesKit.ShareTournamentDialogDelegate) + final public func show(score: Swift.Int, tournamentID: Swift.String) throws + final public func show(score: Swift.Int, tournament: FBSDKGamingServicesKit.Tournament) throws + final public func show(initialScore: Swift.Int, config: FBSDKGamingServicesKit.TournamentConfig) throws + @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool + @objc final public func application(_ application: UIKit.UIApplication?, open url: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication) + @objc deinit +} +public protocol ShareTournamentDialogDelegate : AnyObject { + func didComplete(dialog: FBSDKGamingServicesKit.ShareTournamentDialog, tournament: FBSDKGamingServicesKit.Tournament) + func didFail(withError error: Swift.Error, dialog: FBSDKGamingServicesKit.ShareTournamentDialog) + func didCancel(dialog: FBSDKGamingServicesKit.ShareTournamentDialog) +} +@objc(FBSDKShowable) public protocol Showable { + @objc func show() -> Swift.Bool +} +extension FBSDKGamingServicesKit.ChooseContextDialog : FBSDKGamingServicesKit.Showable { +} +extension FBSDKGamingServicesKit.CreateContextDialog : FBSDKGamingServicesKit.Showable { +} +@objcMembers @objc(FBSDKSwitchContextContent) final public class SwitchContextContent : ObjectiveC.NSObject, FBSDKGamingServicesKit.ValidatableProtocol { + @objc(initDialogContentWithContextID:) public init(contextID: Swift.String) + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc final public func validate() throws + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKSwitchContextDialog) final public class SwitchContextDialog : FBSDKGamingServicesKit.ContextWebDialog, FBSDKGamingServicesKit.Showable { + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the initializer `init(content:windowFinder:delegate:)` instead") + @objc(dialogWithContent:windowFinder:delegate:) public static func dialog(content: FBSDKGamingServicesKit.SwitchContextContent, windowFinder: FBSDKCoreKit._WindowFinding, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) -> Self + @objc public init(content: FBSDKGamingServicesKit.SwitchContextContent, windowFinder: FBSDKCoreKit._WindowFinding, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) + @objc override final public func show() -> Swift.Bool + @objc override final public func validate() throws + @objc deinit +} +public enum TournamentDecodingError : Swift.Error { + case invalidExpirationDate + case invalidScoreType + public static func == (a: FBSDKGamingServicesKit.TournamentDecodingError, b: FBSDKGamingServicesKit.TournamentDecodingError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +public struct Tournament : Swift.Codable { + public var identifier: Swift.String { + get + } + public var endTime: Foundation.Date? { + get + } + public var title: Swift.String? { + get + } + public var payload: Swift.String? + public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws +} +public struct TournamentConfig { + public var title: Swift.String? + public var endTime: Foundation.TimeInterval? + public var scoreType: FBSDKGamingServicesKit.TournamentScoreType? + public var sortOrder: FBSDKGamingServicesKit.TournamentSortOrder? + public var payload: Swift.String? + public var image: UIKit.UIImage? + public init(title: Swift.String? = nil, endTime: Foundation.Date? = nil, scoreType: FBSDKGamingServicesKit.TournamentScoreType? = nil, sortOrder: FBSDKGamingServicesKit.TournamentSortOrder? = nil, image: UIKit.UIImage? = nil, payload: Swift.String? = nil) +} +public enum TournamentFetchError : Swift.Error { + case server(Swift.Error) + case decoding + case invalidAuthToken + case invalidAccessToken +} +@_hasMissingDesignatedInitializers final public class TournamentFetcher { + convenience public init() + final public func fetchTournaments(completionHandler: @escaping (Swift.Result<[FBSDKGamingServicesKit.Tournament], FBSDKGamingServicesKit.TournamentFetchError>) -> Swift.Void) + @objc deinit +} +public enum TournamentScoreType : Swift.String { + case numeric + case time + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +public enum TournamentSortOrder : Swift.String { + case higherIsBetter + case lowerIsBetter + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +public enum TournamentUpdaterError : Swift.Error { + case server(Swift.Error) + case decoding + case invalidAuthToken + case invalidAccessToken + case invalidTournamentID +} +@_hasMissingDesignatedInitializers final public class TournamentUpdater { + convenience public init() + final public func update(tournamentID: Swift.String, score: Swift.Int, completionHandler: @escaping (Swift.Result) -> Swift.Void) + final public func update(tournament: FBSDKGamingServicesKit.Tournament, score: Swift.Int, completionHandler: @escaping (Swift.Result) -> Swift.Void) + @objc deinit +} +public protocol URLMedia : Swift.Decodable, Swift.Encodable { + init(withUrl: Foundation.URL) +} +@objc @_hasMissingDesignatedInitializers @objcMembers final public class _FBSDKTournament : ObjectiveC.NSObject { + @objc final public var identifier: Swift.String { + get + } + @objc final public var endTime: Foundation.Date? { + get + } + @objc final public var title: Swift.String? { + get + } + @objc final public var payload: Swift.String? + @objc deinit +} +@objc(_FBSDKShareTournamentDialogDelegate) public protocol _ShareTournamentDialogDelegate { + @objc func didComplete(dialog: FBSDKGamingServicesKit._ShareTournamentDialog, tournament: FBSDKGamingServicesKit._FBSDKTournament) + @objc func didFail(withError error: Swift.Error, dialog: FBSDKGamingServicesKit._ShareTournamentDialog) + @objc func didCancel(dialog: FBSDKGamingServicesKit._ShareTournamentDialog) +} +@_hasMissingDesignatedInitializers @objcMembers @objc(_FBSDKShareTournamentDialog) final public class _ShareTournamentDialog : ObjectiveC.NSObject, FBSDKGamingServicesKit.ShareTournamentDialogDelegate { + @objc final public func show(score: Swift.Int, tournamentID: Swift.String) throws + @objc final public func show(score: Swift.Int, tournament: FBSDKGamingServicesKit._FBSDKTournament) throws + @objc final public func show(initialScore: Swift.Int, config: FBSDKGamingServicesKit._TournamentConfig) throws + @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool + @objc final public func application(_ application: UIKit.UIApplication?, open url: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication) + final public func didComplete(dialog: FBSDKGamingServicesKit.ShareTournamentDialog, tournament: FBSDKGamingServicesKit.Tournament) + @objc final public func didFail(withError error: Swift.Error, dialog: FBSDKGamingServicesKit.ShareTournamentDialog) + @objc final public func didCancel(dialog: FBSDKGamingServicesKit.ShareTournamentDialog) + @objc deinit +} +@objc(_FBSDKTournamentScoreType) public enum _TournamentScoreType : Swift.Int { + case numeric + case time + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@objc(_FBSDKTournamentSortOrder) public enum _TournamentSortOrder : Swift.Int { + case higherIsBetter + case lowerIsBetter + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@objcMembers @objc(_FBSDKTournamentConfig) final public class _TournamentConfig : ObjectiveC.NSObject { + @objc final public var title: Swift.String? + final public var endTime: CoreGraphics.CGFloat? + final public var scoreType: FBSDKGamingServicesKit._TournamentScoreType? + final public var sortOrder: FBSDKGamingServicesKit._TournamentSortOrder? + @objc final public var payload: Swift.String? + @objc final public var image: UIKit.UIImage? + public init(title: Swift.String? = nil, endTime: Foundation.Date? = nil, scoreType: FBSDKGamingServicesKit._TournamentScoreType? = nil, sortOrder: FBSDKGamingServicesKit._TournamentSortOrder? = nil, image: UIKit.UIImage? = nil, payload: Swift.String? = nil) + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(_FBSDKTournamentFetcher) final public class _TournamentFetcher : ObjectiveC.NSObject { + @objc final public func fetchTournaments(completionHandler: @escaping ([FBSDKGamingServicesKit._FBSDKTournament]?, Swift.Error?) -> Swift.Void) + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(_FBSDKTournamentUpdater) final public class _TournamentUpdater : ObjectiveC.NSObject { + @objc final public func update(tournamentID: Swift.String, score: Swift.Int, completionHandler: @escaping (Swift.Bool, Swift.Error?) -> Swift.Void) + @objc final public func update(tournament: FBSDKGamingServicesKit._FBSDKTournament, score: Swift.Int, completionHandler: @escaping (Swift.Bool, Swift.Error?) -> Swift.Void) + @objc deinit +} +extension FBSDKGamingServicesKit.ChooseContextFilter : Swift.Equatable {} +extension FBSDKGamingServicesKit.ChooseContextFilter : Swift.Hashable {} +extension FBSDKGamingServicesKit.ChooseContextFilter : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit.ContextDialogPresenterError : Swift.Equatable {} +extension FBSDKGamingServicesKit.ContextDialogPresenterError : Swift.Hashable {} +extension FBSDKGamingServicesKit.CustomUpdateContentError : Swift.Equatable {} +extension FBSDKGamingServicesKit.CustomUpdateContentError : Swift.Hashable {} +extension FBSDKGamingServicesKit.GameRequestActionType : Swift.Equatable {} +extension FBSDKGamingServicesKit.GameRequestActionType : Swift.Hashable {} +extension FBSDKGamingServicesKit.GameRequestActionType : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit.GameRequestFilter : Swift.Equatable {} +extension FBSDKGamingServicesKit.GameRequestFilter : Swift.Hashable {} +extension FBSDKGamingServicesKit.GameRequestFilter : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit.GamingServicesDialogError : Swift.Equatable {} +extension FBSDKGamingServicesKit.GamingServicesDialogError : Swift.Hashable {} +extension FBSDKGamingServicesKit.TournamentDecodingError : Swift.Equatable {} +extension FBSDKGamingServicesKit.TournamentDecodingError : Swift.Hashable {} +extension FBSDKGamingServicesKit.TournamentScoreType : Swift.Equatable {} +extension FBSDKGamingServicesKit.TournamentScoreType : Swift.Hashable {} +extension FBSDKGamingServicesKit.TournamentScoreType : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit.TournamentSortOrder : Swift.Equatable {} +extension FBSDKGamingServicesKit.TournamentSortOrder : Swift.Hashable {} +extension FBSDKGamingServicesKit.TournamentSortOrder : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit._TournamentScoreType : Swift.Equatable {} +extension FBSDKGamingServicesKit._TournamentScoreType : Swift.Hashable {} +extension FBSDKGamingServicesKit._TournamentScoreType : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit._TournamentSortOrder : Swift.Equatable {} +extension FBSDKGamingServicesKit._TournamentSortOrder : Swift.Hashable {} +extension FBSDKGamingServicesKit._TournamentSortOrder : Swift.RawRepresentable {} diff --git a/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/arm64.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..410d89e Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/arm64.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/arm64.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..aae53c5 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/arm64.swiftinterface @@ -0,0 +1,557 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKGamingServicesKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +import FBSDKShareKit +import Foundation +import Swift +import UIKit +import _Concurrency +@objc(FBSDKChooseContextFilter) public enum ChooseContextFilter : Swift.Int, Swift.CaseIterable { + case none + case existingChallenges + case newPlayersOnly + case newContextOnly + public var name: Swift.String { + get + } + public init?(rawValue: Swift.Int) + public typealias AllCases = [FBSDKGamingServicesKit.ChooseContextFilter] + public typealias RawValue = Swift.Int + public static var allCases: [FBSDKGamingServicesKit.ChooseContextFilter] { + get + } + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKChooseContextContent) final public class ChooseContextContent : ObjectiveC.NSObject, FBSDKGamingServicesKit.ValidatableProtocol { + @objc final public var filter: FBSDKGamingServicesKit.ChooseContextFilter + @objc final public var maxParticipants: Swift.Int + @objc final public var minParticipants: Swift.Int + @objc public static func filtersName(forFilters filter: FBSDKGamingServicesKit.ChooseContextFilter) -> Swift.String + @objc final public func validate() throws + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public init() + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKChooseContextDialog) final public class ChooseContextDialog : FBSDKGamingServicesKit.ContextWebDialog, FBSDKCoreKit.URLOpening { + @objc convenience public init(content: FBSDKGamingServicesKit.ChooseContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) + @objc override final public func show() -> Swift.Bool + @objc override final public func validate() throws + @objc final public func application(_ application: UIKit.UIApplication?, open url: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication) + @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool + @objc deinit +} +@objc(FBSDKContextDialogDelegate) public protocol ContextDialogDelegate { + @objc func contextDialogDidComplete(_ contextDialog: FBSDKGamingServicesKit.ContextWebDialog) + @objc func contextDialog(_ contextDialog: FBSDKGamingServicesKit.ContextWebDialog, didFailWithError error: Swift.Error) + @objc func contextDialogDidCancel(_ contextDialog: FBSDKGamingServicesKit.ContextWebDialog) +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKContextDialogPresenter) final public class ContextDialogPresenter : ObjectiveC.NSObject { + @objc override convenience dynamic public init() + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowCreateContextDialog(content:delegate:)` instead") + @objc(showCreateContextDialogWithContent:delegate:) final public class func showCreateContextDialog(withContent content: FBSDKGamingServicesKit.CreateContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) -> Foundation.NSError? + @objc final public func makeAndShowCreateContextDialog(content: FBSDKGamingServicesKit.CreateContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) throws + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowSwitchContextDialog(content:delegate:)` instead") + @objc(showSwitchContextDialogWithContent:delegate:) final public class func showSwitchContextDialog(withContent content: FBSDKGamingServicesKit.SwitchContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate?) -> Foundation.NSError? + @objc final public func makeAndShowSwitchContextDialog(content: FBSDKGamingServicesKit.SwitchContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) throws + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowChooseContextDialog(content:delegate:)` instead") + @discardableResult + @objc(showChooseContextDialogWithContent:delegate:) final public class func showChooseContextDialog(withContent content: FBSDKGamingServicesKit.ChooseContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) -> FBSDKGamingServicesKit.ChooseContextDialog + @objc final public func makeAndShowChooseContextDialog(content: FBSDKGamingServicesKit.ChooseContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) + @objc @available(*, deprecated, message: "showChooseContextDialog is deprecated. Please use the instance method `makeAndShowChooseContextDialog` instead") + final public class func showChooseContextDialog(with content: FBSDKGamingServicesKit.ChooseContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) -> FBSDKGamingServicesKit.ChooseContextDialog + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowCreateContextDialog(content:delegate:)` instead") + @objc(createContextDialogWithContent:delegate:) final public class func createContextDialog(withContent content: FBSDKGamingServicesKit.CreateContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate?) -> FBSDKGamingServicesKit.CreateContextDialog? + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowSwitchContextDialog(content:delegate:)` instead") + @objc(switchContextDialogWithContent:delegate:) final public class func switchContextDialog(withContent content: FBSDKGamingServicesKit.SwitchContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate?) -> FBSDKGamingServicesKit.SwitchContextDialog? + @objc deinit +} +public enum ContextDialogPresenterError : Swift.Error { + case showCreateContext + case showSwitchContext + case showChooseContext + case invalidAccessToken + public static func == (a: FBSDKGamingServicesKit.ContextDialogPresenterError, b: FBSDKGamingServicesKit.ContextDialogPresenterError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKContextWebDialog) public class ContextWebDialog : ObjectiveC.NSObject, FBSDKCoreKit.WebDialogDelegate, FBSDKGamingServicesKit.DialogProtocol { + @objc public var delegate: FBSDKGamingServicesKit.ContextDialogDelegate? + @objc public var dialogContent: FBSDKGamingServicesKit.ValidatableProtocol? + @objc public var currentWebDialog: FBSDKCoreKit.WebDialog? + @objc public func show() -> Swift.Bool + @objc public func validate() throws + @objc public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didCompleteWithResults results: [Swift.String : Any]) + @objc public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didFailWithError error: Swift.Error) + @objc public func webDialogDidCancel(_ webDialog: FBSDKCoreKit.WebDialog) + @objc public func createWebDialogFrame(withWidth width: CoreGraphics.CGFloat, height: CoreGraphics.CGFloat, windowFinder: FBSDKCoreKit._WindowFinding) -> CoreGraphics.CGRect + @objc deinit +} +@objcMembers @objc(FBSDKCreateContextContent) final public class CreateContextContent : ObjectiveC.NSObject, FBSDKGamingServicesKit.ValidatableProtocol { + @objc final public var playerID: Swift.String + @objc(initDialogContentWithPlayerID:) public init(playerID: Swift.String) + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc final public func validate() throws + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKCreateContextDialog) final public class CreateContextDialog : FBSDKGamingServicesKit.ContextWebDialog { + @objc public init(content: FBSDKGamingServicesKit.CreateContextContent, windowFinder: FBSDKCoreKit._WindowFinding, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) + @discardableResult + @objc override final public func show() -> Swift.Bool + @objc override final public func validate() throws + @objc deinit +} +public enum CustomUpdateContentError : Swift.Error { + case notInGameContext + case invalidMessage + case invalidMedia + case invalidImage + public static func == (a: FBSDKGamingServicesKit.CustomUpdateContentError, b: FBSDKGamingServicesKit.CustomUpdateContentError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +final public class CustomUpdateContentImage { + public init(message: Swift.String, image: UIKit.UIImage, cta: Swift.String? = nil, payload: Swift.String? = nil, messageLocalization: [Swift.String : Swift.String] = [:], ctaLocalization: [Swift.String : Swift.String] = [:]) + @objc deinit +} +final public class CustomUpdateContentMedia { + public init(message: Swift.String, media: FBSDKGamingServicesKit.URLMedia, cta: Swift.String? = nil, payload: Swift.String? = nil, messageLocalization: [Swift.String : Swift.String] = [:], ctaLocalization: [Swift.String : Swift.String] = [:]) + @objc deinit +} +public enum CustomUpdateGraphRequestError : Swift.Error { + case server(Swift.Error) + case invalidAccessToken + case contentParsing + case decoding +} +final public class CustomUpdateGraphRequest { + final public let graphRequestFactory: FBSDKCoreKit.GraphRequestFactoryProtocol + public init() + public init(graphRequestFactory: FBSDKCoreKit.GraphRequestFactoryProtocol = GraphRequestFactory()) + final public func request(content: FBSDKGamingServicesKit.CustomUpdateContentMedia, completionHandler: @escaping (Swift.Result) -> Swift.Void) throws + final public func request(content: FBSDKGamingServicesKit.CustomUpdateContentImage, completionHandler: @escaping (Swift.Result) -> Swift.Void) throws + @objc deinit +} +@objc(FBSDKDialog) public protocol DialogProtocol { + @objc weak var delegate: FBSDKGamingServicesKit.ContextDialogDelegate? { get set } + @objc var dialogContent: FBSDKGamingServicesKit.ValidatableProtocol? { get set } + @objc func show() -> Swift.Bool + @objc func validate() throws +} +@objc(FBSDKValidatable) public protocol ValidatableProtocol { + @objc func validate() throws +} +public struct FacebookGIF : Swift.Codable, Swift.Equatable, FBSDKGamingServicesKit.URLMedia { + public init(withUrl url: Foundation.URL) + public static func == (a: FBSDKGamingServicesKit.FacebookGIF, b: FBSDKGamingServicesKit.FacebookGIF) -> Swift.Bool + public func encode(to encoder: Swift.Encoder) throws + public init(from decoder: Swift.Decoder) throws +} +public struct FacebookVideo : Swift.Codable, Swift.Equatable, FBSDKGamingServicesKit.URLMedia { + public init(withUrl url: Foundation.URL) + public static func == (a: FBSDKGamingServicesKit.FacebookVideo, b: FBSDKGamingServicesKit.FacebookVideo) -> Swift.Bool + public func encode(to encoder: Swift.Encoder) throws + public init(from decoder: Swift.Decoder) throws +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc(FBSDKFriendFinderDialog) final public class FriendFinderDialog : ObjectiveC.NSObject { + @objc override convenience dynamic public init() + @objc(launchFriendFinderDialogWithCompletionHandler:) public static func launch(completionHandler: @escaping FBSDKGamingServicesKit.GamingServiceCompletionHandler) + @objc deinit +} +@objc(FBSDKGameRequestActionType) public enum GameRequestActionType : Swift.UInt { + case none + case send + case askFor + case turn + case invite + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKGameRequestContent) final public class GameRequestContent : ObjectiveC.NSObject, FBSDKShareKit.SharingValidation, Foundation.NSSecureCoding { + @objc final public var actionType: FBSDKGamingServicesKit.GameRequestActionType + @objc final public var data: Swift.String? + @objc final public var filters: FBSDKGamingServicesKit.GameRequestFilter + @objc final public var message: Swift.String + @objc final public var objectID: Swift.String + @objc final public var recipients: [Swift.String] + @objc final public var recipientSuggestions: [Swift.String] + @objc final public var title: Swift.String + @objc final public var cta: Swift.String + @objc(validateWithOptions:error:) final public func validate(options: FBSDKShareKit.ShareBridgeOptions = []) throws + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc(isEqualToGameRequestContent:) final public func isEqual(to content: FBSDKGamingServicesKit.GameRequestContent) -> Swift.Bool + @objc final public class var supportsSecureCoding: Swift.Bool { + @objc get + } + @objc convenience public init(coder decoder: Foundation.NSCoder) + @objc final public func encode(with encoder: Foundation.NSCoder) + @objc override dynamic public init() + @objc deinit +} +@objcMembers @objc(FBSDKGameRequestDialog) final public class GameRequestDialog : ObjectiveC.NSObject { + @objc weak final public var delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate? + @objc final public var content: FBSDKGamingServicesKit.GameRequestContent + @objc final public var isFrictionlessRequestsEnabled: Swift.Bool + @objc final public var canShow: Swift.Bool { + @objc get + } + @objc public init(content: FBSDKGamingServicesKit.GameRequestContent, delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate?) + @objc(dialogWithContent:delegate:) public static func dialog(content: FBSDKGamingServicesKit.GameRequestContent, delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate?) -> FBSDKGamingServicesKit.GameRequestDialog + @discardableResult + @objc(showWithContent:delegate:) public static func show(content: FBSDKGamingServicesKit.GameRequestContent, delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate?) -> FBSDKGamingServicesKit.GameRequestDialog + @objc @discardableResult + final public func show() -> Swift.Bool + @objc(validateWithError:) final public func validate() throws + @objc deinit +} +extension FBSDKGamingServicesKit.GameRequestDialog : FBSDKCoreKit.WebDialogDelegate { + @objc final public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didCompleteWithResults results: [Swift.String : Any]) + @objc final public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didFailWithError error: Swift.Error) + @objc final public func webDialogDidCancel(_ webDialog: FBSDKCoreKit.WebDialog) +} +extension FBSDKGamingServicesKit.GameRequestDialog : FBSDKCoreKit.URLOpening { + @objc final public func application(_ application: UIKit.UIApplication?, open potentialURL: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication) + @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool +} +@objc(FBSDKGameRequestDialogDelegate) public protocol GameRequestDialogDelegate { + @objc(gameRequestDialog:didCompleteWithResults:) func gameRequestDialog(_ gameRequestDialog: FBSDKGamingServicesKit.GameRequestDialog, didCompleteWithResults results: [Swift.String : Any]) + @objc(gameRequestDialog:didFailWithError:) func gameRequestDialog(_ gameRequestDialog: FBSDKGamingServicesKit.GameRequestDialog, didFailWithError error: Swift.Error) + @objc func gameRequestDialogDidCancel(_ gameRequestDialog: FBSDKGamingServicesKit.GameRequestDialog) +} +@objc(FBSDKGameRequestFilter) public enum GameRequestFilter : Swift.UInt { + case none + case appUsers + case appNonUsers + case everybody + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKGameRequestURLProvider) final public class GameRequestURLProvider : ObjectiveC.NSObject { + @objc(createDeepLinkURLWithQueryDictionary:) final public class func createDeepLinkURL(queryDictionary: [Swift.String : Any]) -> Foundation.URL? + @objc(filtersNameForFilters:) final public class func filtersName(for filters: FBSDKGamingServicesKit.GameRequestFilter) -> Swift.String? + @objc(actionTypeNameForActionType:) final public class func actionTypeName(for actionType: FBSDKGamingServicesKit.GameRequestActionType) -> Swift.String? + @objc override dynamic public init() + @objc deinit +} +@objcMembers @objc(FBSDKGamingContext) final public class GamingContext : ObjectiveC.NSObject { + @objc(currentContext) public static var current: FBSDKGamingServicesKit.GamingContext? + @objc final public let identifier: Swift.String + @objc final public let size: Swift.Int + @objc public init?(identifier: Swift.String, size: Swift.Int) + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingGroupIntegration) final public class GamingGroupIntegration : ObjectiveC.NSObject { + @objc public static func openGroupPage(completionHandler: @escaping FBSDKGamingServicesKit.GamingServiceCompletionHandler) + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingImageUploader) final public class GamingImageUploader : ObjectiveC.NSObject { + @objc(uploadImageWithConfiguration:andResultCompletion:) public static func uploadImage(with configuration: FBSDKGamingServicesKit.GamingImageUploaderConfiguration, andResultCompletion completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion) + @objc(uploadImageWithConfiguration:completion:andProgressHandler:) public static func uploadImage(with configuration: FBSDKGamingServicesKit.GamingImageUploaderConfiguration, completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion, andProgressHandler progressHandler: FBSDKGamingServicesKit.GamingServiceProgressHandler?) + @objc deinit +} +extension FBSDKGamingServicesKit.GamingImageUploader : FBSDKCoreKit.GraphRequestConnectionDelegate { + @objc final public func requestConnection(_ connection: FBSDKCoreKit.GraphRequestConnecting, didSendBodyData bytesWritten: Swift.Int, totalBytesWritten: Swift.Int, totalBytesExpectedToWrite: Swift.Int) +} +@objcMembers @objc(FBSDKGamingImageUploaderConfiguration) final public class GamingImageUploaderConfiguration : ObjectiveC.NSObject { + @objc final public var image: UIKit.UIImage { + get + } + @objc final public var caption: Swift.String? { + get + } + @objc final public var shouldLaunchMediaDialog: Swift.Bool { + get + } + @objc public init(image: UIKit.UIImage, caption: Swift.String?, shouldLaunchMediaDialog: Swift.Bool) + @objc deinit +} +@objcMembers @objc(FBSDKGamingPayload) final public class GamingPayload : ObjectiveC.NSObject { + @objc final public var URL: FBSDKCoreKit.AppLinkURL + @objc final public var payload: Swift.String + @objc public init(URL: FBSDKCoreKit.AppLinkURL) + @objc deinit +} +@objc(FBSDKGamingPayloadDelegate) public protocol GamingPayloadDelegate : ObjectiveC.NSObjectProtocol { + @objc optional func parsedGameRequestURLContaining(_ payload: FBSDKGamingServicesKit.GamingPayload, gameRequestID: Swift.String) + @objc optional func parsedGamingContextURLContaining(_ payload: FBSDKGamingServicesKit.GamingPayload) + @objc optional func parsedTournamentURLContaining(_ payload: FBSDKGamingServicesKit.GamingPayload, tournamentID: Swift.String) +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingPayloadObserver) final public class GamingPayloadObserver : ObjectiveC.NSObject { + @objc weak final public var delegate: FBSDKGamingServicesKit.GamingPayloadDelegate? { + @objc get + @objc set + } + @objc convenience public init(delegate: FBSDKGamingServicesKit.GamingPayloadDelegate?) + @objc deinit +} +extension FBSDKGamingServicesKit.GamingPayloadObserver : FBSDKCoreKit.FBSDKApplicationObserving { + @objc final public func application(_ application: UIKit.UIApplication, open url: Foundation.URL, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool +} +public typealias GamingServiceCompletionHandler = (_ success: Swift.Bool, _ error: Swift.Error?) -> Swift.Void +public typealias FBSDKGamingServiceCompletionHandler = FBSDKGamingServicesKit.GamingServiceCompletionHandler +public typealias GamingServiceResultCompletion = (_ success: Swift.Bool, _ result: [Swift.String : Any]?, _ error: Swift.Error?) -> Swift.Void +public typealias FBSDKGamingServiceResultCompletion = FBSDKGamingServicesKit.GamingServiceResultCompletion +public typealias GamingServiceProgressHandler = (_ bytesSent: Swift.Int64, _ totalBytesSent: Swift.Int64, _ totalBytesExpectedToSend: Swift.Int64) -> Swift.Void +public typealias FBSDKGamingServiceProgressHandler = FBSDKGamingServicesKit.GamingServiceProgressHandler +public enum GamingServicesDialogError : Swift.Error { + case invalidContentType + case missingContent + case deeplinkURLCreation + public static func == (a: FBSDKGamingServicesKit.GamingServicesDialogError, b: FBSDKGamingServicesKit.GamingServicesDialogError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingVideoUploader) final public class GamingVideoUploader : ObjectiveC.NSObject { + @objc(uploadVideoWithConfiguration:andResultCompletion:) public static func uploadVideo(configuration: FBSDKGamingServicesKit.GamingVideoUploaderConfiguration, completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion) + @objc(uploadVideoWithConfiguration:completion:andProgressHandler:) public static func uploadVideo(configuration: FBSDKGamingServicesKit.GamingVideoUploaderConfiguration, completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion, progressHandler: FBSDKGamingServicesKit.GamingServiceProgressHandler?) + @objc deinit +} +@objcMembers @objc(FBSDKGamingVideoUploaderConfiguration) final public class GamingVideoUploaderConfiguration : ObjectiveC.NSObject { + @objc final public var videoURL: Foundation.URL { + get + } + @objc final public var caption: Swift.String? { + get + } + @objc public init(videoURL: Foundation.URL, caption: Swift.String?) + @objc deinit +} +public enum ShareTournamentDialogError : Swift.Error { + case invalidAccessToken + case invalidAuthToken + case invalidTournamentID + case unableToCreateDialogUrl + case unknownBridgeError + case errorMessage(Swift.String) + case bridgeError(Swift.Error) +} +@objc @_hasMissingDesignatedInitializers final public class ShareTournamentDialog : ObjectiveC.NSObject, FBSDKCoreKit.URLOpening { + convenience public init(delegate: FBSDKGamingServicesKit.ShareTournamentDialogDelegate) + final public func show(score: Swift.Int, tournamentID: Swift.String) throws + final public func show(score: Swift.Int, tournament: FBSDKGamingServicesKit.Tournament) throws + final public func show(initialScore: Swift.Int, config: FBSDKGamingServicesKit.TournamentConfig) throws + @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool + @objc final public func application(_ application: UIKit.UIApplication?, open url: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication) + @objc deinit +} +public protocol ShareTournamentDialogDelegate : AnyObject { + func didComplete(dialog: FBSDKGamingServicesKit.ShareTournamentDialog, tournament: FBSDKGamingServicesKit.Tournament) + func didFail(withError error: Swift.Error, dialog: FBSDKGamingServicesKit.ShareTournamentDialog) + func didCancel(dialog: FBSDKGamingServicesKit.ShareTournamentDialog) +} +@objc(FBSDKShowable) public protocol Showable { + @objc func show() -> Swift.Bool +} +extension FBSDKGamingServicesKit.ChooseContextDialog : FBSDKGamingServicesKit.Showable { +} +extension FBSDKGamingServicesKit.CreateContextDialog : FBSDKGamingServicesKit.Showable { +} +@objcMembers @objc(FBSDKSwitchContextContent) final public class SwitchContextContent : ObjectiveC.NSObject, FBSDKGamingServicesKit.ValidatableProtocol { + @objc(initDialogContentWithContextID:) public init(contextID: Swift.String) + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc final public func validate() throws + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKSwitchContextDialog) final public class SwitchContextDialog : FBSDKGamingServicesKit.ContextWebDialog, FBSDKGamingServicesKit.Showable { + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the initializer `init(content:windowFinder:delegate:)` instead") + @objc(dialogWithContent:windowFinder:delegate:) public static func dialog(content: FBSDKGamingServicesKit.SwitchContextContent, windowFinder: FBSDKCoreKit._WindowFinding, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) -> Self + @objc public init(content: FBSDKGamingServicesKit.SwitchContextContent, windowFinder: FBSDKCoreKit._WindowFinding, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) + @objc override final public func show() -> Swift.Bool + @objc override final public func validate() throws + @objc deinit +} +public enum TournamentDecodingError : Swift.Error { + case invalidExpirationDate + case invalidScoreType + public static func == (a: FBSDKGamingServicesKit.TournamentDecodingError, b: FBSDKGamingServicesKit.TournamentDecodingError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +public struct Tournament : Swift.Codable { + public var identifier: Swift.String { + get + } + public var endTime: Foundation.Date? { + get + } + public var title: Swift.String? { + get + } + public var payload: Swift.String? + public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws +} +public struct TournamentConfig { + public var title: Swift.String? + public var endTime: Foundation.TimeInterval? + public var scoreType: FBSDKGamingServicesKit.TournamentScoreType? + public var sortOrder: FBSDKGamingServicesKit.TournamentSortOrder? + public var payload: Swift.String? + public var image: UIKit.UIImage? + public init(title: Swift.String? = nil, endTime: Foundation.Date? = nil, scoreType: FBSDKGamingServicesKit.TournamentScoreType? = nil, sortOrder: FBSDKGamingServicesKit.TournamentSortOrder? = nil, image: UIKit.UIImage? = nil, payload: Swift.String? = nil) +} +public enum TournamentFetchError : Swift.Error { + case server(Swift.Error) + case decoding + case invalidAuthToken + case invalidAccessToken +} +@_hasMissingDesignatedInitializers final public class TournamentFetcher { + convenience public init() + final public func fetchTournaments(completionHandler: @escaping (Swift.Result<[FBSDKGamingServicesKit.Tournament], FBSDKGamingServicesKit.TournamentFetchError>) -> Swift.Void) + @objc deinit +} +public enum TournamentScoreType : Swift.String { + case numeric + case time + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +public enum TournamentSortOrder : Swift.String { + case higherIsBetter + case lowerIsBetter + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +public enum TournamentUpdaterError : Swift.Error { + case server(Swift.Error) + case decoding + case invalidAuthToken + case invalidAccessToken + case invalidTournamentID +} +@_hasMissingDesignatedInitializers final public class TournamentUpdater { + convenience public init() + final public func update(tournamentID: Swift.String, score: Swift.Int, completionHandler: @escaping (Swift.Result) -> Swift.Void) + final public func update(tournament: FBSDKGamingServicesKit.Tournament, score: Swift.Int, completionHandler: @escaping (Swift.Result) -> Swift.Void) + @objc deinit +} +public protocol URLMedia : Swift.Decodable, Swift.Encodable { + init(withUrl: Foundation.URL) +} +@objc @_hasMissingDesignatedInitializers @objcMembers final public class _FBSDKTournament : ObjectiveC.NSObject { + @objc final public var identifier: Swift.String { + get + } + @objc final public var endTime: Foundation.Date? { + get + } + @objc final public var title: Swift.String? { + get + } + @objc final public var payload: Swift.String? + @objc deinit +} +@objc(_FBSDKShareTournamentDialogDelegate) public protocol _ShareTournamentDialogDelegate { + @objc func didComplete(dialog: FBSDKGamingServicesKit._ShareTournamentDialog, tournament: FBSDKGamingServicesKit._FBSDKTournament) + @objc func didFail(withError error: Swift.Error, dialog: FBSDKGamingServicesKit._ShareTournamentDialog) + @objc func didCancel(dialog: FBSDKGamingServicesKit._ShareTournamentDialog) +} +@_hasMissingDesignatedInitializers @objcMembers @objc(_FBSDKShareTournamentDialog) final public class _ShareTournamentDialog : ObjectiveC.NSObject, FBSDKGamingServicesKit.ShareTournamentDialogDelegate { + @objc final public func show(score: Swift.Int, tournamentID: Swift.String) throws + @objc final public func show(score: Swift.Int, tournament: FBSDKGamingServicesKit._FBSDKTournament) throws + @objc final public func show(initialScore: Swift.Int, config: FBSDKGamingServicesKit._TournamentConfig) throws + @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool + @objc final public func application(_ application: UIKit.UIApplication?, open url: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication) + final public func didComplete(dialog: FBSDKGamingServicesKit.ShareTournamentDialog, tournament: FBSDKGamingServicesKit.Tournament) + @objc final public func didFail(withError error: Swift.Error, dialog: FBSDKGamingServicesKit.ShareTournamentDialog) + @objc final public func didCancel(dialog: FBSDKGamingServicesKit.ShareTournamentDialog) + @objc deinit +} +@objc(_FBSDKTournamentScoreType) public enum _TournamentScoreType : Swift.Int { + case numeric + case time + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@objc(_FBSDKTournamentSortOrder) public enum _TournamentSortOrder : Swift.Int { + case higherIsBetter + case lowerIsBetter + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@objcMembers @objc(_FBSDKTournamentConfig) final public class _TournamentConfig : ObjectiveC.NSObject { + @objc final public var title: Swift.String? + final public var endTime: CoreGraphics.CGFloat? + final public var scoreType: FBSDKGamingServicesKit._TournamentScoreType? + final public var sortOrder: FBSDKGamingServicesKit._TournamentSortOrder? + @objc final public var payload: Swift.String? + @objc final public var image: UIKit.UIImage? + public init(title: Swift.String? = nil, endTime: Foundation.Date? = nil, scoreType: FBSDKGamingServicesKit._TournamentScoreType? = nil, sortOrder: FBSDKGamingServicesKit._TournamentSortOrder? = nil, image: UIKit.UIImage? = nil, payload: Swift.String? = nil) + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(_FBSDKTournamentFetcher) final public class _TournamentFetcher : ObjectiveC.NSObject { + @objc final public func fetchTournaments(completionHandler: @escaping ([FBSDKGamingServicesKit._FBSDKTournament]?, Swift.Error?) -> Swift.Void) + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(_FBSDKTournamentUpdater) final public class _TournamentUpdater : ObjectiveC.NSObject { + @objc final public func update(tournamentID: Swift.String, score: Swift.Int, completionHandler: @escaping (Swift.Bool, Swift.Error?) -> Swift.Void) + @objc final public func update(tournament: FBSDKGamingServicesKit._FBSDKTournament, score: Swift.Int, completionHandler: @escaping (Swift.Bool, Swift.Error?) -> Swift.Void) + @objc deinit +} +extension FBSDKGamingServicesKit.ChooseContextFilter : Swift.Equatable {} +extension FBSDKGamingServicesKit.ChooseContextFilter : Swift.Hashable {} +extension FBSDKGamingServicesKit.ChooseContextFilter : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit.ContextDialogPresenterError : Swift.Equatable {} +extension FBSDKGamingServicesKit.ContextDialogPresenterError : Swift.Hashable {} +extension FBSDKGamingServicesKit.CustomUpdateContentError : Swift.Equatable {} +extension FBSDKGamingServicesKit.CustomUpdateContentError : Swift.Hashable {} +extension FBSDKGamingServicesKit.GameRequestActionType : Swift.Equatable {} +extension FBSDKGamingServicesKit.GameRequestActionType : Swift.Hashable {} +extension FBSDKGamingServicesKit.GameRequestActionType : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit.GameRequestFilter : Swift.Equatable {} +extension FBSDKGamingServicesKit.GameRequestFilter : Swift.Hashable {} +extension FBSDKGamingServicesKit.GameRequestFilter : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit.GamingServicesDialogError : Swift.Equatable {} +extension FBSDKGamingServicesKit.GamingServicesDialogError : Swift.Hashable {} +extension FBSDKGamingServicesKit.TournamentDecodingError : Swift.Equatable {} +extension FBSDKGamingServicesKit.TournamentDecodingError : Swift.Hashable {} +extension FBSDKGamingServicesKit.TournamentScoreType : Swift.Equatable {} +extension FBSDKGamingServicesKit.TournamentScoreType : Swift.Hashable {} +extension FBSDKGamingServicesKit.TournamentScoreType : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit.TournamentSortOrder : Swift.Equatable {} +extension FBSDKGamingServicesKit.TournamentSortOrder : Swift.Hashable {} +extension FBSDKGamingServicesKit.TournamentSortOrder : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit._TournamentScoreType : Swift.Equatable {} +extension FBSDKGamingServicesKit._TournamentScoreType : Swift.Hashable {} +extension FBSDKGamingServicesKit._TournamentScoreType : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit._TournamentSortOrder : Swift.Equatable {} +extension FBSDKGamingServicesKit._TournamentSortOrder : Swift.Hashable {} +extension FBSDKGamingServicesKit._TournamentSortOrder : Swift.RawRepresentable {} diff --git a/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000..2dddf22 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000..a356ee0 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -0,0 +1,557 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKGamingServicesKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +import FBSDKShareKit +import Foundation +import Swift +import UIKit +import _Concurrency +@objc(FBSDKChooseContextFilter) public enum ChooseContextFilter : Swift.Int, Swift.CaseIterable { + case none + case existingChallenges + case newPlayersOnly + case newContextOnly + public var name: Swift.String { + get + } + public init?(rawValue: Swift.Int) + public typealias AllCases = [FBSDKGamingServicesKit.ChooseContextFilter] + public typealias RawValue = Swift.Int + public static var allCases: [FBSDKGamingServicesKit.ChooseContextFilter] { + get + } + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKChooseContextContent) final public class ChooseContextContent : ObjectiveC.NSObject, FBSDKGamingServicesKit.ValidatableProtocol { + @objc final public var filter: FBSDKGamingServicesKit.ChooseContextFilter + @objc final public var maxParticipants: Swift.Int + @objc final public var minParticipants: Swift.Int + @objc public static func filtersName(forFilters filter: FBSDKGamingServicesKit.ChooseContextFilter) -> Swift.String + @objc final public func validate() throws + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public init() + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKChooseContextDialog) final public class ChooseContextDialog : FBSDKGamingServicesKit.ContextWebDialog, FBSDKCoreKit.URLOpening { + @objc convenience public init(content: FBSDKGamingServicesKit.ChooseContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) + @objc override final public func show() -> Swift.Bool + @objc override final public func validate() throws + @objc final public func application(_ application: UIKit.UIApplication?, open url: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication) + @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool + @objc deinit +} +@objc(FBSDKContextDialogDelegate) public protocol ContextDialogDelegate { + @objc func contextDialogDidComplete(_ contextDialog: FBSDKGamingServicesKit.ContextWebDialog) + @objc func contextDialog(_ contextDialog: FBSDKGamingServicesKit.ContextWebDialog, didFailWithError error: Swift.Error) + @objc func contextDialogDidCancel(_ contextDialog: FBSDKGamingServicesKit.ContextWebDialog) +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKContextDialogPresenter) final public class ContextDialogPresenter : ObjectiveC.NSObject { + @objc override convenience dynamic public init() + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowCreateContextDialog(content:delegate:)` instead") + @objc(showCreateContextDialogWithContent:delegate:) final public class func showCreateContextDialog(withContent content: FBSDKGamingServicesKit.CreateContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) -> Foundation.NSError? + @objc final public func makeAndShowCreateContextDialog(content: FBSDKGamingServicesKit.CreateContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) throws + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowSwitchContextDialog(content:delegate:)` instead") + @objc(showSwitchContextDialogWithContent:delegate:) final public class func showSwitchContextDialog(withContent content: FBSDKGamingServicesKit.SwitchContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate?) -> Foundation.NSError? + @objc final public func makeAndShowSwitchContextDialog(content: FBSDKGamingServicesKit.SwitchContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) throws + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowChooseContextDialog(content:delegate:)` instead") + @discardableResult + @objc(showChooseContextDialogWithContent:delegate:) final public class func showChooseContextDialog(withContent content: FBSDKGamingServicesKit.ChooseContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) -> FBSDKGamingServicesKit.ChooseContextDialog + @objc final public func makeAndShowChooseContextDialog(content: FBSDKGamingServicesKit.ChooseContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) + @objc @available(*, deprecated, message: "showChooseContextDialog is deprecated. Please use the instance method `makeAndShowChooseContextDialog` instead") + final public class func showChooseContextDialog(with content: FBSDKGamingServicesKit.ChooseContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) -> FBSDKGamingServicesKit.ChooseContextDialog + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowCreateContextDialog(content:delegate:)` instead") + @objc(createContextDialogWithContent:delegate:) final public class func createContextDialog(withContent content: FBSDKGamingServicesKit.CreateContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate?) -> FBSDKGamingServicesKit.CreateContextDialog? + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowSwitchContextDialog(content:delegate:)` instead") + @objc(switchContextDialogWithContent:delegate:) final public class func switchContextDialog(withContent content: FBSDKGamingServicesKit.SwitchContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate?) -> FBSDKGamingServicesKit.SwitchContextDialog? + @objc deinit +} +public enum ContextDialogPresenterError : Swift.Error { + case showCreateContext + case showSwitchContext + case showChooseContext + case invalidAccessToken + public static func == (a: FBSDKGamingServicesKit.ContextDialogPresenterError, b: FBSDKGamingServicesKit.ContextDialogPresenterError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKContextWebDialog) public class ContextWebDialog : ObjectiveC.NSObject, FBSDKCoreKit.WebDialogDelegate, FBSDKGamingServicesKit.DialogProtocol { + @objc public var delegate: FBSDKGamingServicesKit.ContextDialogDelegate? + @objc public var dialogContent: FBSDKGamingServicesKit.ValidatableProtocol? + @objc public var currentWebDialog: FBSDKCoreKit.WebDialog? + @objc public func show() -> Swift.Bool + @objc public func validate() throws + @objc public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didCompleteWithResults results: [Swift.String : Any]) + @objc public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didFailWithError error: Swift.Error) + @objc public func webDialogDidCancel(_ webDialog: FBSDKCoreKit.WebDialog) + @objc public func createWebDialogFrame(withWidth width: CoreGraphics.CGFloat, height: CoreGraphics.CGFloat, windowFinder: FBSDKCoreKit._WindowFinding) -> CoreGraphics.CGRect + @objc deinit +} +@objcMembers @objc(FBSDKCreateContextContent) final public class CreateContextContent : ObjectiveC.NSObject, FBSDKGamingServicesKit.ValidatableProtocol { + @objc final public var playerID: Swift.String + @objc(initDialogContentWithPlayerID:) public init(playerID: Swift.String) + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc final public func validate() throws + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKCreateContextDialog) final public class CreateContextDialog : FBSDKGamingServicesKit.ContextWebDialog { + @objc public init(content: FBSDKGamingServicesKit.CreateContextContent, windowFinder: FBSDKCoreKit._WindowFinding, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) + @discardableResult + @objc override final public func show() -> Swift.Bool + @objc override final public func validate() throws + @objc deinit +} +public enum CustomUpdateContentError : Swift.Error { + case notInGameContext + case invalidMessage + case invalidMedia + case invalidImage + public static func == (a: FBSDKGamingServicesKit.CustomUpdateContentError, b: FBSDKGamingServicesKit.CustomUpdateContentError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +final public class CustomUpdateContentImage { + public init(message: Swift.String, image: UIKit.UIImage, cta: Swift.String? = nil, payload: Swift.String? = nil, messageLocalization: [Swift.String : Swift.String] = [:], ctaLocalization: [Swift.String : Swift.String] = [:]) + @objc deinit +} +final public class CustomUpdateContentMedia { + public init(message: Swift.String, media: FBSDKGamingServicesKit.URLMedia, cta: Swift.String? = nil, payload: Swift.String? = nil, messageLocalization: [Swift.String : Swift.String] = [:], ctaLocalization: [Swift.String : Swift.String] = [:]) + @objc deinit +} +public enum CustomUpdateGraphRequestError : Swift.Error { + case server(Swift.Error) + case invalidAccessToken + case contentParsing + case decoding +} +final public class CustomUpdateGraphRequest { + final public let graphRequestFactory: FBSDKCoreKit.GraphRequestFactoryProtocol + public init() + public init(graphRequestFactory: FBSDKCoreKit.GraphRequestFactoryProtocol = GraphRequestFactory()) + final public func request(content: FBSDKGamingServicesKit.CustomUpdateContentMedia, completionHandler: @escaping (Swift.Result) -> Swift.Void) throws + final public func request(content: FBSDKGamingServicesKit.CustomUpdateContentImage, completionHandler: @escaping (Swift.Result) -> Swift.Void) throws + @objc deinit +} +@objc(FBSDKDialog) public protocol DialogProtocol { + @objc weak var delegate: FBSDKGamingServicesKit.ContextDialogDelegate? { get set } + @objc var dialogContent: FBSDKGamingServicesKit.ValidatableProtocol? { get set } + @objc func show() -> Swift.Bool + @objc func validate() throws +} +@objc(FBSDKValidatable) public protocol ValidatableProtocol { + @objc func validate() throws +} +public struct FacebookGIF : Swift.Codable, Swift.Equatable, FBSDKGamingServicesKit.URLMedia { + public init(withUrl url: Foundation.URL) + public static func == (a: FBSDKGamingServicesKit.FacebookGIF, b: FBSDKGamingServicesKit.FacebookGIF) -> Swift.Bool + public func encode(to encoder: Swift.Encoder) throws + public init(from decoder: Swift.Decoder) throws +} +public struct FacebookVideo : Swift.Codable, Swift.Equatable, FBSDKGamingServicesKit.URLMedia { + public init(withUrl url: Foundation.URL) + public static func == (a: FBSDKGamingServicesKit.FacebookVideo, b: FBSDKGamingServicesKit.FacebookVideo) -> Swift.Bool + public func encode(to encoder: Swift.Encoder) throws + public init(from decoder: Swift.Decoder) throws +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc(FBSDKFriendFinderDialog) final public class FriendFinderDialog : ObjectiveC.NSObject { + @objc override convenience dynamic public init() + @objc(launchFriendFinderDialogWithCompletionHandler:) public static func launch(completionHandler: @escaping FBSDKGamingServicesKit.GamingServiceCompletionHandler) + @objc deinit +} +@objc(FBSDKGameRequestActionType) public enum GameRequestActionType : Swift.UInt { + case none + case send + case askFor + case turn + case invite + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKGameRequestContent) final public class GameRequestContent : ObjectiveC.NSObject, FBSDKShareKit.SharingValidation, Foundation.NSSecureCoding { + @objc final public var actionType: FBSDKGamingServicesKit.GameRequestActionType + @objc final public var data: Swift.String? + @objc final public var filters: FBSDKGamingServicesKit.GameRequestFilter + @objc final public var message: Swift.String + @objc final public var objectID: Swift.String + @objc final public var recipients: [Swift.String] + @objc final public var recipientSuggestions: [Swift.String] + @objc final public var title: Swift.String + @objc final public var cta: Swift.String + @objc(validateWithOptions:error:) final public func validate(options: FBSDKShareKit.ShareBridgeOptions = []) throws + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc(isEqualToGameRequestContent:) final public func isEqual(to content: FBSDKGamingServicesKit.GameRequestContent) -> Swift.Bool + @objc final public class var supportsSecureCoding: Swift.Bool { + @objc get + } + @objc convenience public init(coder decoder: Foundation.NSCoder) + @objc final public func encode(with encoder: Foundation.NSCoder) + @objc override dynamic public init() + @objc deinit +} +@objcMembers @objc(FBSDKGameRequestDialog) final public class GameRequestDialog : ObjectiveC.NSObject { + @objc weak final public var delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate? + @objc final public var content: FBSDKGamingServicesKit.GameRequestContent + @objc final public var isFrictionlessRequestsEnabled: Swift.Bool + @objc final public var canShow: Swift.Bool { + @objc get + } + @objc public init(content: FBSDKGamingServicesKit.GameRequestContent, delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate?) + @objc(dialogWithContent:delegate:) public static func dialog(content: FBSDKGamingServicesKit.GameRequestContent, delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate?) -> FBSDKGamingServicesKit.GameRequestDialog + @discardableResult + @objc(showWithContent:delegate:) public static func show(content: FBSDKGamingServicesKit.GameRequestContent, delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate?) -> FBSDKGamingServicesKit.GameRequestDialog + @objc @discardableResult + final public func show() -> Swift.Bool + @objc(validateWithError:) final public func validate() throws + @objc deinit +} +extension FBSDKGamingServicesKit.GameRequestDialog : FBSDKCoreKit.WebDialogDelegate { + @objc final public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didCompleteWithResults results: [Swift.String : Any]) + @objc final public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didFailWithError error: Swift.Error) + @objc final public func webDialogDidCancel(_ webDialog: FBSDKCoreKit.WebDialog) +} +extension FBSDKGamingServicesKit.GameRequestDialog : FBSDKCoreKit.URLOpening { + @objc final public func application(_ application: UIKit.UIApplication?, open potentialURL: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication) + @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool +} +@objc(FBSDKGameRequestDialogDelegate) public protocol GameRequestDialogDelegate { + @objc(gameRequestDialog:didCompleteWithResults:) func gameRequestDialog(_ gameRequestDialog: FBSDKGamingServicesKit.GameRequestDialog, didCompleteWithResults results: [Swift.String : Any]) + @objc(gameRequestDialog:didFailWithError:) func gameRequestDialog(_ gameRequestDialog: FBSDKGamingServicesKit.GameRequestDialog, didFailWithError error: Swift.Error) + @objc func gameRequestDialogDidCancel(_ gameRequestDialog: FBSDKGamingServicesKit.GameRequestDialog) +} +@objc(FBSDKGameRequestFilter) public enum GameRequestFilter : Swift.UInt { + case none + case appUsers + case appNonUsers + case everybody + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKGameRequestURLProvider) final public class GameRequestURLProvider : ObjectiveC.NSObject { + @objc(createDeepLinkURLWithQueryDictionary:) final public class func createDeepLinkURL(queryDictionary: [Swift.String : Any]) -> Foundation.URL? + @objc(filtersNameForFilters:) final public class func filtersName(for filters: FBSDKGamingServicesKit.GameRequestFilter) -> Swift.String? + @objc(actionTypeNameForActionType:) final public class func actionTypeName(for actionType: FBSDKGamingServicesKit.GameRequestActionType) -> Swift.String? + @objc override dynamic public init() + @objc deinit +} +@objcMembers @objc(FBSDKGamingContext) final public class GamingContext : ObjectiveC.NSObject { + @objc(currentContext) public static var current: FBSDKGamingServicesKit.GamingContext? + @objc final public let identifier: Swift.String + @objc final public let size: Swift.Int + @objc public init?(identifier: Swift.String, size: Swift.Int) + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingGroupIntegration) final public class GamingGroupIntegration : ObjectiveC.NSObject { + @objc public static func openGroupPage(completionHandler: @escaping FBSDKGamingServicesKit.GamingServiceCompletionHandler) + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingImageUploader) final public class GamingImageUploader : ObjectiveC.NSObject { + @objc(uploadImageWithConfiguration:andResultCompletion:) public static func uploadImage(with configuration: FBSDKGamingServicesKit.GamingImageUploaderConfiguration, andResultCompletion completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion) + @objc(uploadImageWithConfiguration:completion:andProgressHandler:) public static func uploadImage(with configuration: FBSDKGamingServicesKit.GamingImageUploaderConfiguration, completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion, andProgressHandler progressHandler: FBSDKGamingServicesKit.GamingServiceProgressHandler?) + @objc deinit +} +extension FBSDKGamingServicesKit.GamingImageUploader : FBSDKCoreKit.GraphRequestConnectionDelegate { + @objc final public func requestConnection(_ connection: FBSDKCoreKit.GraphRequestConnecting, didSendBodyData bytesWritten: Swift.Int, totalBytesWritten: Swift.Int, totalBytesExpectedToWrite: Swift.Int) +} +@objcMembers @objc(FBSDKGamingImageUploaderConfiguration) final public class GamingImageUploaderConfiguration : ObjectiveC.NSObject { + @objc final public var image: UIKit.UIImage { + get + } + @objc final public var caption: Swift.String? { + get + } + @objc final public var shouldLaunchMediaDialog: Swift.Bool { + get + } + @objc public init(image: UIKit.UIImage, caption: Swift.String?, shouldLaunchMediaDialog: Swift.Bool) + @objc deinit +} +@objcMembers @objc(FBSDKGamingPayload) final public class GamingPayload : ObjectiveC.NSObject { + @objc final public var URL: FBSDKCoreKit.AppLinkURL + @objc final public var payload: Swift.String + @objc public init(URL: FBSDKCoreKit.AppLinkURL) + @objc deinit +} +@objc(FBSDKGamingPayloadDelegate) public protocol GamingPayloadDelegate : ObjectiveC.NSObjectProtocol { + @objc optional func parsedGameRequestURLContaining(_ payload: FBSDKGamingServicesKit.GamingPayload, gameRequestID: Swift.String) + @objc optional func parsedGamingContextURLContaining(_ payload: FBSDKGamingServicesKit.GamingPayload) + @objc optional func parsedTournamentURLContaining(_ payload: FBSDKGamingServicesKit.GamingPayload, tournamentID: Swift.String) +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingPayloadObserver) final public class GamingPayloadObserver : ObjectiveC.NSObject { + @objc weak final public var delegate: FBSDKGamingServicesKit.GamingPayloadDelegate? { + @objc get + @objc set + } + @objc convenience public init(delegate: FBSDKGamingServicesKit.GamingPayloadDelegate?) + @objc deinit +} +extension FBSDKGamingServicesKit.GamingPayloadObserver : FBSDKCoreKit.FBSDKApplicationObserving { + @objc final public func application(_ application: UIKit.UIApplication, open url: Foundation.URL, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool +} +public typealias GamingServiceCompletionHandler = (_ success: Swift.Bool, _ error: Swift.Error?) -> Swift.Void +public typealias FBSDKGamingServiceCompletionHandler = FBSDKGamingServicesKit.GamingServiceCompletionHandler +public typealias GamingServiceResultCompletion = (_ success: Swift.Bool, _ result: [Swift.String : Any]?, _ error: Swift.Error?) -> Swift.Void +public typealias FBSDKGamingServiceResultCompletion = FBSDKGamingServicesKit.GamingServiceResultCompletion +public typealias GamingServiceProgressHandler = (_ bytesSent: Swift.Int64, _ totalBytesSent: Swift.Int64, _ totalBytesExpectedToSend: Swift.Int64) -> Swift.Void +public typealias FBSDKGamingServiceProgressHandler = FBSDKGamingServicesKit.GamingServiceProgressHandler +public enum GamingServicesDialogError : Swift.Error { + case invalidContentType + case missingContent + case deeplinkURLCreation + public static func == (a: FBSDKGamingServicesKit.GamingServicesDialogError, b: FBSDKGamingServicesKit.GamingServicesDialogError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingVideoUploader) final public class GamingVideoUploader : ObjectiveC.NSObject { + @objc(uploadVideoWithConfiguration:andResultCompletion:) public static func uploadVideo(configuration: FBSDKGamingServicesKit.GamingVideoUploaderConfiguration, completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion) + @objc(uploadVideoWithConfiguration:completion:andProgressHandler:) public static func uploadVideo(configuration: FBSDKGamingServicesKit.GamingVideoUploaderConfiguration, completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion, progressHandler: FBSDKGamingServicesKit.GamingServiceProgressHandler?) + @objc deinit +} +@objcMembers @objc(FBSDKGamingVideoUploaderConfiguration) final public class GamingVideoUploaderConfiguration : ObjectiveC.NSObject { + @objc final public var videoURL: Foundation.URL { + get + } + @objc final public var caption: Swift.String? { + get + } + @objc public init(videoURL: Foundation.URL, caption: Swift.String?) + @objc deinit +} +public enum ShareTournamentDialogError : Swift.Error { + case invalidAccessToken + case invalidAuthToken + case invalidTournamentID + case unableToCreateDialogUrl + case unknownBridgeError + case errorMessage(Swift.String) + case bridgeError(Swift.Error) +} +@objc @_hasMissingDesignatedInitializers final public class ShareTournamentDialog : ObjectiveC.NSObject, FBSDKCoreKit.URLOpening { + convenience public init(delegate: FBSDKGamingServicesKit.ShareTournamentDialogDelegate) + final public func show(score: Swift.Int, tournamentID: Swift.String) throws + final public func show(score: Swift.Int, tournament: FBSDKGamingServicesKit.Tournament) throws + final public func show(initialScore: Swift.Int, config: FBSDKGamingServicesKit.TournamentConfig) throws + @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool + @objc final public func application(_ application: UIKit.UIApplication?, open url: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication) + @objc deinit +} +public protocol ShareTournamentDialogDelegate : AnyObject { + func didComplete(dialog: FBSDKGamingServicesKit.ShareTournamentDialog, tournament: FBSDKGamingServicesKit.Tournament) + func didFail(withError error: Swift.Error, dialog: FBSDKGamingServicesKit.ShareTournamentDialog) + func didCancel(dialog: FBSDKGamingServicesKit.ShareTournamentDialog) +} +@objc(FBSDKShowable) public protocol Showable { + @objc func show() -> Swift.Bool +} +extension FBSDKGamingServicesKit.ChooseContextDialog : FBSDKGamingServicesKit.Showable { +} +extension FBSDKGamingServicesKit.CreateContextDialog : FBSDKGamingServicesKit.Showable { +} +@objcMembers @objc(FBSDKSwitchContextContent) final public class SwitchContextContent : ObjectiveC.NSObject, FBSDKGamingServicesKit.ValidatableProtocol { + @objc(initDialogContentWithContextID:) public init(contextID: Swift.String) + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc final public func validate() throws + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKSwitchContextDialog) final public class SwitchContextDialog : FBSDKGamingServicesKit.ContextWebDialog, FBSDKGamingServicesKit.Showable { + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the initializer `init(content:windowFinder:delegate:)` instead") + @objc(dialogWithContent:windowFinder:delegate:) public static func dialog(content: FBSDKGamingServicesKit.SwitchContextContent, windowFinder: FBSDKCoreKit._WindowFinding, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) -> Self + @objc public init(content: FBSDKGamingServicesKit.SwitchContextContent, windowFinder: FBSDKCoreKit._WindowFinding, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) + @objc override final public func show() -> Swift.Bool + @objc override final public func validate() throws + @objc deinit +} +public enum TournamentDecodingError : Swift.Error { + case invalidExpirationDate + case invalidScoreType + public static func == (a: FBSDKGamingServicesKit.TournamentDecodingError, b: FBSDKGamingServicesKit.TournamentDecodingError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +public struct Tournament : Swift.Codable { + public var identifier: Swift.String { + get + } + public var endTime: Foundation.Date? { + get + } + public var title: Swift.String? { + get + } + public var payload: Swift.String? + public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws +} +public struct TournamentConfig { + public var title: Swift.String? + public var endTime: Foundation.TimeInterval? + public var scoreType: FBSDKGamingServicesKit.TournamentScoreType? + public var sortOrder: FBSDKGamingServicesKit.TournamentSortOrder? + public var payload: Swift.String? + public var image: UIKit.UIImage? + public init(title: Swift.String? = nil, endTime: Foundation.Date? = nil, scoreType: FBSDKGamingServicesKit.TournamentScoreType? = nil, sortOrder: FBSDKGamingServicesKit.TournamentSortOrder? = nil, image: UIKit.UIImage? = nil, payload: Swift.String? = nil) +} +public enum TournamentFetchError : Swift.Error { + case server(Swift.Error) + case decoding + case invalidAuthToken + case invalidAccessToken +} +@_hasMissingDesignatedInitializers final public class TournamentFetcher { + convenience public init() + final public func fetchTournaments(completionHandler: @escaping (Swift.Result<[FBSDKGamingServicesKit.Tournament], FBSDKGamingServicesKit.TournamentFetchError>) -> Swift.Void) + @objc deinit +} +public enum TournamentScoreType : Swift.String { + case numeric + case time + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +public enum TournamentSortOrder : Swift.String { + case higherIsBetter + case lowerIsBetter + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +public enum TournamentUpdaterError : Swift.Error { + case server(Swift.Error) + case decoding + case invalidAuthToken + case invalidAccessToken + case invalidTournamentID +} +@_hasMissingDesignatedInitializers final public class TournamentUpdater { + convenience public init() + final public func update(tournamentID: Swift.String, score: Swift.Int, completionHandler: @escaping (Swift.Result) -> Swift.Void) + final public func update(tournament: FBSDKGamingServicesKit.Tournament, score: Swift.Int, completionHandler: @escaping (Swift.Result) -> Swift.Void) + @objc deinit +} +public protocol URLMedia : Swift.Decodable, Swift.Encodable { + init(withUrl: Foundation.URL) +} +@objc @_hasMissingDesignatedInitializers @objcMembers final public class _FBSDKTournament : ObjectiveC.NSObject { + @objc final public var identifier: Swift.String { + get + } + @objc final public var endTime: Foundation.Date? { + get + } + @objc final public var title: Swift.String? { + get + } + @objc final public var payload: Swift.String? + @objc deinit +} +@objc(_FBSDKShareTournamentDialogDelegate) public protocol _ShareTournamentDialogDelegate { + @objc func didComplete(dialog: FBSDKGamingServicesKit._ShareTournamentDialog, tournament: FBSDKGamingServicesKit._FBSDKTournament) + @objc func didFail(withError error: Swift.Error, dialog: FBSDKGamingServicesKit._ShareTournamentDialog) + @objc func didCancel(dialog: FBSDKGamingServicesKit._ShareTournamentDialog) +} +@_hasMissingDesignatedInitializers @objcMembers @objc(_FBSDKShareTournamentDialog) final public class _ShareTournamentDialog : ObjectiveC.NSObject, FBSDKGamingServicesKit.ShareTournamentDialogDelegate { + @objc final public func show(score: Swift.Int, tournamentID: Swift.String) throws + @objc final public func show(score: Swift.Int, tournament: FBSDKGamingServicesKit._FBSDKTournament) throws + @objc final public func show(initialScore: Swift.Int, config: FBSDKGamingServicesKit._TournamentConfig) throws + @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool + @objc final public func application(_ application: UIKit.UIApplication?, open url: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication) + final public func didComplete(dialog: FBSDKGamingServicesKit.ShareTournamentDialog, tournament: FBSDKGamingServicesKit.Tournament) + @objc final public func didFail(withError error: Swift.Error, dialog: FBSDKGamingServicesKit.ShareTournamentDialog) + @objc final public func didCancel(dialog: FBSDKGamingServicesKit.ShareTournamentDialog) + @objc deinit +} +@objc(_FBSDKTournamentScoreType) public enum _TournamentScoreType : Swift.Int { + case numeric + case time + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@objc(_FBSDKTournamentSortOrder) public enum _TournamentSortOrder : Swift.Int { + case higherIsBetter + case lowerIsBetter + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@objcMembers @objc(_FBSDKTournamentConfig) final public class _TournamentConfig : ObjectiveC.NSObject { + @objc final public var title: Swift.String? + final public var endTime: CoreGraphics.CGFloat? + final public var scoreType: FBSDKGamingServicesKit._TournamentScoreType? + final public var sortOrder: FBSDKGamingServicesKit._TournamentSortOrder? + @objc final public var payload: Swift.String? + @objc final public var image: UIKit.UIImage? + public init(title: Swift.String? = nil, endTime: Foundation.Date? = nil, scoreType: FBSDKGamingServicesKit._TournamentScoreType? = nil, sortOrder: FBSDKGamingServicesKit._TournamentSortOrder? = nil, image: UIKit.UIImage? = nil, payload: Swift.String? = nil) + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(_FBSDKTournamentFetcher) final public class _TournamentFetcher : ObjectiveC.NSObject { + @objc final public func fetchTournaments(completionHandler: @escaping ([FBSDKGamingServicesKit._FBSDKTournament]?, Swift.Error?) -> Swift.Void) + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(_FBSDKTournamentUpdater) final public class _TournamentUpdater : ObjectiveC.NSObject { + @objc final public func update(tournamentID: Swift.String, score: Swift.Int, completionHandler: @escaping (Swift.Bool, Swift.Error?) -> Swift.Void) + @objc final public func update(tournament: FBSDKGamingServicesKit._FBSDKTournament, score: Swift.Int, completionHandler: @escaping (Swift.Bool, Swift.Error?) -> Swift.Void) + @objc deinit +} +extension FBSDKGamingServicesKit.ChooseContextFilter : Swift.Equatable {} +extension FBSDKGamingServicesKit.ChooseContextFilter : Swift.Hashable {} +extension FBSDKGamingServicesKit.ChooseContextFilter : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit.ContextDialogPresenterError : Swift.Equatable {} +extension FBSDKGamingServicesKit.ContextDialogPresenterError : Swift.Hashable {} +extension FBSDKGamingServicesKit.CustomUpdateContentError : Swift.Equatable {} +extension FBSDKGamingServicesKit.CustomUpdateContentError : Swift.Hashable {} +extension FBSDKGamingServicesKit.GameRequestActionType : Swift.Equatable {} +extension FBSDKGamingServicesKit.GameRequestActionType : Swift.Hashable {} +extension FBSDKGamingServicesKit.GameRequestActionType : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit.GameRequestFilter : Swift.Equatable {} +extension FBSDKGamingServicesKit.GameRequestFilter : Swift.Hashable {} +extension FBSDKGamingServicesKit.GameRequestFilter : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit.GamingServicesDialogError : Swift.Equatable {} +extension FBSDKGamingServicesKit.GamingServicesDialogError : Swift.Hashable {} +extension FBSDKGamingServicesKit.TournamentDecodingError : Swift.Equatable {} +extension FBSDKGamingServicesKit.TournamentDecodingError : Swift.Hashable {} +extension FBSDKGamingServicesKit.TournamentScoreType : Swift.Equatable {} +extension FBSDKGamingServicesKit.TournamentScoreType : Swift.Hashable {} +extension FBSDKGamingServicesKit.TournamentScoreType : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit.TournamentSortOrder : Swift.Equatable {} +extension FBSDKGamingServicesKit.TournamentSortOrder : Swift.Hashable {} +extension FBSDKGamingServicesKit.TournamentSortOrder : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit._TournamentScoreType : Swift.Equatable {} +extension FBSDKGamingServicesKit._TournamentScoreType : Swift.Hashable {} +extension FBSDKGamingServicesKit._TournamentScoreType : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit._TournamentSortOrder : Swift.Equatable {} +extension FBSDKGamingServicesKit._TournamentSortOrder : Swift.Hashable {} +extension FBSDKGamingServicesKit._TournamentSortOrder : Swift.RawRepresentable {} diff --git a/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/x86_64.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/x86_64.swiftdoc new file mode 100644 index 0000000..2dddf22 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/x86_64.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/x86_64.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/x86_64.swiftinterface new file mode 100644 index 0000000..a356ee0 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/Modules/FBSDKGamingServicesKit.swiftmodule/x86_64.swiftinterface @@ -0,0 +1,557 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKGamingServicesKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +import FBSDKShareKit +import Foundation +import Swift +import UIKit +import _Concurrency +@objc(FBSDKChooseContextFilter) public enum ChooseContextFilter : Swift.Int, Swift.CaseIterable { + case none + case existingChallenges + case newPlayersOnly + case newContextOnly + public var name: Swift.String { + get + } + public init?(rawValue: Swift.Int) + public typealias AllCases = [FBSDKGamingServicesKit.ChooseContextFilter] + public typealias RawValue = Swift.Int + public static var allCases: [FBSDKGamingServicesKit.ChooseContextFilter] { + get + } + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKChooseContextContent) final public class ChooseContextContent : ObjectiveC.NSObject, FBSDKGamingServicesKit.ValidatableProtocol { + @objc final public var filter: FBSDKGamingServicesKit.ChooseContextFilter + @objc final public var maxParticipants: Swift.Int + @objc final public var minParticipants: Swift.Int + @objc public static func filtersName(forFilters filter: FBSDKGamingServicesKit.ChooseContextFilter) -> Swift.String + @objc final public func validate() throws + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public init() + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKChooseContextDialog) final public class ChooseContextDialog : FBSDKGamingServicesKit.ContextWebDialog, FBSDKCoreKit.URLOpening { + @objc convenience public init(content: FBSDKGamingServicesKit.ChooseContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) + @objc override final public func show() -> Swift.Bool + @objc override final public func validate() throws + @objc final public func application(_ application: UIKit.UIApplication?, open url: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication) + @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool + @objc deinit +} +@objc(FBSDKContextDialogDelegate) public protocol ContextDialogDelegate { + @objc func contextDialogDidComplete(_ contextDialog: FBSDKGamingServicesKit.ContextWebDialog) + @objc func contextDialog(_ contextDialog: FBSDKGamingServicesKit.ContextWebDialog, didFailWithError error: Swift.Error) + @objc func contextDialogDidCancel(_ contextDialog: FBSDKGamingServicesKit.ContextWebDialog) +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKContextDialogPresenter) final public class ContextDialogPresenter : ObjectiveC.NSObject { + @objc override convenience dynamic public init() + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowCreateContextDialog(content:delegate:)` instead") + @objc(showCreateContextDialogWithContent:delegate:) final public class func showCreateContextDialog(withContent content: FBSDKGamingServicesKit.CreateContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) -> Foundation.NSError? + @objc final public func makeAndShowCreateContextDialog(content: FBSDKGamingServicesKit.CreateContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) throws + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowSwitchContextDialog(content:delegate:)` instead") + @objc(showSwitchContextDialogWithContent:delegate:) final public class func showSwitchContextDialog(withContent content: FBSDKGamingServicesKit.SwitchContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate?) -> Foundation.NSError? + @objc final public func makeAndShowSwitchContextDialog(content: FBSDKGamingServicesKit.SwitchContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) throws + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowChooseContextDialog(content:delegate:)` instead") + @discardableResult + @objc(showChooseContextDialogWithContent:delegate:) final public class func showChooseContextDialog(withContent content: FBSDKGamingServicesKit.ChooseContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) -> FBSDKGamingServicesKit.ChooseContextDialog + @objc final public func makeAndShowChooseContextDialog(content: FBSDKGamingServicesKit.ChooseContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) + @objc @available(*, deprecated, message: "showChooseContextDialog is deprecated. Please use the instance method `makeAndShowChooseContextDialog` instead") + final public class func showChooseContextDialog(with content: FBSDKGamingServicesKit.ChooseContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) -> FBSDKGamingServicesKit.ChooseContextDialog + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowCreateContextDialog(content:delegate:)` instead") + @objc(createContextDialogWithContent:delegate:) final public class func createContextDialog(withContent content: FBSDKGamingServicesKit.CreateContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate?) -> FBSDKGamingServicesKit.CreateContextDialog? + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the instance method `makeAndShowSwitchContextDialog(content:delegate:)` instead") + @objc(switchContextDialogWithContent:delegate:) final public class func switchContextDialog(withContent content: FBSDKGamingServicesKit.SwitchContextContent, delegate: FBSDKGamingServicesKit.ContextDialogDelegate?) -> FBSDKGamingServicesKit.SwitchContextDialog? + @objc deinit +} +public enum ContextDialogPresenterError : Swift.Error { + case showCreateContext + case showSwitchContext + case showChooseContext + case invalidAccessToken + public static func == (a: FBSDKGamingServicesKit.ContextDialogPresenterError, b: FBSDKGamingServicesKit.ContextDialogPresenterError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKContextWebDialog) public class ContextWebDialog : ObjectiveC.NSObject, FBSDKCoreKit.WebDialogDelegate, FBSDKGamingServicesKit.DialogProtocol { + @objc public var delegate: FBSDKGamingServicesKit.ContextDialogDelegate? + @objc public var dialogContent: FBSDKGamingServicesKit.ValidatableProtocol? + @objc public var currentWebDialog: FBSDKCoreKit.WebDialog? + @objc public func show() -> Swift.Bool + @objc public func validate() throws + @objc public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didCompleteWithResults results: [Swift.String : Any]) + @objc public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didFailWithError error: Swift.Error) + @objc public func webDialogDidCancel(_ webDialog: FBSDKCoreKit.WebDialog) + @objc public func createWebDialogFrame(withWidth width: CoreGraphics.CGFloat, height: CoreGraphics.CGFloat, windowFinder: FBSDKCoreKit._WindowFinding) -> CoreGraphics.CGRect + @objc deinit +} +@objcMembers @objc(FBSDKCreateContextContent) final public class CreateContextContent : ObjectiveC.NSObject, FBSDKGamingServicesKit.ValidatableProtocol { + @objc final public var playerID: Swift.String + @objc(initDialogContentWithPlayerID:) public init(playerID: Swift.String) + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc final public func validate() throws + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKCreateContextDialog) final public class CreateContextDialog : FBSDKGamingServicesKit.ContextWebDialog { + @objc public init(content: FBSDKGamingServicesKit.CreateContextContent, windowFinder: FBSDKCoreKit._WindowFinding, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) + @discardableResult + @objc override final public func show() -> Swift.Bool + @objc override final public func validate() throws + @objc deinit +} +public enum CustomUpdateContentError : Swift.Error { + case notInGameContext + case invalidMessage + case invalidMedia + case invalidImage + public static func == (a: FBSDKGamingServicesKit.CustomUpdateContentError, b: FBSDKGamingServicesKit.CustomUpdateContentError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +final public class CustomUpdateContentImage { + public init(message: Swift.String, image: UIKit.UIImage, cta: Swift.String? = nil, payload: Swift.String? = nil, messageLocalization: [Swift.String : Swift.String] = [:], ctaLocalization: [Swift.String : Swift.String] = [:]) + @objc deinit +} +final public class CustomUpdateContentMedia { + public init(message: Swift.String, media: FBSDKGamingServicesKit.URLMedia, cta: Swift.String? = nil, payload: Swift.String? = nil, messageLocalization: [Swift.String : Swift.String] = [:], ctaLocalization: [Swift.String : Swift.String] = [:]) + @objc deinit +} +public enum CustomUpdateGraphRequestError : Swift.Error { + case server(Swift.Error) + case invalidAccessToken + case contentParsing + case decoding +} +final public class CustomUpdateGraphRequest { + final public let graphRequestFactory: FBSDKCoreKit.GraphRequestFactoryProtocol + public init() + public init(graphRequestFactory: FBSDKCoreKit.GraphRequestFactoryProtocol = GraphRequestFactory()) + final public func request(content: FBSDKGamingServicesKit.CustomUpdateContentMedia, completionHandler: @escaping (Swift.Result) -> Swift.Void) throws + final public func request(content: FBSDKGamingServicesKit.CustomUpdateContentImage, completionHandler: @escaping (Swift.Result) -> Swift.Void) throws + @objc deinit +} +@objc(FBSDKDialog) public protocol DialogProtocol { + @objc weak var delegate: FBSDKGamingServicesKit.ContextDialogDelegate? { get set } + @objc var dialogContent: FBSDKGamingServicesKit.ValidatableProtocol? { get set } + @objc func show() -> Swift.Bool + @objc func validate() throws +} +@objc(FBSDKValidatable) public protocol ValidatableProtocol { + @objc func validate() throws +} +public struct FacebookGIF : Swift.Codable, Swift.Equatable, FBSDKGamingServicesKit.URLMedia { + public init(withUrl url: Foundation.URL) + public static func == (a: FBSDKGamingServicesKit.FacebookGIF, b: FBSDKGamingServicesKit.FacebookGIF) -> Swift.Bool + public func encode(to encoder: Swift.Encoder) throws + public init(from decoder: Swift.Decoder) throws +} +public struct FacebookVideo : Swift.Codable, Swift.Equatable, FBSDKGamingServicesKit.URLMedia { + public init(withUrl url: Foundation.URL) + public static func == (a: FBSDKGamingServicesKit.FacebookVideo, b: FBSDKGamingServicesKit.FacebookVideo) -> Swift.Bool + public func encode(to encoder: Swift.Encoder) throws + public init(from decoder: Swift.Decoder) throws +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc(FBSDKFriendFinderDialog) final public class FriendFinderDialog : ObjectiveC.NSObject { + @objc override convenience dynamic public init() + @objc(launchFriendFinderDialogWithCompletionHandler:) public static func launch(completionHandler: @escaping FBSDKGamingServicesKit.GamingServiceCompletionHandler) + @objc deinit +} +@objc(FBSDKGameRequestActionType) public enum GameRequestActionType : Swift.UInt { + case none + case send + case askFor + case turn + case invite + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKGameRequestContent) final public class GameRequestContent : ObjectiveC.NSObject, FBSDKShareKit.SharingValidation, Foundation.NSSecureCoding { + @objc final public var actionType: FBSDKGamingServicesKit.GameRequestActionType + @objc final public var data: Swift.String? + @objc final public var filters: FBSDKGamingServicesKit.GameRequestFilter + @objc final public var message: Swift.String + @objc final public var objectID: Swift.String + @objc final public var recipients: [Swift.String] + @objc final public var recipientSuggestions: [Swift.String] + @objc final public var title: Swift.String + @objc final public var cta: Swift.String + @objc(validateWithOptions:error:) final public func validate(options: FBSDKShareKit.ShareBridgeOptions = []) throws + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc(isEqualToGameRequestContent:) final public func isEqual(to content: FBSDKGamingServicesKit.GameRequestContent) -> Swift.Bool + @objc final public class var supportsSecureCoding: Swift.Bool { + @objc get + } + @objc convenience public init(coder decoder: Foundation.NSCoder) + @objc final public func encode(with encoder: Foundation.NSCoder) + @objc override dynamic public init() + @objc deinit +} +@objcMembers @objc(FBSDKGameRequestDialog) final public class GameRequestDialog : ObjectiveC.NSObject { + @objc weak final public var delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate? + @objc final public var content: FBSDKGamingServicesKit.GameRequestContent + @objc final public var isFrictionlessRequestsEnabled: Swift.Bool + @objc final public var canShow: Swift.Bool { + @objc get + } + @objc public init(content: FBSDKGamingServicesKit.GameRequestContent, delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate?) + @objc(dialogWithContent:delegate:) public static func dialog(content: FBSDKGamingServicesKit.GameRequestContent, delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate?) -> FBSDKGamingServicesKit.GameRequestDialog + @discardableResult + @objc(showWithContent:delegate:) public static func show(content: FBSDKGamingServicesKit.GameRequestContent, delegate: FBSDKGamingServicesKit.GameRequestDialogDelegate?) -> FBSDKGamingServicesKit.GameRequestDialog + @objc @discardableResult + final public func show() -> Swift.Bool + @objc(validateWithError:) final public func validate() throws + @objc deinit +} +extension FBSDKGamingServicesKit.GameRequestDialog : FBSDKCoreKit.WebDialogDelegate { + @objc final public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didCompleteWithResults results: [Swift.String : Any]) + @objc final public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didFailWithError error: Swift.Error) + @objc final public func webDialogDidCancel(_ webDialog: FBSDKCoreKit.WebDialog) +} +extension FBSDKGamingServicesKit.GameRequestDialog : FBSDKCoreKit.URLOpening { + @objc final public func application(_ application: UIKit.UIApplication?, open potentialURL: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication) + @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool +} +@objc(FBSDKGameRequestDialogDelegate) public protocol GameRequestDialogDelegate { + @objc(gameRequestDialog:didCompleteWithResults:) func gameRequestDialog(_ gameRequestDialog: FBSDKGamingServicesKit.GameRequestDialog, didCompleteWithResults results: [Swift.String : Any]) + @objc(gameRequestDialog:didFailWithError:) func gameRequestDialog(_ gameRequestDialog: FBSDKGamingServicesKit.GameRequestDialog, didFailWithError error: Swift.Error) + @objc func gameRequestDialogDidCancel(_ gameRequestDialog: FBSDKGamingServicesKit.GameRequestDialog) +} +@objc(FBSDKGameRequestFilter) public enum GameRequestFilter : Swift.UInt { + case none + case appUsers + case appNonUsers + case everybody + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKGameRequestURLProvider) final public class GameRequestURLProvider : ObjectiveC.NSObject { + @objc(createDeepLinkURLWithQueryDictionary:) final public class func createDeepLinkURL(queryDictionary: [Swift.String : Any]) -> Foundation.URL? + @objc(filtersNameForFilters:) final public class func filtersName(for filters: FBSDKGamingServicesKit.GameRequestFilter) -> Swift.String? + @objc(actionTypeNameForActionType:) final public class func actionTypeName(for actionType: FBSDKGamingServicesKit.GameRequestActionType) -> Swift.String? + @objc override dynamic public init() + @objc deinit +} +@objcMembers @objc(FBSDKGamingContext) final public class GamingContext : ObjectiveC.NSObject { + @objc(currentContext) public static var current: FBSDKGamingServicesKit.GamingContext? + @objc final public let identifier: Swift.String + @objc final public let size: Swift.Int + @objc public init?(identifier: Swift.String, size: Swift.Int) + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingGroupIntegration) final public class GamingGroupIntegration : ObjectiveC.NSObject { + @objc public static func openGroupPage(completionHandler: @escaping FBSDKGamingServicesKit.GamingServiceCompletionHandler) + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingImageUploader) final public class GamingImageUploader : ObjectiveC.NSObject { + @objc(uploadImageWithConfiguration:andResultCompletion:) public static func uploadImage(with configuration: FBSDKGamingServicesKit.GamingImageUploaderConfiguration, andResultCompletion completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion) + @objc(uploadImageWithConfiguration:completion:andProgressHandler:) public static func uploadImage(with configuration: FBSDKGamingServicesKit.GamingImageUploaderConfiguration, completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion, andProgressHandler progressHandler: FBSDKGamingServicesKit.GamingServiceProgressHandler?) + @objc deinit +} +extension FBSDKGamingServicesKit.GamingImageUploader : FBSDKCoreKit.GraphRequestConnectionDelegate { + @objc final public func requestConnection(_ connection: FBSDKCoreKit.GraphRequestConnecting, didSendBodyData bytesWritten: Swift.Int, totalBytesWritten: Swift.Int, totalBytesExpectedToWrite: Swift.Int) +} +@objcMembers @objc(FBSDKGamingImageUploaderConfiguration) final public class GamingImageUploaderConfiguration : ObjectiveC.NSObject { + @objc final public var image: UIKit.UIImage { + get + } + @objc final public var caption: Swift.String? { + get + } + @objc final public var shouldLaunchMediaDialog: Swift.Bool { + get + } + @objc public init(image: UIKit.UIImage, caption: Swift.String?, shouldLaunchMediaDialog: Swift.Bool) + @objc deinit +} +@objcMembers @objc(FBSDKGamingPayload) final public class GamingPayload : ObjectiveC.NSObject { + @objc final public var URL: FBSDKCoreKit.AppLinkURL + @objc final public var payload: Swift.String + @objc public init(URL: FBSDKCoreKit.AppLinkURL) + @objc deinit +} +@objc(FBSDKGamingPayloadDelegate) public protocol GamingPayloadDelegate : ObjectiveC.NSObjectProtocol { + @objc optional func parsedGameRequestURLContaining(_ payload: FBSDKGamingServicesKit.GamingPayload, gameRequestID: Swift.String) + @objc optional func parsedGamingContextURLContaining(_ payload: FBSDKGamingServicesKit.GamingPayload) + @objc optional func parsedTournamentURLContaining(_ payload: FBSDKGamingServicesKit.GamingPayload, tournamentID: Swift.String) +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingPayloadObserver) final public class GamingPayloadObserver : ObjectiveC.NSObject { + @objc weak final public var delegate: FBSDKGamingServicesKit.GamingPayloadDelegate? { + @objc get + @objc set + } + @objc convenience public init(delegate: FBSDKGamingServicesKit.GamingPayloadDelegate?) + @objc deinit +} +extension FBSDKGamingServicesKit.GamingPayloadObserver : FBSDKCoreKit.FBSDKApplicationObserving { + @objc final public func application(_ application: UIKit.UIApplication, open url: Foundation.URL, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool +} +public typealias GamingServiceCompletionHandler = (_ success: Swift.Bool, _ error: Swift.Error?) -> Swift.Void +public typealias FBSDKGamingServiceCompletionHandler = FBSDKGamingServicesKit.GamingServiceCompletionHandler +public typealias GamingServiceResultCompletion = (_ success: Swift.Bool, _ result: [Swift.String : Any]?, _ error: Swift.Error?) -> Swift.Void +public typealias FBSDKGamingServiceResultCompletion = FBSDKGamingServicesKit.GamingServiceResultCompletion +public typealias GamingServiceProgressHandler = (_ bytesSent: Swift.Int64, _ totalBytesSent: Swift.Int64, _ totalBytesExpectedToSend: Swift.Int64) -> Swift.Void +public typealias FBSDKGamingServiceProgressHandler = FBSDKGamingServicesKit.GamingServiceProgressHandler +public enum GamingServicesDialogError : Swift.Error { + case invalidContentType + case missingContent + case deeplinkURLCreation + public static func == (a: FBSDKGamingServicesKit.GamingServicesDialogError, b: FBSDKGamingServicesKit.GamingServicesDialogError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKGamingVideoUploader) final public class GamingVideoUploader : ObjectiveC.NSObject { + @objc(uploadVideoWithConfiguration:andResultCompletion:) public static func uploadVideo(configuration: FBSDKGamingServicesKit.GamingVideoUploaderConfiguration, completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion) + @objc(uploadVideoWithConfiguration:completion:andProgressHandler:) public static func uploadVideo(configuration: FBSDKGamingServicesKit.GamingVideoUploaderConfiguration, completion: @escaping FBSDKGamingServicesKit.GamingServiceResultCompletion, progressHandler: FBSDKGamingServicesKit.GamingServiceProgressHandler?) + @objc deinit +} +@objcMembers @objc(FBSDKGamingVideoUploaderConfiguration) final public class GamingVideoUploaderConfiguration : ObjectiveC.NSObject { + @objc final public var videoURL: Foundation.URL { + get + } + @objc final public var caption: Swift.String? { + get + } + @objc public init(videoURL: Foundation.URL, caption: Swift.String?) + @objc deinit +} +public enum ShareTournamentDialogError : Swift.Error { + case invalidAccessToken + case invalidAuthToken + case invalidTournamentID + case unableToCreateDialogUrl + case unknownBridgeError + case errorMessage(Swift.String) + case bridgeError(Swift.Error) +} +@objc @_hasMissingDesignatedInitializers final public class ShareTournamentDialog : ObjectiveC.NSObject, FBSDKCoreKit.URLOpening { + convenience public init(delegate: FBSDKGamingServicesKit.ShareTournamentDialogDelegate) + final public func show(score: Swift.Int, tournamentID: Swift.String) throws + final public func show(score: Swift.Int, tournament: FBSDKGamingServicesKit.Tournament) throws + final public func show(initialScore: Swift.Int, config: FBSDKGamingServicesKit.TournamentConfig) throws + @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool + @objc final public func application(_ application: UIKit.UIApplication?, open url: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication) + @objc deinit +} +public protocol ShareTournamentDialogDelegate : AnyObject { + func didComplete(dialog: FBSDKGamingServicesKit.ShareTournamentDialog, tournament: FBSDKGamingServicesKit.Tournament) + func didFail(withError error: Swift.Error, dialog: FBSDKGamingServicesKit.ShareTournamentDialog) + func didCancel(dialog: FBSDKGamingServicesKit.ShareTournamentDialog) +} +@objc(FBSDKShowable) public protocol Showable { + @objc func show() -> Swift.Bool +} +extension FBSDKGamingServicesKit.ChooseContextDialog : FBSDKGamingServicesKit.Showable { +} +extension FBSDKGamingServicesKit.CreateContextDialog : FBSDKGamingServicesKit.Showable { +} +@objcMembers @objc(FBSDKSwitchContextContent) final public class SwitchContextContent : ObjectiveC.NSObject, FBSDKGamingServicesKit.ValidatableProtocol { + @objc(initDialogContentWithContextID:) public init(contextID: Swift.String) + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc final public func validate() throws + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKSwitchContextDialog) final public class SwitchContextDialog : FBSDKGamingServicesKit.ContextWebDialog, FBSDKGamingServicesKit.Showable { + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release. Use the initializer `init(content:windowFinder:delegate:)` instead") + @objc(dialogWithContent:windowFinder:delegate:) public static func dialog(content: FBSDKGamingServicesKit.SwitchContextContent, windowFinder: FBSDKCoreKit._WindowFinding, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) -> Self + @objc public init(content: FBSDKGamingServicesKit.SwitchContextContent, windowFinder: FBSDKCoreKit._WindowFinding, delegate: FBSDKGamingServicesKit.ContextDialogDelegate) + @objc override final public func show() -> Swift.Bool + @objc override final public func validate() throws + @objc deinit +} +public enum TournamentDecodingError : Swift.Error { + case invalidExpirationDate + case invalidScoreType + public static func == (a: FBSDKGamingServicesKit.TournamentDecodingError, b: FBSDKGamingServicesKit.TournamentDecodingError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +public struct Tournament : Swift.Codable { + public var identifier: Swift.String { + get + } + public var endTime: Foundation.Date? { + get + } + public var title: Swift.String? { + get + } + public var payload: Swift.String? + public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws +} +public struct TournamentConfig { + public var title: Swift.String? + public var endTime: Foundation.TimeInterval? + public var scoreType: FBSDKGamingServicesKit.TournamentScoreType? + public var sortOrder: FBSDKGamingServicesKit.TournamentSortOrder? + public var payload: Swift.String? + public var image: UIKit.UIImage? + public init(title: Swift.String? = nil, endTime: Foundation.Date? = nil, scoreType: FBSDKGamingServicesKit.TournamentScoreType? = nil, sortOrder: FBSDKGamingServicesKit.TournamentSortOrder? = nil, image: UIKit.UIImage? = nil, payload: Swift.String? = nil) +} +public enum TournamentFetchError : Swift.Error { + case server(Swift.Error) + case decoding + case invalidAuthToken + case invalidAccessToken +} +@_hasMissingDesignatedInitializers final public class TournamentFetcher { + convenience public init() + final public func fetchTournaments(completionHandler: @escaping (Swift.Result<[FBSDKGamingServicesKit.Tournament], FBSDKGamingServicesKit.TournamentFetchError>) -> Swift.Void) + @objc deinit +} +public enum TournamentScoreType : Swift.String { + case numeric + case time + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +public enum TournamentSortOrder : Swift.String { + case higherIsBetter + case lowerIsBetter + public init?(rawValue: Swift.String) + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } +} +public enum TournamentUpdaterError : Swift.Error { + case server(Swift.Error) + case decoding + case invalidAuthToken + case invalidAccessToken + case invalidTournamentID +} +@_hasMissingDesignatedInitializers final public class TournamentUpdater { + convenience public init() + final public func update(tournamentID: Swift.String, score: Swift.Int, completionHandler: @escaping (Swift.Result) -> Swift.Void) + final public func update(tournament: FBSDKGamingServicesKit.Tournament, score: Swift.Int, completionHandler: @escaping (Swift.Result) -> Swift.Void) + @objc deinit +} +public protocol URLMedia : Swift.Decodable, Swift.Encodable { + init(withUrl: Foundation.URL) +} +@objc @_hasMissingDesignatedInitializers @objcMembers final public class _FBSDKTournament : ObjectiveC.NSObject { + @objc final public var identifier: Swift.String { + get + } + @objc final public var endTime: Foundation.Date? { + get + } + @objc final public var title: Swift.String? { + get + } + @objc final public var payload: Swift.String? + @objc deinit +} +@objc(_FBSDKShareTournamentDialogDelegate) public protocol _ShareTournamentDialogDelegate { + @objc func didComplete(dialog: FBSDKGamingServicesKit._ShareTournamentDialog, tournament: FBSDKGamingServicesKit._FBSDKTournament) + @objc func didFail(withError error: Swift.Error, dialog: FBSDKGamingServicesKit._ShareTournamentDialog) + @objc func didCancel(dialog: FBSDKGamingServicesKit._ShareTournamentDialog) +} +@_hasMissingDesignatedInitializers @objcMembers @objc(_FBSDKShareTournamentDialog) final public class _ShareTournamentDialog : ObjectiveC.NSObject, FBSDKGamingServicesKit.ShareTournamentDialogDelegate { + @objc final public func show(score: Swift.Int, tournamentID: Swift.String) throws + @objc final public func show(score: Swift.Int, tournament: FBSDKGamingServicesKit._FBSDKTournament) throws + @objc final public func show(initialScore: Swift.Int, config: FBSDKGamingServicesKit._TournamentConfig) throws + @objc final public func isAuthenticationURL(_ url: Foundation.URL) -> Swift.Bool + @objc final public func application(_ application: UIKit.UIApplication?, open url: Foundation.URL?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func canOpen(_ url: Foundation.URL, for application: UIKit.UIApplication?, sourceApplication: Swift.String?, annotation: Any?) -> Swift.Bool + @objc final public func applicationDidBecomeActive(_ application: UIKit.UIApplication) + final public func didComplete(dialog: FBSDKGamingServicesKit.ShareTournamentDialog, tournament: FBSDKGamingServicesKit.Tournament) + @objc final public func didFail(withError error: Swift.Error, dialog: FBSDKGamingServicesKit.ShareTournamentDialog) + @objc final public func didCancel(dialog: FBSDKGamingServicesKit.ShareTournamentDialog) + @objc deinit +} +@objc(_FBSDKTournamentScoreType) public enum _TournamentScoreType : Swift.Int { + case numeric + case time + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@objc(_FBSDKTournamentSortOrder) public enum _TournamentSortOrder : Swift.Int { + case higherIsBetter + case lowerIsBetter + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@objcMembers @objc(_FBSDKTournamentConfig) final public class _TournamentConfig : ObjectiveC.NSObject { + @objc final public var title: Swift.String? + final public var endTime: CoreGraphics.CGFloat? + final public var scoreType: FBSDKGamingServicesKit._TournamentScoreType? + final public var sortOrder: FBSDKGamingServicesKit._TournamentSortOrder? + @objc final public var payload: Swift.String? + @objc final public var image: UIKit.UIImage? + public init(title: Swift.String? = nil, endTime: Foundation.Date? = nil, scoreType: FBSDKGamingServicesKit._TournamentScoreType? = nil, sortOrder: FBSDKGamingServicesKit._TournamentSortOrder? = nil, image: UIKit.UIImage? = nil, payload: Swift.String? = nil) + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(_FBSDKTournamentFetcher) final public class _TournamentFetcher : ObjectiveC.NSObject { + @objc final public func fetchTournaments(completionHandler: @escaping ([FBSDKGamingServicesKit._FBSDKTournament]?, Swift.Error?) -> Swift.Void) + @objc deinit +} +@_hasMissingDesignatedInitializers @objcMembers @objc(_FBSDKTournamentUpdater) final public class _TournamentUpdater : ObjectiveC.NSObject { + @objc final public func update(tournamentID: Swift.String, score: Swift.Int, completionHandler: @escaping (Swift.Bool, Swift.Error?) -> Swift.Void) + @objc final public func update(tournament: FBSDKGamingServicesKit._FBSDKTournament, score: Swift.Int, completionHandler: @escaping (Swift.Bool, Swift.Error?) -> Swift.Void) + @objc deinit +} +extension FBSDKGamingServicesKit.ChooseContextFilter : Swift.Equatable {} +extension FBSDKGamingServicesKit.ChooseContextFilter : Swift.Hashable {} +extension FBSDKGamingServicesKit.ChooseContextFilter : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit.ContextDialogPresenterError : Swift.Equatable {} +extension FBSDKGamingServicesKit.ContextDialogPresenterError : Swift.Hashable {} +extension FBSDKGamingServicesKit.CustomUpdateContentError : Swift.Equatable {} +extension FBSDKGamingServicesKit.CustomUpdateContentError : Swift.Hashable {} +extension FBSDKGamingServicesKit.GameRequestActionType : Swift.Equatable {} +extension FBSDKGamingServicesKit.GameRequestActionType : Swift.Hashable {} +extension FBSDKGamingServicesKit.GameRequestActionType : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit.GameRequestFilter : Swift.Equatable {} +extension FBSDKGamingServicesKit.GameRequestFilter : Swift.Hashable {} +extension FBSDKGamingServicesKit.GameRequestFilter : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit.GamingServicesDialogError : Swift.Equatable {} +extension FBSDKGamingServicesKit.GamingServicesDialogError : Swift.Hashable {} +extension FBSDKGamingServicesKit.TournamentDecodingError : Swift.Equatable {} +extension FBSDKGamingServicesKit.TournamentDecodingError : Swift.Hashable {} +extension FBSDKGamingServicesKit.TournamentScoreType : Swift.Equatable {} +extension FBSDKGamingServicesKit.TournamentScoreType : Swift.Hashable {} +extension FBSDKGamingServicesKit.TournamentScoreType : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit.TournamentSortOrder : Swift.Equatable {} +extension FBSDKGamingServicesKit.TournamentSortOrder : Swift.Hashable {} +extension FBSDKGamingServicesKit.TournamentSortOrder : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit._TournamentScoreType : Swift.Equatable {} +extension FBSDKGamingServicesKit._TournamentScoreType : Swift.Hashable {} +extension FBSDKGamingServicesKit._TournamentScoreType : Swift.RawRepresentable {} +extension FBSDKGamingServicesKit._TournamentSortOrder : Swift.Equatable {} +extension FBSDKGamingServicesKit._TournamentSortOrder : Swift.Hashable {} +extension FBSDKGamingServicesKit._TournamentSortOrder : Swift.RawRepresentable {} diff --git a/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/Modules/module.modulemap b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/Modules/module.modulemap new file mode 100644 index 0000000..e143fca --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/Modules/module.modulemap @@ -0,0 +1,4 @@ +framework module FBSDKGamingServicesKit { + header "FBSDKGamingServicesKit-Swift.h" + requires objc +} diff --git a/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/_CodeSignature/CodeDirectory b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/_CodeSignature/CodeDirectory new file mode 100644 index 0000000..a80424e Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/_CodeSignature/CodeDirectory differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/_CodeSignature/CodeRequirements b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/_CodeSignature/CodeRequirements new file mode 100644 index 0000000..dbf9d61 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/_CodeSignature/CodeRequirements differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/_CodeSignature/CodeRequirements-1 b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/_CodeSignature/CodeRequirements-1 new file mode 100644 index 0000000..23cae65 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/_CodeSignature/CodeRequirements-1 differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/_CodeSignature/CodeResources b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/_CodeSignature/CodeResources new file mode 100644 index 0000000..b6d3e0d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/_CodeSignature/CodeResources @@ -0,0 +1,312 @@ + + + + + files + + Headers/FBSDKGamingServicesKit-Swift.h + + O0Z9nN/+JcfjdsWtQZodnql36TI= + + Info.plist + + 66Zi8HmCevj4Q6yh7PAKk1K2KBw= + + Modules/FBSDKGamingServicesKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + PO/LOtLIgbiYyQgNL2CeuccGUEA= + + Modules/FBSDKGamingServicesKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + XHlwoXPWHODe04GdGdVj/NObAls= + + Modules/FBSDKGamingServicesKit.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + j2C5zVoO7vgTZqCplQbpvTDqTs0= + + Modules/FBSDKGamingServicesKit.swiftmodule/arm64.swiftdoc + + PO/LOtLIgbiYyQgNL2CeuccGUEA= + + Modules/FBSDKGamingServicesKit.swiftmodule/arm64.swiftinterface + + XHlwoXPWHODe04GdGdVj/NObAls= + + Modules/FBSDKGamingServicesKit.swiftmodule/arm64.swiftmodule + + j2C5zVoO7vgTZqCplQbpvTDqTs0= + + Modules/FBSDKGamingServicesKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + 3ZPXlVnmCn/wN/f39wyzjAncl8I= + + Modules/FBSDKGamingServicesKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + urQfY04N/VqtQsdw4AJZTAXoRbE= + + Modules/FBSDKGamingServicesKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule + + pzs6FfrnuUVhbaUvQ+IbAqeYxYA= + + Modules/FBSDKGamingServicesKit.swiftmodule/x86_64.swiftdoc + + 3ZPXlVnmCn/wN/f39wyzjAncl8I= + + Modules/FBSDKGamingServicesKit.swiftmodule/x86_64.swiftinterface + + urQfY04N/VqtQsdw4AJZTAXoRbE= + + Modules/FBSDKGamingServicesKit.swiftmodule/x86_64.swiftmodule + + pzs6FfrnuUVhbaUvQ+IbAqeYxYA= + + Modules/module.modulemap + + 1INhvxTcxy84KlDnXm5rZBWREYQ= + + + files2 + + Headers/FBSDKGamingServicesKit-Swift.h + + hash + + O0Z9nN/+JcfjdsWtQZodnql36TI= + + hash2 + + QVAnwdX4JSlib0N2BtfY6mcVun7KxclvyLMpnnPWlw8= + + + Modules/FBSDKGamingServicesKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + hash + + PO/LOtLIgbiYyQgNL2CeuccGUEA= + + hash2 + + kaO5OOzzGi5TQqhehI3oz2iFeTcRLbYF2J/r3a1HD5o= + + + Modules/FBSDKGamingServicesKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + hash + + XHlwoXPWHODe04GdGdVj/NObAls= + + hash2 + + GFfoDNz+3jXK0jnCSt5AQ0+4VHEFTlGs87RKQ73WDBY= + + + Modules/FBSDKGamingServicesKit.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + hash + + j2C5zVoO7vgTZqCplQbpvTDqTs0= + + hash2 + + LA3MvLPfEH+2zS5qy2BZDxff9L6dfzMR0olnK56VnDI= + + + Modules/FBSDKGamingServicesKit.swiftmodule/arm64.swiftdoc + + hash + + PO/LOtLIgbiYyQgNL2CeuccGUEA= + + hash2 + + kaO5OOzzGi5TQqhehI3oz2iFeTcRLbYF2J/r3a1HD5o= + + + Modules/FBSDKGamingServicesKit.swiftmodule/arm64.swiftinterface + + hash + + XHlwoXPWHODe04GdGdVj/NObAls= + + hash2 + + GFfoDNz+3jXK0jnCSt5AQ0+4VHEFTlGs87RKQ73WDBY= + + + Modules/FBSDKGamingServicesKit.swiftmodule/arm64.swiftmodule + + hash + + j2C5zVoO7vgTZqCplQbpvTDqTs0= + + hash2 + + LA3MvLPfEH+2zS5qy2BZDxff9L6dfzMR0olnK56VnDI= + + + Modules/FBSDKGamingServicesKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + hash + + 3ZPXlVnmCn/wN/f39wyzjAncl8I= + + hash2 + + K9ZGXgHWYksI9JFkKYf0XetarnmJeFWe1fYLAeXhbVU= + + + Modules/FBSDKGamingServicesKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + hash + + urQfY04N/VqtQsdw4AJZTAXoRbE= + + hash2 + + Mun9FgqP0f5SCpt6HGFPgTmJpCJCUyIOxIAqRJ+AFA0= + + + Modules/FBSDKGamingServicesKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule + + hash + + pzs6FfrnuUVhbaUvQ+IbAqeYxYA= + + hash2 + + 5LCn8TYuOkS1QbuP7nd9qzj52UpN/eHs50jnrq1o7ig= + + + Modules/FBSDKGamingServicesKit.swiftmodule/x86_64.swiftdoc + + hash + + 3ZPXlVnmCn/wN/f39wyzjAncl8I= + + hash2 + + K9ZGXgHWYksI9JFkKYf0XetarnmJeFWe1fYLAeXhbVU= + + + Modules/FBSDKGamingServicesKit.swiftmodule/x86_64.swiftinterface + + hash + + urQfY04N/VqtQsdw4AJZTAXoRbE= + + hash2 + + Mun9FgqP0f5SCpt6HGFPgTmJpCJCUyIOxIAqRJ+AFA0= + + + Modules/FBSDKGamingServicesKit.swiftmodule/x86_64.swiftmodule + + hash + + pzs6FfrnuUVhbaUvQ+IbAqeYxYA= + + hash2 + + 5LCn8TYuOkS1QbuP7nd9qzj52UpN/eHs50jnrq1o7ig= + + + Modules/module.modulemap + + hash + + 1INhvxTcxy84KlDnXm5rZBWREYQ= + + hash2 + + ZLerLpdS0BcLjtlp4pnVg4FZbcgvWbRh82p0T4wiB0E= + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/_CodeSignature/CodeSignature b/src/ios/EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework/ios-arm64_x86_64-simulator/FBSDKGamingServicesKit.framework/_CodeSignature/CodeSignature new file mode 100644 index 0000000..e69de29 diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/FBSDKLoginKit b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/FBSDKLoginKit deleted file mode 100644 index 5e9d7fb..0000000 Binary files a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/FBSDKLoginKit and /dev/null differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginCodeInfo.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginCodeInfo.h deleted file mode 100644 index 13e9f8c..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginCodeInfo.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -/*! - @abstract Describes the initial response when starting the device login flow. - @discussion This is used by `FBSDKDeviceLoginManager`. - */ -NS_SWIFT_NAME(DeviceLoginCodeInfo) -@interface FBSDKDeviceLoginCodeInfo : NSObject - -/*! - @abstract There is no public initializer. - */ -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/*! - @abstract the unique id for this login flow. -*/ -@property (nonatomic, readonly, copy) NSString *identifier; - -/*! - @abstract the short "user_code" that should be presented to the user. -*/ -@property (nonatomic, readonly, copy) NSString *loginCode; - -/*! - @abstract the verification URL. -*/ -@property (nonatomic, readonly, copy) NSURL *verificationURL; - -/*! - @abstract the expiration date. -*/ -@property (nonatomic, readonly, copy) NSDate *expirationDate; - -/*! - @abstract the polling interval -*/ -@property (nonatomic, readonly, assign) NSUInteger pollingInterval; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManager.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManager.h deleted file mode 100644 index b29cf4c..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManager.h +++ /dev/null @@ -1,98 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -@class FBSDKDeviceLoginManager; - -/*! - @abstract A delegate for `FBSDKDeviceLoginManager`. - */ -NS_SWIFT_NAME(DeviceLoginManagerDelegate) -@protocol FBSDKDeviceLoginManagerDelegate - -/*! - @abstract Indicates the device login flow has started. You should parse `codeInfo` to - present the code to the user to enter. - @param loginManager the login manager instance. - @param codeInfo the code info data. - */ -- (void)deviceLoginManager:(FBSDKDeviceLoginManager *)loginManager - startedWithCodeInfo:(FBSDKDeviceLoginCodeInfo *)codeInfo; - -/*! - @abstract Indicates the device login flow has finished. - @param loginManager the login manager instance. - @param result the results of the login flow. - @param error the error, if available. - @discussion The flow can be finished if the user completed the flow, cancelled, or if the code has expired. - */ -- (void)deviceLoginManager:(FBSDKDeviceLoginManager *)loginManager - completedWithResult:(nullable FBSDKDeviceLoginManagerResult *)result - error:(nullable NSError *)error; - -@end - -/*! - @abstract Use this class to perform a device login flow. - @discussion The device login flow starts by requesting a code from the device login API. - This class informs the delegate when this code is received. You should then present the - code to the user to enter. In the meantime, this class polls the device login API - periodically and informs the delegate of the results. - - See [Facebook Device Login](https://developers.facebook.com/docs/facebook-login/for-devices). - */ -NS_SWIFT_NAME(DeviceLoginManager) -@interface FBSDKDeviceLoginManager : NSObject - -/*! - @abstract Initializes a new instance. - @param permissions permissions to request. - */ -- (instancetype)initWithPermissions:(NSArray *)permissions - enableSmartLogin:(BOOL)enableSmartLogin - NS_DESIGNATED_INITIALIZER; - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/*! - @abstract the delegate. - */ -@property (nonatomic, weak) id delegate; - -/*! - @abstract the requested permissions. - */ -@property (nonatomic, readonly, copy) NSArray *permissions; - -/*! - @abstract the optional URL to redirect the user to after they complete the login. - @discussion the URL must be configured in your App Settings -> Advanced -> OAuth Redirect URIs - */ -@property (nullable, nonatomic, copy) NSURL *redirectURL; - -/*! - @abstract Starts the device login flow - @discussion This instance will retain self until the flow is finished or cancelled. - */ -- (void)start; - -/*! - @abstract Attempts to cancel the device login flow. - */ -- (void)cancel; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerResult.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerResult.h deleted file mode 100644 index 79d7303..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerResult.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -@class FBSDKAccessToken; - -NS_ASSUME_NONNULL_BEGIN - -/*! - @abstract Represents the results of the a device login flow. - @discussion This is used by `FBSDKDeviceLoginManager`. - */ -NS_SWIFT_NAME(DeviceLoginManagerResult) -@interface FBSDKDeviceLoginManagerResult : NSObject - -/*! - @abstract There is no public initializer. - */ -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/*! - @abstract The token. - */ -@property (nullable, nonatomic, readonly, strong) FBSDKAccessToken *accessToken; - -/*! - @abstract Indicates if the login was cancelled by the user, or if the device - login code has expired. - */ -@property (nonatomic, readonly, getter = isCancelled, assign) BOOL cancelled; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginButton.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginButton.h deleted file mode 100644 index 6bee676..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginButton.h +++ /dev/null @@ -1,111 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import "TargetConditionals.h" - -#if TARGET_OS_TV - -@interface FBLoginButton : UIView - -@property (nonatomic, copy) NSArray *permissions; - -@end - -#else - - #import - #import - #import - -NS_ASSUME_NONNULL_BEGIN - -@protocol FBSDKLoginButtonDelegate; - -/** - NS_ENUM(NSUInteger, FBSDKLoginButtonTooltipBehavior) - 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, -} NS_SWIFT_NAME(FBLoginButton.TooltipBehavior); - -/** - A button that initiates a log in or log out flow upon tapping. - - `FBSDKLoginButton` works with `FBSDKProfile.currentProfile` 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 of @c 30 pixels, but you may change the width. `initWithFrame:CGRectZero` - will size the button to its minimum frame. -*/ -NS_SWIFT_NAME(FBLoginButton) -@interface FBSDKLoginButton : FBSDKButton - -/** - The default audience to use, if publish permissions are requested at login time. - */ -@property (nonatomic, assign) FBSDKDefaultAudience defaultAudience; -/** - Gets or sets the delegate. - */ -@property (nonatomic, weak) IBOutlet id delegate; -/*! - @abstract The permissions to request. - @discussion To provide the best experience, you should minimize the number of permissions you request, and only ask for them when needed. - For example, do not ask for "user_location" until you the information is actually used by the app. - - Note this is converted to NSSet and is only - an NSArray for the convenience of literal syntax. - - See [the permissions guide]( https://developers.facebook.com/docs/facebook-login/permissions/ ) for more details. - */ -@property (nonatomic, copy) NSArray *permissions; -/** - Gets or sets the desired tooltip behavior. - */ -@property (nonatomic, assign) FBSDKLoginButtonTooltipBehavior tooltipBehavior; -/** - Gets or sets the desired tooltip color style. - */ -@property (nonatomic, assign) FBSDKTooltipColorStyle tooltipColorStyle; -/** - Gets or sets the desired tracking preference to use for login attempts. Defaults to `.enabled` - */ -@property (nonatomic, assign) FBSDKLoginTracking loginTracking; -/** - Gets or sets an optional nonce to use for login attempts. A valid nonce must be a non-empty string without whitespace. - An invalid nonce will not be set. Instead, default unique nonces will be used for login attempts. - */ -@property (nullable, nonatomic, copy) NSString *nonce; -/** - Gets or sets an optional page id to use for login attempts. - */ -@property (nullable, nonatomic, copy) NSString *messengerPageId; -/** - Gets or sets the auth_type to use in the login request. Defaults to rerequest. - */ -@property (nullable, nonatomic) FBSDKLoginAuthType authType; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginButtonDelegate.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginButtonDelegate.h deleted file mode 100644 index bf192c9..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginButtonDelegate.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -NS_ASSUME_NONNULL_BEGIN - -/** - @protocol - A delegate for `FBSDKLoginButton` - */ -NS_SWIFT_NAME(LoginButtonDelegate) -@protocol FBSDKLoginButtonDelegate - -@required -/** - 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:(nullable FBSDKLoginManagerLoginResult *)result - error:(nullable NSError *)error; - -/** - Sent to the delegate when the button was used to logout. - @param loginButton The button that was clicked. - */ -- (void)loginButtonDidLogOut:(FBSDKLoginButton *)loginButton; - -@optional -/** - 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 - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginConfiguration.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginConfiguration.h deleted file mode 100644 index 8a8a109..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginConfiguration.h +++ /dev/null @@ -1,153 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -@class FBSDKPermission; - -/// typedef for FBSDKLoginAuthType -/// See: https://developers.facebook.com/docs/reference/javascript/FB.login/v10.0#options -typedef NSString *const FBSDKLoginAuthType NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(LoginAuthType); - -/// Rerequest -FOUNDATION_EXPORT FBSDKLoginAuthType FBSDKLoginAuthTypeRerequest; - -/// Reauthorize -FOUNDATION_EXPORT FBSDKLoginAuthType FBSDKLoginAuthTypeReauthorize; - -/// The login tracking preference to use for a login attempt. For more information on the differences between -/// `enabled` and `limited` see: https://developers.facebook.com/docs/facebook-login/ios/limited-login/ -typedef NS_ENUM(NSUInteger, FBSDKLoginTracking) { - FBSDKLoginTrackingEnabled, - FBSDKLoginTrackingLimited, -} NS_SWIFT_NAME(LoginTracking); - -/// A configuration to use for modifying the behavior of a login attempt. -NS_SWIFT_NAME(LoginConfiguration) -@interface FBSDKLoginConfiguration : NSObject - -/// The nonce that the configuration was created with. -/// A unique nonce will be used if none is provided to the initializer. -@property (nonatomic, readonly, copy) NSString *nonce; - -/// The tracking preference. Defaults to `.enabled`. -@property (nonatomic, readonly) FBSDKLoginTracking tracking; - -/// The requested permissions for the login attempt. Defaults to an empty set. -@property (nonatomic, readonly, copy) NSSet *requestedPermissions; - -/// The Messenger Page Id associated with this login request. -@property (nullable, nonatomic, readonly, copy) NSString *messengerPageId; - -/// The auth type associated with this login request. -@property (nullable, nonatomic, readonly) FBSDKLoginAuthType authType; - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/** - Attempts to initialize a new configuration with the expected parameters. - - @param permissions the requested permissions for a login attempt. Permissions must be an array of strings that do not contain whitespace. - @param tracking the tracking preference to use for a login attempt. - @param nonce an optional nonce to use for the login attempt. A valid nonce must be a non-empty string without whitespace. - Creation of the configuration will fail if the nonce is invalid. - @param messengerPageId the associated page id to use for a login attempt. - */ -- (nullable instancetype)initWithPermissions:(NSArray *)permissions - tracking:(FBSDKLoginTracking)tracking - nonce:(NSString *)nonce - messengerPageId:(nullable NSString *)messengerPageId - NS_REFINED_FOR_SWIFT; - -/** - Attempts to initialize a new configuration with the expected parameters. - - @param permissions the requested permissions for a login attempt. Permissions must be an array of strings that do not contain whitespace. - @param tracking the tracking preference to use for a login attempt. - @param nonce an optional nonce to use for the login attempt. A valid nonce must be a non-empty string without whitespace. - Creation of the configuration will fail if the nonce is invalid. - @param messengerPageId the associated page id to use for a login attempt. - @param authType auth_type param to use for login. - */ -- (nullable instancetype)initWithPermissions:(NSArray *)permissions - tracking:(FBSDKLoginTracking)tracking - nonce:(NSString *)nonce - messengerPageId:(nullable NSString *)messengerPageId - authType:(nullable FBSDKLoginAuthType)authType - NS_REFINED_FOR_SWIFT; - -/** - Attempts to initialize a new configuration with the expected parameters. - - @param permissions the requested permissions for a login attempt. Permissions must be an array of strings that do not contain whitespace. - @param tracking the tracking preference to use for a login attempt. - @param nonce an optional nonce to use for the login attempt. A valid nonce must be a non-empty string without whitespace. - Creation of the configuration will fail if the nonce is invalid. - */ -- (nullable instancetype)initWithPermissions:(NSArray *)permissions - tracking:(FBSDKLoginTracking)tracking - nonce:(NSString *)nonce - NS_REFINED_FOR_SWIFT; - -/** - Attempts to initialize a new configuration with the expected parameters. - - @param permissions the requested permissions for the login attempt. Permissions must be an array of strings that do not contain whitespace. - @param tracking the tracking preference to use for a login attempt. - @param messengerPageId the associated page id to use for a login attempt. - */ -- (nullable instancetype)initWithPermissions:(NSArray *)permissions - tracking:(FBSDKLoginTracking)tracking - messengerPageId:(nullable NSString *)messengerPageId - NS_REFINED_FOR_SWIFT; - -/** - Attempts to initialize a new configuration with the expected parameters. - - @param permissions the requested permissions for the login attempt. Permissions must be an array of strings that do not contain whitespace. - @param tracking the tracking preference to use for a login attempt. - @param messengerPageId the associated page id to use for a login attempt. - @param authType auth_type param to use for login. - */ -- (nullable instancetype)initWithPermissions:(NSArray *)permissions - tracking:(FBSDKLoginTracking)tracking - messengerPageId:(nullable NSString *)messengerPageId - authType:(nullable FBSDKLoginAuthType)authType - NS_REFINED_FOR_SWIFT; - -/** - Attempts to initialize a new configuration with the expected parameters. - - @param permissions the requested permissions for the login attempt. Permissions must be an array of strings that do not contain whitespace. - @param tracking the tracking preference to use for a login attempt. - */ -- (nullable instancetype)initWithPermissions:(NSArray *)permissions - tracking:(FBSDKLoginTracking)tracking - NS_REFINED_FOR_SWIFT; - -/** - Attempts to initialize a new configuration with the expected parameters. - - @param tracking the login tracking preference to use for a login attempt. - */ -- (nullable instancetype)initWithTracking:(FBSDKLoginTracking)tracking - NS_REFINED_FOR_SWIFT; - -/** - Given a string, return the corresponding FBSDKLoginAuthType. Returns nil if the string cannot be mapped to a valid auth type - - @param rawValue the raw auth type. - */ -+ (nullable FBSDKLoginAuthType)authTypeForString:(NSString *)rawValue; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h deleted file mode 100644 index 29fa6e0..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h +++ /dev/null @@ -1,114 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - The error domain for all errors from FBSDKLoginKit - - Error codes from the SDK in the range 300-399 are reserved for this domain. - */ -FOUNDATION_EXPORT NSErrorDomain const FBSDKLoginErrorDomain -NS_SWIFT_NAME(LoginErrorDomain); - -#ifndef NS_ERROR_ENUM - #define NS_ERROR_ENUM(_domain, _name) \ - enum _name : NSInteger _name; \ - enum __attribute__((ns_error_domain(_domain))) _name: NSInteger -#endif - -/** - FBSDKLoginError - Error codes for FBSDKLoginErrorDomain. - */ -typedef NS_ERROR_ENUM (FBSDKLoginErrorDomain, FBSDKLoginError) -{ - /** - Reserved. - */ - FBSDKLoginErrorReserved = 300, - - /** - The error code for unknown errors. - */ - FBSDKLoginErrorUnknown, - - /** - The user's password has changed and must log in again - */ - FBSDKLoginErrorPasswordChanged, - - /** - The user must log in to their account on www.facebook.com to restore access - */ - FBSDKLoginErrorUserCheckpointed, - - /** - Indicates a failure to request new permissions because the user has changed. - */ - FBSDKLoginErrorUserMismatch, - - /** - The user must confirm their account with Facebook before logging in - */ - FBSDKLoginErrorUnconfirmedUser, - - /** - The Accounts framework failed without returning an error, indicating the - app's slider in the iOS Facebook Settings (device Settings -> Facebook -> App Name) has - been disabled. - */ - FBSDKLoginErrorSystemAccountAppDisabled, - - /** - An error occurred related to Facebook system Account store - */ - FBSDKLoginErrorSystemAccountUnavailable, - - /** - The login response was missing a valid challenge string. - */ - FBSDKLoginErrorBadChallengeString, - - /** - The ID token returned in login response was invalid - */ - FBSDKLoginErrorInvalidIDToken, - - /** - A current access token was required and not provided - */ - FBSDKLoginErrorMissingAccessToken, -} NS_SWIFT_NAME(LoginError); - -/** - FBSDKDeviceLoginError - Error codes for FBSDKDeviceLoginErrorDomain. - */ -typedef NS_ERROR_ENUM (FBSDKLoginErrorDomain, FBSDKDeviceLoginError) { - /** - Your device is polling too frequently. - */ - FBSDKDeviceLoginErrorExcessivePolling = 1349172, - /** - User has declined to authorize your application. - */ - FBSDKDeviceLoginErrorAuthorizationDeclined = 1349173, - /** - User has not yet authorized your application. Continue polling. - */ - FBSDKDeviceLoginErrorAuthorizationPending = 1349174, - /** - The code you entered has expired. - */ - FBSDKDeviceLoginErrorCodeExpired = 1349152 -} NS_SWIFT_NAME(DeviceLoginError); - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginKit-Swift.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginKit-Swift.h deleted file mode 100644 index 1e72a15..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginKit-Swift.h +++ /dev/null @@ -1,436 +0,0 @@ -#if 0 -#elif defined(__arm64__) && __arm64__ -// Generated by Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -#ifndef FBSDKLOGINKIT_SWIFT_H -#define FBSDKLOGINKIT_SWIFT_H -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wgcc-compat" - -#if !defined(__has_include) -# define __has_include(x) 0 -#endif -#if !defined(__has_attribute) -# define __has_attribute(x) 0 -#endif -#if !defined(__has_feature) -# define __has_feature(x) 0 -#endif -#if !defined(__has_warning) -# define __has_warning(x) 0 -#endif - -#if __has_include() -# include -#endif - -#pragma clang diagnostic ignored "-Wauto-import" -#include -#include -#include -#include - -#if !defined(SWIFT_TYPEDEFS) -# define SWIFT_TYPEDEFS 1 -# if __has_include() -# include -# elif !defined(__cplusplus) -typedef uint_least16_t char16_t; -typedef uint_least32_t char32_t; -# endif -typedef float swift_float2 __attribute__((__ext_vector_type__(2))); -typedef float swift_float3 __attribute__((__ext_vector_type__(3))); -typedef float swift_float4 __attribute__((__ext_vector_type__(4))); -typedef double swift_double2 __attribute__((__ext_vector_type__(2))); -typedef double swift_double3 __attribute__((__ext_vector_type__(3))); -typedef double swift_double4 __attribute__((__ext_vector_type__(4))); -typedef int swift_int2 __attribute__((__ext_vector_type__(2))); -typedef int swift_int3 __attribute__((__ext_vector_type__(3))); -typedef int swift_int4 __attribute__((__ext_vector_type__(4))); -typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); -typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); -typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); -#endif - -#if !defined(SWIFT_PASTE) -# define SWIFT_PASTE_HELPER(x, y) x##y -# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) -#endif -#if !defined(SWIFT_METATYPE) -# define SWIFT_METATYPE(X) Class -#endif -#if !defined(SWIFT_CLASS_PROPERTY) -# if __has_feature(objc_class_property) -# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ -# else -# define SWIFT_CLASS_PROPERTY(...) -# endif -#endif - -#if __has_attribute(objc_runtime_name) -# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) -#else -# define SWIFT_RUNTIME_NAME(X) -#endif -#if __has_attribute(swift_name) -# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) -#else -# define SWIFT_COMPILE_NAME(X) -#endif -#if __has_attribute(objc_method_family) -# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) -#else -# define SWIFT_METHOD_FAMILY(X) -#endif -#if __has_attribute(noescape) -# define SWIFT_NOESCAPE __attribute__((noescape)) -#else -# define SWIFT_NOESCAPE -#endif -#if __has_attribute(ns_consumed) -# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) -#else -# define SWIFT_RELEASES_ARGUMENT -#endif -#if __has_attribute(warn_unused_result) -# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) -#else -# define SWIFT_WARN_UNUSED_RESULT -#endif -#if __has_attribute(noreturn) -# define SWIFT_NORETURN __attribute__((noreturn)) -#else -# define SWIFT_NORETURN -#endif -#if !defined(SWIFT_CLASS_EXTRA) -# define SWIFT_CLASS_EXTRA -#endif -#if !defined(SWIFT_PROTOCOL_EXTRA) -# define SWIFT_PROTOCOL_EXTRA -#endif -#if !defined(SWIFT_ENUM_EXTRA) -# define SWIFT_ENUM_EXTRA -#endif -#if !defined(SWIFT_CLASS) -# if __has_attribute(objc_subclassing_restricted) -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# else -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# endif -#endif -#if !defined(SWIFT_RESILIENT_CLASS) -# if __has_attribute(objc_class_stub) -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) -# else -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) -# endif -#endif - -#if !defined(SWIFT_PROTOCOL) -# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -#endif - -#if !defined(SWIFT_EXTENSION) -# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) -#endif - -#if !defined(OBJC_DESIGNATED_INITIALIZER) -# if __has_attribute(objc_designated_initializer) -# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) -# else -# define OBJC_DESIGNATED_INITIALIZER -# endif -#endif -#if !defined(SWIFT_ENUM_ATTR) -# if defined(__has_attribute) && __has_attribute(enum_extensibility) -# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) -# else -# define SWIFT_ENUM_ATTR(_extensibility) -# endif -#endif -#if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# if __has_feature(generalized_swift_name) -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# else -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) -# endif -#endif -#if !defined(SWIFT_UNAVAILABLE) -# define SWIFT_UNAVAILABLE __attribute__((unavailable)) -#endif -#if !defined(SWIFT_UNAVAILABLE_MSG) -# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) -#endif -#if !defined(SWIFT_AVAILABILITY) -# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) -#endif -#if !defined(SWIFT_WEAK_IMPORT) -# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) -#endif -#if !defined(SWIFT_DEPRECATED) -# define SWIFT_DEPRECATED __attribute__((deprecated)) -#endif -#if !defined(SWIFT_DEPRECATED_MSG) -# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) -#endif -#if __has_feature(attribute_diagnose_if_objc) -# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) -#else -# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) -#endif -#if !defined(IBSegueAction) -# define IBSegueAction -#endif -#if __has_feature(modules) -#if __has_warning("-Watimport-in-framework-header") -#pragma clang diagnostic ignored "-Watimport-in-framework-header" -#endif -#endif - -#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" -#pragma clang diagnostic ignored "-Wduplicate-method-arg" -#if __has_warning("-Wpragma-clang-attribute") -# pragma clang diagnostic ignored "-Wpragma-clang-attribute" -#endif -#pragma clang diagnostic ignored "-Wunknown-pragmas" -#pragma clang diagnostic ignored "-Wnullability" - -#if __has_attribute(external_source_symbol) -# pragma push_macro("any") -# undef any -# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKLoginKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) -# pragma pop_macro("any") -#endif - - - - -#if __has_attribute(external_source_symbol) -# pragma clang attribute pop -#endif -#pragma clang diagnostic pop -#endif - -#elif defined(__ARM_ARCH_7A__) && __ARM_ARCH_7A__ -// Generated by Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -#ifndef FBSDKLOGINKIT_SWIFT_H -#define FBSDKLOGINKIT_SWIFT_H -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wgcc-compat" - -#if !defined(__has_include) -# define __has_include(x) 0 -#endif -#if !defined(__has_attribute) -# define __has_attribute(x) 0 -#endif -#if !defined(__has_feature) -# define __has_feature(x) 0 -#endif -#if !defined(__has_warning) -# define __has_warning(x) 0 -#endif - -#if __has_include() -# include -#endif - -#pragma clang diagnostic ignored "-Wauto-import" -#include -#include -#include -#include - -#if !defined(SWIFT_TYPEDEFS) -# define SWIFT_TYPEDEFS 1 -# if __has_include() -# include -# elif !defined(__cplusplus) -typedef uint_least16_t char16_t; -typedef uint_least32_t char32_t; -# endif -typedef float swift_float2 __attribute__((__ext_vector_type__(2))); -typedef float swift_float3 __attribute__((__ext_vector_type__(3))); -typedef float swift_float4 __attribute__((__ext_vector_type__(4))); -typedef double swift_double2 __attribute__((__ext_vector_type__(2))); -typedef double swift_double3 __attribute__((__ext_vector_type__(3))); -typedef double swift_double4 __attribute__((__ext_vector_type__(4))); -typedef int swift_int2 __attribute__((__ext_vector_type__(2))); -typedef int swift_int3 __attribute__((__ext_vector_type__(3))); -typedef int swift_int4 __attribute__((__ext_vector_type__(4))); -typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); -typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); -typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); -#endif - -#if !defined(SWIFT_PASTE) -# define SWIFT_PASTE_HELPER(x, y) x##y -# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) -#endif -#if !defined(SWIFT_METATYPE) -# define SWIFT_METATYPE(X) Class -#endif -#if !defined(SWIFT_CLASS_PROPERTY) -# if __has_feature(objc_class_property) -# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ -# else -# define SWIFT_CLASS_PROPERTY(...) -# endif -#endif - -#if __has_attribute(objc_runtime_name) -# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) -#else -# define SWIFT_RUNTIME_NAME(X) -#endif -#if __has_attribute(swift_name) -# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) -#else -# define SWIFT_COMPILE_NAME(X) -#endif -#if __has_attribute(objc_method_family) -# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) -#else -# define SWIFT_METHOD_FAMILY(X) -#endif -#if __has_attribute(noescape) -# define SWIFT_NOESCAPE __attribute__((noescape)) -#else -# define SWIFT_NOESCAPE -#endif -#if __has_attribute(ns_consumed) -# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) -#else -# define SWIFT_RELEASES_ARGUMENT -#endif -#if __has_attribute(warn_unused_result) -# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) -#else -# define SWIFT_WARN_UNUSED_RESULT -#endif -#if __has_attribute(noreturn) -# define SWIFT_NORETURN __attribute__((noreturn)) -#else -# define SWIFT_NORETURN -#endif -#if !defined(SWIFT_CLASS_EXTRA) -# define SWIFT_CLASS_EXTRA -#endif -#if !defined(SWIFT_PROTOCOL_EXTRA) -# define SWIFT_PROTOCOL_EXTRA -#endif -#if !defined(SWIFT_ENUM_EXTRA) -# define SWIFT_ENUM_EXTRA -#endif -#if !defined(SWIFT_CLASS) -# if __has_attribute(objc_subclassing_restricted) -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# else -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# endif -#endif -#if !defined(SWIFT_RESILIENT_CLASS) -# if __has_attribute(objc_class_stub) -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) -# else -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) -# endif -#endif - -#if !defined(SWIFT_PROTOCOL) -# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -#endif - -#if !defined(SWIFT_EXTENSION) -# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) -#endif - -#if !defined(OBJC_DESIGNATED_INITIALIZER) -# if __has_attribute(objc_designated_initializer) -# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) -# else -# define OBJC_DESIGNATED_INITIALIZER -# endif -#endif -#if !defined(SWIFT_ENUM_ATTR) -# if defined(__has_attribute) && __has_attribute(enum_extensibility) -# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) -# else -# define SWIFT_ENUM_ATTR(_extensibility) -# endif -#endif -#if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# if __has_feature(generalized_swift_name) -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# else -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) -# endif -#endif -#if !defined(SWIFT_UNAVAILABLE) -# define SWIFT_UNAVAILABLE __attribute__((unavailable)) -#endif -#if !defined(SWIFT_UNAVAILABLE_MSG) -# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) -#endif -#if !defined(SWIFT_AVAILABILITY) -# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) -#endif -#if !defined(SWIFT_WEAK_IMPORT) -# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) -#endif -#if !defined(SWIFT_DEPRECATED) -# define SWIFT_DEPRECATED __attribute__((deprecated)) -#endif -#if !defined(SWIFT_DEPRECATED_MSG) -# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) -#endif -#if __has_feature(attribute_diagnose_if_objc) -# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) -#else -# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) -#endif -#if !defined(IBSegueAction) -# define IBSegueAction -#endif -#if __has_feature(modules) -#if __has_warning("-Watimport-in-framework-header") -#pragma clang diagnostic ignored "-Watimport-in-framework-header" -#endif -#endif - -#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" -#pragma clang diagnostic ignored "-Wduplicate-method-arg" -#if __has_warning("-Wpragma-clang-attribute") -# pragma clang diagnostic ignored "-Wpragma-clang-attribute" -#endif -#pragma clang diagnostic ignored "-Wunknown-pragmas" -#pragma clang diagnostic ignored "-Wnullability" - -#if __has_attribute(external_source_symbol) -# pragma push_macro("any") -# undef any -# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKLoginKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) -# pragma pop_macro("any") -#endif - - - - -#if __has_attribute(external_source_symbol) -# pragma clang attribute pop -#endif -#pragma clang diagnostic pop -#endif - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h deleted file mode 100644 index 5bd5545..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import -#import -#import -#import - -#import - -#import - -#if !TARGET_OS_TV - #import - #import - #import - #import - #import - #import - #import - #import - #import -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h deleted file mode 100644 index 6fe0561..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h +++ /dev/null @@ -1,213 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -#if TARGET_OS_TV - -// This is an unfortunate hack for Swift Package Manager support. -// SPM does not allow us to conditionally exclude Swift files for compilation by platform. -// -// So to support tvOS with SPM we need to use runtime availability checks in the Swift files. -// This means that even though the code in `LoginManager.swift` will never be run for tvOS -// targets, it still needs to be able to compile. Hence we need to declare it here. -// -// The way to fix this is to remove extensions of ObjC types in Swift. - -@class LoginManagerLoginResult; -@class FBSDKLoginConfiguration; - -typedef NS_ENUM(NSUInteger, LoginBehavior) { LoginBehaviorBrowser, }; -typedef NS_ENUM(NSUInteger, DefaultAudience) { DefaultAudienceFriends, }; - -typedef void (^LoginManagerLoginResultBlock)(LoginManagerLoginResult *_Nullable result, - NSError *_Nullable error); - -@interface LoginManager : NSObject - -@property (nonatomic, assign) LoginBehavior loginBehavior; -@property (nonatomic, assign) DefaultAudience defaultAudience; - -// UNCRUSTIFY_FORMAT_OFF -- (void)logInWithPermissions:(NSArray *)permissions - fromViewController:(nullable UIViewController *)fromViewController - handler:(nullable LoginManagerLoginResultBlock)handler -NS_SWIFT_NAME(logIn(permissions:from:handler:)); -// UNCRUSTIFY_FORMAT_ON - -- (void)logInFromViewController:(nullable UIViewController *)viewController - configuration:(FBSDKLoginConfiguration *)configuration - completion:(LoginManagerLoginResultBlock)completion - NS_REFINED_FOR_SWIFT; - -@end - -#else - -@class FBSDKLoginManagerLoginResult; - -/** - Describes the call back to the FBSDKLoginManager - @param result the result of the authorization - @param error the authorization error, if any. - */ -typedef void (^ FBSDKLoginManagerLoginResultBlock)(FBSDKLoginManagerLoginResult *_Nullable result, - NSError *_Nullable error) -NS_SWIFT_NAME(LoginManagerLoginResultBlock); - -/** - FBSDKDefaultAudience enum - - Passed to openURL to indicate which default audience to use for sessions that post data to Facebook. - - 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, -} NS_SWIFT_NAME(DefaultAudience); - -/** - `FBSDKLoginManager` provides methods for logging the user in and out. - - `FBSDKLoginManager` serves to help manage sessions represented by tokens for authentication, - `AuthenticationToken`, and data access, `AccessToken`. - - You should check if the type of token you expect is present as a singleton instance, either `AccessToken.current` - or `AuthenticationToken.current` before calling any of the login methods to see if there is a cached token - available. A standard place to do this is in `viewDidLoad`. - - @warning If you are managing your own token instances outside of `AccessToken.current`, you will need to set - `AccessToken.current` before calling any of the login methods to authorize further permissions on your tokens. - */ -NS_SWIFT_NAME(LoginManager) -@interface FBSDKLoginManager : NSObject - -/** - the default audience. - - you should set this if you intend to ask for publish permissions. - */ -@property (nonatomic, assign) FBSDKDefaultAudience defaultAudience; - -/** - 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. - - 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 `FBSDKLoginManagerLoginResultBlock`'s - `result.declinedPermissions` to provide more information to the user if they decline permissions. - You typically should check if `AccessToken.current` already contains the permissions you need before - asking to reduce unnecessary login attempts. For example, you could perform that check in `viewDidLoad`. - - @warning You can only perform one login call at a time. Calling a login method before the completion handler is called - on a previous login attempt will result in an error. - @warning This method will present a UI to the user and thus should be called on the main thread. - */ - -// UNCRUSTIFY_FORMAT_OFF -- (void)logInWithPermissions:(NSArray *)permissions - fromViewController:(nullable UIViewController *)fromViewController - handler:(nullable FBSDKLoginManagerLoginResultBlock)handler -NS_SWIFT_NAME(logIn(permissions:from:handler:)); -// UNCRUSTIFY_FORMAT_ON - -/** - Logs the user in or authorizes additional permissions. - - @param viewController the view controller from which to present the login UI. If nil, the topmost view - controller will be automatically determined and used. - @param configuration the login configuration to use. - @param completion the login completion handler. - - Use this method when asking for permissions. You should only ask for permissions when they - are needed and the value should be explained to the user. You can inspect the - `FBSDKLoginManagerLoginResultBlock`'s `result.declinedPermissions` to provide more information - to the user if they decline permissions. - To reduce unnecessary login attempts, you should typically check if `AccessToken.current` - already contains the permissions you need. If it does, you probably do not need to call this method. - - @warning You can only perform one login call at a time. Calling a login method before the completion handler is called - on a previous login attempt will result in an error. - @warning This method will present a UI to the user and thus should be called on the main thread. - */ -- (void)logInFromViewController:(nullable UIViewController *)viewController - configuration:(FBSDKLoginConfiguration *)configuration - completion:(FBSDKLoginManagerLoginResultBlock)completion - NS_REFINED_FOR_SWIFT; - -/** - Logs the user in with the given deep link url. Will only log user in if the given url contains valid login data. - @param url the deep link url - @param handler the callback. - -This method will present a UI to the user and thus should be called on the main thread. -This method should be called with the url from the openURL method. - - @warning This method will present a UI to the user and thus should be called on the main thread. - */ - -// UNCRUSTIFY_FORMAT_OFF -- (void)logInWithURL:(NSURL *)url - handler:(nullable FBSDKLoginManagerLoginResultBlock)handler -NS_SWIFT_NAME(logIn(url:handler:)); -// UNCRUSTIFY_FORMAT_ON - -/** - Requests user's permission to reathorize application's data access, after it has expired due to inactivity. - @param fromViewController the view controller from which to present the login UI. If nil, the topmost view - controller will be automatically determined and used. - @param handler the callback. - -Use this method when you need to reathorize your app's access to user data via the Graph API. -You should only call this after access has expired. -You should provide as much context to the user as possible as to why you need to reauthorize the access, the -scope of access being reathorized, and what added value your app provides when the access is reathorized. -You can inspect the `result.declinedPermissions` to determine if you should provide more information to the -user based on any declined permissions. - - @warning This method will reauthorize using a `LoginConfiguration` with `FBSDKLoginTracking` set to `.enabled`. - @warning This method will present UI the user. You typically should call this if `AccessToken.isDataAccessExpired` is true. - */ - -// UNCRUSTIFY_FORMAT_OFF -- (void)reauthorizeDataAccess:(UIViewController *)fromViewController - handler:(FBSDKLoginManagerLoginResultBlock)handler -NS_SWIFT_NAME(reauthorizeDataAccess(from:handler:)); -// UNCRUSTIFY_FORMAT_ON - -/** - Logs the user out - - This nils out the singleton instances of `AccessToken` `AuthenticationToken` and `Profle`. - - @note This is only a client side logout. It will not log the user out of their Facebook account. - */ -- (void)logOut; - -@end - -#endif - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h deleted file mode 100644 index 6f10ccf..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -#if TARGET_OS_TV - -// This is an unfortunate hack for Swift Package Manager support. -// SPM does not allow us to conditionally exclude Swift files for compilation by platform. -// -// So to support tvOS with SPM we need to use runtime availability checks in the Swift files. -// This means that even though the code in `LoginManager.swift` will never be run for tvOS -// targets, it still needs to be able to compile. Hence we need to declare it here. -// -// The way to fix this is to remove extensions of ObjC types in Swift. - -@interface LoginManagerLoginResult : NSObject - -@property (nullable, nonatomic, copy) FBSDKAccessToken *token; -@property (nullable, nonatomic, copy) FBSDKAuthenticationToken *authenticationToken; -@property (nonatomic, readonly) BOOL isCancelled; -@property (nonatomic, copy) NSSet *grantedPermissions; -@property (nonatomic, copy) NSSet *declinedPermissions; - -@end - -#else - -@class FBSDKAccessToken; -@class FBSDKAuthenticationToken; - -/** - Describes the result of a login attempt. - */ -NS_SWIFT_NAME(LoginManagerLoginResult) -@interface FBSDKLoginManagerLoginResult : NSObject - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/** - the access token. - */ -@property (nullable, nonatomic, copy) FBSDKAccessToken *token; - -/** - the authentication token. - */ -@property (nullable, nonatomic, copy) FBSDKAuthenticationToken *authenticationToken; - -/** - whether the login was cancelled by the user. - */ -@property (nonatomic, readonly) BOOL isCancelled; - -/** - the set of permissions granted by the user in the associated request. - - inspect the token's permissions set for a complete list. - */ -@property (nonatomic, copy) NSSet *grantedPermissions; - -/** - the set of permissions declined by the user in the associated request. - - inspect the token's permissions set for a complete list. - */ -@property (nonatomic, copy) NSSet *declinedPermissions; - -/** - Initializes a new instance. - @param token the access token - @param authenticationToken the authentication 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:(nullable FBSDKAccessToken *)token - authenticationToken:(nullable FBSDKAuthenticationToken *)authenticationToken - isCancelled:(BOOL)isCancelled - grantedPermissions:(NSSet *)grantedPermissions - declinedPermissions:(NSSet *)declinedPermissions - NS_DESIGNATED_INITIALIZER; -@end - -#endif - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h deleted file mode 100644 index 27f27f7..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import "TargetConditionals.h" - -#if !TARGET_OS_TV - - #import - - #import - -NS_ASSUME_NONNULL_BEGIN - -@protocol FBSDKLoginTooltipViewDelegate; - -/** - Represents a tooltip to be displayed next to a Facebook login button - to highlight features for new users. - - 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. - - */ -NS_SWIFT_NAME(FBLoginTooltipView) -@interface FBSDKLoginTooltipView : FBSDKTooltipView - -/** the delegate */ -@property (nonatomic, weak) id delegate; - -/** if set to YES, the view will always be displayed and the delegate's - `loginTooltipView:shouldAppear:` will NOT be called. */ -@property (nonatomic, getter = shouldForceDisplay, assign) BOOL forceDisplay; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipViewDelegate.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipViewDelegate.h deleted file mode 100644 index 5021a54..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipViewDelegate.h +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -NS_ASSUME_NONNULL_BEGIN - -/** - @protocol - - The `FBSDKLoginTooltipViewDelegate` protocol defines the methods used to receive event - notifications from `FBSDKLoginTooltipView` objects. - */ -NS_SWIFT_NAME(LoginTooltipViewDelegate) -@protocol FBSDKLoginTooltipViewDelegate - -@optional - -/** - 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. - - - Use this method to customize display behavior. - */ -- (BOOL)loginTooltipView:(FBSDKLoginTooltipView *)view shouldAppear:(BOOL)appIsEligible; - -/** - 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; - -/** - 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 - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKReferralCode.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKReferralCode.h deleted file mode 100644 index deaebd4..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKReferralCode.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import "TargetConditionals.h" - -#if !TARGET_OS_TV - - #import - -NS_ASSUME_NONNULL_BEGIN - -/** - Represent a referral code used in the referral process -*/ -NS_SWIFT_NAME(ReferralCode) -DEPRECATED_MSG_ATTRIBUTE("`FBSDKReferralCode` is deprecated and will be removed in the next major release") -@interface FBSDKReferralCode : NSObject - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/** - The string value of the referral code -*/ -@property (nonatomic) NSString *value; - -/** - Initializes a new instance if the referral code is valid. Otherwise returns nil. - A code is valid if it is non-empty and contains only alphanumeric characters. - @param string the raw string referral code -*/ -+ (nullable instancetype)initWithString:(NSString *)string; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKReferralManager.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKReferralManager.h deleted file mode 100644 index 499cad3..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKReferralManager.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import "TargetConditionals.h" - -#if !TARGET_OS_TV - - #import - -NS_ASSUME_NONNULL_BEGIN - -@class FBSDKReferralManagerResult; - -/** - Describes the call back to the FBSDKReferralManager - @param result the result of the referral - @param error the referral error, if any. - */ -typedef void (^ FBSDKReferralManagerResultBlock)(FBSDKReferralManagerResult *_Nullable result, - NSError *_Nullable error) -NS_SWIFT_NAME(ReferralManagerResultBlock); - -/** - `FBSDKReferralManager` provides methods for starting the referral process. -*/ -NS_SWIFT_NAME(ReferralManager) -DEPRECATED_MSG_ATTRIBUTE("`FBSDKReferralManager` is deprecated and will be removed in the next major release") -@interface FBSDKReferralManager : NSObject - -/** - Initialize a new instance with the provided view controller - @param viewController the view controller to present from. If nil, the topmost view controller will be automatically determined as best as possible. - */ -- (instancetype)initWithViewController:(nullable UIViewController *)viewController; - -/** - Open the referral dialog. - @param handler the callback. - */ -- (void)startReferralWithCompletionHandler:(nullable FBSDKReferralManagerResultBlock)handler; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKReferralManagerResult.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKReferralManagerResult.h deleted file mode 100644 index f83f924..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKReferralManagerResult.h +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import "TargetConditionals.h" - -#if !TARGET_OS_TV - - #import - - #import - -NS_ASSUME_NONNULL_BEGIN - -/** - Describes the result of a referral request. - */ -NS_SWIFT_NAME(ReferralManagerResult) -DEPRECATED_MSG_ATTRIBUTE("`FBSDKReferralCode` is deprecated and will be removed in the next major release") -@interface FBSDKReferralManagerResult : NSObject - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/** - whether the referral was cancelled by the user. - */ -@property (nonatomic, readonly) BOOL isCancelled; - -/** - An array of referral codes for each referral made by the user - */ -@property (nonatomic, copy) NSArray *referralCodes; - -/** Initializes a new instance. - @param referralCodes the referral codes - @param isCancelled whether the referral was cancelled by the user - */ -- (instancetype)initWithReferralCodes:(nullable NSArray *)referralCodes - isCancelled:(BOOL)isCancelled - NS_DESIGNATED_INITIALIZER; -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h deleted file mode 100644 index 806f9be..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h +++ /dev/null @@ -1,143 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import "TargetConditionals.h" - -#if !TARGET_OS_TV - - #import - -NS_ASSUME_NONNULL_BEGIN - -/** - FBSDKTooltipViewArrowDirection enum - - 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, -} NS_SWIFT_NAME(FBTooltipView.ArrowDirection); - -/** - FBSDKTooltipColorStyle enum - - 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, -} NS_SWIFT_NAME(FBTooltipView.ColorStyle); - -/** - - Tooltip bubble with text in it used to display tips for UI elements, - with a pointed arrow (to refer to the UI element). - - - - The tooltip fades in and will automatically fade out. See `displayDuration`. - */ -NS_SWIFT_NAME(FBTooltipView) -@interface FBSDKTooltipView : UIView - -/** - Gets or sets the amount of time in seconds the tooltip should be displayed. - Set this to zero to make the display permanent until explicitly dismissed. - Defaults to six seconds. - */ -@property (nonatomic, assign) CFTimeInterval displayDuration; - -/** - Gets or sets the color style after initialization. - Defaults to value passed to -initWithTagline:message:colorStyle:. - */ -@property (nonatomic, assign) FBSDKTooltipColorStyle colorStyle; - -/** - Gets or sets the message. - */ -@property (nullable, nonatomic, copy) NSString *message; - -/** - Gets or sets the optional phrase that comprises the first part of the label (and is highlighted differently). - */ -@property (nullable, nonatomic, copy) NSString *tagline; - -/** - 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. - - - - If you need to show a tooltip for login, consider using the `FBSDKLoginTooltipView` view. - - - @see FBSDKLoginTooltipView - */ -- (instancetype)initWithTagline:(nullable NSString *)tagline - message:(nullable NSString *)message - colorStyle:(FBSDKTooltipColorStyle)colorStyle; - -/** - 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) - - - - 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; - -/** - 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). - */ - -// UNCRUSTIFY_FORMAT_OFF -- (void)presentInView:(UIView *)view - withArrowPosition:(CGPoint)arrowPosition - direction:(FBSDKTooltipViewArrowDirection)arrowDirection -NS_SWIFT_NAME(present(in:arrowPosition:direction:)); -// UNCRUSTIFY_FORMAT_ON - -/** - Remove tooltip manually. - - - - Calling this method isn't necessary - tooltip will dismiss itself automatically after the `displayDuration`. - */ -- (void)dismiss; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Info.plist b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Info.plist deleted file mode 100644 index 1bbada3..0000000 Binary files a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Info.plist and /dev/null differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm.swiftdoc deleted file mode 100644 index b982ef7..0000000 Binary files a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm.swiftdoc and /dev/null differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm.swiftinterface deleted file mode 100644 index 434f854..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm.swiftinterface +++ /dev/null @@ -1,29 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -// swift-module-flags: -target armv7-apple-ios10.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKLoginKit -import FBSDKCoreKit -@_exported import FBSDKLoginKit -import Swift -import UIKit -@available(tvOS, unavailable) -extension FBLoginButton { - convenience public init(frame: CoreGraphics.CGRect = .zero, permissions: [FBSDKCoreKit.Permission] = [.publicProfile]) -} -extension LoginConfiguration { - convenience public init?(permissions: Swift.Set = [], tracking: FBSDKLoginKit.LoginTracking = .enabled, nonce: Swift.String = UUID().uuidString, messengerPageId: Swift.String? = nil, authType: FBSDKLoginKit.LoginAuthType? = .rerequest) -} -@available(tvOS, unavailable) -public typealias LoginResultBlock = (FBSDKLoginKit.LoginResult) -> Swift.Void -@available(tvOS, unavailable) -@frozen public enum LoginResult { - case success(granted: Swift.Set, declined: Swift.Set, token: FBSDKCoreKit.AccessToken?) - case cancelled - case failed(Swift.Error) -} -@available(tvOS, unavailable) -extension LoginManager { - convenience public init(defaultAudience: FBSDKLoginKit.DefaultAudience = .friends) - public func logIn(permissions: [FBSDKCoreKit.Permission] = [.publicProfile], viewController: UIKit.UIViewController? = nil, completion: FBSDKLoginKit.LoginResultBlock? = nil) - public func logIn(viewController: UIKit.UIViewController? = nil, configuration: FBSDKLoginKit.LoginConfiguration, completion: @escaping FBSDKLoginKit.LoginResultBlock) - public func logIn(configuration: FBSDKLoginKit.LoginConfiguration, completion: @escaping FBSDKLoginKit.LoginResultBlock) -} diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios.swiftdoc deleted file mode 100644 index 01f8655..0000000 Binary files a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios.swiftdoc and /dev/null differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios.swiftinterface deleted file mode 100644 index 4c576a2..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios.swiftinterface +++ /dev/null @@ -1,29 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -// swift-module-flags: -target arm64-apple-ios10.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKLoginKit -import FBSDKCoreKit -@_exported import FBSDKLoginKit -import Swift -import UIKit -@available(tvOS, unavailable) -extension FBLoginButton { - convenience public init(frame: CoreGraphics.CGRect = .zero, permissions: [FBSDKCoreKit.Permission] = [.publicProfile]) -} -extension LoginConfiguration { - convenience public init?(permissions: Swift.Set = [], tracking: FBSDKLoginKit.LoginTracking = .enabled, nonce: Swift.String = UUID().uuidString, messengerPageId: Swift.String? = nil, authType: FBSDKLoginKit.LoginAuthType? = .rerequest) -} -@available(tvOS, unavailable) -public typealias LoginResultBlock = (FBSDKLoginKit.LoginResult) -> Swift.Void -@available(tvOS, unavailable) -@frozen public enum LoginResult { - case success(granted: Swift.Set, declined: Swift.Set, token: FBSDKCoreKit.AccessToken?) - case cancelled - case failed(Swift.Error) -} -@available(tvOS, unavailable) -extension LoginManager { - convenience public init(defaultAudience: FBSDKLoginKit.DefaultAudience = .friends) - public func logIn(permissions: [FBSDKCoreKit.Permission] = [.publicProfile], viewController: UIKit.UIViewController? = nil, completion: FBSDKLoginKit.LoginResultBlock? = nil) - public func logIn(viewController: UIKit.UIViewController? = nil, configuration: FBSDKLoginKit.LoginConfiguration, completion: @escaping FBSDKLoginKit.LoginResultBlock) - public func logIn(configuration: FBSDKLoginKit.LoginConfiguration, completion: @escaping FBSDKLoginKit.LoginResultBlock) -} diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftdoc deleted file mode 100644 index 01f8655..0000000 Binary files a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftdoc and /dev/null differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftinterface deleted file mode 100644 index 4c576a2..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftinterface +++ /dev/null @@ -1,29 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -// swift-module-flags: -target arm64-apple-ios10.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKLoginKit -import FBSDKCoreKit -@_exported import FBSDKLoginKit -import Swift -import UIKit -@available(tvOS, unavailable) -extension FBLoginButton { - convenience public init(frame: CoreGraphics.CGRect = .zero, permissions: [FBSDKCoreKit.Permission] = [.publicProfile]) -} -extension LoginConfiguration { - convenience public init?(permissions: Swift.Set = [], tracking: FBSDKLoginKit.LoginTracking = .enabled, nonce: Swift.String = UUID().uuidString, messengerPageId: Swift.String? = nil, authType: FBSDKLoginKit.LoginAuthType? = .rerequest) -} -@available(tvOS, unavailable) -public typealias LoginResultBlock = (FBSDKLoginKit.LoginResult) -> Swift.Void -@available(tvOS, unavailable) -@frozen public enum LoginResult { - case success(granted: Swift.Set, declined: Swift.Set, token: FBSDKCoreKit.AccessToken?) - case cancelled - case failed(Swift.Error) -} -@available(tvOS, unavailable) -extension LoginManager { - convenience public init(defaultAudience: FBSDKLoginKit.DefaultAudience = .friends) - public func logIn(permissions: [FBSDKCoreKit.Permission] = [.publicProfile], viewController: UIKit.UIViewController? = nil, completion: FBSDKLoginKit.LoginResultBlock? = nil) - public func logIn(viewController: UIKit.UIViewController? = nil, configuration: FBSDKLoginKit.LoginConfiguration, completion: @escaping FBSDKLoginKit.LoginResultBlock) - public func logIn(configuration: FBSDKLoginKit.LoginConfiguration, completion: @escaping FBSDKLoginKit.LoginResultBlock) -} diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/armv7-apple-ios.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/armv7-apple-ios.swiftdoc deleted file mode 100644 index b982ef7..0000000 Binary files a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/armv7-apple-ios.swiftdoc and /dev/null differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/armv7-apple-ios.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/armv7-apple-ios.swiftinterface deleted file mode 100644 index 434f854..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/armv7-apple-ios.swiftinterface +++ /dev/null @@ -1,29 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -// swift-module-flags: -target armv7-apple-ios10.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKLoginKit -import FBSDKCoreKit -@_exported import FBSDKLoginKit -import Swift -import UIKit -@available(tvOS, unavailable) -extension FBLoginButton { - convenience public init(frame: CoreGraphics.CGRect = .zero, permissions: [FBSDKCoreKit.Permission] = [.publicProfile]) -} -extension LoginConfiguration { - convenience public init?(permissions: Swift.Set = [], tracking: FBSDKLoginKit.LoginTracking = .enabled, nonce: Swift.String = UUID().uuidString, messengerPageId: Swift.String? = nil, authType: FBSDKLoginKit.LoginAuthType? = .rerequest) -} -@available(tvOS, unavailable) -public typealias LoginResultBlock = (FBSDKLoginKit.LoginResult) -> Swift.Void -@available(tvOS, unavailable) -@frozen public enum LoginResult { - case success(granted: Swift.Set, declined: Swift.Set, token: FBSDKCoreKit.AccessToken?) - case cancelled - case failed(Swift.Error) -} -@available(tvOS, unavailable) -extension LoginManager { - convenience public init(defaultAudience: FBSDKLoginKit.DefaultAudience = .friends) - public func logIn(permissions: [FBSDKCoreKit.Permission] = [.publicProfile], viewController: UIKit.UIViewController? = nil, completion: FBSDKLoginKit.LoginResultBlock? = nil) - public func logIn(viewController: UIKit.UIViewController? = nil, configuration: FBSDKLoginKit.LoginConfiguration, completion: @escaping FBSDKLoginKit.LoginResultBlock) - public func logIn(configuration: FBSDKLoginKit.LoginConfiguration, completion: @escaping FBSDKLoginKit.LoginResultBlock) -} diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/armv7.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/armv7.swiftdoc deleted file mode 100644 index b982ef7..0000000 Binary files a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/armv7.swiftdoc and /dev/null differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/armv7.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/armv7.swiftinterface deleted file mode 100644 index 434f854..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/armv7.swiftinterface +++ /dev/null @@ -1,29 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -// swift-module-flags: -target armv7-apple-ios10.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKLoginKit -import FBSDKCoreKit -@_exported import FBSDKLoginKit -import Swift -import UIKit -@available(tvOS, unavailable) -extension FBLoginButton { - convenience public init(frame: CoreGraphics.CGRect = .zero, permissions: [FBSDKCoreKit.Permission] = [.publicProfile]) -} -extension LoginConfiguration { - convenience public init?(permissions: Swift.Set = [], tracking: FBSDKLoginKit.LoginTracking = .enabled, nonce: Swift.String = UUID().uuidString, messengerPageId: Swift.String? = nil, authType: FBSDKLoginKit.LoginAuthType? = .rerequest) -} -@available(tvOS, unavailable) -public typealias LoginResultBlock = (FBSDKLoginKit.LoginResult) -> Swift.Void -@available(tvOS, unavailable) -@frozen public enum LoginResult { - case success(granted: Swift.Set, declined: Swift.Set, token: FBSDKCoreKit.AccessToken?) - case cancelled - case failed(Swift.Error) -} -@available(tvOS, unavailable) -extension LoginManager { - convenience public init(defaultAudience: FBSDKLoginKit.DefaultAudience = .friends) - public func logIn(permissions: [FBSDKCoreKit.Permission] = [.publicProfile], viewController: UIKit.UIViewController? = nil, completion: FBSDKLoginKit.LoginResultBlock? = nil) - public func logIn(viewController: UIKit.UIViewController? = nil, configuration: FBSDKLoginKit.LoginConfiguration, completion: @escaping FBSDKLoginKit.LoginResultBlock) - public func logIn(configuration: FBSDKLoginKit.LoginConfiguration, completion: @escaping FBSDKLoginKit.LoginResultBlock) -} diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/Info.plist b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/Info.plist new file mode 100644 index 0000000..4812f36 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/Info.plist @@ -0,0 +1,82 @@ + + + + + AvailableLibraries + + + LibraryIdentifier + tvos-arm64 + LibraryPath + FBSDKLoginKit.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + tvos + + + LibraryIdentifier + ios-arm64_x86_64-simulator + LibraryPath + FBSDKLoginKit.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + LibraryIdentifier + ios-arm64 + LibraryPath + FBSDKLoginKit.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + + + LibraryIdentifier + ios-arm64_x86_64-maccatalyst + LibraryPath + FBSDKLoginKit.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + maccatalyst + + + LibraryIdentifier + tvos-arm64_x86_64-simulator + LibraryPath + FBSDKLoginKit.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + tvos + SupportedPlatformVariant + simulator + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/LICENSE b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/LICENSE new file mode 100644 index 0000000..2eecb62 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/LICENSE @@ -0,0 +1,17 @@ +Copyright (c) Meta Platforms, Inc. and affiliates. 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 Platform Policy +[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. diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/FBSDKLoginKit b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/FBSDKLoginKit new file mode 100644 index 0000000..b3eb0a1 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/FBSDKLoginKit differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKCodeVerifier.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKCodeVerifier.h new file mode 100644 index 0000000..67250d6 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKCodeVerifier.h @@ -0,0 +1,45 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + Represents a code verifier used in the PKCE (Proof Key for Code Exchange) + process. This is a cryptographically random string using the characters + A-Z, a-z, 0-9, and the punctuation characters -._~ (hyphen, period, + underscore, and tilde), between 43 and 128 characters long. + */ +NS_SWIFT_NAME(CodeVerifier) +@interface FBSDKCodeVerifier : NSObject + +/// The string value of the code verifier +@property (nonatomic, readonly, copy) NSString *value; + +/// The SHA256 hashed challenge of the code verifier +@property (nonatomic, readonly, copy) NSString *challenge; + +/** + Attempts to initialize a new code verifier instance with the given string. + Creation will fail and return nil if the string is invalid. + + @param string the code verifier string + */ +- (nullable instancetype)initWithString:(NSString *)string + NS_DESIGNATED_INITIALIZER; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKDefaultAudience.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKDefaultAudience.h new file mode 100644 index 0000000..e7c41d7 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKDefaultAudience.h @@ -0,0 +1,34 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +NS_ASSUME_NONNULL_BEGIN + +/** + FBSDKDefaultAudience enum + + Passed to openURL to indicate which default audience to use for sessions that post data to Facebook. + + 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, +} NS_SWIFT_NAME(DefaultAudience); + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginCodeInfo.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginCodeInfo.h new file mode 100644 index 0000000..fc08ff2 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginCodeInfo.h @@ -0,0 +1,41 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Describes the initial response when starting the device login flow. + This is used by `FBSDKDeviceLoginManager`. + */ +NS_SWIFT_NAME(DeviceLoginCodeInfo) +@interface FBSDKDeviceLoginCodeInfo : NSObject + +// There is no public initializer. +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/// The unique id for this login flow. +@property (nonatomic, readonly, copy) NSString *identifier; + +/// The short "user_code" that should be presented to the user. +@property (nonatomic, readonly, copy) NSString *loginCode; + +/// The verification URL. +@property (nonatomic, readonly, copy) NSURL *verificationURL; + +/// The expiration date. +@property (nonatomic, readonly, copy) NSDate *expirationDate; + +/// The polling interval +@property (nonatomic, readonly, assign) NSUInteger pollingInterval; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManager.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManager.h new file mode 100644 index 0000000..89def80 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManager.h @@ -0,0 +1,63 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol FBSDKDeviceLoginManagerDelegate; + +/** + Use this class to perform a device login flow. + The device login flow starts by requesting a code from the device login API. + This class informs the delegate when this code is received. You should then present the + code to the user to enter. In the meantime, this class polls the device login API + periodically and informs the delegate of the results. + + See [Facebook Device Login](https://developers.facebook.com/docs/facebook-login/for-devices). + */ +NS_SWIFT_NAME(DeviceLoginManager) +@interface FBSDKDeviceLoginManager : NSObject + +/** + Initializes a new instance. + @param permissions permissions to request. + */ +- (instancetype)initWithPermissions:(NSArray *)permissions + enableSmartLogin:(BOOL)enableSmartLogin; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/// The delegate. +@property (nonatomic, weak) id delegate; + +/// The requested permissions. +@property (nonatomic, readonly, copy) NSArray *permissions; + +/** + The optional URL to redirect the user to after they complete the login. + The URL must be configured in your App Settings -> Advanced -> OAuth Redirect URIs + */ +@property (nullable, nonatomic, copy) NSURL *redirectURL; + +/** + Starts the device login flow + This instance will retain self until the flow is finished or cancelled. + */ +- (void)start; + +/// Attempts to cancel the device login flow. +- (void)cancel; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerDelegate.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerDelegate.h new file mode 100644 index 0000000..cdcf804 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerDelegate.h @@ -0,0 +1,43 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +@class FBSDKDeviceLoginCodeInfo; +@class FBSDKDeviceLoginManager; +@class FBSDKDeviceLoginManagerResult; + +NS_ASSUME_NONNULL_BEGIN + +/// A delegate for `FBSDKDeviceLoginManager`. +NS_SWIFT_NAME(DeviceLoginManagerDelegate) +@protocol FBSDKDeviceLoginManagerDelegate + +/** + Indicates the device login flow has started. You should parse `codeInfo` to present the code to the user to enter. + @param loginManager the login manager instance. + @param codeInfo the code info data. + */ + +- (void)deviceLoginManager:(FBSDKDeviceLoginManager *)loginManager + startedWithCodeInfo:(FBSDKDeviceLoginCodeInfo *)codeInfo; + +/** + Indicates the device login flow has finished. + @param loginManager the login manager instance. + @param result the results of the login flow. + @param error the error, if available. + The flow can be finished if the user completed the flow, cancelled, or if the code has expired. + */ +- (void)deviceLoginManager:(FBSDKDeviceLoginManager *)loginManager + completedWithResult:(nullable FBSDKDeviceLoginManagerResult *)result + error:(nullable NSError *)error; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerResult.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerResult.h new file mode 100644 index 0000000..93266b9 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerResult.h @@ -0,0 +1,37 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +@class FBSDKAccessToken; + +NS_ASSUME_NONNULL_BEGIN + +/** + Represents the results of the a device login flow. + This is used by `FBSDKDeviceLoginManager`. + */ +NS_SWIFT_NAME(DeviceLoginManagerResult) +@interface FBSDKDeviceLoginManagerResult : NSObject + +// There is no public initializer. +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/// The token. +@property (nullable, nonatomic, readonly, strong) FBSDKAccessToken *accessToken; + +/** + Indicates if the login was cancelled by the user, or if the device + login code has expired. + */ +@property (nonatomic, readonly, getter = isCancelled, assign) BOOL cancelled; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginAuthType.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginAuthType.h new file mode 100644 index 0000000..360c320 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginAuthType.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + +/// typedef for FBSDKLoginAuthType +/// See: https://developers.facebook.com/docs/reference/javascript/FB.login/v10.0#options +typedef NSString *const FBSDKLoginAuthType NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(LoginAuthType); + +/// Rerequest +FOUNDATION_EXPORT FBSDKLoginAuthType FBSDKLoginAuthTypeRerequest; + +/// Reauthorize +FOUNDATION_EXPORT FBSDKLoginAuthType FBSDKLoginAuthTypeReauthorize; + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h new file mode 100644 index 0000000..aa55443 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h @@ -0,0 +1,86 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + The error domain for all errors from FBSDKLoginKit + + Error codes from the SDK in the range 300-399 are reserved for this domain. + */ +FOUNDATION_EXPORT NSErrorDomain const FBSDKLoginErrorDomain +NS_SWIFT_NAME(LoginErrorDomain); + +#ifndef NS_ERROR_ENUM + #define NS_ERROR_ENUM(_domain, _name) \ + enum _name : NSInteger _name; \ + enum __attribute__((ns_error_domain(_domain))) _name: NSInteger +#endif + +/** + FBSDKLoginError + Error codes for FBSDKLoginErrorDomain. + */ +typedef NS_ERROR_ENUM (FBSDKLoginErrorDomain, FBSDKLoginError) +{ + /// Reserved. + FBSDKLoginErrorReserved = 300, + + /// The error code for unknown errors. + FBSDKLoginErrorUnknown, + + /// The user's password has changed and must log in again + FBSDKLoginErrorPasswordChanged, + + /// The user must log in to their account on www.facebook.com to restore access + FBSDKLoginErrorUserCheckpointed, + + /// Indicates a failure to request new permissions because the user has changed. + FBSDKLoginErrorUserMismatch, + + /// The user must confirm their account with Facebook before logging in + FBSDKLoginErrorUnconfirmedUser, + + /** + The Accounts framework failed without returning an error, indicating the + app's slider in the iOS Facebook Settings (device Settings -> Facebook -> App Name) has + been disabled. + */ + FBSDKLoginErrorSystemAccountAppDisabled, + + /// An error occurred related to Facebook system Account store + FBSDKLoginErrorSystemAccountUnavailable, + + /// The login response was missing a valid challenge string. + FBSDKLoginErrorBadChallengeString, + + /// The ID token returned in login response was invalid + FBSDKLoginErrorInvalidIDToken, + + /// A current access token was required and not provided + FBSDKLoginErrorMissingAccessToken, +} NS_SWIFT_NAME(LoginError); + +/** + FBSDKDeviceLoginError + Error codes for FBSDKDeviceLoginErrorDomain. + */ +typedef NS_ERROR_ENUM (FBSDKLoginErrorDomain, FBSDKDeviceLoginError) { + /// Your device is polling too frequently. + FBSDKDeviceLoginErrorExcessivePolling = 1349172, + /// User has declined to authorize your application. + FBSDKDeviceLoginErrorAuthorizationDeclined = 1349173, + /// User has not yet authorized your application. Continue polling. + FBSDKDeviceLoginErrorAuthorizationPending = 1349174, + /// The code you entered has expired. + FBSDKDeviceLoginErrorCodeExpired = 1349152 +} NS_SWIFT_NAME(DeviceLoginError); + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginKit-Swift.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginKit-Swift.h new file mode 100644 index 0000000..4e9be9c --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginKit-Swift.h @@ -0,0 +1,486 @@ +// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +#ifndef FBSDKLOGINKIT_SWIFT_H +#define FBSDKLOGINKIT_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import CoreGraphics; +@import FBSDKCoreKit; +@import Foundation; +@import ObjectiveC; +#endif + +#import + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKLoginKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +@class NSNumber; + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_PROTOCOL_NAMED("_LoginEventLogging") +@protocol _FBSDKLoginEventLogging +@property (nonatomic, readonly) FBSDKAppEventsFlushBehavior flushBehavior; +- (void)logInternalEvent:(FBSDKAppEventName _Nonnull)eventName parameters:(NSDictionary * _Nullable)parameters isImplicitlyLogged:(BOOL)isImplicitlyLogged; +- (void)flush; +@end + + +@interface FBSDKAppEvents (SWIFT_EXTENSION(FBSDKLoginKit)) <_FBSDKLoginEventLogging> +@end + +@protocol FBSDKLoginButtonDelegate; +@class NSString; +enum FBSDKLoginButtonTooltipBehavior : NSUInteger; +enum FBSDKLoginTracking : NSUInteger; +@class FBSDKCodeVerifier; +@class NSCoder; + +/// A button that initiates a log in or log out flow upon tapping. +/// LoginButton works with AccessToken.current to determine what to display, +/// and automatically starts authentication when tapped (i.e., you do not need to manually subscribe action targets). +/// Like LoginManager, you should make sure your app delegate is connected to ApplicationDelegate +/// in order for the button’s delegate to receive messages. +/// LoginButton has a fixed height of 30 pixels, but you may change the width. +/// Initializing the button with nil frame will size the button to its minimum frame. +SWIFT_CLASS_NAMED("FBLoginButton") +@interface FBSDKLoginButton : FBSDKButton +/// The default audience to use, if publish permissions are requested at login time. +@property (nonatomic) FBSDKDefaultAudience defaultAudience; +/// Gets or sets the delegate. +@property (nonatomic, weak) IBOutlet id _Nullable delegate; +/// The permissions to request. +/// To provide the best experience, you should minimize the number of permissions you request, and only ask for them when needed. +/// For example, do not ask for “user_location” until you the information is actually used by the app. +/// Note this is converted to NSSet and is only +/// an NSArray for the convenience of literal syntax. +/// See the permissions guide for more details. +@property (nonatomic, copy) NSArray * _Nonnull permissions; +/// Gets or sets the desired tooltip behavior. +@property (nonatomic) enum FBSDKLoginButtonTooltipBehavior tooltipBehavior; +/// Gets or sets the desired tooltip color style. +@property (nonatomic) FBSDKTooltipColorStyle tooltipColorStyle; +/// Gets or sets the desired tracking preference to use for login attempts. Defaults to .enabled +@property (nonatomic) enum FBSDKLoginTracking loginTracking; +/// Gets or sets an optional nonce to use for login attempts. A valid nonce must be a non-empty string without whitespace. +/// An invalid nonce will not be set. Instead, default unique nonces will be used for login attempts. +@property (nonatomic, copy) NSString * _Nullable nonce; +/// Gets or sets an optional page id to use for login attempts. +@property (nonatomic, copy) NSString * _Nullable messengerPageId; +/// Gets or sets the auth_type to use in the login request. Defaults to rerequest. +@property (nonatomic) FBSDKLoginAuthType _Nullable authType; +/// The code verifier used in the PKCE process. +/// If not provided, a code verifier will be randomly generated. +@property (nonatomic, strong) FBSDKCodeVerifier * _Nonnull codeVerifier; +- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; +- (void)didMoveToWindow; +- (CGRect)imageRectForContentRect:(CGRect)contentRect SWIFT_WARN_UNUSED_RESULT; +- (CGRect)titleRectForContentRect:(CGRect)contentRect SWIFT_WARN_UNUSED_RESULT; +- (void)layoutSubviews; +- (CGSize)sizeThatFits:(CGSize)size SWIFT_WARN_UNUSED_RESULT; +@end + +/// Indicates the desired login tooltip behavior. +typedef SWIFT_ENUM_NAMED(NSUInteger, FBSDKLoginButtonTooltipBehavior, "TooltipBehavior", open) { +/// 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, +}; + + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +///
    +///
  • +/// Warning INTERNAL: DO NOT USE +///
  • +///
+SWIFT_CLASS_NAMED("FBPermission") +@interface FBSDKPermission : NSObject +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +@property (nonatomic, readonly) NSUInteger hash; +/// Attempts to initialize a new permission with the given string. +/// Creation will fail and return nil if the string is invalid. +/// \param string The raw permission string +/// +- (nullable instancetype)initWithString:(NSString * _Nonnull)string OBJC_DESIGNATED_INITIALIZER; +/// Returns a set of FBPermission from a set of raw permissions strings. +/// Will return nil if any of the input permissions is invalid. ++ (NSSet * _Nullable)permissionsFromRawPermissions:(NSSet * _Nonnull)rawPermissions SWIFT_WARN_UNUSED_RESULT; +/// Returns a set of string permissions from a set of FBPermission by +/// extracting the “value” property for each element. ++ (NSSet * _Nonnull)rawPermissionsFromPermissions:(NSSet * _Nonnull)permissions SWIFT_WARN_UNUSED_RESULT; +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +@class UIViewController; +@class UIView; + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_PROTOCOL_NAMED("_UserInterfaceElementProviding") +@protocol _FBSDKUserInterfaceElementProviding +- (UIViewController * _Nullable)topMostViewController SWIFT_WARN_UNUSED_RESULT; +- (UIViewController * _Nullable)viewControllerForView:(UIView * _Nonnull)view SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKInternalUtility (SWIFT_EXTENSION(FBSDKLoginKit)) <_FBSDKUserInterfaceElementProviding> +@end + +@class NSBundle; + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_PROTOCOL_NAMED("_UserInterfaceStringProviding") +@protocol _FBSDKUserInterfaceStringProviding +@property (nonatomic, readonly, strong) NSBundle * _Nonnull bundleForStrings; +@end + + +@interface FBSDKInternalUtility (SWIFT_EXTENSION(FBSDKLoginKit)) <_FBSDKUserInterfaceStringProviding> +@end + +@class FBSDKLoginManagerLoginResult; + +/// A delegate for FBSDKLoginButton +SWIFT_PROTOCOL_NAMED("LoginButtonDelegate") +@protocol FBSDKLoginButtonDelegate +/// Sent to the delegate when the button was used to login. +/// @param loginButton The button being used to log in +/// @param result The results of the login +/// @param error The error (if any) from the login +- (void)loginButton:(FBSDKLoginButton * _Nonnull)loginButton didCompleteWithResult:(FBSDKLoginManagerLoginResult * _Nullable)result error:(NSError * _Nullable)error; +/// Sent to the delegate when the button was used to logout. +/// @param loginButton The button being used to log out. +- (void)loginButtonDidLogOut:(FBSDKLoginButton * _Nonnull)loginButton; +@optional +/// Sent to the delegate when the button is about to login. +/// @param loginButton The button being used to log in +/// @return true if the login should be allowed to proceed, false otherwise +- (BOOL)loginButtonWillLogin:(FBSDKLoginButton * _Nonnull)loginButton SWIFT_WARN_UNUSED_RESULT; +@end + + +/// A configuration to use for modifying the behavior of a login attempt. +SWIFT_CLASS_NAMED("LoginConfiguration") +@interface FBSDKLoginConfiguration : NSObject +/// The nonce that the configuration was created with. +/// A unique nonce will be used if none is provided to the initializer. +@property (nonatomic, readonly, copy) NSString * _Nonnull nonce; +/// The tracking preference. Defaults to .enabled. +@property (nonatomic, readonly) enum FBSDKLoginTracking tracking; +/// The requested permissions for the login attempt. Defaults to an empty set. +@property (nonatomic, readonly, copy) NSSet * _Nonnull requestedPermissions; +/// The Messenger Page Id associated with this login request. +@property (nonatomic, readonly, copy) NSString * _Nullable messengerPageId; +/// The auth type associated with this login request. +@property (nonatomic, readonly) FBSDKLoginAuthType _Nullable authType; +/// The code verifier used in the PKCE process. +/// If not provided, a code verifier will be randomly generated. +@property (nonatomic, readonly, strong) FBSDKCodeVerifier * _Nonnull codeVerifier; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for a login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +/// @param nonce an optional nonce to use for the login attempt. A valid nonce must be a non-empty string without whitespace. +/// Creation of the configuration will fail if the nonce is invalid. +/// @param messengerPageId the associated page id to use for a login attempt. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking nonce:(NSString * _Nonnull)nonce messengerPageId:(NSString * _Nullable)messengerPageId; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for a login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +/// @param nonce an optional nonce to use for the login attempt. A valid nonce must be a non-empty string without whitespace. +/// Creation of the configuration will fail if the nonce is invalid. +/// @param messengerPageId the associated page id to use for a login attempt. +/// @param authType auth_type param to use for login. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking nonce:(NSString * _Nonnull)nonce messengerPageId:(NSString * _Nullable)messengerPageId authType:(FBSDKLoginAuthType _Nullable)authType; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for a login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +/// @param nonce an optional nonce to use for the login attempt. A valid nonce must be a non-empty string without whitespace. +/// Creation of the configuration will fail if the nonce is invalid. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking nonce:(NSString * _Nonnull)nonce; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for the login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +/// @param messengerPageId the associated page id to use for a login attempt. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking messengerPageId:(NSString * _Nullable)messengerPageId; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for the login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +/// @param messengerPageId the associated page id to use for a login attempt. +/// @param authType auth_type param to use for login. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking messengerPageId:(NSString * _Nullable)messengerPageId authType:(FBSDKLoginAuthType _Nullable)authType; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for a login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +/// @param nonce an optional nonce to use for the login attempt. A valid nonce must be a non-empty string without whitespace. +/// Creation of the configuration will fail if the nonce is invalid. +/// @param messengerPageId the associated page id to use for a login attempt. +/// @param authType auth_type param to use for login. +/// @param codeVerifier The code verifier used in the PKCE process. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking nonce:(NSString * _Nonnull)nonce messengerPageId:(NSString * _Nullable)messengerPageId authType:(FBSDKLoginAuthType _Nullable)authType codeVerifier:(FBSDKCodeVerifier * _Nonnull)codeVerifier OBJC_DESIGNATED_INITIALIZER; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for the login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param tracking the login tracking preference to use for a login attempt. +- (nullable instancetype)initWithTracking:(enum FBSDKLoginTracking)tracking; +/// Given a string, return the corresponding FBSDKLoginAuthType. Returns nil if the string cannot be mapped to a valid auth type +/// @param rawValue the raw auth type. ++ (FBSDKLoginAuthType _Nullable)authTypeForString:(NSString * _Nonnull)rawValue SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("This method is deprecated and will be removed in the next major release."); +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// enabled and limited see: https://developers.facebook.com/docs/facebook-login/ios/limited-login/ +typedef SWIFT_ENUM_NAMED(NSUInteger, FBSDKLoginTracking, "LoginTracking", open) { + FBSDKLoginTrackingEnabled = 0, + FBSDKLoginTrackingLimited = 1, +}; + + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_PROTOCOL_NAMED("_ServerConfigurationProviding") +@protocol _FBSDKServerConfigurationProviding +- (void)loadServerConfigurationWithCompletionBlock:(FBSDKLoginTooltipBlock _Nullable)completion; +@end + + +@interface FBSDKServerConfigurationProvider (SWIFT_EXTENSION(FBSDKLoginKit)) <_FBSDKServerConfigurationProviding> +@end + + +@class NSURL; + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_CLASS_NAMED("_LoginUtility") +@interface FBSDKLoginUtility : NSObject ++ (NSString * _Nonnull)stringForAudience:(FBSDKDefaultAudience)audience SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nullable)queryParamsFromLoginURL:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)userIDFromSignedRequest:(NSString * _Nullable)signedRequest SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h new file mode 100644 index 0000000..a451819 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h @@ -0,0 +1,25 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import + +#import diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h new file mode 100644 index 0000000..20e2969 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h @@ -0,0 +1,131 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +#if !TARGET_OS_TV + +@class FBSDKLoginConfiguration; + +/** + `FBSDKLoginManager` provides methods for logging the user in and out. + + `FBSDKLoginManager` serves to help manage sessions represented by tokens for authentication, + `AuthenticationToken`, and data access, `AccessToken`. + + You should check if the type of token you expect is present as a singleton instance, either `AccessToken.current` + or `AuthenticationToken.current` before calling any of the login methods to see if there is a cached token + available. A standard place to do this is in `viewDidLoad`. + + @warning If you are managing your own token instances outside of `AccessToken.current`, you will need to set + `AccessToken.current` before calling any of the login methods to authorize further permissions on your tokens. + */ +NS_SWIFT_NAME(LoginManager) +@interface FBSDKLoginManager : NSObject + +/** + the default audience. + + you should set this if you intend to ask for publish permissions. + */ +@property (nonatomic, assign) FBSDKDefaultAudience defaultAudience; + +/** + 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. + + 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 `FBSDKLoginManagerLoginResultBlock`'s + `result.declinedPermissions` to provide more information to the user if they decline permissions. + You typically should check if `AccessToken.current` already contains the permissions you need before + asking to reduce unnecessary login attempts. For example, you could perform that check in `viewDidLoad`. + + @warning You can only perform one login call at a time. Calling a login method before the completion handler is called + on a previous login attempt will result in an error. + @warning This method will present a UI to the user and thus should be called on the main thread. + */ + +// UNCRUSTIFY_FORMAT_OFF +- (void)logInWithPermissions:(NSArray *)permissions + fromViewController:(nullable UIViewController *)fromViewController + handler:(nullable FBSDKLoginManagerLoginResultBlock)handler +NS_SWIFT_NAME(logIn(permissions:from:handler:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Logs the user in or authorizes additional permissions. + + @param viewController the view controller from which to present the login UI. If nil, the topmost view + controller will be automatically determined and used. + @param configuration the login configuration to use. + @param completion the login completion handler. + + Use this method when asking for permissions. You should only ask for permissions when they + are needed and the value should be explained to the user. You can inspect the + `FBSDKLoginManagerLoginResultBlock`'s `result.declinedPermissions` to provide more information + to the user if they decline permissions. + To reduce unnecessary login attempts, you should typically check if `AccessToken.current` + already contains the permissions you need. If it does, you probably do not need to call this method. + + @warning You can only perform one login call at a time. Calling a login method before the completion handler is called + on a previous login attempt will result in an error. + @warning This method will present a UI to the user and thus should be called on the main thread. + */ +- (void)logInFromViewController:(nullable UIViewController *)viewController + configuration:(FBSDKLoginConfiguration *)configuration + completion:(FBSDKLoginManagerLoginResultBlock)completion + NS_REFINED_FOR_SWIFT; + +/** + Requests user's permission to reathorize application's data access, after it has expired due to inactivity. + @param fromViewController the view controller from which to present the login UI. If nil, the topmost view + controller will be automatically determined and used. + @param handler the callback. + +Use this method when you need to reathorize your app's access to user data via the Graph API. +You should only call this after access has expired. +You should provide as much context to the user as possible as to why you need to reauthorize the access, the +scope of access being reathorized, and what added value your app provides when the access is reathorized. +You can inspect the `result.declinedPermissions` to determine if you should provide more information to the +user based on any declined permissions. + + @warning This method will reauthorize using a `LoginConfiguration` with `FBSDKLoginTracking` set to `.enabled`. + @warning This method will present UI the user. You typically should call this if `AccessToken.isDataAccessExpired` is true. + */ + +// UNCRUSTIFY_FORMAT_OFF +- (void)reauthorizeDataAccess:(UIViewController *)fromViewController + handler:(FBSDKLoginManagerLoginResultBlock)handler +NS_SWIFT_NAME(reauthorizeDataAccess(from:handler:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Logs the user out + + This nils out the singleton instances of `AccessToken` `AuthenticationToken` and `Profle`. + + @note This is only a client side logout. It will not log the user out of their Facebook account. + */ +- (void)logOut; + +@end + +#endif + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h new file mode 100644 index 0000000..21df36e --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h @@ -0,0 +1,66 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +#if !TARGET_OS_TV + +@class FBSDKAccessToken; +@class FBSDKAuthenticationToken; + +/// Describes the result of a login attempt. +NS_SWIFT_NAME(LoginManagerLoginResult) +@interface FBSDKLoginManagerLoginResult : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/// the access token. +@property (nullable, nonatomic, copy) FBSDKAccessToken *token; + +/// the authentication token. +@property (nullable, nonatomic, copy) FBSDKAuthenticationToken *authenticationToken; + +/// whether the login was cancelled by the user. +@property (nonatomic, readonly) BOOL isCancelled; + +/** + the set of permissions granted by the user in the associated request. + + inspect the token's permissions set for a complete list. + */ +@property (nonatomic, copy) NSSet *grantedPermissions; + +/** + the set of permissions declined by the user in the associated request. + + inspect the token's permissions set for a complete list. + */ +@property (nonatomic, copy) NSSet *declinedPermissions; + +/** + Initializes a new instance. + @param token the access token + @param authenticationToken the authentication 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:(nullable FBSDKAccessToken *)token + authenticationToken:(nullable FBSDKAuthenticationToken *)authenticationToken + isCancelled:(BOOL)isCancelled + grantedPermissions:(NSSet *)grantedPermissions + declinedPermissions:(NSSet *)declinedPermissions + NS_DESIGNATED_INITIALIZER; +@end + +#endif + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResultBlock.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResultBlock.h new file mode 100644 index 0000000..4207825 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResultBlock.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +@class FBSDKLoginManagerLoginResult; + +/** + Describes the call back to the FBSDKLoginManager + @param result the result of the authorization + @param error the authorization error, if any. + */ +typedef void (^ FBSDKLoginManagerLoginResultBlock)(FBSDKLoginManagerLoginResult *_Nullable result, + NSError *_Nullable error) +NS_SWIFT_NAME(LoginManagerLoginResultBlock); + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginProviding.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginProviding.h new file mode 100644 index 0000000..82a2e60 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginProviding.h @@ -0,0 +1,42 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + #import + +NS_ASSUME_NONNULL_BEGIN + +@class FBSDKLoginConfiguration; + +NS_SWIFT_NAME(_LoginProviding) +@protocol FBSDKLoginProviding + +@property (nonatomic, assign) FBSDKDefaultAudience defaultAudience; + +- (void)logInFromViewController:(nullable UIViewController *)viewController + configuration:(FBSDKLoginConfiguration *)configuration + completion:(FBSDKLoginManagerLoginResultBlock)completion NS_REFINED_FOR_SWIFT; + +// UNCRUSTIFY_FORMAT_OFF +- (void)logInWithPermissions:(NSArray *)permissions + fromViewController:(nullable UIViewController *)viewController + handler:(FBSDKLoginManagerLoginResultBlock)handler +NS_SWIFT_NAME(logIn(permissions:from:handler:)); +// UNCRUSTIFY_FORMAT_ON + +- (void)logOut; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h new file mode 100644 index 0000000..c703f57 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h @@ -0,0 +1,47 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + + #import + +NS_ASSUME_NONNULL_BEGIN + +@protocol FBSDKLoginTooltipViewDelegate; + +/** + Represents a tooltip to be displayed next to a Facebook login button + to highlight features for new users. + + 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. + */ +NS_SWIFT_NAME(FBLoginTooltipView) +@interface FBSDKLoginTooltipView : FBSDKTooltipView + +/// the delegate +@property (nonatomic, weak) id delegate; + +/** if set to YES, the view will always be displayed and the delegate's + `loginTooltipView:shouldAppear:` will NOT be called. */ +@property (nonatomic, getter = shouldForceDisplay, assign) BOOL forceDisplay; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipViewDelegate.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipViewDelegate.h new file mode 100644 index 0000000..9d60943 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipViewDelegate.h @@ -0,0 +1,57 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + +NS_ASSUME_NONNULL_BEGIN + +/** + @protocol + + The `FBSDKLoginTooltipViewDelegate` protocol defines the methods used to receive event + notifications from `FBSDKLoginTooltipView` objects. + */ +NS_SWIFT_NAME(LoginTooltipViewDelegate) +@protocol FBSDKLoginTooltipViewDelegate + +@optional + +/** + 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. + + Use this method to customize display behavior. + */ +- (BOOL)loginTooltipView:(FBSDKLoginTooltipView *)view shouldAppear:(BOOL)appIsEligible; + +/** + 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; + +/** + 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 + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h new file mode 100644 index 0000000..ab8bab0 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h @@ -0,0 +1,129 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + FBSDKTooltipViewArrowDirection enum + + 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, +} NS_SWIFT_NAME(FBTooltipView.ArrowDirection); + +/** + FBSDKTooltipColorStyle enum + + 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, +} NS_SWIFT_NAME(FBTooltipView.ColorStyle); + +/** + Tooltip bubble with text in it used to display tips for UI elements, + with a pointed arrow (to refer to the UI element). + + The tooltip fades in and will automatically fade out. See `displayDuration`. + */ +NS_SWIFT_NAME(FBTooltipView) +@interface FBSDKTooltipView : UIView + +/** + Gets or sets the amount of time in seconds the tooltip should be displayed. + Set this to zero to make the display permanent until explicitly dismissed. + Defaults to six seconds. + */ +@property (nonatomic, assign) CFTimeInterval displayDuration; + +/** + Gets or sets the color style after initialization. + Defaults to value passed to -initWithTagline:message:colorStyle:. + */ +@property (nonatomic, assign) FBSDKTooltipColorStyle colorStyle; + +/// Gets or sets the message. +@property (nullable, nonatomic, copy) NSString *message; + +/// Gets or sets the optional phrase that comprises the first part of the label (and is highlighted differently). +@property (nullable, nonatomic, copy) NSString *tagline; + +/** + 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. + + If you need to show a tooltip for login, consider using the `FBSDKLoginTooltipView` view. + + See FBSDKLoginTooltipView + */ +- (instancetype)initWithTagline:(nullable NSString *)tagline + message:(nullable NSString *)message + colorStyle:(FBSDKTooltipColorStyle)colorStyle; + +/** + 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) + + 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; + +/** + 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). + */ + +// UNCRUSTIFY_FORMAT_OFF +- (void)presentInView:(UIView *)view + withArrowPosition:(CGPoint)arrowPosition + direction:(FBSDKTooltipViewArrowDirection)arrowDirection +NS_SWIFT_NAME(present(in:arrowPosition:direction:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Remove tooltip manually. + + Calling this method isn't necessary - tooltip will dismiss itself automatically after the `displayDuration`. + */ +- (void)dismiss; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Info.plist b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Info.plist new file mode 100644 index 0000000..ee9389d Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Info.plist differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios.swiftdoc new file mode 100644 index 0000000..ed243b3 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios.swiftinterface new file mode 100644 index 0000000..fd3c832 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios.swiftinterface @@ -0,0 +1,139 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKLoginKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +@_exported import FBSDKLoginKit +import Foundation +import Swift +import UIKit +import _Concurrency +extension FBSDKCoreKit.AppEvents : FBSDKLoginKit._LoginEventLogging { +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKLoginButton) @_Concurrency.MainActor(unsafe) final public class FBLoginButton : FBSDKCoreKit.FBButton { + @objc @_Concurrency.MainActor(unsafe) final public var defaultAudience: FBSDKLoginKit.DefaultAudience { + @objc get + @objc set + } + @objc @IBOutlet @_Concurrency.MainActor(unsafe) weak final public var delegate: FBSDKLoginKit.LoginButtonDelegate? + @objc @_Concurrency.MainActor(unsafe) final public var permissions: [Swift.String] + @objc @_Concurrency.MainActor(unsafe) final public var tooltipBehavior: FBSDKLoginKit.FBLoginButton.TooltipBehavior + @objc @_Concurrency.MainActor(unsafe) final public var tooltipColorStyle: FBSDKLoginKit.FBTooltipView.ColorStyle + @objc @_Concurrency.MainActor(unsafe) final public var loginTracking: FBSDKLoginKit.LoginTracking + @objc @_Concurrency.MainActor(unsafe) final public var nonce: Swift.String? { + @objc get + @objc set + } + @objc @_Concurrency.MainActor(unsafe) final public var messengerPageId: Swift.String? + @objc @_Concurrency.MainActor(unsafe) final public var authType: FBSDKLoginKit.LoginAuthType? + @objc @_Concurrency.MainActor(unsafe) final public var codeVerifier: FBSDKLoginKit.CodeVerifier + @objc(FBSDKLoginButtonTooltipBehavior) public enum TooltipBehavior : Swift.UInt { + case automatic = 0 + case forceDisplay + case disable + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } + } + @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) + @_Concurrency.MainActor(unsafe) @objc override final public func didMoveToWindow() + @_Concurrency.MainActor(unsafe) @objc override final public func imageRect(forContentRect contentRect: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @_Concurrency.MainActor(unsafe) @objc override final public func titleRect(forContentRect contentRect: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @_Concurrency.MainActor(unsafe) @objc override final public func layoutSubviews() + @_Concurrency.MainActor(unsafe) @objc override final public func sizeThatFits(_ size: CoreGraphics.CGSize) -> CoreGraphics.CGSize + @objc deinit +} +@objcMembers @objc(FBSDKPermission) final public class FBPermission : ObjectiveC.NSObject { + @objc override final public var description: Swift.String { + @objc get + } + @objc override final public var hash: Swift.Int { + @objc get + } + @objc public init?(string: Swift.String) + @objc(permissionsFromRawPermissions:) public static func permissions(fromRawPermissions rawPermissions: Swift.Set) -> Swift.Set? + @objc(rawPermissionsFromPermissions:) public static func rawPermissions(from permissions: Swift.Set) -> Swift.Set + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc deinit +} +extension FBSDKCoreKit.InternalUtility : FBSDKLoginKit._UserInterfaceElementProviding { +} +extension FBSDKCoreKit.InternalUtility : FBSDKLoginKit._UserInterfaceStringProviding { +} +@objc(FBSDKLoginButtonDelegate) public protocol LoginButtonDelegate : ObjectiveC.NSObjectProtocol { + @objc(loginButton:didCompleteWithResult:error:) func loginButton(_ loginButton: FBSDKLoginKit.FBLoginButton, didCompleteWith result: FBSDKLoginKit.LoginManagerLoginResult?, error: Swift.Error?) + @objc func loginButtonDidLogOut(_ loginButton: FBSDKLoginKit.FBLoginButton) + @objc optional func loginButtonWillLogin(_ loginButton: FBSDKLoginKit.FBLoginButton) -> Swift.Bool +} +@objcMembers @objc(FBSDKLoginConfiguration) final public class LoginConfiguration : ObjectiveC.NSObject { + @objc final public let nonce: Swift.String + @objc final public let tracking: FBSDKLoginKit.LoginTracking + @objc final public let requestedPermissions: Swift.Set + @objc final public let messengerPageId: Swift.String? + @objc final public let authType: FBSDKLoginKit.LoginAuthType? + @objc final public let codeVerifier: FBSDKLoginKit.CodeVerifier + @objc(initWithPermissions:tracking:nonce:messengerPageId:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String, messengerPageId: Swift.String?) + @objc(initWithPermissions:tracking:nonce:messengerPageId:authType:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String, messengerPageId: Swift.String?, authType: FBSDKLoginKit.LoginAuthType?) + @objc(initWithPermissions:tracking:nonce:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String) + @objc(initWithPermissions:tracking:messengerPageId:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, messengerPageId: Swift.String?) + @objc(initWithPermissions:tracking:messengerPageId:authType:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, messengerPageId: Swift.String?, authType: FBSDKLoginKit.LoginAuthType?) + @objc(initWithPermissions:tracking:nonce:messengerPageId:authType:codeVerifier:) public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String, messengerPageId: Swift.String?, authType: FBSDKLoginKit.LoginAuthType?, codeVerifier: FBSDKLoginKit.CodeVerifier) + @objc(initWithPermissions:tracking:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking) + @objc(initWithTracking:) convenience public init?(tracking: FBSDKLoginKit.LoginTracking) + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release.") + @objc(authTypeForString:) public static func authType(for rawValue: Swift.String) -> FBSDKLoginKit.LoginAuthType? + convenience public init?(permissions: Swift.Set = [], tracking: FBSDKLoginKit.LoginTracking = .enabled, nonce: Swift.String = UUID().uuidString, messengerPageId: Swift.String? = nil, authType: FBSDKLoginKit.LoginAuthType? = .rerequest, codeVerifier: FBSDKLoginKit.CodeVerifier = CodeVerifier()) + @objc deinit +} +public typealias LoginResultBlock = (FBSDKLoginKit.LoginResult) -> Swift.Void +@frozen public enum LoginResult { + case success(granted: Swift.Set, declined: Swift.Set, token: FBSDKCoreKit.AccessToken?) + case cancelled + case failed(Swift.Error) +} +extension FBSDKLoginKit.LoginManager { + convenience public init(defaultAudience: FBSDKLoginKit.DefaultAudience = .friends) + public func logIn(permissions: [FBSDKCoreKit.Permission] = [.publicProfile], viewController: UIKit.UIViewController? = nil, completion: FBSDKLoginKit.LoginResultBlock? = nil) + public func logIn(viewController: UIKit.UIViewController? = nil, configuration: FBSDKLoginKit.LoginConfiguration, completion: @escaping FBSDKLoginKit.LoginResultBlock) +} +@objc(FBSDKLoginTracking) public enum LoginTracking : Swift.UInt { + case enabled + case limited + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } +} +extension FBSDKCoreKit.ServerConfigurationProvider : FBSDKLoginKit._ServerConfigurationProviding { +} +@objc(_FBSDKLoginEventLogging) public protocol _LoginEventLogging { + @objc var flushBehavior: FBSDKCoreKit.AppEvents.FlushBehavior { get } + @objc func logInternalEvent(_ eventName: FBSDKCoreKit.AppEvents.Name, parameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]?, isImplicitlyLogged: Swift.Bool) + @objc func flush() +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKLoginUtility) final public class _LoginUtility : ObjectiveC.NSObject { + @objc public static func string(forAudience audience: FBSDKLoginKit.DefaultAudience) -> Swift.String + @objc public static func queryParams(fromLoginURL url: Foundation.URL) -> [Swift.String : Any]? + @objc public static func userID(fromSignedRequest signedRequest: Swift.String?) -> Swift.String? + @objc override dynamic public init() + @objc deinit +} +@objc(_FBSDKServerConfigurationProviding) public protocol _ServerConfigurationProviding { + @objc(loadServerConfigurationWithCompletionBlock:) func loadServerConfiguration(completion: FBSDKCoreKit.LoginTooltipBlock?) +} +@objc(_FBSDKUserInterfaceElementProviding) public protocol _UserInterfaceElementProviding { + @objc func topMostViewController() -> UIKit.UIViewController? + @objc(viewControllerForView:) func viewController(for view: UIKit.UIView) -> UIKit.UIViewController? +} +@objc(_FBSDKUserInterfaceStringProviding) public protocol _UserInterfaceStringProviding { + @objc var bundleForStrings: Foundation.Bundle { get } +} +extension FBSDKLoginKit.FBLoginButton.TooltipBehavior : Swift.Equatable {} +extension FBSDKLoginKit.FBLoginButton.TooltipBehavior : Swift.Hashable {} +extension FBSDKLoginKit.FBLoginButton.TooltipBehavior : Swift.RawRepresentable {} +extension FBSDKLoginKit.LoginTracking : Swift.Equatable {} +extension FBSDKLoginKit.LoginTracking : Swift.Hashable {} +extension FBSDKLoginKit.LoginTracking : Swift.RawRepresentable {} diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..ed243b3 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..fd3c832 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftinterface @@ -0,0 +1,139 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKLoginKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +@_exported import FBSDKLoginKit +import Foundation +import Swift +import UIKit +import _Concurrency +extension FBSDKCoreKit.AppEvents : FBSDKLoginKit._LoginEventLogging { +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKLoginButton) @_Concurrency.MainActor(unsafe) final public class FBLoginButton : FBSDKCoreKit.FBButton { + @objc @_Concurrency.MainActor(unsafe) final public var defaultAudience: FBSDKLoginKit.DefaultAudience { + @objc get + @objc set + } + @objc @IBOutlet @_Concurrency.MainActor(unsafe) weak final public var delegate: FBSDKLoginKit.LoginButtonDelegate? + @objc @_Concurrency.MainActor(unsafe) final public var permissions: [Swift.String] + @objc @_Concurrency.MainActor(unsafe) final public var tooltipBehavior: FBSDKLoginKit.FBLoginButton.TooltipBehavior + @objc @_Concurrency.MainActor(unsafe) final public var tooltipColorStyle: FBSDKLoginKit.FBTooltipView.ColorStyle + @objc @_Concurrency.MainActor(unsafe) final public var loginTracking: FBSDKLoginKit.LoginTracking + @objc @_Concurrency.MainActor(unsafe) final public var nonce: Swift.String? { + @objc get + @objc set + } + @objc @_Concurrency.MainActor(unsafe) final public var messengerPageId: Swift.String? + @objc @_Concurrency.MainActor(unsafe) final public var authType: FBSDKLoginKit.LoginAuthType? + @objc @_Concurrency.MainActor(unsafe) final public var codeVerifier: FBSDKLoginKit.CodeVerifier + @objc(FBSDKLoginButtonTooltipBehavior) public enum TooltipBehavior : Swift.UInt { + case automatic = 0 + case forceDisplay + case disable + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } + } + @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) + @_Concurrency.MainActor(unsafe) @objc override final public func didMoveToWindow() + @_Concurrency.MainActor(unsafe) @objc override final public func imageRect(forContentRect contentRect: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @_Concurrency.MainActor(unsafe) @objc override final public func titleRect(forContentRect contentRect: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @_Concurrency.MainActor(unsafe) @objc override final public func layoutSubviews() + @_Concurrency.MainActor(unsafe) @objc override final public func sizeThatFits(_ size: CoreGraphics.CGSize) -> CoreGraphics.CGSize + @objc deinit +} +@objcMembers @objc(FBSDKPermission) final public class FBPermission : ObjectiveC.NSObject { + @objc override final public var description: Swift.String { + @objc get + } + @objc override final public var hash: Swift.Int { + @objc get + } + @objc public init?(string: Swift.String) + @objc(permissionsFromRawPermissions:) public static func permissions(fromRawPermissions rawPermissions: Swift.Set) -> Swift.Set? + @objc(rawPermissionsFromPermissions:) public static func rawPermissions(from permissions: Swift.Set) -> Swift.Set + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc deinit +} +extension FBSDKCoreKit.InternalUtility : FBSDKLoginKit._UserInterfaceElementProviding { +} +extension FBSDKCoreKit.InternalUtility : FBSDKLoginKit._UserInterfaceStringProviding { +} +@objc(FBSDKLoginButtonDelegate) public protocol LoginButtonDelegate : ObjectiveC.NSObjectProtocol { + @objc(loginButton:didCompleteWithResult:error:) func loginButton(_ loginButton: FBSDKLoginKit.FBLoginButton, didCompleteWith result: FBSDKLoginKit.LoginManagerLoginResult?, error: Swift.Error?) + @objc func loginButtonDidLogOut(_ loginButton: FBSDKLoginKit.FBLoginButton) + @objc optional func loginButtonWillLogin(_ loginButton: FBSDKLoginKit.FBLoginButton) -> Swift.Bool +} +@objcMembers @objc(FBSDKLoginConfiguration) final public class LoginConfiguration : ObjectiveC.NSObject { + @objc final public let nonce: Swift.String + @objc final public let tracking: FBSDKLoginKit.LoginTracking + @objc final public let requestedPermissions: Swift.Set + @objc final public let messengerPageId: Swift.String? + @objc final public let authType: FBSDKLoginKit.LoginAuthType? + @objc final public let codeVerifier: FBSDKLoginKit.CodeVerifier + @objc(initWithPermissions:tracking:nonce:messengerPageId:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String, messengerPageId: Swift.String?) + @objc(initWithPermissions:tracking:nonce:messengerPageId:authType:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String, messengerPageId: Swift.String?, authType: FBSDKLoginKit.LoginAuthType?) + @objc(initWithPermissions:tracking:nonce:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String) + @objc(initWithPermissions:tracking:messengerPageId:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, messengerPageId: Swift.String?) + @objc(initWithPermissions:tracking:messengerPageId:authType:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, messengerPageId: Swift.String?, authType: FBSDKLoginKit.LoginAuthType?) + @objc(initWithPermissions:tracking:nonce:messengerPageId:authType:codeVerifier:) public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String, messengerPageId: Swift.String?, authType: FBSDKLoginKit.LoginAuthType?, codeVerifier: FBSDKLoginKit.CodeVerifier) + @objc(initWithPermissions:tracking:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking) + @objc(initWithTracking:) convenience public init?(tracking: FBSDKLoginKit.LoginTracking) + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release.") + @objc(authTypeForString:) public static func authType(for rawValue: Swift.String) -> FBSDKLoginKit.LoginAuthType? + convenience public init?(permissions: Swift.Set = [], tracking: FBSDKLoginKit.LoginTracking = .enabled, nonce: Swift.String = UUID().uuidString, messengerPageId: Swift.String? = nil, authType: FBSDKLoginKit.LoginAuthType? = .rerequest, codeVerifier: FBSDKLoginKit.CodeVerifier = CodeVerifier()) + @objc deinit +} +public typealias LoginResultBlock = (FBSDKLoginKit.LoginResult) -> Swift.Void +@frozen public enum LoginResult { + case success(granted: Swift.Set, declined: Swift.Set, token: FBSDKCoreKit.AccessToken?) + case cancelled + case failed(Swift.Error) +} +extension FBSDKLoginKit.LoginManager { + convenience public init(defaultAudience: FBSDKLoginKit.DefaultAudience = .friends) + public func logIn(permissions: [FBSDKCoreKit.Permission] = [.publicProfile], viewController: UIKit.UIViewController? = nil, completion: FBSDKLoginKit.LoginResultBlock? = nil) + public func logIn(viewController: UIKit.UIViewController? = nil, configuration: FBSDKLoginKit.LoginConfiguration, completion: @escaping FBSDKLoginKit.LoginResultBlock) +} +@objc(FBSDKLoginTracking) public enum LoginTracking : Swift.UInt { + case enabled + case limited + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } +} +extension FBSDKCoreKit.ServerConfigurationProvider : FBSDKLoginKit._ServerConfigurationProviding { +} +@objc(_FBSDKLoginEventLogging) public protocol _LoginEventLogging { + @objc var flushBehavior: FBSDKCoreKit.AppEvents.FlushBehavior { get } + @objc func logInternalEvent(_ eventName: FBSDKCoreKit.AppEvents.Name, parameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]?, isImplicitlyLogged: Swift.Bool) + @objc func flush() +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKLoginUtility) final public class _LoginUtility : ObjectiveC.NSObject { + @objc public static func string(forAudience audience: FBSDKLoginKit.DefaultAudience) -> Swift.String + @objc public static func queryParams(fromLoginURL url: Foundation.URL) -> [Swift.String : Any]? + @objc public static func userID(fromSignedRequest signedRequest: Swift.String?) -> Swift.String? + @objc override dynamic public init() + @objc deinit +} +@objc(_FBSDKServerConfigurationProviding) public protocol _ServerConfigurationProviding { + @objc(loadServerConfigurationWithCompletionBlock:) func loadServerConfiguration(completion: FBSDKCoreKit.LoginTooltipBlock?) +} +@objc(_FBSDKUserInterfaceElementProviding) public protocol _UserInterfaceElementProviding { + @objc func topMostViewController() -> UIKit.UIViewController? + @objc(viewControllerForView:) func viewController(for view: UIKit.UIView) -> UIKit.UIViewController? +} +@objc(_FBSDKUserInterfaceStringProviding) public protocol _UserInterfaceStringProviding { + @objc var bundleForStrings: Foundation.Bundle { get } +} +extension FBSDKLoginKit.FBLoginButton.TooltipBehavior : Swift.Equatable {} +extension FBSDKLoginKit.FBLoginButton.TooltipBehavior : Swift.Hashable {} +extension FBSDKLoginKit.FBLoginButton.TooltipBehavior : Swift.RawRepresentable {} +extension FBSDKLoginKit.LoginTracking : Swift.Equatable {} +extension FBSDKLoginKit.LoginTracking : Swift.Hashable {} +extension FBSDKLoginKit.LoginTracking : Swift.RawRepresentable {} diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Modules/module.modulemap b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Modules/module.modulemap similarity index 100% rename from src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Modules/module.modulemap rename to src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64/FBSDKLoginKit.framework/Modules/module.modulemap diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/FBSDKLoginKit b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/FBSDKLoginKit new file mode 100644 index 0000000..d7349ba Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/FBSDKLoginKit differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKCodeVerifier.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKCodeVerifier.h new file mode 100644 index 0000000..67250d6 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKCodeVerifier.h @@ -0,0 +1,45 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + Represents a code verifier used in the PKCE (Proof Key for Code Exchange) + process. This is a cryptographically random string using the characters + A-Z, a-z, 0-9, and the punctuation characters -._~ (hyphen, period, + underscore, and tilde), between 43 and 128 characters long. + */ +NS_SWIFT_NAME(CodeVerifier) +@interface FBSDKCodeVerifier : NSObject + +/// The string value of the code verifier +@property (nonatomic, readonly, copy) NSString *value; + +/// The SHA256 hashed challenge of the code verifier +@property (nonatomic, readonly, copy) NSString *challenge; + +/** + Attempts to initialize a new code verifier instance with the given string. + Creation will fail and return nil if the string is invalid. + + @param string the code verifier string + */ +- (nullable instancetype)initWithString:(NSString *)string + NS_DESIGNATED_INITIALIZER; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKDefaultAudience.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKDefaultAudience.h new file mode 100644 index 0000000..e7c41d7 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKDefaultAudience.h @@ -0,0 +1,34 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +NS_ASSUME_NONNULL_BEGIN + +/** + FBSDKDefaultAudience enum + + Passed to openURL to indicate which default audience to use for sessions that post data to Facebook. + + 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, +} NS_SWIFT_NAME(DefaultAudience); + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginCodeInfo.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginCodeInfo.h new file mode 100644 index 0000000..fc08ff2 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginCodeInfo.h @@ -0,0 +1,41 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Describes the initial response when starting the device login flow. + This is used by `FBSDKDeviceLoginManager`. + */ +NS_SWIFT_NAME(DeviceLoginCodeInfo) +@interface FBSDKDeviceLoginCodeInfo : NSObject + +// There is no public initializer. +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/// The unique id for this login flow. +@property (nonatomic, readonly, copy) NSString *identifier; + +/// The short "user_code" that should be presented to the user. +@property (nonatomic, readonly, copy) NSString *loginCode; + +/// The verification URL. +@property (nonatomic, readonly, copy) NSURL *verificationURL; + +/// The expiration date. +@property (nonatomic, readonly, copy) NSDate *expirationDate; + +/// The polling interval +@property (nonatomic, readonly, assign) NSUInteger pollingInterval; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManager.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManager.h new file mode 100644 index 0000000..89def80 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManager.h @@ -0,0 +1,63 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol FBSDKDeviceLoginManagerDelegate; + +/** + Use this class to perform a device login flow. + The device login flow starts by requesting a code from the device login API. + This class informs the delegate when this code is received. You should then present the + code to the user to enter. In the meantime, this class polls the device login API + periodically and informs the delegate of the results. + + See [Facebook Device Login](https://developers.facebook.com/docs/facebook-login/for-devices). + */ +NS_SWIFT_NAME(DeviceLoginManager) +@interface FBSDKDeviceLoginManager : NSObject + +/** + Initializes a new instance. + @param permissions permissions to request. + */ +- (instancetype)initWithPermissions:(NSArray *)permissions + enableSmartLogin:(BOOL)enableSmartLogin; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/// The delegate. +@property (nonatomic, weak) id delegate; + +/// The requested permissions. +@property (nonatomic, readonly, copy) NSArray *permissions; + +/** + The optional URL to redirect the user to after they complete the login. + The URL must be configured in your App Settings -> Advanced -> OAuth Redirect URIs + */ +@property (nullable, nonatomic, copy) NSURL *redirectURL; + +/** + Starts the device login flow + This instance will retain self until the flow is finished or cancelled. + */ +- (void)start; + +/// Attempts to cancel the device login flow. +- (void)cancel; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerDelegate.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerDelegate.h new file mode 100644 index 0000000..cdcf804 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerDelegate.h @@ -0,0 +1,43 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +@class FBSDKDeviceLoginCodeInfo; +@class FBSDKDeviceLoginManager; +@class FBSDKDeviceLoginManagerResult; + +NS_ASSUME_NONNULL_BEGIN + +/// A delegate for `FBSDKDeviceLoginManager`. +NS_SWIFT_NAME(DeviceLoginManagerDelegate) +@protocol FBSDKDeviceLoginManagerDelegate + +/** + Indicates the device login flow has started. You should parse `codeInfo` to present the code to the user to enter. + @param loginManager the login manager instance. + @param codeInfo the code info data. + */ + +- (void)deviceLoginManager:(FBSDKDeviceLoginManager *)loginManager + startedWithCodeInfo:(FBSDKDeviceLoginCodeInfo *)codeInfo; + +/** + Indicates the device login flow has finished. + @param loginManager the login manager instance. + @param result the results of the login flow. + @param error the error, if available. + The flow can be finished if the user completed the flow, cancelled, or if the code has expired. + */ +- (void)deviceLoginManager:(FBSDKDeviceLoginManager *)loginManager + completedWithResult:(nullable FBSDKDeviceLoginManagerResult *)result + error:(nullable NSError *)error; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerResult.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerResult.h new file mode 100644 index 0000000..93266b9 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerResult.h @@ -0,0 +1,37 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +@class FBSDKAccessToken; + +NS_ASSUME_NONNULL_BEGIN + +/** + Represents the results of the a device login flow. + This is used by `FBSDKDeviceLoginManager`. + */ +NS_SWIFT_NAME(DeviceLoginManagerResult) +@interface FBSDKDeviceLoginManagerResult : NSObject + +// There is no public initializer. +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/// The token. +@property (nullable, nonatomic, readonly, strong) FBSDKAccessToken *accessToken; + +/** + Indicates if the login was cancelled by the user, or if the device + login code has expired. + */ +@property (nonatomic, readonly, getter = isCancelled, assign) BOOL cancelled; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKLoginAuthType.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKLoginAuthType.h new file mode 100644 index 0000000..360c320 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKLoginAuthType.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + +/// typedef for FBSDKLoginAuthType +/// See: https://developers.facebook.com/docs/reference/javascript/FB.login/v10.0#options +typedef NSString *const FBSDKLoginAuthType NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(LoginAuthType); + +/// Rerequest +FOUNDATION_EXPORT FBSDKLoginAuthType FBSDKLoginAuthTypeRerequest; + +/// Reauthorize +FOUNDATION_EXPORT FBSDKLoginAuthType FBSDKLoginAuthTypeReauthorize; + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h new file mode 100644 index 0000000..aa55443 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h @@ -0,0 +1,86 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + The error domain for all errors from FBSDKLoginKit + + Error codes from the SDK in the range 300-399 are reserved for this domain. + */ +FOUNDATION_EXPORT NSErrorDomain const FBSDKLoginErrorDomain +NS_SWIFT_NAME(LoginErrorDomain); + +#ifndef NS_ERROR_ENUM + #define NS_ERROR_ENUM(_domain, _name) \ + enum _name : NSInteger _name; \ + enum __attribute__((ns_error_domain(_domain))) _name: NSInteger +#endif + +/** + FBSDKLoginError + Error codes for FBSDKLoginErrorDomain. + */ +typedef NS_ERROR_ENUM (FBSDKLoginErrorDomain, FBSDKLoginError) +{ + /// Reserved. + FBSDKLoginErrorReserved = 300, + + /// The error code for unknown errors. + FBSDKLoginErrorUnknown, + + /// The user's password has changed and must log in again + FBSDKLoginErrorPasswordChanged, + + /// The user must log in to their account on www.facebook.com to restore access + FBSDKLoginErrorUserCheckpointed, + + /// Indicates a failure to request new permissions because the user has changed. + FBSDKLoginErrorUserMismatch, + + /// The user must confirm their account with Facebook before logging in + FBSDKLoginErrorUnconfirmedUser, + + /** + The Accounts framework failed without returning an error, indicating the + app's slider in the iOS Facebook Settings (device Settings -> Facebook -> App Name) has + been disabled. + */ + FBSDKLoginErrorSystemAccountAppDisabled, + + /// An error occurred related to Facebook system Account store + FBSDKLoginErrorSystemAccountUnavailable, + + /// The login response was missing a valid challenge string. + FBSDKLoginErrorBadChallengeString, + + /// The ID token returned in login response was invalid + FBSDKLoginErrorInvalidIDToken, + + /// A current access token was required and not provided + FBSDKLoginErrorMissingAccessToken, +} NS_SWIFT_NAME(LoginError); + +/** + FBSDKDeviceLoginError + Error codes for FBSDKDeviceLoginErrorDomain. + */ +typedef NS_ERROR_ENUM (FBSDKLoginErrorDomain, FBSDKDeviceLoginError) { + /// Your device is polling too frequently. + FBSDKDeviceLoginErrorExcessivePolling = 1349172, + /// User has declined to authorize your application. + FBSDKDeviceLoginErrorAuthorizationDeclined = 1349173, + /// User has not yet authorized your application. Continue polling. + FBSDKDeviceLoginErrorAuthorizationPending = 1349174, + /// The code you entered has expired. + FBSDKDeviceLoginErrorCodeExpired = 1349152 +} NS_SWIFT_NAME(DeviceLoginError); + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKLoginKit-Swift.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKLoginKit-Swift.h new file mode 100644 index 0000000..f2f67b0 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKLoginKit-Swift.h @@ -0,0 +1,978 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +#ifndef FBSDKLOGINKIT_SWIFT_H +#define FBSDKLOGINKIT_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import CoreGraphics; +@import FBSDKCoreKit; +@import Foundation; +@import ObjectiveC; +#endif + +#import + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKLoginKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +@class NSNumber; + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_PROTOCOL_NAMED("_LoginEventLogging") +@protocol _FBSDKLoginEventLogging +@property (nonatomic, readonly) FBSDKAppEventsFlushBehavior flushBehavior; +- (void)logInternalEvent:(FBSDKAppEventName _Nonnull)eventName parameters:(NSDictionary * _Nullable)parameters isImplicitlyLogged:(BOOL)isImplicitlyLogged; +- (void)flush; +@end + + +@interface FBSDKAppEvents (SWIFT_EXTENSION(FBSDKLoginKit)) <_FBSDKLoginEventLogging> +@end + +@protocol FBSDKLoginButtonDelegate; +@class NSString; +enum FBSDKLoginButtonTooltipBehavior : NSUInteger; +enum FBSDKLoginTracking : NSUInteger; +@class FBSDKCodeVerifier; +@class NSCoder; + +/// A button that initiates a log in or log out flow upon tapping. +/// LoginButton works with AccessToken.current to determine what to display, +/// and automatically starts authentication when tapped (i.e., you do not need to manually subscribe action targets). +/// Like LoginManager, you should make sure your app delegate is connected to ApplicationDelegate +/// in order for the button’s delegate to receive messages. +/// LoginButton has a fixed height of 30 pixels, but you may change the width. +/// Initializing the button with nil frame will size the button to its minimum frame. +SWIFT_CLASS_NAMED("FBLoginButton") +@interface FBSDKLoginButton : FBSDKButton +/// The default audience to use, if publish permissions are requested at login time. +@property (nonatomic) FBSDKDefaultAudience defaultAudience; +/// Gets or sets the delegate. +@property (nonatomic, weak) IBOutlet id _Nullable delegate; +/// The permissions to request. +/// To provide the best experience, you should minimize the number of permissions you request, and only ask for them when needed. +/// For example, do not ask for “user_location” until you the information is actually used by the app. +/// Note this is converted to NSSet and is only +/// an NSArray for the convenience of literal syntax. +/// See the permissions guide for more details. +@property (nonatomic, copy) NSArray * _Nonnull permissions; +/// Gets or sets the desired tooltip behavior. +@property (nonatomic) enum FBSDKLoginButtonTooltipBehavior tooltipBehavior; +/// Gets or sets the desired tooltip color style. +@property (nonatomic) FBSDKTooltipColorStyle tooltipColorStyle; +/// Gets or sets the desired tracking preference to use for login attempts. Defaults to .enabled +@property (nonatomic) enum FBSDKLoginTracking loginTracking; +/// Gets or sets an optional nonce to use for login attempts. A valid nonce must be a non-empty string without whitespace. +/// An invalid nonce will not be set. Instead, default unique nonces will be used for login attempts. +@property (nonatomic, copy) NSString * _Nullable nonce; +/// Gets or sets an optional page id to use for login attempts. +@property (nonatomic, copy) NSString * _Nullable messengerPageId; +/// Gets or sets the auth_type to use in the login request. Defaults to rerequest. +@property (nonatomic) FBSDKLoginAuthType _Nullable authType; +/// The code verifier used in the PKCE process. +/// If not provided, a code verifier will be randomly generated. +@property (nonatomic, strong) FBSDKCodeVerifier * _Nonnull codeVerifier; +- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; +- (void)didMoveToWindow; +- (CGRect)imageRectForContentRect:(CGRect)contentRect SWIFT_WARN_UNUSED_RESULT; +- (CGRect)titleRectForContentRect:(CGRect)contentRect SWIFT_WARN_UNUSED_RESULT; +- (void)layoutSubviews; +- (CGSize)sizeThatFits:(CGSize)size SWIFT_WARN_UNUSED_RESULT; +@end + +/// Indicates the desired login tooltip behavior. +typedef SWIFT_ENUM_NAMED(NSUInteger, FBSDKLoginButtonTooltipBehavior, "TooltipBehavior", open) { +/// 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, +}; + + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +///
    +///
  • +/// Warning INTERNAL: DO NOT USE +///
  • +///
+SWIFT_CLASS_NAMED("FBPermission") +@interface FBSDKPermission : NSObject +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +@property (nonatomic, readonly) NSUInteger hash; +/// Attempts to initialize a new permission with the given string. +/// Creation will fail and return nil if the string is invalid. +/// \param string The raw permission string +/// +- (nullable instancetype)initWithString:(NSString * _Nonnull)string OBJC_DESIGNATED_INITIALIZER; +/// Returns a set of FBPermission from a set of raw permissions strings. +/// Will return nil if any of the input permissions is invalid. ++ (NSSet * _Nullable)permissionsFromRawPermissions:(NSSet * _Nonnull)rawPermissions SWIFT_WARN_UNUSED_RESULT; +/// Returns a set of string permissions from a set of FBPermission by +/// extracting the “value” property for each element. ++ (NSSet * _Nonnull)rawPermissionsFromPermissions:(NSSet * _Nonnull)permissions SWIFT_WARN_UNUSED_RESULT; +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +@class UIViewController; +@class UIView; + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_PROTOCOL_NAMED("_UserInterfaceElementProviding") +@protocol _FBSDKUserInterfaceElementProviding +- (UIViewController * _Nullable)topMostViewController SWIFT_WARN_UNUSED_RESULT; +- (UIViewController * _Nullable)viewControllerForView:(UIView * _Nonnull)view SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKInternalUtility (SWIFT_EXTENSION(FBSDKLoginKit)) <_FBSDKUserInterfaceElementProviding> +@end + +@class NSBundle; + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_PROTOCOL_NAMED("_UserInterfaceStringProviding") +@protocol _FBSDKUserInterfaceStringProviding +@property (nonatomic, readonly, strong) NSBundle * _Nonnull bundleForStrings; +@end + + +@interface FBSDKInternalUtility (SWIFT_EXTENSION(FBSDKLoginKit)) <_FBSDKUserInterfaceStringProviding> +@end + +@class FBSDKLoginManagerLoginResult; + +/// A delegate for FBSDKLoginButton +SWIFT_PROTOCOL_NAMED("LoginButtonDelegate") +@protocol FBSDKLoginButtonDelegate +/// Sent to the delegate when the button was used to login. +/// @param loginButton The button being used to log in +/// @param result The results of the login +/// @param error The error (if any) from the login +- (void)loginButton:(FBSDKLoginButton * _Nonnull)loginButton didCompleteWithResult:(FBSDKLoginManagerLoginResult * _Nullable)result error:(NSError * _Nullable)error; +/// Sent to the delegate when the button was used to logout. +/// @param loginButton The button being used to log out. +- (void)loginButtonDidLogOut:(FBSDKLoginButton * _Nonnull)loginButton; +@optional +/// Sent to the delegate when the button is about to login. +/// @param loginButton The button being used to log in +/// @return true if the login should be allowed to proceed, false otherwise +- (BOOL)loginButtonWillLogin:(FBSDKLoginButton * _Nonnull)loginButton SWIFT_WARN_UNUSED_RESULT; +@end + + +/// A configuration to use for modifying the behavior of a login attempt. +SWIFT_CLASS_NAMED("LoginConfiguration") +@interface FBSDKLoginConfiguration : NSObject +/// The nonce that the configuration was created with. +/// A unique nonce will be used if none is provided to the initializer. +@property (nonatomic, readonly, copy) NSString * _Nonnull nonce; +/// The tracking preference. Defaults to .enabled. +@property (nonatomic, readonly) enum FBSDKLoginTracking tracking; +/// The requested permissions for the login attempt. Defaults to an empty set. +@property (nonatomic, readonly, copy) NSSet * _Nonnull requestedPermissions; +/// The Messenger Page Id associated with this login request. +@property (nonatomic, readonly, copy) NSString * _Nullable messengerPageId; +/// The auth type associated with this login request. +@property (nonatomic, readonly) FBSDKLoginAuthType _Nullable authType; +/// The code verifier used in the PKCE process. +/// If not provided, a code verifier will be randomly generated. +@property (nonatomic, readonly, strong) FBSDKCodeVerifier * _Nonnull codeVerifier; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for a login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +/// @param nonce an optional nonce to use for the login attempt. A valid nonce must be a non-empty string without whitespace. +/// Creation of the configuration will fail if the nonce is invalid. +/// @param messengerPageId the associated page id to use for a login attempt. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking nonce:(NSString * _Nonnull)nonce messengerPageId:(NSString * _Nullable)messengerPageId; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for a login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +/// @param nonce an optional nonce to use for the login attempt. A valid nonce must be a non-empty string without whitespace. +/// Creation of the configuration will fail if the nonce is invalid. +/// @param messengerPageId the associated page id to use for a login attempt. +/// @param authType auth_type param to use for login. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking nonce:(NSString * _Nonnull)nonce messengerPageId:(NSString * _Nullable)messengerPageId authType:(FBSDKLoginAuthType _Nullable)authType; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for a login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +/// @param nonce an optional nonce to use for the login attempt. A valid nonce must be a non-empty string without whitespace. +/// Creation of the configuration will fail if the nonce is invalid. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking nonce:(NSString * _Nonnull)nonce; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for the login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +/// @param messengerPageId the associated page id to use for a login attempt. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking messengerPageId:(NSString * _Nullable)messengerPageId; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for the login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +/// @param messengerPageId the associated page id to use for a login attempt. +/// @param authType auth_type param to use for login. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking messengerPageId:(NSString * _Nullable)messengerPageId authType:(FBSDKLoginAuthType _Nullable)authType; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for a login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +/// @param nonce an optional nonce to use for the login attempt. A valid nonce must be a non-empty string without whitespace. +/// Creation of the configuration will fail if the nonce is invalid. +/// @param messengerPageId the associated page id to use for a login attempt. +/// @param authType auth_type param to use for login. +/// @param codeVerifier The code verifier used in the PKCE process. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking nonce:(NSString * _Nonnull)nonce messengerPageId:(NSString * _Nullable)messengerPageId authType:(FBSDKLoginAuthType _Nullable)authType codeVerifier:(FBSDKCodeVerifier * _Nonnull)codeVerifier OBJC_DESIGNATED_INITIALIZER; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for the login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param tracking the login tracking preference to use for a login attempt. +- (nullable instancetype)initWithTracking:(enum FBSDKLoginTracking)tracking; +/// Given a string, return the corresponding FBSDKLoginAuthType. Returns nil if the string cannot be mapped to a valid auth type +/// @param rawValue the raw auth type. ++ (FBSDKLoginAuthType _Nullable)authTypeForString:(NSString * _Nonnull)rawValue SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("This method is deprecated and will be removed in the next major release."); +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// enabled and limited see: https://developers.facebook.com/docs/facebook-login/ios/limited-login/ +typedef SWIFT_ENUM_NAMED(NSUInteger, FBSDKLoginTracking, "LoginTracking", open) { + FBSDKLoginTrackingEnabled = 0, + FBSDKLoginTrackingLimited = 1, +}; + + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_PROTOCOL_NAMED("_ServerConfigurationProviding") +@protocol _FBSDKServerConfigurationProviding +- (void)loadServerConfigurationWithCompletionBlock:(FBSDKLoginTooltipBlock _Nullable)completion; +@end + + +@interface FBSDKServerConfigurationProvider (SWIFT_EXTENSION(FBSDKLoginKit)) <_FBSDKServerConfigurationProviding> +@end + + +@class NSURL; + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_CLASS_NAMED("_LoginUtility") +@interface FBSDKLoginUtility : NSObject ++ (NSString * _Nonnull)stringForAudience:(FBSDKDefaultAudience)audience SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nullable)queryParamsFromLoginURL:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)userIDFromSignedRequest:(NSString * _Nullable)signedRequest SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +#ifndef FBSDKLOGINKIT_SWIFT_H +#define FBSDKLOGINKIT_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import CoreGraphics; +@import FBSDKCoreKit; +@import Foundation; +@import ObjectiveC; +#endif + +#import + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKLoginKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +@class NSNumber; + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_PROTOCOL_NAMED("_LoginEventLogging") +@protocol _FBSDKLoginEventLogging +@property (nonatomic, readonly) FBSDKAppEventsFlushBehavior flushBehavior; +- (void)logInternalEvent:(FBSDKAppEventName _Nonnull)eventName parameters:(NSDictionary * _Nullable)parameters isImplicitlyLogged:(BOOL)isImplicitlyLogged; +- (void)flush; +@end + + +@interface FBSDKAppEvents (SWIFT_EXTENSION(FBSDKLoginKit)) <_FBSDKLoginEventLogging> +@end + +@protocol FBSDKLoginButtonDelegate; +@class NSString; +enum FBSDKLoginButtonTooltipBehavior : NSUInteger; +enum FBSDKLoginTracking : NSUInteger; +@class FBSDKCodeVerifier; +@class NSCoder; + +/// A button that initiates a log in or log out flow upon tapping. +/// LoginButton works with AccessToken.current to determine what to display, +/// and automatically starts authentication when tapped (i.e., you do not need to manually subscribe action targets). +/// Like LoginManager, you should make sure your app delegate is connected to ApplicationDelegate +/// in order for the button’s delegate to receive messages. +/// LoginButton has a fixed height of 30 pixels, but you may change the width. +/// Initializing the button with nil frame will size the button to its minimum frame. +SWIFT_CLASS_NAMED("FBLoginButton") +@interface FBSDKLoginButton : FBSDKButton +/// The default audience to use, if publish permissions are requested at login time. +@property (nonatomic) FBSDKDefaultAudience defaultAudience; +/// Gets or sets the delegate. +@property (nonatomic, weak) IBOutlet id _Nullable delegate; +/// The permissions to request. +/// To provide the best experience, you should minimize the number of permissions you request, and only ask for them when needed. +/// For example, do not ask for “user_location” until you the information is actually used by the app. +/// Note this is converted to NSSet and is only +/// an NSArray for the convenience of literal syntax. +/// See the permissions guide for more details. +@property (nonatomic, copy) NSArray * _Nonnull permissions; +/// Gets or sets the desired tooltip behavior. +@property (nonatomic) enum FBSDKLoginButtonTooltipBehavior tooltipBehavior; +/// Gets or sets the desired tooltip color style. +@property (nonatomic) FBSDKTooltipColorStyle tooltipColorStyle; +/// Gets or sets the desired tracking preference to use for login attempts. Defaults to .enabled +@property (nonatomic) enum FBSDKLoginTracking loginTracking; +/// Gets or sets an optional nonce to use for login attempts. A valid nonce must be a non-empty string without whitespace. +/// An invalid nonce will not be set. Instead, default unique nonces will be used for login attempts. +@property (nonatomic, copy) NSString * _Nullable nonce; +/// Gets or sets an optional page id to use for login attempts. +@property (nonatomic, copy) NSString * _Nullable messengerPageId; +/// Gets or sets the auth_type to use in the login request. Defaults to rerequest. +@property (nonatomic) FBSDKLoginAuthType _Nullable authType; +/// The code verifier used in the PKCE process. +/// If not provided, a code verifier will be randomly generated. +@property (nonatomic, strong) FBSDKCodeVerifier * _Nonnull codeVerifier; +- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; +- (void)didMoveToWindow; +- (CGRect)imageRectForContentRect:(CGRect)contentRect SWIFT_WARN_UNUSED_RESULT; +- (CGRect)titleRectForContentRect:(CGRect)contentRect SWIFT_WARN_UNUSED_RESULT; +- (void)layoutSubviews; +- (CGSize)sizeThatFits:(CGSize)size SWIFT_WARN_UNUSED_RESULT; +@end + +/// Indicates the desired login tooltip behavior. +typedef SWIFT_ENUM_NAMED(NSUInteger, FBSDKLoginButtonTooltipBehavior, "TooltipBehavior", open) { +/// 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, +}; + + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +///
    +///
  • +/// Warning INTERNAL: DO NOT USE +///
  • +///
+SWIFT_CLASS_NAMED("FBPermission") +@interface FBSDKPermission : NSObject +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +@property (nonatomic, readonly) NSUInteger hash; +/// Attempts to initialize a new permission with the given string. +/// Creation will fail and return nil if the string is invalid. +/// \param string The raw permission string +/// +- (nullable instancetype)initWithString:(NSString * _Nonnull)string OBJC_DESIGNATED_INITIALIZER; +/// Returns a set of FBPermission from a set of raw permissions strings. +/// Will return nil if any of the input permissions is invalid. ++ (NSSet * _Nullable)permissionsFromRawPermissions:(NSSet * _Nonnull)rawPermissions SWIFT_WARN_UNUSED_RESULT; +/// Returns a set of string permissions from a set of FBPermission by +/// extracting the “value” property for each element. ++ (NSSet * _Nonnull)rawPermissionsFromPermissions:(NSSet * _Nonnull)permissions SWIFT_WARN_UNUSED_RESULT; +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +@class UIViewController; +@class UIView; + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_PROTOCOL_NAMED("_UserInterfaceElementProviding") +@protocol _FBSDKUserInterfaceElementProviding +- (UIViewController * _Nullable)topMostViewController SWIFT_WARN_UNUSED_RESULT; +- (UIViewController * _Nullable)viewControllerForView:(UIView * _Nonnull)view SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKInternalUtility (SWIFT_EXTENSION(FBSDKLoginKit)) <_FBSDKUserInterfaceElementProviding> +@end + +@class NSBundle; + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_PROTOCOL_NAMED("_UserInterfaceStringProviding") +@protocol _FBSDKUserInterfaceStringProviding +@property (nonatomic, readonly, strong) NSBundle * _Nonnull bundleForStrings; +@end + + +@interface FBSDKInternalUtility (SWIFT_EXTENSION(FBSDKLoginKit)) <_FBSDKUserInterfaceStringProviding> +@end + +@class FBSDKLoginManagerLoginResult; + +/// A delegate for FBSDKLoginButton +SWIFT_PROTOCOL_NAMED("LoginButtonDelegate") +@protocol FBSDKLoginButtonDelegate +/// Sent to the delegate when the button was used to login. +/// @param loginButton The button being used to log in +/// @param result The results of the login +/// @param error The error (if any) from the login +- (void)loginButton:(FBSDKLoginButton * _Nonnull)loginButton didCompleteWithResult:(FBSDKLoginManagerLoginResult * _Nullable)result error:(NSError * _Nullable)error; +/// Sent to the delegate when the button was used to logout. +/// @param loginButton The button being used to log out. +- (void)loginButtonDidLogOut:(FBSDKLoginButton * _Nonnull)loginButton; +@optional +/// Sent to the delegate when the button is about to login. +/// @param loginButton The button being used to log in +/// @return true if the login should be allowed to proceed, false otherwise +- (BOOL)loginButtonWillLogin:(FBSDKLoginButton * _Nonnull)loginButton SWIFT_WARN_UNUSED_RESULT; +@end + + +/// A configuration to use for modifying the behavior of a login attempt. +SWIFT_CLASS_NAMED("LoginConfiguration") +@interface FBSDKLoginConfiguration : NSObject +/// The nonce that the configuration was created with. +/// A unique nonce will be used if none is provided to the initializer. +@property (nonatomic, readonly, copy) NSString * _Nonnull nonce; +/// The tracking preference. Defaults to .enabled. +@property (nonatomic, readonly) enum FBSDKLoginTracking tracking; +/// The requested permissions for the login attempt. Defaults to an empty set. +@property (nonatomic, readonly, copy) NSSet * _Nonnull requestedPermissions; +/// The Messenger Page Id associated with this login request. +@property (nonatomic, readonly, copy) NSString * _Nullable messengerPageId; +/// The auth type associated with this login request. +@property (nonatomic, readonly) FBSDKLoginAuthType _Nullable authType; +/// The code verifier used in the PKCE process. +/// If not provided, a code verifier will be randomly generated. +@property (nonatomic, readonly, strong) FBSDKCodeVerifier * _Nonnull codeVerifier; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for a login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +/// @param nonce an optional nonce to use for the login attempt. A valid nonce must be a non-empty string without whitespace. +/// Creation of the configuration will fail if the nonce is invalid. +/// @param messengerPageId the associated page id to use for a login attempt. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking nonce:(NSString * _Nonnull)nonce messengerPageId:(NSString * _Nullable)messengerPageId; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for a login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +/// @param nonce an optional nonce to use for the login attempt. A valid nonce must be a non-empty string without whitespace. +/// Creation of the configuration will fail if the nonce is invalid. +/// @param messengerPageId the associated page id to use for a login attempt. +/// @param authType auth_type param to use for login. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking nonce:(NSString * _Nonnull)nonce messengerPageId:(NSString * _Nullable)messengerPageId authType:(FBSDKLoginAuthType _Nullable)authType; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for a login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +/// @param nonce an optional nonce to use for the login attempt. A valid nonce must be a non-empty string without whitespace. +/// Creation of the configuration will fail if the nonce is invalid. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking nonce:(NSString * _Nonnull)nonce; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for the login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +/// @param messengerPageId the associated page id to use for a login attempt. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking messengerPageId:(NSString * _Nullable)messengerPageId; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for the login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +/// @param messengerPageId the associated page id to use for a login attempt. +/// @param authType auth_type param to use for login. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking messengerPageId:(NSString * _Nullable)messengerPageId authType:(FBSDKLoginAuthType _Nullable)authType; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for a login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +/// @param nonce an optional nonce to use for the login attempt. A valid nonce must be a non-empty string without whitespace. +/// Creation of the configuration will fail if the nonce is invalid. +/// @param messengerPageId the associated page id to use for a login attempt. +/// @param authType auth_type param to use for login. +/// @param codeVerifier The code verifier used in the PKCE process. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking nonce:(NSString * _Nonnull)nonce messengerPageId:(NSString * _Nullable)messengerPageId authType:(FBSDKLoginAuthType _Nullable)authType codeVerifier:(FBSDKCodeVerifier * _Nonnull)codeVerifier OBJC_DESIGNATED_INITIALIZER; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for the login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param tracking the login tracking preference to use for a login attempt. +- (nullable instancetype)initWithTracking:(enum FBSDKLoginTracking)tracking; +/// Given a string, return the corresponding FBSDKLoginAuthType. Returns nil if the string cannot be mapped to a valid auth type +/// @param rawValue the raw auth type. ++ (FBSDKLoginAuthType _Nullable)authTypeForString:(NSString * _Nonnull)rawValue SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("This method is deprecated and will be removed in the next major release."); +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// enabled and limited see: https://developers.facebook.com/docs/facebook-login/ios/limited-login/ +typedef SWIFT_ENUM_NAMED(NSUInteger, FBSDKLoginTracking, "LoginTracking", open) { + FBSDKLoginTrackingEnabled = 0, + FBSDKLoginTrackingLimited = 1, +}; + + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_PROTOCOL_NAMED("_ServerConfigurationProviding") +@protocol _FBSDKServerConfigurationProviding +- (void)loadServerConfigurationWithCompletionBlock:(FBSDKLoginTooltipBlock _Nullable)completion; +@end + + +@interface FBSDKServerConfigurationProvider (SWIFT_EXTENSION(FBSDKLoginKit)) <_FBSDKServerConfigurationProviding> +@end + + +@class NSURL; + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_CLASS_NAMED("_LoginUtility") +@interface FBSDKLoginUtility : NSObject ++ (NSString * _Nonnull)stringForAudience:(FBSDKDefaultAudience)audience SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nullable)queryParamsFromLoginURL:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)userIDFromSignedRequest:(NSString * _Nullable)signedRequest SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h new file mode 100644 index 0000000..a451819 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h @@ -0,0 +1,25 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import + +#import diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h new file mode 100644 index 0000000..20e2969 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h @@ -0,0 +1,131 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +#if !TARGET_OS_TV + +@class FBSDKLoginConfiguration; + +/** + `FBSDKLoginManager` provides methods for logging the user in and out. + + `FBSDKLoginManager` serves to help manage sessions represented by tokens for authentication, + `AuthenticationToken`, and data access, `AccessToken`. + + You should check if the type of token you expect is present as a singleton instance, either `AccessToken.current` + or `AuthenticationToken.current` before calling any of the login methods to see if there is a cached token + available. A standard place to do this is in `viewDidLoad`. + + @warning If you are managing your own token instances outside of `AccessToken.current`, you will need to set + `AccessToken.current` before calling any of the login methods to authorize further permissions on your tokens. + */ +NS_SWIFT_NAME(LoginManager) +@interface FBSDKLoginManager : NSObject + +/** + the default audience. + + you should set this if you intend to ask for publish permissions. + */ +@property (nonatomic, assign) FBSDKDefaultAudience defaultAudience; + +/** + 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. + + 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 `FBSDKLoginManagerLoginResultBlock`'s + `result.declinedPermissions` to provide more information to the user if they decline permissions. + You typically should check if `AccessToken.current` already contains the permissions you need before + asking to reduce unnecessary login attempts. For example, you could perform that check in `viewDidLoad`. + + @warning You can only perform one login call at a time. Calling a login method before the completion handler is called + on a previous login attempt will result in an error. + @warning This method will present a UI to the user and thus should be called on the main thread. + */ + +// UNCRUSTIFY_FORMAT_OFF +- (void)logInWithPermissions:(NSArray *)permissions + fromViewController:(nullable UIViewController *)fromViewController + handler:(nullable FBSDKLoginManagerLoginResultBlock)handler +NS_SWIFT_NAME(logIn(permissions:from:handler:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Logs the user in or authorizes additional permissions. + + @param viewController the view controller from which to present the login UI. If nil, the topmost view + controller will be automatically determined and used. + @param configuration the login configuration to use. + @param completion the login completion handler. + + Use this method when asking for permissions. You should only ask for permissions when they + are needed and the value should be explained to the user. You can inspect the + `FBSDKLoginManagerLoginResultBlock`'s `result.declinedPermissions` to provide more information + to the user if they decline permissions. + To reduce unnecessary login attempts, you should typically check if `AccessToken.current` + already contains the permissions you need. If it does, you probably do not need to call this method. + + @warning You can only perform one login call at a time. Calling a login method before the completion handler is called + on a previous login attempt will result in an error. + @warning This method will present a UI to the user and thus should be called on the main thread. + */ +- (void)logInFromViewController:(nullable UIViewController *)viewController + configuration:(FBSDKLoginConfiguration *)configuration + completion:(FBSDKLoginManagerLoginResultBlock)completion + NS_REFINED_FOR_SWIFT; + +/** + Requests user's permission to reathorize application's data access, after it has expired due to inactivity. + @param fromViewController the view controller from which to present the login UI. If nil, the topmost view + controller will be automatically determined and used. + @param handler the callback. + +Use this method when you need to reathorize your app's access to user data via the Graph API. +You should only call this after access has expired. +You should provide as much context to the user as possible as to why you need to reauthorize the access, the +scope of access being reathorized, and what added value your app provides when the access is reathorized. +You can inspect the `result.declinedPermissions` to determine if you should provide more information to the +user based on any declined permissions. + + @warning This method will reauthorize using a `LoginConfiguration` with `FBSDKLoginTracking` set to `.enabled`. + @warning This method will present UI the user. You typically should call this if `AccessToken.isDataAccessExpired` is true. + */ + +// UNCRUSTIFY_FORMAT_OFF +- (void)reauthorizeDataAccess:(UIViewController *)fromViewController + handler:(FBSDKLoginManagerLoginResultBlock)handler +NS_SWIFT_NAME(reauthorizeDataAccess(from:handler:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Logs the user out + + This nils out the singleton instances of `AccessToken` `AuthenticationToken` and `Profle`. + + @note This is only a client side logout. It will not log the user out of their Facebook account. + */ +- (void)logOut; + +@end + +#endif + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h new file mode 100644 index 0000000..21df36e --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h @@ -0,0 +1,66 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +#if !TARGET_OS_TV + +@class FBSDKAccessToken; +@class FBSDKAuthenticationToken; + +/// Describes the result of a login attempt. +NS_SWIFT_NAME(LoginManagerLoginResult) +@interface FBSDKLoginManagerLoginResult : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/// the access token. +@property (nullable, nonatomic, copy) FBSDKAccessToken *token; + +/// the authentication token. +@property (nullable, nonatomic, copy) FBSDKAuthenticationToken *authenticationToken; + +/// whether the login was cancelled by the user. +@property (nonatomic, readonly) BOOL isCancelled; + +/** + the set of permissions granted by the user in the associated request. + + inspect the token's permissions set for a complete list. + */ +@property (nonatomic, copy) NSSet *grantedPermissions; + +/** + the set of permissions declined by the user in the associated request. + + inspect the token's permissions set for a complete list. + */ +@property (nonatomic, copy) NSSet *declinedPermissions; + +/** + Initializes a new instance. + @param token the access token + @param authenticationToken the authentication 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:(nullable FBSDKAccessToken *)token + authenticationToken:(nullable FBSDKAuthenticationToken *)authenticationToken + isCancelled:(BOOL)isCancelled + grantedPermissions:(NSSet *)grantedPermissions + declinedPermissions:(NSSet *)declinedPermissions + NS_DESIGNATED_INITIALIZER; +@end + +#endif + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResultBlock.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResultBlock.h new file mode 100644 index 0000000..4207825 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResultBlock.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +@class FBSDKLoginManagerLoginResult; + +/** + Describes the call back to the FBSDKLoginManager + @param result the result of the authorization + @param error the authorization error, if any. + */ +typedef void (^ FBSDKLoginManagerLoginResultBlock)(FBSDKLoginManagerLoginResult *_Nullable result, + NSError *_Nullable error) +NS_SWIFT_NAME(LoginManagerLoginResultBlock); + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKLoginProviding.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKLoginProviding.h new file mode 100644 index 0000000..82a2e60 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKLoginProviding.h @@ -0,0 +1,42 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + #import + +NS_ASSUME_NONNULL_BEGIN + +@class FBSDKLoginConfiguration; + +NS_SWIFT_NAME(_LoginProviding) +@protocol FBSDKLoginProviding + +@property (nonatomic, assign) FBSDKDefaultAudience defaultAudience; + +- (void)logInFromViewController:(nullable UIViewController *)viewController + configuration:(FBSDKLoginConfiguration *)configuration + completion:(FBSDKLoginManagerLoginResultBlock)completion NS_REFINED_FOR_SWIFT; + +// UNCRUSTIFY_FORMAT_OFF +- (void)logInWithPermissions:(NSArray *)permissions + fromViewController:(nullable UIViewController *)viewController + handler:(FBSDKLoginManagerLoginResultBlock)handler +NS_SWIFT_NAME(logIn(permissions:from:handler:)); +// UNCRUSTIFY_FORMAT_ON + +- (void)logOut; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h new file mode 100644 index 0000000..c703f57 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h @@ -0,0 +1,47 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + + #import + +NS_ASSUME_NONNULL_BEGIN + +@protocol FBSDKLoginTooltipViewDelegate; + +/** + Represents a tooltip to be displayed next to a Facebook login button + to highlight features for new users. + + 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. + */ +NS_SWIFT_NAME(FBLoginTooltipView) +@interface FBSDKLoginTooltipView : FBSDKTooltipView + +/// the delegate +@property (nonatomic, weak) id delegate; + +/** if set to YES, the view will always be displayed and the delegate's + `loginTooltipView:shouldAppear:` will NOT be called. */ +@property (nonatomic, getter = shouldForceDisplay, assign) BOOL forceDisplay; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipViewDelegate.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipViewDelegate.h new file mode 100644 index 0000000..9d60943 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipViewDelegate.h @@ -0,0 +1,57 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + +NS_ASSUME_NONNULL_BEGIN + +/** + @protocol + + The `FBSDKLoginTooltipViewDelegate` protocol defines the methods used to receive event + notifications from `FBSDKLoginTooltipView` objects. + */ +NS_SWIFT_NAME(LoginTooltipViewDelegate) +@protocol FBSDKLoginTooltipViewDelegate + +@optional + +/** + 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. + + Use this method to customize display behavior. + */ +- (BOOL)loginTooltipView:(FBSDKLoginTooltipView *)view shouldAppear:(BOOL)appIsEligible; + +/** + 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; + +/** + 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 + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h new file mode 100644 index 0000000..ab8bab0 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h @@ -0,0 +1,129 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + FBSDKTooltipViewArrowDirection enum + + 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, +} NS_SWIFT_NAME(FBTooltipView.ArrowDirection); + +/** + FBSDKTooltipColorStyle enum + + 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, +} NS_SWIFT_NAME(FBTooltipView.ColorStyle); + +/** + Tooltip bubble with text in it used to display tips for UI elements, + with a pointed arrow (to refer to the UI element). + + The tooltip fades in and will automatically fade out. See `displayDuration`. + */ +NS_SWIFT_NAME(FBTooltipView) +@interface FBSDKTooltipView : UIView + +/** + Gets or sets the amount of time in seconds the tooltip should be displayed. + Set this to zero to make the display permanent until explicitly dismissed. + Defaults to six seconds. + */ +@property (nonatomic, assign) CFTimeInterval displayDuration; + +/** + Gets or sets the color style after initialization. + Defaults to value passed to -initWithTagline:message:colorStyle:. + */ +@property (nonatomic, assign) FBSDKTooltipColorStyle colorStyle; + +/// Gets or sets the message. +@property (nullable, nonatomic, copy) NSString *message; + +/// Gets or sets the optional phrase that comprises the first part of the label (and is highlighted differently). +@property (nullable, nonatomic, copy) NSString *tagline; + +/** + 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. + + If you need to show a tooltip for login, consider using the `FBSDKLoginTooltipView` view. + + See FBSDKLoginTooltipView + */ +- (instancetype)initWithTagline:(nullable NSString *)tagline + message:(nullable NSString *)message + colorStyle:(FBSDKTooltipColorStyle)colorStyle; + +/** + 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) + + 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; + +/** + 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). + */ + +// UNCRUSTIFY_FORMAT_OFF +- (void)presentInView:(UIView *)view + withArrowPosition:(CGPoint)arrowPosition + direction:(FBSDKTooltipViewArrowDirection)arrowDirection +NS_SWIFT_NAME(present(in:arrowPosition:direction:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Remove tooltip manually. + + Calling this method isn't necessary - tooltip will dismiss itself automatically after the `displayDuration`. + */ +- (void)dismiss; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios-macabi.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios-macabi.swiftdoc new file mode 100644 index 0000000..0112e53 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios-macabi.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios-macabi.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios-macabi.swiftinterface new file mode 100644 index 0000000..63b3241 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios-macabi.swiftinterface @@ -0,0 +1,138 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKLoginKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +@_exported import FBSDKLoginKit +import Foundation +import Swift +import UIKit +extension FBSDKCoreKit.AppEvents : FBSDKLoginKit._LoginEventLogging { +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKLoginButton) final public class FBLoginButton : FBSDKCoreKit.FBButton { + @objc final public var defaultAudience: FBSDKLoginKit.DefaultAudience { + @objc get + @objc set + } + @objc @IBOutlet weak final public var delegate: FBSDKLoginKit.LoginButtonDelegate? + @objc final public var permissions: [Swift.String] + @objc final public var tooltipBehavior: FBSDKLoginKit.FBLoginButton.TooltipBehavior + @objc final public var tooltipColorStyle: FBSDKLoginKit.FBTooltipView.ColorStyle + @objc final public var loginTracking: FBSDKLoginKit.LoginTracking + @objc final public var nonce: Swift.String? { + @objc get + @objc set + } + @objc final public var messengerPageId: Swift.String? + @objc final public var authType: FBSDKLoginKit.LoginAuthType? + @objc final public var codeVerifier: FBSDKLoginKit.CodeVerifier + @objc(FBSDKLoginButtonTooltipBehavior) public enum TooltipBehavior : Swift.UInt { + case automatic = 0 + case forceDisplay + case disable + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } + } + @objc override dynamic public init(frame: CoreGraphics.CGRect) + @objc override final public func didMoveToWindow() + @objc override final public func imageRect(forContentRect contentRect: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @objc override final public func titleRect(forContentRect contentRect: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @objc override final public func layoutSubviews() + @objc override final public func sizeThatFits(_ size: CoreGraphics.CGSize) -> CoreGraphics.CGSize + @objc deinit +} +@objcMembers @objc(FBSDKPermission) final public class FBPermission : ObjectiveC.NSObject { + @objc override final public var description: Swift.String { + @objc get + } + @objc override final public var hash: Swift.Int { + @objc get + } + @objc public init?(string: Swift.String) + @objc(permissionsFromRawPermissions:) public static func permissions(fromRawPermissions rawPermissions: Swift.Set) -> Swift.Set? + @objc(rawPermissionsFromPermissions:) public static func rawPermissions(from permissions: Swift.Set) -> Swift.Set + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc deinit +} +extension FBSDKCoreKit.InternalUtility : FBSDKLoginKit._UserInterfaceElementProviding { +} +extension FBSDKCoreKit.InternalUtility : FBSDKLoginKit._UserInterfaceStringProviding { +} +@objc(FBSDKLoginButtonDelegate) public protocol LoginButtonDelegate : ObjectiveC.NSObjectProtocol { + @objc(loginButton:didCompleteWithResult:error:) func loginButton(_ loginButton: FBSDKLoginKit.FBLoginButton, didCompleteWith result: FBSDKLoginKit.LoginManagerLoginResult?, error: Swift.Error?) + @objc func loginButtonDidLogOut(_ loginButton: FBSDKLoginKit.FBLoginButton) + @objc optional func loginButtonWillLogin(_ loginButton: FBSDKLoginKit.FBLoginButton) -> Swift.Bool +} +@objcMembers @objc(FBSDKLoginConfiguration) final public class LoginConfiguration : ObjectiveC.NSObject { + @objc final public let nonce: Swift.String + @objc final public let tracking: FBSDKLoginKit.LoginTracking + @objc final public let requestedPermissions: Swift.Set + @objc final public let messengerPageId: Swift.String? + @objc final public let authType: FBSDKLoginKit.LoginAuthType? + @objc final public let codeVerifier: FBSDKLoginKit.CodeVerifier + @objc(initWithPermissions:tracking:nonce:messengerPageId:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String, messengerPageId: Swift.String?) + @objc(initWithPermissions:tracking:nonce:messengerPageId:authType:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String, messengerPageId: Swift.String?, authType: FBSDKLoginKit.LoginAuthType?) + @objc(initWithPermissions:tracking:nonce:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String) + @objc(initWithPermissions:tracking:messengerPageId:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, messengerPageId: Swift.String?) + @objc(initWithPermissions:tracking:messengerPageId:authType:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, messengerPageId: Swift.String?, authType: FBSDKLoginKit.LoginAuthType?) + @objc(initWithPermissions:tracking:nonce:messengerPageId:authType:codeVerifier:) public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String, messengerPageId: Swift.String?, authType: FBSDKLoginKit.LoginAuthType?, codeVerifier: FBSDKLoginKit.CodeVerifier) + @objc(initWithPermissions:tracking:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking) + @objc(initWithTracking:) convenience public init?(tracking: FBSDKLoginKit.LoginTracking) + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release.") + @objc(authTypeForString:) public static func authType(for rawValue: Swift.String) -> FBSDKLoginKit.LoginAuthType? + convenience public init?(permissions: Swift.Set = [], tracking: FBSDKLoginKit.LoginTracking = .enabled, nonce: Swift.String = UUID().uuidString, messengerPageId: Swift.String? = nil, authType: FBSDKLoginKit.LoginAuthType? = .rerequest, codeVerifier: FBSDKLoginKit.CodeVerifier = CodeVerifier()) + @objc deinit +} +public typealias LoginResultBlock = (FBSDKLoginKit.LoginResult) -> Swift.Void +@frozen public enum LoginResult { + case success(granted: Swift.Set, declined: Swift.Set, token: FBSDKCoreKit.AccessToken?) + case cancelled + case failed(Swift.Error) +} +extension FBSDKLoginKit.LoginManager { + convenience public init(defaultAudience: FBSDKLoginKit.DefaultAudience = .friends) + public func logIn(permissions: [FBSDKCoreKit.Permission] = [.publicProfile], viewController: UIKit.UIViewController? = nil, completion: FBSDKLoginKit.LoginResultBlock? = nil) + public func logIn(viewController: UIKit.UIViewController? = nil, configuration: FBSDKLoginKit.LoginConfiguration, completion: @escaping FBSDKLoginKit.LoginResultBlock) +} +@objc(FBSDKLoginTracking) public enum LoginTracking : Swift.UInt { + case enabled + case limited + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } +} +extension FBSDKCoreKit.ServerConfigurationProvider : FBSDKLoginKit._ServerConfigurationProviding { +} +@objc(_FBSDKLoginEventLogging) public protocol _LoginEventLogging { + @objc var flushBehavior: FBSDKCoreKit.AppEvents.FlushBehavior { get } + @objc func logInternalEvent(_ eventName: FBSDKCoreKit.AppEvents.Name, parameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]?, isImplicitlyLogged: Swift.Bool) + @objc func flush() +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKLoginUtility) final public class _LoginUtility : ObjectiveC.NSObject { + @objc public static func string(forAudience audience: FBSDKLoginKit.DefaultAudience) -> Swift.String + @objc public static func queryParams(fromLoginURL url: Foundation.URL) -> [Swift.String : Any]? + @objc public static func userID(fromSignedRequest signedRequest: Swift.String?) -> Swift.String? + @objc override dynamic public init() + @objc deinit +} +@objc(_FBSDKServerConfigurationProviding) public protocol _ServerConfigurationProviding { + @objc(loadServerConfigurationWithCompletionBlock:) func loadServerConfiguration(completion: FBSDKCoreKit.LoginTooltipBlock?) +} +@objc(_FBSDKUserInterfaceElementProviding) public protocol _UserInterfaceElementProviding { + @objc func topMostViewController() -> UIKit.UIViewController? + @objc(viewControllerForView:) func viewController(for view: UIKit.UIView) -> UIKit.UIViewController? +} +@objc(_FBSDKUserInterfaceStringProviding) public protocol _UserInterfaceStringProviding { + @objc var bundleForStrings: Foundation.Bundle { get } +} +extension FBSDKLoginKit.FBLoginButton.TooltipBehavior : Swift.Equatable {} +extension FBSDKLoginKit.FBLoginButton.TooltipBehavior : Swift.Hashable {} +extension FBSDKLoginKit.FBLoginButton.TooltipBehavior : Swift.RawRepresentable {} +extension FBSDKLoginKit.LoginTracking : Swift.Equatable {} +extension FBSDKLoginKit.LoginTracking : Swift.Hashable {} +extension FBSDKLoginKit.LoginTracking : Swift.RawRepresentable {} diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..0112e53 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..63b3241 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftinterface @@ -0,0 +1,138 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKLoginKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +@_exported import FBSDKLoginKit +import Foundation +import Swift +import UIKit +extension FBSDKCoreKit.AppEvents : FBSDKLoginKit._LoginEventLogging { +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKLoginButton) final public class FBLoginButton : FBSDKCoreKit.FBButton { + @objc final public var defaultAudience: FBSDKLoginKit.DefaultAudience { + @objc get + @objc set + } + @objc @IBOutlet weak final public var delegate: FBSDKLoginKit.LoginButtonDelegate? + @objc final public var permissions: [Swift.String] + @objc final public var tooltipBehavior: FBSDKLoginKit.FBLoginButton.TooltipBehavior + @objc final public var tooltipColorStyle: FBSDKLoginKit.FBTooltipView.ColorStyle + @objc final public var loginTracking: FBSDKLoginKit.LoginTracking + @objc final public var nonce: Swift.String? { + @objc get + @objc set + } + @objc final public var messengerPageId: Swift.String? + @objc final public var authType: FBSDKLoginKit.LoginAuthType? + @objc final public var codeVerifier: FBSDKLoginKit.CodeVerifier + @objc(FBSDKLoginButtonTooltipBehavior) public enum TooltipBehavior : Swift.UInt { + case automatic = 0 + case forceDisplay + case disable + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } + } + @objc override dynamic public init(frame: CoreGraphics.CGRect) + @objc override final public func didMoveToWindow() + @objc override final public func imageRect(forContentRect contentRect: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @objc override final public func titleRect(forContentRect contentRect: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @objc override final public func layoutSubviews() + @objc override final public func sizeThatFits(_ size: CoreGraphics.CGSize) -> CoreGraphics.CGSize + @objc deinit +} +@objcMembers @objc(FBSDKPermission) final public class FBPermission : ObjectiveC.NSObject { + @objc override final public var description: Swift.String { + @objc get + } + @objc override final public var hash: Swift.Int { + @objc get + } + @objc public init?(string: Swift.String) + @objc(permissionsFromRawPermissions:) public static func permissions(fromRawPermissions rawPermissions: Swift.Set) -> Swift.Set? + @objc(rawPermissionsFromPermissions:) public static func rawPermissions(from permissions: Swift.Set) -> Swift.Set + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc deinit +} +extension FBSDKCoreKit.InternalUtility : FBSDKLoginKit._UserInterfaceElementProviding { +} +extension FBSDKCoreKit.InternalUtility : FBSDKLoginKit._UserInterfaceStringProviding { +} +@objc(FBSDKLoginButtonDelegate) public protocol LoginButtonDelegate : ObjectiveC.NSObjectProtocol { + @objc(loginButton:didCompleteWithResult:error:) func loginButton(_ loginButton: FBSDKLoginKit.FBLoginButton, didCompleteWith result: FBSDKLoginKit.LoginManagerLoginResult?, error: Swift.Error?) + @objc func loginButtonDidLogOut(_ loginButton: FBSDKLoginKit.FBLoginButton) + @objc optional func loginButtonWillLogin(_ loginButton: FBSDKLoginKit.FBLoginButton) -> Swift.Bool +} +@objcMembers @objc(FBSDKLoginConfiguration) final public class LoginConfiguration : ObjectiveC.NSObject { + @objc final public let nonce: Swift.String + @objc final public let tracking: FBSDKLoginKit.LoginTracking + @objc final public let requestedPermissions: Swift.Set + @objc final public let messengerPageId: Swift.String? + @objc final public let authType: FBSDKLoginKit.LoginAuthType? + @objc final public let codeVerifier: FBSDKLoginKit.CodeVerifier + @objc(initWithPermissions:tracking:nonce:messengerPageId:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String, messengerPageId: Swift.String?) + @objc(initWithPermissions:tracking:nonce:messengerPageId:authType:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String, messengerPageId: Swift.String?, authType: FBSDKLoginKit.LoginAuthType?) + @objc(initWithPermissions:tracking:nonce:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String) + @objc(initWithPermissions:tracking:messengerPageId:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, messengerPageId: Swift.String?) + @objc(initWithPermissions:tracking:messengerPageId:authType:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, messengerPageId: Swift.String?, authType: FBSDKLoginKit.LoginAuthType?) + @objc(initWithPermissions:tracking:nonce:messengerPageId:authType:codeVerifier:) public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String, messengerPageId: Swift.String?, authType: FBSDKLoginKit.LoginAuthType?, codeVerifier: FBSDKLoginKit.CodeVerifier) + @objc(initWithPermissions:tracking:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking) + @objc(initWithTracking:) convenience public init?(tracking: FBSDKLoginKit.LoginTracking) + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release.") + @objc(authTypeForString:) public static func authType(for rawValue: Swift.String) -> FBSDKLoginKit.LoginAuthType? + convenience public init?(permissions: Swift.Set = [], tracking: FBSDKLoginKit.LoginTracking = .enabled, nonce: Swift.String = UUID().uuidString, messengerPageId: Swift.String? = nil, authType: FBSDKLoginKit.LoginAuthType? = .rerequest, codeVerifier: FBSDKLoginKit.CodeVerifier = CodeVerifier()) + @objc deinit +} +public typealias LoginResultBlock = (FBSDKLoginKit.LoginResult) -> Swift.Void +@frozen public enum LoginResult { + case success(granted: Swift.Set, declined: Swift.Set, token: FBSDKCoreKit.AccessToken?) + case cancelled + case failed(Swift.Error) +} +extension FBSDKLoginKit.LoginManager { + convenience public init(defaultAudience: FBSDKLoginKit.DefaultAudience = .friends) + public func logIn(permissions: [FBSDKCoreKit.Permission] = [.publicProfile], viewController: UIKit.UIViewController? = nil, completion: FBSDKLoginKit.LoginResultBlock? = nil) + public func logIn(viewController: UIKit.UIViewController? = nil, configuration: FBSDKLoginKit.LoginConfiguration, completion: @escaping FBSDKLoginKit.LoginResultBlock) +} +@objc(FBSDKLoginTracking) public enum LoginTracking : Swift.UInt { + case enabled + case limited + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } +} +extension FBSDKCoreKit.ServerConfigurationProvider : FBSDKLoginKit._ServerConfigurationProviding { +} +@objc(_FBSDKLoginEventLogging) public protocol _LoginEventLogging { + @objc var flushBehavior: FBSDKCoreKit.AppEvents.FlushBehavior { get } + @objc func logInternalEvent(_ eventName: FBSDKCoreKit.AppEvents.Name, parameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]?, isImplicitlyLogged: Swift.Bool) + @objc func flush() +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKLoginUtility) final public class _LoginUtility : ObjectiveC.NSObject { + @objc public static func string(forAudience audience: FBSDKLoginKit.DefaultAudience) -> Swift.String + @objc public static func queryParams(fromLoginURL url: Foundation.URL) -> [Swift.String : Any]? + @objc public static func userID(fromSignedRequest signedRequest: Swift.String?) -> Swift.String? + @objc override dynamic public init() + @objc deinit +} +@objc(_FBSDKServerConfigurationProviding) public protocol _ServerConfigurationProviding { + @objc(loadServerConfigurationWithCompletionBlock:) func loadServerConfiguration(completion: FBSDKCoreKit.LoginTooltipBlock?) +} +@objc(_FBSDKUserInterfaceElementProviding) public protocol _UserInterfaceElementProviding { + @objc func topMostViewController() -> UIKit.UIViewController? + @objc(viewControllerForView:) func viewController(for view: UIKit.UIView) -> UIKit.UIViewController? +} +@objc(_FBSDKUserInterfaceStringProviding) public protocol _UserInterfaceStringProviding { + @objc var bundleForStrings: Foundation.Bundle { get } +} +extension FBSDKLoginKit.FBLoginButton.TooltipBehavior : Swift.Equatable {} +extension FBSDKLoginKit.FBLoginButton.TooltipBehavior : Swift.Hashable {} +extension FBSDKLoginKit.FBLoginButton.TooltipBehavior : Swift.RawRepresentable {} +extension FBSDKLoginKit.LoginTracking : Swift.Equatable {} +extension FBSDKLoginKit.LoginTracking : Swift.Hashable {} +extension FBSDKLoginKit.LoginTracking : Swift.RawRepresentable {} diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-ios-macabi.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-ios-macabi.swiftdoc new file mode 100644 index 0000000..e602141 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-ios-macabi.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-ios-macabi.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-ios-macabi.swiftinterface new file mode 100644 index 0000000..4118c43 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-ios-macabi.swiftinterface @@ -0,0 +1,138 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target x86_64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKLoginKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +@_exported import FBSDKLoginKit +import Foundation +import Swift +import UIKit +extension FBSDKCoreKit.AppEvents : FBSDKLoginKit._LoginEventLogging { +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKLoginButton) final public class FBLoginButton : FBSDKCoreKit.FBButton { + @objc final public var defaultAudience: FBSDKLoginKit.DefaultAudience { + @objc get + @objc set + } + @objc @IBOutlet weak final public var delegate: FBSDKLoginKit.LoginButtonDelegate? + @objc final public var permissions: [Swift.String] + @objc final public var tooltipBehavior: FBSDKLoginKit.FBLoginButton.TooltipBehavior + @objc final public var tooltipColorStyle: FBSDKLoginKit.FBTooltipView.ColorStyle + @objc final public var loginTracking: FBSDKLoginKit.LoginTracking + @objc final public var nonce: Swift.String? { + @objc get + @objc set + } + @objc final public var messengerPageId: Swift.String? + @objc final public var authType: FBSDKLoginKit.LoginAuthType? + @objc final public var codeVerifier: FBSDKLoginKit.CodeVerifier + @objc(FBSDKLoginButtonTooltipBehavior) public enum TooltipBehavior : Swift.UInt { + case automatic = 0 + case forceDisplay + case disable + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } + } + @objc override dynamic public init(frame: CoreGraphics.CGRect) + @objc override final public func didMoveToWindow() + @objc override final public func imageRect(forContentRect contentRect: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @objc override final public func titleRect(forContentRect contentRect: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @objc override final public func layoutSubviews() + @objc override final public func sizeThatFits(_ size: CoreGraphics.CGSize) -> CoreGraphics.CGSize + @objc deinit +} +@objcMembers @objc(FBSDKPermission) final public class FBPermission : ObjectiveC.NSObject { + @objc override final public var description: Swift.String { + @objc get + } + @objc override final public var hash: Swift.Int { + @objc get + } + @objc public init?(string: Swift.String) + @objc(permissionsFromRawPermissions:) public static func permissions(fromRawPermissions rawPermissions: Swift.Set) -> Swift.Set? + @objc(rawPermissionsFromPermissions:) public static func rawPermissions(from permissions: Swift.Set) -> Swift.Set + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc deinit +} +extension FBSDKCoreKit.InternalUtility : FBSDKLoginKit._UserInterfaceElementProviding { +} +extension FBSDKCoreKit.InternalUtility : FBSDKLoginKit._UserInterfaceStringProviding { +} +@objc(FBSDKLoginButtonDelegate) public protocol LoginButtonDelegate : ObjectiveC.NSObjectProtocol { + @objc(loginButton:didCompleteWithResult:error:) func loginButton(_ loginButton: FBSDKLoginKit.FBLoginButton, didCompleteWith result: FBSDKLoginKit.LoginManagerLoginResult?, error: Swift.Error?) + @objc func loginButtonDidLogOut(_ loginButton: FBSDKLoginKit.FBLoginButton) + @objc optional func loginButtonWillLogin(_ loginButton: FBSDKLoginKit.FBLoginButton) -> Swift.Bool +} +@objcMembers @objc(FBSDKLoginConfiguration) final public class LoginConfiguration : ObjectiveC.NSObject { + @objc final public let nonce: Swift.String + @objc final public let tracking: FBSDKLoginKit.LoginTracking + @objc final public let requestedPermissions: Swift.Set + @objc final public let messengerPageId: Swift.String? + @objc final public let authType: FBSDKLoginKit.LoginAuthType? + @objc final public let codeVerifier: FBSDKLoginKit.CodeVerifier + @objc(initWithPermissions:tracking:nonce:messengerPageId:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String, messengerPageId: Swift.String?) + @objc(initWithPermissions:tracking:nonce:messengerPageId:authType:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String, messengerPageId: Swift.String?, authType: FBSDKLoginKit.LoginAuthType?) + @objc(initWithPermissions:tracking:nonce:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String) + @objc(initWithPermissions:tracking:messengerPageId:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, messengerPageId: Swift.String?) + @objc(initWithPermissions:tracking:messengerPageId:authType:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, messengerPageId: Swift.String?, authType: FBSDKLoginKit.LoginAuthType?) + @objc(initWithPermissions:tracking:nonce:messengerPageId:authType:codeVerifier:) public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String, messengerPageId: Swift.String?, authType: FBSDKLoginKit.LoginAuthType?, codeVerifier: FBSDKLoginKit.CodeVerifier) + @objc(initWithPermissions:tracking:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking) + @objc(initWithTracking:) convenience public init?(tracking: FBSDKLoginKit.LoginTracking) + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release.") + @objc(authTypeForString:) public static func authType(for rawValue: Swift.String) -> FBSDKLoginKit.LoginAuthType? + convenience public init?(permissions: Swift.Set = [], tracking: FBSDKLoginKit.LoginTracking = .enabled, nonce: Swift.String = UUID().uuidString, messengerPageId: Swift.String? = nil, authType: FBSDKLoginKit.LoginAuthType? = .rerequest, codeVerifier: FBSDKLoginKit.CodeVerifier = CodeVerifier()) + @objc deinit +} +public typealias LoginResultBlock = (FBSDKLoginKit.LoginResult) -> Swift.Void +@frozen public enum LoginResult { + case success(granted: Swift.Set, declined: Swift.Set, token: FBSDKCoreKit.AccessToken?) + case cancelled + case failed(Swift.Error) +} +extension FBSDKLoginKit.LoginManager { + convenience public init(defaultAudience: FBSDKLoginKit.DefaultAudience = .friends) + public func logIn(permissions: [FBSDKCoreKit.Permission] = [.publicProfile], viewController: UIKit.UIViewController? = nil, completion: FBSDKLoginKit.LoginResultBlock? = nil) + public func logIn(viewController: UIKit.UIViewController? = nil, configuration: FBSDKLoginKit.LoginConfiguration, completion: @escaping FBSDKLoginKit.LoginResultBlock) +} +@objc(FBSDKLoginTracking) public enum LoginTracking : Swift.UInt { + case enabled + case limited + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } +} +extension FBSDKCoreKit.ServerConfigurationProvider : FBSDKLoginKit._ServerConfigurationProviding { +} +@objc(_FBSDKLoginEventLogging) public protocol _LoginEventLogging { + @objc var flushBehavior: FBSDKCoreKit.AppEvents.FlushBehavior { get } + @objc func logInternalEvent(_ eventName: FBSDKCoreKit.AppEvents.Name, parameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]?, isImplicitlyLogged: Swift.Bool) + @objc func flush() +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKLoginUtility) final public class _LoginUtility : ObjectiveC.NSObject { + @objc public static func string(forAudience audience: FBSDKLoginKit.DefaultAudience) -> Swift.String + @objc public static func queryParams(fromLoginURL url: Foundation.URL) -> [Swift.String : Any]? + @objc public static func userID(fromSignedRequest signedRequest: Swift.String?) -> Swift.String? + @objc override dynamic public init() + @objc deinit +} +@objc(_FBSDKServerConfigurationProviding) public protocol _ServerConfigurationProviding { + @objc(loadServerConfigurationWithCompletionBlock:) func loadServerConfiguration(completion: FBSDKCoreKit.LoginTooltipBlock?) +} +@objc(_FBSDKUserInterfaceElementProviding) public protocol _UserInterfaceElementProviding { + @objc func topMostViewController() -> UIKit.UIViewController? + @objc(viewControllerForView:) func viewController(for view: UIKit.UIView) -> UIKit.UIViewController? +} +@objc(_FBSDKUserInterfaceStringProviding) public protocol _UserInterfaceStringProviding { + @objc var bundleForStrings: Foundation.Bundle { get } +} +extension FBSDKLoginKit.FBLoginButton.TooltipBehavior : Swift.Equatable {} +extension FBSDKLoginKit.FBLoginButton.TooltipBehavior : Swift.Hashable {} +extension FBSDKLoginKit.FBLoginButton.TooltipBehavior : Swift.RawRepresentable {} +extension FBSDKLoginKit.LoginTracking : Swift.Equatable {} +extension FBSDKLoginKit.LoginTracking : Swift.Hashable {} +extension FBSDKLoginKit.LoginTracking : Swift.RawRepresentable {} diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftdoc new file mode 100644 index 0000000..e602141 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftinterface new file mode 100644 index 0000000..4118c43 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftinterface @@ -0,0 +1,138 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target x86_64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKLoginKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +@_exported import FBSDKLoginKit +import Foundation +import Swift +import UIKit +extension FBSDKCoreKit.AppEvents : FBSDKLoginKit._LoginEventLogging { +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKLoginButton) final public class FBLoginButton : FBSDKCoreKit.FBButton { + @objc final public var defaultAudience: FBSDKLoginKit.DefaultAudience { + @objc get + @objc set + } + @objc @IBOutlet weak final public var delegate: FBSDKLoginKit.LoginButtonDelegate? + @objc final public var permissions: [Swift.String] + @objc final public var tooltipBehavior: FBSDKLoginKit.FBLoginButton.TooltipBehavior + @objc final public var tooltipColorStyle: FBSDKLoginKit.FBTooltipView.ColorStyle + @objc final public var loginTracking: FBSDKLoginKit.LoginTracking + @objc final public var nonce: Swift.String? { + @objc get + @objc set + } + @objc final public var messengerPageId: Swift.String? + @objc final public var authType: FBSDKLoginKit.LoginAuthType? + @objc final public var codeVerifier: FBSDKLoginKit.CodeVerifier + @objc(FBSDKLoginButtonTooltipBehavior) public enum TooltipBehavior : Swift.UInt { + case automatic = 0 + case forceDisplay + case disable + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } + } + @objc override dynamic public init(frame: CoreGraphics.CGRect) + @objc override final public func didMoveToWindow() + @objc override final public func imageRect(forContentRect contentRect: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @objc override final public func titleRect(forContentRect contentRect: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @objc override final public func layoutSubviews() + @objc override final public func sizeThatFits(_ size: CoreGraphics.CGSize) -> CoreGraphics.CGSize + @objc deinit +} +@objcMembers @objc(FBSDKPermission) final public class FBPermission : ObjectiveC.NSObject { + @objc override final public var description: Swift.String { + @objc get + } + @objc override final public var hash: Swift.Int { + @objc get + } + @objc public init?(string: Swift.String) + @objc(permissionsFromRawPermissions:) public static func permissions(fromRawPermissions rawPermissions: Swift.Set) -> Swift.Set? + @objc(rawPermissionsFromPermissions:) public static func rawPermissions(from permissions: Swift.Set) -> Swift.Set + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc deinit +} +extension FBSDKCoreKit.InternalUtility : FBSDKLoginKit._UserInterfaceElementProviding { +} +extension FBSDKCoreKit.InternalUtility : FBSDKLoginKit._UserInterfaceStringProviding { +} +@objc(FBSDKLoginButtonDelegate) public protocol LoginButtonDelegate : ObjectiveC.NSObjectProtocol { + @objc(loginButton:didCompleteWithResult:error:) func loginButton(_ loginButton: FBSDKLoginKit.FBLoginButton, didCompleteWith result: FBSDKLoginKit.LoginManagerLoginResult?, error: Swift.Error?) + @objc func loginButtonDidLogOut(_ loginButton: FBSDKLoginKit.FBLoginButton) + @objc optional func loginButtonWillLogin(_ loginButton: FBSDKLoginKit.FBLoginButton) -> Swift.Bool +} +@objcMembers @objc(FBSDKLoginConfiguration) final public class LoginConfiguration : ObjectiveC.NSObject { + @objc final public let nonce: Swift.String + @objc final public let tracking: FBSDKLoginKit.LoginTracking + @objc final public let requestedPermissions: Swift.Set + @objc final public let messengerPageId: Swift.String? + @objc final public let authType: FBSDKLoginKit.LoginAuthType? + @objc final public let codeVerifier: FBSDKLoginKit.CodeVerifier + @objc(initWithPermissions:tracking:nonce:messengerPageId:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String, messengerPageId: Swift.String?) + @objc(initWithPermissions:tracking:nonce:messengerPageId:authType:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String, messengerPageId: Swift.String?, authType: FBSDKLoginKit.LoginAuthType?) + @objc(initWithPermissions:tracking:nonce:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String) + @objc(initWithPermissions:tracking:messengerPageId:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, messengerPageId: Swift.String?) + @objc(initWithPermissions:tracking:messengerPageId:authType:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, messengerPageId: Swift.String?, authType: FBSDKLoginKit.LoginAuthType?) + @objc(initWithPermissions:tracking:nonce:messengerPageId:authType:codeVerifier:) public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String, messengerPageId: Swift.String?, authType: FBSDKLoginKit.LoginAuthType?, codeVerifier: FBSDKLoginKit.CodeVerifier) + @objc(initWithPermissions:tracking:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking) + @objc(initWithTracking:) convenience public init?(tracking: FBSDKLoginKit.LoginTracking) + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release.") + @objc(authTypeForString:) public static func authType(for rawValue: Swift.String) -> FBSDKLoginKit.LoginAuthType? + convenience public init?(permissions: Swift.Set = [], tracking: FBSDKLoginKit.LoginTracking = .enabled, nonce: Swift.String = UUID().uuidString, messengerPageId: Swift.String? = nil, authType: FBSDKLoginKit.LoginAuthType? = .rerequest, codeVerifier: FBSDKLoginKit.CodeVerifier = CodeVerifier()) + @objc deinit +} +public typealias LoginResultBlock = (FBSDKLoginKit.LoginResult) -> Swift.Void +@frozen public enum LoginResult { + case success(granted: Swift.Set, declined: Swift.Set, token: FBSDKCoreKit.AccessToken?) + case cancelled + case failed(Swift.Error) +} +extension FBSDKLoginKit.LoginManager { + convenience public init(defaultAudience: FBSDKLoginKit.DefaultAudience = .friends) + public func logIn(permissions: [FBSDKCoreKit.Permission] = [.publicProfile], viewController: UIKit.UIViewController? = nil, completion: FBSDKLoginKit.LoginResultBlock? = nil) + public func logIn(viewController: UIKit.UIViewController? = nil, configuration: FBSDKLoginKit.LoginConfiguration, completion: @escaping FBSDKLoginKit.LoginResultBlock) +} +@objc(FBSDKLoginTracking) public enum LoginTracking : Swift.UInt { + case enabled + case limited + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } +} +extension FBSDKCoreKit.ServerConfigurationProvider : FBSDKLoginKit._ServerConfigurationProviding { +} +@objc(_FBSDKLoginEventLogging) public protocol _LoginEventLogging { + @objc var flushBehavior: FBSDKCoreKit.AppEvents.FlushBehavior { get } + @objc func logInternalEvent(_ eventName: FBSDKCoreKit.AppEvents.Name, parameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]?, isImplicitlyLogged: Swift.Bool) + @objc func flush() +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKLoginUtility) final public class _LoginUtility : ObjectiveC.NSObject { + @objc public static func string(forAudience audience: FBSDKLoginKit.DefaultAudience) -> Swift.String + @objc public static func queryParams(fromLoginURL url: Foundation.URL) -> [Swift.String : Any]? + @objc public static func userID(fromSignedRequest signedRequest: Swift.String?) -> Swift.String? + @objc override dynamic public init() + @objc deinit +} +@objc(_FBSDKServerConfigurationProviding) public protocol _ServerConfigurationProviding { + @objc(loadServerConfigurationWithCompletionBlock:) func loadServerConfiguration(completion: FBSDKCoreKit.LoginTooltipBlock?) +} +@objc(_FBSDKUserInterfaceElementProviding) public protocol _UserInterfaceElementProviding { + @objc func topMostViewController() -> UIKit.UIViewController? + @objc(viewControllerForView:) func viewController(for view: UIKit.UIView) -> UIKit.UIViewController? +} +@objc(_FBSDKUserInterfaceStringProviding) public protocol _UserInterfaceStringProviding { + @objc var bundleForStrings: Foundation.Bundle { get } +} +extension FBSDKLoginKit.FBLoginButton.TooltipBehavior : Swift.Equatable {} +extension FBSDKLoginKit.FBLoginButton.TooltipBehavior : Swift.Hashable {} +extension FBSDKLoginKit.FBLoginButton.TooltipBehavior : Swift.RawRepresentable {} +extension FBSDKLoginKit.LoginTracking : Swift.Equatable {} +extension FBSDKLoginKit.LoginTracking : Swift.Hashable {} +extension FBSDKLoginKit.LoginTracking : Swift.RawRepresentable {} diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Modules/module.modulemap b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Modules/module.modulemap new file mode 100644 index 0000000..de53eb2 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module FBSDKLoginKit { + umbrella header "FBSDKLoginKit.h" + + export * + module * { export * } +} + +module FBSDKLoginKit.Swift { + header "FBSDKLoginKit-Swift.h" + requires objc +} diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Resources/Info.plist b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Resources/Info.plist new file mode 100644 index 0000000..87a77b5 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKLoginKit.framework/Resources/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 21E258 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FBSDKLoginKit + CFBundleIdentifier + com.facebook.sdk.FBSDKLoginKit + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FBSDKLoginKit + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 13.2.0 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 13A233 + DTPlatformName + macosx + DTPlatformVersion + 11.3 + DTSDKBuild + 20E214 + DTSDKName + macosx11.3 + DTXcode + 1300 + DTXcodeBuild + 13A233 + LSMinimumSystemVersion + 10.15 + UIDeviceFamily + + 2 + + + diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/FBSDKLoginKit b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/FBSDKLoginKit new file mode 100644 index 0000000..947241a Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/FBSDKLoginKit differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKCodeVerifier.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKCodeVerifier.h new file mode 100644 index 0000000..67250d6 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKCodeVerifier.h @@ -0,0 +1,45 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + Represents a code verifier used in the PKCE (Proof Key for Code Exchange) + process. This is a cryptographically random string using the characters + A-Z, a-z, 0-9, and the punctuation characters -._~ (hyphen, period, + underscore, and tilde), between 43 and 128 characters long. + */ +NS_SWIFT_NAME(CodeVerifier) +@interface FBSDKCodeVerifier : NSObject + +/// The string value of the code verifier +@property (nonatomic, readonly, copy) NSString *value; + +/// The SHA256 hashed challenge of the code verifier +@property (nonatomic, readonly, copy) NSString *challenge; + +/** + Attempts to initialize a new code verifier instance with the given string. + Creation will fail and return nil if the string is invalid. + + @param string the code verifier string + */ +- (nullable instancetype)initWithString:(NSString *)string + NS_DESIGNATED_INITIALIZER; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKDefaultAudience.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKDefaultAudience.h new file mode 100644 index 0000000..e7c41d7 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKDefaultAudience.h @@ -0,0 +1,34 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +NS_ASSUME_NONNULL_BEGIN + +/** + FBSDKDefaultAudience enum + + Passed to openURL to indicate which default audience to use for sessions that post data to Facebook. + + 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, +} NS_SWIFT_NAME(DefaultAudience); + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginCodeInfo.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginCodeInfo.h new file mode 100644 index 0000000..fc08ff2 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginCodeInfo.h @@ -0,0 +1,41 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Describes the initial response when starting the device login flow. + This is used by `FBSDKDeviceLoginManager`. + */ +NS_SWIFT_NAME(DeviceLoginCodeInfo) +@interface FBSDKDeviceLoginCodeInfo : NSObject + +// There is no public initializer. +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/// The unique id for this login flow. +@property (nonatomic, readonly, copy) NSString *identifier; + +/// The short "user_code" that should be presented to the user. +@property (nonatomic, readonly, copy) NSString *loginCode; + +/// The verification URL. +@property (nonatomic, readonly, copy) NSURL *verificationURL; + +/// The expiration date. +@property (nonatomic, readonly, copy) NSDate *expirationDate; + +/// The polling interval +@property (nonatomic, readonly, assign) NSUInteger pollingInterval; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManager.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManager.h new file mode 100644 index 0000000..89def80 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManager.h @@ -0,0 +1,63 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol FBSDKDeviceLoginManagerDelegate; + +/** + Use this class to perform a device login flow. + The device login flow starts by requesting a code from the device login API. + This class informs the delegate when this code is received. You should then present the + code to the user to enter. In the meantime, this class polls the device login API + periodically and informs the delegate of the results. + + See [Facebook Device Login](https://developers.facebook.com/docs/facebook-login/for-devices). + */ +NS_SWIFT_NAME(DeviceLoginManager) +@interface FBSDKDeviceLoginManager : NSObject + +/** + Initializes a new instance. + @param permissions permissions to request. + */ +- (instancetype)initWithPermissions:(NSArray *)permissions + enableSmartLogin:(BOOL)enableSmartLogin; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/// The delegate. +@property (nonatomic, weak) id delegate; + +/// The requested permissions. +@property (nonatomic, readonly, copy) NSArray *permissions; + +/** + The optional URL to redirect the user to after they complete the login. + The URL must be configured in your App Settings -> Advanced -> OAuth Redirect URIs + */ +@property (nullable, nonatomic, copy) NSURL *redirectURL; + +/** + Starts the device login flow + This instance will retain self until the flow is finished or cancelled. + */ +- (void)start; + +/// Attempts to cancel the device login flow. +- (void)cancel; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerDelegate.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerDelegate.h new file mode 100644 index 0000000..cdcf804 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerDelegate.h @@ -0,0 +1,43 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +@class FBSDKDeviceLoginCodeInfo; +@class FBSDKDeviceLoginManager; +@class FBSDKDeviceLoginManagerResult; + +NS_ASSUME_NONNULL_BEGIN + +/// A delegate for `FBSDKDeviceLoginManager`. +NS_SWIFT_NAME(DeviceLoginManagerDelegate) +@protocol FBSDKDeviceLoginManagerDelegate + +/** + Indicates the device login flow has started. You should parse `codeInfo` to present the code to the user to enter. + @param loginManager the login manager instance. + @param codeInfo the code info data. + */ + +- (void)deviceLoginManager:(FBSDKDeviceLoginManager *)loginManager + startedWithCodeInfo:(FBSDKDeviceLoginCodeInfo *)codeInfo; + +/** + Indicates the device login flow has finished. + @param loginManager the login manager instance. + @param result the results of the login flow. + @param error the error, if available. + The flow can be finished if the user completed the flow, cancelled, or if the code has expired. + */ +- (void)deviceLoginManager:(FBSDKDeviceLoginManager *)loginManager + completedWithResult:(nullable FBSDKDeviceLoginManagerResult *)result + error:(nullable NSError *)error; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerResult.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerResult.h new file mode 100644 index 0000000..93266b9 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerResult.h @@ -0,0 +1,37 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +@class FBSDKAccessToken; + +NS_ASSUME_NONNULL_BEGIN + +/** + Represents the results of the a device login flow. + This is used by `FBSDKDeviceLoginManager`. + */ +NS_SWIFT_NAME(DeviceLoginManagerResult) +@interface FBSDKDeviceLoginManagerResult : NSObject + +// There is no public initializer. +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/// The token. +@property (nullable, nonatomic, readonly, strong) FBSDKAccessToken *accessToken; + +/** + Indicates if the login was cancelled by the user, or if the device + login code has expired. + */ +@property (nonatomic, readonly, getter = isCancelled, assign) BOOL cancelled; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginAuthType.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginAuthType.h new file mode 100644 index 0000000..360c320 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginAuthType.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + +/// typedef for FBSDKLoginAuthType +/// See: https://developers.facebook.com/docs/reference/javascript/FB.login/v10.0#options +typedef NSString *const FBSDKLoginAuthType NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(LoginAuthType); + +/// Rerequest +FOUNDATION_EXPORT FBSDKLoginAuthType FBSDKLoginAuthTypeRerequest; + +/// Reauthorize +FOUNDATION_EXPORT FBSDKLoginAuthType FBSDKLoginAuthTypeReauthorize; + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h new file mode 100644 index 0000000..aa55443 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h @@ -0,0 +1,86 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + The error domain for all errors from FBSDKLoginKit + + Error codes from the SDK in the range 300-399 are reserved for this domain. + */ +FOUNDATION_EXPORT NSErrorDomain const FBSDKLoginErrorDomain +NS_SWIFT_NAME(LoginErrorDomain); + +#ifndef NS_ERROR_ENUM + #define NS_ERROR_ENUM(_domain, _name) \ + enum _name : NSInteger _name; \ + enum __attribute__((ns_error_domain(_domain))) _name: NSInteger +#endif + +/** + FBSDKLoginError + Error codes for FBSDKLoginErrorDomain. + */ +typedef NS_ERROR_ENUM (FBSDKLoginErrorDomain, FBSDKLoginError) +{ + /// Reserved. + FBSDKLoginErrorReserved = 300, + + /// The error code for unknown errors. + FBSDKLoginErrorUnknown, + + /// The user's password has changed and must log in again + FBSDKLoginErrorPasswordChanged, + + /// The user must log in to their account on www.facebook.com to restore access + FBSDKLoginErrorUserCheckpointed, + + /// Indicates a failure to request new permissions because the user has changed. + FBSDKLoginErrorUserMismatch, + + /// The user must confirm their account with Facebook before logging in + FBSDKLoginErrorUnconfirmedUser, + + /** + The Accounts framework failed without returning an error, indicating the + app's slider in the iOS Facebook Settings (device Settings -> Facebook -> App Name) has + been disabled. + */ + FBSDKLoginErrorSystemAccountAppDisabled, + + /// An error occurred related to Facebook system Account store + FBSDKLoginErrorSystemAccountUnavailable, + + /// The login response was missing a valid challenge string. + FBSDKLoginErrorBadChallengeString, + + /// The ID token returned in login response was invalid + FBSDKLoginErrorInvalidIDToken, + + /// A current access token was required and not provided + FBSDKLoginErrorMissingAccessToken, +} NS_SWIFT_NAME(LoginError); + +/** + FBSDKDeviceLoginError + Error codes for FBSDKDeviceLoginErrorDomain. + */ +typedef NS_ERROR_ENUM (FBSDKLoginErrorDomain, FBSDKDeviceLoginError) { + /// Your device is polling too frequently. + FBSDKDeviceLoginErrorExcessivePolling = 1349172, + /// User has declined to authorize your application. + FBSDKDeviceLoginErrorAuthorizationDeclined = 1349173, + /// User has not yet authorized your application. Continue polling. + FBSDKDeviceLoginErrorAuthorizationPending = 1349174, + /// The code you entered has expired. + FBSDKDeviceLoginErrorCodeExpired = 1349152 +} NS_SWIFT_NAME(DeviceLoginError); + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginKit-Swift.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginKit-Swift.h new file mode 100644 index 0000000..f2f67b0 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginKit-Swift.h @@ -0,0 +1,978 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +#ifndef FBSDKLOGINKIT_SWIFT_H +#define FBSDKLOGINKIT_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import CoreGraphics; +@import FBSDKCoreKit; +@import Foundation; +@import ObjectiveC; +#endif + +#import + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKLoginKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +@class NSNumber; + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_PROTOCOL_NAMED("_LoginEventLogging") +@protocol _FBSDKLoginEventLogging +@property (nonatomic, readonly) FBSDKAppEventsFlushBehavior flushBehavior; +- (void)logInternalEvent:(FBSDKAppEventName _Nonnull)eventName parameters:(NSDictionary * _Nullable)parameters isImplicitlyLogged:(BOOL)isImplicitlyLogged; +- (void)flush; +@end + + +@interface FBSDKAppEvents (SWIFT_EXTENSION(FBSDKLoginKit)) <_FBSDKLoginEventLogging> +@end + +@protocol FBSDKLoginButtonDelegate; +@class NSString; +enum FBSDKLoginButtonTooltipBehavior : NSUInteger; +enum FBSDKLoginTracking : NSUInteger; +@class FBSDKCodeVerifier; +@class NSCoder; + +/// A button that initiates a log in or log out flow upon tapping. +/// LoginButton works with AccessToken.current to determine what to display, +/// and automatically starts authentication when tapped (i.e., you do not need to manually subscribe action targets). +/// Like LoginManager, you should make sure your app delegate is connected to ApplicationDelegate +/// in order for the button’s delegate to receive messages. +/// LoginButton has a fixed height of 30 pixels, but you may change the width. +/// Initializing the button with nil frame will size the button to its minimum frame. +SWIFT_CLASS_NAMED("FBLoginButton") +@interface FBSDKLoginButton : FBSDKButton +/// The default audience to use, if publish permissions are requested at login time. +@property (nonatomic) FBSDKDefaultAudience defaultAudience; +/// Gets or sets the delegate. +@property (nonatomic, weak) IBOutlet id _Nullable delegate; +/// The permissions to request. +/// To provide the best experience, you should minimize the number of permissions you request, and only ask for them when needed. +/// For example, do not ask for “user_location” until you the information is actually used by the app. +/// Note this is converted to NSSet and is only +/// an NSArray for the convenience of literal syntax. +/// See the permissions guide for more details. +@property (nonatomic, copy) NSArray * _Nonnull permissions; +/// Gets or sets the desired tooltip behavior. +@property (nonatomic) enum FBSDKLoginButtonTooltipBehavior tooltipBehavior; +/// Gets or sets the desired tooltip color style. +@property (nonatomic) FBSDKTooltipColorStyle tooltipColorStyle; +/// Gets or sets the desired tracking preference to use for login attempts. Defaults to .enabled +@property (nonatomic) enum FBSDKLoginTracking loginTracking; +/// Gets or sets an optional nonce to use for login attempts. A valid nonce must be a non-empty string without whitespace. +/// An invalid nonce will not be set. Instead, default unique nonces will be used for login attempts. +@property (nonatomic, copy) NSString * _Nullable nonce; +/// Gets or sets an optional page id to use for login attempts. +@property (nonatomic, copy) NSString * _Nullable messengerPageId; +/// Gets or sets the auth_type to use in the login request. Defaults to rerequest. +@property (nonatomic) FBSDKLoginAuthType _Nullable authType; +/// The code verifier used in the PKCE process. +/// If not provided, a code verifier will be randomly generated. +@property (nonatomic, strong) FBSDKCodeVerifier * _Nonnull codeVerifier; +- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; +- (void)didMoveToWindow; +- (CGRect)imageRectForContentRect:(CGRect)contentRect SWIFT_WARN_UNUSED_RESULT; +- (CGRect)titleRectForContentRect:(CGRect)contentRect SWIFT_WARN_UNUSED_RESULT; +- (void)layoutSubviews; +- (CGSize)sizeThatFits:(CGSize)size SWIFT_WARN_UNUSED_RESULT; +@end + +/// Indicates the desired login tooltip behavior. +typedef SWIFT_ENUM_NAMED(NSUInteger, FBSDKLoginButtonTooltipBehavior, "TooltipBehavior", open) { +/// 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, +}; + + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +///
    +///
  • +/// Warning INTERNAL: DO NOT USE +///
  • +///
+SWIFT_CLASS_NAMED("FBPermission") +@interface FBSDKPermission : NSObject +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +@property (nonatomic, readonly) NSUInteger hash; +/// Attempts to initialize a new permission with the given string. +/// Creation will fail and return nil if the string is invalid. +/// \param string The raw permission string +/// +- (nullable instancetype)initWithString:(NSString * _Nonnull)string OBJC_DESIGNATED_INITIALIZER; +/// Returns a set of FBPermission from a set of raw permissions strings. +/// Will return nil if any of the input permissions is invalid. ++ (NSSet * _Nullable)permissionsFromRawPermissions:(NSSet * _Nonnull)rawPermissions SWIFT_WARN_UNUSED_RESULT; +/// Returns a set of string permissions from a set of FBPermission by +/// extracting the “value” property for each element. ++ (NSSet * _Nonnull)rawPermissionsFromPermissions:(NSSet * _Nonnull)permissions SWIFT_WARN_UNUSED_RESULT; +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +@class UIViewController; +@class UIView; + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_PROTOCOL_NAMED("_UserInterfaceElementProviding") +@protocol _FBSDKUserInterfaceElementProviding +- (UIViewController * _Nullable)topMostViewController SWIFT_WARN_UNUSED_RESULT; +- (UIViewController * _Nullable)viewControllerForView:(UIView * _Nonnull)view SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKInternalUtility (SWIFT_EXTENSION(FBSDKLoginKit)) <_FBSDKUserInterfaceElementProviding> +@end + +@class NSBundle; + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_PROTOCOL_NAMED("_UserInterfaceStringProviding") +@protocol _FBSDKUserInterfaceStringProviding +@property (nonatomic, readonly, strong) NSBundle * _Nonnull bundleForStrings; +@end + + +@interface FBSDKInternalUtility (SWIFT_EXTENSION(FBSDKLoginKit)) <_FBSDKUserInterfaceStringProviding> +@end + +@class FBSDKLoginManagerLoginResult; + +/// A delegate for FBSDKLoginButton +SWIFT_PROTOCOL_NAMED("LoginButtonDelegate") +@protocol FBSDKLoginButtonDelegate +/// Sent to the delegate when the button was used to login. +/// @param loginButton The button being used to log in +/// @param result The results of the login +/// @param error The error (if any) from the login +- (void)loginButton:(FBSDKLoginButton * _Nonnull)loginButton didCompleteWithResult:(FBSDKLoginManagerLoginResult * _Nullable)result error:(NSError * _Nullable)error; +/// Sent to the delegate when the button was used to logout. +/// @param loginButton The button being used to log out. +- (void)loginButtonDidLogOut:(FBSDKLoginButton * _Nonnull)loginButton; +@optional +/// Sent to the delegate when the button is about to login. +/// @param loginButton The button being used to log in +/// @return true if the login should be allowed to proceed, false otherwise +- (BOOL)loginButtonWillLogin:(FBSDKLoginButton * _Nonnull)loginButton SWIFT_WARN_UNUSED_RESULT; +@end + + +/// A configuration to use for modifying the behavior of a login attempt. +SWIFT_CLASS_NAMED("LoginConfiguration") +@interface FBSDKLoginConfiguration : NSObject +/// The nonce that the configuration was created with. +/// A unique nonce will be used if none is provided to the initializer. +@property (nonatomic, readonly, copy) NSString * _Nonnull nonce; +/// The tracking preference. Defaults to .enabled. +@property (nonatomic, readonly) enum FBSDKLoginTracking tracking; +/// The requested permissions for the login attempt. Defaults to an empty set. +@property (nonatomic, readonly, copy) NSSet * _Nonnull requestedPermissions; +/// The Messenger Page Id associated with this login request. +@property (nonatomic, readonly, copy) NSString * _Nullable messengerPageId; +/// The auth type associated with this login request. +@property (nonatomic, readonly) FBSDKLoginAuthType _Nullable authType; +/// The code verifier used in the PKCE process. +/// If not provided, a code verifier will be randomly generated. +@property (nonatomic, readonly, strong) FBSDKCodeVerifier * _Nonnull codeVerifier; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for a login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +/// @param nonce an optional nonce to use for the login attempt. A valid nonce must be a non-empty string without whitespace. +/// Creation of the configuration will fail if the nonce is invalid. +/// @param messengerPageId the associated page id to use for a login attempt. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking nonce:(NSString * _Nonnull)nonce messengerPageId:(NSString * _Nullable)messengerPageId; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for a login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +/// @param nonce an optional nonce to use for the login attempt. A valid nonce must be a non-empty string without whitespace. +/// Creation of the configuration will fail if the nonce is invalid. +/// @param messengerPageId the associated page id to use for a login attempt. +/// @param authType auth_type param to use for login. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking nonce:(NSString * _Nonnull)nonce messengerPageId:(NSString * _Nullable)messengerPageId authType:(FBSDKLoginAuthType _Nullable)authType; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for a login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +/// @param nonce an optional nonce to use for the login attempt. A valid nonce must be a non-empty string without whitespace. +/// Creation of the configuration will fail if the nonce is invalid. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking nonce:(NSString * _Nonnull)nonce; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for the login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +/// @param messengerPageId the associated page id to use for a login attempt. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking messengerPageId:(NSString * _Nullable)messengerPageId; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for the login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +/// @param messengerPageId the associated page id to use for a login attempt. +/// @param authType auth_type param to use for login. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking messengerPageId:(NSString * _Nullable)messengerPageId authType:(FBSDKLoginAuthType _Nullable)authType; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for a login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +/// @param nonce an optional nonce to use for the login attempt. A valid nonce must be a non-empty string without whitespace. +/// Creation of the configuration will fail if the nonce is invalid. +/// @param messengerPageId the associated page id to use for a login attempt. +/// @param authType auth_type param to use for login. +/// @param codeVerifier The code verifier used in the PKCE process. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking nonce:(NSString * _Nonnull)nonce messengerPageId:(NSString * _Nullable)messengerPageId authType:(FBSDKLoginAuthType _Nullable)authType codeVerifier:(FBSDKCodeVerifier * _Nonnull)codeVerifier OBJC_DESIGNATED_INITIALIZER; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for the login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param tracking the login tracking preference to use for a login attempt. +- (nullable instancetype)initWithTracking:(enum FBSDKLoginTracking)tracking; +/// Given a string, return the corresponding FBSDKLoginAuthType. Returns nil if the string cannot be mapped to a valid auth type +/// @param rawValue the raw auth type. ++ (FBSDKLoginAuthType _Nullable)authTypeForString:(NSString * _Nonnull)rawValue SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("This method is deprecated and will be removed in the next major release."); +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// enabled and limited see: https://developers.facebook.com/docs/facebook-login/ios/limited-login/ +typedef SWIFT_ENUM_NAMED(NSUInteger, FBSDKLoginTracking, "LoginTracking", open) { + FBSDKLoginTrackingEnabled = 0, + FBSDKLoginTrackingLimited = 1, +}; + + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_PROTOCOL_NAMED("_ServerConfigurationProviding") +@protocol _FBSDKServerConfigurationProviding +- (void)loadServerConfigurationWithCompletionBlock:(FBSDKLoginTooltipBlock _Nullable)completion; +@end + + +@interface FBSDKServerConfigurationProvider (SWIFT_EXTENSION(FBSDKLoginKit)) <_FBSDKServerConfigurationProviding> +@end + + +@class NSURL; + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_CLASS_NAMED("_LoginUtility") +@interface FBSDKLoginUtility : NSObject ++ (NSString * _Nonnull)stringForAudience:(FBSDKDefaultAudience)audience SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nullable)queryParamsFromLoginURL:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)userIDFromSignedRequest:(NSString * _Nullable)signedRequest SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +#ifndef FBSDKLOGINKIT_SWIFT_H +#define FBSDKLOGINKIT_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import CoreGraphics; +@import FBSDKCoreKit; +@import Foundation; +@import ObjectiveC; +#endif + +#import + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKLoginKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +@class NSNumber; + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_PROTOCOL_NAMED("_LoginEventLogging") +@protocol _FBSDKLoginEventLogging +@property (nonatomic, readonly) FBSDKAppEventsFlushBehavior flushBehavior; +- (void)logInternalEvent:(FBSDKAppEventName _Nonnull)eventName parameters:(NSDictionary * _Nullable)parameters isImplicitlyLogged:(BOOL)isImplicitlyLogged; +- (void)flush; +@end + + +@interface FBSDKAppEvents (SWIFT_EXTENSION(FBSDKLoginKit)) <_FBSDKLoginEventLogging> +@end + +@protocol FBSDKLoginButtonDelegate; +@class NSString; +enum FBSDKLoginButtonTooltipBehavior : NSUInteger; +enum FBSDKLoginTracking : NSUInteger; +@class FBSDKCodeVerifier; +@class NSCoder; + +/// A button that initiates a log in or log out flow upon tapping. +/// LoginButton works with AccessToken.current to determine what to display, +/// and automatically starts authentication when tapped (i.e., you do not need to manually subscribe action targets). +/// Like LoginManager, you should make sure your app delegate is connected to ApplicationDelegate +/// in order for the button’s delegate to receive messages. +/// LoginButton has a fixed height of 30 pixels, but you may change the width. +/// Initializing the button with nil frame will size the button to its minimum frame. +SWIFT_CLASS_NAMED("FBLoginButton") +@interface FBSDKLoginButton : FBSDKButton +/// The default audience to use, if publish permissions are requested at login time. +@property (nonatomic) FBSDKDefaultAudience defaultAudience; +/// Gets or sets the delegate. +@property (nonatomic, weak) IBOutlet id _Nullable delegate; +/// The permissions to request. +/// To provide the best experience, you should minimize the number of permissions you request, and only ask for them when needed. +/// For example, do not ask for “user_location” until you the information is actually used by the app. +/// Note this is converted to NSSet and is only +/// an NSArray for the convenience of literal syntax. +/// See the permissions guide for more details. +@property (nonatomic, copy) NSArray * _Nonnull permissions; +/// Gets or sets the desired tooltip behavior. +@property (nonatomic) enum FBSDKLoginButtonTooltipBehavior tooltipBehavior; +/// Gets or sets the desired tooltip color style. +@property (nonatomic) FBSDKTooltipColorStyle tooltipColorStyle; +/// Gets or sets the desired tracking preference to use for login attempts. Defaults to .enabled +@property (nonatomic) enum FBSDKLoginTracking loginTracking; +/// Gets or sets an optional nonce to use for login attempts. A valid nonce must be a non-empty string without whitespace. +/// An invalid nonce will not be set. Instead, default unique nonces will be used for login attempts. +@property (nonatomic, copy) NSString * _Nullable nonce; +/// Gets or sets an optional page id to use for login attempts. +@property (nonatomic, copy) NSString * _Nullable messengerPageId; +/// Gets or sets the auth_type to use in the login request. Defaults to rerequest. +@property (nonatomic) FBSDKLoginAuthType _Nullable authType; +/// The code verifier used in the PKCE process. +/// If not provided, a code verifier will be randomly generated. +@property (nonatomic, strong) FBSDKCodeVerifier * _Nonnull codeVerifier; +- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; +- (void)didMoveToWindow; +- (CGRect)imageRectForContentRect:(CGRect)contentRect SWIFT_WARN_UNUSED_RESULT; +- (CGRect)titleRectForContentRect:(CGRect)contentRect SWIFT_WARN_UNUSED_RESULT; +- (void)layoutSubviews; +- (CGSize)sizeThatFits:(CGSize)size SWIFT_WARN_UNUSED_RESULT; +@end + +/// Indicates the desired login tooltip behavior. +typedef SWIFT_ENUM_NAMED(NSUInteger, FBSDKLoginButtonTooltipBehavior, "TooltipBehavior", open) { +/// 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, +}; + + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +///
    +///
  • +/// Warning INTERNAL: DO NOT USE +///
  • +///
+SWIFT_CLASS_NAMED("FBPermission") +@interface FBSDKPermission : NSObject +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +@property (nonatomic, readonly) NSUInteger hash; +/// Attempts to initialize a new permission with the given string. +/// Creation will fail and return nil if the string is invalid. +/// \param string The raw permission string +/// +- (nullable instancetype)initWithString:(NSString * _Nonnull)string OBJC_DESIGNATED_INITIALIZER; +/// Returns a set of FBPermission from a set of raw permissions strings. +/// Will return nil if any of the input permissions is invalid. ++ (NSSet * _Nullable)permissionsFromRawPermissions:(NSSet * _Nonnull)rawPermissions SWIFT_WARN_UNUSED_RESULT; +/// Returns a set of string permissions from a set of FBPermission by +/// extracting the “value” property for each element. ++ (NSSet * _Nonnull)rawPermissionsFromPermissions:(NSSet * _Nonnull)permissions SWIFT_WARN_UNUSED_RESULT; +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +@class UIViewController; +@class UIView; + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_PROTOCOL_NAMED("_UserInterfaceElementProviding") +@protocol _FBSDKUserInterfaceElementProviding +- (UIViewController * _Nullable)topMostViewController SWIFT_WARN_UNUSED_RESULT; +- (UIViewController * _Nullable)viewControllerForView:(UIView * _Nonnull)view SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKInternalUtility (SWIFT_EXTENSION(FBSDKLoginKit)) <_FBSDKUserInterfaceElementProviding> +@end + +@class NSBundle; + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_PROTOCOL_NAMED("_UserInterfaceStringProviding") +@protocol _FBSDKUserInterfaceStringProviding +@property (nonatomic, readonly, strong) NSBundle * _Nonnull bundleForStrings; +@end + + +@interface FBSDKInternalUtility (SWIFT_EXTENSION(FBSDKLoginKit)) <_FBSDKUserInterfaceStringProviding> +@end + +@class FBSDKLoginManagerLoginResult; + +/// A delegate for FBSDKLoginButton +SWIFT_PROTOCOL_NAMED("LoginButtonDelegate") +@protocol FBSDKLoginButtonDelegate +/// Sent to the delegate when the button was used to login. +/// @param loginButton The button being used to log in +/// @param result The results of the login +/// @param error The error (if any) from the login +- (void)loginButton:(FBSDKLoginButton * _Nonnull)loginButton didCompleteWithResult:(FBSDKLoginManagerLoginResult * _Nullable)result error:(NSError * _Nullable)error; +/// Sent to the delegate when the button was used to logout. +/// @param loginButton The button being used to log out. +- (void)loginButtonDidLogOut:(FBSDKLoginButton * _Nonnull)loginButton; +@optional +/// Sent to the delegate when the button is about to login. +/// @param loginButton The button being used to log in +/// @return true if the login should be allowed to proceed, false otherwise +- (BOOL)loginButtonWillLogin:(FBSDKLoginButton * _Nonnull)loginButton SWIFT_WARN_UNUSED_RESULT; +@end + + +/// A configuration to use for modifying the behavior of a login attempt. +SWIFT_CLASS_NAMED("LoginConfiguration") +@interface FBSDKLoginConfiguration : NSObject +/// The nonce that the configuration was created with. +/// A unique nonce will be used if none is provided to the initializer. +@property (nonatomic, readonly, copy) NSString * _Nonnull nonce; +/// The tracking preference. Defaults to .enabled. +@property (nonatomic, readonly) enum FBSDKLoginTracking tracking; +/// The requested permissions for the login attempt. Defaults to an empty set. +@property (nonatomic, readonly, copy) NSSet * _Nonnull requestedPermissions; +/// The Messenger Page Id associated with this login request. +@property (nonatomic, readonly, copy) NSString * _Nullable messengerPageId; +/// The auth type associated with this login request. +@property (nonatomic, readonly) FBSDKLoginAuthType _Nullable authType; +/// The code verifier used in the PKCE process. +/// If not provided, a code verifier will be randomly generated. +@property (nonatomic, readonly, strong) FBSDKCodeVerifier * _Nonnull codeVerifier; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for a login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +/// @param nonce an optional nonce to use for the login attempt. A valid nonce must be a non-empty string without whitespace. +/// Creation of the configuration will fail if the nonce is invalid. +/// @param messengerPageId the associated page id to use for a login attempt. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking nonce:(NSString * _Nonnull)nonce messengerPageId:(NSString * _Nullable)messengerPageId; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for a login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +/// @param nonce an optional nonce to use for the login attempt. A valid nonce must be a non-empty string without whitespace. +/// Creation of the configuration will fail if the nonce is invalid. +/// @param messengerPageId the associated page id to use for a login attempt. +/// @param authType auth_type param to use for login. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking nonce:(NSString * _Nonnull)nonce messengerPageId:(NSString * _Nullable)messengerPageId authType:(FBSDKLoginAuthType _Nullable)authType; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for a login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +/// @param nonce an optional nonce to use for the login attempt. A valid nonce must be a non-empty string without whitespace. +/// Creation of the configuration will fail if the nonce is invalid. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking nonce:(NSString * _Nonnull)nonce; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for the login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +/// @param messengerPageId the associated page id to use for a login attempt. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking messengerPageId:(NSString * _Nullable)messengerPageId; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for the login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +/// @param messengerPageId the associated page id to use for a login attempt. +/// @param authType auth_type param to use for login. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking messengerPageId:(NSString * _Nullable)messengerPageId authType:(FBSDKLoginAuthType _Nullable)authType; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for a login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +/// @param nonce an optional nonce to use for the login attempt. A valid nonce must be a non-empty string without whitespace. +/// Creation of the configuration will fail if the nonce is invalid. +/// @param messengerPageId the associated page id to use for a login attempt. +/// @param authType auth_type param to use for login. +/// @param codeVerifier The code verifier used in the PKCE process. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking nonce:(NSString * _Nonnull)nonce messengerPageId:(NSString * _Nullable)messengerPageId authType:(FBSDKLoginAuthType _Nullable)authType codeVerifier:(FBSDKCodeVerifier * _Nonnull)codeVerifier OBJC_DESIGNATED_INITIALIZER; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param permissions the requested permissions for the login attempt. Permissions must be an array of strings that do not contain whitespace. +/// @param tracking the tracking preference to use for a login attempt. +- (nullable instancetype)initWithPermissions:(NSArray * _Nonnull)permissions tracking:(enum FBSDKLoginTracking)tracking; +/// Attempts to initialize a new configuration with the expected parameters. +/// @param tracking the login tracking preference to use for a login attempt. +- (nullable instancetype)initWithTracking:(enum FBSDKLoginTracking)tracking; +/// Given a string, return the corresponding FBSDKLoginAuthType. Returns nil if the string cannot be mapped to a valid auth type +/// @param rawValue the raw auth type. ++ (FBSDKLoginAuthType _Nullable)authTypeForString:(NSString * _Nonnull)rawValue SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("This method is deprecated and will be removed in the next major release."); +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// enabled and limited see: https://developers.facebook.com/docs/facebook-login/ios/limited-login/ +typedef SWIFT_ENUM_NAMED(NSUInteger, FBSDKLoginTracking, "LoginTracking", open) { + FBSDKLoginTrackingEnabled = 0, + FBSDKLoginTrackingLimited = 1, +}; + + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_PROTOCOL_NAMED("_ServerConfigurationProviding") +@protocol _FBSDKServerConfigurationProviding +- (void)loadServerConfigurationWithCompletionBlock:(FBSDKLoginTooltipBlock _Nullable)completion; +@end + + +@interface FBSDKServerConfigurationProvider (SWIFT_EXTENSION(FBSDKLoginKit)) <_FBSDKServerConfigurationProviding> +@end + + +@class NSURL; + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_CLASS_NAMED("_LoginUtility") +@interface FBSDKLoginUtility : NSObject ++ (NSString * _Nonnull)stringForAudience:(FBSDKDefaultAudience)audience SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nullable)queryParamsFromLoginURL:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)userIDFromSignedRequest:(NSString * _Nullable)signedRequest SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h new file mode 100644 index 0000000..a451819 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h @@ -0,0 +1,25 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import + +#import diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h new file mode 100644 index 0000000..20e2969 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h @@ -0,0 +1,131 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +#if !TARGET_OS_TV + +@class FBSDKLoginConfiguration; + +/** + `FBSDKLoginManager` provides methods for logging the user in and out. + + `FBSDKLoginManager` serves to help manage sessions represented by tokens for authentication, + `AuthenticationToken`, and data access, `AccessToken`. + + You should check if the type of token you expect is present as a singleton instance, either `AccessToken.current` + or `AuthenticationToken.current` before calling any of the login methods to see if there is a cached token + available. A standard place to do this is in `viewDidLoad`. + + @warning If you are managing your own token instances outside of `AccessToken.current`, you will need to set + `AccessToken.current` before calling any of the login methods to authorize further permissions on your tokens. + */ +NS_SWIFT_NAME(LoginManager) +@interface FBSDKLoginManager : NSObject + +/** + the default audience. + + you should set this if you intend to ask for publish permissions. + */ +@property (nonatomic, assign) FBSDKDefaultAudience defaultAudience; + +/** + 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. + + 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 `FBSDKLoginManagerLoginResultBlock`'s + `result.declinedPermissions` to provide more information to the user if they decline permissions. + You typically should check if `AccessToken.current` already contains the permissions you need before + asking to reduce unnecessary login attempts. For example, you could perform that check in `viewDidLoad`. + + @warning You can only perform one login call at a time. Calling a login method before the completion handler is called + on a previous login attempt will result in an error. + @warning This method will present a UI to the user and thus should be called on the main thread. + */ + +// UNCRUSTIFY_FORMAT_OFF +- (void)logInWithPermissions:(NSArray *)permissions + fromViewController:(nullable UIViewController *)fromViewController + handler:(nullable FBSDKLoginManagerLoginResultBlock)handler +NS_SWIFT_NAME(logIn(permissions:from:handler:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Logs the user in or authorizes additional permissions. + + @param viewController the view controller from which to present the login UI. If nil, the topmost view + controller will be automatically determined and used. + @param configuration the login configuration to use. + @param completion the login completion handler. + + Use this method when asking for permissions. You should only ask for permissions when they + are needed and the value should be explained to the user. You can inspect the + `FBSDKLoginManagerLoginResultBlock`'s `result.declinedPermissions` to provide more information + to the user if they decline permissions. + To reduce unnecessary login attempts, you should typically check if `AccessToken.current` + already contains the permissions you need. If it does, you probably do not need to call this method. + + @warning You can only perform one login call at a time. Calling a login method before the completion handler is called + on a previous login attempt will result in an error. + @warning This method will present a UI to the user and thus should be called on the main thread. + */ +- (void)logInFromViewController:(nullable UIViewController *)viewController + configuration:(FBSDKLoginConfiguration *)configuration + completion:(FBSDKLoginManagerLoginResultBlock)completion + NS_REFINED_FOR_SWIFT; + +/** + Requests user's permission to reathorize application's data access, after it has expired due to inactivity. + @param fromViewController the view controller from which to present the login UI. If nil, the topmost view + controller will be automatically determined and used. + @param handler the callback. + +Use this method when you need to reathorize your app's access to user data via the Graph API. +You should only call this after access has expired. +You should provide as much context to the user as possible as to why you need to reauthorize the access, the +scope of access being reathorized, and what added value your app provides when the access is reathorized. +You can inspect the `result.declinedPermissions` to determine if you should provide more information to the +user based on any declined permissions. + + @warning This method will reauthorize using a `LoginConfiguration` with `FBSDKLoginTracking` set to `.enabled`. + @warning This method will present UI the user. You typically should call this if `AccessToken.isDataAccessExpired` is true. + */ + +// UNCRUSTIFY_FORMAT_OFF +- (void)reauthorizeDataAccess:(UIViewController *)fromViewController + handler:(FBSDKLoginManagerLoginResultBlock)handler +NS_SWIFT_NAME(reauthorizeDataAccess(from:handler:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Logs the user out + + This nils out the singleton instances of `AccessToken` `AuthenticationToken` and `Profle`. + + @note This is only a client side logout. It will not log the user out of their Facebook account. + */ +- (void)logOut; + +@end + +#endif + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h new file mode 100644 index 0000000..21df36e --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h @@ -0,0 +1,66 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +#if !TARGET_OS_TV + +@class FBSDKAccessToken; +@class FBSDKAuthenticationToken; + +/// Describes the result of a login attempt. +NS_SWIFT_NAME(LoginManagerLoginResult) +@interface FBSDKLoginManagerLoginResult : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/// the access token. +@property (nullable, nonatomic, copy) FBSDKAccessToken *token; + +/// the authentication token. +@property (nullable, nonatomic, copy) FBSDKAuthenticationToken *authenticationToken; + +/// whether the login was cancelled by the user. +@property (nonatomic, readonly) BOOL isCancelled; + +/** + the set of permissions granted by the user in the associated request. + + inspect the token's permissions set for a complete list. + */ +@property (nonatomic, copy) NSSet *grantedPermissions; + +/** + the set of permissions declined by the user in the associated request. + + inspect the token's permissions set for a complete list. + */ +@property (nonatomic, copy) NSSet *declinedPermissions; + +/** + Initializes a new instance. + @param token the access token + @param authenticationToken the authentication 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:(nullable FBSDKAccessToken *)token + authenticationToken:(nullable FBSDKAuthenticationToken *)authenticationToken + isCancelled:(BOOL)isCancelled + grantedPermissions:(NSSet *)grantedPermissions + declinedPermissions:(NSSet *)declinedPermissions + NS_DESIGNATED_INITIALIZER; +@end + +#endif + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResultBlock.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResultBlock.h new file mode 100644 index 0000000..4207825 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResultBlock.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +@class FBSDKLoginManagerLoginResult; + +/** + Describes the call back to the FBSDKLoginManager + @param result the result of the authorization + @param error the authorization error, if any. + */ +typedef void (^ FBSDKLoginManagerLoginResultBlock)(FBSDKLoginManagerLoginResult *_Nullable result, + NSError *_Nullable error) +NS_SWIFT_NAME(LoginManagerLoginResultBlock); + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginProviding.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginProviding.h new file mode 100644 index 0000000..82a2e60 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginProviding.h @@ -0,0 +1,42 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + #import + +NS_ASSUME_NONNULL_BEGIN + +@class FBSDKLoginConfiguration; + +NS_SWIFT_NAME(_LoginProviding) +@protocol FBSDKLoginProviding + +@property (nonatomic, assign) FBSDKDefaultAudience defaultAudience; + +- (void)logInFromViewController:(nullable UIViewController *)viewController + configuration:(FBSDKLoginConfiguration *)configuration + completion:(FBSDKLoginManagerLoginResultBlock)completion NS_REFINED_FOR_SWIFT; + +// UNCRUSTIFY_FORMAT_OFF +- (void)logInWithPermissions:(NSArray *)permissions + fromViewController:(nullable UIViewController *)viewController + handler:(FBSDKLoginManagerLoginResultBlock)handler +NS_SWIFT_NAME(logIn(permissions:from:handler:)); +// UNCRUSTIFY_FORMAT_ON + +- (void)logOut; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h new file mode 100644 index 0000000..c703f57 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h @@ -0,0 +1,47 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + + #import + +NS_ASSUME_NONNULL_BEGIN + +@protocol FBSDKLoginTooltipViewDelegate; + +/** + Represents a tooltip to be displayed next to a Facebook login button + to highlight features for new users. + + 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. + */ +NS_SWIFT_NAME(FBLoginTooltipView) +@interface FBSDKLoginTooltipView : FBSDKTooltipView + +/// the delegate +@property (nonatomic, weak) id delegate; + +/** if set to YES, the view will always be displayed and the delegate's + `loginTooltipView:shouldAppear:` will NOT be called. */ +@property (nonatomic, getter = shouldForceDisplay, assign) BOOL forceDisplay; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipViewDelegate.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipViewDelegate.h new file mode 100644 index 0000000..9d60943 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipViewDelegate.h @@ -0,0 +1,57 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + +NS_ASSUME_NONNULL_BEGIN + +/** + @protocol + + The `FBSDKLoginTooltipViewDelegate` protocol defines the methods used to receive event + notifications from `FBSDKLoginTooltipView` objects. + */ +NS_SWIFT_NAME(LoginTooltipViewDelegate) +@protocol FBSDKLoginTooltipViewDelegate + +@optional + +/** + 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. + + Use this method to customize display behavior. + */ +- (BOOL)loginTooltipView:(FBSDKLoginTooltipView *)view shouldAppear:(BOOL)appIsEligible; + +/** + 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; + +/** + 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 + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h new file mode 100644 index 0000000..ab8bab0 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h @@ -0,0 +1,129 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + FBSDKTooltipViewArrowDirection enum + + 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, +} NS_SWIFT_NAME(FBTooltipView.ArrowDirection); + +/** + FBSDKTooltipColorStyle enum + + 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, +} NS_SWIFT_NAME(FBTooltipView.ColorStyle); + +/** + Tooltip bubble with text in it used to display tips for UI elements, + with a pointed arrow (to refer to the UI element). + + The tooltip fades in and will automatically fade out. See `displayDuration`. + */ +NS_SWIFT_NAME(FBTooltipView) +@interface FBSDKTooltipView : UIView + +/** + Gets or sets the amount of time in seconds the tooltip should be displayed. + Set this to zero to make the display permanent until explicitly dismissed. + Defaults to six seconds. + */ +@property (nonatomic, assign) CFTimeInterval displayDuration; + +/** + Gets or sets the color style after initialization. + Defaults to value passed to -initWithTagline:message:colorStyle:. + */ +@property (nonatomic, assign) FBSDKTooltipColorStyle colorStyle; + +/// Gets or sets the message. +@property (nullable, nonatomic, copy) NSString *message; + +/// Gets or sets the optional phrase that comprises the first part of the label (and is highlighted differently). +@property (nullable, nonatomic, copy) NSString *tagline; + +/** + 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. + + If you need to show a tooltip for login, consider using the `FBSDKLoginTooltipView` view. + + See FBSDKLoginTooltipView + */ +- (instancetype)initWithTagline:(nullable NSString *)tagline + message:(nullable NSString *)message + colorStyle:(FBSDKTooltipColorStyle)colorStyle; + +/** + 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) + + 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; + +/** + 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). + */ + +// UNCRUSTIFY_FORMAT_OFF +- (void)presentInView:(UIView *)view + withArrowPosition:(CGPoint)arrowPosition + direction:(FBSDKTooltipViewArrowDirection)arrowDirection +NS_SWIFT_NAME(present(in:arrowPosition:direction:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Remove tooltip manually. + + Calling this method isn't necessary - tooltip will dismiss itself automatically after the `displayDuration`. + */ +- (void)dismiss; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Info.plist b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Info.plist new file mode 100644 index 0000000..9268e18 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Info.plist differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000..d26f3a1 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000..18d2708 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -0,0 +1,139 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKLoginKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +@_exported import FBSDKLoginKit +import Foundation +import Swift +import UIKit +import _Concurrency +extension FBSDKCoreKit.AppEvents : FBSDKLoginKit._LoginEventLogging { +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKLoginButton) @_Concurrency.MainActor(unsafe) final public class FBLoginButton : FBSDKCoreKit.FBButton { + @objc @_Concurrency.MainActor(unsafe) final public var defaultAudience: FBSDKLoginKit.DefaultAudience { + @objc get + @objc set + } + @objc @IBOutlet @_Concurrency.MainActor(unsafe) weak final public var delegate: FBSDKLoginKit.LoginButtonDelegate? + @objc @_Concurrency.MainActor(unsafe) final public var permissions: [Swift.String] + @objc @_Concurrency.MainActor(unsafe) final public var tooltipBehavior: FBSDKLoginKit.FBLoginButton.TooltipBehavior + @objc @_Concurrency.MainActor(unsafe) final public var tooltipColorStyle: FBSDKLoginKit.FBTooltipView.ColorStyle + @objc @_Concurrency.MainActor(unsafe) final public var loginTracking: FBSDKLoginKit.LoginTracking + @objc @_Concurrency.MainActor(unsafe) final public var nonce: Swift.String? { + @objc get + @objc set + } + @objc @_Concurrency.MainActor(unsafe) final public var messengerPageId: Swift.String? + @objc @_Concurrency.MainActor(unsafe) final public var authType: FBSDKLoginKit.LoginAuthType? + @objc @_Concurrency.MainActor(unsafe) final public var codeVerifier: FBSDKLoginKit.CodeVerifier + @objc(FBSDKLoginButtonTooltipBehavior) public enum TooltipBehavior : Swift.UInt { + case automatic = 0 + case forceDisplay + case disable + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } + } + @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) + @_Concurrency.MainActor(unsafe) @objc override final public func didMoveToWindow() + @_Concurrency.MainActor(unsafe) @objc override final public func imageRect(forContentRect contentRect: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @_Concurrency.MainActor(unsafe) @objc override final public func titleRect(forContentRect contentRect: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @_Concurrency.MainActor(unsafe) @objc override final public func layoutSubviews() + @_Concurrency.MainActor(unsafe) @objc override final public func sizeThatFits(_ size: CoreGraphics.CGSize) -> CoreGraphics.CGSize + @objc deinit +} +@objcMembers @objc(FBSDKPermission) final public class FBPermission : ObjectiveC.NSObject { + @objc override final public var description: Swift.String { + @objc get + } + @objc override final public var hash: Swift.Int { + @objc get + } + @objc public init?(string: Swift.String) + @objc(permissionsFromRawPermissions:) public static func permissions(fromRawPermissions rawPermissions: Swift.Set) -> Swift.Set? + @objc(rawPermissionsFromPermissions:) public static func rawPermissions(from permissions: Swift.Set) -> Swift.Set + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc deinit +} +extension FBSDKCoreKit.InternalUtility : FBSDKLoginKit._UserInterfaceElementProviding { +} +extension FBSDKCoreKit.InternalUtility : FBSDKLoginKit._UserInterfaceStringProviding { +} +@objc(FBSDKLoginButtonDelegate) public protocol LoginButtonDelegate : ObjectiveC.NSObjectProtocol { + @objc(loginButton:didCompleteWithResult:error:) func loginButton(_ loginButton: FBSDKLoginKit.FBLoginButton, didCompleteWith result: FBSDKLoginKit.LoginManagerLoginResult?, error: Swift.Error?) + @objc func loginButtonDidLogOut(_ loginButton: FBSDKLoginKit.FBLoginButton) + @objc optional func loginButtonWillLogin(_ loginButton: FBSDKLoginKit.FBLoginButton) -> Swift.Bool +} +@objcMembers @objc(FBSDKLoginConfiguration) final public class LoginConfiguration : ObjectiveC.NSObject { + @objc final public let nonce: Swift.String + @objc final public let tracking: FBSDKLoginKit.LoginTracking + @objc final public let requestedPermissions: Swift.Set + @objc final public let messengerPageId: Swift.String? + @objc final public let authType: FBSDKLoginKit.LoginAuthType? + @objc final public let codeVerifier: FBSDKLoginKit.CodeVerifier + @objc(initWithPermissions:tracking:nonce:messengerPageId:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String, messengerPageId: Swift.String?) + @objc(initWithPermissions:tracking:nonce:messengerPageId:authType:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String, messengerPageId: Swift.String?, authType: FBSDKLoginKit.LoginAuthType?) + @objc(initWithPermissions:tracking:nonce:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String) + @objc(initWithPermissions:tracking:messengerPageId:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, messengerPageId: Swift.String?) + @objc(initWithPermissions:tracking:messengerPageId:authType:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, messengerPageId: Swift.String?, authType: FBSDKLoginKit.LoginAuthType?) + @objc(initWithPermissions:tracking:nonce:messengerPageId:authType:codeVerifier:) public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String, messengerPageId: Swift.String?, authType: FBSDKLoginKit.LoginAuthType?, codeVerifier: FBSDKLoginKit.CodeVerifier) + @objc(initWithPermissions:tracking:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking) + @objc(initWithTracking:) convenience public init?(tracking: FBSDKLoginKit.LoginTracking) + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release.") + @objc(authTypeForString:) public static func authType(for rawValue: Swift.String) -> FBSDKLoginKit.LoginAuthType? + convenience public init?(permissions: Swift.Set = [], tracking: FBSDKLoginKit.LoginTracking = .enabled, nonce: Swift.String = UUID().uuidString, messengerPageId: Swift.String? = nil, authType: FBSDKLoginKit.LoginAuthType? = .rerequest, codeVerifier: FBSDKLoginKit.CodeVerifier = CodeVerifier()) + @objc deinit +} +public typealias LoginResultBlock = (FBSDKLoginKit.LoginResult) -> Swift.Void +@frozen public enum LoginResult { + case success(granted: Swift.Set, declined: Swift.Set, token: FBSDKCoreKit.AccessToken?) + case cancelled + case failed(Swift.Error) +} +extension FBSDKLoginKit.LoginManager { + convenience public init(defaultAudience: FBSDKLoginKit.DefaultAudience = .friends) + public func logIn(permissions: [FBSDKCoreKit.Permission] = [.publicProfile], viewController: UIKit.UIViewController? = nil, completion: FBSDKLoginKit.LoginResultBlock? = nil) + public func logIn(viewController: UIKit.UIViewController? = nil, configuration: FBSDKLoginKit.LoginConfiguration, completion: @escaping FBSDKLoginKit.LoginResultBlock) +} +@objc(FBSDKLoginTracking) public enum LoginTracking : Swift.UInt { + case enabled + case limited + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } +} +extension FBSDKCoreKit.ServerConfigurationProvider : FBSDKLoginKit._ServerConfigurationProviding { +} +@objc(_FBSDKLoginEventLogging) public protocol _LoginEventLogging { + @objc var flushBehavior: FBSDKCoreKit.AppEvents.FlushBehavior { get } + @objc func logInternalEvent(_ eventName: FBSDKCoreKit.AppEvents.Name, parameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]?, isImplicitlyLogged: Swift.Bool) + @objc func flush() +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKLoginUtility) final public class _LoginUtility : ObjectiveC.NSObject { + @objc public static func string(forAudience audience: FBSDKLoginKit.DefaultAudience) -> Swift.String + @objc public static func queryParams(fromLoginURL url: Foundation.URL) -> [Swift.String : Any]? + @objc public static func userID(fromSignedRequest signedRequest: Swift.String?) -> Swift.String? + @objc override dynamic public init() + @objc deinit +} +@objc(_FBSDKServerConfigurationProviding) public protocol _ServerConfigurationProviding { + @objc(loadServerConfigurationWithCompletionBlock:) func loadServerConfiguration(completion: FBSDKCoreKit.LoginTooltipBlock?) +} +@objc(_FBSDKUserInterfaceElementProviding) public protocol _UserInterfaceElementProviding { + @objc func topMostViewController() -> UIKit.UIViewController? + @objc(viewControllerForView:) func viewController(for view: UIKit.UIView) -> UIKit.UIViewController? +} +@objc(_FBSDKUserInterfaceStringProviding) public protocol _UserInterfaceStringProviding { + @objc var bundleForStrings: Foundation.Bundle { get } +} +extension FBSDKLoginKit.FBLoginButton.TooltipBehavior : Swift.Equatable {} +extension FBSDKLoginKit.FBLoginButton.TooltipBehavior : Swift.Hashable {} +extension FBSDKLoginKit.FBLoginButton.TooltipBehavior : Swift.RawRepresentable {} +extension FBSDKLoginKit.LoginTracking : Swift.Equatable {} +extension FBSDKLoginKit.LoginTracking : Swift.Hashable {} +extension FBSDKLoginKit.LoginTracking : Swift.RawRepresentable {} diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..d26f3a1 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..18d2708 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftinterface @@ -0,0 +1,139 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKLoginKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +@_exported import FBSDKLoginKit +import Foundation +import Swift +import UIKit +import _Concurrency +extension FBSDKCoreKit.AppEvents : FBSDKLoginKit._LoginEventLogging { +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKLoginButton) @_Concurrency.MainActor(unsafe) final public class FBLoginButton : FBSDKCoreKit.FBButton { + @objc @_Concurrency.MainActor(unsafe) final public var defaultAudience: FBSDKLoginKit.DefaultAudience { + @objc get + @objc set + } + @objc @IBOutlet @_Concurrency.MainActor(unsafe) weak final public var delegate: FBSDKLoginKit.LoginButtonDelegate? + @objc @_Concurrency.MainActor(unsafe) final public var permissions: [Swift.String] + @objc @_Concurrency.MainActor(unsafe) final public var tooltipBehavior: FBSDKLoginKit.FBLoginButton.TooltipBehavior + @objc @_Concurrency.MainActor(unsafe) final public var tooltipColorStyle: FBSDKLoginKit.FBTooltipView.ColorStyle + @objc @_Concurrency.MainActor(unsafe) final public var loginTracking: FBSDKLoginKit.LoginTracking + @objc @_Concurrency.MainActor(unsafe) final public var nonce: Swift.String? { + @objc get + @objc set + } + @objc @_Concurrency.MainActor(unsafe) final public var messengerPageId: Swift.String? + @objc @_Concurrency.MainActor(unsafe) final public var authType: FBSDKLoginKit.LoginAuthType? + @objc @_Concurrency.MainActor(unsafe) final public var codeVerifier: FBSDKLoginKit.CodeVerifier + @objc(FBSDKLoginButtonTooltipBehavior) public enum TooltipBehavior : Swift.UInt { + case automatic = 0 + case forceDisplay + case disable + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } + } + @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) + @_Concurrency.MainActor(unsafe) @objc override final public func didMoveToWindow() + @_Concurrency.MainActor(unsafe) @objc override final public func imageRect(forContentRect contentRect: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @_Concurrency.MainActor(unsafe) @objc override final public func titleRect(forContentRect contentRect: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @_Concurrency.MainActor(unsafe) @objc override final public func layoutSubviews() + @_Concurrency.MainActor(unsafe) @objc override final public func sizeThatFits(_ size: CoreGraphics.CGSize) -> CoreGraphics.CGSize + @objc deinit +} +@objcMembers @objc(FBSDKPermission) final public class FBPermission : ObjectiveC.NSObject { + @objc override final public var description: Swift.String { + @objc get + } + @objc override final public var hash: Swift.Int { + @objc get + } + @objc public init?(string: Swift.String) + @objc(permissionsFromRawPermissions:) public static func permissions(fromRawPermissions rawPermissions: Swift.Set) -> Swift.Set? + @objc(rawPermissionsFromPermissions:) public static func rawPermissions(from permissions: Swift.Set) -> Swift.Set + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc deinit +} +extension FBSDKCoreKit.InternalUtility : FBSDKLoginKit._UserInterfaceElementProviding { +} +extension FBSDKCoreKit.InternalUtility : FBSDKLoginKit._UserInterfaceStringProviding { +} +@objc(FBSDKLoginButtonDelegate) public protocol LoginButtonDelegate : ObjectiveC.NSObjectProtocol { + @objc(loginButton:didCompleteWithResult:error:) func loginButton(_ loginButton: FBSDKLoginKit.FBLoginButton, didCompleteWith result: FBSDKLoginKit.LoginManagerLoginResult?, error: Swift.Error?) + @objc func loginButtonDidLogOut(_ loginButton: FBSDKLoginKit.FBLoginButton) + @objc optional func loginButtonWillLogin(_ loginButton: FBSDKLoginKit.FBLoginButton) -> Swift.Bool +} +@objcMembers @objc(FBSDKLoginConfiguration) final public class LoginConfiguration : ObjectiveC.NSObject { + @objc final public let nonce: Swift.String + @objc final public let tracking: FBSDKLoginKit.LoginTracking + @objc final public let requestedPermissions: Swift.Set + @objc final public let messengerPageId: Swift.String? + @objc final public let authType: FBSDKLoginKit.LoginAuthType? + @objc final public let codeVerifier: FBSDKLoginKit.CodeVerifier + @objc(initWithPermissions:tracking:nonce:messengerPageId:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String, messengerPageId: Swift.String?) + @objc(initWithPermissions:tracking:nonce:messengerPageId:authType:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String, messengerPageId: Swift.String?, authType: FBSDKLoginKit.LoginAuthType?) + @objc(initWithPermissions:tracking:nonce:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String) + @objc(initWithPermissions:tracking:messengerPageId:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, messengerPageId: Swift.String?) + @objc(initWithPermissions:tracking:messengerPageId:authType:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, messengerPageId: Swift.String?, authType: FBSDKLoginKit.LoginAuthType?) + @objc(initWithPermissions:tracking:nonce:messengerPageId:authType:codeVerifier:) public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String, messengerPageId: Swift.String?, authType: FBSDKLoginKit.LoginAuthType?, codeVerifier: FBSDKLoginKit.CodeVerifier) + @objc(initWithPermissions:tracking:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking) + @objc(initWithTracking:) convenience public init?(tracking: FBSDKLoginKit.LoginTracking) + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release.") + @objc(authTypeForString:) public static func authType(for rawValue: Swift.String) -> FBSDKLoginKit.LoginAuthType? + convenience public init?(permissions: Swift.Set = [], tracking: FBSDKLoginKit.LoginTracking = .enabled, nonce: Swift.String = UUID().uuidString, messengerPageId: Swift.String? = nil, authType: FBSDKLoginKit.LoginAuthType? = .rerequest, codeVerifier: FBSDKLoginKit.CodeVerifier = CodeVerifier()) + @objc deinit +} +public typealias LoginResultBlock = (FBSDKLoginKit.LoginResult) -> Swift.Void +@frozen public enum LoginResult { + case success(granted: Swift.Set, declined: Swift.Set, token: FBSDKCoreKit.AccessToken?) + case cancelled + case failed(Swift.Error) +} +extension FBSDKLoginKit.LoginManager { + convenience public init(defaultAudience: FBSDKLoginKit.DefaultAudience = .friends) + public func logIn(permissions: [FBSDKCoreKit.Permission] = [.publicProfile], viewController: UIKit.UIViewController? = nil, completion: FBSDKLoginKit.LoginResultBlock? = nil) + public func logIn(viewController: UIKit.UIViewController? = nil, configuration: FBSDKLoginKit.LoginConfiguration, completion: @escaping FBSDKLoginKit.LoginResultBlock) +} +@objc(FBSDKLoginTracking) public enum LoginTracking : Swift.UInt { + case enabled + case limited + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } +} +extension FBSDKCoreKit.ServerConfigurationProvider : FBSDKLoginKit._ServerConfigurationProviding { +} +@objc(_FBSDKLoginEventLogging) public protocol _LoginEventLogging { + @objc var flushBehavior: FBSDKCoreKit.AppEvents.FlushBehavior { get } + @objc func logInternalEvent(_ eventName: FBSDKCoreKit.AppEvents.Name, parameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]?, isImplicitlyLogged: Swift.Bool) + @objc func flush() +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKLoginUtility) final public class _LoginUtility : ObjectiveC.NSObject { + @objc public static func string(forAudience audience: FBSDKLoginKit.DefaultAudience) -> Swift.String + @objc public static func queryParams(fromLoginURL url: Foundation.URL) -> [Swift.String : Any]? + @objc public static func userID(fromSignedRequest signedRequest: Swift.String?) -> Swift.String? + @objc override dynamic public init() + @objc deinit +} +@objc(_FBSDKServerConfigurationProviding) public protocol _ServerConfigurationProviding { + @objc(loadServerConfigurationWithCompletionBlock:) func loadServerConfiguration(completion: FBSDKCoreKit.LoginTooltipBlock?) +} +@objc(_FBSDKUserInterfaceElementProviding) public protocol _UserInterfaceElementProviding { + @objc func topMostViewController() -> UIKit.UIViewController? + @objc(viewControllerForView:) func viewController(for view: UIKit.UIView) -> UIKit.UIViewController? +} +@objc(_FBSDKUserInterfaceStringProviding) public protocol _UserInterfaceStringProviding { + @objc var bundleForStrings: Foundation.Bundle { get } +} +extension FBSDKLoginKit.FBLoginButton.TooltipBehavior : Swift.Equatable {} +extension FBSDKLoginKit.FBLoginButton.TooltipBehavior : Swift.Hashable {} +extension FBSDKLoginKit.FBLoginButton.TooltipBehavior : Swift.RawRepresentable {} +extension FBSDKLoginKit.LoginTracking : Swift.Equatable {} +extension FBSDKLoginKit.LoginTracking : Swift.Hashable {} +extension FBSDKLoginKit.LoginTracking : Swift.RawRepresentable {} diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000..6f64269 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000..69067f1 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -0,0 +1,139 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKLoginKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +@_exported import FBSDKLoginKit +import Foundation +import Swift +import UIKit +import _Concurrency +extension FBSDKCoreKit.AppEvents : FBSDKLoginKit._LoginEventLogging { +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKLoginButton) @_Concurrency.MainActor(unsafe) final public class FBLoginButton : FBSDKCoreKit.FBButton { + @objc @_Concurrency.MainActor(unsafe) final public var defaultAudience: FBSDKLoginKit.DefaultAudience { + @objc get + @objc set + } + @objc @IBOutlet @_Concurrency.MainActor(unsafe) weak final public var delegate: FBSDKLoginKit.LoginButtonDelegate? + @objc @_Concurrency.MainActor(unsafe) final public var permissions: [Swift.String] + @objc @_Concurrency.MainActor(unsafe) final public var tooltipBehavior: FBSDKLoginKit.FBLoginButton.TooltipBehavior + @objc @_Concurrency.MainActor(unsafe) final public var tooltipColorStyle: FBSDKLoginKit.FBTooltipView.ColorStyle + @objc @_Concurrency.MainActor(unsafe) final public var loginTracking: FBSDKLoginKit.LoginTracking + @objc @_Concurrency.MainActor(unsafe) final public var nonce: Swift.String? { + @objc get + @objc set + } + @objc @_Concurrency.MainActor(unsafe) final public var messengerPageId: Swift.String? + @objc @_Concurrency.MainActor(unsafe) final public var authType: FBSDKLoginKit.LoginAuthType? + @objc @_Concurrency.MainActor(unsafe) final public var codeVerifier: FBSDKLoginKit.CodeVerifier + @objc(FBSDKLoginButtonTooltipBehavior) public enum TooltipBehavior : Swift.UInt { + case automatic = 0 + case forceDisplay + case disable + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } + } + @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) + @_Concurrency.MainActor(unsafe) @objc override final public func didMoveToWindow() + @_Concurrency.MainActor(unsafe) @objc override final public func imageRect(forContentRect contentRect: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @_Concurrency.MainActor(unsafe) @objc override final public func titleRect(forContentRect contentRect: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @_Concurrency.MainActor(unsafe) @objc override final public func layoutSubviews() + @_Concurrency.MainActor(unsafe) @objc override final public func sizeThatFits(_ size: CoreGraphics.CGSize) -> CoreGraphics.CGSize + @objc deinit +} +@objcMembers @objc(FBSDKPermission) final public class FBPermission : ObjectiveC.NSObject { + @objc override final public var description: Swift.String { + @objc get + } + @objc override final public var hash: Swift.Int { + @objc get + } + @objc public init?(string: Swift.String) + @objc(permissionsFromRawPermissions:) public static func permissions(fromRawPermissions rawPermissions: Swift.Set) -> Swift.Set? + @objc(rawPermissionsFromPermissions:) public static func rawPermissions(from permissions: Swift.Set) -> Swift.Set + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc deinit +} +extension FBSDKCoreKit.InternalUtility : FBSDKLoginKit._UserInterfaceElementProviding { +} +extension FBSDKCoreKit.InternalUtility : FBSDKLoginKit._UserInterfaceStringProviding { +} +@objc(FBSDKLoginButtonDelegate) public protocol LoginButtonDelegate : ObjectiveC.NSObjectProtocol { + @objc(loginButton:didCompleteWithResult:error:) func loginButton(_ loginButton: FBSDKLoginKit.FBLoginButton, didCompleteWith result: FBSDKLoginKit.LoginManagerLoginResult?, error: Swift.Error?) + @objc func loginButtonDidLogOut(_ loginButton: FBSDKLoginKit.FBLoginButton) + @objc optional func loginButtonWillLogin(_ loginButton: FBSDKLoginKit.FBLoginButton) -> Swift.Bool +} +@objcMembers @objc(FBSDKLoginConfiguration) final public class LoginConfiguration : ObjectiveC.NSObject { + @objc final public let nonce: Swift.String + @objc final public let tracking: FBSDKLoginKit.LoginTracking + @objc final public let requestedPermissions: Swift.Set + @objc final public let messengerPageId: Swift.String? + @objc final public let authType: FBSDKLoginKit.LoginAuthType? + @objc final public let codeVerifier: FBSDKLoginKit.CodeVerifier + @objc(initWithPermissions:tracking:nonce:messengerPageId:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String, messengerPageId: Swift.String?) + @objc(initWithPermissions:tracking:nonce:messengerPageId:authType:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String, messengerPageId: Swift.String?, authType: FBSDKLoginKit.LoginAuthType?) + @objc(initWithPermissions:tracking:nonce:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String) + @objc(initWithPermissions:tracking:messengerPageId:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, messengerPageId: Swift.String?) + @objc(initWithPermissions:tracking:messengerPageId:authType:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, messengerPageId: Swift.String?, authType: FBSDKLoginKit.LoginAuthType?) + @objc(initWithPermissions:tracking:nonce:messengerPageId:authType:codeVerifier:) public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String, messengerPageId: Swift.String?, authType: FBSDKLoginKit.LoginAuthType?, codeVerifier: FBSDKLoginKit.CodeVerifier) + @objc(initWithPermissions:tracking:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking) + @objc(initWithTracking:) convenience public init?(tracking: FBSDKLoginKit.LoginTracking) + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release.") + @objc(authTypeForString:) public static func authType(for rawValue: Swift.String) -> FBSDKLoginKit.LoginAuthType? + convenience public init?(permissions: Swift.Set = [], tracking: FBSDKLoginKit.LoginTracking = .enabled, nonce: Swift.String = UUID().uuidString, messengerPageId: Swift.String? = nil, authType: FBSDKLoginKit.LoginAuthType? = .rerequest, codeVerifier: FBSDKLoginKit.CodeVerifier = CodeVerifier()) + @objc deinit +} +public typealias LoginResultBlock = (FBSDKLoginKit.LoginResult) -> Swift.Void +@frozen public enum LoginResult { + case success(granted: Swift.Set, declined: Swift.Set, token: FBSDKCoreKit.AccessToken?) + case cancelled + case failed(Swift.Error) +} +extension FBSDKLoginKit.LoginManager { + convenience public init(defaultAudience: FBSDKLoginKit.DefaultAudience = .friends) + public func logIn(permissions: [FBSDKCoreKit.Permission] = [.publicProfile], viewController: UIKit.UIViewController? = nil, completion: FBSDKLoginKit.LoginResultBlock? = nil) + public func logIn(viewController: UIKit.UIViewController? = nil, configuration: FBSDKLoginKit.LoginConfiguration, completion: @escaping FBSDKLoginKit.LoginResultBlock) +} +@objc(FBSDKLoginTracking) public enum LoginTracking : Swift.UInt { + case enabled + case limited + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } +} +extension FBSDKCoreKit.ServerConfigurationProvider : FBSDKLoginKit._ServerConfigurationProviding { +} +@objc(_FBSDKLoginEventLogging) public protocol _LoginEventLogging { + @objc var flushBehavior: FBSDKCoreKit.AppEvents.FlushBehavior { get } + @objc func logInternalEvent(_ eventName: FBSDKCoreKit.AppEvents.Name, parameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]?, isImplicitlyLogged: Swift.Bool) + @objc func flush() +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKLoginUtility) final public class _LoginUtility : ObjectiveC.NSObject { + @objc public static func string(forAudience audience: FBSDKLoginKit.DefaultAudience) -> Swift.String + @objc public static func queryParams(fromLoginURL url: Foundation.URL) -> [Swift.String : Any]? + @objc public static func userID(fromSignedRequest signedRequest: Swift.String?) -> Swift.String? + @objc override dynamic public init() + @objc deinit +} +@objc(_FBSDKServerConfigurationProviding) public protocol _ServerConfigurationProviding { + @objc(loadServerConfigurationWithCompletionBlock:) func loadServerConfiguration(completion: FBSDKCoreKit.LoginTooltipBlock?) +} +@objc(_FBSDKUserInterfaceElementProviding) public protocol _UserInterfaceElementProviding { + @objc func topMostViewController() -> UIKit.UIViewController? + @objc(viewControllerForView:) func viewController(for view: UIKit.UIView) -> UIKit.UIViewController? +} +@objc(_FBSDKUserInterfaceStringProviding) public protocol _UserInterfaceStringProviding { + @objc var bundleForStrings: Foundation.Bundle { get } +} +extension FBSDKLoginKit.FBLoginButton.TooltipBehavior : Swift.Equatable {} +extension FBSDKLoginKit.FBLoginButton.TooltipBehavior : Swift.Hashable {} +extension FBSDKLoginKit.FBLoginButton.TooltipBehavior : Swift.RawRepresentable {} +extension FBSDKLoginKit.LoginTracking : Swift.Equatable {} +extension FBSDKLoginKit.LoginTracking : Swift.Hashable {} +extension FBSDKLoginKit.LoginTracking : Swift.RawRepresentable {} diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftdoc new file mode 100644 index 0000000..6f64269 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftinterface new file mode 100644 index 0000000..69067f1 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftinterface @@ -0,0 +1,139 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKLoginKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +@_exported import FBSDKLoginKit +import Foundation +import Swift +import UIKit +import _Concurrency +extension FBSDKCoreKit.AppEvents : FBSDKLoginKit._LoginEventLogging { +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKLoginButton) @_Concurrency.MainActor(unsafe) final public class FBLoginButton : FBSDKCoreKit.FBButton { + @objc @_Concurrency.MainActor(unsafe) final public var defaultAudience: FBSDKLoginKit.DefaultAudience { + @objc get + @objc set + } + @objc @IBOutlet @_Concurrency.MainActor(unsafe) weak final public var delegate: FBSDKLoginKit.LoginButtonDelegate? + @objc @_Concurrency.MainActor(unsafe) final public var permissions: [Swift.String] + @objc @_Concurrency.MainActor(unsafe) final public var tooltipBehavior: FBSDKLoginKit.FBLoginButton.TooltipBehavior + @objc @_Concurrency.MainActor(unsafe) final public var tooltipColorStyle: FBSDKLoginKit.FBTooltipView.ColorStyle + @objc @_Concurrency.MainActor(unsafe) final public var loginTracking: FBSDKLoginKit.LoginTracking + @objc @_Concurrency.MainActor(unsafe) final public var nonce: Swift.String? { + @objc get + @objc set + } + @objc @_Concurrency.MainActor(unsafe) final public var messengerPageId: Swift.String? + @objc @_Concurrency.MainActor(unsafe) final public var authType: FBSDKLoginKit.LoginAuthType? + @objc @_Concurrency.MainActor(unsafe) final public var codeVerifier: FBSDKLoginKit.CodeVerifier + @objc(FBSDKLoginButtonTooltipBehavior) public enum TooltipBehavior : Swift.UInt { + case automatic = 0 + case forceDisplay + case disable + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } + } + @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) + @_Concurrency.MainActor(unsafe) @objc override final public func didMoveToWindow() + @_Concurrency.MainActor(unsafe) @objc override final public func imageRect(forContentRect contentRect: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @_Concurrency.MainActor(unsafe) @objc override final public func titleRect(forContentRect contentRect: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @_Concurrency.MainActor(unsafe) @objc override final public func layoutSubviews() + @_Concurrency.MainActor(unsafe) @objc override final public func sizeThatFits(_ size: CoreGraphics.CGSize) -> CoreGraphics.CGSize + @objc deinit +} +@objcMembers @objc(FBSDKPermission) final public class FBPermission : ObjectiveC.NSObject { + @objc override final public var description: Swift.String { + @objc get + } + @objc override final public var hash: Swift.Int { + @objc get + } + @objc public init?(string: Swift.String) + @objc(permissionsFromRawPermissions:) public static func permissions(fromRawPermissions rawPermissions: Swift.Set) -> Swift.Set? + @objc(rawPermissionsFromPermissions:) public static func rawPermissions(from permissions: Swift.Set) -> Swift.Set + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc deinit +} +extension FBSDKCoreKit.InternalUtility : FBSDKLoginKit._UserInterfaceElementProviding { +} +extension FBSDKCoreKit.InternalUtility : FBSDKLoginKit._UserInterfaceStringProviding { +} +@objc(FBSDKLoginButtonDelegate) public protocol LoginButtonDelegate : ObjectiveC.NSObjectProtocol { + @objc(loginButton:didCompleteWithResult:error:) func loginButton(_ loginButton: FBSDKLoginKit.FBLoginButton, didCompleteWith result: FBSDKLoginKit.LoginManagerLoginResult?, error: Swift.Error?) + @objc func loginButtonDidLogOut(_ loginButton: FBSDKLoginKit.FBLoginButton) + @objc optional func loginButtonWillLogin(_ loginButton: FBSDKLoginKit.FBLoginButton) -> Swift.Bool +} +@objcMembers @objc(FBSDKLoginConfiguration) final public class LoginConfiguration : ObjectiveC.NSObject { + @objc final public let nonce: Swift.String + @objc final public let tracking: FBSDKLoginKit.LoginTracking + @objc final public let requestedPermissions: Swift.Set + @objc final public let messengerPageId: Swift.String? + @objc final public let authType: FBSDKLoginKit.LoginAuthType? + @objc final public let codeVerifier: FBSDKLoginKit.CodeVerifier + @objc(initWithPermissions:tracking:nonce:messengerPageId:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String, messengerPageId: Swift.String?) + @objc(initWithPermissions:tracking:nonce:messengerPageId:authType:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String, messengerPageId: Swift.String?, authType: FBSDKLoginKit.LoginAuthType?) + @objc(initWithPermissions:tracking:nonce:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String) + @objc(initWithPermissions:tracking:messengerPageId:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, messengerPageId: Swift.String?) + @objc(initWithPermissions:tracking:messengerPageId:authType:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, messengerPageId: Swift.String?, authType: FBSDKLoginKit.LoginAuthType?) + @objc(initWithPermissions:tracking:nonce:messengerPageId:authType:codeVerifier:) public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking, nonce: Swift.String, messengerPageId: Swift.String?, authType: FBSDKLoginKit.LoginAuthType?, codeVerifier: FBSDKLoginKit.CodeVerifier) + @objc(initWithPermissions:tracking:) convenience public init?(permissions: [Swift.String], tracking: FBSDKLoginKit.LoginTracking) + @objc(initWithTracking:) convenience public init?(tracking: FBSDKLoginKit.LoginTracking) + @available(*, deprecated, message: "This method is deprecated and will be removed in the next major release.") + @objc(authTypeForString:) public static func authType(for rawValue: Swift.String) -> FBSDKLoginKit.LoginAuthType? + convenience public init?(permissions: Swift.Set = [], tracking: FBSDKLoginKit.LoginTracking = .enabled, nonce: Swift.String = UUID().uuidString, messengerPageId: Swift.String? = nil, authType: FBSDKLoginKit.LoginAuthType? = .rerequest, codeVerifier: FBSDKLoginKit.CodeVerifier = CodeVerifier()) + @objc deinit +} +public typealias LoginResultBlock = (FBSDKLoginKit.LoginResult) -> Swift.Void +@frozen public enum LoginResult { + case success(granted: Swift.Set, declined: Swift.Set, token: FBSDKCoreKit.AccessToken?) + case cancelled + case failed(Swift.Error) +} +extension FBSDKLoginKit.LoginManager { + convenience public init(defaultAudience: FBSDKLoginKit.DefaultAudience = .friends) + public func logIn(permissions: [FBSDKCoreKit.Permission] = [.publicProfile], viewController: UIKit.UIViewController? = nil, completion: FBSDKLoginKit.LoginResultBlock? = nil) + public func logIn(viewController: UIKit.UIViewController? = nil, configuration: FBSDKLoginKit.LoginConfiguration, completion: @escaping FBSDKLoginKit.LoginResultBlock) +} +@objc(FBSDKLoginTracking) public enum LoginTracking : Swift.UInt { + case enabled + case limited + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } +} +extension FBSDKCoreKit.ServerConfigurationProvider : FBSDKLoginKit._ServerConfigurationProviding { +} +@objc(_FBSDKLoginEventLogging) public protocol _LoginEventLogging { + @objc var flushBehavior: FBSDKCoreKit.AppEvents.FlushBehavior { get } + @objc func logInternalEvent(_ eventName: FBSDKCoreKit.AppEvents.Name, parameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]?, isImplicitlyLogged: Swift.Bool) + @objc func flush() +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKLoginUtility) final public class _LoginUtility : ObjectiveC.NSObject { + @objc public static func string(forAudience audience: FBSDKLoginKit.DefaultAudience) -> Swift.String + @objc public static func queryParams(fromLoginURL url: Foundation.URL) -> [Swift.String : Any]? + @objc public static func userID(fromSignedRequest signedRequest: Swift.String?) -> Swift.String? + @objc override dynamic public init() + @objc deinit +} +@objc(_FBSDKServerConfigurationProviding) public protocol _ServerConfigurationProviding { + @objc(loadServerConfigurationWithCompletionBlock:) func loadServerConfiguration(completion: FBSDKCoreKit.LoginTooltipBlock?) +} +@objc(_FBSDKUserInterfaceElementProviding) public protocol _UserInterfaceElementProviding { + @objc func topMostViewController() -> UIKit.UIViewController? + @objc(viewControllerForView:) func viewController(for view: UIKit.UIView) -> UIKit.UIViewController? +} +@objc(_FBSDKUserInterfaceStringProviding) public protocol _UserInterfaceStringProviding { + @objc var bundleForStrings: Foundation.Bundle { get } +} +extension FBSDKLoginKit.FBLoginButton.TooltipBehavior : Swift.Equatable {} +extension FBSDKLoginKit.FBLoginButton.TooltipBehavior : Swift.Hashable {} +extension FBSDKLoginKit.FBLoginButton.TooltipBehavior : Swift.RawRepresentable {} +extension FBSDKLoginKit.LoginTracking : Swift.Equatable {} +extension FBSDKLoginKit.LoginTracking : Swift.Hashable {} +extension FBSDKLoginKit.LoginTracking : Swift.RawRepresentable {} diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/module.modulemap b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/module.modulemap new file mode 100644 index 0000000..de53eb2 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module FBSDKLoginKit { + umbrella header "FBSDKLoginKit.h" + + export * + module * { export * } +} + +module FBSDKLoginKit.Swift { + header "FBSDKLoginKit-Swift.h" + requires objc +} diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/_CodeSignature/CodeDirectory b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/_CodeSignature/CodeDirectory new file mode 100644 index 0000000..a022d45 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/_CodeSignature/CodeDirectory differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/_CodeSignature/CodeRequirements b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/_CodeSignature/CodeRequirements new file mode 100644 index 0000000..dbf9d61 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/_CodeSignature/CodeRequirements differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/_CodeSignature/CodeRequirements-1 b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/_CodeSignature/CodeRequirements-1 new file mode 100644 index 0000000..f83a863 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/_CodeSignature/CodeRequirements-1 differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/_CodeSignature/CodeResources b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/_CodeSignature/CodeResources new file mode 100644 index 0000000..521c325 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/_CodeSignature/CodeResources @@ -0,0 +1,552 @@ + + + + + files + + Headers/FBSDKCodeVerifier.h + + EjPHvLMqGbP/vUT9DPNoJJuyWAo= + + Headers/FBSDKDefaultAudience.h + + 0lqdNpKhDY+rvRDMbrStMGOixZU= + + Headers/FBSDKDeviceLoginCodeInfo.h + + FXtwVMamqT11doLljBddZfXdSN4= + + Headers/FBSDKDeviceLoginManager.h + + uD4FVlO9bIJ1fR4+nlGBS1+Iyno= + + Headers/FBSDKDeviceLoginManagerDelegate.h + + hY/wg20i+M+NFVer6d3an7JfcP0= + + Headers/FBSDKDeviceLoginManagerResult.h + + 5ZIzt8USCIvWtanSVwUd08QOKpw= + + Headers/FBSDKLoginAuthType.h + + ibPkb+47YBsPRVtVXEm87LQ6CeI= + + Headers/FBSDKLoginConstants.h + + MPfHPqxSclz/yRUCIFSiHttaiIE= + + Headers/FBSDKLoginKit-Swift.h + + zWSJMPjAmtQruJ70Vd/tIFlVQ+c= + + Headers/FBSDKLoginKit.h + + h7gN3CVhHDdEWHcpfFb61D1IVqA= + + Headers/FBSDKLoginManager.h + + HdhrsZQzoF/ZZWlRZjzSoF8C3Ek= + + Headers/FBSDKLoginManagerLoginResult.h + + dLNZGf9Q4o1RMToPN2NatvHKj/E= + + Headers/FBSDKLoginManagerLoginResultBlock.h + + hdGFhcZwp8w9OhQTkCmMyUDevXU= + + Headers/FBSDKLoginProviding.h + + bjlQxobN7WaN/4XunqVNRXo4OnM= + + Headers/FBSDKLoginTooltipView.h + + lqBCv5OIAQGg0a9VvMVQafx/0oE= + + Headers/FBSDKLoginTooltipViewDelegate.h + + mkidijks/G9jwN7xSa/cxtEyq1A= + + Headers/FBSDKTooltipView.h + + Azg+uzHoPWlUAbPTg3eXaCXhgok= + + Info.plist + + wwwk8YcVnAG9/eNUFAfRaWuXKx4= + + Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + jn+ScUUj1CUmKBqt5OJmHBp8kio= + + Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + mgj9c3m1Z89hdzey+5FZvSk//TQ= + + Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + CcAyh8nZT5yoWKJz5glvmJ1iKwU= + + Modules/FBSDKLoginKit.swiftmodule/arm64.swiftdoc + + jn+ScUUj1CUmKBqt5OJmHBp8kio= + + Modules/FBSDKLoginKit.swiftmodule/arm64.swiftinterface + + mgj9c3m1Z89hdzey+5FZvSk//TQ= + + Modules/FBSDKLoginKit.swiftmodule/arm64.swiftmodule + + CcAyh8nZT5yoWKJz5glvmJ1iKwU= + + Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + AxZ6Q/jsfRdIL1l7oGat0+2xS30= + + Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + PjKWB3eaRN+N0ksCNIcUkVu1SLU= + + Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule + + 4ivk4DIQB3+eTiPgWlW1npeopcE= + + Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftdoc + + AxZ6Q/jsfRdIL1l7oGat0+2xS30= + + Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftinterface + + PjKWB3eaRN+N0ksCNIcUkVu1SLU= + + Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftmodule + + 4ivk4DIQB3+eTiPgWlW1npeopcE= + + Modules/module.modulemap + + tfc04nZSIwhoHV/QsoW1UgsqZrM= + + + files2 + + Headers/FBSDKCodeVerifier.h + + hash + + EjPHvLMqGbP/vUT9DPNoJJuyWAo= + + hash2 + + TT1hvLT7CD93434WRpckoVDjq/IxyTaGc58KDH/Riw4= + + + Headers/FBSDKDefaultAudience.h + + hash + + 0lqdNpKhDY+rvRDMbrStMGOixZU= + + hash2 + + 1prTgalKOgbTj+chSf4AR5fEQvjo/p+vVawJsWvaxm4= + + + Headers/FBSDKDeviceLoginCodeInfo.h + + hash + + FXtwVMamqT11doLljBddZfXdSN4= + + hash2 + + g5Rwb6XgmK+lz75XESEgOIetBB/BS9DOpWgyhvRDpZg= + + + Headers/FBSDKDeviceLoginManager.h + + hash + + uD4FVlO9bIJ1fR4+nlGBS1+Iyno= + + hash2 + + v4dQNFbtB6k/JBptSYTCub0GAQvz63TBwZgcwUu0Xg4= + + + Headers/FBSDKDeviceLoginManagerDelegate.h + + hash + + hY/wg20i+M+NFVer6d3an7JfcP0= + + hash2 + + JhcXcmGyXN2YV183sGawyEtz/A4HgiGfuaH6F4xQAMk= + + + Headers/FBSDKDeviceLoginManagerResult.h + + hash + + 5ZIzt8USCIvWtanSVwUd08QOKpw= + + hash2 + + 9So69KdlNzNSmMcFA/ZxVMrlETnJJM35bb6QSIb6f7s= + + + Headers/FBSDKLoginAuthType.h + + hash + + ibPkb+47YBsPRVtVXEm87LQ6CeI= + + hash2 + + 1BY9tT41dfIo0DTJayklKqzrlgKtOIkhEFfDkCRAJ24= + + + Headers/FBSDKLoginConstants.h + + hash + + MPfHPqxSclz/yRUCIFSiHttaiIE= + + hash2 + + b4XDaENl+R7u4kCcB7RCYie6oPCP8dwvUe92f5RzDz8= + + + Headers/FBSDKLoginKit-Swift.h + + hash + + zWSJMPjAmtQruJ70Vd/tIFlVQ+c= + + hash2 + + UrMYwbAlQBS8kmiXV+x8TM5tu47VYf8NU5fKF87RXMc= + + + Headers/FBSDKLoginKit.h + + hash + + h7gN3CVhHDdEWHcpfFb61D1IVqA= + + hash2 + + oCgZyqxDhXcPJnf60xLzEH51mxMlTngZF/cMjH4nJN8= + + + Headers/FBSDKLoginManager.h + + hash + + HdhrsZQzoF/ZZWlRZjzSoF8C3Ek= + + hash2 + + dfMOQiKTs9cUidKvOkDK1PFXWeuCw7E4c3w+I9ezM/M= + + + Headers/FBSDKLoginManagerLoginResult.h + + hash + + dLNZGf9Q4o1RMToPN2NatvHKj/E= + + hash2 + + ZvH4brMd8ozOL8xV55KSpnX4vgUabuG4R9rp/WbAL8g= + + + Headers/FBSDKLoginManagerLoginResultBlock.h + + hash + + hdGFhcZwp8w9OhQTkCmMyUDevXU= + + hash2 + + Zb9GWGgaSc6xOtE0UsSlBLPOxWMfbTeNdSsr0fvIp74= + + + Headers/FBSDKLoginProviding.h + + hash + + bjlQxobN7WaN/4XunqVNRXo4OnM= + + hash2 + + Mub/XP4zv9ENaijMfLv1/pv4/8DoYhOYh9Nq53YmMiQ= + + + Headers/FBSDKLoginTooltipView.h + + hash + + lqBCv5OIAQGg0a9VvMVQafx/0oE= + + hash2 + + LARd9poj4pkMqmAsIay5DV4seppcLTgUqKysGr4VwHw= + + + Headers/FBSDKLoginTooltipViewDelegate.h + + hash + + mkidijks/G9jwN7xSa/cxtEyq1A= + + hash2 + + RD5LXdo3q7UGvx+j1hQeKPY/sOu3SfdIA4pJMs0Rd7A= + + + Headers/FBSDKTooltipView.h + + hash + + Azg+uzHoPWlUAbPTg3eXaCXhgok= + + hash2 + + rQrJFU+VFezXq6XJ07u0l1iicG5RbRD30K87A3VS4hs= + + + Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + hash + + jn+ScUUj1CUmKBqt5OJmHBp8kio= + + hash2 + + 6mul0HClebs0jMZiLgyCzmG3yrXi9kRaB1I/S1tSRPk= + + + Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + hash + + mgj9c3m1Z89hdzey+5FZvSk//TQ= + + hash2 + + EWqDMEZO/FTjmoD+MnmZqXeDfobD50CclcBLAidAKZA= + + + Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + hash + + CcAyh8nZT5yoWKJz5glvmJ1iKwU= + + hash2 + + hOIHdDkNKwzTjXttoJ1WbcWFSz2jSHwC5hyCYA+Pecw= + + + Modules/FBSDKLoginKit.swiftmodule/arm64.swiftdoc + + hash + + jn+ScUUj1CUmKBqt5OJmHBp8kio= + + hash2 + + 6mul0HClebs0jMZiLgyCzmG3yrXi9kRaB1I/S1tSRPk= + + + Modules/FBSDKLoginKit.swiftmodule/arm64.swiftinterface + + hash + + mgj9c3m1Z89hdzey+5FZvSk//TQ= + + hash2 + + EWqDMEZO/FTjmoD+MnmZqXeDfobD50CclcBLAidAKZA= + + + Modules/FBSDKLoginKit.swiftmodule/arm64.swiftmodule + + hash + + CcAyh8nZT5yoWKJz5glvmJ1iKwU= + + hash2 + + hOIHdDkNKwzTjXttoJ1WbcWFSz2jSHwC5hyCYA+Pecw= + + + Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + hash + + AxZ6Q/jsfRdIL1l7oGat0+2xS30= + + hash2 + + 1TVJjmrnxYCf28pI0/1AeZsEwpRrqbPSdB5ybSfGaHs= + + + Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + hash + + PjKWB3eaRN+N0ksCNIcUkVu1SLU= + + hash2 + + 8BWxDTqKO+U+cGPfubJ8hB/e0RLSZlUa9jRKLeuoeeg= + + + Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule + + hash + + 4ivk4DIQB3+eTiPgWlW1npeopcE= + + hash2 + + +mp5C+bubVO7Er2d2z4bUahtEmbWB8UHEbddlW4lXOQ= + + + Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftdoc + + hash + + AxZ6Q/jsfRdIL1l7oGat0+2xS30= + + hash2 + + 1TVJjmrnxYCf28pI0/1AeZsEwpRrqbPSdB5ybSfGaHs= + + + Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftinterface + + hash + + PjKWB3eaRN+N0ksCNIcUkVu1SLU= + + hash2 + + 8BWxDTqKO+U+cGPfubJ8hB/e0RLSZlUa9jRKLeuoeeg= + + + Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftmodule + + hash + + 4ivk4DIQB3+eTiPgWlW1npeopcE= + + hash2 + + +mp5C+bubVO7Er2d2z4bUahtEmbWB8UHEbddlW4lXOQ= + + + Modules/module.modulemap + + hash + + tfc04nZSIwhoHV/QsoW1UgsqZrM= + + hash2 + + mg/tLWcmTWvzzkcRtPQSnONw1PhzIM4vXke4Qdm7upM= + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/_CodeSignature/CodeSignature b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/ios-arm64_x86_64-simulator/FBSDKLoginKit.framework/_CodeSignature/CodeSignature new file mode 100644 index 0000000..e69de29 diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/FBSDKLoginKit b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/FBSDKLoginKit new file mode 100644 index 0000000..88c34a6 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/FBSDKLoginKit differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKCodeVerifier.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKCodeVerifier.h new file mode 100644 index 0000000..67250d6 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKCodeVerifier.h @@ -0,0 +1,45 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + Represents a code verifier used in the PKCE (Proof Key for Code Exchange) + process. This is a cryptographically random string using the characters + A-Z, a-z, 0-9, and the punctuation characters -._~ (hyphen, period, + underscore, and tilde), between 43 and 128 characters long. + */ +NS_SWIFT_NAME(CodeVerifier) +@interface FBSDKCodeVerifier : NSObject + +/// The string value of the code verifier +@property (nonatomic, readonly, copy) NSString *value; + +/// The SHA256 hashed challenge of the code verifier +@property (nonatomic, readonly, copy) NSString *challenge; + +/** + Attempts to initialize a new code verifier instance with the given string. + Creation will fail and return nil if the string is invalid. + + @param string the code verifier string + */ +- (nullable instancetype)initWithString:(NSString *)string + NS_DESIGNATED_INITIALIZER; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKDefaultAudience.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKDefaultAudience.h new file mode 100644 index 0000000..e7c41d7 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKDefaultAudience.h @@ -0,0 +1,34 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +NS_ASSUME_NONNULL_BEGIN + +/** + FBSDKDefaultAudience enum + + Passed to openURL to indicate which default audience to use for sessions that post data to Facebook. + + 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, +} NS_SWIFT_NAME(DefaultAudience); + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginCodeInfo.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginCodeInfo.h new file mode 100644 index 0000000..fc08ff2 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginCodeInfo.h @@ -0,0 +1,41 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Describes the initial response when starting the device login flow. + This is used by `FBSDKDeviceLoginManager`. + */ +NS_SWIFT_NAME(DeviceLoginCodeInfo) +@interface FBSDKDeviceLoginCodeInfo : NSObject + +// There is no public initializer. +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/// The unique id for this login flow. +@property (nonatomic, readonly, copy) NSString *identifier; + +/// The short "user_code" that should be presented to the user. +@property (nonatomic, readonly, copy) NSString *loginCode; + +/// The verification URL. +@property (nonatomic, readonly, copy) NSURL *verificationURL; + +/// The expiration date. +@property (nonatomic, readonly, copy) NSDate *expirationDate; + +/// The polling interval +@property (nonatomic, readonly, assign) NSUInteger pollingInterval; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManager.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManager.h new file mode 100644 index 0000000..89def80 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManager.h @@ -0,0 +1,63 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol FBSDKDeviceLoginManagerDelegate; + +/** + Use this class to perform a device login flow. + The device login flow starts by requesting a code from the device login API. + This class informs the delegate when this code is received. You should then present the + code to the user to enter. In the meantime, this class polls the device login API + periodically and informs the delegate of the results. + + See [Facebook Device Login](https://developers.facebook.com/docs/facebook-login/for-devices). + */ +NS_SWIFT_NAME(DeviceLoginManager) +@interface FBSDKDeviceLoginManager : NSObject + +/** + Initializes a new instance. + @param permissions permissions to request. + */ +- (instancetype)initWithPermissions:(NSArray *)permissions + enableSmartLogin:(BOOL)enableSmartLogin; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/// The delegate. +@property (nonatomic, weak) id delegate; + +/// The requested permissions. +@property (nonatomic, readonly, copy) NSArray *permissions; + +/** + The optional URL to redirect the user to after they complete the login. + The URL must be configured in your App Settings -> Advanced -> OAuth Redirect URIs + */ +@property (nullable, nonatomic, copy) NSURL *redirectURL; + +/** + Starts the device login flow + This instance will retain self until the flow is finished or cancelled. + */ +- (void)start; + +/// Attempts to cancel the device login flow. +- (void)cancel; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerDelegate.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerDelegate.h new file mode 100644 index 0000000..cdcf804 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerDelegate.h @@ -0,0 +1,43 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +@class FBSDKDeviceLoginCodeInfo; +@class FBSDKDeviceLoginManager; +@class FBSDKDeviceLoginManagerResult; + +NS_ASSUME_NONNULL_BEGIN + +/// A delegate for `FBSDKDeviceLoginManager`. +NS_SWIFT_NAME(DeviceLoginManagerDelegate) +@protocol FBSDKDeviceLoginManagerDelegate + +/** + Indicates the device login flow has started. You should parse `codeInfo` to present the code to the user to enter. + @param loginManager the login manager instance. + @param codeInfo the code info data. + */ + +- (void)deviceLoginManager:(FBSDKDeviceLoginManager *)loginManager + startedWithCodeInfo:(FBSDKDeviceLoginCodeInfo *)codeInfo; + +/** + Indicates the device login flow has finished. + @param loginManager the login manager instance. + @param result the results of the login flow. + @param error the error, if available. + The flow can be finished if the user completed the flow, cancelled, or if the code has expired. + */ +- (void)deviceLoginManager:(FBSDKDeviceLoginManager *)loginManager + completedWithResult:(nullable FBSDKDeviceLoginManagerResult *)result + error:(nullable NSError *)error; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerResult.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerResult.h new file mode 100644 index 0000000..93266b9 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerResult.h @@ -0,0 +1,37 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +@class FBSDKAccessToken; + +NS_ASSUME_NONNULL_BEGIN + +/** + Represents the results of the a device login flow. + This is used by `FBSDKDeviceLoginManager`. + */ +NS_SWIFT_NAME(DeviceLoginManagerResult) +@interface FBSDKDeviceLoginManagerResult : NSObject + +// There is no public initializer. +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/// The token. +@property (nullable, nonatomic, readonly, strong) FBSDKAccessToken *accessToken; + +/** + Indicates if the login was cancelled by the user, or if the device + login code has expired. + */ +@property (nonatomic, readonly, getter = isCancelled, assign) BOOL cancelled; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginAuthType.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginAuthType.h new file mode 100644 index 0000000..360c320 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginAuthType.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + +/// typedef for FBSDKLoginAuthType +/// See: https://developers.facebook.com/docs/reference/javascript/FB.login/v10.0#options +typedef NSString *const FBSDKLoginAuthType NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(LoginAuthType); + +/// Rerequest +FOUNDATION_EXPORT FBSDKLoginAuthType FBSDKLoginAuthTypeRerequest; + +/// Reauthorize +FOUNDATION_EXPORT FBSDKLoginAuthType FBSDKLoginAuthTypeReauthorize; + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h new file mode 100644 index 0000000..aa55443 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h @@ -0,0 +1,86 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + The error domain for all errors from FBSDKLoginKit + + Error codes from the SDK in the range 300-399 are reserved for this domain. + */ +FOUNDATION_EXPORT NSErrorDomain const FBSDKLoginErrorDomain +NS_SWIFT_NAME(LoginErrorDomain); + +#ifndef NS_ERROR_ENUM + #define NS_ERROR_ENUM(_domain, _name) \ + enum _name : NSInteger _name; \ + enum __attribute__((ns_error_domain(_domain))) _name: NSInteger +#endif + +/** + FBSDKLoginError + Error codes for FBSDKLoginErrorDomain. + */ +typedef NS_ERROR_ENUM (FBSDKLoginErrorDomain, FBSDKLoginError) +{ + /// Reserved. + FBSDKLoginErrorReserved = 300, + + /// The error code for unknown errors. + FBSDKLoginErrorUnknown, + + /// The user's password has changed and must log in again + FBSDKLoginErrorPasswordChanged, + + /// The user must log in to their account on www.facebook.com to restore access + FBSDKLoginErrorUserCheckpointed, + + /// Indicates a failure to request new permissions because the user has changed. + FBSDKLoginErrorUserMismatch, + + /// The user must confirm their account with Facebook before logging in + FBSDKLoginErrorUnconfirmedUser, + + /** + The Accounts framework failed without returning an error, indicating the + app's slider in the iOS Facebook Settings (device Settings -> Facebook -> App Name) has + been disabled. + */ + FBSDKLoginErrorSystemAccountAppDisabled, + + /// An error occurred related to Facebook system Account store + FBSDKLoginErrorSystemAccountUnavailable, + + /// The login response was missing a valid challenge string. + FBSDKLoginErrorBadChallengeString, + + /// The ID token returned in login response was invalid + FBSDKLoginErrorInvalidIDToken, + + /// A current access token was required and not provided + FBSDKLoginErrorMissingAccessToken, +} NS_SWIFT_NAME(LoginError); + +/** + FBSDKDeviceLoginError + Error codes for FBSDKDeviceLoginErrorDomain. + */ +typedef NS_ERROR_ENUM (FBSDKLoginErrorDomain, FBSDKDeviceLoginError) { + /// Your device is polling too frequently. + FBSDKDeviceLoginErrorExcessivePolling = 1349172, + /// User has declined to authorize your application. + FBSDKDeviceLoginErrorAuthorizationDeclined = 1349173, + /// User has not yet authorized your application. Continue polling. + FBSDKDeviceLoginErrorAuthorizationPending = 1349174, + /// The code you entered has expired. + FBSDKDeviceLoginErrorCodeExpired = 1349152 +} NS_SWIFT_NAME(DeviceLoginError); + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginKit-Swift.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginKit-Swift.h new file mode 100644 index 0000000..914f9d8 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginKit-Swift.h @@ -0,0 +1,277 @@ +// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +#ifndef FBSDKLOGINKIT_SWIFT_H +#define FBSDKLOGINKIT_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import FBSDKCoreKit; +@import Foundation; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKLoginKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +@class NSNumber; + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_PROTOCOL_NAMED("_LoginEventLogging") +@protocol _FBSDKLoginEventLogging +@property (nonatomic, readonly) FBSDKAppEventsFlushBehavior flushBehavior; +- (void)logInternalEvent:(FBSDKAppEventName _Nonnull)eventName parameters:(NSDictionary * _Nullable)parameters isImplicitlyLogged:(BOOL)isImplicitlyLogged; +- (void)flush; +@end + + +@interface FBSDKAppEvents (SWIFT_EXTENSION(FBSDKLoginKit)) <_FBSDKLoginEventLogging> +@end + +@class UIViewController; +@class UIView; + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_PROTOCOL_NAMED("_UserInterfaceElementProviding") +@protocol _FBSDKUserInterfaceElementProviding +- (UIViewController * _Nullable)topMostViewController SWIFT_WARN_UNUSED_RESULT; +- (UIViewController * _Nullable)viewControllerForView:(UIView * _Nonnull)view SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKInternalUtility (SWIFT_EXTENSION(FBSDKLoginKit)) <_FBSDKUserInterfaceElementProviding> +@end + +@class NSBundle; + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_PROTOCOL_NAMED("_UserInterfaceStringProviding") +@protocol _FBSDKUserInterfaceStringProviding +@property (nonatomic, readonly, strong) NSBundle * _Nonnull bundleForStrings; +@end + + +@interface FBSDKInternalUtility (SWIFT_EXTENSION(FBSDKLoginKit)) <_FBSDKUserInterfaceStringProviding> +@end + + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_PROTOCOL_NAMED("_ServerConfigurationProviding") +@protocol _FBSDKServerConfigurationProviding +- (void)loadServerConfigurationWithCompletionBlock:(FBSDKLoginTooltipBlock _Nullable)completion; +@end + + +@interface FBSDKServerConfigurationProvider (SWIFT_EXTENSION(FBSDKLoginKit)) <_FBSDKServerConfigurationProviding> +@end + + + + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h new file mode 100644 index 0000000..a451819 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h @@ -0,0 +1,25 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import + +#import diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h new file mode 100644 index 0000000..20e2969 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h @@ -0,0 +1,131 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +#if !TARGET_OS_TV + +@class FBSDKLoginConfiguration; + +/** + `FBSDKLoginManager` provides methods for logging the user in and out. + + `FBSDKLoginManager` serves to help manage sessions represented by tokens for authentication, + `AuthenticationToken`, and data access, `AccessToken`. + + You should check if the type of token you expect is present as a singleton instance, either `AccessToken.current` + or `AuthenticationToken.current` before calling any of the login methods to see if there is a cached token + available. A standard place to do this is in `viewDidLoad`. + + @warning If you are managing your own token instances outside of `AccessToken.current`, you will need to set + `AccessToken.current` before calling any of the login methods to authorize further permissions on your tokens. + */ +NS_SWIFT_NAME(LoginManager) +@interface FBSDKLoginManager : NSObject + +/** + the default audience. + + you should set this if you intend to ask for publish permissions. + */ +@property (nonatomic, assign) FBSDKDefaultAudience defaultAudience; + +/** + 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. + + 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 `FBSDKLoginManagerLoginResultBlock`'s + `result.declinedPermissions` to provide more information to the user if they decline permissions. + You typically should check if `AccessToken.current` already contains the permissions you need before + asking to reduce unnecessary login attempts. For example, you could perform that check in `viewDidLoad`. + + @warning You can only perform one login call at a time. Calling a login method before the completion handler is called + on a previous login attempt will result in an error. + @warning This method will present a UI to the user and thus should be called on the main thread. + */ + +// UNCRUSTIFY_FORMAT_OFF +- (void)logInWithPermissions:(NSArray *)permissions + fromViewController:(nullable UIViewController *)fromViewController + handler:(nullable FBSDKLoginManagerLoginResultBlock)handler +NS_SWIFT_NAME(logIn(permissions:from:handler:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Logs the user in or authorizes additional permissions. + + @param viewController the view controller from which to present the login UI. If nil, the topmost view + controller will be automatically determined and used. + @param configuration the login configuration to use. + @param completion the login completion handler. + + Use this method when asking for permissions. You should only ask for permissions when they + are needed and the value should be explained to the user. You can inspect the + `FBSDKLoginManagerLoginResultBlock`'s `result.declinedPermissions` to provide more information + to the user if they decline permissions. + To reduce unnecessary login attempts, you should typically check if `AccessToken.current` + already contains the permissions you need. If it does, you probably do not need to call this method. + + @warning You can only perform one login call at a time. Calling a login method before the completion handler is called + on a previous login attempt will result in an error. + @warning This method will present a UI to the user and thus should be called on the main thread. + */ +- (void)logInFromViewController:(nullable UIViewController *)viewController + configuration:(FBSDKLoginConfiguration *)configuration + completion:(FBSDKLoginManagerLoginResultBlock)completion + NS_REFINED_FOR_SWIFT; + +/** + Requests user's permission to reathorize application's data access, after it has expired due to inactivity. + @param fromViewController the view controller from which to present the login UI. If nil, the topmost view + controller will be automatically determined and used. + @param handler the callback. + +Use this method when you need to reathorize your app's access to user data via the Graph API. +You should only call this after access has expired. +You should provide as much context to the user as possible as to why you need to reauthorize the access, the +scope of access being reathorized, and what added value your app provides when the access is reathorized. +You can inspect the `result.declinedPermissions` to determine if you should provide more information to the +user based on any declined permissions. + + @warning This method will reauthorize using a `LoginConfiguration` with `FBSDKLoginTracking` set to `.enabled`. + @warning This method will present UI the user. You typically should call this if `AccessToken.isDataAccessExpired` is true. + */ + +// UNCRUSTIFY_FORMAT_OFF +- (void)reauthorizeDataAccess:(UIViewController *)fromViewController + handler:(FBSDKLoginManagerLoginResultBlock)handler +NS_SWIFT_NAME(reauthorizeDataAccess(from:handler:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Logs the user out + + This nils out the singleton instances of `AccessToken` `AuthenticationToken` and `Profle`. + + @note This is only a client side logout. It will not log the user out of their Facebook account. + */ +- (void)logOut; + +@end + +#endif + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h new file mode 100644 index 0000000..21df36e --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h @@ -0,0 +1,66 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +#if !TARGET_OS_TV + +@class FBSDKAccessToken; +@class FBSDKAuthenticationToken; + +/// Describes the result of a login attempt. +NS_SWIFT_NAME(LoginManagerLoginResult) +@interface FBSDKLoginManagerLoginResult : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/// the access token. +@property (nullable, nonatomic, copy) FBSDKAccessToken *token; + +/// the authentication token. +@property (nullable, nonatomic, copy) FBSDKAuthenticationToken *authenticationToken; + +/// whether the login was cancelled by the user. +@property (nonatomic, readonly) BOOL isCancelled; + +/** + the set of permissions granted by the user in the associated request. + + inspect the token's permissions set for a complete list. + */ +@property (nonatomic, copy) NSSet *grantedPermissions; + +/** + the set of permissions declined by the user in the associated request. + + inspect the token's permissions set for a complete list. + */ +@property (nonatomic, copy) NSSet *declinedPermissions; + +/** + Initializes a new instance. + @param token the access token + @param authenticationToken the authentication 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:(nullable FBSDKAccessToken *)token + authenticationToken:(nullable FBSDKAuthenticationToken *)authenticationToken + isCancelled:(BOOL)isCancelled + grantedPermissions:(NSSet *)grantedPermissions + declinedPermissions:(NSSet *)declinedPermissions + NS_DESIGNATED_INITIALIZER; +@end + +#endif + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResultBlock.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResultBlock.h new file mode 100644 index 0000000..4207825 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResultBlock.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +@class FBSDKLoginManagerLoginResult; + +/** + Describes the call back to the FBSDKLoginManager + @param result the result of the authorization + @param error the authorization error, if any. + */ +typedef void (^ FBSDKLoginManagerLoginResultBlock)(FBSDKLoginManagerLoginResult *_Nullable result, + NSError *_Nullable error) +NS_SWIFT_NAME(LoginManagerLoginResultBlock); + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginProviding.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginProviding.h new file mode 100644 index 0000000..82a2e60 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginProviding.h @@ -0,0 +1,42 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + #import + +NS_ASSUME_NONNULL_BEGIN + +@class FBSDKLoginConfiguration; + +NS_SWIFT_NAME(_LoginProviding) +@protocol FBSDKLoginProviding + +@property (nonatomic, assign) FBSDKDefaultAudience defaultAudience; + +- (void)logInFromViewController:(nullable UIViewController *)viewController + configuration:(FBSDKLoginConfiguration *)configuration + completion:(FBSDKLoginManagerLoginResultBlock)completion NS_REFINED_FOR_SWIFT; + +// UNCRUSTIFY_FORMAT_OFF +- (void)logInWithPermissions:(NSArray *)permissions + fromViewController:(nullable UIViewController *)viewController + handler:(FBSDKLoginManagerLoginResultBlock)handler +NS_SWIFT_NAME(logIn(permissions:from:handler:)); +// UNCRUSTIFY_FORMAT_ON + +- (void)logOut; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h new file mode 100644 index 0000000..c703f57 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h @@ -0,0 +1,47 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + + #import + +NS_ASSUME_NONNULL_BEGIN + +@protocol FBSDKLoginTooltipViewDelegate; + +/** + Represents a tooltip to be displayed next to a Facebook login button + to highlight features for new users. + + 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. + */ +NS_SWIFT_NAME(FBLoginTooltipView) +@interface FBSDKLoginTooltipView : FBSDKTooltipView + +/// the delegate +@property (nonatomic, weak) id delegate; + +/** if set to YES, the view will always be displayed and the delegate's + `loginTooltipView:shouldAppear:` will NOT be called. */ +@property (nonatomic, getter = shouldForceDisplay, assign) BOOL forceDisplay; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipViewDelegate.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipViewDelegate.h new file mode 100644 index 0000000..9d60943 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipViewDelegate.h @@ -0,0 +1,57 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + +NS_ASSUME_NONNULL_BEGIN + +/** + @protocol + + The `FBSDKLoginTooltipViewDelegate` protocol defines the methods used to receive event + notifications from `FBSDKLoginTooltipView` objects. + */ +NS_SWIFT_NAME(LoginTooltipViewDelegate) +@protocol FBSDKLoginTooltipViewDelegate + +@optional + +/** + 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. + + Use this method to customize display behavior. + */ +- (BOOL)loginTooltipView:(FBSDKLoginTooltipView *)view shouldAppear:(BOOL)appIsEligible; + +/** + 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; + +/** + 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 + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h new file mode 100644 index 0000000..ab8bab0 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h @@ -0,0 +1,129 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + FBSDKTooltipViewArrowDirection enum + + 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, +} NS_SWIFT_NAME(FBTooltipView.ArrowDirection); + +/** + FBSDKTooltipColorStyle enum + + 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, +} NS_SWIFT_NAME(FBTooltipView.ColorStyle); + +/** + Tooltip bubble with text in it used to display tips for UI elements, + with a pointed arrow (to refer to the UI element). + + The tooltip fades in and will automatically fade out. See `displayDuration`. + */ +NS_SWIFT_NAME(FBTooltipView) +@interface FBSDKTooltipView : UIView + +/** + Gets or sets the amount of time in seconds the tooltip should be displayed. + Set this to zero to make the display permanent until explicitly dismissed. + Defaults to six seconds. + */ +@property (nonatomic, assign) CFTimeInterval displayDuration; + +/** + Gets or sets the color style after initialization. + Defaults to value passed to -initWithTagline:message:colorStyle:. + */ +@property (nonatomic, assign) FBSDKTooltipColorStyle colorStyle; + +/// Gets or sets the message. +@property (nullable, nonatomic, copy) NSString *message; + +/// Gets or sets the optional phrase that comprises the first part of the label (and is highlighted differently). +@property (nullable, nonatomic, copy) NSString *tagline; + +/** + 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. + + If you need to show a tooltip for login, consider using the `FBSDKLoginTooltipView` view. + + See FBSDKLoginTooltipView + */ +- (instancetype)initWithTagline:(nullable NSString *)tagline + message:(nullable NSString *)message + colorStyle:(FBSDKTooltipColorStyle)colorStyle; + +/** + 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) + + 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; + +/** + 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). + */ + +// UNCRUSTIFY_FORMAT_OFF +- (void)presentInView:(UIView *)view + withArrowPosition:(CGPoint)arrowPosition + direction:(FBSDKTooltipViewArrowDirection)arrowDirection +NS_SWIFT_NAME(present(in:arrowPosition:direction:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Remove tooltip manually. + + Calling this method isn't necessary - tooltip will dismiss itself automatically after the `displayDuration`. + */ +- (void)dismiss; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Info.plist b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Info.plist new file mode 100644 index 0000000..12deb69 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Info.plist differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-tvos.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-tvos.swiftdoc new file mode 100644 index 0000000..8f29f76 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-tvos.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-tvos.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-tvos.swiftinterface new file mode 100644 index 0000000..1cba8b5 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-tvos.swiftinterface @@ -0,0 +1,33 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-tvos11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKLoginKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +@_exported import FBSDKLoginKit +import Foundation +import Swift +import UIKit +import _Concurrency +extension FBSDKCoreKit.AppEvents : FBSDKLoginKit._LoginEventLogging { +} +extension FBSDKCoreKit.InternalUtility : FBSDKLoginKit._UserInterfaceElementProviding { +} +extension FBSDKCoreKit.InternalUtility : FBSDKLoginKit._UserInterfaceStringProviding { +} +extension FBSDKCoreKit.ServerConfigurationProvider : FBSDKLoginKit._ServerConfigurationProviding { +} +@objc(_FBSDKLoginEventLogging) public protocol _LoginEventLogging { + @objc var flushBehavior: FBSDKCoreKit.AppEvents.FlushBehavior { get } + @objc func logInternalEvent(_ eventName: FBSDKCoreKit.AppEvents.Name, parameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]?, isImplicitlyLogged: Swift.Bool) + @objc func flush() +} +@objc(_FBSDKServerConfigurationProviding) public protocol _ServerConfigurationProviding { + @objc(loadServerConfigurationWithCompletionBlock:) func loadServerConfiguration(completion: FBSDKCoreKit.LoginTooltipBlock?) +} +@objc(_FBSDKUserInterfaceElementProviding) public protocol _UserInterfaceElementProviding { + @objc func topMostViewController() -> UIKit.UIViewController? + @objc(viewControllerForView:) func viewController(for view: UIKit.UIView) -> UIKit.UIViewController? +} +@objc(_FBSDKUserInterfaceStringProviding) public protocol _UserInterfaceStringProviding { + @objc var bundleForStrings: Foundation.Bundle { get } +} diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..8f29f76 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..1cba8b5 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftinterface @@ -0,0 +1,33 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-tvos11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKLoginKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +@_exported import FBSDKLoginKit +import Foundation +import Swift +import UIKit +import _Concurrency +extension FBSDKCoreKit.AppEvents : FBSDKLoginKit._LoginEventLogging { +} +extension FBSDKCoreKit.InternalUtility : FBSDKLoginKit._UserInterfaceElementProviding { +} +extension FBSDKCoreKit.InternalUtility : FBSDKLoginKit._UserInterfaceStringProviding { +} +extension FBSDKCoreKit.ServerConfigurationProvider : FBSDKLoginKit._ServerConfigurationProviding { +} +@objc(_FBSDKLoginEventLogging) public protocol _LoginEventLogging { + @objc var flushBehavior: FBSDKCoreKit.AppEvents.FlushBehavior { get } + @objc func logInternalEvent(_ eventName: FBSDKCoreKit.AppEvents.Name, parameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]?, isImplicitlyLogged: Swift.Bool) + @objc func flush() +} +@objc(_FBSDKServerConfigurationProviding) public protocol _ServerConfigurationProviding { + @objc(loadServerConfigurationWithCompletionBlock:) func loadServerConfiguration(completion: FBSDKCoreKit.LoginTooltipBlock?) +} +@objc(_FBSDKUserInterfaceElementProviding) public protocol _UserInterfaceElementProviding { + @objc func topMostViewController() -> UIKit.UIViewController? + @objc(viewControllerForView:) func viewController(for view: UIKit.UIView) -> UIKit.UIViewController? +} +@objc(_FBSDKUserInterfaceStringProviding) public protocol _UserInterfaceStringProviding { + @objc var bundleForStrings: Foundation.Bundle { get } +} diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Modules/module.modulemap b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Modules/module.modulemap new file mode 100644 index 0000000..de53eb2 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64/FBSDKLoginKit.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module FBSDKLoginKit { + umbrella header "FBSDKLoginKit.h" + + export * + module * { export * } +} + +module FBSDKLoginKit.Swift { + header "FBSDKLoginKit-Swift.h" + requires objc +} diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/FBSDKLoginKit b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/FBSDKLoginKit new file mode 100644 index 0000000..1d56f39 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/FBSDKLoginKit differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKCodeVerifier.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKCodeVerifier.h new file mode 100644 index 0000000..67250d6 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKCodeVerifier.h @@ -0,0 +1,45 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + Represents a code verifier used in the PKCE (Proof Key for Code Exchange) + process. This is a cryptographically random string using the characters + A-Z, a-z, 0-9, and the punctuation characters -._~ (hyphen, period, + underscore, and tilde), between 43 and 128 characters long. + */ +NS_SWIFT_NAME(CodeVerifier) +@interface FBSDKCodeVerifier : NSObject + +/// The string value of the code verifier +@property (nonatomic, readonly, copy) NSString *value; + +/// The SHA256 hashed challenge of the code verifier +@property (nonatomic, readonly, copy) NSString *challenge; + +/** + Attempts to initialize a new code verifier instance with the given string. + Creation will fail and return nil if the string is invalid. + + @param string the code verifier string + */ +- (nullable instancetype)initWithString:(NSString *)string + NS_DESIGNATED_INITIALIZER; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKDefaultAudience.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKDefaultAudience.h new file mode 100644 index 0000000..e7c41d7 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKDefaultAudience.h @@ -0,0 +1,34 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +NS_ASSUME_NONNULL_BEGIN + +/** + FBSDKDefaultAudience enum + + Passed to openURL to indicate which default audience to use for sessions that post data to Facebook. + + 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, +} NS_SWIFT_NAME(DefaultAudience); + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginCodeInfo.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginCodeInfo.h new file mode 100644 index 0000000..fc08ff2 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginCodeInfo.h @@ -0,0 +1,41 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Describes the initial response when starting the device login flow. + This is used by `FBSDKDeviceLoginManager`. + */ +NS_SWIFT_NAME(DeviceLoginCodeInfo) +@interface FBSDKDeviceLoginCodeInfo : NSObject + +// There is no public initializer. +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/// The unique id for this login flow. +@property (nonatomic, readonly, copy) NSString *identifier; + +/// The short "user_code" that should be presented to the user. +@property (nonatomic, readonly, copy) NSString *loginCode; + +/// The verification URL. +@property (nonatomic, readonly, copy) NSURL *verificationURL; + +/// The expiration date. +@property (nonatomic, readonly, copy) NSDate *expirationDate; + +/// The polling interval +@property (nonatomic, readonly, assign) NSUInteger pollingInterval; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManager.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManager.h new file mode 100644 index 0000000..89def80 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManager.h @@ -0,0 +1,63 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol FBSDKDeviceLoginManagerDelegate; + +/** + Use this class to perform a device login flow. + The device login flow starts by requesting a code from the device login API. + This class informs the delegate when this code is received. You should then present the + code to the user to enter. In the meantime, this class polls the device login API + periodically and informs the delegate of the results. + + See [Facebook Device Login](https://developers.facebook.com/docs/facebook-login/for-devices). + */ +NS_SWIFT_NAME(DeviceLoginManager) +@interface FBSDKDeviceLoginManager : NSObject + +/** + Initializes a new instance. + @param permissions permissions to request. + */ +- (instancetype)initWithPermissions:(NSArray *)permissions + enableSmartLogin:(BOOL)enableSmartLogin; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/// The delegate. +@property (nonatomic, weak) id delegate; + +/// The requested permissions. +@property (nonatomic, readonly, copy) NSArray *permissions; + +/** + The optional URL to redirect the user to after they complete the login. + The URL must be configured in your App Settings -> Advanced -> OAuth Redirect URIs + */ +@property (nullable, nonatomic, copy) NSURL *redirectURL; + +/** + Starts the device login flow + This instance will retain self until the flow is finished or cancelled. + */ +- (void)start; + +/// Attempts to cancel the device login flow. +- (void)cancel; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerDelegate.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerDelegate.h new file mode 100644 index 0000000..cdcf804 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerDelegate.h @@ -0,0 +1,43 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +@class FBSDKDeviceLoginCodeInfo; +@class FBSDKDeviceLoginManager; +@class FBSDKDeviceLoginManagerResult; + +NS_ASSUME_NONNULL_BEGIN + +/// A delegate for `FBSDKDeviceLoginManager`. +NS_SWIFT_NAME(DeviceLoginManagerDelegate) +@protocol FBSDKDeviceLoginManagerDelegate + +/** + Indicates the device login flow has started. You should parse `codeInfo` to present the code to the user to enter. + @param loginManager the login manager instance. + @param codeInfo the code info data. + */ + +- (void)deviceLoginManager:(FBSDKDeviceLoginManager *)loginManager + startedWithCodeInfo:(FBSDKDeviceLoginCodeInfo *)codeInfo; + +/** + Indicates the device login flow has finished. + @param loginManager the login manager instance. + @param result the results of the login flow. + @param error the error, if available. + The flow can be finished if the user completed the flow, cancelled, or if the code has expired. + */ +- (void)deviceLoginManager:(FBSDKDeviceLoginManager *)loginManager + completedWithResult:(nullable FBSDKDeviceLoginManagerResult *)result + error:(nullable NSError *)error; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerResult.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerResult.h new file mode 100644 index 0000000..93266b9 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerResult.h @@ -0,0 +1,37 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +@class FBSDKAccessToken; + +NS_ASSUME_NONNULL_BEGIN + +/** + Represents the results of the a device login flow. + This is used by `FBSDKDeviceLoginManager`. + */ +NS_SWIFT_NAME(DeviceLoginManagerResult) +@interface FBSDKDeviceLoginManagerResult : NSObject + +// There is no public initializer. +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/// The token. +@property (nullable, nonatomic, readonly, strong) FBSDKAccessToken *accessToken; + +/** + Indicates if the login was cancelled by the user, or if the device + login code has expired. + */ +@property (nonatomic, readonly, getter = isCancelled, assign) BOOL cancelled; + +@end + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginAuthType.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginAuthType.h new file mode 100644 index 0000000..360c320 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginAuthType.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + +/// typedef for FBSDKLoginAuthType +/// See: https://developers.facebook.com/docs/reference/javascript/FB.login/v10.0#options +typedef NSString *const FBSDKLoginAuthType NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(LoginAuthType); + +/// Rerequest +FOUNDATION_EXPORT FBSDKLoginAuthType FBSDKLoginAuthTypeRerequest; + +/// Reauthorize +FOUNDATION_EXPORT FBSDKLoginAuthType FBSDKLoginAuthTypeReauthorize; + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h new file mode 100644 index 0000000..aa55443 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h @@ -0,0 +1,86 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + The error domain for all errors from FBSDKLoginKit + + Error codes from the SDK in the range 300-399 are reserved for this domain. + */ +FOUNDATION_EXPORT NSErrorDomain const FBSDKLoginErrorDomain +NS_SWIFT_NAME(LoginErrorDomain); + +#ifndef NS_ERROR_ENUM + #define NS_ERROR_ENUM(_domain, _name) \ + enum _name : NSInteger _name; \ + enum __attribute__((ns_error_domain(_domain))) _name: NSInteger +#endif + +/** + FBSDKLoginError + Error codes for FBSDKLoginErrorDomain. + */ +typedef NS_ERROR_ENUM (FBSDKLoginErrorDomain, FBSDKLoginError) +{ + /// Reserved. + FBSDKLoginErrorReserved = 300, + + /// The error code for unknown errors. + FBSDKLoginErrorUnknown, + + /// The user's password has changed and must log in again + FBSDKLoginErrorPasswordChanged, + + /// The user must log in to their account on www.facebook.com to restore access + FBSDKLoginErrorUserCheckpointed, + + /// Indicates a failure to request new permissions because the user has changed. + FBSDKLoginErrorUserMismatch, + + /// The user must confirm their account with Facebook before logging in + FBSDKLoginErrorUnconfirmedUser, + + /** + The Accounts framework failed without returning an error, indicating the + app's slider in the iOS Facebook Settings (device Settings -> Facebook -> App Name) has + been disabled. + */ + FBSDKLoginErrorSystemAccountAppDisabled, + + /// An error occurred related to Facebook system Account store + FBSDKLoginErrorSystemAccountUnavailable, + + /// The login response was missing a valid challenge string. + FBSDKLoginErrorBadChallengeString, + + /// The ID token returned in login response was invalid + FBSDKLoginErrorInvalidIDToken, + + /// A current access token was required and not provided + FBSDKLoginErrorMissingAccessToken, +} NS_SWIFT_NAME(LoginError); + +/** + FBSDKDeviceLoginError + Error codes for FBSDKDeviceLoginErrorDomain. + */ +typedef NS_ERROR_ENUM (FBSDKLoginErrorDomain, FBSDKDeviceLoginError) { + /// Your device is polling too frequently. + FBSDKDeviceLoginErrorExcessivePolling = 1349172, + /// User has declined to authorize your application. + FBSDKDeviceLoginErrorAuthorizationDeclined = 1349173, + /// User has not yet authorized your application. Continue polling. + FBSDKDeviceLoginErrorAuthorizationPending = 1349174, + /// The code you entered has expired. + FBSDKDeviceLoginErrorCodeExpired = 1349152 +} NS_SWIFT_NAME(DeviceLoginError); + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginKit-Swift.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginKit-Swift.h new file mode 100644 index 0000000..19719a7 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginKit-Swift.h @@ -0,0 +1,560 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +#ifndef FBSDKLOGINKIT_SWIFT_H +#define FBSDKLOGINKIT_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import FBSDKCoreKit; +@import Foundation; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKLoginKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +@class NSNumber; + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_PROTOCOL_NAMED("_LoginEventLogging") +@protocol _FBSDKLoginEventLogging +@property (nonatomic, readonly) FBSDKAppEventsFlushBehavior flushBehavior; +- (void)logInternalEvent:(FBSDKAppEventName _Nonnull)eventName parameters:(NSDictionary * _Nullable)parameters isImplicitlyLogged:(BOOL)isImplicitlyLogged; +- (void)flush; +@end + + +@interface FBSDKAppEvents (SWIFT_EXTENSION(FBSDKLoginKit)) <_FBSDKLoginEventLogging> +@end + +@class UIViewController; +@class UIView; + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_PROTOCOL_NAMED("_UserInterfaceElementProviding") +@protocol _FBSDKUserInterfaceElementProviding +- (UIViewController * _Nullable)topMostViewController SWIFT_WARN_UNUSED_RESULT; +- (UIViewController * _Nullable)viewControllerForView:(UIView * _Nonnull)view SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKInternalUtility (SWIFT_EXTENSION(FBSDKLoginKit)) <_FBSDKUserInterfaceElementProviding> +@end + +@class NSBundle; + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_PROTOCOL_NAMED("_UserInterfaceStringProviding") +@protocol _FBSDKUserInterfaceStringProviding +@property (nonatomic, readonly, strong) NSBundle * _Nonnull bundleForStrings; +@end + + +@interface FBSDKInternalUtility (SWIFT_EXTENSION(FBSDKLoginKit)) <_FBSDKUserInterfaceStringProviding> +@end + + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_PROTOCOL_NAMED("_ServerConfigurationProviding") +@protocol _FBSDKServerConfigurationProviding +- (void)loadServerConfigurationWithCompletionBlock:(FBSDKLoginTooltipBlock _Nullable)completion; +@end + + +@interface FBSDKServerConfigurationProvider (SWIFT_EXTENSION(FBSDKLoginKit)) <_FBSDKServerConfigurationProviding> +@end + + + + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +#ifndef FBSDKLOGINKIT_SWIFT_H +#define FBSDKLOGINKIT_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import FBSDKCoreKit; +@import Foundation; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKLoginKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +@class NSNumber; + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_PROTOCOL_NAMED("_LoginEventLogging") +@protocol _FBSDKLoginEventLogging +@property (nonatomic, readonly) FBSDKAppEventsFlushBehavior flushBehavior; +- (void)logInternalEvent:(FBSDKAppEventName _Nonnull)eventName parameters:(NSDictionary * _Nullable)parameters isImplicitlyLogged:(BOOL)isImplicitlyLogged; +- (void)flush; +@end + + +@interface FBSDKAppEvents (SWIFT_EXTENSION(FBSDKLoginKit)) <_FBSDKLoginEventLogging> +@end + +@class UIViewController; +@class UIView; + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_PROTOCOL_NAMED("_UserInterfaceElementProviding") +@protocol _FBSDKUserInterfaceElementProviding +- (UIViewController * _Nullable)topMostViewController SWIFT_WARN_UNUSED_RESULT; +- (UIViewController * _Nullable)viewControllerForView:(UIView * _Nonnull)view SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKInternalUtility (SWIFT_EXTENSION(FBSDKLoginKit)) <_FBSDKUserInterfaceElementProviding> +@end + +@class NSBundle; + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_PROTOCOL_NAMED("_UserInterfaceStringProviding") +@protocol _FBSDKUserInterfaceStringProviding +@property (nonatomic, readonly, strong) NSBundle * _Nonnull bundleForStrings; +@end + + +@interface FBSDKInternalUtility (SWIFT_EXTENSION(FBSDKLoginKit)) <_FBSDKUserInterfaceStringProviding> +@end + + +/// Internal Type exposed to facilitate transition to Swift. +/// API Subject to change or removal without warning. Do not use. +/// @warning INTERNAL - DO NOT USE +SWIFT_PROTOCOL_NAMED("_ServerConfigurationProviding") +@protocol _FBSDKServerConfigurationProviding +- (void)loadServerConfigurationWithCompletionBlock:(FBSDKLoginTooltipBlock _Nullable)completion; +@end + + +@interface FBSDKServerConfigurationProvider (SWIFT_EXTENSION(FBSDKLoginKit)) <_FBSDKServerConfigurationProviding> +@end + + + + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h new file mode 100644 index 0000000..a451819 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h @@ -0,0 +1,25 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import + +#import diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h new file mode 100644 index 0000000..20e2969 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h @@ -0,0 +1,131 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#import +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +#if !TARGET_OS_TV + +@class FBSDKLoginConfiguration; + +/** + `FBSDKLoginManager` provides methods for logging the user in and out. + + `FBSDKLoginManager` serves to help manage sessions represented by tokens for authentication, + `AuthenticationToken`, and data access, `AccessToken`. + + You should check if the type of token you expect is present as a singleton instance, either `AccessToken.current` + or `AuthenticationToken.current` before calling any of the login methods to see if there is a cached token + available. A standard place to do this is in `viewDidLoad`. + + @warning If you are managing your own token instances outside of `AccessToken.current`, you will need to set + `AccessToken.current` before calling any of the login methods to authorize further permissions on your tokens. + */ +NS_SWIFT_NAME(LoginManager) +@interface FBSDKLoginManager : NSObject + +/** + the default audience. + + you should set this if you intend to ask for publish permissions. + */ +@property (nonatomic, assign) FBSDKDefaultAudience defaultAudience; + +/** + 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. + + 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 `FBSDKLoginManagerLoginResultBlock`'s + `result.declinedPermissions` to provide more information to the user if they decline permissions. + You typically should check if `AccessToken.current` already contains the permissions you need before + asking to reduce unnecessary login attempts. For example, you could perform that check in `viewDidLoad`. + + @warning You can only perform one login call at a time. Calling a login method before the completion handler is called + on a previous login attempt will result in an error. + @warning This method will present a UI to the user and thus should be called on the main thread. + */ + +// UNCRUSTIFY_FORMAT_OFF +- (void)logInWithPermissions:(NSArray *)permissions + fromViewController:(nullable UIViewController *)fromViewController + handler:(nullable FBSDKLoginManagerLoginResultBlock)handler +NS_SWIFT_NAME(logIn(permissions:from:handler:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Logs the user in or authorizes additional permissions. + + @param viewController the view controller from which to present the login UI. If nil, the topmost view + controller will be automatically determined and used. + @param configuration the login configuration to use. + @param completion the login completion handler. + + Use this method when asking for permissions. You should only ask for permissions when they + are needed and the value should be explained to the user. You can inspect the + `FBSDKLoginManagerLoginResultBlock`'s `result.declinedPermissions` to provide more information + to the user if they decline permissions. + To reduce unnecessary login attempts, you should typically check if `AccessToken.current` + already contains the permissions you need. If it does, you probably do not need to call this method. + + @warning You can only perform one login call at a time. Calling a login method before the completion handler is called + on a previous login attempt will result in an error. + @warning This method will present a UI to the user and thus should be called on the main thread. + */ +- (void)logInFromViewController:(nullable UIViewController *)viewController + configuration:(FBSDKLoginConfiguration *)configuration + completion:(FBSDKLoginManagerLoginResultBlock)completion + NS_REFINED_FOR_SWIFT; + +/** + Requests user's permission to reathorize application's data access, after it has expired due to inactivity. + @param fromViewController the view controller from which to present the login UI. If nil, the topmost view + controller will be automatically determined and used. + @param handler the callback. + +Use this method when you need to reathorize your app's access to user data via the Graph API. +You should only call this after access has expired. +You should provide as much context to the user as possible as to why you need to reauthorize the access, the +scope of access being reathorized, and what added value your app provides when the access is reathorized. +You can inspect the `result.declinedPermissions` to determine if you should provide more information to the +user based on any declined permissions. + + @warning This method will reauthorize using a `LoginConfiguration` with `FBSDKLoginTracking` set to `.enabled`. + @warning This method will present UI the user. You typically should call this if `AccessToken.isDataAccessExpired` is true. + */ + +// UNCRUSTIFY_FORMAT_OFF +- (void)reauthorizeDataAccess:(UIViewController *)fromViewController + handler:(FBSDKLoginManagerLoginResultBlock)handler +NS_SWIFT_NAME(reauthorizeDataAccess(from:handler:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Logs the user out + + This nils out the singleton instances of `AccessToken` `AuthenticationToken` and `Profle`. + + @note This is only a client side logout. It will not log the user out of their Facebook account. + */ +- (void)logOut; + +@end + +#endif + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h new file mode 100644 index 0000000..21df36e --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h @@ -0,0 +1,66 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +#if !TARGET_OS_TV + +@class FBSDKAccessToken; +@class FBSDKAuthenticationToken; + +/// Describes the result of a login attempt. +NS_SWIFT_NAME(LoginManagerLoginResult) +@interface FBSDKLoginManagerLoginResult : NSObject + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/// the access token. +@property (nullable, nonatomic, copy) FBSDKAccessToken *token; + +/// the authentication token. +@property (nullable, nonatomic, copy) FBSDKAuthenticationToken *authenticationToken; + +/// whether the login was cancelled by the user. +@property (nonatomic, readonly) BOOL isCancelled; + +/** + the set of permissions granted by the user in the associated request. + + inspect the token's permissions set for a complete list. + */ +@property (nonatomic, copy) NSSet *grantedPermissions; + +/** + the set of permissions declined by the user in the associated request. + + inspect the token's permissions set for a complete list. + */ +@property (nonatomic, copy) NSSet *declinedPermissions; + +/** + Initializes a new instance. + @param token the access token + @param authenticationToken the authentication 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:(nullable FBSDKAccessToken *)token + authenticationToken:(nullable FBSDKAuthenticationToken *)authenticationToken + isCancelled:(BOOL)isCancelled + grantedPermissions:(NSSet *)grantedPermissions + declinedPermissions:(NSSet *)declinedPermissions + NS_DESIGNATED_INITIALIZER; +@end + +#endif + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResultBlock.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResultBlock.h new file mode 100644 index 0000000..4207825 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResultBlock.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#if !TARGET_OS_TV + +@class FBSDKLoginManagerLoginResult; + +/** + Describes the call back to the FBSDKLoginManager + @param result the result of the authorization + @param error the authorization error, if any. + */ +typedef void (^ FBSDKLoginManagerLoginResultBlock)(FBSDKLoginManagerLoginResult *_Nullable result, + NSError *_Nullable error) +NS_SWIFT_NAME(LoginManagerLoginResultBlock); + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginProviding.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginProviding.h new file mode 100644 index 0000000..82a2e60 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginProviding.h @@ -0,0 +1,42 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + #import + +NS_ASSUME_NONNULL_BEGIN + +@class FBSDKLoginConfiguration; + +NS_SWIFT_NAME(_LoginProviding) +@protocol FBSDKLoginProviding + +@property (nonatomic, assign) FBSDKDefaultAudience defaultAudience; + +- (void)logInFromViewController:(nullable UIViewController *)viewController + configuration:(FBSDKLoginConfiguration *)configuration + completion:(FBSDKLoginManagerLoginResultBlock)completion NS_REFINED_FOR_SWIFT; + +// UNCRUSTIFY_FORMAT_OFF +- (void)logInWithPermissions:(NSArray *)permissions + fromViewController:(nullable UIViewController *)viewController + handler:(FBSDKLoginManagerLoginResultBlock)handler +NS_SWIFT_NAME(logIn(permissions:from:handler:)); +// UNCRUSTIFY_FORMAT_ON + +- (void)logOut; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h new file mode 100644 index 0000000..c703f57 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h @@ -0,0 +1,47 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + + #import + +NS_ASSUME_NONNULL_BEGIN + +@protocol FBSDKLoginTooltipViewDelegate; + +/** + Represents a tooltip to be displayed next to a Facebook login button + to highlight features for new users. + + 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. + */ +NS_SWIFT_NAME(FBLoginTooltipView) +@interface FBSDKLoginTooltipView : FBSDKTooltipView + +/// the delegate +@property (nonatomic, weak) id delegate; + +/** if set to YES, the view will always be displayed and the delegate's + `loginTooltipView:shouldAppear:` will NOT be called. */ +@property (nonatomic, getter = shouldForceDisplay, assign) BOOL forceDisplay; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipViewDelegate.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipViewDelegate.h new file mode 100644 index 0000000..9d60943 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipViewDelegate.h @@ -0,0 +1,57 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + +NS_ASSUME_NONNULL_BEGIN + +/** + @protocol + + The `FBSDKLoginTooltipViewDelegate` protocol defines the methods used to receive event + notifications from `FBSDKLoginTooltipView` objects. + */ +NS_SWIFT_NAME(LoginTooltipViewDelegate) +@protocol FBSDKLoginTooltipViewDelegate + +@optional + +/** + 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. + + Use this method to customize display behavior. + */ +- (BOOL)loginTooltipView:(FBSDKLoginTooltipView *)view shouldAppear:(BOOL)appIsEligible; + +/** + 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; + +/** + 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 + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h new file mode 100644 index 0000000..ab8bab0 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h @@ -0,0 +1,129 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +#if !TARGET_OS_TV + + #import + +NS_ASSUME_NONNULL_BEGIN + +/** + FBSDKTooltipViewArrowDirection enum + + 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, +} NS_SWIFT_NAME(FBTooltipView.ArrowDirection); + +/** + FBSDKTooltipColorStyle enum + + 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, +} NS_SWIFT_NAME(FBTooltipView.ColorStyle); + +/** + Tooltip bubble with text in it used to display tips for UI elements, + with a pointed arrow (to refer to the UI element). + + The tooltip fades in and will automatically fade out. See `displayDuration`. + */ +NS_SWIFT_NAME(FBTooltipView) +@interface FBSDKTooltipView : UIView + +/** + Gets or sets the amount of time in seconds the tooltip should be displayed. + Set this to zero to make the display permanent until explicitly dismissed. + Defaults to six seconds. + */ +@property (nonatomic, assign) CFTimeInterval displayDuration; + +/** + Gets or sets the color style after initialization. + Defaults to value passed to -initWithTagline:message:colorStyle:. + */ +@property (nonatomic, assign) FBSDKTooltipColorStyle colorStyle; + +/// Gets or sets the message. +@property (nullable, nonatomic, copy) NSString *message; + +/// Gets or sets the optional phrase that comprises the first part of the label (and is highlighted differently). +@property (nullable, nonatomic, copy) NSString *tagline; + +/** + 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. + + If you need to show a tooltip for login, consider using the `FBSDKLoginTooltipView` view. + + See FBSDKLoginTooltipView + */ +- (instancetype)initWithTagline:(nullable NSString *)tagline + message:(nullable NSString *)message + colorStyle:(FBSDKTooltipColorStyle)colorStyle; + +/** + 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) + + 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; + +/** + 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). + */ + +// UNCRUSTIFY_FORMAT_OFF +- (void)presentInView:(UIView *)view + withArrowPosition:(CGPoint)arrowPosition + direction:(FBSDKTooltipViewArrowDirection)arrowDirection +NS_SWIFT_NAME(present(in:arrowPosition:direction:)); +// UNCRUSTIFY_FORMAT_ON + +/** + Remove tooltip manually. + + Calling this method isn't necessary - tooltip will dismiss itself automatically after the `displayDuration`. + */ +- (void)dismiss; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Info.plist b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Info.plist new file mode 100644 index 0000000..cf7b4a9 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Info.plist differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-tvos-simulator.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-tvos-simulator.swiftdoc new file mode 100644 index 0000000..ec40cb8 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-tvos-simulator.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-tvos-simulator.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-tvos-simulator.swiftinterface new file mode 100644 index 0000000..cb5a2b5 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-tvos-simulator.swiftinterface @@ -0,0 +1,33 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-tvos11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKLoginKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +@_exported import FBSDKLoginKit +import Foundation +import Swift +import UIKit +import _Concurrency +extension FBSDKCoreKit.AppEvents : FBSDKLoginKit._LoginEventLogging { +} +extension FBSDKCoreKit.InternalUtility : FBSDKLoginKit._UserInterfaceElementProviding { +} +extension FBSDKCoreKit.InternalUtility : FBSDKLoginKit._UserInterfaceStringProviding { +} +extension FBSDKCoreKit.ServerConfigurationProvider : FBSDKLoginKit._ServerConfigurationProviding { +} +@objc(_FBSDKLoginEventLogging) public protocol _LoginEventLogging { + @objc var flushBehavior: FBSDKCoreKit.AppEvents.FlushBehavior { get } + @objc func logInternalEvent(_ eventName: FBSDKCoreKit.AppEvents.Name, parameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]?, isImplicitlyLogged: Swift.Bool) + @objc func flush() +} +@objc(_FBSDKServerConfigurationProviding) public protocol _ServerConfigurationProviding { + @objc(loadServerConfigurationWithCompletionBlock:) func loadServerConfiguration(completion: FBSDKCoreKit.LoginTooltipBlock?) +} +@objc(_FBSDKUserInterfaceElementProviding) public protocol _UserInterfaceElementProviding { + @objc func topMostViewController() -> UIKit.UIViewController? + @objc(viewControllerForView:) func viewController(for view: UIKit.UIView) -> UIKit.UIViewController? +} +@objc(_FBSDKUserInterfaceStringProviding) public protocol _UserInterfaceStringProviding { + @objc var bundleForStrings: Foundation.Bundle { get } +} diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..ec40cb8 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..cb5a2b5 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftinterface @@ -0,0 +1,33 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-tvos11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKLoginKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +@_exported import FBSDKLoginKit +import Foundation +import Swift +import UIKit +import _Concurrency +extension FBSDKCoreKit.AppEvents : FBSDKLoginKit._LoginEventLogging { +} +extension FBSDKCoreKit.InternalUtility : FBSDKLoginKit._UserInterfaceElementProviding { +} +extension FBSDKCoreKit.InternalUtility : FBSDKLoginKit._UserInterfaceStringProviding { +} +extension FBSDKCoreKit.ServerConfigurationProvider : FBSDKLoginKit._ServerConfigurationProviding { +} +@objc(_FBSDKLoginEventLogging) public protocol _LoginEventLogging { + @objc var flushBehavior: FBSDKCoreKit.AppEvents.FlushBehavior { get } + @objc func logInternalEvent(_ eventName: FBSDKCoreKit.AppEvents.Name, parameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]?, isImplicitlyLogged: Swift.Bool) + @objc func flush() +} +@objc(_FBSDKServerConfigurationProviding) public protocol _ServerConfigurationProviding { + @objc(loadServerConfigurationWithCompletionBlock:) func loadServerConfiguration(completion: FBSDKCoreKit.LoginTooltipBlock?) +} +@objc(_FBSDKUserInterfaceElementProviding) public protocol _UserInterfaceElementProviding { + @objc func topMostViewController() -> UIKit.UIViewController? + @objc(viewControllerForView:) func viewController(for view: UIKit.UIView) -> UIKit.UIViewController? +} +@objc(_FBSDKUserInterfaceStringProviding) public protocol _UserInterfaceStringProviding { + @objc var bundleForStrings: Foundation.Bundle { get } +} diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-tvos-simulator.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-tvos-simulator.swiftdoc new file mode 100644 index 0000000..56e86ed Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-tvos-simulator.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-tvos-simulator.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-tvos-simulator.swiftinterface new file mode 100644 index 0000000..a9fae78 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-tvos-simulator.swiftinterface @@ -0,0 +1,33 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target x86_64-apple-tvos11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKLoginKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +@_exported import FBSDKLoginKit +import Foundation +import Swift +import UIKit +import _Concurrency +extension FBSDKCoreKit.AppEvents : FBSDKLoginKit._LoginEventLogging { +} +extension FBSDKCoreKit.InternalUtility : FBSDKLoginKit._UserInterfaceElementProviding { +} +extension FBSDKCoreKit.InternalUtility : FBSDKLoginKit._UserInterfaceStringProviding { +} +extension FBSDKCoreKit.ServerConfigurationProvider : FBSDKLoginKit._ServerConfigurationProviding { +} +@objc(_FBSDKLoginEventLogging) public protocol _LoginEventLogging { + @objc var flushBehavior: FBSDKCoreKit.AppEvents.FlushBehavior { get } + @objc func logInternalEvent(_ eventName: FBSDKCoreKit.AppEvents.Name, parameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]?, isImplicitlyLogged: Swift.Bool) + @objc func flush() +} +@objc(_FBSDKServerConfigurationProviding) public protocol _ServerConfigurationProviding { + @objc(loadServerConfigurationWithCompletionBlock:) func loadServerConfiguration(completion: FBSDKCoreKit.LoginTooltipBlock?) +} +@objc(_FBSDKUserInterfaceElementProviding) public protocol _UserInterfaceElementProviding { + @objc func topMostViewController() -> UIKit.UIViewController? + @objc(viewControllerForView:) func viewController(for view: UIKit.UIView) -> UIKit.UIViewController? +} +@objc(_FBSDKUserInterfaceStringProviding) public protocol _UserInterfaceStringProviding { + @objc var bundleForStrings: Foundation.Bundle { get } +} diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftdoc new file mode 100644 index 0000000..56e86ed Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftinterface new file mode 100644 index 0000000..a9fae78 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftinterface @@ -0,0 +1,33 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target x86_64-apple-tvos11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKLoginKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +@_exported import FBSDKLoginKit +import Foundation +import Swift +import UIKit +import _Concurrency +extension FBSDKCoreKit.AppEvents : FBSDKLoginKit._LoginEventLogging { +} +extension FBSDKCoreKit.InternalUtility : FBSDKLoginKit._UserInterfaceElementProviding { +} +extension FBSDKCoreKit.InternalUtility : FBSDKLoginKit._UserInterfaceStringProviding { +} +extension FBSDKCoreKit.ServerConfigurationProvider : FBSDKLoginKit._ServerConfigurationProviding { +} +@objc(_FBSDKLoginEventLogging) public protocol _LoginEventLogging { + @objc var flushBehavior: FBSDKCoreKit.AppEvents.FlushBehavior { get } + @objc func logInternalEvent(_ eventName: FBSDKCoreKit.AppEvents.Name, parameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]?, isImplicitlyLogged: Swift.Bool) + @objc func flush() +} +@objc(_FBSDKServerConfigurationProviding) public protocol _ServerConfigurationProviding { + @objc(loadServerConfigurationWithCompletionBlock:) func loadServerConfiguration(completion: FBSDKCoreKit.LoginTooltipBlock?) +} +@objc(_FBSDKUserInterfaceElementProviding) public protocol _UserInterfaceElementProviding { + @objc func topMostViewController() -> UIKit.UIViewController? + @objc(viewControllerForView:) func viewController(for view: UIKit.UIView) -> UIKit.UIViewController? +} +@objc(_FBSDKUserInterfaceStringProviding) public protocol _UserInterfaceStringProviding { + @objc var bundleForStrings: Foundation.Bundle { get } +} diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/module.modulemap b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/module.modulemap new file mode 100644 index 0000000..de53eb2 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module FBSDKLoginKit { + umbrella header "FBSDKLoginKit.h" + + export * + module * { export * } +} + +module FBSDKLoginKit.Swift { + header "FBSDKLoginKit-Swift.h" + requires objc +} diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/_CodeSignature/CodeDirectory b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/_CodeSignature/CodeDirectory new file mode 100644 index 0000000..9e89e3a Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/_CodeSignature/CodeDirectory differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/_CodeSignature/CodeRequirements b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/_CodeSignature/CodeRequirements new file mode 100644 index 0000000..dbf9d61 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/_CodeSignature/CodeRequirements differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/_CodeSignature/CodeRequirements-1 b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/_CodeSignature/CodeRequirements-1 new file mode 100644 index 0000000..5816a45 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/_CodeSignature/CodeRequirements-1 differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/_CodeSignature/CodeResources b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/_CodeSignature/CodeResources new file mode 100644 index 0000000..b83e460 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/_CodeSignature/CodeResources @@ -0,0 +1,552 @@ + + + + + files + + Headers/FBSDKCodeVerifier.h + + EjPHvLMqGbP/vUT9DPNoJJuyWAo= + + Headers/FBSDKDefaultAudience.h + + 0lqdNpKhDY+rvRDMbrStMGOixZU= + + Headers/FBSDKDeviceLoginCodeInfo.h + + FXtwVMamqT11doLljBddZfXdSN4= + + Headers/FBSDKDeviceLoginManager.h + + uD4FVlO9bIJ1fR4+nlGBS1+Iyno= + + Headers/FBSDKDeviceLoginManagerDelegate.h + + hY/wg20i+M+NFVer6d3an7JfcP0= + + Headers/FBSDKDeviceLoginManagerResult.h + + 5ZIzt8USCIvWtanSVwUd08QOKpw= + + Headers/FBSDKLoginAuthType.h + + ibPkb+47YBsPRVtVXEm87LQ6CeI= + + Headers/FBSDKLoginConstants.h + + MPfHPqxSclz/yRUCIFSiHttaiIE= + + Headers/FBSDKLoginKit-Swift.h + + rCUej/2n+i7LYvqaTObtYY5zFtM= + + Headers/FBSDKLoginKit.h + + h7gN3CVhHDdEWHcpfFb61D1IVqA= + + Headers/FBSDKLoginManager.h + + HdhrsZQzoF/ZZWlRZjzSoF8C3Ek= + + Headers/FBSDKLoginManagerLoginResult.h + + dLNZGf9Q4o1RMToPN2NatvHKj/E= + + Headers/FBSDKLoginManagerLoginResultBlock.h + + hdGFhcZwp8w9OhQTkCmMyUDevXU= + + Headers/FBSDKLoginProviding.h + + bjlQxobN7WaN/4XunqVNRXo4OnM= + + Headers/FBSDKLoginTooltipView.h + + lqBCv5OIAQGg0a9VvMVQafx/0oE= + + Headers/FBSDKLoginTooltipViewDelegate.h + + mkidijks/G9jwN7xSa/cxtEyq1A= + + Headers/FBSDKTooltipView.h + + Azg+uzHoPWlUAbPTg3eXaCXhgok= + + Info.plist + + 0YPuUS5czDcG7AyiOcMZwgmJJco= + + Modules/FBSDKLoginKit.swiftmodule/arm64-apple-tvos-simulator.swiftdoc + + Ds7QPcMlBwOuppFly4jI7YY3PV4= + + Modules/FBSDKLoginKit.swiftmodule/arm64-apple-tvos-simulator.swiftinterface + + FXncrFvG/g0DBS+ZZXHlz9cqY8Q= + + Modules/FBSDKLoginKit.swiftmodule/arm64-apple-tvos-simulator.swiftmodule + + EdrAv1xfkdjrFEpHm4mrpWxJFD4= + + Modules/FBSDKLoginKit.swiftmodule/arm64.swiftdoc + + Ds7QPcMlBwOuppFly4jI7YY3PV4= + + Modules/FBSDKLoginKit.swiftmodule/arm64.swiftinterface + + FXncrFvG/g0DBS+ZZXHlz9cqY8Q= + + Modules/FBSDKLoginKit.swiftmodule/arm64.swiftmodule + + EdrAv1xfkdjrFEpHm4mrpWxJFD4= + + Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-tvos-simulator.swiftdoc + + Ho/dL61Z+crbrIT/jpWtdlXsnsY= + + Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-tvos-simulator.swiftinterface + + aOSBXjLWr/WztWWW6URiDBUGF9U= + + Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-tvos-simulator.swiftmodule + + djbXfF0/tU0nVMiKoP5D0Axn3UQ= + + Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftdoc + + Ho/dL61Z+crbrIT/jpWtdlXsnsY= + + Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftinterface + + aOSBXjLWr/WztWWW6URiDBUGF9U= + + Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftmodule + + djbXfF0/tU0nVMiKoP5D0Axn3UQ= + + Modules/module.modulemap + + tfc04nZSIwhoHV/QsoW1UgsqZrM= + + + files2 + + Headers/FBSDKCodeVerifier.h + + hash + + EjPHvLMqGbP/vUT9DPNoJJuyWAo= + + hash2 + + TT1hvLT7CD93434WRpckoVDjq/IxyTaGc58KDH/Riw4= + + + Headers/FBSDKDefaultAudience.h + + hash + + 0lqdNpKhDY+rvRDMbrStMGOixZU= + + hash2 + + 1prTgalKOgbTj+chSf4AR5fEQvjo/p+vVawJsWvaxm4= + + + Headers/FBSDKDeviceLoginCodeInfo.h + + hash + + FXtwVMamqT11doLljBddZfXdSN4= + + hash2 + + g5Rwb6XgmK+lz75XESEgOIetBB/BS9DOpWgyhvRDpZg= + + + Headers/FBSDKDeviceLoginManager.h + + hash + + uD4FVlO9bIJ1fR4+nlGBS1+Iyno= + + hash2 + + v4dQNFbtB6k/JBptSYTCub0GAQvz63TBwZgcwUu0Xg4= + + + Headers/FBSDKDeviceLoginManagerDelegate.h + + hash + + hY/wg20i+M+NFVer6d3an7JfcP0= + + hash2 + + JhcXcmGyXN2YV183sGawyEtz/A4HgiGfuaH6F4xQAMk= + + + Headers/FBSDKDeviceLoginManagerResult.h + + hash + + 5ZIzt8USCIvWtanSVwUd08QOKpw= + + hash2 + + 9So69KdlNzNSmMcFA/ZxVMrlETnJJM35bb6QSIb6f7s= + + + Headers/FBSDKLoginAuthType.h + + hash + + ibPkb+47YBsPRVtVXEm87LQ6CeI= + + hash2 + + 1BY9tT41dfIo0DTJayklKqzrlgKtOIkhEFfDkCRAJ24= + + + Headers/FBSDKLoginConstants.h + + hash + + MPfHPqxSclz/yRUCIFSiHttaiIE= + + hash2 + + b4XDaENl+R7u4kCcB7RCYie6oPCP8dwvUe92f5RzDz8= + + + Headers/FBSDKLoginKit-Swift.h + + hash + + rCUej/2n+i7LYvqaTObtYY5zFtM= + + hash2 + + 3aaV4ywCqIDJ1g1MnMNDxT+z3N9pUGVKoK26XGdcHHE= + + + Headers/FBSDKLoginKit.h + + hash + + h7gN3CVhHDdEWHcpfFb61D1IVqA= + + hash2 + + oCgZyqxDhXcPJnf60xLzEH51mxMlTngZF/cMjH4nJN8= + + + Headers/FBSDKLoginManager.h + + hash + + HdhrsZQzoF/ZZWlRZjzSoF8C3Ek= + + hash2 + + dfMOQiKTs9cUidKvOkDK1PFXWeuCw7E4c3w+I9ezM/M= + + + Headers/FBSDKLoginManagerLoginResult.h + + hash + + dLNZGf9Q4o1RMToPN2NatvHKj/E= + + hash2 + + ZvH4brMd8ozOL8xV55KSpnX4vgUabuG4R9rp/WbAL8g= + + + Headers/FBSDKLoginManagerLoginResultBlock.h + + hash + + hdGFhcZwp8w9OhQTkCmMyUDevXU= + + hash2 + + Zb9GWGgaSc6xOtE0UsSlBLPOxWMfbTeNdSsr0fvIp74= + + + Headers/FBSDKLoginProviding.h + + hash + + bjlQxobN7WaN/4XunqVNRXo4OnM= + + hash2 + + Mub/XP4zv9ENaijMfLv1/pv4/8DoYhOYh9Nq53YmMiQ= + + + Headers/FBSDKLoginTooltipView.h + + hash + + lqBCv5OIAQGg0a9VvMVQafx/0oE= + + hash2 + + LARd9poj4pkMqmAsIay5DV4seppcLTgUqKysGr4VwHw= + + + Headers/FBSDKLoginTooltipViewDelegate.h + + hash + + mkidijks/G9jwN7xSa/cxtEyq1A= + + hash2 + + RD5LXdo3q7UGvx+j1hQeKPY/sOu3SfdIA4pJMs0Rd7A= + + + Headers/FBSDKTooltipView.h + + hash + + Azg+uzHoPWlUAbPTg3eXaCXhgok= + + hash2 + + rQrJFU+VFezXq6XJ07u0l1iicG5RbRD30K87A3VS4hs= + + + Modules/FBSDKLoginKit.swiftmodule/arm64-apple-tvos-simulator.swiftdoc + + hash + + Ds7QPcMlBwOuppFly4jI7YY3PV4= + + hash2 + + +EqWkoQ8zrAI5kmVuU3kcPw7U8a/XV2Chsnty3Tf+8E= + + + Modules/FBSDKLoginKit.swiftmodule/arm64-apple-tvos-simulator.swiftinterface + + hash + + FXncrFvG/g0DBS+ZZXHlz9cqY8Q= + + hash2 + + 0qPOiWNjVLpOJkPLjNgvAy9g9lzm1SjAdsaRF7YgXIU= + + + Modules/FBSDKLoginKit.swiftmodule/arm64-apple-tvos-simulator.swiftmodule + + hash + + EdrAv1xfkdjrFEpHm4mrpWxJFD4= + + hash2 + + zjehkg6UP3mXdGCzRWVGAkhMqP9u+82vSUuPM8ONJEY= + + + Modules/FBSDKLoginKit.swiftmodule/arm64.swiftdoc + + hash + + Ds7QPcMlBwOuppFly4jI7YY3PV4= + + hash2 + + +EqWkoQ8zrAI5kmVuU3kcPw7U8a/XV2Chsnty3Tf+8E= + + + Modules/FBSDKLoginKit.swiftmodule/arm64.swiftinterface + + hash + + FXncrFvG/g0DBS+ZZXHlz9cqY8Q= + + hash2 + + 0qPOiWNjVLpOJkPLjNgvAy9g9lzm1SjAdsaRF7YgXIU= + + + Modules/FBSDKLoginKit.swiftmodule/arm64.swiftmodule + + hash + + EdrAv1xfkdjrFEpHm4mrpWxJFD4= + + hash2 + + zjehkg6UP3mXdGCzRWVGAkhMqP9u+82vSUuPM8ONJEY= + + + Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-tvos-simulator.swiftdoc + + hash + + Ho/dL61Z+crbrIT/jpWtdlXsnsY= + + hash2 + + 7rAkgOIH8Amc++91g7gVn0wwgdf9zHhhnaemDQeH0Yw= + + + Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-tvos-simulator.swiftinterface + + hash + + aOSBXjLWr/WztWWW6URiDBUGF9U= + + hash2 + + 0pse9QdhKNT6JU7JGOUaO4/YqCbXHtoPlJc/BW+KKrk= + + + Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-tvos-simulator.swiftmodule + + hash + + djbXfF0/tU0nVMiKoP5D0Axn3UQ= + + hash2 + + hPrRNOi6bFlkoIMTarKXjxk2HijHdeg0gYANKp35lBQ= + + + Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftdoc + + hash + + Ho/dL61Z+crbrIT/jpWtdlXsnsY= + + hash2 + + 7rAkgOIH8Amc++91g7gVn0wwgdf9zHhhnaemDQeH0Yw= + + + Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftinterface + + hash + + aOSBXjLWr/WztWWW6URiDBUGF9U= + + hash2 + + 0pse9QdhKNT6JU7JGOUaO4/YqCbXHtoPlJc/BW+KKrk= + + + Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftmodule + + hash + + djbXfF0/tU0nVMiKoP5D0Axn3UQ= + + hash2 + + hPrRNOi6bFlkoIMTarKXjxk2HijHdeg0gYANKp35lBQ= + + + Modules/module.modulemap + + hash + + tfc04nZSIwhoHV/QsoW1UgsqZrM= + + hash2 + + mg/tLWcmTWvzzkcRtPQSnONw1PhzIM4vXke4Qdm7upM= + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/_CodeSignature/CodeSignature b/src/ios/EmbeddedFrameworks/FBSDKLoginKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKLoginKit.framework/_CodeSignature/CodeSignature new file mode 100644 index 0000000..e69de29 diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/FBSDKShareKit b/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/FBSDKShareKit deleted file mode 100644 index 1b95ec6..0000000 Binary files a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/FBSDKShareKit and /dev/null differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKAppGroupContent.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKAppGroupContent.h deleted file mode 100644 index 874cf4f..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKAppGroupContent.h +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#if TARGET_OS_TV - -typedef NS_ENUM(NSUInteger, AppGroupPrivacy) { AppGroupPrivacyOpen, }; - -FOUNDATION_EXPORT NSString *NSStringFromFBSDKAppGroupPrivacy(AppGroupPrivacy privacy) -NS_REFINED_FOR_SWIFT; - -#else - - #import - -NS_ASSUME_NONNULL_BEGIN - -/** - NS_ENUM(NSUInteger, FBSDKAppGroupPrivacy) - Specifies the privacy of a group. - */ -typedef NS_ENUM(NSUInteger, FBSDKAppGroupPrivacy) { - /** Anyone can see the group, who's in it and what members post. */ - FBSDKAppGroupPrivacyOpen = 0, - /** Anyone can see the group and who's in it, but only members can see posts. */ - FBSDKAppGroupPrivacyClosed, -} NS_SWIFT_NAME(AppGroupPrivacy); - -/** - Converts an FBSDKAppGroupPrivacy to an NSString. - */ -FOUNDATION_EXPORT NSString *NSStringFromFBSDKAppGroupPrivacy(FBSDKAppGroupPrivacy privacy) -NS_REFINED_FOR_SWIFT; - -/** - A model for creating an app group. - */ -NS_SWIFT_NAME(AppGroupContent) -@interface FBSDKAppGroupContent : NSObject - -/** - The description of the group. - */ -@property (nonatomic, copy) NSString *groupDescription; - -/** - The name of the group. - */ -@property (nonatomic, copy) NSString *name; - -/** - The privacy for the group. - */ -@property (nonatomic, assign) FBSDKAppGroupPrivacy privacy; - -/** - Compares the receiver to another app group content. - @param content The other content - @return YES if the receiver's values are equal to the other content's values; otherwise NO - */ -- (BOOL)isEqualToAppGroupContent:(FBSDKAppGroupContent *)content; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKAppInviteContent.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKAppInviteContent.h deleted file mode 100644 index 7d2f83e..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKAppInviteContent.h +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import "TargetConditionals.h" - -#if !TARGET_OS_TV - - #import - - #import - #import - -NS_ASSUME_NONNULL_BEGIN - -/** - NS_ENUM(NSUInteger, FBSDKAppInviteDestination) - Specifies the privacy of a group. - */ -typedef NS_ENUM(NSUInteger, FBSDKAppInviteDestination) { - /** Deliver to Facebook. */ - FBSDKAppInviteDestinationFacebook = 0, - /** Deliver to Messenger. */ - FBSDKAppInviteDestinationMessenger, -} NS_SWIFT_NAME(AppInviteDestination); - -/** - A model for app invite. - */ -NS_SWIFT_NAME(AppInviteContent) -@interface FBSDKAppInviteContent : NSObject - -/** - A URL to a preview image that will be displayed with the app invite - - - This is optional. If you don't include it a fallback image will be used. -*/ -@property (nullable, nonatomic, copy) NSURL *appInvitePreviewImageURL; - -/** - An app link target that will be used as a target when the user accept the invite. - - - This is a requirement. - */ -@property (nonatomic, copy) NSURL *appLinkURL; - -/** - Promotional code to be displayed while sending and receiving the invite. - - - This is optional. This can be between 0 and 10 characters long and can contain - alphanumeric characters only. To set a promo code, you need to set promo text. - */ -@property (nullable, nonatomic, copy) NSString *promotionCode; - -/** - Promotional text to be displayed while sending and receiving the invite. - - - This is optional. This can be between 0 and 80 characters long and can contain - alphanumeric and spaces only. - */ -@property (nullable, nonatomic, copy) NSString *promotionText; - -/** - Destination for the app invite. - - - This is optional and for declaring destination of the invite. - */ -@property (nonatomic, assign) FBSDKAppInviteDestination destination; - -/** - Compares the receiver to another app invite content. - @param content The other content - @return YES if the receiver's values are equal to the other content's values; otherwise NO - */ -- (BOOL)isEqualToAppInviteContent:(FBSDKAppInviteContent *)content; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKCameraEffectArguments.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKCameraEffectArguments.h deleted file mode 100644 index 17cf4c4..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKCameraEffectArguments.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - * A container of arguments for a camera effect. - * An argument is a NSString identified by a NSString key. - */ -NS_SWIFT_NAME(CameraEffectArguments) -@interface FBSDKCameraEffectArguments : NSObject - -/** - Sets a string argument in the container. - @param string The argument - @param key The key for the argument - */ - -// UNCRUSTIFY_FORMAT_OFF -- (void)setString:(nullable NSString *)string forKey:(NSString *)key -NS_SWIFT_NAME(set(_:forKey:)); -// UNCRUSTIFY_FORMAT_ON - -/** - Gets a string argument from the container. - @param key The key for the argument - @return The string value or nil - */ -- (nullable NSString *)stringForKey:(NSString *)key; - -/** - Sets a string array argument in the container. - @param array The array argument - @param key The key for the argument - */ - -// UNCRUSTIFY_FORMAT_OFF -- (void)setArray:(nullable NSArray *)array forKey:(NSString *)key -NS_SWIFT_NAME(set(_:forKey:)); -// UNCRUSTIFY_FORMAT_ON - -/** - Gets an array argument from the container. - @param key The key for the argument - @return The array argument - */ -- (nullable NSArray *)arrayForKey:(NSString *)key; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKCameraEffectTextures.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKCameraEffectTextures.h deleted file mode 100644 index 9ec9956..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKCameraEffectTextures.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - * A container of textures for a camera effect. - * A texture for a camera effect is an UIImages identified by a NSString key. - */ -NS_SWIFT_NAME(CameraEffectTextures) -@interface FBSDKCameraEffectTextures : NSObject - -/** - Sets the image for a texture key. - @param image The UIImage for the texture - @param key The key for the texture - */ - -// UNCRUSTIFY_FORMAT_OFF -- (void)setImage:(nullable UIImage *)image forKey:(NSString *)key -NS_SWIFT_NAME(set(_:forKey:)); -// UNCRUSTIFY_FORMAT_ON - -/** - Gets the image for a texture key. - @param key The key for the texture - @return The texture UIImage or nil - */ -- (nullable UIImage *)imageForKey:(NSString *)key; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKGameRequestContent.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKGameRequestContent.h deleted file mode 100644 index 915f1eb..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKGameRequestContent.h +++ /dev/null @@ -1,103 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -#import -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - A model for a game request. - */ -NS_SWIFT_NAME(GameRequestContent) -@interface FBSDKGameRequestContent : NSObject - -/** - Used when defining additional context about the nature of the request. - - The parameter 'objectID' is required if the action type is either - 'FBSDKGameRequestSendActionType' or 'FBSDKGameRequestAskForActionType'. - -- SeeAlso:objectID - */ -@property (nonatomic, assign) FBSDKGameRequestActionType actionType; - -/** - Compares the receiver to another game request content. - @param content The other content - @return YES if the receiver's values are equal to the other content's values; otherwise NO - */ -- (BOOL)isEqualToGameRequestContent:(FBSDKGameRequestContent *)content; - -/** - Additional freeform data you may pass for tracking. This will be stored as part of - the request objects created. The maximum length is 255 characters. - */ -@property (nullable, nonatomic, copy) NSString *data; - -/** - This controls the set of friends someone sees if a multi-friend selector is shown. - It is FBSDKGameRequestNoFilter by default, meaning that all friends can be shown. - If specify as FBSDKGameRequestAppUsersFilter, only friends who use the app will be shown. - On the other hands, use FBSDKGameRequestAppNonUsersFilter to filter only friends who do not use the app. - - The parameter name is preserved to be consistent with the counter part on desktop. - */ -@property (nonatomic, assign) FBSDKGameRequestFilter filters; - -/** - A plain-text message to be sent as part of the request. This text will surface in the App Center view - of the request, but not on the notification jewel. Required parameter. - */ -@property (nonatomic, copy) NSString *message; - -/** - The Open Graph object ID of the object being sent. - -- SeeAlso:actionType - */ -@property (nonatomic, copy) NSString *objectID; - -/** - An array of user IDs, usernames or invite tokens (NSString) of people to send request. - - These may or may not be a friend of the sender. If this is specified by the app, - the sender will not have a choice of recipients. If not, the sender will see a multi-friend selector - - This is equivalent to the "to" parameter when using the web game request dialog. - */ -@property (nonatomic, copy) NSArray *recipients; - -/** - An array of user IDs that will be included in the dialog as the first suggested friends. - Cannot be used together with filters. - - This is equivalent to the "suggestions" parameter when using the web game request dialog. -*/ -@property (nonatomic, copy) NSArray *recipientSuggestions; - -/** - The title for the dialog. - */ -@property (nonatomic, copy) NSString *title; - -/** - The call to action for the dialog. - */ -@property (nonatomic, copy) NSString *cta; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKGameRequestDialog.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKGameRequestDialog.h deleted file mode 100644 index 0a673c9..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKGameRequestDialog.h +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -@protocol FBSDKGameRequestDialogDelegate; - -/** - A dialog for sending game requests. - */ -NS_SWIFT_NAME(GameRequestDialog) -@interface FBSDKGameRequestDialog : NSObject - -- (instancetype)init NS_DESIGNATED_INITIALIZER - NS_SWIFT_UNAVAILABLE("Use init(content:delegate:) instead"); -+ (instancetype)new NS_UNAVAILABLE; - -/** - Convenience method to build up a game request with content and a delegate. - @param content The content for the game request. - @param delegate The receiver's delegate. - */ - -// UNCRUSTIFY_FORMAT_OFF -+ (instancetype)dialogWithContent:(FBSDKGameRequestContent *)content - delegate:(nullable id)delegate -NS_SWIFT_NAME(init(content:delegate:)); -// UNCRUSTIFY_FORMAT_ON - -/** - Convenience method to build up and show a game request with content and a delegate. - @param content The content for the game request. - @param delegate The receiver's delegate. - */ -+ (instancetype)showWithContent:(FBSDKGameRequestContent *)content - delegate:(nullable id)delegate - NS_SWIFT_UNAVAILABLE("Use init(content:delegate:).show() instead"); - -/** - The receiver's delegate or nil if it doesn't have a delegate. - */ -@property (nullable, nonatomic, weak) id delegate; - -/** - The content for game request. - */ -@property (nonatomic, copy) FBSDKGameRequestContent *content; - -/** - Specifies whether frictionless requests are enabled. - */ -@property (nonatomic, getter = isFrictionlessRequestsEnabled, assign) BOOL frictionlessRequestsEnabled; - -/** - A Boolean value that indicates whether the receiver can initiate a game request. - - May return NO if the appropriate Facebook app is not installed and is required or an access token is - required but not available. This method does not validate the content on the receiver, so this can be checked before - building up the content. - - @see validateWithError: - @return YES if the receiver can share, otherwise NO. - */ -@property (nonatomic, readonly) BOOL canShow; - -/** - Begins the game request from the receiver. - @return YES if the receiver was able to show the dialog, otherwise NO. - */ -- (BOOL)show; - -/** - Validates the content on the receiver. - @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. - @return YES if the content is valid, otherwise NO. - */ -- (BOOL)validateWithError:(NSError *__autoreleasing *)errorRef; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKGameRequestDialogDelegate.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKGameRequestDialogDelegate.h deleted file mode 100644 index fcb1a51..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKGameRequestDialogDelegate.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -NS_ASSUME_NONNULL_BEGIN - -/** - A delegate for FBSDKGameRequestDialog. - - The delegate is notified with the results of the game request as long as the application has permissions to - receive the information. For example, if the person is not signed into the containing app, the shower may not be able - to distinguish between completion of a game request and cancellation. - */ -NS_SWIFT_NAME(GameRequestDialogDelegate) -@protocol FBSDKGameRequestDialogDelegate - -/** - Sent to the delegate when the game request completes without error. - @param gameRequestDialog The FBSDKGameRequestDialog that completed. - @param results The results from the dialog. This may be nil or empty. - */ -- (void)gameRequestDialog:(FBSDKGameRequestDialog *)gameRequestDialog didCompleteWithResults:(NSDictionary *)results; - -/** - Sent to the delegate when the game request encounters an error. - @param gameRequestDialog The FBSDKGameRequestDialog that completed. - @param error The error. - */ -- (void)gameRequestDialog:(FBSDKGameRequestDialog *)gameRequestDialog didFailWithError:(NSError *)error; - -/** - Sent to the delegate when the game request dialog is cancelled. - @param gameRequestDialog The FBSDKGameRequestDialog that completed. - */ -- (void)gameRequestDialogDidCancel:(FBSDKGameRequestDialog *)gameRequestDialog; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKGameRequestURLProvider.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKGameRequestURLProvider.h deleted file mode 100644 index 3d163e9..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKGameRequestURLProvider.h +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN -/** - NS_ENUM(NSUInteger, FBSDKGameRequestActionType) - Additional context about the nature of the request. - */ -typedef NS_ENUM(NSUInteger, FBSDKGameRequestActionType) { - /** No action type */ - FBSDKGameRequestActionTypeNone = 0, - /** Send action type: The user is sending an object to the friends. */ - FBSDKGameRequestActionTypeSend, - /** Ask For action type: The user is asking for an object from friends. */ - FBSDKGameRequestActionTypeAskFor, - /** Turn action type: It is the turn of the friends to play against the user in a match. (no object) */ - FBSDKGameRequestActionTypeTurn, - /** Invite action type: The user is inviting a friend. */ - FBSDKGameRequestActionTypeInvite, -} NS_SWIFT_NAME(GameRequestActionType); - -/** - NS_ENUM(NSUInteger, FBSDKGameRequestFilters) - Filter for who can be displayed in the multi-friend selector. - */ -typedef NS_ENUM(NSUInteger, FBSDKGameRequestFilter) { - /** No filter, all friends can be displayed. */ - FBSDKGameRequestFilterNone = 0, - /** Friends using the app can be displayed. */ - FBSDKGameRequestFilterAppUsers, - /** Friends not using the app can be displayed. */ - FBSDKGameRequestFilterAppNonUsers, - /**All friends can be displayed if FB app is installed.*/ - FBSDKGameRequestFilterEverybody, -} NS_SWIFT_NAME(GameRequestFilter); - -NS_SWIFT_NAME(GameRequestURLProvider) -@interface FBSDKGameRequestURLProvider : NSObject -+ (NSURL *_Nullable)createDeepLinkURLWithQueryDictionary:(NSDictionary *_Nonnull)queryDictionary; -+ (NSString *_Nullable)filtersNameForFilters:(FBSDKGameRequestFilter)filters; -+ (NSString *_Nullable)actionTypeNameForActionType:(FBSDKGameRequestActionType)actionType; -@end -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKHashtag.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKHashtag.h deleted file mode 100644 index 98db852..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKHashtag.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Represents a single hashtag that can be used with the share dialog. - */ -NS_SWIFT_NAME(Hashtag) -@interface FBSDKHashtag : NSObject - -/** - Convenience method to build a new hashtag with a string identifier. Equivalent to setting the - `stringRepresentation` property. - @param hashtagString The hashtag string. - */ - -// UNCRUSTIFY_FORMAT_OFF -+ (instancetype)hashtagWithString:(NSString *)hashtagString -NS_SWIFT_NAME(init(_:)); -// UNCRUSTIFY_FORMAT_ON - -/** - The hashtag string. - - You are responsible for making sure that `stringRepresentation` is a valid hashtag (a single '#' followed - by one or more word characters). Invalid hashtags are ignored when sharing content. You can check validity with the - `valid` property. - @return The hashtag string. - */ -@property (nonatomic, copy) NSString *stringRepresentation; - -/** - Tests if a hashtag is valid. - - A valid hashtag matches the regular expression "#\w+": A single '#' followed by one or more - word characters. - @return YES if the hashtag is valid, NO otherwise. - */ -@property (nonatomic, readonly, getter = isValid, assign) BOOL valid; - -/** - Compares the receiver to another hashtag. - @param hashtag The other hashtag - @return YES if the receiver is equal to the other hashtag; otherwise NO - */ -- (BOOL)isEqualToHashtag:(FBSDKHashtag *)hashtag; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKMessageDialog.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKMessageDialog.h deleted file mode 100644 index db2459e..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKMessageDialog.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - A dialog for sharing content through Messenger. - - SUPPORTED SHARE TYPES - - FBSDKShareLinkContent - - UNSUPPORTED SHARE TYPES (DEPRECATED AUGUST 2018) - - FBSDKShareOpenGraphContent - - FBSDKSharePhotoContent - - FBSDKShareVideoContent - - FBSDKShareMessengerOpenGraphMusicTemplateContent - - FBSDKShareMessengerMediaTemplateContent - - FBSDKShareMessengerGenericTemplateContent - - Any other types that are not one of the four supported types listed above - */ -NS_SWIFT_NAME(MessageDialog) -@interface FBSDKMessageDialog : NSObject - -/** - Convenience initializer to return a Message Share Dialog with content and a delegate. - @param content The content to be shared. - @param delegate The receiver's delegate. - */ -- (instancetype)initWithContent:(nullable id)content - delegate:(nullable id)delegate; - -/** - Convenience method to return a Message Share Dialog with content and a delegate. - @param content The content to be shared. - @param delegate The receiver's delegate. - */ -+ (instancetype)dialogWithContent:(nullable id)content - delegate:(nullable id)delegate - NS_SWIFT_UNAVAILABLE("Use init(content:delegate:) instead"); - -/** - Convenience method to show a Message Share Dialog with content and a delegate. - @param content The content to be shared. - @param delegate The receiver's delegate. - */ -+ (instancetype)showWithContent:(nullable id)content - delegate:(nullable id)delegate - NS_SWIFT_UNAVAILABLE("Use init(content:delegate:).show() instead"); - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKSendButton.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKSendButton.h deleted file mode 100644 index 4ab6ed6..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKSendButton.h +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -#import -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - A button to send content through Messenger. - - Tapping the receiver will invoke the FBSDKShareDialog with the attached shareContent. If the dialog cannot - be shown, the button will be disable. - */ -NS_SWIFT_NAME(FBSendButton) -@interface FBSDKSendButton : FBSDKButton - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKShareButton.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKShareButton.h deleted file mode 100644 index 4e82dc9..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKShareButton.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - A button to share content. - - Tapping the receiver will invoke the FBSDKShareDialog with the attached shareContent. If the dialog cannot - be shown, the button will be disabled. - */ -NS_SWIFT_NAME(FBShareButton) -@interface FBSDKShareButton : FBSDKButton - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKShareCameraEffectContent.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKShareCameraEffectContent.h deleted file mode 100644 index 9aec18f..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKShareCameraEffectContent.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -#import -#import -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wdeprecated-declarations" -/** - A model for content to share with a Facebook camera effect. - */ -NS_SWIFT_NAME(ShareCameraEffectContent) -@interface FBSDKShareCameraEffectContent : NSObject -#pragma clang diagnostic pop - -/** - ID of the camera effect to use. - */ -@property (nonatomic, copy) NSString *effectID; - -/** - Arguments for the effect. - */ -@property (nonatomic, copy) FBSDKCameraEffectArguments *effectArguments; - -/** - Textures for the effect. - */ -@property (nonatomic, copy) FBSDKCameraEffectTextures *effectTextures; - -/** - Compares the receiver to another camera effect content. - @param content The other content - @return YES if the receiver's values are equal to the other content's values; otherwise NO - */ -- (BOOL)isEqualToShareCameraEffectContent:(FBSDKShareCameraEffectContent *)content; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKShareConstants.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKShareConstants.h deleted file mode 100644 index c03c936..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKShareConstants.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - The error domain for all errors from FBSDKShareKit. - - Error codes from the SDK in the range 200-299 are reserved for this domain. - */ -FOUNDATION_EXPORT NSErrorDomain const FBSDKShareErrorDomain -NS_SWIFT_NAME(ShareErrorDomain); - -#ifndef NS_ERROR_ENUM - #define NS_ERROR_ENUM(_domain, _name) \ - enum _name : NSInteger _name; \ - enum __attribute__((ns_error_domain(_domain))) _name: NSInteger -#endif - -/** - FBSDKShareError - Error codes for FBSDKShareErrorDomain. - */ -typedef NS_ERROR_ENUM (FBSDKShareErrorDomain, FBSDKShareError) -{ - /** - Reserved. - */ - FBSDKShareErrorReserved = 200, - - /** - The error code for errors from uploading open graph objects. - */ - FBSDKShareErrorOpenGraph, - - /** - The error code for when a sharing dialog is not available. - - Use the canShare methods to check for this case before calling show. - */ - FBSDKShareErrorDialogNotAvailable, - - /** - @The error code for unknown errors. - */ - FBSDKShareErrorUnknown, -} NS_SWIFT_NAME(ShareError); - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKShareDialog.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKShareDialog.h deleted file mode 100644 index 646e6f2..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKShareDialog.h +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if TARGET_OS_TV - -// This is an unfortunate hack for Swift Package Manager support. -// SPM does not allow us to conditionally exclude Swift files for compilation by platform. -// -// So to support tvOS with SPM we need to use runtime availability checks in the Swift files. -// This means that even though the Swift extension of ShareDialog will never be run for tvOS -// targets, it still needs to be able to compile. Hence we need to declare it here. -// -// The way to fix this is to remove extensions of ObjC types in Swift. - -NS_SWIFT_NAME(ShareDialog) -@interface FBSDKShareDialog : NSObject -@end - -#else - - #import - - #import - #import - #import - -NS_ASSUME_NONNULL_BEGIN - -/** - A dialog for sharing content on Facebook. - */ -NS_SWIFT_NAME(ShareDialog) -@interface FBSDKShareDialog : NSObject - -- (instancetype)init NS_UNAVAILABLE - DEPRECATED_MSG_ATTRIBUTE("`init` is deprecated and will be removed in the next major release. Please use one of the other available initializers"); -+ (instancetype)new NS_UNAVAILABLE - DEPRECATED_MSG_ATTRIBUTE("`new` is deprecated and will be removed in the next major release. Please use one of the other available initializers"); - -/** - Convenience initializer to initialize an `FBSDKShareDialog` with a view controller, content and delegate. - @param viewController A view controller from which to present the dialog, if appropriate. - @param content The content to be shared. - @param delegate The dialog's delegate. - */ -- (instancetype)initWithViewController:(nullable UIViewController *)viewController - content:(nullable id)content - delegate:(nullable id)delegate; - -/** - Convenience method to create an `FBSDKShareDialog` with a view controller, content and delegate. - @param viewController A view controller from which to present the dialog, if appropriate. - @param content The content to be shared. - @param delegate The dialog's delegate. - */ -+ (instancetype)dialogWithViewController:(nullable UIViewController *)viewController - withContent:(nullable id)content - delegate:(nullable id)delegate - NS_SWIFT_UNAVAILABLE("Use `init(viewController:content:delegate:)"); - -/** - Convenience method to show an `FBSDKShareDialog` with a view controller, content and delegate. - @param viewController A view controller from which to present the dialog, if appropriate. - @param content The content to be shared. - @param delegate The dialog's delegate. - */ -+ (instancetype)showFromViewController:(nullable UIViewController *)viewController - withContent:(nullable id)content - delegate:(nullable id)delegate - NS_SWIFT_UNAVAILABLE("Use init(viewController:content:delegate:).show() instead"); - -/** - A UIViewController from which to present the dialog. - - If not specified, the topmost view controller will be automatically determined as best as possible. - */ -@property (nonatomic, weak) UIViewController *fromViewController; - -/** - The mode with which to display the dialog. - - Defaults to `FBSDKShareDialogModeAutomatic`, which will automatically choose the best available mode. - */ -@property (nonatomic, assign) FBSDKShareDialogMode mode; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKShareDialogMode.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKShareDialogMode.h deleted file mode 100644 index 68a8684..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKShareDialogMode.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - NS_ENUM(NSUInteger, FBSDKShareDialogMode) - Modes for the FBSDKShareDialog. - - The automatic mode will progressively check the availability of different modes and open the most - appropriate mode for the dialog that is available. - */ -typedef NS_ENUM(NSUInteger, FBSDKShareDialogMode) { - /** - Acts with the most appropriate mode that is available. - */ - FBSDKShareDialogModeAutomatic = 0, - /** - @Displays the dialog in the main native Facebook app. - */ - FBSDKShareDialogModeNative, - /** - @Displays the dialog in the iOS integrated share sheet. - */ - FBSDKShareDialogModeShareSheet, - /** - @Displays the dialog in Safari. - */ - FBSDKShareDialogModeBrowser, - /** - @Displays the dialog in a WKWebView within the app. - */ - FBSDKShareDialogModeWeb, - /** - @Displays the feed dialog in Safari. - */ - FBSDKShareDialogModeFeedBrowser, - /** - @Displays the feed dialog in a WKWebView within the app. - */ - FBSDKShareDialogModeFeedWeb, -} NS_SWIFT_NAME(ShareDialog.Mode); - -/** - Converts an FBSDKShareDialogMode to an NSString. - */ -FOUNDATION_EXPORT NSString *NSStringFromFBSDKShareDialogMode(FBSDKShareDialogMode dialogMode) -NS_REFINED_FOR_SWIFT; - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKShareKit-Swift.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKShareKit-Swift.h deleted file mode 100644 index 94e1480..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKShareKit-Swift.h +++ /dev/null @@ -1,430 +0,0 @@ -#if 0 -#elif defined(__arm64__) && __arm64__ -// Generated by Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -#ifndef FBSDKSHAREKIT_SWIFT_H -#define FBSDKSHAREKIT_SWIFT_H -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wgcc-compat" - -#if !defined(__has_include) -# define __has_include(x) 0 -#endif -#if !defined(__has_attribute) -# define __has_attribute(x) 0 -#endif -#if !defined(__has_feature) -# define __has_feature(x) 0 -#endif -#if !defined(__has_warning) -# define __has_warning(x) 0 -#endif - -#if __has_include() -# include -#endif - -#pragma clang diagnostic ignored "-Wauto-import" -#include -#include -#include -#include - -#if !defined(SWIFT_TYPEDEFS) -# define SWIFT_TYPEDEFS 1 -# if __has_include() -# include -# elif !defined(__cplusplus) -typedef uint_least16_t char16_t; -typedef uint_least32_t char32_t; -# endif -typedef float swift_float2 __attribute__((__ext_vector_type__(2))); -typedef float swift_float3 __attribute__((__ext_vector_type__(3))); -typedef float swift_float4 __attribute__((__ext_vector_type__(4))); -typedef double swift_double2 __attribute__((__ext_vector_type__(2))); -typedef double swift_double3 __attribute__((__ext_vector_type__(3))); -typedef double swift_double4 __attribute__((__ext_vector_type__(4))); -typedef int swift_int2 __attribute__((__ext_vector_type__(2))); -typedef int swift_int3 __attribute__((__ext_vector_type__(3))); -typedef int swift_int4 __attribute__((__ext_vector_type__(4))); -typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); -typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); -typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); -#endif - -#if !defined(SWIFT_PASTE) -# define SWIFT_PASTE_HELPER(x, y) x##y -# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) -#endif -#if !defined(SWIFT_METATYPE) -# define SWIFT_METATYPE(X) Class -#endif -#if !defined(SWIFT_CLASS_PROPERTY) -# if __has_feature(objc_class_property) -# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ -# else -# define SWIFT_CLASS_PROPERTY(...) -# endif -#endif - -#if __has_attribute(objc_runtime_name) -# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) -#else -# define SWIFT_RUNTIME_NAME(X) -#endif -#if __has_attribute(swift_name) -# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) -#else -# define SWIFT_COMPILE_NAME(X) -#endif -#if __has_attribute(objc_method_family) -# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) -#else -# define SWIFT_METHOD_FAMILY(X) -#endif -#if __has_attribute(noescape) -# define SWIFT_NOESCAPE __attribute__((noescape)) -#else -# define SWIFT_NOESCAPE -#endif -#if __has_attribute(ns_consumed) -# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) -#else -# define SWIFT_RELEASES_ARGUMENT -#endif -#if __has_attribute(warn_unused_result) -# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) -#else -# define SWIFT_WARN_UNUSED_RESULT -#endif -#if __has_attribute(noreturn) -# define SWIFT_NORETURN __attribute__((noreturn)) -#else -# define SWIFT_NORETURN -#endif -#if !defined(SWIFT_CLASS_EXTRA) -# define SWIFT_CLASS_EXTRA -#endif -#if !defined(SWIFT_PROTOCOL_EXTRA) -# define SWIFT_PROTOCOL_EXTRA -#endif -#if !defined(SWIFT_ENUM_EXTRA) -# define SWIFT_ENUM_EXTRA -#endif -#if !defined(SWIFT_CLASS) -# if __has_attribute(objc_subclassing_restricted) -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# else -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# endif -#endif -#if !defined(SWIFT_RESILIENT_CLASS) -# if __has_attribute(objc_class_stub) -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) -# else -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) -# endif -#endif - -#if !defined(SWIFT_PROTOCOL) -# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -#endif - -#if !defined(SWIFT_EXTENSION) -# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) -#endif - -#if !defined(OBJC_DESIGNATED_INITIALIZER) -# if __has_attribute(objc_designated_initializer) -# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) -# else -# define OBJC_DESIGNATED_INITIALIZER -# endif -#endif -#if !defined(SWIFT_ENUM_ATTR) -# if defined(__has_attribute) && __has_attribute(enum_extensibility) -# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) -# else -# define SWIFT_ENUM_ATTR(_extensibility) -# endif -#endif -#if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# if __has_feature(generalized_swift_name) -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# else -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) -# endif -#endif -#if !defined(SWIFT_UNAVAILABLE) -# define SWIFT_UNAVAILABLE __attribute__((unavailable)) -#endif -#if !defined(SWIFT_UNAVAILABLE_MSG) -# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) -#endif -#if !defined(SWIFT_AVAILABILITY) -# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) -#endif -#if !defined(SWIFT_WEAK_IMPORT) -# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) -#endif -#if !defined(SWIFT_DEPRECATED) -# define SWIFT_DEPRECATED __attribute__((deprecated)) -#endif -#if !defined(SWIFT_DEPRECATED_MSG) -# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) -#endif -#if __has_feature(attribute_diagnose_if_objc) -# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) -#else -# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) -#endif -#if !defined(IBSegueAction) -# define IBSegueAction -#endif -#if __has_feature(modules) -#if __has_warning("-Watimport-in-framework-header") -#pragma clang diagnostic ignored "-Watimport-in-framework-header" -#endif -#endif - -#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" -#pragma clang diagnostic ignored "-Wduplicate-method-arg" -#if __has_warning("-Wpragma-clang-attribute") -# pragma clang diagnostic ignored "-Wpragma-clang-attribute" -#endif -#pragma clang diagnostic ignored "-Wunknown-pragmas" -#pragma clang diagnostic ignored "-Wnullability" - -#if __has_attribute(external_source_symbol) -# pragma push_macro("any") -# undef any -# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKShareKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) -# pragma pop_macro("any") -#endif - -#if __has_attribute(external_source_symbol) -# pragma clang attribute pop -#endif -#pragma clang diagnostic pop -#endif - -#elif defined(__ARM_ARCH_7A__) && __ARM_ARCH_7A__ -// Generated by Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -#ifndef FBSDKSHAREKIT_SWIFT_H -#define FBSDKSHAREKIT_SWIFT_H -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wgcc-compat" - -#if !defined(__has_include) -# define __has_include(x) 0 -#endif -#if !defined(__has_attribute) -# define __has_attribute(x) 0 -#endif -#if !defined(__has_feature) -# define __has_feature(x) 0 -#endif -#if !defined(__has_warning) -# define __has_warning(x) 0 -#endif - -#if __has_include() -# include -#endif - -#pragma clang diagnostic ignored "-Wauto-import" -#include -#include -#include -#include - -#if !defined(SWIFT_TYPEDEFS) -# define SWIFT_TYPEDEFS 1 -# if __has_include() -# include -# elif !defined(__cplusplus) -typedef uint_least16_t char16_t; -typedef uint_least32_t char32_t; -# endif -typedef float swift_float2 __attribute__((__ext_vector_type__(2))); -typedef float swift_float3 __attribute__((__ext_vector_type__(3))); -typedef float swift_float4 __attribute__((__ext_vector_type__(4))); -typedef double swift_double2 __attribute__((__ext_vector_type__(2))); -typedef double swift_double3 __attribute__((__ext_vector_type__(3))); -typedef double swift_double4 __attribute__((__ext_vector_type__(4))); -typedef int swift_int2 __attribute__((__ext_vector_type__(2))); -typedef int swift_int3 __attribute__((__ext_vector_type__(3))); -typedef int swift_int4 __attribute__((__ext_vector_type__(4))); -typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); -typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); -typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); -#endif - -#if !defined(SWIFT_PASTE) -# define SWIFT_PASTE_HELPER(x, y) x##y -# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) -#endif -#if !defined(SWIFT_METATYPE) -# define SWIFT_METATYPE(X) Class -#endif -#if !defined(SWIFT_CLASS_PROPERTY) -# if __has_feature(objc_class_property) -# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ -# else -# define SWIFT_CLASS_PROPERTY(...) -# endif -#endif - -#if __has_attribute(objc_runtime_name) -# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) -#else -# define SWIFT_RUNTIME_NAME(X) -#endif -#if __has_attribute(swift_name) -# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) -#else -# define SWIFT_COMPILE_NAME(X) -#endif -#if __has_attribute(objc_method_family) -# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) -#else -# define SWIFT_METHOD_FAMILY(X) -#endif -#if __has_attribute(noescape) -# define SWIFT_NOESCAPE __attribute__((noescape)) -#else -# define SWIFT_NOESCAPE -#endif -#if __has_attribute(ns_consumed) -# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) -#else -# define SWIFT_RELEASES_ARGUMENT -#endif -#if __has_attribute(warn_unused_result) -# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) -#else -# define SWIFT_WARN_UNUSED_RESULT -#endif -#if __has_attribute(noreturn) -# define SWIFT_NORETURN __attribute__((noreturn)) -#else -# define SWIFT_NORETURN -#endif -#if !defined(SWIFT_CLASS_EXTRA) -# define SWIFT_CLASS_EXTRA -#endif -#if !defined(SWIFT_PROTOCOL_EXTRA) -# define SWIFT_PROTOCOL_EXTRA -#endif -#if !defined(SWIFT_ENUM_EXTRA) -# define SWIFT_ENUM_EXTRA -#endif -#if !defined(SWIFT_CLASS) -# if __has_attribute(objc_subclassing_restricted) -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# else -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# endif -#endif -#if !defined(SWIFT_RESILIENT_CLASS) -# if __has_attribute(objc_class_stub) -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) -# else -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) -# endif -#endif - -#if !defined(SWIFT_PROTOCOL) -# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -#endif - -#if !defined(SWIFT_EXTENSION) -# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) -#endif - -#if !defined(OBJC_DESIGNATED_INITIALIZER) -# if __has_attribute(objc_designated_initializer) -# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) -# else -# define OBJC_DESIGNATED_INITIALIZER -# endif -#endif -#if !defined(SWIFT_ENUM_ATTR) -# if defined(__has_attribute) && __has_attribute(enum_extensibility) -# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) -# else -# define SWIFT_ENUM_ATTR(_extensibility) -# endif -#endif -#if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# if __has_feature(generalized_swift_name) -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# else -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) -# endif -#endif -#if !defined(SWIFT_UNAVAILABLE) -# define SWIFT_UNAVAILABLE __attribute__((unavailable)) -#endif -#if !defined(SWIFT_UNAVAILABLE_MSG) -# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) -#endif -#if !defined(SWIFT_AVAILABILITY) -# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) -#endif -#if !defined(SWIFT_WEAK_IMPORT) -# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) -#endif -#if !defined(SWIFT_DEPRECATED) -# define SWIFT_DEPRECATED __attribute__((deprecated)) -#endif -#if !defined(SWIFT_DEPRECATED_MSG) -# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) -#endif -#if __has_feature(attribute_diagnose_if_objc) -# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) -#else -# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) -#endif -#if !defined(IBSegueAction) -# define IBSegueAction -#endif -#if __has_feature(modules) -#if __has_warning("-Watimport-in-framework-header") -#pragma clang diagnostic ignored "-Watimport-in-framework-header" -#endif -#endif - -#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" -#pragma clang diagnostic ignored "-Wduplicate-method-arg" -#if __has_warning("-Wpragma-clang-attribute") -# pragma clang diagnostic ignored "-Wpragma-clang-attribute" -#endif -#pragma clang diagnostic ignored "-Wunknown-pragmas" -#pragma clang diagnostic ignored "-Wnullability" - -#if __has_attribute(external_source_symbol) -# pragma push_macro("any") -# undef any -# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKShareKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) -# pragma pop_macro("any") -#endif - -#if __has_attribute(external_source_symbol) -# pragma clang attribute pop -#endif -#pragma clang diagnostic pop -#endif - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKShareKit.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKShareKit.h deleted file mode 100644 index 3ed3d08..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKShareKit.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import - -#if !TARGET_OS_TV - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKShareLinkContent.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKShareLinkContent.h deleted file mode 100644 index 45fdb77..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKShareLinkContent.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - A model for status and link content to be shared. - */ -NS_SWIFT_NAME(ShareLinkContent) -@interface FBSDKShareLinkContent : NSObject - -/** - Some quote text of the link. - - If specified, the quote text will render with custom styling on top of the link. - @return The quote text of a link - */ -@property (nullable, nonatomic, copy) NSString *quote; - -/** - Compares the receiver to another link content. - @param content The other content - @return YES if the receiver's values are equal to the other content's values; otherwise NO - */ -- (BOOL)isEqualToShareLinkContent:(FBSDKShareLinkContent *)content; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKShareMediaContent.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKShareMediaContent.h deleted file mode 100644 index f44d4eb..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKShareMediaContent.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - A protocol for media content (photo or video) to be shared. - */ -NS_SWIFT_NAME(ShareMedia) -@protocol FBSDKShareMedia - -@end - -/** - A model for media content (photo or video) to be shared. - */ -NS_SWIFT_NAME(ShareMediaContent) -@interface FBSDKShareMediaContent : NSObject - -/** - Media to be shared. - @return Array of the media (FBSDKSharePhoto or FBSDKShareVideo) - */ -@property (nonatomic, copy) NSArray> *media; - -/** - Compares the receiver to another media content. - @param content The other content - @return YES if the receiver's values are equal to the other content's values; otherwise NO - */ -- (BOOL)isEqualToShareMediaContent:(FBSDKShareMediaContent *)content; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKSharePhoto.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKSharePhoto.h deleted file mode 100644 index 55f788e..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKSharePhoto.h +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -@class PHAsset; - -/** - A photo for sharing. - */ -NS_SWIFT_NAME(SharePhoto) -@interface FBSDKSharePhoto : NSObject - -/** - Convenience method to build a new photo object with an image. - @param image If the photo is resident in memory, this method supplies the data - @param userGenerated Specifies whether the photo represented by the receiver was generated by the user or by the - application - */ -+ (instancetype)photoWithImage:(UIImage *)image userGenerated:(BOOL)userGenerated; - -/** - Convenience method to build a new photo object with an imageURL. - @param imageURL The URL to the photo - @param userGenerated Specifies whether the photo represented by the receiver was generated by the user or by the - application - - This method should only be used when adding photo content to open graph stories. - For example, if you're trying to share a photo from the web by itself, download the image and use - `photoWithImage:userGenerated:` instead. - */ -+ (instancetype)photoWithImageURL:(NSURL *)imageURL userGenerated:(BOOL)userGenerated; - -/** - Convenience method to build a new photo object with a PHAsset. - - Parameter photoAsset: The PHAsset that represents the photo in the Photos library. - - Parameter userGenerated: Specifies whether the photo represented by the receiver was generated by the user or by the - application - */ -+ (instancetype)photoWithPhotoAsset:(PHAsset *)photoAsset userGenerated:(BOOL)userGenerated; - -/** - If the photo is resident in memory, this method supplies the data. - @return UIImage representation of the photo - */ -@property (nullable, nonatomic, strong) UIImage *image; - -/** - The URL to the photo. - @return URL that points to a network location or the location of the photo on disk - */ -@property (nullable, nonatomic, copy) NSURL *imageURL; - -/** - The representation of the photo in the Photos library. - - Returns: PHAsset that represents the photo in the Photos library. - */ -@property (nullable, nonatomic, copy) PHAsset *photoAsset; - -/** - Specifies whether the photo represented by the receiver was generated by the user or by the application. - @return YES if the photo is user-generated, otherwise NO - */ -@property (nonatomic, getter = isUserGenerated, assign) BOOL userGenerated; - -/** - The user generated caption for the photo. Note that the 'caption' must come from - * the user, as pre-filled content is forbidden by the Platform Policies (2.3). - @return the Photo's caption if exists else returns null. - */ -@property (nullable, nonatomic, copy) NSString *caption; - -/** - Compares the receiver to another photo. - @param photo The other photo - @return YES if the receiver's values are equal to the other photo's values; otherwise NO - */ -- (BOOL)isEqualToSharePhoto:(FBSDKSharePhoto *)photo; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKSharePhotoContent.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKSharePhotoContent.h deleted file mode 100644 index 03872b5..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKSharePhotoContent.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -@class FBSDKSharePhoto; - -/** - A model for photo content to be shared. - */ -NS_SWIFT_NAME(SharePhotoContent) -@interface FBSDKSharePhotoContent : NSObject - -/** - Photos to be shared. - @return Array of the photos (FBSDKSharePhoto) - */ -@property (nonatomic, copy) NSArray *photos; - -/** - Compares the receiver to another photo content. - @param content The other content - @return YES if the receiver's values are equal to the other content's values; otherwise NO - */ -- (BOOL)isEqualToSharePhotoContent:(FBSDKSharePhotoContent *)content; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKShareVideo.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKShareVideo.h deleted file mode 100644 index afc204a..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKShareVideo.h +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import -#import - -#import -#import -#import -NS_ASSUME_NONNULL_BEGIN - -@class FBSDKSharePhoto; -@class PHAsset; - -/** - A video for sharing. - */ -NS_SWIFT_NAME(ShareVideo) -@interface FBSDKShareVideo : NSObject - -/** - Convenience method to build a new video object from raw data. - - Parameter data: The NSData object that holds the raw video data. - */ -+ (instancetype)videoWithData:(NSData *)data; - -/** - Convenience method to build a new video object with NSData and a previewPhoto. - - Parameter data: The NSData object that holds the raw video data. - - Parameter previewPhoto: The photo that represents the video. - */ -+ (instancetype)videoWithData:(NSData *)data previewPhoto:(FBSDKSharePhoto *)previewPhoto; - -/** - Convenience method to build a new video object with a PHAsset. - @param videoAsset The PHAsset that represents the video in the Photos library. - */ -+ (instancetype)videoWithVideoAsset:(PHAsset *)videoAsset; - -/** - Convenience method to build a new video object with a PHAsset and a previewPhoto. - @param videoAsset The PHAsset that represents the video in the Photos library. - @param previewPhoto The photo that represents the video. - */ -+ (instancetype)videoWithVideoAsset:(PHAsset *)videoAsset previewPhoto:(FBSDKSharePhoto *)previewPhoto; - -/** - Convenience method to build a new video object with a videoURL. - @param videoURL The URL to the video. - */ -+ (instancetype)videoWithVideoURL:(NSURL *)videoURL; - -/** - Convenience method to build a new video object with a videoURL and a previewPhoto. - @param videoURL The URL to the video. - @param previewPhoto The photo that represents the video. - */ -+ (instancetype)videoWithVideoURL:(NSURL *)videoURL previewPhoto:(FBSDKSharePhoto *)previewPhoto; - -/** - The raw video data. - - Returns: The video data. - */ -@property (nullable, nonatomic, strong) NSData *data; - -/** - The representation of the video in the Photos library. - @return PHAsset that represents the video in the Photos library. - */ -@property (nullable, nonatomic, copy) PHAsset *videoAsset; - -/** - The file URL to the video. - @return URL that points to the location of the video on disk - */ -@property (nullable, nonatomic, copy) NSURL *videoURL; - -/** - The photo that represents the video. - @return The photo - */ -@property (nullable, nonatomic, copy) FBSDKSharePhoto *previewPhoto; - -/** - Compares the receiver to another video. - @param video The other video - @return YES if the receiver's values are equal to the other video's values; otherwise NO - */ -- (BOOL)isEqualToShareVideo:(FBSDKShareVideo *)video; - -@end - -@interface PHAsset (FBSDKShareVideo) - -@property (nonatomic, readonly, copy) NSURL *videoURL; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKShareVideoContent.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKShareVideoContent.h deleted file mode 100644 index 9f8967d..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKShareVideoContent.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - A model for video content to be shared. - */ -NS_SWIFT_NAME(ShareVideoContent) -@interface FBSDKShareVideoContent : NSObject - -/** - The video to be shared. - @return The video - */ -@property (nonatomic, copy) FBSDKShareVideo *video; - -/** - Compares the receiver to another video content. - @param content The other content - @return YES if the receiver's values are equal to the other content's values; otherwise NO - */ -- (BOOL)isEqualToShareVideoContent:(FBSDKShareVideoContent *)content; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKSharing.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKSharing.h deleted file mode 100644 index 369e07d..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKSharing.h +++ /dev/null @@ -1,112 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -@protocol FBSDKSharingDelegate; - -/** - The common interface for components that initiate sharing. - - @see FBSDKShareDialog - - @see FBSDKMessageDialog - */ -NS_SWIFT_NAME(Sharing) -@protocol FBSDKSharing - -/** - The receiver's delegate or nil if it doesn't have a delegate. - */ -@property (nonatomic, weak) id delegate; - -/** - The content to be shared. - */ -@property (nullable, nonatomic, copy) id shareContent; - -/** - A Boolean value that indicates whether the receiver should fail if it finds an error with the share content. - - If NO, the sharer will still be displayed without the data that was mis-configured. For example, an - invalid placeID specified on the shareContent would produce a data error. - */ -@property (nonatomic, assign) BOOL shouldFailOnDataError; - -/** - Validates the content on the receiver. - @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. - @return YES if the content is valid, otherwise NO. - */ -- (BOOL)validateWithError:(NSError **)errorRef; - -@end - -/** - The common interface for dialogs that initiate sharing. - */ -NS_SWIFT_NAME(SharingDialog) -@protocol FBSDKSharingDialog - -/** - A Boolean value that indicates whether the receiver can initiate a share. - - May return NO if the appropriate Facebook app is not installed and is required or an access token is - required but not available. This method does not validate the content on the receiver, so this can be checked before - building up the content. - - @see [FBSDKSharing validateWithError:] - @return YES if the receiver can share, otherwise NO. - */ -@property (nonatomic, readonly) BOOL canShow; - -/** - Shows the dialog. - @return YES if the receiver was able to begin sharing, otherwise NO. - */ -- (BOOL)show; - -@end - -/** - A delegate for FBSDKSharing. - - The delegate is notified with the results of the sharer as long as the application has permissions to - receive the information. For example, if the person is not signed into the containing app, the sharer may not be able - to distinguish between completion of a share and cancellation. - */ -NS_SWIFT_NAME(SharingDelegate) -@protocol FBSDKSharingDelegate - -/** - Sent to the delegate when the share completes without error or cancellation. - @param sharer The FBSDKSharing that completed. - @param results The results from the sharer. This may be nil or empty. - */ -- (void)sharer:(id)sharer didCompleteWithResults:(NSDictionary *)results; - -/** - Sent to the delegate when the sharer encounters an error. - @param sharer The FBSDKSharing that completed. - @param error The error. - */ -- (void)sharer:(id)sharer didFailWithError:(NSError *)error; - -/** - Sent to the delegate when the sharer is cancelled. - @param sharer The FBSDKSharing that completed. - */ -- (void)sharerDidCancel:(id)sharer; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKSharingButton.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKSharingButton.h deleted file mode 100644 index 5b99edf..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKSharingButton.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - The common interface for sharing buttons. - - @see FBSDKSendButton - - @see FBSDKShareButton - */ -NS_SWIFT_NAME(SharingButton) -@protocol FBSDKSharingButton - -/** - The content to be shared. - */ -@property (nullable, nonatomic, copy) id shareContent; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKSharingContent.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKSharingContent.h deleted file mode 100644 index 36ea64d..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKSharingContent.h +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -@class FBSDKHashtag; - -/** - A base interface for content to be shared. - */ -NS_SWIFT_NAME(SharingContent) -@protocol FBSDKSharingContent - -/** - URL for the content being shared. - - This URL will be checked for all link meta tags for linking in platform specific ways. See documentation - for App Links (https://developers.facebook.com/docs/applinks/) - @return URL representation of the content link - */ -@property (nonatomic, copy) NSURL *contentURL; - -/** - Hashtag for the content being shared. - @return The hashtag for the content being shared. - */ -@property (nullable, nonatomic, copy) FBSDKHashtag *hashtag; - -/** - List of IDs for taggable people to tag with this content. - See documentation for Taggable Friends - (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) - @return Array of IDs for people to tag (NSString) - */ -@property (nonatomic, copy) NSArray *peopleIDs; - -/** - The ID for a place to tag with this content. - @return The ID for the place to tag - */ -@property (nullable, nonatomic, copy) NSString *placeID; - -/** - A value to be added to the referrer URL when a person follows a link from this shared content on feed. - @return The ref for the content. - */ -@property (nullable, nonatomic, copy) NSString *ref; - -/** - For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. - @return The ID of the Facebook page this share is associated with. - */ -@property (nullable, nonatomic, copy) NSString *pageID; - -/** - A unique identifier for a share involving this content, useful for tracking purposes. - @return A unique string identifying this share data. - */ -@property (nullable, nonatomic, readonly, copy) NSString *shareUUID; - -/** - Adds content to an existing dictionary as key/value pairs and returns the - updated dictionary - @param existingParameters An immutable dictionary of existing values - @param bridgeOptions The options for bridging - @return A new dictionary with the modified contents - */ - -// UNCRUSTIFY_FORMAT_OFF -- (NSDictionary *)addParameters:(NSDictionary *)existingParameters - bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions -NS_SWIFT_NAME(addParameters(_:options:)); -// UNCRUSTIFY_FORMAT_ON - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKSharingScheme.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKSharingScheme.h deleted file mode 100644 index 116bdfd..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKSharingScheme.h +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - A base interface for indicating a custom URL scheme - */ -DEPRECATED_MSG_ATTRIBUTE("`SharingScheme` is deprecated and will be removed in the next major release") -NS_SWIFT_NAME(SharingScheme) -@protocol FBSDKSharingScheme - -/** - Asks the receiver to provide a custom scheme. - @param mode The intended dialog mode for sharing the content. - @return A custom URL scheme to use for the specified mode, or nil. - */ -- (nullable NSString *)schemeForMode:(FBSDKShareDialogMode)mode - DEPRECATED_MSG_ATTRIBUTE("`SharingScheme` is deprecated and will be removed in the next major release"); - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKSharingValidation.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKSharingValidation.h deleted file mode 100644 index 40f84a2..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Headers/FBSDKSharingValidation.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Flags to indicate support for newer bridge options beyond the initial 20130410 implementation. - */ -typedef NS_OPTIONS(NSUInteger, FBSDKShareBridgeOptions) { - FBSDKShareBridgeOptionsDefault = 0, - FBSDKShareBridgeOptionsPhotoAsset = 1 << 0, - FBSDKShareBridgeOptionsPhotoImageURL = 1 << 1, // if set, a web-based URL is required; asset, image, and imageURL.isFileURL not allowed - FBSDKShareBridgeOptionsVideoAsset = 1 << 2, - FBSDKShareBridgeOptionsVideoData = 1 << 3, - FBSDKShareBridgeOptionsWebHashtag = 1 << 4, // if set, pass the hashtag as a string value, not an array of one string -} NS_SWIFT_NAME(ShareBridgeOptions); - -/** - A base interface for validation of content and media. - */ -NS_SWIFT_NAME(SharingValidation) -@protocol FBSDKSharingValidation - -/** - Asks the receiver to validate that its content or media values are valid. - - Parameter errorRef: Optional, will receive an FBSDKShareError if the values are not valid. - - Returns: YES if the receiver's values are valid; otherwise NO - */ -- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError *__autoreleasing *)errorRef; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Info.plist b/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Info.plist deleted file mode 100644 index 5adf742..0000000 Binary files a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Info.plist and /dev/null differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm.swiftdoc deleted file mode 100644 index 9fb5949..0000000 Binary files a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm.swiftdoc and /dev/null differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm.swiftinterface deleted file mode 100644 index cf95983..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm.swiftinterface +++ /dev/null @@ -1,17 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -// swift-module-flags: -target armv7-apple-ios10.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKShareKit -@_exported import FBSDKShareKit -import Swift -@available(tvOS, unavailable) -extension ShareDialog.Mode : Swift.CustomStringConvertible { - public var description: Swift.String { - get - } -} -@available(tvOS, unavailable) -extension AppGroupPrivacy : Swift.CustomStringConvertible { - public var description: Swift.String { - get - } -} diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios.swiftdoc deleted file mode 100644 index 35bca60..0000000 Binary files a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios.swiftdoc and /dev/null differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios.swiftinterface deleted file mode 100644 index d76e7ef..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios.swiftinterface +++ /dev/null @@ -1,17 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -// swift-module-flags: -target arm64-apple-ios10.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKShareKit -@_exported import FBSDKShareKit -import Swift -@available(tvOS, unavailable) -extension ShareDialog.Mode : Swift.CustomStringConvertible { - public var description: Swift.String { - get - } -} -@available(tvOS, unavailable) -extension AppGroupPrivacy : Swift.CustomStringConvertible { - public var description: Swift.String { - get - } -} diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftdoc deleted file mode 100644 index 35bca60..0000000 Binary files a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftdoc and /dev/null differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftinterface deleted file mode 100644 index d76e7ef..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftinterface +++ /dev/null @@ -1,17 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -// swift-module-flags: -target arm64-apple-ios10.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKShareKit -@_exported import FBSDKShareKit -import Swift -@available(tvOS, unavailable) -extension ShareDialog.Mode : Swift.CustomStringConvertible { - public var description: Swift.String { - get - } -} -@available(tvOS, unavailable) -extension AppGroupPrivacy : Swift.CustomStringConvertible { - public var description: Swift.String { - get - } -} diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/armv7-apple-ios.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/armv7-apple-ios.swiftdoc deleted file mode 100644 index 9fb5949..0000000 Binary files a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/armv7-apple-ios.swiftdoc and /dev/null differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/armv7-apple-ios.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/armv7-apple-ios.swiftinterface deleted file mode 100644 index cf95983..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/armv7-apple-ios.swiftinterface +++ /dev/null @@ -1,17 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -// swift-module-flags: -target armv7-apple-ios10.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKShareKit -@_exported import FBSDKShareKit -import Swift -@available(tvOS, unavailable) -extension ShareDialog.Mode : Swift.CustomStringConvertible { - public var description: Swift.String { - get - } -} -@available(tvOS, unavailable) -extension AppGroupPrivacy : Swift.CustomStringConvertible { - public var description: Swift.String { - get - } -} diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/armv7.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/armv7.swiftdoc deleted file mode 100644 index 9fb5949..0000000 Binary files a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/armv7.swiftdoc and /dev/null differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/armv7.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/armv7.swiftinterface deleted file mode 100644 index cf95983..0000000 --- a/src/ios/EmbeddedFrameworks/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/armv7.swiftinterface +++ /dev/null @@ -1,17 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -// swift-module-flags: -target armv7-apple-ios10.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKShareKit -@_exported import FBSDKShareKit -import Swift -@available(tvOS, unavailable) -extension ShareDialog.Mode : Swift.CustomStringConvertible { - public var description: Swift.String { - get - } -} -@available(tvOS, unavailable) -extension AppGroupPrivacy : Swift.CustomStringConvertible { - public var description: Swift.String { - get - } -} diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/Info.plist b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/Info.plist new file mode 100644 index 0000000..e6858ee --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/Info.plist @@ -0,0 +1,82 @@ + + + + + AvailableLibraries + + + LibraryIdentifier + ios-arm64 + LibraryPath + FBSDKShareKit.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + + + LibraryIdentifier + tvos-arm64_x86_64-simulator + LibraryPath + FBSDKShareKit.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + tvos + SupportedPlatformVariant + simulator + + + LibraryIdentifier + tvos-arm64 + LibraryPath + FBSDKShareKit.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + tvos + + + LibraryIdentifier + ios-arm64_x86_64-simulator + LibraryPath + FBSDKShareKit.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + LibraryIdentifier + ios-arm64_x86_64-maccatalyst + LibraryPath + FBSDKShareKit.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + maccatalyst + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/LICENSE b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/LICENSE new file mode 100644 index 0000000..2eecb62 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/LICENSE @@ -0,0 +1,17 @@ +Copyright (c) Meta Platforms, Inc. and affiliates. 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 Platform Policy +[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. diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64/FBSDKShareKit.framework/FBSDKShareKit b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64/FBSDKShareKit.framework/FBSDKShareKit new file mode 100644 index 0000000..630cc20 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64/FBSDKShareKit.framework/FBSDKShareKit differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64/FBSDKShareKit.framework/Headers/FBSDKShareBridgeOptions.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64/FBSDKShareKit.framework/Headers/FBSDKShareBridgeOptions.h new file mode 100644 index 0000000..02dcbb2 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64/FBSDKShareKit.framework/Headers/FBSDKShareBridgeOptions.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Flags to indicate support for newer bridge options beyond the initial 20130410 implementation. +typedef NS_OPTIONS(NSUInteger, FBSDKShareBridgeOptions) { + FBSDKShareBridgeOptionsDefault = 0, + FBSDKShareBridgeOptionsPhotoAsset = 1 << 0, + FBSDKShareBridgeOptionsPhotoImageURL = 1 << 1, // if set, a web-based URL is required; asset, image, and imageURL.isFileURL not allowed + FBSDKShareBridgeOptionsVideoAsset = 1 << 2, + FBSDKShareBridgeOptionsVideoData = 1 << 3, + FBSDKShareBridgeOptionsWebHashtag = 1 << 4, // if set, pass the hashtag as a string value, not an array of one string +} NS_SWIFT_NAME(ShareBridgeOptions); + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64/FBSDKShareKit.framework/Headers/FBSDKShareErrorDomain.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64/FBSDKShareKit.framework/Headers/FBSDKShareErrorDomain.h new file mode 100644 index 0000000..a4dfe60 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64/FBSDKShareKit.framework/Headers/FBSDKShareErrorDomain.h @@ -0,0 +1,20 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + The error domain for all errors from FBSDKShareKit. + + Error codes from the SDK in the range 200-299 are reserved for this domain. + */ +FOUNDATION_EXPORT NSErrorDomain const FBSDKShareErrorDomain; + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64/FBSDKShareKit.framework/Headers/FBSDKShareKit-Swift.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64/FBSDKShareKit.framework/Headers/FBSDKShareKit-Swift.h new file mode 100644 index 0000000..2d11a24 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64/FBSDKShareKit.framework/Headers/FBSDKShareKit-Swift.h @@ -0,0 +1,959 @@ +// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +#ifndef FBSDKSHAREKIT_SWIFT_H +#define FBSDKSHAREKIT_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import CoreGraphics; +@import FBSDKCoreKit; +@import Foundation; +@import ObjectiveC; +#endif + +#import + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKShareKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + +@class NSURL; +@class NSString; +enum FBSDKAppInviteDestination : NSInteger; + +/// A model for app invite +SWIFT_CLASS_NAMED("AppInviteContent") +@interface FBSDKAppInviteContent : NSObject +/// A URL to a preview image that will be displayed with the app invite +/// This is optional. If you don’t include it a fallback image will be used. +@property (nonatomic, copy) NSURL * _Nullable appInvitePreviewImageURL; +/// An app link target that will be used as a target when the user accept the invite. +@property (nonatomic, copy) NSURL * _Nonnull appLinkURL; +/// Promotional code to be displayed while sending and receiving the invite. +/// This is optional. This can be between 0 and 10 characters long and can contain +/// alphanumeric characters only. To set a promo code, you need to set promo text. +@property (nonatomic, copy) NSString * _Nullable promotionCode; +/// Promotional text to be displayed while sending and receiving the invite. +/// This is optional. This can be between 0 and 80 characters long and can contain +/// alphanumeric and spaces only. +@property (nonatomic, copy) NSString * _Nullable promotionText; +/// Destination for the app invite. The default value is .facebook. +@property (nonatomic) enum FBSDKAppInviteDestination destination; +- (nonnull instancetype)initWithAppLinkURL:(NSURL * _Nonnull)appLinkURL OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// Specifies the privacy of a group. +typedef SWIFT_ENUM_NAMED(NSInteger, FBSDKAppInviteDestination, "Destination", open) { +/// Deliver to Facebook + FBSDKAppInviteDestinationFacebook = 0, + FBSDKAppInviteDestinationMessenger = 1, +}; + + +/// A base interface for validation of content and media. +SWIFT_PROTOCOL_NAMED("SharingValidation") +@protocol FBSDKSharingValidation +/// Asks the receiver to validate that its content or media values are valid. +/// \param options The share bridge options to use for validation. +/// +/// +/// throws: +/// If the values are not valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)options error:(NSError * _Nullable * _Nullable)error; +@end + + +@interface FBSDKAppInviteContent (SWIFT_EXTENSION(FBSDKShareKit)) +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + + +/// A container of arguments for a camera effect. +/// An argument is a String or [String] identified by a String key. +SWIFT_CLASS_NAMED("CameraEffectArguments") +@interface FBSDKCameraEffectArguments : NSObject +/// Sets a string argument in the container. +/// @param string The argument +/// @param key The key for the argument +- (void)setString:(NSString * _Nullable)string forKey:(NSString * _Nonnull)key; +/// Gets a string argument from the container. +/// @param key The key for the argument +/// @return The string value or nil +- (NSString * _Nullable)stringForKey:(NSString * _Nonnull)key SWIFT_WARN_UNUSED_RESULT; +/// Sets a string array argument in the container. +/// @param array The array argument +/// @param key The key for the argument +- (void)setArray:(NSArray * _Nullable)array forKey:(NSString * _Nonnull)key; +/// Gets an array argument from the container. +/// @param key The key for the argument +/// @return The array argument +- (NSArray * _Nullable)arrayForKey:(NSString * _Nonnull)key SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@class UIImage; + +/// A container of textures for a camera effect. +/// A texture for a camera effect is an UIImages identified by a NSString key. +SWIFT_CLASS_NAMED("CameraEffectTextures") +@interface FBSDKCameraEffectTextures : NSObject +/// Sets the image for a texture key. +/// @param image The UIImage for the texture +/// @param key The key for the texture +- (void)setImage:(UIImage * _Nullable)image forKey:(NSString * _Nonnull)key; +/// Gets the image for a texture key. +/// @param key The key for the texture +/// @return The texture UIImage or nil +- (UIImage * _Nullable)imageForKey:(NSString * _Nonnull)key SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@protocol FBSDKSharingContent; + +/// The common interface for sharing buttons. +/// See FBSendButton and FBShareButton +SWIFT_PROTOCOL_NAMED("SharingButton") SWIFT_AVAILABILITY(tvos,unavailable) +@protocol FBSDKSharingButton +/// The content to be shared. +@property (nonatomic, strong) id _Nullable shareContent; +@end + +@class FBSDKMessageDialog; +@class NSNumber; +@class NSCoder; + +/// A button to send content through Messenger. +/// Tapping the receiver will invoke the FBSDKShareDialog with the attached shareContent. If the dialog cannot +/// be shown, the button will be disable. +SWIFT_CLASS_NAMED("FBSendButton") +@interface FBSDKSendButton : FBSDKButton +@property (nonatomic, strong) FBSDKMessageDialog * _Nullable dialog; +@property (nonatomic, strong) id _Nullable shareContent; +@property (nonatomic, readonly, copy) NSDictionary * _Nullable analyticsParameters; +@property (nonatomic, readonly) FBSDKAppEventName _Nonnull impressionTrackingEventName; +@property (nonatomic, readonly, copy) NSString * _Nonnull impressionTrackingIdentifier; +@property (nonatomic, readonly, getter=isImplicitlyDisabled) BOOL implicitlyDisabled; +- (void)configureButton; +- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; +@end + + + +/// A button to share content. +/// Tapping the receiver will invoke the FBSDKShareDialog with the attached shareContent. If the dialog cannot +/// be shown, the button will be disabled. +SWIFT_CLASS_NAMED("FBShareButton") +@interface FBSDKShareButton : FBSDKButton +@property (nonatomic, strong) id _Nullable shareContent; +@property (nonatomic, readonly, copy) NSDictionary * _Nullable analyticsParameters; +@property (nonatomic, readonly) FBSDKAppEventName _Nonnull impressionTrackingEventName; +@property (nonatomic, readonly, copy) NSString * _Nonnull impressionTrackingIdentifier; +@property (nonatomic, readonly, getter=isImplicitlyDisabled) BOOL implicitlyDisabled; +- (void)configureButton; +- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; +@end + + + +/// Represents a single hashtag that can be used with the share dialog. +SWIFT_CLASS_NAMED("Hashtag") +@interface FBSDKHashtag : NSObject +/// The hashtag string. +/// You are responsible for making sure that stringRepresentation is a valid hashtag (a single ‘#’ followed by one or more +/// word characters). Invalid hashtags are ignored when sharing content. You can check validity with thevalid property. +/// @return The hashtag string +@property (nonatomic, copy) NSString * _Nonnull stringRepresentation; +- (nonnull instancetype)initWithString:(NSString * _Nonnull)string OBJC_DESIGNATED_INITIALIZER; +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// Tests if a hashtag is valid. +/// A valid hashtag matches the regular expression “#\w+”: A single ‘#’ followed by one or more word characters. +/// @return true if the hashtag is valid, false otherwise. +@property (nonatomic, readonly) BOOL isValid; +@property (nonatomic, readonly) NSUInteger hash; +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@protocol FBSDKSharingDelegate; + +/// The common interface for components that initiate sharing. +/// See ShareDialog, MessageDialog +SWIFT_PROTOCOL_NAMED("Sharing") +@protocol FBSDKSharing +/// The receiver’s delegate or nil if it doesn’t have a delegate. +@property (nonatomic, weak) id _Nullable delegate; +/// The content to be shared. +@property (nonatomic, strong) id _Nullable shareContent; +/// A boolean value that indicates whether the receiver should fail if it finds an error with the share content. +/// If false, the sharer will still be displayed without the data that was misconfigured. For example, an +/// invalid placeID specified on the shareContent would produce a data error. +@property (nonatomic) BOOL shouldFailOnDataError; +/// Validates the content on the receiver. +/// @throws An error if the content is invalid +- (BOOL)validateWithError:(NSError * _Nullable * _Nullable)error; +@end + + +/// The common interface for dialogs that initiate sharing. +SWIFT_PROTOCOL_NAMED("SharingDialog") +@protocol FBSDKSharingDialog +/// A boolean value that indicates whether the receiver can initiate a share. +/// May return false if the appropriate Facebook app is not installed and is required or an access token is +/// required but not available. This method does not validate the content on the receiver, so this can be checked before +/// building up the content. +/// See Sharing.validate(error:) +/// @return true if the receiver can share, otherwise false. +@property (nonatomic, readonly) BOOL canShow; +/// Shows the dialog. +/// @return true if the receiver was able to begin sharing, otherwise false. +- (BOOL)show; +@end + + +/// A dialog for sharing content through Messenger. +/// SUPPORTED SHARE TYPES +///
    +///
  • +/// FBSDKShareLinkContent +///
  • +///
+/// UNSUPPORTED SHARE TYPES (DEPRECATED AUGUST 2018) +///
    +///
  • +/// FBSDKShareOpenGraphContent +///
  • +///
  • +/// FBSDKSharePhotoContent +///
  • +///
  • +/// FBSDKShareVideoContent +///
  • +///
  • +/// FBSDKShareMessengerOpenGraphMusicTemplateContent +///
  • +///
  • +/// FBSDKShareMessengerMediaTemplateContent +///
  • +///
  • +/// FBSDKShareMessengerGenericTemplateContent +///
  • +///
  • +/// Any other types that are not one of the four supported types listed above +///
  • +///
+SWIFT_CLASS_NAMED("MessageDialog") +@interface FBSDKMessageDialog : NSObject +/// The receiver’s delegate or nil if it doesn’t have a delegate. +@property (nonatomic, weak) id _Nullable delegate; +/// The content to be shared. +@property (nonatomic, strong) id _Nullable shareContent; +/// A Boolean value that indicates whether the receiver should fail if it finds an error with the share content. +/// If false, the sharer will still be displayed without the data that was mis-configured. For example, an +/// invalid placeID specified on the shareContent would produce a data error. +@property (nonatomic) BOOL shouldFailOnDataError; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// Convenience initializer to return a Message Share Dialog with content and a delegate. +/// @param content The content to be shared. +/// @param delegate The receiver’s delegate. +- (nonnull instancetype)initWithContent:(id _Nullable)content delegate:(id _Nullable)delegate; +/// Convenience method to return a Message Share Dialog with content and a delegate. +/// @param content The content to be shared. +/// @param delegate The receiver’s delegate. ++ (FBSDKMessageDialog * _Nonnull)dialogWithContent:(id _Nullable)content delegate:(id _Nullable)delegate SWIFT_WARN_UNUSED_RESULT; +/// Convenience method to show a Message Share Dialog with content and a delegate. +/// @param content The content to be shared. +/// @param delegate The receiver’s delegate. ++ (FBSDKMessageDialog * _Nonnull)showWithContent:(id _Nullable)content delegate:(id _Nullable)delegate SWIFT_WARN_UNUSED_RESULT; +/// A Boolean value that indicates whether the receiver can initiate a share. +/// May return false if the appropriate Facebook app is not installed and is required or an access token is +/// required but not available. This method does not validate the content on the receiver, so this can be checked before +/// building up the content. +/// See Sharing.validate() +/// @return true if the receiver can share, otherwise false. +@property (nonatomic, readonly) BOOL canShow; +/// Shows the dialog. +/// @return true if the receiver was able to begin sharing, otherwise false. +- (BOOL)show; +/// Validates the content on the receiver. +/// @return true if the content is valid, otherwise false. +- (BOOL)validateWithError:(NSError * _Nullable * _Nullable)error; +@end + + + +/// A model for content to share with a Facebook camera effect. +SWIFT_CLASS_NAMED("ShareCameraEffectContent") +@interface FBSDKShareCameraEffectContent : NSObject +/// ID of the camera effect to use. +@property (nonatomic, copy) NSString * _Nonnull effectID; +/// Arguments for the effect. +@property (nonatomic, strong) FBSDKCameraEffectArguments * _Nonnull effectArguments; +/// Textures for the effect. +@property (nonatomic, strong) FBSDKCameraEffectTextures * _Nonnull effectTextures; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A base interface for content to be shared. +SWIFT_PROTOCOL_NAMED("SharingContent") +@protocol FBSDKSharingContent +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. +/// See documentation for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKShareCameraEffectContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + +@class UIViewController; +enum FBSDKShareDialogMode : NSUInteger; + +/// A dialog for sharing content on Facebook. +SWIFT_CLASS_NAMED("ShareDialog") +@interface FBSDKShareDialog : NSObject +/// A UIViewController from which to present the dialog. +/// If not specified, the topmost view controller will be automatically determined as best as possible. +@property (nonatomic, weak) UIViewController * _Nullable fromViewController; +/// The mode with which to display the dialog. +/// Defaults to .automatic, which will automatically choose the best available mode. +@property (nonatomic) enum FBSDKShareDialogMode mode; +/// The receiver’s delegate or nil if it doesn’t have a delegate. +@property (nonatomic, weak) id _Nullable delegate; +/// The content to be shared. +@property (nonatomic, strong) id _Nullable shareContent; +/// A Boolean value that indicates whether the receiver should fail if it finds an error with the share content. +/// If false, the sharer will still be displayed without the data that was misconfigured. For example, an +/// invalid placeID specified on the shareContent would produce a data error. +@property (nonatomic) BOOL shouldFailOnDataError; +/// Convenience initializer to initialize a ShareDialog with a view controller, content and delegate. +/// @param viewController A view controller from which to present the dialog, if appropriate. +/// @param content The content to be shared. +/// @param delegate The dialog’s delegate. +- (nonnull instancetype)initWithViewController:(UIViewController * _Nullable)viewController content:(id _Nullable)content delegate:(id _Nullable)delegate OBJC_DESIGNATED_INITIALIZER; +/// Convenience method to create a ShareDialog with a view controller, content and delegate. +/// @param viewController A view controller from which to present the dialog, if appropriate. +/// @param content The content to be shared. +/// @param delegate The dialog’s delegate. ++ (FBSDKShareDialog * _Nonnull)dialogWithViewController:(UIViewController * _Nullable)viewController withContent:(id _Nullable)content delegate:(id _Nullable)delegate SWIFT_WARN_UNUSED_RESULT; +/// Convenience method to show a ShareDialog with a view controller, content and delegate. +/// @param viewController A view controller from which to present the dialog, if appropriate. +/// @param content The content to be shared. +/// @param delegate The dialog’s delegate. ++ (FBSDKShareDialog * _Nonnull)showFromViewController:(UIViewController * _Nullable)viewController withContent:(id _Nullable)content delegate:(id _Nullable)delegate; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface FBSDKShareDialog (SWIFT_EXTENSION(FBSDKShareKit)) +@end + +/// Modes for the FBSDKShareDialog. +/// The automatic mode will progressively check the availability of different modes and open the most +/// appropriate mode for the dialog that is available. +typedef SWIFT_ENUM_NAMED(NSUInteger, FBSDKShareDialogMode, "Mode", open) { +/// Acts with the most appropriate mode that is available. + FBSDKShareDialogModeAutomatic = 0, +/// Displays the dialog in the main native Facebook app. + FBSDKShareDialogModeNative = 1, +/// Displays the dialog in the iOS integrated share sheet. + FBSDKShareDialogModeShareSheet = 2, +/// Displays the dialog in Safari. + FBSDKShareDialogModeBrowser = 3, +/// Displays the dialog in a WKWebView within the app. + FBSDKShareDialogModeWeb = 4, +/// Displays the feed dialog in Safari. + FBSDKShareDialogModeFeedBrowser = 5, +/// Displays the feed dialog in a WKWebView within the app. + FBSDKShareDialogModeFeedWeb = 6, +}; + +@class FBSDKWebDialog; + +@interface FBSDKShareDialog (SWIFT_EXTENSION(FBSDKShareKit)) +- (void)webDialog:(FBSDKWebDialog * _Nonnull)webDialog didCompleteWithResults:(NSDictionary * _Nonnull)results; +- (void)webDialog:(FBSDKWebDialog * _Nonnull)webDialog didFailWithError:(NSError * _Nonnull)error; +- (void)webDialogDidCancel:(FBSDKWebDialog * _Nonnull)webDialog; +@end + + + +@interface FBSDKShareDialog (SWIFT_EXTENSION(FBSDKShareKit)) +@property (nonatomic, readonly) BOOL canShow; +- (BOOL)show; +- (BOOL)validateWithError:(NSError * _Nullable * _Nullable)error; +@end + + +/// ShareError +/// Error codes for ShareErrorDomain. +typedef SWIFT_ENUM_NAMED(NSInteger, FBSDKShareError, "ShareError", open) { +/// Reserved + FBSDKShareErrorReserved = 200, +/// The error code for errors from uploading open graph objects. + FBSDKShareErrorOpenGraph = 201, +/// The error code for when a sharing dialog is not available. +/// Use the canShare methods to check for this case before calling show. + FBSDKShareErrorDialogNotAvailable = 202, +/// The error code for unknown errors. + FBSDKShareErrorUnknown = 203, +}; + + +/// A model for status and link content to be shared. +SWIFT_CLASS_NAMED("ShareLinkContent") +@interface FBSDKShareLinkContent : NSObject +/// Some quote text of the link. +/// If specified, the quote text will render with custom styling on top of the link. +@property (nonatomic, copy) NSString * _Nullable quote; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface FBSDKShareLinkContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKShareLinkContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Asks the receiver to validate that its content or media values are valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + +/// A protocol for media content (photo or video) to be shared. +SWIFT_PROTOCOL_NAMED("ShareMedia") +@protocol FBSDKShareMedia +@end + + +/// A model for media content (photo or video) to be shared. +SWIFT_CLASS_NAMED("ShareMediaContent") +@interface FBSDKShareMediaContent : NSObject +/// Media to be shared: an array of SharePhoto or ShareVideo +@property (nonatomic, copy) NSArray> * _Nonnull media; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface FBSDKShareMediaContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Asks the receiver to validate that its content or media values are valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + +@interface FBSDKShareMediaContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + +@class PHAsset; + +/// A photo for sharing. +SWIFT_CLASS_NAMED("SharePhoto") +@interface FBSDKSharePhoto : NSObject +/// If the photo is resident in memory, this method supplies the data. +@property (nonatomic, strong) UIImage * _Nullable image; +/// URL that points to a network location or the location of the photo on disk +@property (nonatomic, copy) NSURL * _Nullable imageURL; +/// The representation of the photo in the Photos library. +@property (nonatomic, strong) PHAsset * _Nullable photoAsset; +/// Specifies whether the photo represented by the receiver was generated by the user (true) +/// or by the application (false). +@property (nonatomic) BOOL isUserGenerated; +/// The user-generated caption for the photo. Note that the ‘caption’ must come from +/// the user, as pre-filled content is forbidden by the Platform Policies (2.3). +@property (nonatomic, copy) NSString * _Nullable caption; +/// Convenience method to build a new photo object with an image. +/// \param image If the photo is resident in memory, this method supplies the data +/// +/// \param isUserGenerated Specifies whether the photo represented by the receiver was generated by the user or by the +/// application +/// +- (nonnull instancetype)initWithImage:(UIImage * _Nonnull)image isUserGenerated:(BOOL)isUserGenerated; +/// Convenience method to build a new photo object with an imageURL. +/// This method should only be used when adding photo content to open graph stories. +/// For example, if you’re trying to share a photo from the web by itself, download the image and use +/// init(image:isUserGenerated:) instead. +/// \param imageURL The URL to the photo +/// +/// \param isUserGenerated Specifies whether the photo represented by the receiver was generated by the user or by the +/// application +/// +- (nonnull instancetype)initWithImageURL:(NSURL * _Nonnull)imageURL isUserGenerated:(BOOL)isUserGenerated; +/// Convenience method to build a new photo object with a PHAsset. +/// \param photoAsset The PHAsset that represents the photo in the Photos library. +/// +/// \param isUserGenerated Specifies whether the photo represented by the receiver was generated by the user or by +/// the application +/// +- (nonnull instancetype)initWithPhotoAsset:(PHAsset * _Nonnull)photoAsset isUserGenerated:(BOOL)isUserGenerated; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +@interface FBSDKSharePhoto (SWIFT_EXTENSION(FBSDKShareKit)) +/// Asks the receiver to validate that its content or media values are valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + + +/// A model for photo content to be shared. +SWIFT_CLASS_NAMED("SharePhotoContent") +@interface FBSDKSharePhotoContent : NSObject +/// Photos to be shared. +@property (nonatomic, copy) NSArray * _Nonnull photos; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface FBSDKSharePhotoContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKSharePhotoContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Validate that this content contains valid values +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + +@class NSData; + +/// A video for sharing. +SWIFT_CLASS_NAMED("ShareVideo") +@interface FBSDKShareVideo : NSObject +/// The raw video data. +@property (nonatomic, copy) NSData * _Nullable data; +/// The representation of the video in the Photos library. +@property (nonatomic, strong) PHAsset * _Nullable videoAsset; +/// The file URL to the video. +@property (nonatomic, copy) NSURL * _Nullable videoURL; +/// The photo that represents the video. +@property (nonatomic, strong) FBSDKSharePhoto * _Nullable previewPhoto; +/// Convenience method to build a new video object from raw data and an optional preview photo. +/// \param data The Data object that holds the raw video data. +/// +/// \param previewPhoto The photo that represents the video. +/// +- (nonnull instancetype)initWithData:(NSData * _Nonnull)data previewPhoto:(FBSDKSharePhoto * _Nullable)previewPhoto; +/// Convenience method to build a new video object from a PHAsset and an optional preview photo. +/// \param videoAsset The PHAsset that represents the video in the Photos library. +/// +/// \param previewPhoto The photo that represents the video. +/// +- (nonnull instancetype)initWithVideoAsset:(PHAsset * _Nonnull)videoAsset previewPhoto:(FBSDKSharePhoto * _Nullable)previewPhoto; +/// Convenience method to build a new video object from a URL and an optional preview photo. +/// \param videoURL The URL to the video. +/// +/// \param previewPhoto The photo that represents the video. +/// +- (nonnull instancetype)initWithVideoURL:(NSURL * _Nonnull)videoURL previewPhoto:(FBSDKSharePhoto * _Nullable)previewPhoto; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +@interface FBSDKShareVideo (SWIFT_EXTENSION(FBSDKShareKit)) +/// Asks the receiver to validate that its content or media values are valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + + +/// A model for video content to be shared. +SWIFT_CLASS_NAMED("ShareVideoContent") +@interface FBSDKShareVideoContent : NSObject +/// The video to be shared +@property (nonatomic, strong) FBSDKShareVideo * _Nonnull video; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface FBSDKShareVideoContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKShareVideoContent (SWIFT_EXTENSION(FBSDKShareKit)) +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + + + + + +/// A delegate for types conforming to the Sharing protocol. +/// The delegate is notified with the results of the sharer as long as the application has permissions to +/// receive the information. For example, if the person is not signed into the containing app, the sharer may not be able +/// to distinguish between completion of a share and cancellation. +SWIFT_PROTOCOL_NAMED("SharingDelegate") +@protocol FBSDKSharingDelegate +/// Sent to the delegate when sharing completes without error or cancellation. +/// @param sharer The sharer that completed. +/// @param results The results from the sharer. This may be nil or empty. +- (void)sharer:(id _Nonnull)sharer didCompleteWithResults:(NSDictionary * _Nonnull)results; +/// Sent to the delegate when the sharer encounters an error. +/// @param sharer The sharer that completed. +/// @param error The error. +- (void)sharer:(id _Nonnull)sharer didFailWithError:(NSError * _Nonnull)error; +/// Sent to the delegate when the sharer is cancelled. +/// @param sharer The sharer that completed. +- (void)sharerDidCancel:(id _Nonnull)sharer; +@end + + + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64/FBSDKShareKit.framework/Headers/FBSDKShareKit.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64/FBSDKShareKit.framework/Headers/FBSDKShareKit.h new file mode 100644 index 0000000..1600ab9 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64/FBSDKShareKit.framework/Headers/FBSDKShareKit.h @@ -0,0 +1,10 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64/FBSDKShareKit.framework/Info.plist b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64/FBSDKShareKit.framework/Info.plist new file mode 100644 index 0000000..a02c7c2 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64/FBSDKShareKit.framework/Info.plist differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios.swiftdoc new file mode 100644 index 0000000..c82273a Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios.swiftinterface new file mode 100644 index 0000000..c54e73d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios.swiftinterface @@ -0,0 +1,367 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKShareKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +@_exported import FBSDKShareKit +import Foundation +import Photos +import Social +import Swift +import UIKit +import _Concurrency +@objcMembers @objc(FBSDKAppInviteContent) final public class AppInviteContent : ObjectiveC.NSObject { + @objc(FBSDKAppInviteDestination) public enum Destination : Swift.Int { + case facebook + case messenger + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + } + @objc final public var appInvitePreviewImageURL: Foundation.URL? + @objc final public var appLinkURL: Foundation.URL + @objc final public var promotionCode: Swift.String? + @objc final public var promotionText: Swift.String? + @objc final public var destination: FBSDKShareKit.AppInviteContent.Destination + @objc(initWithAppLinkURL:) public init(appLinkURL: Foundation.URL) + @objc deinit +} +extension FBSDKShareKit.AppInviteContent : FBSDKShareKit.SharingValidation { + @objc final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKCameraEffectArguments) final public class CameraEffectArguments : ObjectiveC.NSObject { + @objc(setString:forKey:) final public func set(_ string: Swift.String?, forKey key: Swift.String) + @objc final public func string(forKey key: Swift.String) -> Swift.String? + @objc(setArray:forKey:) final public func set(_ array: [Swift.String]?, forKey key: Swift.String) + @objc final public func array(forKey key: Swift.String) -> [Swift.String]? + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKCameraEffectTextures) final public class CameraEffectTextures : ObjectiveC.NSObject { + @objc(setImage:forKey:) final public func set(_ image: UIKit.UIImage?, forKey key: Swift.String) + @objc(imageForKey:) final public func image(forKey key: Swift.String) -> UIKit.UIImage? + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKSendButton) @_Concurrency.MainActor(unsafe) final public class FBSendButton : FBSDKCoreKit.FBButton, FBSDKShareKit.SharingButton, FBSDKCoreKit.FBButtonImpressionLogging { + @objc @_Concurrency.MainActor(unsafe) final public var dialog: FBSDKShareKit.MessageDialog? + @_Concurrency.MainActor(unsafe) @objc final public var shareContent: FBSDKShareKit.SharingContent? { + @objc get + @objc set + } + @_Concurrency.MainActor(unsafe) @objc final public var analyticsParameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]? { + @objc get + } + @_Concurrency.MainActor(unsafe) @objc final public var impressionTrackingEventName: FBSDKCoreKit.AppEvents.Name { + @objc get + } + @_Concurrency.MainActor(unsafe) @objc final public var impressionTrackingIdentifier: Swift.String { + @objc get + } + @_Concurrency.MainActor(unsafe) @objc override final public var isImplicitlyDisabled: Swift.Bool { + @_Concurrency.MainActor(unsafe) @objc get + } + @objc @_Concurrency.MainActor(unsafe) final public func configureButton() + @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) + @_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder) + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareButton) @_Concurrency.MainActor(unsafe) final public class FBShareButton : FBSDKCoreKit.FBButton, FBSDKShareKit.SharingButton { + @_Concurrency.MainActor(unsafe) @objc final public var shareContent: FBSDKShareKit.SharingContent? { + @objc get + @objc set + } + @objc @_Concurrency.MainActor(unsafe) final public var analyticsParameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]? { + @objc get + } + @objc @_Concurrency.MainActor(unsafe) final public var impressionTrackingEventName: FBSDKCoreKit.AppEvents.Name { + @objc get + } + @objc @_Concurrency.MainActor(unsafe) final public var impressionTrackingIdentifier: Swift.String { + @objc get + } + @_Concurrency.MainActor(unsafe) @objc override final public var isImplicitlyDisabled: Swift.Bool { + @_Concurrency.MainActor(unsafe) @objc get + } + @objc @_Concurrency.MainActor(unsafe) final public func configureButton() + @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) + @_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder) + @objc deinit +} +@objcMembers @objc(FBSDKHashtag) final public class Hashtag : ObjectiveC.NSObject { + @objc final public var stringRepresentation: Swift.String + @objc(initWithString:) public init(_ string: Swift.String) + @objc override final public var description: Swift.String { + @objc get + } + @objc final public var isValid: Swift.Bool { + @objc get + } + @objc override final public var hash: Swift.Int { + @objc get + } + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKMessageDialog) public class MessageDialog : ObjectiveC.NSObject, FBSDKShareKit.SharingDialog { + @objc weak public var delegate: FBSDKShareKit.SharingDelegate? + @objc public var shareContent: FBSDKShareKit.SharingContent? + @objc public var shouldFailOnDataError: Swift.Bool + @objc(initWithContent:delegate:) convenience public init(content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) + @objc(dialogWithContent:delegate:) public static func dialog(content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.MessageDialog + @objc(showWithContent:delegate:) public static func show(content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.MessageDialog + @objc public var canShow: Swift.Bool { + @objc get + } + @discardableResult + @objc public func show() -> Swift.Bool + @objc public func validate() throws + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareCameraEffectContent) final public class ShareCameraEffectContent : ObjectiveC.NSObject { + @objc final public var effectID: Swift.String + @objc final public var effectArguments: FBSDKShareKit.CameraEffectArguments + @objc final public var effectTextures: FBSDKShareKit.CameraEffectTextures + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public var shareUUID: Swift.String? { + get + } + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareCameraEffectContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objcMembers @objc(FBSDKShareDialog) public class ShareDialog : ObjectiveC.NSObject, FBSDKShareKit.SharingDialog { + @objc weak public var fromViewController: UIKit.UIViewController? + @objc public var mode: FBSDKShareKit.ShareDialog.Mode + @objc weak public var delegate: FBSDKShareKit.SharingDelegate? + @objc public var shareContent: FBSDKShareKit.SharingContent? + @objc public var shouldFailOnDataError: Swift.Bool + @objc(initWithViewController:content:delegate:) public init(viewController: UIKit.UIViewController?, content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) + @objc deinit + @objc(dialogWithViewController:withContent:delegate:) public class func dialog(viewController: UIKit.UIViewController?, content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.ShareDialog + @discardableResult + @objc(showFromViewController:withContent:delegate:) public class func show(viewController: UIKit.UIViewController?, content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.ShareDialog +} +extension FBSDKShareKit.ShareDialog { + @objc dynamic public var canShow: Swift.Bool { + @objc get + } + @discardableResult + @objc dynamic public func show() -> Swift.Bool + @objc dynamic public func validate() throws +} +extension FBSDKShareKit.ShareDialog : FBSDKCoreKit.WebDialogDelegate { + @objc dynamic public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didCompleteWithResults results: [Swift.String : Any]) + @objc dynamic public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didFailWithError error: Swift.Error) + @objc dynamic public func webDialogDidCancel(_ webDialog: FBSDKCoreKit.WebDialog) +} +extension FBSDKShareKit.ShareDialog { + @objc(FBSDKShareDialogMode) public enum Mode : Swift.UInt, Swift.CustomStringConvertible { + case automatic + case native + case shareSheet + case browser + case web + case feedBrowser + case feedWeb + public var description: Swift.String { + get + } + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } + } +} +public let ShareErrorDomain: Swift.String +@objc(FBSDKShareError) public enum ShareError : Swift.Int { + case reserved = 200 + case openGraph + case dialogNotAvailable + case unknown + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareLinkContent) final public class ShareLinkContent : ObjectiveC.NSObject { + @objc final public var quote: Swift.String? + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareLinkContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareLinkContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objc(FBSDKShareMedia) public protocol ShareMedia { +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareMediaContent) final public class ShareMediaContent : ObjectiveC.NSObject { + @objc final public var media: [FBSDKShareKit.ShareMedia] + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareMediaContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareMediaContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKSharePhoto) final public class SharePhoto : ObjectiveC.NSObject, FBSDKShareKit.ShareMedia { + @objc final public var image: UIKit.UIImage? { + @objc get + @objc set + } + @objc final public var imageURL: Foundation.URL? { + @objc get + @objc set + } + @objc final public var photoAsset: Photos.PHAsset? { + @objc get + @objc set + } + @objc final public var isUserGenerated: Swift.Bool + @objc final public var caption: Swift.String? + @objc convenience public init(image: UIKit.UIImage, isUserGenerated: Swift.Bool) + @objc convenience public init(imageURL: Foundation.URL, isUserGenerated: Swift.Bool) + @objc convenience public init(photoAsset: Photos.PHAsset, isUserGenerated: Swift.Bool) + @objc deinit +} +extension FBSDKShareKit.SharePhoto : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKSharePhotoContent) final public class SharePhotoContent : ObjectiveC.NSObject { + @objc final public var photos: [FBSDKShareKit.SharePhoto] + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.SharePhotoContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.SharePhotoContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKShareVideo) final public class ShareVideo : ObjectiveC.NSObject, FBSDKShareKit.ShareMedia { + @objc final public var data: Foundation.Data? { + @objc get + @objc set + } + @objc final public var videoAsset: Photos.PHAsset? { + @objc get + @objc set + } + @objc final public var videoURL: Foundation.URL? { + @objc get + @objc set + } + @objc final public var previewPhoto: FBSDKShareKit.SharePhoto? + @objc convenience public init(data: Foundation.Data, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc convenience public init(videoAsset: Photos.PHAsset, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc convenience public init(videoURL: Foundation.URL, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc deinit +} +extension FBSDKShareKit.ShareVideo : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareVideoContent) final public class ShareVideoContent : ObjectiveC.NSObject { + @objc final public var video: FBSDKShareKit.ShareVideo + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public var shareUUID: Swift.String? { + get + } + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareVideoContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareVideoContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objc(FBSDKSharing) public protocol Sharing { + @objc weak var delegate: FBSDKShareKit.SharingDelegate? { get set } + @objc var shareContent: FBSDKShareKit.SharingContent? { get set } + @objc var shouldFailOnDataError: Swift.Bool { get set } + @objc(validateWithError:) func validate() throws +} +@available(tvOS, unavailable) +@objc(FBSDKSharingButton) public protocol SharingButton { + @objc var shareContent: FBSDKShareKit.SharingContent? { get set } +} +@objc(FBSDKSharingContent) public protocol SharingContent : FBSDKShareKit.SharingValidation, ObjectiveC.NSObjectProtocol { + @objc var contentURL: Foundation.URL? { get set } + @objc var hashtag: FBSDKShareKit.Hashtag? { get set } + @objc var peopleIDs: [Swift.String] { get set } + @objc var placeID: Swift.String? { get set } + @objc var ref: Swift.String? { get set } + @objc var pageID: Swift.String? { get set } + @objc var shareUUID: Swift.String? { get } + @objc(addParameters:bridgeOptions:) func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +@objc(FBSDKSharingDelegate) public protocol SharingDelegate { + @objc(sharer:didCompleteWithResults:) func sharer(_ sharer: FBSDKShareKit.Sharing, didCompleteWithResults results: [Swift.String : Any]) + @objc(sharer:didFailWithError:) func sharer(_ sharer: FBSDKShareKit.Sharing, didFailWithError error: Swift.Error) + @objc(sharerDidCancel:) func sharerDidCancel(_ sharer: FBSDKShareKit.Sharing) +} +@objc(FBSDKSharingDialog) public protocol SharingDialog : FBSDKShareKit.Sharing { + @objc var canShow: Swift.Bool { get } + @objc @discardableResult + func show() -> Swift.Bool +} +@objc(FBSDKSharingValidation) public protocol SharingValidation { + @objc(validateWithOptions:error:) func validate(options: FBSDKShareKit.ShareBridgeOptions) throws +} +public enum _ShareUtility { +} +extension FBSDKShareKit._ShareUtility { + public static func validateRequiredValue(_ value: Any, named name: Swift.String) throws + public static func validateArgument(_ value: Argument, named name: Swift.String, in possibleValues: Swift.Set) throws where Argument : Swift.Hashable +} +extension FBSDKShareKit.AppInviteContent.Destination : Swift.Equatable {} +extension FBSDKShareKit.AppInviteContent.Destination : Swift.Hashable {} +extension FBSDKShareKit.AppInviteContent.Destination : Swift.RawRepresentable {} +extension FBSDKShareKit.ShareDialog.Mode : Swift.Equatable {} +extension FBSDKShareKit.ShareDialog.Mode : Swift.Hashable {} +extension FBSDKShareKit.ShareDialog.Mode : Swift.RawRepresentable {} +extension FBSDKShareKit.ShareError : Swift.Equatable {} +extension FBSDKShareKit.ShareError : Swift.Hashable {} +extension FBSDKShareKit.ShareError : Swift.RawRepresentable {} diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..c82273a Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..c54e73d --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftinterface @@ -0,0 +1,367 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKShareKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +@_exported import FBSDKShareKit +import Foundation +import Photos +import Social +import Swift +import UIKit +import _Concurrency +@objcMembers @objc(FBSDKAppInviteContent) final public class AppInviteContent : ObjectiveC.NSObject { + @objc(FBSDKAppInviteDestination) public enum Destination : Swift.Int { + case facebook + case messenger + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + } + @objc final public var appInvitePreviewImageURL: Foundation.URL? + @objc final public var appLinkURL: Foundation.URL + @objc final public var promotionCode: Swift.String? + @objc final public var promotionText: Swift.String? + @objc final public var destination: FBSDKShareKit.AppInviteContent.Destination + @objc(initWithAppLinkURL:) public init(appLinkURL: Foundation.URL) + @objc deinit +} +extension FBSDKShareKit.AppInviteContent : FBSDKShareKit.SharingValidation { + @objc final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKCameraEffectArguments) final public class CameraEffectArguments : ObjectiveC.NSObject { + @objc(setString:forKey:) final public func set(_ string: Swift.String?, forKey key: Swift.String) + @objc final public func string(forKey key: Swift.String) -> Swift.String? + @objc(setArray:forKey:) final public func set(_ array: [Swift.String]?, forKey key: Swift.String) + @objc final public func array(forKey key: Swift.String) -> [Swift.String]? + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKCameraEffectTextures) final public class CameraEffectTextures : ObjectiveC.NSObject { + @objc(setImage:forKey:) final public func set(_ image: UIKit.UIImage?, forKey key: Swift.String) + @objc(imageForKey:) final public func image(forKey key: Swift.String) -> UIKit.UIImage? + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKSendButton) @_Concurrency.MainActor(unsafe) final public class FBSendButton : FBSDKCoreKit.FBButton, FBSDKShareKit.SharingButton, FBSDKCoreKit.FBButtonImpressionLogging { + @objc @_Concurrency.MainActor(unsafe) final public var dialog: FBSDKShareKit.MessageDialog? + @_Concurrency.MainActor(unsafe) @objc final public var shareContent: FBSDKShareKit.SharingContent? { + @objc get + @objc set + } + @_Concurrency.MainActor(unsafe) @objc final public var analyticsParameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]? { + @objc get + } + @_Concurrency.MainActor(unsafe) @objc final public var impressionTrackingEventName: FBSDKCoreKit.AppEvents.Name { + @objc get + } + @_Concurrency.MainActor(unsafe) @objc final public var impressionTrackingIdentifier: Swift.String { + @objc get + } + @_Concurrency.MainActor(unsafe) @objc override final public var isImplicitlyDisabled: Swift.Bool { + @_Concurrency.MainActor(unsafe) @objc get + } + @objc @_Concurrency.MainActor(unsafe) final public func configureButton() + @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) + @_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder) + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareButton) @_Concurrency.MainActor(unsafe) final public class FBShareButton : FBSDKCoreKit.FBButton, FBSDKShareKit.SharingButton { + @_Concurrency.MainActor(unsafe) @objc final public var shareContent: FBSDKShareKit.SharingContent? { + @objc get + @objc set + } + @objc @_Concurrency.MainActor(unsafe) final public var analyticsParameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]? { + @objc get + } + @objc @_Concurrency.MainActor(unsafe) final public var impressionTrackingEventName: FBSDKCoreKit.AppEvents.Name { + @objc get + } + @objc @_Concurrency.MainActor(unsafe) final public var impressionTrackingIdentifier: Swift.String { + @objc get + } + @_Concurrency.MainActor(unsafe) @objc override final public var isImplicitlyDisabled: Swift.Bool { + @_Concurrency.MainActor(unsafe) @objc get + } + @objc @_Concurrency.MainActor(unsafe) final public func configureButton() + @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) + @_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder) + @objc deinit +} +@objcMembers @objc(FBSDKHashtag) final public class Hashtag : ObjectiveC.NSObject { + @objc final public var stringRepresentation: Swift.String + @objc(initWithString:) public init(_ string: Swift.String) + @objc override final public var description: Swift.String { + @objc get + } + @objc final public var isValid: Swift.Bool { + @objc get + } + @objc override final public var hash: Swift.Int { + @objc get + } + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKMessageDialog) public class MessageDialog : ObjectiveC.NSObject, FBSDKShareKit.SharingDialog { + @objc weak public var delegate: FBSDKShareKit.SharingDelegate? + @objc public var shareContent: FBSDKShareKit.SharingContent? + @objc public var shouldFailOnDataError: Swift.Bool + @objc(initWithContent:delegate:) convenience public init(content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) + @objc(dialogWithContent:delegate:) public static func dialog(content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.MessageDialog + @objc(showWithContent:delegate:) public static func show(content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.MessageDialog + @objc public var canShow: Swift.Bool { + @objc get + } + @discardableResult + @objc public func show() -> Swift.Bool + @objc public func validate() throws + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareCameraEffectContent) final public class ShareCameraEffectContent : ObjectiveC.NSObject { + @objc final public var effectID: Swift.String + @objc final public var effectArguments: FBSDKShareKit.CameraEffectArguments + @objc final public var effectTextures: FBSDKShareKit.CameraEffectTextures + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public var shareUUID: Swift.String? { + get + } + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareCameraEffectContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objcMembers @objc(FBSDKShareDialog) public class ShareDialog : ObjectiveC.NSObject, FBSDKShareKit.SharingDialog { + @objc weak public var fromViewController: UIKit.UIViewController? + @objc public var mode: FBSDKShareKit.ShareDialog.Mode + @objc weak public var delegate: FBSDKShareKit.SharingDelegate? + @objc public var shareContent: FBSDKShareKit.SharingContent? + @objc public var shouldFailOnDataError: Swift.Bool + @objc(initWithViewController:content:delegate:) public init(viewController: UIKit.UIViewController?, content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) + @objc deinit + @objc(dialogWithViewController:withContent:delegate:) public class func dialog(viewController: UIKit.UIViewController?, content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.ShareDialog + @discardableResult + @objc(showFromViewController:withContent:delegate:) public class func show(viewController: UIKit.UIViewController?, content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.ShareDialog +} +extension FBSDKShareKit.ShareDialog { + @objc dynamic public var canShow: Swift.Bool { + @objc get + } + @discardableResult + @objc dynamic public func show() -> Swift.Bool + @objc dynamic public func validate() throws +} +extension FBSDKShareKit.ShareDialog : FBSDKCoreKit.WebDialogDelegate { + @objc dynamic public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didCompleteWithResults results: [Swift.String : Any]) + @objc dynamic public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didFailWithError error: Swift.Error) + @objc dynamic public func webDialogDidCancel(_ webDialog: FBSDKCoreKit.WebDialog) +} +extension FBSDKShareKit.ShareDialog { + @objc(FBSDKShareDialogMode) public enum Mode : Swift.UInt, Swift.CustomStringConvertible { + case automatic + case native + case shareSheet + case browser + case web + case feedBrowser + case feedWeb + public var description: Swift.String { + get + } + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } + } +} +public let ShareErrorDomain: Swift.String +@objc(FBSDKShareError) public enum ShareError : Swift.Int { + case reserved = 200 + case openGraph + case dialogNotAvailable + case unknown + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareLinkContent) final public class ShareLinkContent : ObjectiveC.NSObject { + @objc final public var quote: Swift.String? + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareLinkContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareLinkContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objc(FBSDKShareMedia) public protocol ShareMedia { +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareMediaContent) final public class ShareMediaContent : ObjectiveC.NSObject { + @objc final public var media: [FBSDKShareKit.ShareMedia] + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareMediaContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareMediaContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKSharePhoto) final public class SharePhoto : ObjectiveC.NSObject, FBSDKShareKit.ShareMedia { + @objc final public var image: UIKit.UIImage? { + @objc get + @objc set + } + @objc final public var imageURL: Foundation.URL? { + @objc get + @objc set + } + @objc final public var photoAsset: Photos.PHAsset? { + @objc get + @objc set + } + @objc final public var isUserGenerated: Swift.Bool + @objc final public var caption: Swift.String? + @objc convenience public init(image: UIKit.UIImage, isUserGenerated: Swift.Bool) + @objc convenience public init(imageURL: Foundation.URL, isUserGenerated: Swift.Bool) + @objc convenience public init(photoAsset: Photos.PHAsset, isUserGenerated: Swift.Bool) + @objc deinit +} +extension FBSDKShareKit.SharePhoto : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKSharePhotoContent) final public class SharePhotoContent : ObjectiveC.NSObject { + @objc final public var photos: [FBSDKShareKit.SharePhoto] + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.SharePhotoContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.SharePhotoContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKShareVideo) final public class ShareVideo : ObjectiveC.NSObject, FBSDKShareKit.ShareMedia { + @objc final public var data: Foundation.Data? { + @objc get + @objc set + } + @objc final public var videoAsset: Photos.PHAsset? { + @objc get + @objc set + } + @objc final public var videoURL: Foundation.URL? { + @objc get + @objc set + } + @objc final public var previewPhoto: FBSDKShareKit.SharePhoto? + @objc convenience public init(data: Foundation.Data, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc convenience public init(videoAsset: Photos.PHAsset, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc convenience public init(videoURL: Foundation.URL, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc deinit +} +extension FBSDKShareKit.ShareVideo : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareVideoContent) final public class ShareVideoContent : ObjectiveC.NSObject { + @objc final public var video: FBSDKShareKit.ShareVideo + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public var shareUUID: Swift.String? { + get + } + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareVideoContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareVideoContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objc(FBSDKSharing) public protocol Sharing { + @objc weak var delegate: FBSDKShareKit.SharingDelegate? { get set } + @objc var shareContent: FBSDKShareKit.SharingContent? { get set } + @objc var shouldFailOnDataError: Swift.Bool { get set } + @objc(validateWithError:) func validate() throws +} +@available(tvOS, unavailable) +@objc(FBSDKSharingButton) public protocol SharingButton { + @objc var shareContent: FBSDKShareKit.SharingContent? { get set } +} +@objc(FBSDKSharingContent) public protocol SharingContent : FBSDKShareKit.SharingValidation, ObjectiveC.NSObjectProtocol { + @objc var contentURL: Foundation.URL? { get set } + @objc var hashtag: FBSDKShareKit.Hashtag? { get set } + @objc var peopleIDs: [Swift.String] { get set } + @objc var placeID: Swift.String? { get set } + @objc var ref: Swift.String? { get set } + @objc var pageID: Swift.String? { get set } + @objc var shareUUID: Swift.String? { get } + @objc(addParameters:bridgeOptions:) func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +@objc(FBSDKSharingDelegate) public protocol SharingDelegate { + @objc(sharer:didCompleteWithResults:) func sharer(_ sharer: FBSDKShareKit.Sharing, didCompleteWithResults results: [Swift.String : Any]) + @objc(sharer:didFailWithError:) func sharer(_ sharer: FBSDKShareKit.Sharing, didFailWithError error: Swift.Error) + @objc(sharerDidCancel:) func sharerDidCancel(_ sharer: FBSDKShareKit.Sharing) +} +@objc(FBSDKSharingDialog) public protocol SharingDialog : FBSDKShareKit.Sharing { + @objc var canShow: Swift.Bool { get } + @objc @discardableResult + func show() -> Swift.Bool +} +@objc(FBSDKSharingValidation) public protocol SharingValidation { + @objc(validateWithOptions:error:) func validate(options: FBSDKShareKit.ShareBridgeOptions) throws +} +public enum _ShareUtility { +} +extension FBSDKShareKit._ShareUtility { + public static func validateRequiredValue(_ value: Any, named name: Swift.String) throws + public static func validateArgument(_ value: Argument, named name: Swift.String, in possibleValues: Swift.Set) throws where Argument : Swift.Hashable +} +extension FBSDKShareKit.AppInviteContent.Destination : Swift.Equatable {} +extension FBSDKShareKit.AppInviteContent.Destination : Swift.Hashable {} +extension FBSDKShareKit.AppInviteContent.Destination : Swift.RawRepresentable {} +extension FBSDKShareKit.ShareDialog.Mode : Swift.Equatable {} +extension FBSDKShareKit.ShareDialog.Mode : Swift.Hashable {} +extension FBSDKShareKit.ShareDialog.Mode : Swift.RawRepresentable {} +extension FBSDKShareKit.ShareError : Swift.Equatable {} +extension FBSDKShareKit.ShareError : Swift.Hashable {} +extension FBSDKShareKit.ShareError : Swift.RawRepresentable {} diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Modules/module.modulemap b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64/FBSDKShareKit.framework/Modules/module.modulemap similarity index 100% rename from src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Modules/module.modulemap rename to src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64/FBSDKShareKit.framework/Modules/module.modulemap diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/FBSDKShareKit b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/FBSDKShareKit new file mode 100644 index 0000000..66443d6 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/FBSDKShareKit differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/Headers/FBSDKShareBridgeOptions.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/Headers/FBSDKShareBridgeOptions.h new file mode 100644 index 0000000..02dcbb2 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/Headers/FBSDKShareBridgeOptions.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Flags to indicate support for newer bridge options beyond the initial 20130410 implementation. +typedef NS_OPTIONS(NSUInteger, FBSDKShareBridgeOptions) { + FBSDKShareBridgeOptionsDefault = 0, + FBSDKShareBridgeOptionsPhotoAsset = 1 << 0, + FBSDKShareBridgeOptionsPhotoImageURL = 1 << 1, // if set, a web-based URL is required; asset, image, and imageURL.isFileURL not allowed + FBSDKShareBridgeOptionsVideoAsset = 1 << 2, + FBSDKShareBridgeOptionsVideoData = 1 << 3, + FBSDKShareBridgeOptionsWebHashtag = 1 << 4, // if set, pass the hashtag as a string value, not an array of one string +} NS_SWIFT_NAME(ShareBridgeOptions); + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/Headers/FBSDKShareErrorDomain.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/Headers/FBSDKShareErrorDomain.h new file mode 100644 index 0000000..a4dfe60 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/Headers/FBSDKShareErrorDomain.h @@ -0,0 +1,20 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + The error domain for all errors from FBSDKShareKit. + + Error codes from the SDK in the range 200-299 are reserved for this domain. + */ +FOUNDATION_EXPORT NSErrorDomain const FBSDKShareErrorDomain; + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/Headers/FBSDKShareKit-Swift.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/Headers/FBSDKShareKit-Swift.h new file mode 100644 index 0000000..c6cd09f --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/Headers/FBSDKShareKit-Swift.h @@ -0,0 +1,1924 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +#ifndef FBSDKSHAREKIT_SWIFT_H +#define FBSDKSHAREKIT_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import CoreGraphics; +@import FBSDKCoreKit; +@import Foundation; +@import ObjectiveC; +#endif + +#import + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKShareKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + +@class NSURL; +@class NSString; +enum FBSDKAppInviteDestination : NSInteger; + +/// A model for app invite +SWIFT_CLASS_NAMED("AppInviteContent") +@interface FBSDKAppInviteContent : NSObject +/// A URL to a preview image that will be displayed with the app invite +/// This is optional. If you don’t include it a fallback image will be used. +@property (nonatomic, copy) NSURL * _Nullable appInvitePreviewImageURL; +/// An app link target that will be used as a target when the user accept the invite. +@property (nonatomic, copy) NSURL * _Nonnull appLinkURL; +/// Promotional code to be displayed while sending and receiving the invite. +/// This is optional. This can be between 0 and 10 characters long and can contain +/// alphanumeric characters only. To set a promo code, you need to set promo text. +@property (nonatomic, copy) NSString * _Nullable promotionCode; +/// Promotional text to be displayed while sending and receiving the invite. +/// This is optional. This can be between 0 and 80 characters long and can contain +/// alphanumeric and spaces only. +@property (nonatomic, copy) NSString * _Nullable promotionText; +/// Destination for the app invite. The default value is .facebook. +@property (nonatomic) enum FBSDKAppInviteDestination destination; +- (nonnull instancetype)initWithAppLinkURL:(NSURL * _Nonnull)appLinkURL OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// Specifies the privacy of a group. +typedef SWIFT_ENUM_NAMED(NSInteger, FBSDKAppInviteDestination, "Destination", open) { +/// Deliver to Facebook + FBSDKAppInviteDestinationFacebook = 0, + FBSDKAppInviteDestinationMessenger = 1, +}; + + +/// A base interface for validation of content and media. +SWIFT_PROTOCOL_NAMED("SharingValidation") +@protocol FBSDKSharingValidation +/// Asks the receiver to validate that its content or media values are valid. +/// \param options The share bridge options to use for validation. +/// +/// +/// throws: +/// If the values are not valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)options error:(NSError * _Nullable * _Nullable)error; +@end + + +@interface FBSDKAppInviteContent (SWIFT_EXTENSION(FBSDKShareKit)) +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + + +/// A container of arguments for a camera effect. +/// An argument is a String or [String] identified by a String key. +SWIFT_CLASS_NAMED("CameraEffectArguments") +@interface FBSDKCameraEffectArguments : NSObject +/// Sets a string argument in the container. +/// @param string The argument +/// @param key The key for the argument +- (void)setString:(NSString * _Nullable)string forKey:(NSString * _Nonnull)key; +/// Gets a string argument from the container. +/// @param key The key for the argument +/// @return The string value or nil +- (NSString * _Nullable)stringForKey:(NSString * _Nonnull)key SWIFT_WARN_UNUSED_RESULT; +/// Sets a string array argument in the container. +/// @param array The array argument +/// @param key The key for the argument +- (void)setArray:(NSArray * _Nullable)array forKey:(NSString * _Nonnull)key; +/// Gets an array argument from the container. +/// @param key The key for the argument +/// @return The array argument +- (NSArray * _Nullable)arrayForKey:(NSString * _Nonnull)key SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@class UIImage; + +/// A container of textures for a camera effect. +/// A texture for a camera effect is an UIImages identified by a NSString key. +SWIFT_CLASS_NAMED("CameraEffectTextures") +@interface FBSDKCameraEffectTextures : NSObject +/// Sets the image for a texture key. +/// @param image The UIImage for the texture +/// @param key The key for the texture +- (void)setImage:(UIImage * _Nullable)image forKey:(NSString * _Nonnull)key; +/// Gets the image for a texture key. +/// @param key The key for the texture +/// @return The texture UIImage or nil +- (UIImage * _Nullable)imageForKey:(NSString * _Nonnull)key SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@protocol FBSDKSharingContent; + +/// The common interface for sharing buttons. +/// See FBSendButton and FBShareButton +SWIFT_PROTOCOL_NAMED("SharingButton") SWIFT_AVAILABILITY(tvos,unavailable) +@protocol FBSDKSharingButton +/// The content to be shared. +@property (nonatomic, strong) id _Nullable shareContent; +@end + +@class FBSDKMessageDialog; +@class NSNumber; +@class NSCoder; + +/// A button to send content through Messenger. +/// Tapping the receiver will invoke the FBSDKShareDialog with the attached shareContent. If the dialog cannot +/// be shown, the button will be disable. +SWIFT_CLASS_NAMED("FBSendButton") +@interface FBSDKSendButton : FBSDKButton +@property (nonatomic, strong) FBSDKMessageDialog * _Nullable dialog; +@property (nonatomic, strong) id _Nullable shareContent; +@property (nonatomic, readonly, copy) NSDictionary * _Nullable analyticsParameters; +@property (nonatomic, readonly) FBSDKAppEventName _Nonnull impressionTrackingEventName; +@property (nonatomic, readonly, copy) NSString * _Nonnull impressionTrackingIdentifier; +@property (nonatomic, readonly, getter=isImplicitlyDisabled) BOOL implicitlyDisabled; +- (void)configureButton; +- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; +@end + + + +/// A button to share content. +/// Tapping the receiver will invoke the FBSDKShareDialog with the attached shareContent. If the dialog cannot +/// be shown, the button will be disabled. +SWIFT_CLASS_NAMED("FBShareButton") +@interface FBSDKShareButton : FBSDKButton +@property (nonatomic, strong) id _Nullable shareContent; +@property (nonatomic, readonly, copy) NSDictionary * _Nullable analyticsParameters; +@property (nonatomic, readonly) FBSDKAppEventName _Nonnull impressionTrackingEventName; +@property (nonatomic, readonly, copy) NSString * _Nonnull impressionTrackingIdentifier; +@property (nonatomic, readonly, getter=isImplicitlyDisabled) BOOL implicitlyDisabled; +- (void)configureButton; +- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; +@end + + + +/// Represents a single hashtag that can be used with the share dialog. +SWIFT_CLASS_NAMED("Hashtag") +@interface FBSDKHashtag : NSObject +/// The hashtag string. +/// You are responsible for making sure that stringRepresentation is a valid hashtag (a single ‘#’ followed by one or more +/// word characters). Invalid hashtags are ignored when sharing content. You can check validity with thevalid property. +/// @return The hashtag string +@property (nonatomic, copy) NSString * _Nonnull stringRepresentation; +- (nonnull instancetype)initWithString:(NSString * _Nonnull)string OBJC_DESIGNATED_INITIALIZER; +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// Tests if a hashtag is valid. +/// A valid hashtag matches the regular expression “#\w+”: A single ‘#’ followed by one or more word characters. +/// @return true if the hashtag is valid, false otherwise. +@property (nonatomic, readonly) BOOL isValid; +@property (nonatomic, readonly) NSUInteger hash; +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@protocol FBSDKSharingDelegate; + +/// The common interface for components that initiate sharing. +/// See ShareDialog, MessageDialog +SWIFT_PROTOCOL_NAMED("Sharing") +@protocol FBSDKSharing +/// The receiver’s delegate or nil if it doesn’t have a delegate. +@property (nonatomic, weak) id _Nullable delegate; +/// The content to be shared. +@property (nonatomic, strong) id _Nullable shareContent; +/// A boolean value that indicates whether the receiver should fail if it finds an error with the share content. +/// If false, the sharer will still be displayed without the data that was misconfigured. For example, an +/// invalid placeID specified on the shareContent would produce a data error. +@property (nonatomic) BOOL shouldFailOnDataError; +/// Validates the content on the receiver. +/// @throws An error if the content is invalid +- (BOOL)validateWithError:(NSError * _Nullable * _Nullable)error; +@end + + +/// The common interface for dialogs that initiate sharing. +SWIFT_PROTOCOL_NAMED("SharingDialog") +@protocol FBSDKSharingDialog +/// A boolean value that indicates whether the receiver can initiate a share. +/// May return false if the appropriate Facebook app is not installed and is required or an access token is +/// required but not available. This method does not validate the content on the receiver, so this can be checked before +/// building up the content. +/// See Sharing.validate(error:) +/// @return true if the receiver can share, otherwise false. +@property (nonatomic, readonly) BOOL canShow; +/// Shows the dialog. +/// @return true if the receiver was able to begin sharing, otherwise false. +- (BOOL)show; +@end + + +/// A dialog for sharing content through Messenger. +/// SUPPORTED SHARE TYPES +///
    +///
  • +/// FBSDKShareLinkContent +///
  • +///
+/// UNSUPPORTED SHARE TYPES (DEPRECATED AUGUST 2018) +///
    +///
  • +/// FBSDKShareOpenGraphContent +///
  • +///
  • +/// FBSDKSharePhotoContent +///
  • +///
  • +/// FBSDKShareVideoContent +///
  • +///
  • +/// FBSDKShareMessengerOpenGraphMusicTemplateContent +///
  • +///
  • +/// FBSDKShareMessengerMediaTemplateContent +///
  • +///
  • +/// FBSDKShareMessengerGenericTemplateContent +///
  • +///
  • +/// Any other types that are not one of the four supported types listed above +///
  • +///
+SWIFT_CLASS_NAMED("MessageDialog") +@interface FBSDKMessageDialog : NSObject +/// The receiver’s delegate or nil if it doesn’t have a delegate. +@property (nonatomic, weak) id _Nullable delegate; +/// The content to be shared. +@property (nonatomic, strong) id _Nullable shareContent; +/// A Boolean value that indicates whether the receiver should fail if it finds an error with the share content. +/// If false, the sharer will still be displayed without the data that was mis-configured. For example, an +/// invalid placeID specified on the shareContent would produce a data error. +@property (nonatomic) BOOL shouldFailOnDataError; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// Convenience initializer to return a Message Share Dialog with content and a delegate. +/// @param content The content to be shared. +/// @param delegate The receiver’s delegate. +- (nonnull instancetype)initWithContent:(id _Nullable)content delegate:(id _Nullable)delegate; +/// Convenience method to return a Message Share Dialog with content and a delegate. +/// @param content The content to be shared. +/// @param delegate The receiver’s delegate. ++ (FBSDKMessageDialog * _Nonnull)dialogWithContent:(id _Nullable)content delegate:(id _Nullable)delegate SWIFT_WARN_UNUSED_RESULT; +/// Convenience method to show a Message Share Dialog with content and a delegate. +/// @param content The content to be shared. +/// @param delegate The receiver’s delegate. ++ (FBSDKMessageDialog * _Nonnull)showWithContent:(id _Nullable)content delegate:(id _Nullable)delegate SWIFT_WARN_UNUSED_RESULT; +/// A Boolean value that indicates whether the receiver can initiate a share. +/// May return false if the appropriate Facebook app is not installed and is required or an access token is +/// required but not available. This method does not validate the content on the receiver, so this can be checked before +/// building up the content. +/// See Sharing.validate() +/// @return true if the receiver can share, otherwise false. +@property (nonatomic, readonly) BOOL canShow; +/// Shows the dialog. +/// @return true if the receiver was able to begin sharing, otherwise false. +- (BOOL)show; +/// Validates the content on the receiver. +/// @return true if the content is valid, otherwise false. +- (BOOL)validateWithError:(NSError * _Nullable * _Nullable)error; +@end + + + +/// A model for content to share with a Facebook camera effect. +SWIFT_CLASS_NAMED("ShareCameraEffectContent") +@interface FBSDKShareCameraEffectContent : NSObject +/// ID of the camera effect to use. +@property (nonatomic, copy) NSString * _Nonnull effectID; +/// Arguments for the effect. +@property (nonatomic, strong) FBSDKCameraEffectArguments * _Nonnull effectArguments; +/// Textures for the effect. +@property (nonatomic, strong) FBSDKCameraEffectTextures * _Nonnull effectTextures; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A base interface for content to be shared. +SWIFT_PROTOCOL_NAMED("SharingContent") +@protocol FBSDKSharingContent +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. +/// See documentation for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKShareCameraEffectContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + +@class UIViewController; +enum FBSDKShareDialogMode : NSUInteger; + +/// A dialog for sharing content on Facebook. +SWIFT_CLASS_NAMED("ShareDialog") +@interface FBSDKShareDialog : NSObject +/// A UIViewController from which to present the dialog. +/// If not specified, the topmost view controller will be automatically determined as best as possible. +@property (nonatomic, weak) UIViewController * _Nullable fromViewController; +/// The mode with which to display the dialog. +/// Defaults to .automatic, which will automatically choose the best available mode. +@property (nonatomic) enum FBSDKShareDialogMode mode; +/// The receiver’s delegate or nil if it doesn’t have a delegate. +@property (nonatomic, weak) id _Nullable delegate; +/// The content to be shared. +@property (nonatomic, strong) id _Nullable shareContent; +/// A Boolean value that indicates whether the receiver should fail if it finds an error with the share content. +/// If false, the sharer will still be displayed without the data that was misconfigured. For example, an +/// invalid placeID specified on the shareContent would produce a data error. +@property (nonatomic) BOOL shouldFailOnDataError; +/// Convenience initializer to initialize a ShareDialog with a view controller, content and delegate. +/// @param viewController A view controller from which to present the dialog, if appropriate. +/// @param content The content to be shared. +/// @param delegate The dialog’s delegate. +- (nonnull instancetype)initWithViewController:(UIViewController * _Nullable)viewController content:(id _Nullable)content delegate:(id _Nullable)delegate OBJC_DESIGNATED_INITIALIZER; +/// Convenience method to create a ShareDialog with a view controller, content and delegate. +/// @param viewController A view controller from which to present the dialog, if appropriate. +/// @param content The content to be shared. +/// @param delegate The dialog’s delegate. ++ (FBSDKShareDialog * _Nonnull)dialogWithViewController:(UIViewController * _Nullable)viewController withContent:(id _Nullable)content delegate:(id _Nullable)delegate SWIFT_WARN_UNUSED_RESULT; +/// Convenience method to show a ShareDialog with a view controller, content and delegate. +/// @param viewController A view controller from which to present the dialog, if appropriate. +/// @param content The content to be shared. +/// @param delegate The dialog’s delegate. ++ (FBSDKShareDialog * _Nonnull)showFromViewController:(UIViewController * _Nullable)viewController withContent:(id _Nullable)content delegate:(id _Nullable)delegate; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface FBSDKShareDialog (SWIFT_EXTENSION(FBSDKShareKit)) +@end + +/// Modes for the FBSDKShareDialog. +/// The automatic mode will progressively check the availability of different modes and open the most +/// appropriate mode for the dialog that is available. +typedef SWIFT_ENUM_NAMED(NSUInteger, FBSDKShareDialogMode, "Mode", open) { +/// Acts with the most appropriate mode that is available. + FBSDKShareDialogModeAutomatic = 0, +/// Displays the dialog in the main native Facebook app. + FBSDKShareDialogModeNative = 1, +/// Displays the dialog in the iOS integrated share sheet. + FBSDKShareDialogModeShareSheet = 2, +/// Displays the dialog in Safari. + FBSDKShareDialogModeBrowser = 3, +/// Displays the dialog in a WKWebView within the app. + FBSDKShareDialogModeWeb = 4, +/// Displays the feed dialog in Safari. + FBSDKShareDialogModeFeedBrowser = 5, +/// Displays the feed dialog in a WKWebView within the app. + FBSDKShareDialogModeFeedWeb = 6, +}; + +@class FBSDKWebDialog; + +@interface FBSDKShareDialog (SWIFT_EXTENSION(FBSDKShareKit)) +- (void)webDialog:(FBSDKWebDialog * _Nonnull)webDialog didCompleteWithResults:(NSDictionary * _Nonnull)results; +- (void)webDialog:(FBSDKWebDialog * _Nonnull)webDialog didFailWithError:(NSError * _Nonnull)error; +- (void)webDialogDidCancel:(FBSDKWebDialog * _Nonnull)webDialog; +@end + + + +@interface FBSDKShareDialog (SWIFT_EXTENSION(FBSDKShareKit)) +@property (nonatomic, readonly) BOOL canShow; +- (BOOL)show; +- (BOOL)validateWithError:(NSError * _Nullable * _Nullable)error; +@end + + +/// ShareError +/// Error codes for ShareErrorDomain. +typedef SWIFT_ENUM_NAMED(NSInteger, FBSDKShareError, "ShareError", open) { +/// Reserved + FBSDKShareErrorReserved = 200, +/// The error code for errors from uploading open graph objects. + FBSDKShareErrorOpenGraph = 201, +/// The error code for when a sharing dialog is not available. +/// Use the canShare methods to check for this case before calling show. + FBSDKShareErrorDialogNotAvailable = 202, +/// The error code for unknown errors. + FBSDKShareErrorUnknown = 203, +}; + + +/// A model for status and link content to be shared. +SWIFT_CLASS_NAMED("ShareLinkContent") +@interface FBSDKShareLinkContent : NSObject +/// Some quote text of the link. +/// If specified, the quote text will render with custom styling on top of the link. +@property (nonatomic, copy) NSString * _Nullable quote; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface FBSDKShareLinkContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKShareLinkContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Asks the receiver to validate that its content or media values are valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + +/// A protocol for media content (photo or video) to be shared. +SWIFT_PROTOCOL_NAMED("ShareMedia") +@protocol FBSDKShareMedia +@end + + +/// A model for media content (photo or video) to be shared. +SWIFT_CLASS_NAMED("ShareMediaContent") +@interface FBSDKShareMediaContent : NSObject +/// Media to be shared: an array of SharePhoto or ShareVideo +@property (nonatomic, copy) NSArray> * _Nonnull media; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface FBSDKShareMediaContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Asks the receiver to validate that its content or media values are valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + +@interface FBSDKShareMediaContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + +@class PHAsset; + +/// A photo for sharing. +SWIFT_CLASS_NAMED("SharePhoto") +@interface FBSDKSharePhoto : NSObject +/// If the photo is resident in memory, this method supplies the data. +@property (nonatomic, strong) UIImage * _Nullable image; +/// URL that points to a network location or the location of the photo on disk +@property (nonatomic, copy) NSURL * _Nullable imageURL; +/// The representation of the photo in the Photos library. +@property (nonatomic, strong) PHAsset * _Nullable photoAsset; +/// Specifies whether the photo represented by the receiver was generated by the user (true) +/// or by the application (false). +@property (nonatomic) BOOL isUserGenerated; +/// The user-generated caption for the photo. Note that the ‘caption’ must come from +/// the user, as pre-filled content is forbidden by the Platform Policies (2.3). +@property (nonatomic, copy) NSString * _Nullable caption; +/// Convenience method to build a new photo object with an image. +/// \param image If the photo is resident in memory, this method supplies the data +/// +/// \param isUserGenerated Specifies whether the photo represented by the receiver was generated by the user or by the +/// application +/// +- (nonnull instancetype)initWithImage:(UIImage * _Nonnull)image isUserGenerated:(BOOL)isUserGenerated; +/// Convenience method to build a new photo object with an imageURL. +/// This method should only be used when adding photo content to open graph stories. +/// For example, if you’re trying to share a photo from the web by itself, download the image and use +/// init(image:isUserGenerated:) instead. +/// \param imageURL The URL to the photo +/// +/// \param isUserGenerated Specifies whether the photo represented by the receiver was generated by the user or by the +/// application +/// +- (nonnull instancetype)initWithImageURL:(NSURL * _Nonnull)imageURL isUserGenerated:(BOOL)isUserGenerated; +/// Convenience method to build a new photo object with a PHAsset. +/// \param photoAsset The PHAsset that represents the photo in the Photos library. +/// +/// \param isUserGenerated Specifies whether the photo represented by the receiver was generated by the user or by +/// the application +/// +- (nonnull instancetype)initWithPhotoAsset:(PHAsset * _Nonnull)photoAsset isUserGenerated:(BOOL)isUserGenerated; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +@interface FBSDKSharePhoto (SWIFT_EXTENSION(FBSDKShareKit)) +/// Asks the receiver to validate that its content or media values are valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + + +/// A model for photo content to be shared. +SWIFT_CLASS_NAMED("SharePhotoContent") +@interface FBSDKSharePhotoContent : NSObject +/// Photos to be shared. +@property (nonatomic, copy) NSArray * _Nonnull photos; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface FBSDKSharePhotoContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKSharePhotoContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Validate that this content contains valid values +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + +@class NSData; + +/// A video for sharing. +SWIFT_CLASS_NAMED("ShareVideo") +@interface FBSDKShareVideo : NSObject +/// The raw video data. +@property (nonatomic, copy) NSData * _Nullable data; +/// The representation of the video in the Photos library. +@property (nonatomic, strong) PHAsset * _Nullable videoAsset; +/// The file URL to the video. +@property (nonatomic, copy) NSURL * _Nullable videoURL; +/// The photo that represents the video. +@property (nonatomic, strong) FBSDKSharePhoto * _Nullable previewPhoto; +/// Convenience method to build a new video object from raw data and an optional preview photo. +/// \param data The Data object that holds the raw video data. +/// +/// \param previewPhoto The photo that represents the video. +/// +- (nonnull instancetype)initWithData:(NSData * _Nonnull)data previewPhoto:(FBSDKSharePhoto * _Nullable)previewPhoto; +/// Convenience method to build a new video object from a PHAsset and an optional preview photo. +/// \param videoAsset The PHAsset that represents the video in the Photos library. +/// +/// \param previewPhoto The photo that represents the video. +/// +- (nonnull instancetype)initWithVideoAsset:(PHAsset * _Nonnull)videoAsset previewPhoto:(FBSDKSharePhoto * _Nullable)previewPhoto; +/// Convenience method to build a new video object from a URL and an optional preview photo. +/// \param videoURL The URL to the video. +/// +/// \param previewPhoto The photo that represents the video. +/// +- (nonnull instancetype)initWithVideoURL:(NSURL * _Nonnull)videoURL previewPhoto:(FBSDKSharePhoto * _Nullable)previewPhoto; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +@interface FBSDKShareVideo (SWIFT_EXTENSION(FBSDKShareKit)) +/// Asks the receiver to validate that its content or media values are valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + + +/// A model for video content to be shared. +SWIFT_CLASS_NAMED("ShareVideoContent") +@interface FBSDKShareVideoContent : NSObject +/// The video to be shared +@property (nonatomic, strong) FBSDKShareVideo * _Nonnull video; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface FBSDKShareVideoContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKShareVideoContent (SWIFT_EXTENSION(FBSDKShareKit)) +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + + + + + +/// A delegate for types conforming to the Sharing protocol. +/// The delegate is notified with the results of the sharer as long as the application has permissions to +/// receive the information. For example, if the person is not signed into the containing app, the sharer may not be able +/// to distinguish between completion of a share and cancellation. +SWIFT_PROTOCOL_NAMED("SharingDelegate") +@protocol FBSDKSharingDelegate +/// Sent to the delegate when sharing completes without error or cancellation. +/// @param sharer The sharer that completed. +/// @param results The results from the sharer. This may be nil or empty. +- (void)sharer:(id _Nonnull)sharer didCompleteWithResults:(NSDictionary * _Nonnull)results; +/// Sent to the delegate when the sharer encounters an error. +/// @param sharer The sharer that completed. +/// @param error The error. +- (void)sharer:(id _Nonnull)sharer didFailWithError:(NSError * _Nonnull)error; +/// Sent to the delegate when the sharer is cancelled. +/// @param sharer The sharer that completed. +- (void)sharerDidCancel:(id _Nonnull)sharer; +@end + + + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +#ifndef FBSDKSHAREKIT_SWIFT_H +#define FBSDKSHAREKIT_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import CoreGraphics; +@import FBSDKCoreKit; +@import Foundation; +@import ObjectiveC; +#endif + +#import + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKShareKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + +@class NSURL; +@class NSString; +enum FBSDKAppInviteDestination : NSInteger; + +/// A model for app invite +SWIFT_CLASS_NAMED("AppInviteContent") +@interface FBSDKAppInviteContent : NSObject +/// A URL to a preview image that will be displayed with the app invite +/// This is optional. If you don’t include it a fallback image will be used. +@property (nonatomic, copy) NSURL * _Nullable appInvitePreviewImageURL; +/// An app link target that will be used as a target when the user accept the invite. +@property (nonatomic, copy) NSURL * _Nonnull appLinkURL; +/// Promotional code to be displayed while sending and receiving the invite. +/// This is optional. This can be between 0 and 10 characters long and can contain +/// alphanumeric characters only. To set a promo code, you need to set promo text. +@property (nonatomic, copy) NSString * _Nullable promotionCode; +/// Promotional text to be displayed while sending and receiving the invite. +/// This is optional. This can be between 0 and 80 characters long and can contain +/// alphanumeric and spaces only. +@property (nonatomic, copy) NSString * _Nullable promotionText; +/// Destination for the app invite. The default value is .facebook. +@property (nonatomic) enum FBSDKAppInviteDestination destination; +- (nonnull instancetype)initWithAppLinkURL:(NSURL * _Nonnull)appLinkURL OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// Specifies the privacy of a group. +typedef SWIFT_ENUM_NAMED(NSInteger, FBSDKAppInviteDestination, "Destination", open) { +/// Deliver to Facebook + FBSDKAppInviteDestinationFacebook = 0, + FBSDKAppInviteDestinationMessenger = 1, +}; + + +/// A base interface for validation of content and media. +SWIFT_PROTOCOL_NAMED("SharingValidation") +@protocol FBSDKSharingValidation +/// Asks the receiver to validate that its content or media values are valid. +/// \param options The share bridge options to use for validation. +/// +/// +/// throws: +/// If the values are not valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)options error:(NSError * _Nullable * _Nullable)error; +@end + + +@interface FBSDKAppInviteContent (SWIFT_EXTENSION(FBSDKShareKit)) +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + + +/// A container of arguments for a camera effect. +/// An argument is a String or [String] identified by a String key. +SWIFT_CLASS_NAMED("CameraEffectArguments") +@interface FBSDKCameraEffectArguments : NSObject +/// Sets a string argument in the container. +/// @param string The argument +/// @param key The key for the argument +- (void)setString:(NSString * _Nullable)string forKey:(NSString * _Nonnull)key; +/// Gets a string argument from the container. +/// @param key The key for the argument +/// @return The string value or nil +- (NSString * _Nullable)stringForKey:(NSString * _Nonnull)key SWIFT_WARN_UNUSED_RESULT; +/// Sets a string array argument in the container. +/// @param array The array argument +/// @param key The key for the argument +- (void)setArray:(NSArray * _Nullable)array forKey:(NSString * _Nonnull)key; +/// Gets an array argument from the container. +/// @param key The key for the argument +/// @return The array argument +- (NSArray * _Nullable)arrayForKey:(NSString * _Nonnull)key SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@class UIImage; + +/// A container of textures for a camera effect. +/// A texture for a camera effect is an UIImages identified by a NSString key. +SWIFT_CLASS_NAMED("CameraEffectTextures") +@interface FBSDKCameraEffectTextures : NSObject +/// Sets the image for a texture key. +/// @param image The UIImage for the texture +/// @param key The key for the texture +- (void)setImage:(UIImage * _Nullable)image forKey:(NSString * _Nonnull)key; +/// Gets the image for a texture key. +/// @param key The key for the texture +/// @return The texture UIImage or nil +- (UIImage * _Nullable)imageForKey:(NSString * _Nonnull)key SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@protocol FBSDKSharingContent; + +/// The common interface for sharing buttons. +/// See FBSendButton and FBShareButton +SWIFT_PROTOCOL_NAMED("SharingButton") SWIFT_AVAILABILITY(tvos,unavailable) +@protocol FBSDKSharingButton +/// The content to be shared. +@property (nonatomic, strong) id _Nullable shareContent; +@end + +@class FBSDKMessageDialog; +@class NSNumber; +@class NSCoder; + +/// A button to send content through Messenger. +/// Tapping the receiver will invoke the FBSDKShareDialog with the attached shareContent. If the dialog cannot +/// be shown, the button will be disable. +SWIFT_CLASS_NAMED("FBSendButton") +@interface FBSDKSendButton : FBSDKButton +@property (nonatomic, strong) FBSDKMessageDialog * _Nullable dialog; +@property (nonatomic, strong) id _Nullable shareContent; +@property (nonatomic, readonly, copy) NSDictionary * _Nullable analyticsParameters; +@property (nonatomic, readonly) FBSDKAppEventName _Nonnull impressionTrackingEventName; +@property (nonatomic, readonly, copy) NSString * _Nonnull impressionTrackingIdentifier; +@property (nonatomic, readonly, getter=isImplicitlyDisabled) BOOL implicitlyDisabled; +- (void)configureButton; +- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; +@end + + + +/// A button to share content. +/// Tapping the receiver will invoke the FBSDKShareDialog with the attached shareContent. If the dialog cannot +/// be shown, the button will be disabled. +SWIFT_CLASS_NAMED("FBShareButton") +@interface FBSDKShareButton : FBSDKButton +@property (nonatomic, strong) id _Nullable shareContent; +@property (nonatomic, readonly, copy) NSDictionary * _Nullable analyticsParameters; +@property (nonatomic, readonly) FBSDKAppEventName _Nonnull impressionTrackingEventName; +@property (nonatomic, readonly, copy) NSString * _Nonnull impressionTrackingIdentifier; +@property (nonatomic, readonly, getter=isImplicitlyDisabled) BOOL implicitlyDisabled; +- (void)configureButton; +- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; +@end + + + +/// Represents a single hashtag that can be used with the share dialog. +SWIFT_CLASS_NAMED("Hashtag") +@interface FBSDKHashtag : NSObject +/// The hashtag string. +/// You are responsible for making sure that stringRepresentation is a valid hashtag (a single ‘#’ followed by one or more +/// word characters). Invalid hashtags are ignored when sharing content. You can check validity with thevalid property. +/// @return The hashtag string +@property (nonatomic, copy) NSString * _Nonnull stringRepresentation; +- (nonnull instancetype)initWithString:(NSString * _Nonnull)string OBJC_DESIGNATED_INITIALIZER; +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// Tests if a hashtag is valid. +/// A valid hashtag matches the regular expression “#\w+”: A single ‘#’ followed by one or more word characters. +/// @return true if the hashtag is valid, false otherwise. +@property (nonatomic, readonly) BOOL isValid; +@property (nonatomic, readonly) NSUInteger hash; +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@protocol FBSDKSharingDelegate; + +/// The common interface for components that initiate sharing. +/// See ShareDialog, MessageDialog +SWIFT_PROTOCOL_NAMED("Sharing") +@protocol FBSDKSharing +/// The receiver’s delegate or nil if it doesn’t have a delegate. +@property (nonatomic, weak) id _Nullable delegate; +/// The content to be shared. +@property (nonatomic, strong) id _Nullable shareContent; +/// A boolean value that indicates whether the receiver should fail if it finds an error with the share content. +/// If false, the sharer will still be displayed without the data that was misconfigured. For example, an +/// invalid placeID specified on the shareContent would produce a data error. +@property (nonatomic) BOOL shouldFailOnDataError; +/// Validates the content on the receiver. +/// @throws An error if the content is invalid +- (BOOL)validateWithError:(NSError * _Nullable * _Nullable)error; +@end + + +/// The common interface for dialogs that initiate sharing. +SWIFT_PROTOCOL_NAMED("SharingDialog") +@protocol FBSDKSharingDialog +/// A boolean value that indicates whether the receiver can initiate a share. +/// May return false if the appropriate Facebook app is not installed and is required or an access token is +/// required but not available. This method does not validate the content on the receiver, so this can be checked before +/// building up the content. +/// See Sharing.validate(error:) +/// @return true if the receiver can share, otherwise false. +@property (nonatomic, readonly) BOOL canShow; +/// Shows the dialog. +/// @return true if the receiver was able to begin sharing, otherwise false. +- (BOOL)show; +@end + + +/// A dialog for sharing content through Messenger. +/// SUPPORTED SHARE TYPES +///
    +///
  • +/// FBSDKShareLinkContent +///
  • +///
+/// UNSUPPORTED SHARE TYPES (DEPRECATED AUGUST 2018) +///
    +///
  • +/// FBSDKShareOpenGraphContent +///
  • +///
  • +/// FBSDKSharePhotoContent +///
  • +///
  • +/// FBSDKShareVideoContent +///
  • +///
  • +/// FBSDKShareMessengerOpenGraphMusicTemplateContent +///
  • +///
  • +/// FBSDKShareMessengerMediaTemplateContent +///
  • +///
  • +/// FBSDKShareMessengerGenericTemplateContent +///
  • +///
  • +/// Any other types that are not one of the four supported types listed above +///
  • +///
+SWIFT_CLASS_NAMED("MessageDialog") +@interface FBSDKMessageDialog : NSObject +/// The receiver’s delegate or nil if it doesn’t have a delegate. +@property (nonatomic, weak) id _Nullable delegate; +/// The content to be shared. +@property (nonatomic, strong) id _Nullable shareContent; +/// A Boolean value that indicates whether the receiver should fail if it finds an error with the share content. +/// If false, the sharer will still be displayed without the data that was mis-configured. For example, an +/// invalid placeID specified on the shareContent would produce a data error. +@property (nonatomic) BOOL shouldFailOnDataError; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// Convenience initializer to return a Message Share Dialog with content and a delegate. +/// @param content The content to be shared. +/// @param delegate The receiver’s delegate. +- (nonnull instancetype)initWithContent:(id _Nullable)content delegate:(id _Nullable)delegate; +/// Convenience method to return a Message Share Dialog with content and a delegate. +/// @param content The content to be shared. +/// @param delegate The receiver’s delegate. ++ (FBSDKMessageDialog * _Nonnull)dialogWithContent:(id _Nullable)content delegate:(id _Nullable)delegate SWIFT_WARN_UNUSED_RESULT; +/// Convenience method to show a Message Share Dialog with content and a delegate. +/// @param content The content to be shared. +/// @param delegate The receiver’s delegate. ++ (FBSDKMessageDialog * _Nonnull)showWithContent:(id _Nullable)content delegate:(id _Nullable)delegate SWIFT_WARN_UNUSED_RESULT; +/// A Boolean value that indicates whether the receiver can initiate a share. +/// May return false if the appropriate Facebook app is not installed and is required or an access token is +/// required but not available. This method does not validate the content on the receiver, so this can be checked before +/// building up the content. +/// See Sharing.validate() +/// @return true if the receiver can share, otherwise false. +@property (nonatomic, readonly) BOOL canShow; +/// Shows the dialog. +/// @return true if the receiver was able to begin sharing, otherwise false. +- (BOOL)show; +/// Validates the content on the receiver. +/// @return true if the content is valid, otherwise false. +- (BOOL)validateWithError:(NSError * _Nullable * _Nullable)error; +@end + + + +/// A model for content to share with a Facebook camera effect. +SWIFT_CLASS_NAMED("ShareCameraEffectContent") +@interface FBSDKShareCameraEffectContent : NSObject +/// ID of the camera effect to use. +@property (nonatomic, copy) NSString * _Nonnull effectID; +/// Arguments for the effect. +@property (nonatomic, strong) FBSDKCameraEffectArguments * _Nonnull effectArguments; +/// Textures for the effect. +@property (nonatomic, strong) FBSDKCameraEffectTextures * _Nonnull effectTextures; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A base interface for content to be shared. +SWIFT_PROTOCOL_NAMED("SharingContent") +@protocol FBSDKSharingContent +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. +/// See documentation for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKShareCameraEffectContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + +@class UIViewController; +enum FBSDKShareDialogMode : NSUInteger; + +/// A dialog for sharing content on Facebook. +SWIFT_CLASS_NAMED("ShareDialog") +@interface FBSDKShareDialog : NSObject +/// A UIViewController from which to present the dialog. +/// If not specified, the topmost view controller will be automatically determined as best as possible. +@property (nonatomic, weak) UIViewController * _Nullable fromViewController; +/// The mode with which to display the dialog. +/// Defaults to .automatic, which will automatically choose the best available mode. +@property (nonatomic) enum FBSDKShareDialogMode mode; +/// The receiver’s delegate or nil if it doesn’t have a delegate. +@property (nonatomic, weak) id _Nullable delegate; +/// The content to be shared. +@property (nonatomic, strong) id _Nullable shareContent; +/// A Boolean value that indicates whether the receiver should fail if it finds an error with the share content. +/// If false, the sharer will still be displayed without the data that was misconfigured. For example, an +/// invalid placeID specified on the shareContent would produce a data error. +@property (nonatomic) BOOL shouldFailOnDataError; +/// Convenience initializer to initialize a ShareDialog with a view controller, content and delegate. +/// @param viewController A view controller from which to present the dialog, if appropriate. +/// @param content The content to be shared. +/// @param delegate The dialog’s delegate. +- (nonnull instancetype)initWithViewController:(UIViewController * _Nullable)viewController content:(id _Nullable)content delegate:(id _Nullable)delegate OBJC_DESIGNATED_INITIALIZER; +/// Convenience method to create a ShareDialog with a view controller, content and delegate. +/// @param viewController A view controller from which to present the dialog, if appropriate. +/// @param content The content to be shared. +/// @param delegate The dialog’s delegate. ++ (FBSDKShareDialog * _Nonnull)dialogWithViewController:(UIViewController * _Nullable)viewController withContent:(id _Nullable)content delegate:(id _Nullable)delegate SWIFT_WARN_UNUSED_RESULT; +/// Convenience method to show a ShareDialog with a view controller, content and delegate. +/// @param viewController A view controller from which to present the dialog, if appropriate. +/// @param content The content to be shared. +/// @param delegate The dialog’s delegate. ++ (FBSDKShareDialog * _Nonnull)showFromViewController:(UIViewController * _Nullable)viewController withContent:(id _Nullable)content delegate:(id _Nullable)delegate; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface FBSDKShareDialog (SWIFT_EXTENSION(FBSDKShareKit)) +@end + +/// Modes for the FBSDKShareDialog. +/// The automatic mode will progressively check the availability of different modes and open the most +/// appropriate mode for the dialog that is available. +typedef SWIFT_ENUM_NAMED(NSUInteger, FBSDKShareDialogMode, "Mode", open) { +/// Acts with the most appropriate mode that is available. + FBSDKShareDialogModeAutomatic = 0, +/// Displays the dialog in the main native Facebook app. + FBSDKShareDialogModeNative = 1, +/// Displays the dialog in the iOS integrated share sheet. + FBSDKShareDialogModeShareSheet = 2, +/// Displays the dialog in Safari. + FBSDKShareDialogModeBrowser = 3, +/// Displays the dialog in a WKWebView within the app. + FBSDKShareDialogModeWeb = 4, +/// Displays the feed dialog in Safari. + FBSDKShareDialogModeFeedBrowser = 5, +/// Displays the feed dialog in a WKWebView within the app. + FBSDKShareDialogModeFeedWeb = 6, +}; + +@class FBSDKWebDialog; + +@interface FBSDKShareDialog (SWIFT_EXTENSION(FBSDKShareKit)) +- (void)webDialog:(FBSDKWebDialog * _Nonnull)webDialog didCompleteWithResults:(NSDictionary * _Nonnull)results; +- (void)webDialog:(FBSDKWebDialog * _Nonnull)webDialog didFailWithError:(NSError * _Nonnull)error; +- (void)webDialogDidCancel:(FBSDKWebDialog * _Nonnull)webDialog; +@end + + + +@interface FBSDKShareDialog (SWIFT_EXTENSION(FBSDKShareKit)) +@property (nonatomic, readonly) BOOL canShow; +- (BOOL)show; +- (BOOL)validateWithError:(NSError * _Nullable * _Nullable)error; +@end + + +/// ShareError +/// Error codes for ShareErrorDomain. +typedef SWIFT_ENUM_NAMED(NSInteger, FBSDKShareError, "ShareError", open) { +/// Reserved + FBSDKShareErrorReserved = 200, +/// The error code for errors from uploading open graph objects. + FBSDKShareErrorOpenGraph = 201, +/// The error code for when a sharing dialog is not available. +/// Use the canShare methods to check for this case before calling show. + FBSDKShareErrorDialogNotAvailable = 202, +/// The error code for unknown errors. + FBSDKShareErrorUnknown = 203, +}; + + +/// A model for status and link content to be shared. +SWIFT_CLASS_NAMED("ShareLinkContent") +@interface FBSDKShareLinkContent : NSObject +/// Some quote text of the link. +/// If specified, the quote text will render with custom styling on top of the link. +@property (nonatomic, copy) NSString * _Nullable quote; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface FBSDKShareLinkContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKShareLinkContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Asks the receiver to validate that its content or media values are valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + +/// A protocol for media content (photo or video) to be shared. +SWIFT_PROTOCOL_NAMED("ShareMedia") +@protocol FBSDKShareMedia +@end + + +/// A model for media content (photo or video) to be shared. +SWIFT_CLASS_NAMED("ShareMediaContent") +@interface FBSDKShareMediaContent : NSObject +/// Media to be shared: an array of SharePhoto or ShareVideo +@property (nonatomic, copy) NSArray> * _Nonnull media; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface FBSDKShareMediaContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Asks the receiver to validate that its content or media values are valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + +@interface FBSDKShareMediaContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + +@class PHAsset; + +/// A photo for sharing. +SWIFT_CLASS_NAMED("SharePhoto") +@interface FBSDKSharePhoto : NSObject +/// If the photo is resident in memory, this method supplies the data. +@property (nonatomic, strong) UIImage * _Nullable image; +/// URL that points to a network location or the location of the photo on disk +@property (nonatomic, copy) NSURL * _Nullable imageURL; +/// The representation of the photo in the Photos library. +@property (nonatomic, strong) PHAsset * _Nullable photoAsset; +/// Specifies whether the photo represented by the receiver was generated by the user (true) +/// or by the application (false). +@property (nonatomic) BOOL isUserGenerated; +/// The user-generated caption for the photo. Note that the ‘caption’ must come from +/// the user, as pre-filled content is forbidden by the Platform Policies (2.3). +@property (nonatomic, copy) NSString * _Nullable caption; +/// Convenience method to build a new photo object with an image. +/// \param image If the photo is resident in memory, this method supplies the data +/// +/// \param isUserGenerated Specifies whether the photo represented by the receiver was generated by the user or by the +/// application +/// +- (nonnull instancetype)initWithImage:(UIImage * _Nonnull)image isUserGenerated:(BOOL)isUserGenerated; +/// Convenience method to build a new photo object with an imageURL. +/// This method should only be used when adding photo content to open graph stories. +/// For example, if you’re trying to share a photo from the web by itself, download the image and use +/// init(image:isUserGenerated:) instead. +/// \param imageURL The URL to the photo +/// +/// \param isUserGenerated Specifies whether the photo represented by the receiver was generated by the user or by the +/// application +/// +- (nonnull instancetype)initWithImageURL:(NSURL * _Nonnull)imageURL isUserGenerated:(BOOL)isUserGenerated; +/// Convenience method to build a new photo object with a PHAsset. +/// \param photoAsset The PHAsset that represents the photo in the Photos library. +/// +/// \param isUserGenerated Specifies whether the photo represented by the receiver was generated by the user or by +/// the application +/// +- (nonnull instancetype)initWithPhotoAsset:(PHAsset * _Nonnull)photoAsset isUserGenerated:(BOOL)isUserGenerated; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +@interface FBSDKSharePhoto (SWIFT_EXTENSION(FBSDKShareKit)) +/// Asks the receiver to validate that its content or media values are valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + + +/// A model for photo content to be shared. +SWIFT_CLASS_NAMED("SharePhotoContent") +@interface FBSDKSharePhotoContent : NSObject +/// Photos to be shared. +@property (nonatomic, copy) NSArray * _Nonnull photos; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface FBSDKSharePhotoContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKSharePhotoContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Validate that this content contains valid values +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + +@class NSData; + +/// A video for sharing. +SWIFT_CLASS_NAMED("ShareVideo") +@interface FBSDKShareVideo : NSObject +/// The raw video data. +@property (nonatomic, copy) NSData * _Nullable data; +/// The representation of the video in the Photos library. +@property (nonatomic, strong) PHAsset * _Nullable videoAsset; +/// The file URL to the video. +@property (nonatomic, copy) NSURL * _Nullable videoURL; +/// The photo that represents the video. +@property (nonatomic, strong) FBSDKSharePhoto * _Nullable previewPhoto; +/// Convenience method to build a new video object from raw data and an optional preview photo. +/// \param data The Data object that holds the raw video data. +/// +/// \param previewPhoto The photo that represents the video. +/// +- (nonnull instancetype)initWithData:(NSData * _Nonnull)data previewPhoto:(FBSDKSharePhoto * _Nullable)previewPhoto; +/// Convenience method to build a new video object from a PHAsset and an optional preview photo. +/// \param videoAsset The PHAsset that represents the video in the Photos library. +/// +/// \param previewPhoto The photo that represents the video. +/// +- (nonnull instancetype)initWithVideoAsset:(PHAsset * _Nonnull)videoAsset previewPhoto:(FBSDKSharePhoto * _Nullable)previewPhoto; +/// Convenience method to build a new video object from a URL and an optional preview photo. +/// \param videoURL The URL to the video. +/// +/// \param previewPhoto The photo that represents the video. +/// +- (nonnull instancetype)initWithVideoURL:(NSURL * _Nonnull)videoURL previewPhoto:(FBSDKSharePhoto * _Nullable)previewPhoto; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +@interface FBSDKShareVideo (SWIFT_EXTENSION(FBSDKShareKit)) +/// Asks the receiver to validate that its content or media values are valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + + +/// A model for video content to be shared. +SWIFT_CLASS_NAMED("ShareVideoContent") +@interface FBSDKShareVideoContent : NSObject +/// The video to be shared +@property (nonatomic, strong) FBSDKShareVideo * _Nonnull video; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface FBSDKShareVideoContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKShareVideoContent (SWIFT_EXTENSION(FBSDKShareKit)) +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + + + + + +/// A delegate for types conforming to the Sharing protocol. +/// The delegate is notified with the results of the sharer as long as the application has permissions to +/// receive the information. For example, if the person is not signed into the containing app, the sharer may not be able +/// to distinguish between completion of a share and cancellation. +SWIFT_PROTOCOL_NAMED("SharingDelegate") +@protocol FBSDKSharingDelegate +/// Sent to the delegate when sharing completes without error or cancellation. +/// @param sharer The sharer that completed. +/// @param results The results from the sharer. This may be nil or empty. +- (void)sharer:(id _Nonnull)sharer didCompleteWithResults:(NSDictionary * _Nonnull)results; +/// Sent to the delegate when the sharer encounters an error. +/// @param sharer The sharer that completed. +/// @param error The error. +- (void)sharer:(id _Nonnull)sharer didFailWithError:(NSError * _Nonnull)error; +/// Sent to the delegate when the sharer is cancelled. +/// @param sharer The sharer that completed. +- (void)sharerDidCancel:(id _Nonnull)sharer; +@end + + + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/Headers/FBSDKShareKit.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/Headers/FBSDKShareKit.h new file mode 100644 index 0000000..1600ab9 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/Headers/FBSDKShareKit.h @@ -0,0 +1,10 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios-macabi.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios-macabi.swiftdoc new file mode 100644 index 0000000..8bbbfce Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios-macabi.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios-macabi.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios-macabi.swiftinterface new file mode 100644 index 0000000..3fde04e --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios-macabi.swiftinterface @@ -0,0 +1,366 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKShareKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +@_exported import FBSDKShareKit +import Foundation +import Photos +import Social +import Swift +import UIKit +@objcMembers @objc(FBSDKAppInviteContent) final public class AppInviteContent : ObjectiveC.NSObject { + @objc(FBSDKAppInviteDestination) public enum Destination : Swift.Int { + case facebook + case messenger + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + } + @objc final public var appInvitePreviewImageURL: Foundation.URL? + @objc final public var appLinkURL: Foundation.URL + @objc final public var promotionCode: Swift.String? + @objc final public var promotionText: Swift.String? + @objc final public var destination: FBSDKShareKit.AppInviteContent.Destination + @objc(initWithAppLinkURL:) public init(appLinkURL: Foundation.URL) + @objc deinit +} +extension FBSDKShareKit.AppInviteContent : FBSDKShareKit.SharingValidation { + @objc final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKCameraEffectArguments) final public class CameraEffectArguments : ObjectiveC.NSObject { + @objc(setString:forKey:) final public func set(_ string: Swift.String?, forKey key: Swift.String) + @objc final public func string(forKey key: Swift.String) -> Swift.String? + @objc(setArray:forKey:) final public func set(_ array: [Swift.String]?, forKey key: Swift.String) + @objc final public func array(forKey key: Swift.String) -> [Swift.String]? + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKCameraEffectTextures) final public class CameraEffectTextures : ObjectiveC.NSObject { + @objc(setImage:forKey:) final public func set(_ image: UIKit.UIImage?, forKey key: Swift.String) + @objc(imageForKey:) final public func image(forKey key: Swift.String) -> UIKit.UIImage? + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKSendButton) final public class FBSendButton : FBSDKCoreKit.FBButton, FBSDKShareKit.SharingButton, FBSDKCoreKit.FBButtonImpressionLogging { + @objc final public var dialog: FBSDKShareKit.MessageDialog? + @objc final public var shareContent: FBSDKShareKit.SharingContent? { + @objc get + @objc set + } + @objc final public var analyticsParameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]? { + @objc get + } + @objc final public var impressionTrackingEventName: FBSDKCoreKit.AppEvents.Name { + @objc get + } + @objc final public var impressionTrackingIdentifier: Swift.String { + @objc get + } + @objc override final public var isImplicitlyDisabled: Swift.Bool { + @objc get + } + @objc final public func configureButton() + @objc override dynamic public init(frame: CoreGraphics.CGRect) + @objc required dynamic public init?(coder: Foundation.NSCoder) + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareButton) final public class FBShareButton : FBSDKCoreKit.FBButton, FBSDKShareKit.SharingButton { + @objc final public var shareContent: FBSDKShareKit.SharingContent? { + @objc get + @objc set + } + @objc final public var analyticsParameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]? { + @objc get + } + @objc final public var impressionTrackingEventName: FBSDKCoreKit.AppEvents.Name { + @objc get + } + @objc final public var impressionTrackingIdentifier: Swift.String { + @objc get + } + @objc override final public var isImplicitlyDisabled: Swift.Bool { + @objc get + } + @objc final public func configureButton() + @objc override dynamic public init(frame: CoreGraphics.CGRect) + @objc required dynamic public init?(coder: Foundation.NSCoder) + @objc deinit +} +@objcMembers @objc(FBSDKHashtag) final public class Hashtag : ObjectiveC.NSObject { + @objc final public var stringRepresentation: Swift.String + @objc(initWithString:) public init(_ string: Swift.String) + @objc override final public var description: Swift.String { + @objc get + } + @objc final public var isValid: Swift.Bool { + @objc get + } + @objc override final public var hash: Swift.Int { + @objc get + } + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKMessageDialog) public class MessageDialog : ObjectiveC.NSObject, FBSDKShareKit.SharingDialog { + @objc weak public var delegate: FBSDKShareKit.SharingDelegate? + @objc public var shareContent: FBSDKShareKit.SharingContent? + @objc public var shouldFailOnDataError: Swift.Bool + @objc(initWithContent:delegate:) convenience public init(content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) + @objc(dialogWithContent:delegate:) public static func dialog(content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.MessageDialog + @objc(showWithContent:delegate:) public static func show(content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.MessageDialog + @objc public var canShow: Swift.Bool { + @objc get + } + @discardableResult + @objc public func show() -> Swift.Bool + @objc public func validate() throws + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareCameraEffectContent) final public class ShareCameraEffectContent : ObjectiveC.NSObject { + @objc final public var effectID: Swift.String + @objc final public var effectArguments: FBSDKShareKit.CameraEffectArguments + @objc final public var effectTextures: FBSDKShareKit.CameraEffectTextures + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public var shareUUID: Swift.String? { + get + } + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareCameraEffectContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objcMembers @objc(FBSDKShareDialog) public class ShareDialog : ObjectiveC.NSObject, FBSDKShareKit.SharingDialog { + @objc weak public var fromViewController: UIKit.UIViewController? + @objc public var mode: FBSDKShareKit.ShareDialog.Mode + @objc weak public var delegate: FBSDKShareKit.SharingDelegate? + @objc public var shareContent: FBSDKShareKit.SharingContent? + @objc public var shouldFailOnDataError: Swift.Bool + @objc(initWithViewController:content:delegate:) public init(viewController: UIKit.UIViewController?, content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) + @objc deinit + @objc(dialogWithViewController:withContent:delegate:) public class func dialog(viewController: UIKit.UIViewController?, content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.ShareDialog + @discardableResult + @objc(showFromViewController:withContent:delegate:) public class func show(viewController: UIKit.UIViewController?, content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.ShareDialog +} +extension FBSDKShareKit.ShareDialog { + @objc dynamic public var canShow: Swift.Bool { + @objc get + } + @discardableResult + @objc dynamic public func show() -> Swift.Bool + @objc dynamic public func validate() throws +} +extension FBSDKShareKit.ShareDialog : FBSDKCoreKit.WebDialogDelegate { + @objc dynamic public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didCompleteWithResults results: [Swift.String : Any]) + @objc dynamic public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didFailWithError error: Swift.Error) + @objc dynamic public func webDialogDidCancel(_ webDialog: FBSDKCoreKit.WebDialog) +} +extension FBSDKShareKit.ShareDialog { + @objc(FBSDKShareDialogMode) public enum Mode : Swift.UInt, Swift.CustomStringConvertible { + case automatic + case native + case shareSheet + case browser + case web + case feedBrowser + case feedWeb + public var description: Swift.String { + get + } + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } + } +} +public let ShareErrorDomain: Swift.String +@objc(FBSDKShareError) public enum ShareError : Swift.Int { + case reserved = 200 + case openGraph + case dialogNotAvailable + case unknown + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareLinkContent) final public class ShareLinkContent : ObjectiveC.NSObject { + @objc final public var quote: Swift.String? + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareLinkContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareLinkContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objc(FBSDKShareMedia) public protocol ShareMedia { +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareMediaContent) final public class ShareMediaContent : ObjectiveC.NSObject { + @objc final public var media: [FBSDKShareKit.ShareMedia] + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareMediaContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareMediaContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKSharePhoto) final public class SharePhoto : ObjectiveC.NSObject, FBSDKShareKit.ShareMedia { + @objc final public var image: UIKit.UIImage? { + @objc get + @objc set + } + @objc final public var imageURL: Foundation.URL? { + @objc get + @objc set + } + @objc final public var photoAsset: Photos.PHAsset? { + @objc get + @objc set + } + @objc final public var isUserGenerated: Swift.Bool + @objc final public var caption: Swift.String? + @objc convenience public init(image: UIKit.UIImage, isUserGenerated: Swift.Bool) + @objc convenience public init(imageURL: Foundation.URL, isUserGenerated: Swift.Bool) + @objc convenience public init(photoAsset: Photos.PHAsset, isUserGenerated: Swift.Bool) + @objc deinit +} +extension FBSDKShareKit.SharePhoto : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKSharePhotoContent) final public class SharePhotoContent : ObjectiveC.NSObject { + @objc final public var photos: [FBSDKShareKit.SharePhoto] + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.SharePhotoContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.SharePhotoContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKShareVideo) final public class ShareVideo : ObjectiveC.NSObject, FBSDKShareKit.ShareMedia { + @objc final public var data: Foundation.Data? { + @objc get + @objc set + } + @objc final public var videoAsset: Photos.PHAsset? { + @objc get + @objc set + } + @objc final public var videoURL: Foundation.URL? { + @objc get + @objc set + } + @objc final public var previewPhoto: FBSDKShareKit.SharePhoto? + @objc convenience public init(data: Foundation.Data, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc convenience public init(videoAsset: Photos.PHAsset, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc convenience public init(videoURL: Foundation.URL, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc deinit +} +extension FBSDKShareKit.ShareVideo : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareVideoContent) final public class ShareVideoContent : ObjectiveC.NSObject { + @objc final public var video: FBSDKShareKit.ShareVideo + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public var shareUUID: Swift.String? { + get + } + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareVideoContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareVideoContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objc(FBSDKSharing) public protocol Sharing { + @objc weak var delegate: FBSDKShareKit.SharingDelegate? { get set } + @objc var shareContent: FBSDKShareKit.SharingContent? { get set } + @objc var shouldFailOnDataError: Swift.Bool { get set } + @objc(validateWithError:) func validate() throws +} +@available(tvOS, unavailable) +@objc(FBSDKSharingButton) public protocol SharingButton { + @objc var shareContent: FBSDKShareKit.SharingContent? { get set } +} +@objc(FBSDKSharingContent) public protocol SharingContent : FBSDKShareKit.SharingValidation, ObjectiveC.NSObjectProtocol { + @objc var contentURL: Foundation.URL? { get set } + @objc var hashtag: FBSDKShareKit.Hashtag? { get set } + @objc var peopleIDs: [Swift.String] { get set } + @objc var placeID: Swift.String? { get set } + @objc var ref: Swift.String? { get set } + @objc var pageID: Swift.String? { get set } + @objc var shareUUID: Swift.String? { get } + @objc(addParameters:bridgeOptions:) func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +@objc(FBSDKSharingDelegate) public protocol SharingDelegate { + @objc(sharer:didCompleteWithResults:) func sharer(_ sharer: FBSDKShareKit.Sharing, didCompleteWithResults results: [Swift.String : Any]) + @objc(sharer:didFailWithError:) func sharer(_ sharer: FBSDKShareKit.Sharing, didFailWithError error: Swift.Error) + @objc(sharerDidCancel:) func sharerDidCancel(_ sharer: FBSDKShareKit.Sharing) +} +@objc(FBSDKSharingDialog) public protocol SharingDialog : FBSDKShareKit.Sharing { + @objc var canShow: Swift.Bool { get } + @objc @discardableResult + func show() -> Swift.Bool +} +@objc(FBSDKSharingValidation) public protocol SharingValidation { + @objc(validateWithOptions:error:) func validate(options: FBSDKShareKit.ShareBridgeOptions) throws +} +public enum _ShareUtility { +} +extension FBSDKShareKit._ShareUtility { + public static func validateRequiredValue(_ value: Any, named name: Swift.String) throws + public static func validateArgument(_ value: Argument, named name: Swift.String, in possibleValues: Swift.Set) throws where Argument : Swift.Hashable +} +extension FBSDKShareKit.AppInviteContent.Destination : Swift.Equatable {} +extension FBSDKShareKit.AppInviteContent.Destination : Swift.Hashable {} +extension FBSDKShareKit.AppInviteContent.Destination : Swift.RawRepresentable {} +extension FBSDKShareKit.ShareDialog.Mode : Swift.Equatable {} +extension FBSDKShareKit.ShareDialog.Mode : Swift.Hashable {} +extension FBSDKShareKit.ShareDialog.Mode : Swift.RawRepresentable {} +extension FBSDKShareKit.ShareError : Swift.Equatable {} +extension FBSDKShareKit.ShareError : Swift.Hashable {} +extension FBSDKShareKit.ShareError : Swift.RawRepresentable {} diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..8bbbfce Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..3fde04e --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftinterface @@ -0,0 +1,366 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKShareKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +@_exported import FBSDKShareKit +import Foundation +import Photos +import Social +import Swift +import UIKit +@objcMembers @objc(FBSDKAppInviteContent) final public class AppInviteContent : ObjectiveC.NSObject { + @objc(FBSDKAppInviteDestination) public enum Destination : Swift.Int { + case facebook + case messenger + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + } + @objc final public var appInvitePreviewImageURL: Foundation.URL? + @objc final public var appLinkURL: Foundation.URL + @objc final public var promotionCode: Swift.String? + @objc final public var promotionText: Swift.String? + @objc final public var destination: FBSDKShareKit.AppInviteContent.Destination + @objc(initWithAppLinkURL:) public init(appLinkURL: Foundation.URL) + @objc deinit +} +extension FBSDKShareKit.AppInviteContent : FBSDKShareKit.SharingValidation { + @objc final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKCameraEffectArguments) final public class CameraEffectArguments : ObjectiveC.NSObject { + @objc(setString:forKey:) final public func set(_ string: Swift.String?, forKey key: Swift.String) + @objc final public func string(forKey key: Swift.String) -> Swift.String? + @objc(setArray:forKey:) final public func set(_ array: [Swift.String]?, forKey key: Swift.String) + @objc final public func array(forKey key: Swift.String) -> [Swift.String]? + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKCameraEffectTextures) final public class CameraEffectTextures : ObjectiveC.NSObject { + @objc(setImage:forKey:) final public func set(_ image: UIKit.UIImage?, forKey key: Swift.String) + @objc(imageForKey:) final public func image(forKey key: Swift.String) -> UIKit.UIImage? + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKSendButton) final public class FBSendButton : FBSDKCoreKit.FBButton, FBSDKShareKit.SharingButton, FBSDKCoreKit.FBButtonImpressionLogging { + @objc final public var dialog: FBSDKShareKit.MessageDialog? + @objc final public var shareContent: FBSDKShareKit.SharingContent? { + @objc get + @objc set + } + @objc final public var analyticsParameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]? { + @objc get + } + @objc final public var impressionTrackingEventName: FBSDKCoreKit.AppEvents.Name { + @objc get + } + @objc final public var impressionTrackingIdentifier: Swift.String { + @objc get + } + @objc override final public var isImplicitlyDisabled: Swift.Bool { + @objc get + } + @objc final public func configureButton() + @objc override dynamic public init(frame: CoreGraphics.CGRect) + @objc required dynamic public init?(coder: Foundation.NSCoder) + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareButton) final public class FBShareButton : FBSDKCoreKit.FBButton, FBSDKShareKit.SharingButton { + @objc final public var shareContent: FBSDKShareKit.SharingContent? { + @objc get + @objc set + } + @objc final public var analyticsParameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]? { + @objc get + } + @objc final public var impressionTrackingEventName: FBSDKCoreKit.AppEvents.Name { + @objc get + } + @objc final public var impressionTrackingIdentifier: Swift.String { + @objc get + } + @objc override final public var isImplicitlyDisabled: Swift.Bool { + @objc get + } + @objc final public func configureButton() + @objc override dynamic public init(frame: CoreGraphics.CGRect) + @objc required dynamic public init?(coder: Foundation.NSCoder) + @objc deinit +} +@objcMembers @objc(FBSDKHashtag) final public class Hashtag : ObjectiveC.NSObject { + @objc final public var stringRepresentation: Swift.String + @objc(initWithString:) public init(_ string: Swift.String) + @objc override final public var description: Swift.String { + @objc get + } + @objc final public var isValid: Swift.Bool { + @objc get + } + @objc override final public var hash: Swift.Int { + @objc get + } + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKMessageDialog) public class MessageDialog : ObjectiveC.NSObject, FBSDKShareKit.SharingDialog { + @objc weak public var delegate: FBSDKShareKit.SharingDelegate? + @objc public var shareContent: FBSDKShareKit.SharingContent? + @objc public var shouldFailOnDataError: Swift.Bool + @objc(initWithContent:delegate:) convenience public init(content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) + @objc(dialogWithContent:delegate:) public static func dialog(content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.MessageDialog + @objc(showWithContent:delegate:) public static func show(content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.MessageDialog + @objc public var canShow: Swift.Bool { + @objc get + } + @discardableResult + @objc public func show() -> Swift.Bool + @objc public func validate() throws + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareCameraEffectContent) final public class ShareCameraEffectContent : ObjectiveC.NSObject { + @objc final public var effectID: Swift.String + @objc final public var effectArguments: FBSDKShareKit.CameraEffectArguments + @objc final public var effectTextures: FBSDKShareKit.CameraEffectTextures + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public var shareUUID: Swift.String? { + get + } + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareCameraEffectContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objcMembers @objc(FBSDKShareDialog) public class ShareDialog : ObjectiveC.NSObject, FBSDKShareKit.SharingDialog { + @objc weak public var fromViewController: UIKit.UIViewController? + @objc public var mode: FBSDKShareKit.ShareDialog.Mode + @objc weak public var delegate: FBSDKShareKit.SharingDelegate? + @objc public var shareContent: FBSDKShareKit.SharingContent? + @objc public var shouldFailOnDataError: Swift.Bool + @objc(initWithViewController:content:delegate:) public init(viewController: UIKit.UIViewController?, content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) + @objc deinit + @objc(dialogWithViewController:withContent:delegate:) public class func dialog(viewController: UIKit.UIViewController?, content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.ShareDialog + @discardableResult + @objc(showFromViewController:withContent:delegate:) public class func show(viewController: UIKit.UIViewController?, content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.ShareDialog +} +extension FBSDKShareKit.ShareDialog { + @objc dynamic public var canShow: Swift.Bool { + @objc get + } + @discardableResult + @objc dynamic public func show() -> Swift.Bool + @objc dynamic public func validate() throws +} +extension FBSDKShareKit.ShareDialog : FBSDKCoreKit.WebDialogDelegate { + @objc dynamic public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didCompleteWithResults results: [Swift.String : Any]) + @objc dynamic public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didFailWithError error: Swift.Error) + @objc dynamic public func webDialogDidCancel(_ webDialog: FBSDKCoreKit.WebDialog) +} +extension FBSDKShareKit.ShareDialog { + @objc(FBSDKShareDialogMode) public enum Mode : Swift.UInt, Swift.CustomStringConvertible { + case automatic + case native + case shareSheet + case browser + case web + case feedBrowser + case feedWeb + public var description: Swift.String { + get + } + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } + } +} +public let ShareErrorDomain: Swift.String +@objc(FBSDKShareError) public enum ShareError : Swift.Int { + case reserved = 200 + case openGraph + case dialogNotAvailable + case unknown + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareLinkContent) final public class ShareLinkContent : ObjectiveC.NSObject { + @objc final public var quote: Swift.String? + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareLinkContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareLinkContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objc(FBSDKShareMedia) public protocol ShareMedia { +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareMediaContent) final public class ShareMediaContent : ObjectiveC.NSObject { + @objc final public var media: [FBSDKShareKit.ShareMedia] + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareMediaContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareMediaContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKSharePhoto) final public class SharePhoto : ObjectiveC.NSObject, FBSDKShareKit.ShareMedia { + @objc final public var image: UIKit.UIImage? { + @objc get + @objc set + } + @objc final public var imageURL: Foundation.URL? { + @objc get + @objc set + } + @objc final public var photoAsset: Photos.PHAsset? { + @objc get + @objc set + } + @objc final public var isUserGenerated: Swift.Bool + @objc final public var caption: Swift.String? + @objc convenience public init(image: UIKit.UIImage, isUserGenerated: Swift.Bool) + @objc convenience public init(imageURL: Foundation.URL, isUserGenerated: Swift.Bool) + @objc convenience public init(photoAsset: Photos.PHAsset, isUserGenerated: Swift.Bool) + @objc deinit +} +extension FBSDKShareKit.SharePhoto : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKSharePhotoContent) final public class SharePhotoContent : ObjectiveC.NSObject { + @objc final public var photos: [FBSDKShareKit.SharePhoto] + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.SharePhotoContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.SharePhotoContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKShareVideo) final public class ShareVideo : ObjectiveC.NSObject, FBSDKShareKit.ShareMedia { + @objc final public var data: Foundation.Data? { + @objc get + @objc set + } + @objc final public var videoAsset: Photos.PHAsset? { + @objc get + @objc set + } + @objc final public var videoURL: Foundation.URL? { + @objc get + @objc set + } + @objc final public var previewPhoto: FBSDKShareKit.SharePhoto? + @objc convenience public init(data: Foundation.Data, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc convenience public init(videoAsset: Photos.PHAsset, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc convenience public init(videoURL: Foundation.URL, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc deinit +} +extension FBSDKShareKit.ShareVideo : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareVideoContent) final public class ShareVideoContent : ObjectiveC.NSObject { + @objc final public var video: FBSDKShareKit.ShareVideo + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public var shareUUID: Swift.String? { + get + } + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareVideoContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareVideoContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objc(FBSDKSharing) public protocol Sharing { + @objc weak var delegate: FBSDKShareKit.SharingDelegate? { get set } + @objc var shareContent: FBSDKShareKit.SharingContent? { get set } + @objc var shouldFailOnDataError: Swift.Bool { get set } + @objc(validateWithError:) func validate() throws +} +@available(tvOS, unavailable) +@objc(FBSDKSharingButton) public protocol SharingButton { + @objc var shareContent: FBSDKShareKit.SharingContent? { get set } +} +@objc(FBSDKSharingContent) public protocol SharingContent : FBSDKShareKit.SharingValidation, ObjectiveC.NSObjectProtocol { + @objc var contentURL: Foundation.URL? { get set } + @objc var hashtag: FBSDKShareKit.Hashtag? { get set } + @objc var peopleIDs: [Swift.String] { get set } + @objc var placeID: Swift.String? { get set } + @objc var ref: Swift.String? { get set } + @objc var pageID: Swift.String? { get set } + @objc var shareUUID: Swift.String? { get } + @objc(addParameters:bridgeOptions:) func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +@objc(FBSDKSharingDelegate) public protocol SharingDelegate { + @objc(sharer:didCompleteWithResults:) func sharer(_ sharer: FBSDKShareKit.Sharing, didCompleteWithResults results: [Swift.String : Any]) + @objc(sharer:didFailWithError:) func sharer(_ sharer: FBSDKShareKit.Sharing, didFailWithError error: Swift.Error) + @objc(sharerDidCancel:) func sharerDidCancel(_ sharer: FBSDKShareKit.Sharing) +} +@objc(FBSDKSharingDialog) public protocol SharingDialog : FBSDKShareKit.Sharing { + @objc var canShow: Swift.Bool { get } + @objc @discardableResult + func show() -> Swift.Bool +} +@objc(FBSDKSharingValidation) public protocol SharingValidation { + @objc(validateWithOptions:error:) func validate(options: FBSDKShareKit.ShareBridgeOptions) throws +} +public enum _ShareUtility { +} +extension FBSDKShareKit._ShareUtility { + public static func validateRequiredValue(_ value: Any, named name: Swift.String) throws + public static func validateArgument(_ value: Argument, named name: Swift.String, in possibleValues: Swift.Set) throws where Argument : Swift.Hashable +} +extension FBSDKShareKit.AppInviteContent.Destination : Swift.Equatable {} +extension FBSDKShareKit.AppInviteContent.Destination : Swift.Hashable {} +extension FBSDKShareKit.AppInviteContent.Destination : Swift.RawRepresentable {} +extension FBSDKShareKit.ShareDialog.Mode : Swift.Equatable {} +extension FBSDKShareKit.ShareDialog.Mode : Swift.Hashable {} +extension FBSDKShareKit.ShareDialog.Mode : Swift.RawRepresentable {} +extension FBSDKShareKit.ShareError : Swift.Equatable {} +extension FBSDKShareKit.ShareError : Swift.Hashable {} +extension FBSDKShareKit.ShareError : Swift.RawRepresentable {} diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64-apple-ios-macabi.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64-apple-ios-macabi.swiftdoc new file mode 100644 index 0000000..9b8ac4a Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64-apple-ios-macabi.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64-apple-ios-macabi.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64-apple-ios-macabi.swiftinterface new file mode 100644 index 0000000..2b5fdfa --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64-apple-ios-macabi.swiftinterface @@ -0,0 +1,366 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target x86_64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKShareKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +@_exported import FBSDKShareKit +import Foundation +import Photos +import Social +import Swift +import UIKit +@objcMembers @objc(FBSDKAppInviteContent) final public class AppInviteContent : ObjectiveC.NSObject { + @objc(FBSDKAppInviteDestination) public enum Destination : Swift.Int { + case facebook + case messenger + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + } + @objc final public var appInvitePreviewImageURL: Foundation.URL? + @objc final public var appLinkURL: Foundation.URL + @objc final public var promotionCode: Swift.String? + @objc final public var promotionText: Swift.String? + @objc final public var destination: FBSDKShareKit.AppInviteContent.Destination + @objc(initWithAppLinkURL:) public init(appLinkURL: Foundation.URL) + @objc deinit +} +extension FBSDKShareKit.AppInviteContent : FBSDKShareKit.SharingValidation { + @objc final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKCameraEffectArguments) final public class CameraEffectArguments : ObjectiveC.NSObject { + @objc(setString:forKey:) final public func set(_ string: Swift.String?, forKey key: Swift.String) + @objc final public func string(forKey key: Swift.String) -> Swift.String? + @objc(setArray:forKey:) final public func set(_ array: [Swift.String]?, forKey key: Swift.String) + @objc final public func array(forKey key: Swift.String) -> [Swift.String]? + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKCameraEffectTextures) final public class CameraEffectTextures : ObjectiveC.NSObject { + @objc(setImage:forKey:) final public func set(_ image: UIKit.UIImage?, forKey key: Swift.String) + @objc(imageForKey:) final public func image(forKey key: Swift.String) -> UIKit.UIImage? + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKSendButton) final public class FBSendButton : FBSDKCoreKit.FBButton, FBSDKShareKit.SharingButton, FBSDKCoreKit.FBButtonImpressionLogging { + @objc final public var dialog: FBSDKShareKit.MessageDialog? + @objc final public var shareContent: FBSDKShareKit.SharingContent? { + @objc get + @objc set + } + @objc final public var analyticsParameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]? { + @objc get + } + @objc final public var impressionTrackingEventName: FBSDKCoreKit.AppEvents.Name { + @objc get + } + @objc final public var impressionTrackingIdentifier: Swift.String { + @objc get + } + @objc override final public var isImplicitlyDisabled: Swift.Bool { + @objc get + } + @objc final public func configureButton() + @objc override dynamic public init(frame: CoreGraphics.CGRect) + @objc required dynamic public init?(coder: Foundation.NSCoder) + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareButton) final public class FBShareButton : FBSDKCoreKit.FBButton, FBSDKShareKit.SharingButton { + @objc final public var shareContent: FBSDKShareKit.SharingContent? { + @objc get + @objc set + } + @objc final public var analyticsParameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]? { + @objc get + } + @objc final public var impressionTrackingEventName: FBSDKCoreKit.AppEvents.Name { + @objc get + } + @objc final public var impressionTrackingIdentifier: Swift.String { + @objc get + } + @objc override final public var isImplicitlyDisabled: Swift.Bool { + @objc get + } + @objc final public func configureButton() + @objc override dynamic public init(frame: CoreGraphics.CGRect) + @objc required dynamic public init?(coder: Foundation.NSCoder) + @objc deinit +} +@objcMembers @objc(FBSDKHashtag) final public class Hashtag : ObjectiveC.NSObject { + @objc final public var stringRepresentation: Swift.String + @objc(initWithString:) public init(_ string: Swift.String) + @objc override final public var description: Swift.String { + @objc get + } + @objc final public var isValid: Swift.Bool { + @objc get + } + @objc override final public var hash: Swift.Int { + @objc get + } + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKMessageDialog) public class MessageDialog : ObjectiveC.NSObject, FBSDKShareKit.SharingDialog { + @objc weak public var delegate: FBSDKShareKit.SharingDelegate? + @objc public var shareContent: FBSDKShareKit.SharingContent? + @objc public var shouldFailOnDataError: Swift.Bool + @objc(initWithContent:delegate:) convenience public init(content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) + @objc(dialogWithContent:delegate:) public static func dialog(content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.MessageDialog + @objc(showWithContent:delegate:) public static func show(content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.MessageDialog + @objc public var canShow: Swift.Bool { + @objc get + } + @discardableResult + @objc public func show() -> Swift.Bool + @objc public func validate() throws + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareCameraEffectContent) final public class ShareCameraEffectContent : ObjectiveC.NSObject { + @objc final public var effectID: Swift.String + @objc final public var effectArguments: FBSDKShareKit.CameraEffectArguments + @objc final public var effectTextures: FBSDKShareKit.CameraEffectTextures + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public var shareUUID: Swift.String? { + get + } + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareCameraEffectContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objcMembers @objc(FBSDKShareDialog) public class ShareDialog : ObjectiveC.NSObject, FBSDKShareKit.SharingDialog { + @objc weak public var fromViewController: UIKit.UIViewController? + @objc public var mode: FBSDKShareKit.ShareDialog.Mode + @objc weak public var delegate: FBSDKShareKit.SharingDelegate? + @objc public var shareContent: FBSDKShareKit.SharingContent? + @objc public var shouldFailOnDataError: Swift.Bool + @objc(initWithViewController:content:delegate:) public init(viewController: UIKit.UIViewController?, content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) + @objc deinit + @objc(dialogWithViewController:withContent:delegate:) public class func dialog(viewController: UIKit.UIViewController?, content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.ShareDialog + @discardableResult + @objc(showFromViewController:withContent:delegate:) public class func show(viewController: UIKit.UIViewController?, content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.ShareDialog +} +extension FBSDKShareKit.ShareDialog { + @objc dynamic public var canShow: Swift.Bool { + @objc get + } + @discardableResult + @objc dynamic public func show() -> Swift.Bool + @objc dynamic public func validate() throws +} +extension FBSDKShareKit.ShareDialog : FBSDKCoreKit.WebDialogDelegate { + @objc dynamic public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didCompleteWithResults results: [Swift.String : Any]) + @objc dynamic public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didFailWithError error: Swift.Error) + @objc dynamic public func webDialogDidCancel(_ webDialog: FBSDKCoreKit.WebDialog) +} +extension FBSDKShareKit.ShareDialog { + @objc(FBSDKShareDialogMode) public enum Mode : Swift.UInt, Swift.CustomStringConvertible { + case automatic + case native + case shareSheet + case browser + case web + case feedBrowser + case feedWeb + public var description: Swift.String { + get + } + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } + } +} +public let ShareErrorDomain: Swift.String +@objc(FBSDKShareError) public enum ShareError : Swift.Int { + case reserved = 200 + case openGraph + case dialogNotAvailable + case unknown + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareLinkContent) final public class ShareLinkContent : ObjectiveC.NSObject { + @objc final public var quote: Swift.String? + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareLinkContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareLinkContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objc(FBSDKShareMedia) public protocol ShareMedia { +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareMediaContent) final public class ShareMediaContent : ObjectiveC.NSObject { + @objc final public var media: [FBSDKShareKit.ShareMedia] + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareMediaContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareMediaContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKSharePhoto) final public class SharePhoto : ObjectiveC.NSObject, FBSDKShareKit.ShareMedia { + @objc final public var image: UIKit.UIImage? { + @objc get + @objc set + } + @objc final public var imageURL: Foundation.URL? { + @objc get + @objc set + } + @objc final public var photoAsset: Photos.PHAsset? { + @objc get + @objc set + } + @objc final public var isUserGenerated: Swift.Bool + @objc final public var caption: Swift.String? + @objc convenience public init(image: UIKit.UIImage, isUserGenerated: Swift.Bool) + @objc convenience public init(imageURL: Foundation.URL, isUserGenerated: Swift.Bool) + @objc convenience public init(photoAsset: Photos.PHAsset, isUserGenerated: Swift.Bool) + @objc deinit +} +extension FBSDKShareKit.SharePhoto : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKSharePhotoContent) final public class SharePhotoContent : ObjectiveC.NSObject { + @objc final public var photos: [FBSDKShareKit.SharePhoto] + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.SharePhotoContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.SharePhotoContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKShareVideo) final public class ShareVideo : ObjectiveC.NSObject, FBSDKShareKit.ShareMedia { + @objc final public var data: Foundation.Data? { + @objc get + @objc set + } + @objc final public var videoAsset: Photos.PHAsset? { + @objc get + @objc set + } + @objc final public var videoURL: Foundation.URL? { + @objc get + @objc set + } + @objc final public var previewPhoto: FBSDKShareKit.SharePhoto? + @objc convenience public init(data: Foundation.Data, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc convenience public init(videoAsset: Photos.PHAsset, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc convenience public init(videoURL: Foundation.URL, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc deinit +} +extension FBSDKShareKit.ShareVideo : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareVideoContent) final public class ShareVideoContent : ObjectiveC.NSObject { + @objc final public var video: FBSDKShareKit.ShareVideo + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public var shareUUID: Swift.String? { + get + } + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareVideoContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareVideoContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objc(FBSDKSharing) public protocol Sharing { + @objc weak var delegate: FBSDKShareKit.SharingDelegate? { get set } + @objc var shareContent: FBSDKShareKit.SharingContent? { get set } + @objc var shouldFailOnDataError: Swift.Bool { get set } + @objc(validateWithError:) func validate() throws +} +@available(tvOS, unavailable) +@objc(FBSDKSharingButton) public protocol SharingButton { + @objc var shareContent: FBSDKShareKit.SharingContent? { get set } +} +@objc(FBSDKSharingContent) public protocol SharingContent : FBSDKShareKit.SharingValidation, ObjectiveC.NSObjectProtocol { + @objc var contentURL: Foundation.URL? { get set } + @objc var hashtag: FBSDKShareKit.Hashtag? { get set } + @objc var peopleIDs: [Swift.String] { get set } + @objc var placeID: Swift.String? { get set } + @objc var ref: Swift.String? { get set } + @objc var pageID: Swift.String? { get set } + @objc var shareUUID: Swift.String? { get } + @objc(addParameters:bridgeOptions:) func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +@objc(FBSDKSharingDelegate) public protocol SharingDelegate { + @objc(sharer:didCompleteWithResults:) func sharer(_ sharer: FBSDKShareKit.Sharing, didCompleteWithResults results: [Swift.String : Any]) + @objc(sharer:didFailWithError:) func sharer(_ sharer: FBSDKShareKit.Sharing, didFailWithError error: Swift.Error) + @objc(sharerDidCancel:) func sharerDidCancel(_ sharer: FBSDKShareKit.Sharing) +} +@objc(FBSDKSharingDialog) public protocol SharingDialog : FBSDKShareKit.Sharing { + @objc var canShow: Swift.Bool { get } + @objc @discardableResult + func show() -> Swift.Bool +} +@objc(FBSDKSharingValidation) public protocol SharingValidation { + @objc(validateWithOptions:error:) func validate(options: FBSDKShareKit.ShareBridgeOptions) throws +} +public enum _ShareUtility { +} +extension FBSDKShareKit._ShareUtility { + public static func validateRequiredValue(_ value: Any, named name: Swift.String) throws + public static func validateArgument(_ value: Argument, named name: Swift.String, in possibleValues: Swift.Set) throws where Argument : Swift.Hashable +} +extension FBSDKShareKit.AppInviteContent.Destination : Swift.Equatable {} +extension FBSDKShareKit.AppInviteContent.Destination : Swift.Hashable {} +extension FBSDKShareKit.AppInviteContent.Destination : Swift.RawRepresentable {} +extension FBSDKShareKit.ShareDialog.Mode : Swift.Equatable {} +extension FBSDKShareKit.ShareDialog.Mode : Swift.Hashable {} +extension FBSDKShareKit.ShareDialog.Mode : Swift.RawRepresentable {} +extension FBSDKShareKit.ShareError : Swift.Equatable {} +extension FBSDKShareKit.ShareError : Swift.Hashable {} +extension FBSDKShareKit.ShareError : Swift.RawRepresentable {} diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64.swiftdoc new file mode 100644 index 0000000..9b8ac4a Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64.swiftinterface new file mode 100644 index 0000000..2b5fdfa --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64.swiftinterface @@ -0,0 +1,366 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target x86_64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKShareKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +@_exported import FBSDKShareKit +import Foundation +import Photos +import Social +import Swift +import UIKit +@objcMembers @objc(FBSDKAppInviteContent) final public class AppInviteContent : ObjectiveC.NSObject { + @objc(FBSDKAppInviteDestination) public enum Destination : Swift.Int { + case facebook + case messenger + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + } + @objc final public var appInvitePreviewImageURL: Foundation.URL? + @objc final public var appLinkURL: Foundation.URL + @objc final public var promotionCode: Swift.String? + @objc final public var promotionText: Swift.String? + @objc final public var destination: FBSDKShareKit.AppInviteContent.Destination + @objc(initWithAppLinkURL:) public init(appLinkURL: Foundation.URL) + @objc deinit +} +extension FBSDKShareKit.AppInviteContent : FBSDKShareKit.SharingValidation { + @objc final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKCameraEffectArguments) final public class CameraEffectArguments : ObjectiveC.NSObject { + @objc(setString:forKey:) final public func set(_ string: Swift.String?, forKey key: Swift.String) + @objc final public func string(forKey key: Swift.String) -> Swift.String? + @objc(setArray:forKey:) final public func set(_ array: [Swift.String]?, forKey key: Swift.String) + @objc final public func array(forKey key: Swift.String) -> [Swift.String]? + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKCameraEffectTextures) final public class CameraEffectTextures : ObjectiveC.NSObject { + @objc(setImage:forKey:) final public func set(_ image: UIKit.UIImage?, forKey key: Swift.String) + @objc(imageForKey:) final public func image(forKey key: Swift.String) -> UIKit.UIImage? + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKSendButton) final public class FBSendButton : FBSDKCoreKit.FBButton, FBSDKShareKit.SharingButton, FBSDKCoreKit.FBButtonImpressionLogging { + @objc final public var dialog: FBSDKShareKit.MessageDialog? + @objc final public var shareContent: FBSDKShareKit.SharingContent? { + @objc get + @objc set + } + @objc final public var analyticsParameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]? { + @objc get + } + @objc final public var impressionTrackingEventName: FBSDKCoreKit.AppEvents.Name { + @objc get + } + @objc final public var impressionTrackingIdentifier: Swift.String { + @objc get + } + @objc override final public var isImplicitlyDisabled: Swift.Bool { + @objc get + } + @objc final public func configureButton() + @objc override dynamic public init(frame: CoreGraphics.CGRect) + @objc required dynamic public init?(coder: Foundation.NSCoder) + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareButton) final public class FBShareButton : FBSDKCoreKit.FBButton, FBSDKShareKit.SharingButton { + @objc final public var shareContent: FBSDKShareKit.SharingContent? { + @objc get + @objc set + } + @objc final public var analyticsParameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]? { + @objc get + } + @objc final public var impressionTrackingEventName: FBSDKCoreKit.AppEvents.Name { + @objc get + } + @objc final public var impressionTrackingIdentifier: Swift.String { + @objc get + } + @objc override final public var isImplicitlyDisabled: Swift.Bool { + @objc get + } + @objc final public func configureButton() + @objc override dynamic public init(frame: CoreGraphics.CGRect) + @objc required dynamic public init?(coder: Foundation.NSCoder) + @objc deinit +} +@objcMembers @objc(FBSDKHashtag) final public class Hashtag : ObjectiveC.NSObject { + @objc final public var stringRepresentation: Swift.String + @objc(initWithString:) public init(_ string: Swift.String) + @objc override final public var description: Swift.String { + @objc get + } + @objc final public var isValid: Swift.Bool { + @objc get + } + @objc override final public var hash: Swift.Int { + @objc get + } + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKMessageDialog) public class MessageDialog : ObjectiveC.NSObject, FBSDKShareKit.SharingDialog { + @objc weak public var delegate: FBSDKShareKit.SharingDelegate? + @objc public var shareContent: FBSDKShareKit.SharingContent? + @objc public var shouldFailOnDataError: Swift.Bool + @objc(initWithContent:delegate:) convenience public init(content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) + @objc(dialogWithContent:delegate:) public static func dialog(content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.MessageDialog + @objc(showWithContent:delegate:) public static func show(content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.MessageDialog + @objc public var canShow: Swift.Bool { + @objc get + } + @discardableResult + @objc public func show() -> Swift.Bool + @objc public func validate() throws + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareCameraEffectContent) final public class ShareCameraEffectContent : ObjectiveC.NSObject { + @objc final public var effectID: Swift.String + @objc final public var effectArguments: FBSDKShareKit.CameraEffectArguments + @objc final public var effectTextures: FBSDKShareKit.CameraEffectTextures + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public var shareUUID: Swift.String? { + get + } + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareCameraEffectContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objcMembers @objc(FBSDKShareDialog) public class ShareDialog : ObjectiveC.NSObject, FBSDKShareKit.SharingDialog { + @objc weak public var fromViewController: UIKit.UIViewController? + @objc public var mode: FBSDKShareKit.ShareDialog.Mode + @objc weak public var delegate: FBSDKShareKit.SharingDelegate? + @objc public var shareContent: FBSDKShareKit.SharingContent? + @objc public var shouldFailOnDataError: Swift.Bool + @objc(initWithViewController:content:delegate:) public init(viewController: UIKit.UIViewController?, content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) + @objc deinit + @objc(dialogWithViewController:withContent:delegate:) public class func dialog(viewController: UIKit.UIViewController?, content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.ShareDialog + @discardableResult + @objc(showFromViewController:withContent:delegate:) public class func show(viewController: UIKit.UIViewController?, content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.ShareDialog +} +extension FBSDKShareKit.ShareDialog { + @objc dynamic public var canShow: Swift.Bool { + @objc get + } + @discardableResult + @objc dynamic public func show() -> Swift.Bool + @objc dynamic public func validate() throws +} +extension FBSDKShareKit.ShareDialog : FBSDKCoreKit.WebDialogDelegate { + @objc dynamic public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didCompleteWithResults results: [Swift.String : Any]) + @objc dynamic public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didFailWithError error: Swift.Error) + @objc dynamic public func webDialogDidCancel(_ webDialog: FBSDKCoreKit.WebDialog) +} +extension FBSDKShareKit.ShareDialog { + @objc(FBSDKShareDialogMode) public enum Mode : Swift.UInt, Swift.CustomStringConvertible { + case automatic + case native + case shareSheet + case browser + case web + case feedBrowser + case feedWeb + public var description: Swift.String { + get + } + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } + } +} +public let ShareErrorDomain: Swift.String +@objc(FBSDKShareError) public enum ShareError : Swift.Int { + case reserved = 200 + case openGraph + case dialogNotAvailable + case unknown + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareLinkContent) final public class ShareLinkContent : ObjectiveC.NSObject { + @objc final public var quote: Swift.String? + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareLinkContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareLinkContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objc(FBSDKShareMedia) public protocol ShareMedia { +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareMediaContent) final public class ShareMediaContent : ObjectiveC.NSObject { + @objc final public var media: [FBSDKShareKit.ShareMedia] + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareMediaContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareMediaContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKSharePhoto) final public class SharePhoto : ObjectiveC.NSObject, FBSDKShareKit.ShareMedia { + @objc final public var image: UIKit.UIImage? { + @objc get + @objc set + } + @objc final public var imageURL: Foundation.URL? { + @objc get + @objc set + } + @objc final public var photoAsset: Photos.PHAsset? { + @objc get + @objc set + } + @objc final public var isUserGenerated: Swift.Bool + @objc final public var caption: Swift.String? + @objc convenience public init(image: UIKit.UIImage, isUserGenerated: Swift.Bool) + @objc convenience public init(imageURL: Foundation.URL, isUserGenerated: Swift.Bool) + @objc convenience public init(photoAsset: Photos.PHAsset, isUserGenerated: Swift.Bool) + @objc deinit +} +extension FBSDKShareKit.SharePhoto : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKSharePhotoContent) final public class SharePhotoContent : ObjectiveC.NSObject { + @objc final public var photos: [FBSDKShareKit.SharePhoto] + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.SharePhotoContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.SharePhotoContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKShareVideo) final public class ShareVideo : ObjectiveC.NSObject, FBSDKShareKit.ShareMedia { + @objc final public var data: Foundation.Data? { + @objc get + @objc set + } + @objc final public var videoAsset: Photos.PHAsset? { + @objc get + @objc set + } + @objc final public var videoURL: Foundation.URL? { + @objc get + @objc set + } + @objc final public var previewPhoto: FBSDKShareKit.SharePhoto? + @objc convenience public init(data: Foundation.Data, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc convenience public init(videoAsset: Photos.PHAsset, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc convenience public init(videoURL: Foundation.URL, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc deinit +} +extension FBSDKShareKit.ShareVideo : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareVideoContent) final public class ShareVideoContent : ObjectiveC.NSObject { + @objc final public var video: FBSDKShareKit.ShareVideo + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public var shareUUID: Swift.String? { + get + } + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareVideoContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareVideoContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objc(FBSDKSharing) public protocol Sharing { + @objc weak var delegate: FBSDKShareKit.SharingDelegate? { get set } + @objc var shareContent: FBSDKShareKit.SharingContent? { get set } + @objc var shouldFailOnDataError: Swift.Bool { get set } + @objc(validateWithError:) func validate() throws +} +@available(tvOS, unavailable) +@objc(FBSDKSharingButton) public protocol SharingButton { + @objc var shareContent: FBSDKShareKit.SharingContent? { get set } +} +@objc(FBSDKSharingContent) public protocol SharingContent : FBSDKShareKit.SharingValidation, ObjectiveC.NSObjectProtocol { + @objc var contentURL: Foundation.URL? { get set } + @objc var hashtag: FBSDKShareKit.Hashtag? { get set } + @objc var peopleIDs: [Swift.String] { get set } + @objc var placeID: Swift.String? { get set } + @objc var ref: Swift.String? { get set } + @objc var pageID: Swift.String? { get set } + @objc var shareUUID: Swift.String? { get } + @objc(addParameters:bridgeOptions:) func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +@objc(FBSDKSharingDelegate) public protocol SharingDelegate { + @objc(sharer:didCompleteWithResults:) func sharer(_ sharer: FBSDKShareKit.Sharing, didCompleteWithResults results: [Swift.String : Any]) + @objc(sharer:didFailWithError:) func sharer(_ sharer: FBSDKShareKit.Sharing, didFailWithError error: Swift.Error) + @objc(sharerDidCancel:) func sharerDidCancel(_ sharer: FBSDKShareKit.Sharing) +} +@objc(FBSDKSharingDialog) public protocol SharingDialog : FBSDKShareKit.Sharing { + @objc var canShow: Swift.Bool { get } + @objc @discardableResult + func show() -> Swift.Bool +} +@objc(FBSDKSharingValidation) public protocol SharingValidation { + @objc(validateWithOptions:error:) func validate(options: FBSDKShareKit.ShareBridgeOptions) throws +} +public enum _ShareUtility { +} +extension FBSDKShareKit._ShareUtility { + public static func validateRequiredValue(_ value: Any, named name: Swift.String) throws + public static func validateArgument(_ value: Argument, named name: Swift.String, in possibleValues: Swift.Set) throws where Argument : Swift.Hashable +} +extension FBSDKShareKit.AppInviteContent.Destination : Swift.Equatable {} +extension FBSDKShareKit.AppInviteContent.Destination : Swift.Hashable {} +extension FBSDKShareKit.AppInviteContent.Destination : Swift.RawRepresentable {} +extension FBSDKShareKit.ShareDialog.Mode : Swift.Equatable {} +extension FBSDKShareKit.ShareDialog.Mode : Swift.Hashable {} +extension FBSDKShareKit.ShareDialog.Mode : Swift.RawRepresentable {} +extension FBSDKShareKit.ShareError : Swift.Equatable {} +extension FBSDKShareKit.ShareError : Swift.Hashable {} +extension FBSDKShareKit.ShareError : Swift.RawRepresentable {} diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/Modules/module.modulemap b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/Modules/module.modulemap new file mode 100644 index 0000000..3d203af --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module FBSDKShareKit { + umbrella header "FBSDKShareKit.h" + + export * + module * { export * } +} + +module FBSDKShareKit.Swift { + header "FBSDKShareKit-Swift.h" + requires objc +} diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/Resources/Info.plist b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/Resources/Info.plist new file mode 100644 index 0000000..b0b0a6b --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKShareKit.framework/Resources/Info.plist @@ -0,0 +1,52 @@ + + + + + BuildMachineOSBuild + 21E258 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FBSDKShareKit + CFBundleIdentifier + com.facebook.sdk.FBSDKShareKit + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FBSDKShareKit + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 13.2.0 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 13A233 + DTPlatformName + macosx + DTPlatformVersion + 11.3 + DTSDKBuild + 20E214 + DTSDKName + macosx11.3 + DTXcode + 1300 + DTXcodeBuild + 13A233 + LSMinimumSystemVersion + 10.15 + UIDeviceFamily + + 2 + + + diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/FBSDKShareKit b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/FBSDKShareKit new file mode 100644 index 0000000..1776008 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/FBSDKShareKit differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/Headers/FBSDKShareBridgeOptions.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/Headers/FBSDKShareBridgeOptions.h new file mode 100644 index 0000000..02dcbb2 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/Headers/FBSDKShareBridgeOptions.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Flags to indicate support for newer bridge options beyond the initial 20130410 implementation. +typedef NS_OPTIONS(NSUInteger, FBSDKShareBridgeOptions) { + FBSDKShareBridgeOptionsDefault = 0, + FBSDKShareBridgeOptionsPhotoAsset = 1 << 0, + FBSDKShareBridgeOptionsPhotoImageURL = 1 << 1, // if set, a web-based URL is required; asset, image, and imageURL.isFileURL not allowed + FBSDKShareBridgeOptionsVideoAsset = 1 << 2, + FBSDKShareBridgeOptionsVideoData = 1 << 3, + FBSDKShareBridgeOptionsWebHashtag = 1 << 4, // if set, pass the hashtag as a string value, not an array of one string +} NS_SWIFT_NAME(ShareBridgeOptions); + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/Headers/FBSDKShareErrorDomain.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/Headers/FBSDKShareErrorDomain.h new file mode 100644 index 0000000..a4dfe60 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/Headers/FBSDKShareErrorDomain.h @@ -0,0 +1,20 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + The error domain for all errors from FBSDKShareKit. + + Error codes from the SDK in the range 200-299 are reserved for this domain. + */ +FOUNDATION_EXPORT NSErrorDomain const FBSDKShareErrorDomain; + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/Headers/FBSDKShareKit-Swift.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/Headers/FBSDKShareKit-Swift.h new file mode 100644 index 0000000..c6cd09f --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/Headers/FBSDKShareKit-Swift.h @@ -0,0 +1,1924 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +#ifndef FBSDKSHAREKIT_SWIFT_H +#define FBSDKSHAREKIT_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import CoreGraphics; +@import FBSDKCoreKit; +@import Foundation; +@import ObjectiveC; +#endif + +#import + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKShareKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + +@class NSURL; +@class NSString; +enum FBSDKAppInviteDestination : NSInteger; + +/// A model for app invite +SWIFT_CLASS_NAMED("AppInviteContent") +@interface FBSDKAppInviteContent : NSObject +/// A URL to a preview image that will be displayed with the app invite +/// This is optional. If you don’t include it a fallback image will be used. +@property (nonatomic, copy) NSURL * _Nullable appInvitePreviewImageURL; +/// An app link target that will be used as a target when the user accept the invite. +@property (nonatomic, copy) NSURL * _Nonnull appLinkURL; +/// Promotional code to be displayed while sending and receiving the invite. +/// This is optional. This can be between 0 and 10 characters long and can contain +/// alphanumeric characters only. To set a promo code, you need to set promo text. +@property (nonatomic, copy) NSString * _Nullable promotionCode; +/// Promotional text to be displayed while sending and receiving the invite. +/// This is optional. This can be between 0 and 80 characters long and can contain +/// alphanumeric and spaces only. +@property (nonatomic, copy) NSString * _Nullable promotionText; +/// Destination for the app invite. The default value is .facebook. +@property (nonatomic) enum FBSDKAppInviteDestination destination; +- (nonnull instancetype)initWithAppLinkURL:(NSURL * _Nonnull)appLinkURL OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// Specifies the privacy of a group. +typedef SWIFT_ENUM_NAMED(NSInteger, FBSDKAppInviteDestination, "Destination", open) { +/// Deliver to Facebook + FBSDKAppInviteDestinationFacebook = 0, + FBSDKAppInviteDestinationMessenger = 1, +}; + + +/// A base interface for validation of content and media. +SWIFT_PROTOCOL_NAMED("SharingValidation") +@protocol FBSDKSharingValidation +/// Asks the receiver to validate that its content or media values are valid. +/// \param options The share bridge options to use for validation. +/// +/// +/// throws: +/// If the values are not valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)options error:(NSError * _Nullable * _Nullable)error; +@end + + +@interface FBSDKAppInviteContent (SWIFT_EXTENSION(FBSDKShareKit)) +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + + +/// A container of arguments for a camera effect. +/// An argument is a String or [String] identified by a String key. +SWIFT_CLASS_NAMED("CameraEffectArguments") +@interface FBSDKCameraEffectArguments : NSObject +/// Sets a string argument in the container. +/// @param string The argument +/// @param key The key for the argument +- (void)setString:(NSString * _Nullable)string forKey:(NSString * _Nonnull)key; +/// Gets a string argument from the container. +/// @param key The key for the argument +/// @return The string value or nil +- (NSString * _Nullable)stringForKey:(NSString * _Nonnull)key SWIFT_WARN_UNUSED_RESULT; +/// Sets a string array argument in the container. +/// @param array The array argument +/// @param key The key for the argument +- (void)setArray:(NSArray * _Nullable)array forKey:(NSString * _Nonnull)key; +/// Gets an array argument from the container. +/// @param key The key for the argument +/// @return The array argument +- (NSArray * _Nullable)arrayForKey:(NSString * _Nonnull)key SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@class UIImage; + +/// A container of textures for a camera effect. +/// A texture for a camera effect is an UIImages identified by a NSString key. +SWIFT_CLASS_NAMED("CameraEffectTextures") +@interface FBSDKCameraEffectTextures : NSObject +/// Sets the image for a texture key. +/// @param image The UIImage for the texture +/// @param key The key for the texture +- (void)setImage:(UIImage * _Nullable)image forKey:(NSString * _Nonnull)key; +/// Gets the image for a texture key. +/// @param key The key for the texture +/// @return The texture UIImage or nil +- (UIImage * _Nullable)imageForKey:(NSString * _Nonnull)key SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@protocol FBSDKSharingContent; + +/// The common interface for sharing buttons. +/// See FBSendButton and FBShareButton +SWIFT_PROTOCOL_NAMED("SharingButton") SWIFT_AVAILABILITY(tvos,unavailable) +@protocol FBSDKSharingButton +/// The content to be shared. +@property (nonatomic, strong) id _Nullable shareContent; +@end + +@class FBSDKMessageDialog; +@class NSNumber; +@class NSCoder; + +/// A button to send content through Messenger. +/// Tapping the receiver will invoke the FBSDKShareDialog with the attached shareContent. If the dialog cannot +/// be shown, the button will be disable. +SWIFT_CLASS_NAMED("FBSendButton") +@interface FBSDKSendButton : FBSDKButton +@property (nonatomic, strong) FBSDKMessageDialog * _Nullable dialog; +@property (nonatomic, strong) id _Nullable shareContent; +@property (nonatomic, readonly, copy) NSDictionary * _Nullable analyticsParameters; +@property (nonatomic, readonly) FBSDKAppEventName _Nonnull impressionTrackingEventName; +@property (nonatomic, readonly, copy) NSString * _Nonnull impressionTrackingIdentifier; +@property (nonatomic, readonly, getter=isImplicitlyDisabled) BOOL implicitlyDisabled; +- (void)configureButton; +- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; +@end + + + +/// A button to share content. +/// Tapping the receiver will invoke the FBSDKShareDialog with the attached shareContent. If the dialog cannot +/// be shown, the button will be disabled. +SWIFT_CLASS_NAMED("FBShareButton") +@interface FBSDKShareButton : FBSDKButton +@property (nonatomic, strong) id _Nullable shareContent; +@property (nonatomic, readonly, copy) NSDictionary * _Nullable analyticsParameters; +@property (nonatomic, readonly) FBSDKAppEventName _Nonnull impressionTrackingEventName; +@property (nonatomic, readonly, copy) NSString * _Nonnull impressionTrackingIdentifier; +@property (nonatomic, readonly, getter=isImplicitlyDisabled) BOOL implicitlyDisabled; +- (void)configureButton; +- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; +@end + + + +/// Represents a single hashtag that can be used with the share dialog. +SWIFT_CLASS_NAMED("Hashtag") +@interface FBSDKHashtag : NSObject +/// The hashtag string. +/// You are responsible for making sure that stringRepresentation is a valid hashtag (a single ‘#’ followed by one or more +/// word characters). Invalid hashtags are ignored when sharing content. You can check validity with thevalid property. +/// @return The hashtag string +@property (nonatomic, copy) NSString * _Nonnull stringRepresentation; +- (nonnull instancetype)initWithString:(NSString * _Nonnull)string OBJC_DESIGNATED_INITIALIZER; +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// Tests if a hashtag is valid. +/// A valid hashtag matches the regular expression “#\w+”: A single ‘#’ followed by one or more word characters. +/// @return true if the hashtag is valid, false otherwise. +@property (nonatomic, readonly) BOOL isValid; +@property (nonatomic, readonly) NSUInteger hash; +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@protocol FBSDKSharingDelegate; + +/// The common interface for components that initiate sharing. +/// See ShareDialog, MessageDialog +SWIFT_PROTOCOL_NAMED("Sharing") +@protocol FBSDKSharing +/// The receiver’s delegate or nil if it doesn’t have a delegate. +@property (nonatomic, weak) id _Nullable delegate; +/// The content to be shared. +@property (nonatomic, strong) id _Nullable shareContent; +/// A boolean value that indicates whether the receiver should fail if it finds an error with the share content. +/// If false, the sharer will still be displayed without the data that was misconfigured. For example, an +/// invalid placeID specified on the shareContent would produce a data error. +@property (nonatomic) BOOL shouldFailOnDataError; +/// Validates the content on the receiver. +/// @throws An error if the content is invalid +- (BOOL)validateWithError:(NSError * _Nullable * _Nullable)error; +@end + + +/// The common interface for dialogs that initiate sharing. +SWIFT_PROTOCOL_NAMED("SharingDialog") +@protocol FBSDKSharingDialog +/// A boolean value that indicates whether the receiver can initiate a share. +/// May return false if the appropriate Facebook app is not installed and is required or an access token is +/// required but not available. This method does not validate the content on the receiver, so this can be checked before +/// building up the content. +/// See Sharing.validate(error:) +/// @return true if the receiver can share, otherwise false. +@property (nonatomic, readonly) BOOL canShow; +/// Shows the dialog. +/// @return true if the receiver was able to begin sharing, otherwise false. +- (BOOL)show; +@end + + +/// A dialog for sharing content through Messenger. +/// SUPPORTED SHARE TYPES +///
    +///
  • +/// FBSDKShareLinkContent +///
  • +///
+/// UNSUPPORTED SHARE TYPES (DEPRECATED AUGUST 2018) +///
    +///
  • +/// FBSDKShareOpenGraphContent +///
  • +///
  • +/// FBSDKSharePhotoContent +///
  • +///
  • +/// FBSDKShareVideoContent +///
  • +///
  • +/// FBSDKShareMessengerOpenGraphMusicTemplateContent +///
  • +///
  • +/// FBSDKShareMessengerMediaTemplateContent +///
  • +///
  • +/// FBSDKShareMessengerGenericTemplateContent +///
  • +///
  • +/// Any other types that are not one of the four supported types listed above +///
  • +///
+SWIFT_CLASS_NAMED("MessageDialog") +@interface FBSDKMessageDialog : NSObject +/// The receiver’s delegate or nil if it doesn’t have a delegate. +@property (nonatomic, weak) id _Nullable delegate; +/// The content to be shared. +@property (nonatomic, strong) id _Nullable shareContent; +/// A Boolean value that indicates whether the receiver should fail if it finds an error with the share content. +/// If false, the sharer will still be displayed without the data that was mis-configured. For example, an +/// invalid placeID specified on the shareContent would produce a data error. +@property (nonatomic) BOOL shouldFailOnDataError; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// Convenience initializer to return a Message Share Dialog with content and a delegate. +/// @param content The content to be shared. +/// @param delegate The receiver’s delegate. +- (nonnull instancetype)initWithContent:(id _Nullable)content delegate:(id _Nullable)delegate; +/// Convenience method to return a Message Share Dialog with content and a delegate. +/// @param content The content to be shared. +/// @param delegate The receiver’s delegate. ++ (FBSDKMessageDialog * _Nonnull)dialogWithContent:(id _Nullable)content delegate:(id _Nullable)delegate SWIFT_WARN_UNUSED_RESULT; +/// Convenience method to show a Message Share Dialog with content and a delegate. +/// @param content The content to be shared. +/// @param delegate The receiver’s delegate. ++ (FBSDKMessageDialog * _Nonnull)showWithContent:(id _Nullable)content delegate:(id _Nullable)delegate SWIFT_WARN_UNUSED_RESULT; +/// A Boolean value that indicates whether the receiver can initiate a share. +/// May return false if the appropriate Facebook app is not installed and is required or an access token is +/// required but not available. This method does not validate the content on the receiver, so this can be checked before +/// building up the content. +/// See Sharing.validate() +/// @return true if the receiver can share, otherwise false. +@property (nonatomic, readonly) BOOL canShow; +/// Shows the dialog. +/// @return true if the receiver was able to begin sharing, otherwise false. +- (BOOL)show; +/// Validates the content on the receiver. +/// @return true if the content is valid, otherwise false. +- (BOOL)validateWithError:(NSError * _Nullable * _Nullable)error; +@end + + + +/// A model for content to share with a Facebook camera effect. +SWIFT_CLASS_NAMED("ShareCameraEffectContent") +@interface FBSDKShareCameraEffectContent : NSObject +/// ID of the camera effect to use. +@property (nonatomic, copy) NSString * _Nonnull effectID; +/// Arguments for the effect. +@property (nonatomic, strong) FBSDKCameraEffectArguments * _Nonnull effectArguments; +/// Textures for the effect. +@property (nonatomic, strong) FBSDKCameraEffectTextures * _Nonnull effectTextures; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A base interface for content to be shared. +SWIFT_PROTOCOL_NAMED("SharingContent") +@protocol FBSDKSharingContent +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. +/// See documentation for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKShareCameraEffectContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + +@class UIViewController; +enum FBSDKShareDialogMode : NSUInteger; + +/// A dialog for sharing content on Facebook. +SWIFT_CLASS_NAMED("ShareDialog") +@interface FBSDKShareDialog : NSObject +/// A UIViewController from which to present the dialog. +/// If not specified, the topmost view controller will be automatically determined as best as possible. +@property (nonatomic, weak) UIViewController * _Nullable fromViewController; +/// The mode with which to display the dialog. +/// Defaults to .automatic, which will automatically choose the best available mode. +@property (nonatomic) enum FBSDKShareDialogMode mode; +/// The receiver’s delegate or nil if it doesn’t have a delegate. +@property (nonatomic, weak) id _Nullable delegate; +/// The content to be shared. +@property (nonatomic, strong) id _Nullable shareContent; +/// A Boolean value that indicates whether the receiver should fail if it finds an error with the share content. +/// If false, the sharer will still be displayed without the data that was misconfigured. For example, an +/// invalid placeID specified on the shareContent would produce a data error. +@property (nonatomic) BOOL shouldFailOnDataError; +/// Convenience initializer to initialize a ShareDialog with a view controller, content and delegate. +/// @param viewController A view controller from which to present the dialog, if appropriate. +/// @param content The content to be shared. +/// @param delegate The dialog’s delegate. +- (nonnull instancetype)initWithViewController:(UIViewController * _Nullable)viewController content:(id _Nullable)content delegate:(id _Nullable)delegate OBJC_DESIGNATED_INITIALIZER; +/// Convenience method to create a ShareDialog with a view controller, content and delegate. +/// @param viewController A view controller from which to present the dialog, if appropriate. +/// @param content The content to be shared. +/// @param delegate The dialog’s delegate. ++ (FBSDKShareDialog * _Nonnull)dialogWithViewController:(UIViewController * _Nullable)viewController withContent:(id _Nullable)content delegate:(id _Nullable)delegate SWIFT_WARN_UNUSED_RESULT; +/// Convenience method to show a ShareDialog with a view controller, content and delegate. +/// @param viewController A view controller from which to present the dialog, if appropriate. +/// @param content The content to be shared. +/// @param delegate The dialog’s delegate. ++ (FBSDKShareDialog * _Nonnull)showFromViewController:(UIViewController * _Nullable)viewController withContent:(id _Nullable)content delegate:(id _Nullable)delegate; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface FBSDKShareDialog (SWIFT_EXTENSION(FBSDKShareKit)) +@end + +/// Modes for the FBSDKShareDialog. +/// The automatic mode will progressively check the availability of different modes and open the most +/// appropriate mode for the dialog that is available. +typedef SWIFT_ENUM_NAMED(NSUInteger, FBSDKShareDialogMode, "Mode", open) { +/// Acts with the most appropriate mode that is available. + FBSDKShareDialogModeAutomatic = 0, +/// Displays the dialog in the main native Facebook app. + FBSDKShareDialogModeNative = 1, +/// Displays the dialog in the iOS integrated share sheet. + FBSDKShareDialogModeShareSheet = 2, +/// Displays the dialog in Safari. + FBSDKShareDialogModeBrowser = 3, +/// Displays the dialog in a WKWebView within the app. + FBSDKShareDialogModeWeb = 4, +/// Displays the feed dialog in Safari. + FBSDKShareDialogModeFeedBrowser = 5, +/// Displays the feed dialog in a WKWebView within the app. + FBSDKShareDialogModeFeedWeb = 6, +}; + +@class FBSDKWebDialog; + +@interface FBSDKShareDialog (SWIFT_EXTENSION(FBSDKShareKit)) +- (void)webDialog:(FBSDKWebDialog * _Nonnull)webDialog didCompleteWithResults:(NSDictionary * _Nonnull)results; +- (void)webDialog:(FBSDKWebDialog * _Nonnull)webDialog didFailWithError:(NSError * _Nonnull)error; +- (void)webDialogDidCancel:(FBSDKWebDialog * _Nonnull)webDialog; +@end + + + +@interface FBSDKShareDialog (SWIFT_EXTENSION(FBSDKShareKit)) +@property (nonatomic, readonly) BOOL canShow; +- (BOOL)show; +- (BOOL)validateWithError:(NSError * _Nullable * _Nullable)error; +@end + + +/// ShareError +/// Error codes for ShareErrorDomain. +typedef SWIFT_ENUM_NAMED(NSInteger, FBSDKShareError, "ShareError", open) { +/// Reserved + FBSDKShareErrorReserved = 200, +/// The error code for errors from uploading open graph objects. + FBSDKShareErrorOpenGraph = 201, +/// The error code for when a sharing dialog is not available. +/// Use the canShare methods to check for this case before calling show. + FBSDKShareErrorDialogNotAvailable = 202, +/// The error code for unknown errors. + FBSDKShareErrorUnknown = 203, +}; + + +/// A model for status and link content to be shared. +SWIFT_CLASS_NAMED("ShareLinkContent") +@interface FBSDKShareLinkContent : NSObject +/// Some quote text of the link. +/// If specified, the quote text will render with custom styling on top of the link. +@property (nonatomic, copy) NSString * _Nullable quote; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface FBSDKShareLinkContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKShareLinkContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Asks the receiver to validate that its content or media values are valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + +/// A protocol for media content (photo or video) to be shared. +SWIFT_PROTOCOL_NAMED("ShareMedia") +@protocol FBSDKShareMedia +@end + + +/// A model for media content (photo or video) to be shared. +SWIFT_CLASS_NAMED("ShareMediaContent") +@interface FBSDKShareMediaContent : NSObject +/// Media to be shared: an array of SharePhoto or ShareVideo +@property (nonatomic, copy) NSArray> * _Nonnull media; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface FBSDKShareMediaContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Asks the receiver to validate that its content or media values are valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + +@interface FBSDKShareMediaContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + +@class PHAsset; + +/// A photo for sharing. +SWIFT_CLASS_NAMED("SharePhoto") +@interface FBSDKSharePhoto : NSObject +/// If the photo is resident in memory, this method supplies the data. +@property (nonatomic, strong) UIImage * _Nullable image; +/// URL that points to a network location or the location of the photo on disk +@property (nonatomic, copy) NSURL * _Nullable imageURL; +/// The representation of the photo in the Photos library. +@property (nonatomic, strong) PHAsset * _Nullable photoAsset; +/// Specifies whether the photo represented by the receiver was generated by the user (true) +/// or by the application (false). +@property (nonatomic) BOOL isUserGenerated; +/// The user-generated caption for the photo. Note that the ‘caption’ must come from +/// the user, as pre-filled content is forbidden by the Platform Policies (2.3). +@property (nonatomic, copy) NSString * _Nullable caption; +/// Convenience method to build a new photo object with an image. +/// \param image If the photo is resident in memory, this method supplies the data +/// +/// \param isUserGenerated Specifies whether the photo represented by the receiver was generated by the user or by the +/// application +/// +- (nonnull instancetype)initWithImage:(UIImage * _Nonnull)image isUserGenerated:(BOOL)isUserGenerated; +/// Convenience method to build a new photo object with an imageURL. +/// This method should only be used when adding photo content to open graph stories. +/// For example, if you’re trying to share a photo from the web by itself, download the image and use +/// init(image:isUserGenerated:) instead. +/// \param imageURL The URL to the photo +/// +/// \param isUserGenerated Specifies whether the photo represented by the receiver was generated by the user or by the +/// application +/// +- (nonnull instancetype)initWithImageURL:(NSURL * _Nonnull)imageURL isUserGenerated:(BOOL)isUserGenerated; +/// Convenience method to build a new photo object with a PHAsset. +/// \param photoAsset The PHAsset that represents the photo in the Photos library. +/// +/// \param isUserGenerated Specifies whether the photo represented by the receiver was generated by the user or by +/// the application +/// +- (nonnull instancetype)initWithPhotoAsset:(PHAsset * _Nonnull)photoAsset isUserGenerated:(BOOL)isUserGenerated; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +@interface FBSDKSharePhoto (SWIFT_EXTENSION(FBSDKShareKit)) +/// Asks the receiver to validate that its content or media values are valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + + +/// A model for photo content to be shared. +SWIFT_CLASS_NAMED("SharePhotoContent") +@interface FBSDKSharePhotoContent : NSObject +/// Photos to be shared. +@property (nonatomic, copy) NSArray * _Nonnull photos; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface FBSDKSharePhotoContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKSharePhotoContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Validate that this content contains valid values +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + +@class NSData; + +/// A video for sharing. +SWIFT_CLASS_NAMED("ShareVideo") +@interface FBSDKShareVideo : NSObject +/// The raw video data. +@property (nonatomic, copy) NSData * _Nullable data; +/// The representation of the video in the Photos library. +@property (nonatomic, strong) PHAsset * _Nullable videoAsset; +/// The file URL to the video. +@property (nonatomic, copy) NSURL * _Nullable videoURL; +/// The photo that represents the video. +@property (nonatomic, strong) FBSDKSharePhoto * _Nullable previewPhoto; +/// Convenience method to build a new video object from raw data and an optional preview photo. +/// \param data The Data object that holds the raw video data. +/// +/// \param previewPhoto The photo that represents the video. +/// +- (nonnull instancetype)initWithData:(NSData * _Nonnull)data previewPhoto:(FBSDKSharePhoto * _Nullable)previewPhoto; +/// Convenience method to build a new video object from a PHAsset and an optional preview photo. +/// \param videoAsset The PHAsset that represents the video in the Photos library. +/// +/// \param previewPhoto The photo that represents the video. +/// +- (nonnull instancetype)initWithVideoAsset:(PHAsset * _Nonnull)videoAsset previewPhoto:(FBSDKSharePhoto * _Nullable)previewPhoto; +/// Convenience method to build a new video object from a URL and an optional preview photo. +/// \param videoURL The URL to the video. +/// +/// \param previewPhoto The photo that represents the video. +/// +- (nonnull instancetype)initWithVideoURL:(NSURL * _Nonnull)videoURL previewPhoto:(FBSDKSharePhoto * _Nullable)previewPhoto; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +@interface FBSDKShareVideo (SWIFT_EXTENSION(FBSDKShareKit)) +/// Asks the receiver to validate that its content or media values are valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + + +/// A model for video content to be shared. +SWIFT_CLASS_NAMED("ShareVideoContent") +@interface FBSDKShareVideoContent : NSObject +/// The video to be shared +@property (nonatomic, strong) FBSDKShareVideo * _Nonnull video; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface FBSDKShareVideoContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKShareVideoContent (SWIFT_EXTENSION(FBSDKShareKit)) +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + + + + + +/// A delegate for types conforming to the Sharing protocol. +/// The delegate is notified with the results of the sharer as long as the application has permissions to +/// receive the information. For example, if the person is not signed into the containing app, the sharer may not be able +/// to distinguish between completion of a share and cancellation. +SWIFT_PROTOCOL_NAMED("SharingDelegate") +@protocol FBSDKSharingDelegate +/// Sent to the delegate when sharing completes without error or cancellation. +/// @param sharer The sharer that completed. +/// @param results The results from the sharer. This may be nil or empty. +- (void)sharer:(id _Nonnull)sharer didCompleteWithResults:(NSDictionary * _Nonnull)results; +/// Sent to the delegate when the sharer encounters an error. +/// @param sharer The sharer that completed. +/// @param error The error. +- (void)sharer:(id _Nonnull)sharer didFailWithError:(NSError * _Nonnull)error; +/// Sent to the delegate when the sharer is cancelled. +/// @param sharer The sharer that completed. +- (void)sharerDidCancel:(id _Nonnull)sharer; +@end + + + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +#ifndef FBSDKSHAREKIT_SWIFT_H +#define FBSDKSHAREKIT_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import CoreGraphics; +@import FBSDKCoreKit; +@import Foundation; +@import ObjectiveC; +#endif + +#import + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKShareKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + +@class NSURL; +@class NSString; +enum FBSDKAppInviteDestination : NSInteger; + +/// A model for app invite +SWIFT_CLASS_NAMED("AppInviteContent") +@interface FBSDKAppInviteContent : NSObject +/// A URL to a preview image that will be displayed with the app invite +/// This is optional. If you don’t include it a fallback image will be used. +@property (nonatomic, copy) NSURL * _Nullable appInvitePreviewImageURL; +/// An app link target that will be used as a target when the user accept the invite. +@property (nonatomic, copy) NSURL * _Nonnull appLinkURL; +/// Promotional code to be displayed while sending and receiving the invite. +/// This is optional. This can be between 0 and 10 characters long and can contain +/// alphanumeric characters only. To set a promo code, you need to set promo text. +@property (nonatomic, copy) NSString * _Nullable promotionCode; +/// Promotional text to be displayed while sending and receiving the invite. +/// This is optional. This can be between 0 and 80 characters long and can contain +/// alphanumeric and spaces only. +@property (nonatomic, copy) NSString * _Nullable promotionText; +/// Destination for the app invite. The default value is .facebook. +@property (nonatomic) enum FBSDKAppInviteDestination destination; +- (nonnull instancetype)initWithAppLinkURL:(NSURL * _Nonnull)appLinkURL OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// Specifies the privacy of a group. +typedef SWIFT_ENUM_NAMED(NSInteger, FBSDKAppInviteDestination, "Destination", open) { +/// Deliver to Facebook + FBSDKAppInviteDestinationFacebook = 0, + FBSDKAppInviteDestinationMessenger = 1, +}; + + +/// A base interface for validation of content and media. +SWIFT_PROTOCOL_NAMED("SharingValidation") +@protocol FBSDKSharingValidation +/// Asks the receiver to validate that its content or media values are valid. +/// \param options The share bridge options to use for validation. +/// +/// +/// throws: +/// If the values are not valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)options error:(NSError * _Nullable * _Nullable)error; +@end + + +@interface FBSDKAppInviteContent (SWIFT_EXTENSION(FBSDKShareKit)) +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + + +/// A container of arguments for a camera effect. +/// An argument is a String or [String] identified by a String key. +SWIFT_CLASS_NAMED("CameraEffectArguments") +@interface FBSDKCameraEffectArguments : NSObject +/// Sets a string argument in the container. +/// @param string The argument +/// @param key The key for the argument +- (void)setString:(NSString * _Nullable)string forKey:(NSString * _Nonnull)key; +/// Gets a string argument from the container. +/// @param key The key for the argument +/// @return The string value or nil +- (NSString * _Nullable)stringForKey:(NSString * _Nonnull)key SWIFT_WARN_UNUSED_RESULT; +/// Sets a string array argument in the container. +/// @param array The array argument +/// @param key The key for the argument +- (void)setArray:(NSArray * _Nullable)array forKey:(NSString * _Nonnull)key; +/// Gets an array argument from the container. +/// @param key The key for the argument +/// @return The array argument +- (NSArray * _Nullable)arrayForKey:(NSString * _Nonnull)key SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@class UIImage; + +/// A container of textures for a camera effect. +/// A texture for a camera effect is an UIImages identified by a NSString key. +SWIFT_CLASS_NAMED("CameraEffectTextures") +@interface FBSDKCameraEffectTextures : NSObject +/// Sets the image for a texture key. +/// @param image The UIImage for the texture +/// @param key The key for the texture +- (void)setImage:(UIImage * _Nullable)image forKey:(NSString * _Nonnull)key; +/// Gets the image for a texture key. +/// @param key The key for the texture +/// @return The texture UIImage or nil +- (UIImage * _Nullable)imageForKey:(NSString * _Nonnull)key SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@protocol FBSDKSharingContent; + +/// The common interface for sharing buttons. +/// See FBSendButton and FBShareButton +SWIFT_PROTOCOL_NAMED("SharingButton") SWIFT_AVAILABILITY(tvos,unavailable) +@protocol FBSDKSharingButton +/// The content to be shared. +@property (nonatomic, strong) id _Nullable shareContent; +@end + +@class FBSDKMessageDialog; +@class NSNumber; +@class NSCoder; + +/// A button to send content through Messenger. +/// Tapping the receiver will invoke the FBSDKShareDialog with the attached shareContent. If the dialog cannot +/// be shown, the button will be disable. +SWIFT_CLASS_NAMED("FBSendButton") +@interface FBSDKSendButton : FBSDKButton +@property (nonatomic, strong) FBSDKMessageDialog * _Nullable dialog; +@property (nonatomic, strong) id _Nullable shareContent; +@property (nonatomic, readonly, copy) NSDictionary * _Nullable analyticsParameters; +@property (nonatomic, readonly) FBSDKAppEventName _Nonnull impressionTrackingEventName; +@property (nonatomic, readonly, copy) NSString * _Nonnull impressionTrackingIdentifier; +@property (nonatomic, readonly, getter=isImplicitlyDisabled) BOOL implicitlyDisabled; +- (void)configureButton; +- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; +@end + + + +/// A button to share content. +/// Tapping the receiver will invoke the FBSDKShareDialog with the attached shareContent. If the dialog cannot +/// be shown, the button will be disabled. +SWIFT_CLASS_NAMED("FBShareButton") +@interface FBSDKShareButton : FBSDKButton +@property (nonatomic, strong) id _Nullable shareContent; +@property (nonatomic, readonly, copy) NSDictionary * _Nullable analyticsParameters; +@property (nonatomic, readonly) FBSDKAppEventName _Nonnull impressionTrackingEventName; +@property (nonatomic, readonly, copy) NSString * _Nonnull impressionTrackingIdentifier; +@property (nonatomic, readonly, getter=isImplicitlyDisabled) BOOL implicitlyDisabled; +- (void)configureButton; +- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; +@end + + + +/// Represents a single hashtag that can be used with the share dialog. +SWIFT_CLASS_NAMED("Hashtag") +@interface FBSDKHashtag : NSObject +/// The hashtag string. +/// You are responsible for making sure that stringRepresentation is a valid hashtag (a single ‘#’ followed by one or more +/// word characters). Invalid hashtags are ignored when sharing content. You can check validity with thevalid property. +/// @return The hashtag string +@property (nonatomic, copy) NSString * _Nonnull stringRepresentation; +- (nonnull instancetype)initWithString:(NSString * _Nonnull)string OBJC_DESIGNATED_INITIALIZER; +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// Tests if a hashtag is valid. +/// A valid hashtag matches the regular expression “#\w+”: A single ‘#’ followed by one or more word characters. +/// @return true if the hashtag is valid, false otherwise. +@property (nonatomic, readonly) BOOL isValid; +@property (nonatomic, readonly) NSUInteger hash; +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@protocol FBSDKSharingDelegate; + +/// The common interface for components that initiate sharing. +/// See ShareDialog, MessageDialog +SWIFT_PROTOCOL_NAMED("Sharing") +@protocol FBSDKSharing +/// The receiver’s delegate or nil if it doesn’t have a delegate. +@property (nonatomic, weak) id _Nullable delegate; +/// The content to be shared. +@property (nonatomic, strong) id _Nullable shareContent; +/// A boolean value that indicates whether the receiver should fail if it finds an error with the share content. +/// If false, the sharer will still be displayed without the data that was misconfigured. For example, an +/// invalid placeID specified on the shareContent would produce a data error. +@property (nonatomic) BOOL shouldFailOnDataError; +/// Validates the content on the receiver. +/// @throws An error if the content is invalid +- (BOOL)validateWithError:(NSError * _Nullable * _Nullable)error; +@end + + +/// The common interface for dialogs that initiate sharing. +SWIFT_PROTOCOL_NAMED("SharingDialog") +@protocol FBSDKSharingDialog +/// A boolean value that indicates whether the receiver can initiate a share. +/// May return false if the appropriate Facebook app is not installed and is required or an access token is +/// required but not available. This method does not validate the content on the receiver, so this can be checked before +/// building up the content. +/// See Sharing.validate(error:) +/// @return true if the receiver can share, otherwise false. +@property (nonatomic, readonly) BOOL canShow; +/// Shows the dialog. +/// @return true if the receiver was able to begin sharing, otherwise false. +- (BOOL)show; +@end + + +/// A dialog for sharing content through Messenger. +/// SUPPORTED SHARE TYPES +///
    +///
  • +/// FBSDKShareLinkContent +///
  • +///
+/// UNSUPPORTED SHARE TYPES (DEPRECATED AUGUST 2018) +///
    +///
  • +/// FBSDKShareOpenGraphContent +///
  • +///
  • +/// FBSDKSharePhotoContent +///
  • +///
  • +/// FBSDKShareVideoContent +///
  • +///
  • +/// FBSDKShareMessengerOpenGraphMusicTemplateContent +///
  • +///
  • +/// FBSDKShareMessengerMediaTemplateContent +///
  • +///
  • +/// FBSDKShareMessengerGenericTemplateContent +///
  • +///
  • +/// Any other types that are not one of the four supported types listed above +///
  • +///
+SWIFT_CLASS_NAMED("MessageDialog") +@interface FBSDKMessageDialog : NSObject +/// The receiver’s delegate or nil if it doesn’t have a delegate. +@property (nonatomic, weak) id _Nullable delegate; +/// The content to be shared. +@property (nonatomic, strong) id _Nullable shareContent; +/// A Boolean value that indicates whether the receiver should fail if it finds an error with the share content. +/// If false, the sharer will still be displayed without the data that was mis-configured. For example, an +/// invalid placeID specified on the shareContent would produce a data error. +@property (nonatomic) BOOL shouldFailOnDataError; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// Convenience initializer to return a Message Share Dialog with content and a delegate. +/// @param content The content to be shared. +/// @param delegate The receiver’s delegate. +- (nonnull instancetype)initWithContent:(id _Nullable)content delegate:(id _Nullable)delegate; +/// Convenience method to return a Message Share Dialog with content and a delegate. +/// @param content The content to be shared. +/// @param delegate The receiver’s delegate. ++ (FBSDKMessageDialog * _Nonnull)dialogWithContent:(id _Nullable)content delegate:(id _Nullable)delegate SWIFT_WARN_UNUSED_RESULT; +/// Convenience method to show a Message Share Dialog with content and a delegate. +/// @param content The content to be shared. +/// @param delegate The receiver’s delegate. ++ (FBSDKMessageDialog * _Nonnull)showWithContent:(id _Nullable)content delegate:(id _Nullable)delegate SWIFT_WARN_UNUSED_RESULT; +/// A Boolean value that indicates whether the receiver can initiate a share. +/// May return false if the appropriate Facebook app is not installed and is required or an access token is +/// required but not available. This method does not validate the content on the receiver, so this can be checked before +/// building up the content. +/// See Sharing.validate() +/// @return true if the receiver can share, otherwise false. +@property (nonatomic, readonly) BOOL canShow; +/// Shows the dialog. +/// @return true if the receiver was able to begin sharing, otherwise false. +- (BOOL)show; +/// Validates the content on the receiver. +/// @return true if the content is valid, otherwise false. +- (BOOL)validateWithError:(NSError * _Nullable * _Nullable)error; +@end + + + +/// A model for content to share with a Facebook camera effect. +SWIFT_CLASS_NAMED("ShareCameraEffectContent") +@interface FBSDKShareCameraEffectContent : NSObject +/// ID of the camera effect to use. +@property (nonatomic, copy) NSString * _Nonnull effectID; +/// Arguments for the effect. +@property (nonatomic, strong) FBSDKCameraEffectArguments * _Nonnull effectArguments; +/// Textures for the effect. +@property (nonatomic, strong) FBSDKCameraEffectTextures * _Nonnull effectTextures; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A base interface for content to be shared. +SWIFT_PROTOCOL_NAMED("SharingContent") +@protocol FBSDKSharingContent +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. +/// See documentation for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKShareCameraEffectContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + +@class UIViewController; +enum FBSDKShareDialogMode : NSUInteger; + +/// A dialog for sharing content on Facebook. +SWIFT_CLASS_NAMED("ShareDialog") +@interface FBSDKShareDialog : NSObject +/// A UIViewController from which to present the dialog. +/// If not specified, the topmost view controller will be automatically determined as best as possible. +@property (nonatomic, weak) UIViewController * _Nullable fromViewController; +/// The mode with which to display the dialog. +/// Defaults to .automatic, which will automatically choose the best available mode. +@property (nonatomic) enum FBSDKShareDialogMode mode; +/// The receiver’s delegate or nil if it doesn’t have a delegate. +@property (nonatomic, weak) id _Nullable delegate; +/// The content to be shared. +@property (nonatomic, strong) id _Nullable shareContent; +/// A Boolean value that indicates whether the receiver should fail if it finds an error with the share content. +/// If false, the sharer will still be displayed without the data that was misconfigured. For example, an +/// invalid placeID specified on the shareContent would produce a data error. +@property (nonatomic) BOOL shouldFailOnDataError; +/// Convenience initializer to initialize a ShareDialog with a view controller, content and delegate. +/// @param viewController A view controller from which to present the dialog, if appropriate. +/// @param content The content to be shared. +/// @param delegate The dialog’s delegate. +- (nonnull instancetype)initWithViewController:(UIViewController * _Nullable)viewController content:(id _Nullable)content delegate:(id _Nullable)delegate OBJC_DESIGNATED_INITIALIZER; +/// Convenience method to create a ShareDialog with a view controller, content and delegate. +/// @param viewController A view controller from which to present the dialog, if appropriate. +/// @param content The content to be shared. +/// @param delegate The dialog’s delegate. ++ (FBSDKShareDialog * _Nonnull)dialogWithViewController:(UIViewController * _Nullable)viewController withContent:(id _Nullable)content delegate:(id _Nullable)delegate SWIFT_WARN_UNUSED_RESULT; +/// Convenience method to show a ShareDialog with a view controller, content and delegate. +/// @param viewController A view controller from which to present the dialog, if appropriate. +/// @param content The content to be shared. +/// @param delegate The dialog’s delegate. ++ (FBSDKShareDialog * _Nonnull)showFromViewController:(UIViewController * _Nullable)viewController withContent:(id _Nullable)content delegate:(id _Nullable)delegate; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface FBSDKShareDialog (SWIFT_EXTENSION(FBSDKShareKit)) +@end + +/// Modes for the FBSDKShareDialog. +/// The automatic mode will progressively check the availability of different modes and open the most +/// appropriate mode for the dialog that is available. +typedef SWIFT_ENUM_NAMED(NSUInteger, FBSDKShareDialogMode, "Mode", open) { +/// Acts with the most appropriate mode that is available. + FBSDKShareDialogModeAutomatic = 0, +/// Displays the dialog in the main native Facebook app. + FBSDKShareDialogModeNative = 1, +/// Displays the dialog in the iOS integrated share sheet. + FBSDKShareDialogModeShareSheet = 2, +/// Displays the dialog in Safari. + FBSDKShareDialogModeBrowser = 3, +/// Displays the dialog in a WKWebView within the app. + FBSDKShareDialogModeWeb = 4, +/// Displays the feed dialog in Safari. + FBSDKShareDialogModeFeedBrowser = 5, +/// Displays the feed dialog in a WKWebView within the app. + FBSDKShareDialogModeFeedWeb = 6, +}; + +@class FBSDKWebDialog; + +@interface FBSDKShareDialog (SWIFT_EXTENSION(FBSDKShareKit)) +- (void)webDialog:(FBSDKWebDialog * _Nonnull)webDialog didCompleteWithResults:(NSDictionary * _Nonnull)results; +- (void)webDialog:(FBSDKWebDialog * _Nonnull)webDialog didFailWithError:(NSError * _Nonnull)error; +- (void)webDialogDidCancel:(FBSDKWebDialog * _Nonnull)webDialog; +@end + + + +@interface FBSDKShareDialog (SWIFT_EXTENSION(FBSDKShareKit)) +@property (nonatomic, readonly) BOOL canShow; +- (BOOL)show; +- (BOOL)validateWithError:(NSError * _Nullable * _Nullable)error; +@end + + +/// ShareError +/// Error codes for ShareErrorDomain. +typedef SWIFT_ENUM_NAMED(NSInteger, FBSDKShareError, "ShareError", open) { +/// Reserved + FBSDKShareErrorReserved = 200, +/// The error code for errors from uploading open graph objects. + FBSDKShareErrorOpenGraph = 201, +/// The error code for when a sharing dialog is not available. +/// Use the canShare methods to check for this case before calling show. + FBSDKShareErrorDialogNotAvailable = 202, +/// The error code for unknown errors. + FBSDKShareErrorUnknown = 203, +}; + + +/// A model for status and link content to be shared. +SWIFT_CLASS_NAMED("ShareLinkContent") +@interface FBSDKShareLinkContent : NSObject +/// Some quote text of the link. +/// If specified, the quote text will render with custom styling on top of the link. +@property (nonatomic, copy) NSString * _Nullable quote; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface FBSDKShareLinkContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKShareLinkContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Asks the receiver to validate that its content or media values are valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + +/// A protocol for media content (photo or video) to be shared. +SWIFT_PROTOCOL_NAMED("ShareMedia") +@protocol FBSDKShareMedia +@end + + +/// A model for media content (photo or video) to be shared. +SWIFT_CLASS_NAMED("ShareMediaContent") +@interface FBSDKShareMediaContent : NSObject +/// Media to be shared: an array of SharePhoto or ShareVideo +@property (nonatomic, copy) NSArray> * _Nonnull media; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface FBSDKShareMediaContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Asks the receiver to validate that its content or media values are valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + +@interface FBSDKShareMediaContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + +@class PHAsset; + +/// A photo for sharing. +SWIFT_CLASS_NAMED("SharePhoto") +@interface FBSDKSharePhoto : NSObject +/// If the photo is resident in memory, this method supplies the data. +@property (nonatomic, strong) UIImage * _Nullable image; +/// URL that points to a network location or the location of the photo on disk +@property (nonatomic, copy) NSURL * _Nullable imageURL; +/// The representation of the photo in the Photos library. +@property (nonatomic, strong) PHAsset * _Nullable photoAsset; +/// Specifies whether the photo represented by the receiver was generated by the user (true) +/// or by the application (false). +@property (nonatomic) BOOL isUserGenerated; +/// The user-generated caption for the photo. Note that the ‘caption’ must come from +/// the user, as pre-filled content is forbidden by the Platform Policies (2.3). +@property (nonatomic, copy) NSString * _Nullable caption; +/// Convenience method to build a new photo object with an image. +/// \param image If the photo is resident in memory, this method supplies the data +/// +/// \param isUserGenerated Specifies whether the photo represented by the receiver was generated by the user or by the +/// application +/// +- (nonnull instancetype)initWithImage:(UIImage * _Nonnull)image isUserGenerated:(BOOL)isUserGenerated; +/// Convenience method to build a new photo object with an imageURL. +/// This method should only be used when adding photo content to open graph stories. +/// For example, if you’re trying to share a photo from the web by itself, download the image and use +/// init(image:isUserGenerated:) instead. +/// \param imageURL The URL to the photo +/// +/// \param isUserGenerated Specifies whether the photo represented by the receiver was generated by the user or by the +/// application +/// +- (nonnull instancetype)initWithImageURL:(NSURL * _Nonnull)imageURL isUserGenerated:(BOOL)isUserGenerated; +/// Convenience method to build a new photo object with a PHAsset. +/// \param photoAsset The PHAsset that represents the photo in the Photos library. +/// +/// \param isUserGenerated Specifies whether the photo represented by the receiver was generated by the user or by +/// the application +/// +- (nonnull instancetype)initWithPhotoAsset:(PHAsset * _Nonnull)photoAsset isUserGenerated:(BOOL)isUserGenerated; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +@interface FBSDKSharePhoto (SWIFT_EXTENSION(FBSDKShareKit)) +/// Asks the receiver to validate that its content or media values are valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + + +/// A model for photo content to be shared. +SWIFT_CLASS_NAMED("SharePhotoContent") +@interface FBSDKSharePhotoContent : NSObject +/// Photos to be shared. +@property (nonatomic, copy) NSArray * _Nonnull photos; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface FBSDKSharePhotoContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKSharePhotoContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Validate that this content contains valid values +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + +@class NSData; + +/// A video for sharing. +SWIFT_CLASS_NAMED("ShareVideo") +@interface FBSDKShareVideo : NSObject +/// The raw video data. +@property (nonatomic, copy) NSData * _Nullable data; +/// The representation of the video in the Photos library. +@property (nonatomic, strong) PHAsset * _Nullable videoAsset; +/// The file URL to the video. +@property (nonatomic, copy) NSURL * _Nullable videoURL; +/// The photo that represents the video. +@property (nonatomic, strong) FBSDKSharePhoto * _Nullable previewPhoto; +/// Convenience method to build a new video object from raw data and an optional preview photo. +/// \param data The Data object that holds the raw video data. +/// +/// \param previewPhoto The photo that represents the video. +/// +- (nonnull instancetype)initWithData:(NSData * _Nonnull)data previewPhoto:(FBSDKSharePhoto * _Nullable)previewPhoto; +/// Convenience method to build a new video object from a PHAsset and an optional preview photo. +/// \param videoAsset The PHAsset that represents the video in the Photos library. +/// +/// \param previewPhoto The photo that represents the video. +/// +- (nonnull instancetype)initWithVideoAsset:(PHAsset * _Nonnull)videoAsset previewPhoto:(FBSDKSharePhoto * _Nullable)previewPhoto; +/// Convenience method to build a new video object from a URL and an optional preview photo. +/// \param videoURL The URL to the video. +/// +/// \param previewPhoto The photo that represents the video. +/// +- (nonnull instancetype)initWithVideoURL:(NSURL * _Nonnull)videoURL previewPhoto:(FBSDKSharePhoto * _Nullable)previewPhoto; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +@interface FBSDKShareVideo (SWIFT_EXTENSION(FBSDKShareKit)) +/// Asks the receiver to validate that its content or media values are valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + + +/// A model for video content to be shared. +SWIFT_CLASS_NAMED("ShareVideoContent") +@interface FBSDKShareVideoContent : NSObject +/// The video to be shared +@property (nonatomic, strong) FBSDKShareVideo * _Nonnull video; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface FBSDKShareVideoContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKShareVideoContent (SWIFT_EXTENSION(FBSDKShareKit)) +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + + + + + +/// A delegate for types conforming to the Sharing protocol. +/// The delegate is notified with the results of the sharer as long as the application has permissions to +/// receive the information. For example, if the person is not signed into the containing app, the sharer may not be able +/// to distinguish between completion of a share and cancellation. +SWIFT_PROTOCOL_NAMED("SharingDelegate") +@protocol FBSDKSharingDelegate +/// Sent to the delegate when sharing completes without error or cancellation. +/// @param sharer The sharer that completed. +/// @param results The results from the sharer. This may be nil or empty. +- (void)sharer:(id _Nonnull)sharer didCompleteWithResults:(NSDictionary * _Nonnull)results; +/// Sent to the delegate when the sharer encounters an error. +/// @param sharer The sharer that completed. +/// @param error The error. +- (void)sharer:(id _Nonnull)sharer didFailWithError:(NSError * _Nonnull)error; +/// Sent to the delegate when the sharer is cancelled. +/// @param sharer The sharer that completed. +- (void)sharerDidCancel:(id _Nonnull)sharer; +@end + + + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/Headers/FBSDKShareKit.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/Headers/FBSDKShareKit.h new file mode 100644 index 0000000..1600ab9 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/Headers/FBSDKShareKit.h @@ -0,0 +1,10 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/Info.plist b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/Info.plist new file mode 100644 index 0000000..25917f6 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/Info.plist differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000..57764ce Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000..ac61b51 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -0,0 +1,367 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKShareKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +@_exported import FBSDKShareKit +import Foundation +import Photos +import Social +import Swift +import UIKit +import _Concurrency +@objcMembers @objc(FBSDKAppInviteContent) final public class AppInviteContent : ObjectiveC.NSObject { + @objc(FBSDKAppInviteDestination) public enum Destination : Swift.Int { + case facebook + case messenger + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + } + @objc final public var appInvitePreviewImageURL: Foundation.URL? + @objc final public var appLinkURL: Foundation.URL + @objc final public var promotionCode: Swift.String? + @objc final public var promotionText: Swift.String? + @objc final public var destination: FBSDKShareKit.AppInviteContent.Destination + @objc(initWithAppLinkURL:) public init(appLinkURL: Foundation.URL) + @objc deinit +} +extension FBSDKShareKit.AppInviteContent : FBSDKShareKit.SharingValidation { + @objc final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKCameraEffectArguments) final public class CameraEffectArguments : ObjectiveC.NSObject { + @objc(setString:forKey:) final public func set(_ string: Swift.String?, forKey key: Swift.String) + @objc final public func string(forKey key: Swift.String) -> Swift.String? + @objc(setArray:forKey:) final public func set(_ array: [Swift.String]?, forKey key: Swift.String) + @objc final public func array(forKey key: Swift.String) -> [Swift.String]? + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKCameraEffectTextures) final public class CameraEffectTextures : ObjectiveC.NSObject { + @objc(setImage:forKey:) final public func set(_ image: UIKit.UIImage?, forKey key: Swift.String) + @objc(imageForKey:) final public func image(forKey key: Swift.String) -> UIKit.UIImage? + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKSendButton) @_Concurrency.MainActor(unsafe) final public class FBSendButton : FBSDKCoreKit.FBButton, FBSDKShareKit.SharingButton, FBSDKCoreKit.FBButtonImpressionLogging { + @objc @_Concurrency.MainActor(unsafe) final public var dialog: FBSDKShareKit.MessageDialog? + @_Concurrency.MainActor(unsafe) @objc final public var shareContent: FBSDKShareKit.SharingContent? { + @objc get + @objc set + } + @_Concurrency.MainActor(unsafe) @objc final public var analyticsParameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]? { + @objc get + } + @_Concurrency.MainActor(unsafe) @objc final public var impressionTrackingEventName: FBSDKCoreKit.AppEvents.Name { + @objc get + } + @_Concurrency.MainActor(unsafe) @objc final public var impressionTrackingIdentifier: Swift.String { + @objc get + } + @_Concurrency.MainActor(unsafe) @objc override final public var isImplicitlyDisabled: Swift.Bool { + @_Concurrency.MainActor(unsafe) @objc get + } + @objc @_Concurrency.MainActor(unsafe) final public func configureButton() + @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) + @_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder) + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareButton) @_Concurrency.MainActor(unsafe) final public class FBShareButton : FBSDKCoreKit.FBButton, FBSDKShareKit.SharingButton { + @_Concurrency.MainActor(unsafe) @objc final public var shareContent: FBSDKShareKit.SharingContent? { + @objc get + @objc set + } + @objc @_Concurrency.MainActor(unsafe) final public var analyticsParameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]? { + @objc get + } + @objc @_Concurrency.MainActor(unsafe) final public var impressionTrackingEventName: FBSDKCoreKit.AppEvents.Name { + @objc get + } + @objc @_Concurrency.MainActor(unsafe) final public var impressionTrackingIdentifier: Swift.String { + @objc get + } + @_Concurrency.MainActor(unsafe) @objc override final public var isImplicitlyDisabled: Swift.Bool { + @_Concurrency.MainActor(unsafe) @objc get + } + @objc @_Concurrency.MainActor(unsafe) final public func configureButton() + @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) + @_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder) + @objc deinit +} +@objcMembers @objc(FBSDKHashtag) final public class Hashtag : ObjectiveC.NSObject { + @objc final public var stringRepresentation: Swift.String + @objc(initWithString:) public init(_ string: Swift.String) + @objc override final public var description: Swift.String { + @objc get + } + @objc final public var isValid: Swift.Bool { + @objc get + } + @objc override final public var hash: Swift.Int { + @objc get + } + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKMessageDialog) public class MessageDialog : ObjectiveC.NSObject, FBSDKShareKit.SharingDialog { + @objc weak public var delegate: FBSDKShareKit.SharingDelegate? + @objc public var shareContent: FBSDKShareKit.SharingContent? + @objc public var shouldFailOnDataError: Swift.Bool + @objc(initWithContent:delegate:) convenience public init(content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) + @objc(dialogWithContent:delegate:) public static func dialog(content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.MessageDialog + @objc(showWithContent:delegate:) public static func show(content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.MessageDialog + @objc public var canShow: Swift.Bool { + @objc get + } + @discardableResult + @objc public func show() -> Swift.Bool + @objc public func validate() throws + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareCameraEffectContent) final public class ShareCameraEffectContent : ObjectiveC.NSObject { + @objc final public var effectID: Swift.String + @objc final public var effectArguments: FBSDKShareKit.CameraEffectArguments + @objc final public var effectTextures: FBSDKShareKit.CameraEffectTextures + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public var shareUUID: Swift.String? { + get + } + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareCameraEffectContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objcMembers @objc(FBSDKShareDialog) public class ShareDialog : ObjectiveC.NSObject, FBSDKShareKit.SharingDialog { + @objc weak public var fromViewController: UIKit.UIViewController? + @objc public var mode: FBSDKShareKit.ShareDialog.Mode + @objc weak public var delegate: FBSDKShareKit.SharingDelegate? + @objc public var shareContent: FBSDKShareKit.SharingContent? + @objc public var shouldFailOnDataError: Swift.Bool + @objc(initWithViewController:content:delegate:) public init(viewController: UIKit.UIViewController?, content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) + @objc deinit + @objc(dialogWithViewController:withContent:delegate:) public class func dialog(viewController: UIKit.UIViewController?, content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.ShareDialog + @discardableResult + @objc(showFromViewController:withContent:delegate:) public class func show(viewController: UIKit.UIViewController?, content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.ShareDialog +} +extension FBSDKShareKit.ShareDialog { + @objc dynamic public var canShow: Swift.Bool { + @objc get + } + @discardableResult + @objc dynamic public func show() -> Swift.Bool + @objc dynamic public func validate() throws +} +extension FBSDKShareKit.ShareDialog : FBSDKCoreKit.WebDialogDelegate { + @objc dynamic public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didCompleteWithResults results: [Swift.String : Any]) + @objc dynamic public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didFailWithError error: Swift.Error) + @objc dynamic public func webDialogDidCancel(_ webDialog: FBSDKCoreKit.WebDialog) +} +extension FBSDKShareKit.ShareDialog { + @objc(FBSDKShareDialogMode) public enum Mode : Swift.UInt, Swift.CustomStringConvertible { + case automatic + case native + case shareSheet + case browser + case web + case feedBrowser + case feedWeb + public var description: Swift.String { + get + } + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } + } +} +public let ShareErrorDomain: Swift.String +@objc(FBSDKShareError) public enum ShareError : Swift.Int { + case reserved = 200 + case openGraph + case dialogNotAvailable + case unknown + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareLinkContent) final public class ShareLinkContent : ObjectiveC.NSObject { + @objc final public var quote: Swift.String? + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareLinkContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareLinkContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objc(FBSDKShareMedia) public protocol ShareMedia { +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareMediaContent) final public class ShareMediaContent : ObjectiveC.NSObject { + @objc final public var media: [FBSDKShareKit.ShareMedia] + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareMediaContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareMediaContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKSharePhoto) final public class SharePhoto : ObjectiveC.NSObject, FBSDKShareKit.ShareMedia { + @objc final public var image: UIKit.UIImage? { + @objc get + @objc set + } + @objc final public var imageURL: Foundation.URL? { + @objc get + @objc set + } + @objc final public var photoAsset: Photos.PHAsset? { + @objc get + @objc set + } + @objc final public var isUserGenerated: Swift.Bool + @objc final public var caption: Swift.String? + @objc convenience public init(image: UIKit.UIImage, isUserGenerated: Swift.Bool) + @objc convenience public init(imageURL: Foundation.URL, isUserGenerated: Swift.Bool) + @objc convenience public init(photoAsset: Photos.PHAsset, isUserGenerated: Swift.Bool) + @objc deinit +} +extension FBSDKShareKit.SharePhoto : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKSharePhotoContent) final public class SharePhotoContent : ObjectiveC.NSObject { + @objc final public var photos: [FBSDKShareKit.SharePhoto] + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.SharePhotoContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.SharePhotoContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKShareVideo) final public class ShareVideo : ObjectiveC.NSObject, FBSDKShareKit.ShareMedia { + @objc final public var data: Foundation.Data? { + @objc get + @objc set + } + @objc final public var videoAsset: Photos.PHAsset? { + @objc get + @objc set + } + @objc final public var videoURL: Foundation.URL? { + @objc get + @objc set + } + @objc final public var previewPhoto: FBSDKShareKit.SharePhoto? + @objc convenience public init(data: Foundation.Data, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc convenience public init(videoAsset: Photos.PHAsset, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc convenience public init(videoURL: Foundation.URL, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc deinit +} +extension FBSDKShareKit.ShareVideo : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareVideoContent) final public class ShareVideoContent : ObjectiveC.NSObject { + @objc final public var video: FBSDKShareKit.ShareVideo + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public var shareUUID: Swift.String? { + get + } + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareVideoContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareVideoContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objc(FBSDKSharing) public protocol Sharing { + @objc weak var delegate: FBSDKShareKit.SharingDelegate? { get set } + @objc var shareContent: FBSDKShareKit.SharingContent? { get set } + @objc var shouldFailOnDataError: Swift.Bool { get set } + @objc(validateWithError:) func validate() throws +} +@available(tvOS, unavailable) +@objc(FBSDKSharingButton) public protocol SharingButton { + @objc var shareContent: FBSDKShareKit.SharingContent? { get set } +} +@objc(FBSDKSharingContent) public protocol SharingContent : FBSDKShareKit.SharingValidation, ObjectiveC.NSObjectProtocol { + @objc var contentURL: Foundation.URL? { get set } + @objc var hashtag: FBSDKShareKit.Hashtag? { get set } + @objc var peopleIDs: [Swift.String] { get set } + @objc var placeID: Swift.String? { get set } + @objc var ref: Swift.String? { get set } + @objc var pageID: Swift.String? { get set } + @objc var shareUUID: Swift.String? { get } + @objc(addParameters:bridgeOptions:) func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +@objc(FBSDKSharingDelegate) public protocol SharingDelegate { + @objc(sharer:didCompleteWithResults:) func sharer(_ sharer: FBSDKShareKit.Sharing, didCompleteWithResults results: [Swift.String : Any]) + @objc(sharer:didFailWithError:) func sharer(_ sharer: FBSDKShareKit.Sharing, didFailWithError error: Swift.Error) + @objc(sharerDidCancel:) func sharerDidCancel(_ sharer: FBSDKShareKit.Sharing) +} +@objc(FBSDKSharingDialog) public protocol SharingDialog : FBSDKShareKit.Sharing { + @objc var canShow: Swift.Bool { get } + @objc @discardableResult + func show() -> Swift.Bool +} +@objc(FBSDKSharingValidation) public protocol SharingValidation { + @objc(validateWithOptions:error:) func validate(options: FBSDKShareKit.ShareBridgeOptions) throws +} +public enum _ShareUtility { +} +extension FBSDKShareKit._ShareUtility { + public static func validateRequiredValue(_ value: Any, named name: Swift.String) throws + public static func validateArgument(_ value: Argument, named name: Swift.String, in possibleValues: Swift.Set) throws where Argument : Swift.Hashable +} +extension FBSDKShareKit.AppInviteContent.Destination : Swift.Equatable {} +extension FBSDKShareKit.AppInviteContent.Destination : Swift.Hashable {} +extension FBSDKShareKit.AppInviteContent.Destination : Swift.RawRepresentable {} +extension FBSDKShareKit.ShareDialog.Mode : Swift.Equatable {} +extension FBSDKShareKit.ShareDialog.Mode : Swift.Hashable {} +extension FBSDKShareKit.ShareDialog.Mode : Swift.RawRepresentable {} +extension FBSDKShareKit.ShareError : Swift.Equatable {} +extension FBSDKShareKit.ShareError : Swift.Hashable {} +extension FBSDKShareKit.ShareError : Swift.RawRepresentable {} diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..57764ce Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..ac61b51 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftinterface @@ -0,0 +1,367 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKShareKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +@_exported import FBSDKShareKit +import Foundation +import Photos +import Social +import Swift +import UIKit +import _Concurrency +@objcMembers @objc(FBSDKAppInviteContent) final public class AppInviteContent : ObjectiveC.NSObject { + @objc(FBSDKAppInviteDestination) public enum Destination : Swift.Int { + case facebook + case messenger + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + } + @objc final public var appInvitePreviewImageURL: Foundation.URL? + @objc final public var appLinkURL: Foundation.URL + @objc final public var promotionCode: Swift.String? + @objc final public var promotionText: Swift.String? + @objc final public var destination: FBSDKShareKit.AppInviteContent.Destination + @objc(initWithAppLinkURL:) public init(appLinkURL: Foundation.URL) + @objc deinit +} +extension FBSDKShareKit.AppInviteContent : FBSDKShareKit.SharingValidation { + @objc final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKCameraEffectArguments) final public class CameraEffectArguments : ObjectiveC.NSObject { + @objc(setString:forKey:) final public func set(_ string: Swift.String?, forKey key: Swift.String) + @objc final public func string(forKey key: Swift.String) -> Swift.String? + @objc(setArray:forKey:) final public func set(_ array: [Swift.String]?, forKey key: Swift.String) + @objc final public func array(forKey key: Swift.String) -> [Swift.String]? + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKCameraEffectTextures) final public class CameraEffectTextures : ObjectiveC.NSObject { + @objc(setImage:forKey:) final public func set(_ image: UIKit.UIImage?, forKey key: Swift.String) + @objc(imageForKey:) final public func image(forKey key: Swift.String) -> UIKit.UIImage? + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKSendButton) @_Concurrency.MainActor(unsafe) final public class FBSendButton : FBSDKCoreKit.FBButton, FBSDKShareKit.SharingButton, FBSDKCoreKit.FBButtonImpressionLogging { + @objc @_Concurrency.MainActor(unsafe) final public var dialog: FBSDKShareKit.MessageDialog? + @_Concurrency.MainActor(unsafe) @objc final public var shareContent: FBSDKShareKit.SharingContent? { + @objc get + @objc set + } + @_Concurrency.MainActor(unsafe) @objc final public var analyticsParameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]? { + @objc get + } + @_Concurrency.MainActor(unsafe) @objc final public var impressionTrackingEventName: FBSDKCoreKit.AppEvents.Name { + @objc get + } + @_Concurrency.MainActor(unsafe) @objc final public var impressionTrackingIdentifier: Swift.String { + @objc get + } + @_Concurrency.MainActor(unsafe) @objc override final public var isImplicitlyDisabled: Swift.Bool { + @_Concurrency.MainActor(unsafe) @objc get + } + @objc @_Concurrency.MainActor(unsafe) final public func configureButton() + @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) + @_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder) + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareButton) @_Concurrency.MainActor(unsafe) final public class FBShareButton : FBSDKCoreKit.FBButton, FBSDKShareKit.SharingButton { + @_Concurrency.MainActor(unsafe) @objc final public var shareContent: FBSDKShareKit.SharingContent? { + @objc get + @objc set + } + @objc @_Concurrency.MainActor(unsafe) final public var analyticsParameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]? { + @objc get + } + @objc @_Concurrency.MainActor(unsafe) final public var impressionTrackingEventName: FBSDKCoreKit.AppEvents.Name { + @objc get + } + @objc @_Concurrency.MainActor(unsafe) final public var impressionTrackingIdentifier: Swift.String { + @objc get + } + @_Concurrency.MainActor(unsafe) @objc override final public var isImplicitlyDisabled: Swift.Bool { + @_Concurrency.MainActor(unsafe) @objc get + } + @objc @_Concurrency.MainActor(unsafe) final public func configureButton() + @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) + @_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder) + @objc deinit +} +@objcMembers @objc(FBSDKHashtag) final public class Hashtag : ObjectiveC.NSObject { + @objc final public var stringRepresentation: Swift.String + @objc(initWithString:) public init(_ string: Swift.String) + @objc override final public var description: Swift.String { + @objc get + } + @objc final public var isValid: Swift.Bool { + @objc get + } + @objc override final public var hash: Swift.Int { + @objc get + } + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKMessageDialog) public class MessageDialog : ObjectiveC.NSObject, FBSDKShareKit.SharingDialog { + @objc weak public var delegate: FBSDKShareKit.SharingDelegate? + @objc public var shareContent: FBSDKShareKit.SharingContent? + @objc public var shouldFailOnDataError: Swift.Bool + @objc(initWithContent:delegate:) convenience public init(content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) + @objc(dialogWithContent:delegate:) public static func dialog(content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.MessageDialog + @objc(showWithContent:delegate:) public static func show(content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.MessageDialog + @objc public var canShow: Swift.Bool { + @objc get + } + @discardableResult + @objc public func show() -> Swift.Bool + @objc public func validate() throws + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareCameraEffectContent) final public class ShareCameraEffectContent : ObjectiveC.NSObject { + @objc final public var effectID: Swift.String + @objc final public var effectArguments: FBSDKShareKit.CameraEffectArguments + @objc final public var effectTextures: FBSDKShareKit.CameraEffectTextures + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public var shareUUID: Swift.String? { + get + } + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareCameraEffectContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objcMembers @objc(FBSDKShareDialog) public class ShareDialog : ObjectiveC.NSObject, FBSDKShareKit.SharingDialog { + @objc weak public var fromViewController: UIKit.UIViewController? + @objc public var mode: FBSDKShareKit.ShareDialog.Mode + @objc weak public var delegate: FBSDKShareKit.SharingDelegate? + @objc public var shareContent: FBSDKShareKit.SharingContent? + @objc public var shouldFailOnDataError: Swift.Bool + @objc(initWithViewController:content:delegate:) public init(viewController: UIKit.UIViewController?, content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) + @objc deinit + @objc(dialogWithViewController:withContent:delegate:) public class func dialog(viewController: UIKit.UIViewController?, content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.ShareDialog + @discardableResult + @objc(showFromViewController:withContent:delegate:) public class func show(viewController: UIKit.UIViewController?, content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.ShareDialog +} +extension FBSDKShareKit.ShareDialog { + @objc dynamic public var canShow: Swift.Bool { + @objc get + } + @discardableResult + @objc dynamic public func show() -> Swift.Bool + @objc dynamic public func validate() throws +} +extension FBSDKShareKit.ShareDialog : FBSDKCoreKit.WebDialogDelegate { + @objc dynamic public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didCompleteWithResults results: [Swift.String : Any]) + @objc dynamic public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didFailWithError error: Swift.Error) + @objc dynamic public func webDialogDidCancel(_ webDialog: FBSDKCoreKit.WebDialog) +} +extension FBSDKShareKit.ShareDialog { + @objc(FBSDKShareDialogMode) public enum Mode : Swift.UInt, Swift.CustomStringConvertible { + case automatic + case native + case shareSheet + case browser + case web + case feedBrowser + case feedWeb + public var description: Swift.String { + get + } + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } + } +} +public let ShareErrorDomain: Swift.String +@objc(FBSDKShareError) public enum ShareError : Swift.Int { + case reserved = 200 + case openGraph + case dialogNotAvailable + case unknown + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareLinkContent) final public class ShareLinkContent : ObjectiveC.NSObject { + @objc final public var quote: Swift.String? + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareLinkContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareLinkContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objc(FBSDKShareMedia) public protocol ShareMedia { +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareMediaContent) final public class ShareMediaContent : ObjectiveC.NSObject { + @objc final public var media: [FBSDKShareKit.ShareMedia] + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareMediaContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareMediaContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKSharePhoto) final public class SharePhoto : ObjectiveC.NSObject, FBSDKShareKit.ShareMedia { + @objc final public var image: UIKit.UIImage? { + @objc get + @objc set + } + @objc final public var imageURL: Foundation.URL? { + @objc get + @objc set + } + @objc final public var photoAsset: Photos.PHAsset? { + @objc get + @objc set + } + @objc final public var isUserGenerated: Swift.Bool + @objc final public var caption: Swift.String? + @objc convenience public init(image: UIKit.UIImage, isUserGenerated: Swift.Bool) + @objc convenience public init(imageURL: Foundation.URL, isUserGenerated: Swift.Bool) + @objc convenience public init(photoAsset: Photos.PHAsset, isUserGenerated: Swift.Bool) + @objc deinit +} +extension FBSDKShareKit.SharePhoto : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKSharePhotoContent) final public class SharePhotoContent : ObjectiveC.NSObject { + @objc final public var photos: [FBSDKShareKit.SharePhoto] + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.SharePhotoContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.SharePhotoContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKShareVideo) final public class ShareVideo : ObjectiveC.NSObject, FBSDKShareKit.ShareMedia { + @objc final public var data: Foundation.Data? { + @objc get + @objc set + } + @objc final public var videoAsset: Photos.PHAsset? { + @objc get + @objc set + } + @objc final public var videoURL: Foundation.URL? { + @objc get + @objc set + } + @objc final public var previewPhoto: FBSDKShareKit.SharePhoto? + @objc convenience public init(data: Foundation.Data, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc convenience public init(videoAsset: Photos.PHAsset, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc convenience public init(videoURL: Foundation.URL, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc deinit +} +extension FBSDKShareKit.ShareVideo : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareVideoContent) final public class ShareVideoContent : ObjectiveC.NSObject { + @objc final public var video: FBSDKShareKit.ShareVideo + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public var shareUUID: Swift.String? { + get + } + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareVideoContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareVideoContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objc(FBSDKSharing) public protocol Sharing { + @objc weak var delegate: FBSDKShareKit.SharingDelegate? { get set } + @objc var shareContent: FBSDKShareKit.SharingContent? { get set } + @objc var shouldFailOnDataError: Swift.Bool { get set } + @objc(validateWithError:) func validate() throws +} +@available(tvOS, unavailable) +@objc(FBSDKSharingButton) public protocol SharingButton { + @objc var shareContent: FBSDKShareKit.SharingContent? { get set } +} +@objc(FBSDKSharingContent) public protocol SharingContent : FBSDKShareKit.SharingValidation, ObjectiveC.NSObjectProtocol { + @objc var contentURL: Foundation.URL? { get set } + @objc var hashtag: FBSDKShareKit.Hashtag? { get set } + @objc var peopleIDs: [Swift.String] { get set } + @objc var placeID: Swift.String? { get set } + @objc var ref: Swift.String? { get set } + @objc var pageID: Swift.String? { get set } + @objc var shareUUID: Swift.String? { get } + @objc(addParameters:bridgeOptions:) func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +@objc(FBSDKSharingDelegate) public protocol SharingDelegate { + @objc(sharer:didCompleteWithResults:) func sharer(_ sharer: FBSDKShareKit.Sharing, didCompleteWithResults results: [Swift.String : Any]) + @objc(sharer:didFailWithError:) func sharer(_ sharer: FBSDKShareKit.Sharing, didFailWithError error: Swift.Error) + @objc(sharerDidCancel:) func sharerDidCancel(_ sharer: FBSDKShareKit.Sharing) +} +@objc(FBSDKSharingDialog) public protocol SharingDialog : FBSDKShareKit.Sharing { + @objc var canShow: Swift.Bool { get } + @objc @discardableResult + func show() -> Swift.Bool +} +@objc(FBSDKSharingValidation) public protocol SharingValidation { + @objc(validateWithOptions:error:) func validate(options: FBSDKShareKit.ShareBridgeOptions) throws +} +public enum _ShareUtility { +} +extension FBSDKShareKit._ShareUtility { + public static func validateRequiredValue(_ value: Any, named name: Swift.String) throws + public static func validateArgument(_ value: Argument, named name: Swift.String, in possibleValues: Swift.Set) throws where Argument : Swift.Hashable +} +extension FBSDKShareKit.AppInviteContent.Destination : Swift.Equatable {} +extension FBSDKShareKit.AppInviteContent.Destination : Swift.Hashable {} +extension FBSDKShareKit.AppInviteContent.Destination : Swift.RawRepresentable {} +extension FBSDKShareKit.ShareDialog.Mode : Swift.Equatable {} +extension FBSDKShareKit.ShareDialog.Mode : Swift.Hashable {} +extension FBSDKShareKit.ShareDialog.Mode : Swift.RawRepresentable {} +extension FBSDKShareKit.ShareError : Swift.Equatable {} +extension FBSDKShareKit.ShareError : Swift.Hashable {} +extension FBSDKShareKit.ShareError : Swift.RawRepresentable {} diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000..9605601 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000..a50d8b5 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -0,0 +1,367 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKShareKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +@_exported import FBSDKShareKit +import Foundation +import Photos +import Social +import Swift +import UIKit +import _Concurrency +@objcMembers @objc(FBSDKAppInviteContent) final public class AppInviteContent : ObjectiveC.NSObject { + @objc(FBSDKAppInviteDestination) public enum Destination : Swift.Int { + case facebook + case messenger + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + } + @objc final public var appInvitePreviewImageURL: Foundation.URL? + @objc final public var appLinkURL: Foundation.URL + @objc final public var promotionCode: Swift.String? + @objc final public var promotionText: Swift.String? + @objc final public var destination: FBSDKShareKit.AppInviteContent.Destination + @objc(initWithAppLinkURL:) public init(appLinkURL: Foundation.URL) + @objc deinit +} +extension FBSDKShareKit.AppInviteContent : FBSDKShareKit.SharingValidation { + @objc final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKCameraEffectArguments) final public class CameraEffectArguments : ObjectiveC.NSObject { + @objc(setString:forKey:) final public func set(_ string: Swift.String?, forKey key: Swift.String) + @objc final public func string(forKey key: Swift.String) -> Swift.String? + @objc(setArray:forKey:) final public func set(_ array: [Swift.String]?, forKey key: Swift.String) + @objc final public func array(forKey key: Swift.String) -> [Swift.String]? + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKCameraEffectTextures) final public class CameraEffectTextures : ObjectiveC.NSObject { + @objc(setImage:forKey:) final public func set(_ image: UIKit.UIImage?, forKey key: Swift.String) + @objc(imageForKey:) final public func image(forKey key: Swift.String) -> UIKit.UIImage? + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKSendButton) @_Concurrency.MainActor(unsafe) final public class FBSendButton : FBSDKCoreKit.FBButton, FBSDKShareKit.SharingButton, FBSDKCoreKit.FBButtonImpressionLogging { + @objc @_Concurrency.MainActor(unsafe) final public var dialog: FBSDKShareKit.MessageDialog? + @_Concurrency.MainActor(unsafe) @objc final public var shareContent: FBSDKShareKit.SharingContent? { + @objc get + @objc set + } + @_Concurrency.MainActor(unsafe) @objc final public var analyticsParameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]? { + @objc get + } + @_Concurrency.MainActor(unsafe) @objc final public var impressionTrackingEventName: FBSDKCoreKit.AppEvents.Name { + @objc get + } + @_Concurrency.MainActor(unsafe) @objc final public var impressionTrackingIdentifier: Swift.String { + @objc get + } + @_Concurrency.MainActor(unsafe) @objc override final public var isImplicitlyDisabled: Swift.Bool { + @_Concurrency.MainActor(unsafe) @objc get + } + @objc @_Concurrency.MainActor(unsafe) final public func configureButton() + @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) + @_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder) + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareButton) @_Concurrency.MainActor(unsafe) final public class FBShareButton : FBSDKCoreKit.FBButton, FBSDKShareKit.SharingButton { + @_Concurrency.MainActor(unsafe) @objc final public var shareContent: FBSDKShareKit.SharingContent? { + @objc get + @objc set + } + @objc @_Concurrency.MainActor(unsafe) final public var analyticsParameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]? { + @objc get + } + @objc @_Concurrency.MainActor(unsafe) final public var impressionTrackingEventName: FBSDKCoreKit.AppEvents.Name { + @objc get + } + @objc @_Concurrency.MainActor(unsafe) final public var impressionTrackingIdentifier: Swift.String { + @objc get + } + @_Concurrency.MainActor(unsafe) @objc override final public var isImplicitlyDisabled: Swift.Bool { + @_Concurrency.MainActor(unsafe) @objc get + } + @objc @_Concurrency.MainActor(unsafe) final public func configureButton() + @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) + @_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder) + @objc deinit +} +@objcMembers @objc(FBSDKHashtag) final public class Hashtag : ObjectiveC.NSObject { + @objc final public var stringRepresentation: Swift.String + @objc(initWithString:) public init(_ string: Swift.String) + @objc override final public var description: Swift.String { + @objc get + } + @objc final public var isValid: Swift.Bool { + @objc get + } + @objc override final public var hash: Swift.Int { + @objc get + } + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKMessageDialog) public class MessageDialog : ObjectiveC.NSObject, FBSDKShareKit.SharingDialog { + @objc weak public var delegate: FBSDKShareKit.SharingDelegate? + @objc public var shareContent: FBSDKShareKit.SharingContent? + @objc public var shouldFailOnDataError: Swift.Bool + @objc(initWithContent:delegate:) convenience public init(content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) + @objc(dialogWithContent:delegate:) public static func dialog(content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.MessageDialog + @objc(showWithContent:delegate:) public static func show(content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.MessageDialog + @objc public var canShow: Swift.Bool { + @objc get + } + @discardableResult + @objc public func show() -> Swift.Bool + @objc public func validate() throws + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareCameraEffectContent) final public class ShareCameraEffectContent : ObjectiveC.NSObject { + @objc final public var effectID: Swift.String + @objc final public var effectArguments: FBSDKShareKit.CameraEffectArguments + @objc final public var effectTextures: FBSDKShareKit.CameraEffectTextures + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public var shareUUID: Swift.String? { + get + } + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareCameraEffectContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objcMembers @objc(FBSDKShareDialog) public class ShareDialog : ObjectiveC.NSObject, FBSDKShareKit.SharingDialog { + @objc weak public var fromViewController: UIKit.UIViewController? + @objc public var mode: FBSDKShareKit.ShareDialog.Mode + @objc weak public var delegate: FBSDKShareKit.SharingDelegate? + @objc public var shareContent: FBSDKShareKit.SharingContent? + @objc public var shouldFailOnDataError: Swift.Bool + @objc(initWithViewController:content:delegate:) public init(viewController: UIKit.UIViewController?, content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) + @objc deinit + @objc(dialogWithViewController:withContent:delegate:) public class func dialog(viewController: UIKit.UIViewController?, content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.ShareDialog + @discardableResult + @objc(showFromViewController:withContent:delegate:) public class func show(viewController: UIKit.UIViewController?, content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.ShareDialog +} +extension FBSDKShareKit.ShareDialog { + @objc dynamic public var canShow: Swift.Bool { + @objc get + } + @discardableResult + @objc dynamic public func show() -> Swift.Bool + @objc dynamic public func validate() throws +} +extension FBSDKShareKit.ShareDialog : FBSDKCoreKit.WebDialogDelegate { + @objc dynamic public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didCompleteWithResults results: [Swift.String : Any]) + @objc dynamic public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didFailWithError error: Swift.Error) + @objc dynamic public func webDialogDidCancel(_ webDialog: FBSDKCoreKit.WebDialog) +} +extension FBSDKShareKit.ShareDialog { + @objc(FBSDKShareDialogMode) public enum Mode : Swift.UInt, Swift.CustomStringConvertible { + case automatic + case native + case shareSheet + case browser + case web + case feedBrowser + case feedWeb + public var description: Swift.String { + get + } + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } + } +} +public let ShareErrorDomain: Swift.String +@objc(FBSDKShareError) public enum ShareError : Swift.Int { + case reserved = 200 + case openGraph + case dialogNotAvailable + case unknown + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareLinkContent) final public class ShareLinkContent : ObjectiveC.NSObject { + @objc final public var quote: Swift.String? + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareLinkContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareLinkContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objc(FBSDKShareMedia) public protocol ShareMedia { +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareMediaContent) final public class ShareMediaContent : ObjectiveC.NSObject { + @objc final public var media: [FBSDKShareKit.ShareMedia] + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareMediaContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareMediaContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKSharePhoto) final public class SharePhoto : ObjectiveC.NSObject, FBSDKShareKit.ShareMedia { + @objc final public var image: UIKit.UIImage? { + @objc get + @objc set + } + @objc final public var imageURL: Foundation.URL? { + @objc get + @objc set + } + @objc final public var photoAsset: Photos.PHAsset? { + @objc get + @objc set + } + @objc final public var isUserGenerated: Swift.Bool + @objc final public var caption: Swift.String? + @objc convenience public init(image: UIKit.UIImage, isUserGenerated: Swift.Bool) + @objc convenience public init(imageURL: Foundation.URL, isUserGenerated: Swift.Bool) + @objc convenience public init(photoAsset: Photos.PHAsset, isUserGenerated: Swift.Bool) + @objc deinit +} +extension FBSDKShareKit.SharePhoto : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKSharePhotoContent) final public class SharePhotoContent : ObjectiveC.NSObject { + @objc final public var photos: [FBSDKShareKit.SharePhoto] + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.SharePhotoContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.SharePhotoContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKShareVideo) final public class ShareVideo : ObjectiveC.NSObject, FBSDKShareKit.ShareMedia { + @objc final public var data: Foundation.Data? { + @objc get + @objc set + } + @objc final public var videoAsset: Photos.PHAsset? { + @objc get + @objc set + } + @objc final public var videoURL: Foundation.URL? { + @objc get + @objc set + } + @objc final public var previewPhoto: FBSDKShareKit.SharePhoto? + @objc convenience public init(data: Foundation.Data, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc convenience public init(videoAsset: Photos.PHAsset, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc convenience public init(videoURL: Foundation.URL, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc deinit +} +extension FBSDKShareKit.ShareVideo : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareVideoContent) final public class ShareVideoContent : ObjectiveC.NSObject { + @objc final public var video: FBSDKShareKit.ShareVideo + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public var shareUUID: Swift.String? { + get + } + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareVideoContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareVideoContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objc(FBSDKSharing) public protocol Sharing { + @objc weak var delegate: FBSDKShareKit.SharingDelegate? { get set } + @objc var shareContent: FBSDKShareKit.SharingContent? { get set } + @objc var shouldFailOnDataError: Swift.Bool { get set } + @objc(validateWithError:) func validate() throws +} +@available(tvOS, unavailable) +@objc(FBSDKSharingButton) public protocol SharingButton { + @objc var shareContent: FBSDKShareKit.SharingContent? { get set } +} +@objc(FBSDKSharingContent) public protocol SharingContent : FBSDKShareKit.SharingValidation, ObjectiveC.NSObjectProtocol { + @objc var contentURL: Foundation.URL? { get set } + @objc var hashtag: FBSDKShareKit.Hashtag? { get set } + @objc var peopleIDs: [Swift.String] { get set } + @objc var placeID: Swift.String? { get set } + @objc var ref: Swift.String? { get set } + @objc var pageID: Swift.String? { get set } + @objc var shareUUID: Swift.String? { get } + @objc(addParameters:bridgeOptions:) func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +@objc(FBSDKSharingDelegate) public protocol SharingDelegate { + @objc(sharer:didCompleteWithResults:) func sharer(_ sharer: FBSDKShareKit.Sharing, didCompleteWithResults results: [Swift.String : Any]) + @objc(sharer:didFailWithError:) func sharer(_ sharer: FBSDKShareKit.Sharing, didFailWithError error: Swift.Error) + @objc(sharerDidCancel:) func sharerDidCancel(_ sharer: FBSDKShareKit.Sharing) +} +@objc(FBSDKSharingDialog) public protocol SharingDialog : FBSDKShareKit.Sharing { + @objc var canShow: Swift.Bool { get } + @objc @discardableResult + func show() -> Swift.Bool +} +@objc(FBSDKSharingValidation) public protocol SharingValidation { + @objc(validateWithOptions:error:) func validate(options: FBSDKShareKit.ShareBridgeOptions) throws +} +public enum _ShareUtility { +} +extension FBSDKShareKit._ShareUtility { + public static func validateRequiredValue(_ value: Any, named name: Swift.String) throws + public static func validateArgument(_ value: Argument, named name: Swift.String, in possibleValues: Swift.Set) throws where Argument : Swift.Hashable +} +extension FBSDKShareKit.AppInviteContent.Destination : Swift.Equatable {} +extension FBSDKShareKit.AppInviteContent.Destination : Swift.Hashable {} +extension FBSDKShareKit.AppInviteContent.Destination : Swift.RawRepresentable {} +extension FBSDKShareKit.ShareDialog.Mode : Swift.Equatable {} +extension FBSDKShareKit.ShareDialog.Mode : Swift.Hashable {} +extension FBSDKShareKit.ShareDialog.Mode : Swift.RawRepresentable {} +extension FBSDKShareKit.ShareError : Swift.Equatable {} +extension FBSDKShareKit.ShareError : Swift.Hashable {} +extension FBSDKShareKit.ShareError : Swift.RawRepresentable {} diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64.swiftdoc new file mode 100644 index 0000000..9605601 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64.swiftinterface new file mode 100644 index 0000000..a50d8b5 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64.swiftinterface @@ -0,0 +1,367 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKShareKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +@_exported import FBSDKShareKit +import Foundation +import Photos +import Social +import Swift +import UIKit +import _Concurrency +@objcMembers @objc(FBSDKAppInviteContent) final public class AppInviteContent : ObjectiveC.NSObject { + @objc(FBSDKAppInviteDestination) public enum Destination : Swift.Int { + case facebook + case messenger + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + } + @objc final public var appInvitePreviewImageURL: Foundation.URL? + @objc final public var appLinkURL: Foundation.URL + @objc final public var promotionCode: Swift.String? + @objc final public var promotionText: Swift.String? + @objc final public var destination: FBSDKShareKit.AppInviteContent.Destination + @objc(initWithAppLinkURL:) public init(appLinkURL: Foundation.URL) + @objc deinit +} +extension FBSDKShareKit.AppInviteContent : FBSDKShareKit.SharingValidation { + @objc final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKCameraEffectArguments) final public class CameraEffectArguments : ObjectiveC.NSObject { + @objc(setString:forKey:) final public func set(_ string: Swift.String?, forKey key: Swift.String) + @objc final public func string(forKey key: Swift.String) -> Swift.String? + @objc(setArray:forKey:) final public func set(_ array: [Swift.String]?, forKey key: Swift.String) + @objc final public func array(forKey key: Swift.String) -> [Swift.String]? + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKCameraEffectTextures) final public class CameraEffectTextures : ObjectiveC.NSObject { + @objc(setImage:forKey:) final public func set(_ image: UIKit.UIImage?, forKey key: Swift.String) + @objc(imageForKey:) final public func image(forKey key: Swift.String) -> UIKit.UIImage? + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKSendButton) @_Concurrency.MainActor(unsafe) final public class FBSendButton : FBSDKCoreKit.FBButton, FBSDKShareKit.SharingButton, FBSDKCoreKit.FBButtonImpressionLogging { + @objc @_Concurrency.MainActor(unsafe) final public var dialog: FBSDKShareKit.MessageDialog? + @_Concurrency.MainActor(unsafe) @objc final public var shareContent: FBSDKShareKit.SharingContent? { + @objc get + @objc set + } + @_Concurrency.MainActor(unsafe) @objc final public var analyticsParameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]? { + @objc get + } + @_Concurrency.MainActor(unsafe) @objc final public var impressionTrackingEventName: FBSDKCoreKit.AppEvents.Name { + @objc get + } + @_Concurrency.MainActor(unsafe) @objc final public var impressionTrackingIdentifier: Swift.String { + @objc get + } + @_Concurrency.MainActor(unsafe) @objc override final public var isImplicitlyDisabled: Swift.Bool { + @_Concurrency.MainActor(unsafe) @objc get + } + @objc @_Concurrency.MainActor(unsafe) final public func configureButton() + @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) + @_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder) + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareButton) @_Concurrency.MainActor(unsafe) final public class FBShareButton : FBSDKCoreKit.FBButton, FBSDKShareKit.SharingButton { + @_Concurrency.MainActor(unsafe) @objc final public var shareContent: FBSDKShareKit.SharingContent? { + @objc get + @objc set + } + @objc @_Concurrency.MainActor(unsafe) final public var analyticsParameters: [FBSDKCoreKit.AppEvents.ParameterName : Any]? { + @objc get + } + @objc @_Concurrency.MainActor(unsafe) final public var impressionTrackingEventName: FBSDKCoreKit.AppEvents.Name { + @objc get + } + @objc @_Concurrency.MainActor(unsafe) final public var impressionTrackingIdentifier: Swift.String { + @objc get + } + @_Concurrency.MainActor(unsafe) @objc override final public var isImplicitlyDisabled: Swift.Bool { + @_Concurrency.MainActor(unsafe) @objc get + } + @objc @_Concurrency.MainActor(unsafe) final public func configureButton() + @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) + @_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder) + @objc deinit +} +@objcMembers @objc(FBSDKHashtag) final public class Hashtag : ObjectiveC.NSObject { + @objc final public var stringRepresentation: Swift.String + @objc(initWithString:) public init(_ string: Swift.String) + @objc override final public var description: Swift.String { + @objc get + } + @objc final public var isValid: Swift.Bool { + @objc get + } + @objc override final public var hash: Swift.Int { + @objc get + } + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKMessageDialog) public class MessageDialog : ObjectiveC.NSObject, FBSDKShareKit.SharingDialog { + @objc weak public var delegate: FBSDKShareKit.SharingDelegate? + @objc public var shareContent: FBSDKShareKit.SharingContent? + @objc public var shouldFailOnDataError: Swift.Bool + @objc(initWithContent:delegate:) convenience public init(content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) + @objc(dialogWithContent:delegate:) public static func dialog(content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.MessageDialog + @objc(showWithContent:delegate:) public static func show(content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.MessageDialog + @objc public var canShow: Swift.Bool { + @objc get + } + @discardableResult + @objc public func show() -> Swift.Bool + @objc public func validate() throws + @objc deinit +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareCameraEffectContent) final public class ShareCameraEffectContent : ObjectiveC.NSObject { + @objc final public var effectID: Swift.String + @objc final public var effectArguments: FBSDKShareKit.CameraEffectArguments + @objc final public var effectTextures: FBSDKShareKit.CameraEffectTextures + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public var shareUUID: Swift.String? { + get + } + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareCameraEffectContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objcMembers @objc(FBSDKShareDialog) public class ShareDialog : ObjectiveC.NSObject, FBSDKShareKit.SharingDialog { + @objc weak public var fromViewController: UIKit.UIViewController? + @objc public var mode: FBSDKShareKit.ShareDialog.Mode + @objc weak public var delegate: FBSDKShareKit.SharingDelegate? + @objc public var shareContent: FBSDKShareKit.SharingContent? + @objc public var shouldFailOnDataError: Swift.Bool + @objc(initWithViewController:content:delegate:) public init(viewController: UIKit.UIViewController?, content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) + @objc deinit + @objc(dialogWithViewController:withContent:delegate:) public class func dialog(viewController: UIKit.UIViewController?, content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.ShareDialog + @discardableResult + @objc(showFromViewController:withContent:delegate:) public class func show(viewController: UIKit.UIViewController?, content: FBSDKShareKit.SharingContent?, delegate: FBSDKShareKit.SharingDelegate?) -> FBSDKShareKit.ShareDialog +} +extension FBSDKShareKit.ShareDialog { + @objc dynamic public var canShow: Swift.Bool { + @objc get + } + @discardableResult + @objc dynamic public func show() -> Swift.Bool + @objc dynamic public func validate() throws +} +extension FBSDKShareKit.ShareDialog : FBSDKCoreKit.WebDialogDelegate { + @objc dynamic public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didCompleteWithResults results: [Swift.String : Any]) + @objc dynamic public func webDialog(_ webDialog: FBSDKCoreKit.WebDialog, didFailWithError error: Swift.Error) + @objc dynamic public func webDialogDidCancel(_ webDialog: FBSDKCoreKit.WebDialog) +} +extension FBSDKShareKit.ShareDialog { + @objc(FBSDKShareDialogMode) public enum Mode : Swift.UInt, Swift.CustomStringConvertible { + case automatic + case native + case shareSheet + case browser + case web + case feedBrowser + case feedWeb + public var description: Swift.String { + get + } + public init?(rawValue: Swift.UInt) + public typealias RawValue = Swift.UInt + public var rawValue: Swift.UInt { + get + } + } +} +public let ShareErrorDomain: Swift.String +@objc(FBSDKShareError) public enum ShareError : Swift.Int { + case reserved = 200 + case openGraph + case dialogNotAvailable + case unknown + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareLinkContent) final public class ShareLinkContent : ObjectiveC.NSObject { + @objc final public var quote: Swift.String? + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareLinkContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareLinkContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objc(FBSDKShareMedia) public protocol ShareMedia { +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareMediaContent) final public class ShareMediaContent : ObjectiveC.NSObject { + @objc final public var media: [FBSDKShareKit.ShareMedia] + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareMediaContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareMediaContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKSharePhoto) final public class SharePhoto : ObjectiveC.NSObject, FBSDKShareKit.ShareMedia { + @objc final public var image: UIKit.UIImage? { + @objc get + @objc set + } + @objc final public var imageURL: Foundation.URL? { + @objc get + @objc set + } + @objc final public var photoAsset: Photos.PHAsset? { + @objc get + @objc set + } + @objc final public var isUserGenerated: Swift.Bool + @objc final public var caption: Swift.String? + @objc convenience public init(image: UIKit.UIImage, isUserGenerated: Swift.Bool) + @objc convenience public init(imageURL: Foundation.URL, isUserGenerated: Swift.Bool) + @objc convenience public init(photoAsset: Photos.PHAsset, isUserGenerated: Swift.Bool) + @objc deinit +} +extension FBSDKShareKit.SharePhoto : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKSharePhotoContent) final public class SharePhotoContent : ObjectiveC.NSObject { + @objc final public var photos: [FBSDKShareKit.SharePhoto] + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.SharePhotoContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.SharePhotoContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKShareVideo) final public class ShareVideo : ObjectiveC.NSObject, FBSDKShareKit.ShareMedia { + @objc final public var data: Foundation.Data? { + @objc get + @objc set + } + @objc final public var videoAsset: Photos.PHAsset? { + @objc get + @objc set + } + @objc final public var videoURL: Foundation.URL? { + @objc get + @objc set + } + @objc final public var previewPhoto: FBSDKShareKit.SharePhoto? + @objc convenience public init(data: Foundation.Data, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc convenience public init(videoAsset: Photos.PHAsset, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc convenience public init(videoURL: Foundation.URL, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc deinit +} +extension FBSDKShareKit.ShareVideo : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareVideoContent) final public class ShareVideoContent : ObjectiveC.NSObject { + @objc final public var video: FBSDKShareKit.ShareVideo + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public var shareUUID: Swift.String? { + get + } + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareVideoContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareVideoContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objc(FBSDKSharing) public protocol Sharing { + @objc weak var delegate: FBSDKShareKit.SharingDelegate? { get set } + @objc var shareContent: FBSDKShareKit.SharingContent? { get set } + @objc var shouldFailOnDataError: Swift.Bool { get set } + @objc(validateWithError:) func validate() throws +} +@available(tvOS, unavailable) +@objc(FBSDKSharingButton) public protocol SharingButton { + @objc var shareContent: FBSDKShareKit.SharingContent? { get set } +} +@objc(FBSDKSharingContent) public protocol SharingContent : FBSDKShareKit.SharingValidation, ObjectiveC.NSObjectProtocol { + @objc var contentURL: Foundation.URL? { get set } + @objc var hashtag: FBSDKShareKit.Hashtag? { get set } + @objc var peopleIDs: [Swift.String] { get set } + @objc var placeID: Swift.String? { get set } + @objc var ref: Swift.String? { get set } + @objc var pageID: Swift.String? { get set } + @objc var shareUUID: Swift.String? { get } + @objc(addParameters:bridgeOptions:) func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +@objc(FBSDKSharingDelegate) public protocol SharingDelegate { + @objc(sharer:didCompleteWithResults:) func sharer(_ sharer: FBSDKShareKit.Sharing, didCompleteWithResults results: [Swift.String : Any]) + @objc(sharer:didFailWithError:) func sharer(_ sharer: FBSDKShareKit.Sharing, didFailWithError error: Swift.Error) + @objc(sharerDidCancel:) func sharerDidCancel(_ sharer: FBSDKShareKit.Sharing) +} +@objc(FBSDKSharingDialog) public protocol SharingDialog : FBSDKShareKit.Sharing { + @objc var canShow: Swift.Bool { get } + @objc @discardableResult + func show() -> Swift.Bool +} +@objc(FBSDKSharingValidation) public protocol SharingValidation { + @objc(validateWithOptions:error:) func validate(options: FBSDKShareKit.ShareBridgeOptions) throws +} +public enum _ShareUtility { +} +extension FBSDKShareKit._ShareUtility { + public static func validateRequiredValue(_ value: Any, named name: Swift.String) throws + public static func validateArgument(_ value: Argument, named name: Swift.String, in possibleValues: Swift.Set) throws where Argument : Swift.Hashable +} +extension FBSDKShareKit.AppInviteContent.Destination : Swift.Equatable {} +extension FBSDKShareKit.AppInviteContent.Destination : Swift.Hashable {} +extension FBSDKShareKit.AppInviteContent.Destination : Swift.RawRepresentable {} +extension FBSDKShareKit.ShareDialog.Mode : Swift.Equatable {} +extension FBSDKShareKit.ShareDialog.Mode : Swift.Hashable {} +extension FBSDKShareKit.ShareDialog.Mode : Swift.RawRepresentable {} +extension FBSDKShareKit.ShareError : Swift.Equatable {} +extension FBSDKShareKit.ShareError : Swift.Hashable {} +extension FBSDKShareKit.ShareError : Swift.RawRepresentable {} diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/module.modulemap b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/module.modulemap new file mode 100644 index 0000000..3d203af --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module FBSDKShareKit { + umbrella header "FBSDKShareKit.h" + + export * + module * { export * } +} + +module FBSDKShareKit.Swift { + header "FBSDKShareKit-Swift.h" + requires objc +} diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/_CodeSignature/CodeDirectory b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/_CodeSignature/CodeDirectory new file mode 100644 index 0000000..99ecb3a Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/_CodeSignature/CodeDirectory differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/_CodeSignature/CodeRequirements b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/_CodeSignature/CodeRequirements new file mode 100644 index 0000000..dbf9d61 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/_CodeSignature/CodeRequirements differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/_CodeSignature/CodeRequirements-1 b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/_CodeSignature/CodeRequirements-1 new file mode 100644 index 0000000..c211f45 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/_CodeSignature/CodeRequirements-1 differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/_CodeSignature/CodeResources b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/_CodeSignature/CodeResources new file mode 100644 index 0000000..425bb63 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/_CodeSignature/CodeResources @@ -0,0 +1,357 @@ + + + + + files + + Headers/FBSDKShareBridgeOptions.h + + UnSjaUXm5qLeLGXDUNVRzXY9NrQ= + + Headers/FBSDKShareErrorDomain.h + + ccdtzvuodQ/lvKIVoHt8KIM9u2U= + + Headers/FBSDKShareKit-Swift.h + + aVUQZbuIsqNpPcngJcxuQfGido4= + + Headers/FBSDKShareKit.h + + 3Vlzn/6bUD/wgctBGh6x9fepcJg= + + Info.plist + + PpxGvOLGEFrZM1akmcWul2quF3E= + + Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + rXuomqfEApLcl7udXB5MIv9u2Vc= + + Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + FNkn1HZYXlogzJspZ0E49+z/E1s= + + Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + +uftgP0rKWFdBBJ7zSIAPNwGrzY= + + Modules/FBSDKShareKit.swiftmodule/arm64.swiftdoc + + rXuomqfEApLcl7udXB5MIv9u2Vc= + + Modules/FBSDKShareKit.swiftmodule/arm64.swiftinterface + + FNkn1HZYXlogzJspZ0E49+z/E1s= + + Modules/FBSDKShareKit.swiftmodule/arm64.swiftmodule + + +uftgP0rKWFdBBJ7zSIAPNwGrzY= + + Modules/FBSDKShareKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + zZDCrYoKHcaNBprPIuHvBtaLYKs= + + Modules/FBSDKShareKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + 27021WjhfivNVDy/s3aFzxSx/Lg= + + Modules/FBSDKShareKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule + + t3W66xFt3Z9L2LHOGlAOuTvpSek= + + Modules/FBSDKShareKit.swiftmodule/x86_64.swiftdoc + + zZDCrYoKHcaNBprPIuHvBtaLYKs= + + Modules/FBSDKShareKit.swiftmodule/x86_64.swiftinterface + + 27021WjhfivNVDy/s3aFzxSx/Lg= + + Modules/FBSDKShareKit.swiftmodule/x86_64.swiftmodule + + t3W66xFt3Z9L2LHOGlAOuTvpSek= + + Modules/module.modulemap + + c/1l3+MTRWj+XKPFv/2HWhKeUtA= + + + files2 + + Headers/FBSDKShareBridgeOptions.h + + hash + + UnSjaUXm5qLeLGXDUNVRzXY9NrQ= + + hash2 + + IxpwBSGJEUrCXBdjRGpZ0yehzDl7wfNF5HReqM5qO/8= + + + Headers/FBSDKShareErrorDomain.h + + hash + + ccdtzvuodQ/lvKIVoHt8KIM9u2U= + + hash2 + + Gq/jBWHIi9/+dLPC1EqzBf+XM4GcHg1JpVUb0DiK6jM= + + + Headers/FBSDKShareKit-Swift.h + + hash + + aVUQZbuIsqNpPcngJcxuQfGido4= + + hash2 + + 6l2PR35Ku4t+0Q59SbbzZyL40lnWDiX4RNSkh00JzTQ= + + + Headers/FBSDKShareKit.h + + hash + + 3Vlzn/6bUD/wgctBGh6x9fepcJg= + + hash2 + + BizbBQ3VvhD8p64UL0pkalRRg0wPwYLFP3IXGeJnkE4= + + + Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + hash + + rXuomqfEApLcl7udXB5MIv9u2Vc= + + hash2 + + 0k/C5slXOr3xoQoKepqzpQzcDem5DRnu8zzptSolmUg= + + + Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + hash + + FNkn1HZYXlogzJspZ0E49+z/E1s= + + hash2 + + lwui+YYSqeCy9O0TH9PBcHOwMlZNY2S9XatMvZMARTc= + + + Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + hash + + +uftgP0rKWFdBBJ7zSIAPNwGrzY= + + hash2 + + p1XfJ1hCZgZRKpWjwih8dXLXvg68/rfaKx13l77ZDtY= + + + Modules/FBSDKShareKit.swiftmodule/arm64.swiftdoc + + hash + + rXuomqfEApLcl7udXB5MIv9u2Vc= + + hash2 + + 0k/C5slXOr3xoQoKepqzpQzcDem5DRnu8zzptSolmUg= + + + Modules/FBSDKShareKit.swiftmodule/arm64.swiftinterface + + hash + + FNkn1HZYXlogzJspZ0E49+z/E1s= + + hash2 + + lwui+YYSqeCy9O0TH9PBcHOwMlZNY2S9XatMvZMARTc= + + + Modules/FBSDKShareKit.swiftmodule/arm64.swiftmodule + + hash + + +uftgP0rKWFdBBJ7zSIAPNwGrzY= + + hash2 + + p1XfJ1hCZgZRKpWjwih8dXLXvg68/rfaKx13l77ZDtY= + + + Modules/FBSDKShareKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + hash + + zZDCrYoKHcaNBprPIuHvBtaLYKs= + + hash2 + + s91RrZA0YsEUDGEuraSw1RUJEOrXgKbw/J+imDqnpK0= + + + Modules/FBSDKShareKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + hash + + 27021WjhfivNVDy/s3aFzxSx/Lg= + + hash2 + + pyh9kPvMQNXO+wsUnPZlXsO5q5xCBoxWrSV7WBzdQ8w= + + + Modules/FBSDKShareKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule + + hash + + t3W66xFt3Z9L2LHOGlAOuTvpSek= + + hash2 + + UvqC4wIPZ81ekbG1GT5KpXzPhv39tQAEXiDfvFrGLRI= + + + Modules/FBSDKShareKit.swiftmodule/x86_64.swiftdoc + + hash + + zZDCrYoKHcaNBprPIuHvBtaLYKs= + + hash2 + + s91RrZA0YsEUDGEuraSw1RUJEOrXgKbw/J+imDqnpK0= + + + Modules/FBSDKShareKit.swiftmodule/x86_64.swiftinterface + + hash + + 27021WjhfivNVDy/s3aFzxSx/Lg= + + hash2 + + pyh9kPvMQNXO+wsUnPZlXsO5q5xCBoxWrSV7WBzdQ8w= + + + Modules/FBSDKShareKit.swiftmodule/x86_64.swiftmodule + + hash + + t3W66xFt3Z9L2LHOGlAOuTvpSek= + + hash2 + + UvqC4wIPZ81ekbG1GT5KpXzPhv39tQAEXiDfvFrGLRI= + + + Modules/module.modulemap + + hash + + c/1l3+MTRWj+XKPFv/2HWhKeUtA= + + hash2 + + LFKLAS36xoxx786XN6Efo7GDNLqGNFpjOc/zQ1+JRXY= + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/_CodeSignature/CodeSignature b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/ios-arm64_x86_64-simulator/FBSDKShareKit.framework/_CodeSignature/CodeSignature new file mode 100644 index 0000000..e69de29 diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64/FBSDKShareKit.framework/FBSDKShareKit b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64/FBSDKShareKit.framework/FBSDKShareKit new file mode 100644 index 0000000..42ae329 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64/FBSDKShareKit.framework/FBSDKShareKit differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64/FBSDKShareKit.framework/Headers/FBSDKShareBridgeOptions.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64/FBSDKShareKit.framework/Headers/FBSDKShareBridgeOptions.h new file mode 100644 index 0000000..02dcbb2 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64/FBSDKShareKit.framework/Headers/FBSDKShareBridgeOptions.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Flags to indicate support for newer bridge options beyond the initial 20130410 implementation. +typedef NS_OPTIONS(NSUInteger, FBSDKShareBridgeOptions) { + FBSDKShareBridgeOptionsDefault = 0, + FBSDKShareBridgeOptionsPhotoAsset = 1 << 0, + FBSDKShareBridgeOptionsPhotoImageURL = 1 << 1, // if set, a web-based URL is required; asset, image, and imageURL.isFileURL not allowed + FBSDKShareBridgeOptionsVideoAsset = 1 << 2, + FBSDKShareBridgeOptionsVideoData = 1 << 3, + FBSDKShareBridgeOptionsWebHashtag = 1 << 4, // if set, pass the hashtag as a string value, not an array of one string +} NS_SWIFT_NAME(ShareBridgeOptions); + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64/FBSDKShareKit.framework/Headers/FBSDKShareErrorDomain.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64/FBSDKShareKit.framework/Headers/FBSDKShareErrorDomain.h new file mode 100644 index 0000000..a4dfe60 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64/FBSDKShareKit.framework/Headers/FBSDKShareErrorDomain.h @@ -0,0 +1,20 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + The error domain for all errors from FBSDKShareKit. + + Error codes from the SDK in the range 200-299 are reserved for this domain. + */ +FOUNDATION_EXPORT NSErrorDomain const FBSDKShareErrorDomain; + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64/FBSDKShareKit.framework/Headers/FBSDKShareKit-Swift.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64/FBSDKShareKit.framework/Headers/FBSDKShareKit-Swift.h new file mode 100644 index 0000000..187de2b --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64/FBSDKShareKit.framework/Headers/FBSDKShareKit-Swift.h @@ -0,0 +1,589 @@ +// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +#ifndef FBSDKSHAREKIT_SWIFT_H +#define FBSDKSHAREKIT_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import Foundation; +@import ObjectiveC; +#endif + +#import + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKShareKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + +@class NSString; +@class NSNumber; + +/// Represents a single hashtag that can be used with the share dialog. +SWIFT_CLASS_NAMED("Hashtag") +@interface FBSDKHashtag : NSObject +/// The hashtag string. +/// You are responsible for making sure that stringRepresentation is a valid hashtag (a single ‘#’ followed by one or more +/// word characters). Invalid hashtags are ignored when sharing content. You can check validity with thevalid property. +/// @return The hashtag string +@property (nonatomic, copy) NSString * _Nonnull stringRepresentation; +- (nonnull instancetype)initWithString:(NSString * _Nonnull)string OBJC_DESIGNATED_INITIALIZER; +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// Tests if a hashtag is valid. +/// A valid hashtag matches the regular expression “#\w+”: A single ‘#’ followed by one or more word characters. +/// @return true if the hashtag is valid, false otherwise. +@property (nonatomic, readonly) BOOL isValid; +@property (nonatomic, readonly) NSUInteger hash; +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +/// ShareError +/// Error codes for ShareErrorDomain. +typedef SWIFT_ENUM_NAMED(NSInteger, FBSDKShareError, "ShareError", open) { +/// Reserved + FBSDKShareErrorReserved = 200, +/// The error code for errors from uploading open graph objects. + FBSDKShareErrorOpenGraph = 201, +/// The error code for when a sharing dialog is not available. +/// Use the canShare methods to check for this case before calling show. + FBSDKShareErrorDialogNotAvailable = 202, +/// The error code for unknown errors. + FBSDKShareErrorUnknown = 203, +}; + +@class NSURL; + +/// A model for status and link content to be shared. +SWIFT_CLASS_NAMED("ShareLinkContent") +@interface FBSDKShareLinkContent : NSObject +/// Some quote text of the link. +/// If specified, the quote text will render with custom styling on top of the link. +@property (nonatomic, copy) NSString * _Nullable quote; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A base interface for validation of content and media. +SWIFT_PROTOCOL_NAMED("SharingValidation") +@protocol FBSDKSharingValidation +/// Asks the receiver to validate that its content or media values are valid. +/// \param options The share bridge options to use for validation. +/// +/// +/// throws: +/// If the values are not valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)options error:(NSError * _Nullable * _Nullable)error; +@end + + +/// A base interface for content to be shared. +SWIFT_PROTOCOL_NAMED("SharingContent") +@protocol FBSDKSharingContent +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. +/// See documentation for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKShareLinkContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKShareLinkContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Asks the receiver to validate that its content or media values are valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + +/// A protocol for media content (photo or video) to be shared. +SWIFT_PROTOCOL_NAMED("ShareMedia") +@protocol FBSDKShareMedia +@end + + +/// A model for media content (photo or video) to be shared. +SWIFT_CLASS_NAMED("ShareMediaContent") +@interface FBSDKShareMediaContent : NSObject +/// Media to be shared: an array of SharePhoto or ShareVideo +@property (nonatomic, copy) NSArray> * _Nonnull media; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface FBSDKShareMediaContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Asks the receiver to validate that its content or media values are valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + +@interface FBSDKShareMediaContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + +@class UIImage; +@class PHAsset; + +/// A photo for sharing. +SWIFT_CLASS_NAMED("SharePhoto") +@interface FBSDKSharePhoto : NSObject +/// If the photo is resident in memory, this method supplies the data. +@property (nonatomic, strong) UIImage * _Nullable image; +/// URL that points to a network location or the location of the photo on disk +@property (nonatomic, copy) NSURL * _Nullable imageURL; +/// The representation of the photo in the Photos library. +@property (nonatomic, strong) PHAsset * _Nullable photoAsset; +/// Specifies whether the photo represented by the receiver was generated by the user (true) +/// or by the application (false). +@property (nonatomic) BOOL isUserGenerated; +/// The user-generated caption for the photo. Note that the ‘caption’ must come from +/// the user, as pre-filled content is forbidden by the Platform Policies (2.3). +@property (nonatomic, copy) NSString * _Nullable caption; +/// Convenience method to build a new photo object with an image. +/// \param image If the photo is resident in memory, this method supplies the data +/// +/// \param isUserGenerated Specifies whether the photo represented by the receiver was generated by the user or by the +/// application +/// +- (nonnull instancetype)initWithImage:(UIImage * _Nonnull)image isUserGenerated:(BOOL)isUserGenerated; +/// Convenience method to build a new photo object with an imageURL. +/// This method should only be used when adding photo content to open graph stories. +/// For example, if you’re trying to share a photo from the web by itself, download the image and use +/// init(image:isUserGenerated:) instead. +/// \param imageURL The URL to the photo +/// +/// \param isUserGenerated Specifies whether the photo represented by the receiver was generated by the user or by the +/// application +/// +- (nonnull instancetype)initWithImageURL:(NSURL * _Nonnull)imageURL isUserGenerated:(BOOL)isUserGenerated; +/// Convenience method to build a new photo object with a PHAsset. +/// \param photoAsset The PHAsset that represents the photo in the Photos library. +/// +/// \param isUserGenerated Specifies whether the photo represented by the receiver was generated by the user or by +/// the application +/// +- (nonnull instancetype)initWithPhotoAsset:(PHAsset * _Nonnull)photoAsset isUserGenerated:(BOOL)isUserGenerated; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +@interface FBSDKSharePhoto (SWIFT_EXTENSION(FBSDKShareKit)) +/// Asks the receiver to validate that its content or media values are valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + + +/// A model for photo content to be shared. +SWIFT_CLASS_NAMED("SharePhotoContent") +@interface FBSDKSharePhotoContent : NSObject +/// Photos to be shared. +@property (nonatomic, copy) NSArray * _Nonnull photos; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface FBSDKSharePhotoContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKSharePhotoContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Validate that this content contains valid values +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + +@class NSData; + +/// A video for sharing. +SWIFT_CLASS_NAMED("ShareVideo") +@interface FBSDKShareVideo : NSObject +/// The raw video data. +@property (nonatomic, copy) NSData * _Nullable data; +/// The representation of the video in the Photos library. +@property (nonatomic, strong) PHAsset * _Nullable videoAsset; +/// The file URL to the video. +@property (nonatomic, copy) NSURL * _Nullable videoURL; +/// The photo that represents the video. +@property (nonatomic, strong) FBSDKSharePhoto * _Nullable previewPhoto; +/// Convenience method to build a new video object from raw data and an optional preview photo. +/// \param data The Data object that holds the raw video data. +/// +/// \param previewPhoto The photo that represents the video. +/// +- (nonnull instancetype)initWithData:(NSData * _Nonnull)data previewPhoto:(FBSDKSharePhoto * _Nullable)previewPhoto; +/// Convenience method to build a new video object from a PHAsset and an optional preview photo. +/// \param videoAsset The PHAsset that represents the video in the Photos library. +/// +/// \param previewPhoto The photo that represents the video. +/// +- (nonnull instancetype)initWithVideoAsset:(PHAsset * _Nonnull)videoAsset previewPhoto:(FBSDKSharePhoto * _Nullable)previewPhoto; +/// Convenience method to build a new video object from a URL and an optional preview photo. +/// \param videoURL The URL to the video. +/// +/// \param previewPhoto The photo that represents the video. +/// +- (nonnull instancetype)initWithVideoURL:(NSURL * _Nonnull)videoURL previewPhoto:(FBSDKSharePhoto * _Nullable)previewPhoto; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +@interface FBSDKShareVideo (SWIFT_EXTENSION(FBSDKShareKit)) +/// Asks the receiver to validate that its content or media values are valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + + +/// A model for video content to be shared. +SWIFT_CLASS_NAMED("ShareVideoContent") +@interface FBSDKShareVideoContent : NSObject +/// The video to be shared +@property (nonatomic, strong) FBSDKShareVideo * _Nonnull video; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface FBSDKShareVideoContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKShareVideoContent (SWIFT_EXTENSION(FBSDKShareKit)) +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + + +/// The common interface for sharing buttons. +/// See FBSendButton and FBShareButton +SWIFT_PROTOCOL_NAMED("SharingButton") SWIFT_AVAILABILITY(tvos,unavailable) +@protocol FBSDKSharingButton +/// The content to be shared. +@property (nonatomic, strong) id _Nullable shareContent; +@end + + + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64/FBSDKShareKit.framework/Headers/FBSDKShareKit.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64/FBSDKShareKit.framework/Headers/FBSDKShareKit.h new file mode 100644 index 0000000..1600ab9 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64/FBSDKShareKit.framework/Headers/FBSDKShareKit.h @@ -0,0 +1,10 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64/FBSDKShareKit.framework/Info.plist b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64/FBSDKShareKit.framework/Info.plist new file mode 100644 index 0000000..3d40601 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64/FBSDKShareKit.framework/Info.plist differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-tvos.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-tvos.swiftdoc new file mode 100644 index 0000000..5fa0735 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-tvos.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-tvos.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-tvos.swiftinterface new file mode 100644 index 0000000..8a8d455 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-tvos.swiftinterface @@ -0,0 +1,185 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-tvos11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKShareKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +@_exported import FBSDKShareKit +import Foundation +import Photos +import Swift +import UIKit +import _Concurrency +@objcMembers @objc(FBSDKHashtag) final public class Hashtag : ObjectiveC.NSObject { + @objc final public var stringRepresentation: Swift.String + @objc(initWithString:) public init(_ string: Swift.String) + @objc override final public var description: Swift.String { + @objc get + } + @objc final public var isValid: Swift.Bool { + @objc get + } + @objc override final public var hash: Swift.Int { + @objc get + } + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc deinit +} +public let ShareErrorDomain: Swift.String +@objc(FBSDKShareError) public enum ShareError : Swift.Int { + case reserved = 200 + case openGraph + case dialogNotAvailable + case unknown + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareLinkContent) final public class ShareLinkContent : ObjectiveC.NSObject { + @objc final public var quote: Swift.String? + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareLinkContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareLinkContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objc(FBSDKShareMedia) public protocol ShareMedia { +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareMediaContent) final public class ShareMediaContent : ObjectiveC.NSObject { + @objc final public var media: [FBSDKShareKit.ShareMedia] + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareMediaContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareMediaContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKSharePhoto) final public class SharePhoto : ObjectiveC.NSObject, FBSDKShareKit.ShareMedia { + @objc final public var image: UIKit.UIImage? { + @objc get + @objc set + } + @objc final public var imageURL: Foundation.URL? { + @objc get + @objc set + } + @objc final public var photoAsset: Photos.PHAsset? { + @objc get + @objc set + } + @objc final public var isUserGenerated: Swift.Bool + @objc final public var caption: Swift.String? + @objc convenience public init(image: UIKit.UIImage, isUserGenerated: Swift.Bool) + @objc convenience public init(imageURL: Foundation.URL, isUserGenerated: Swift.Bool) + @objc convenience public init(photoAsset: Photos.PHAsset, isUserGenerated: Swift.Bool) + @objc deinit +} +extension FBSDKShareKit.SharePhoto : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKSharePhotoContent) final public class SharePhotoContent : ObjectiveC.NSObject { + @objc final public var photos: [FBSDKShareKit.SharePhoto] + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.SharePhotoContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.SharePhotoContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKShareVideo) final public class ShareVideo : ObjectiveC.NSObject, FBSDKShareKit.ShareMedia { + @objc final public var data: Foundation.Data? { + @objc get + @objc set + } + @objc final public var videoAsset: Photos.PHAsset? { + @objc get + @objc set + } + @objc final public var videoURL: Foundation.URL? { + @objc get + @objc set + } + @objc final public var previewPhoto: FBSDKShareKit.SharePhoto? + @objc convenience public init(data: Foundation.Data, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc convenience public init(videoAsset: Photos.PHAsset, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc convenience public init(videoURL: Foundation.URL, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc deinit +} +extension FBSDKShareKit.ShareVideo : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareVideoContent) final public class ShareVideoContent : ObjectiveC.NSObject { + @objc final public var video: FBSDKShareKit.ShareVideo + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public var shareUUID: Swift.String? { + get + } + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareVideoContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareVideoContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@available(tvOS, unavailable) +@objc(FBSDKSharingButton) public protocol SharingButton { + @objc var shareContent: FBSDKShareKit.SharingContent? { get set } +} +@objc(FBSDKSharingContent) public protocol SharingContent : FBSDKShareKit.SharingValidation, ObjectiveC.NSObjectProtocol { + @objc var contentURL: Foundation.URL? { get set } + @objc var hashtag: FBSDKShareKit.Hashtag? { get set } + @objc var peopleIDs: [Swift.String] { get set } + @objc var placeID: Swift.String? { get set } + @objc var ref: Swift.String? { get set } + @objc var pageID: Swift.String? { get set } + @objc var shareUUID: Swift.String? { get } + @objc(addParameters:bridgeOptions:) func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +@objc(FBSDKSharingValidation) public protocol SharingValidation { + @objc(validateWithOptions:error:) func validate(options: FBSDKShareKit.ShareBridgeOptions) throws +} +public enum _ShareUtility { +} +extension FBSDKShareKit._ShareUtility { + public static func validateRequiredValue(_ value: Any, named name: Swift.String) throws + public static func validateArgument(_ value: Argument, named name: Swift.String, in possibleValues: Swift.Set) throws where Argument : Swift.Hashable +} +extension FBSDKShareKit.ShareError : Swift.Equatable {} +extension FBSDKShareKit.ShareError : Swift.Hashable {} +extension FBSDKShareKit.ShareError : Swift.RawRepresentable {} diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..5fa0735 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..8a8d455 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftinterface @@ -0,0 +1,185 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-tvos11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKShareKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +@_exported import FBSDKShareKit +import Foundation +import Photos +import Swift +import UIKit +import _Concurrency +@objcMembers @objc(FBSDKHashtag) final public class Hashtag : ObjectiveC.NSObject { + @objc final public var stringRepresentation: Swift.String + @objc(initWithString:) public init(_ string: Swift.String) + @objc override final public var description: Swift.String { + @objc get + } + @objc final public var isValid: Swift.Bool { + @objc get + } + @objc override final public var hash: Swift.Int { + @objc get + } + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc deinit +} +public let ShareErrorDomain: Swift.String +@objc(FBSDKShareError) public enum ShareError : Swift.Int { + case reserved = 200 + case openGraph + case dialogNotAvailable + case unknown + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareLinkContent) final public class ShareLinkContent : ObjectiveC.NSObject { + @objc final public var quote: Swift.String? + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareLinkContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareLinkContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objc(FBSDKShareMedia) public protocol ShareMedia { +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareMediaContent) final public class ShareMediaContent : ObjectiveC.NSObject { + @objc final public var media: [FBSDKShareKit.ShareMedia] + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareMediaContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareMediaContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKSharePhoto) final public class SharePhoto : ObjectiveC.NSObject, FBSDKShareKit.ShareMedia { + @objc final public var image: UIKit.UIImage? { + @objc get + @objc set + } + @objc final public var imageURL: Foundation.URL? { + @objc get + @objc set + } + @objc final public var photoAsset: Photos.PHAsset? { + @objc get + @objc set + } + @objc final public var isUserGenerated: Swift.Bool + @objc final public var caption: Swift.String? + @objc convenience public init(image: UIKit.UIImage, isUserGenerated: Swift.Bool) + @objc convenience public init(imageURL: Foundation.URL, isUserGenerated: Swift.Bool) + @objc convenience public init(photoAsset: Photos.PHAsset, isUserGenerated: Swift.Bool) + @objc deinit +} +extension FBSDKShareKit.SharePhoto : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKSharePhotoContent) final public class SharePhotoContent : ObjectiveC.NSObject { + @objc final public var photos: [FBSDKShareKit.SharePhoto] + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.SharePhotoContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.SharePhotoContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKShareVideo) final public class ShareVideo : ObjectiveC.NSObject, FBSDKShareKit.ShareMedia { + @objc final public var data: Foundation.Data? { + @objc get + @objc set + } + @objc final public var videoAsset: Photos.PHAsset? { + @objc get + @objc set + } + @objc final public var videoURL: Foundation.URL? { + @objc get + @objc set + } + @objc final public var previewPhoto: FBSDKShareKit.SharePhoto? + @objc convenience public init(data: Foundation.Data, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc convenience public init(videoAsset: Photos.PHAsset, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc convenience public init(videoURL: Foundation.URL, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc deinit +} +extension FBSDKShareKit.ShareVideo : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareVideoContent) final public class ShareVideoContent : ObjectiveC.NSObject { + @objc final public var video: FBSDKShareKit.ShareVideo + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public var shareUUID: Swift.String? { + get + } + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareVideoContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareVideoContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@available(tvOS, unavailable) +@objc(FBSDKSharingButton) public protocol SharingButton { + @objc var shareContent: FBSDKShareKit.SharingContent? { get set } +} +@objc(FBSDKSharingContent) public protocol SharingContent : FBSDKShareKit.SharingValidation, ObjectiveC.NSObjectProtocol { + @objc var contentURL: Foundation.URL? { get set } + @objc var hashtag: FBSDKShareKit.Hashtag? { get set } + @objc var peopleIDs: [Swift.String] { get set } + @objc var placeID: Swift.String? { get set } + @objc var ref: Swift.String? { get set } + @objc var pageID: Swift.String? { get set } + @objc var shareUUID: Swift.String? { get } + @objc(addParameters:bridgeOptions:) func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +@objc(FBSDKSharingValidation) public protocol SharingValidation { + @objc(validateWithOptions:error:) func validate(options: FBSDKShareKit.ShareBridgeOptions) throws +} +public enum _ShareUtility { +} +extension FBSDKShareKit._ShareUtility { + public static func validateRequiredValue(_ value: Any, named name: Swift.String) throws + public static func validateArgument(_ value: Argument, named name: Swift.String, in possibleValues: Swift.Set) throws where Argument : Swift.Hashable +} +extension FBSDKShareKit.ShareError : Swift.Equatable {} +extension FBSDKShareKit.ShareError : Swift.Hashable {} +extension FBSDKShareKit.ShareError : Swift.RawRepresentable {} diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64/FBSDKShareKit.framework/Modules/module.modulemap b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64/FBSDKShareKit.framework/Modules/module.modulemap new file mode 100644 index 0000000..3d203af --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64/FBSDKShareKit.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module FBSDKShareKit { + umbrella header "FBSDKShareKit.h" + + export * + module * { export * } +} + +module FBSDKShareKit.Swift { + header "FBSDKShareKit-Swift.h" + requires objc +} diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/FBSDKShareKit b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/FBSDKShareKit new file mode 100644 index 0000000..6b5e064 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/FBSDKShareKit differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/Headers/FBSDKShareBridgeOptions.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/Headers/FBSDKShareBridgeOptions.h new file mode 100644 index 0000000..02dcbb2 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/Headers/FBSDKShareBridgeOptions.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Flags to indicate support for newer bridge options beyond the initial 20130410 implementation. +typedef NS_OPTIONS(NSUInteger, FBSDKShareBridgeOptions) { + FBSDKShareBridgeOptionsDefault = 0, + FBSDKShareBridgeOptionsPhotoAsset = 1 << 0, + FBSDKShareBridgeOptionsPhotoImageURL = 1 << 1, // if set, a web-based URL is required; asset, image, and imageURL.isFileURL not allowed + FBSDKShareBridgeOptionsVideoAsset = 1 << 2, + FBSDKShareBridgeOptionsVideoData = 1 << 3, + FBSDKShareBridgeOptionsWebHashtag = 1 << 4, // if set, pass the hashtag as a string value, not an array of one string +} NS_SWIFT_NAME(ShareBridgeOptions); + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/Headers/FBSDKShareErrorDomain.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/Headers/FBSDKShareErrorDomain.h new file mode 100644 index 0000000..a4dfe60 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/Headers/FBSDKShareErrorDomain.h @@ -0,0 +1,20 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + The error domain for all errors from FBSDKShareKit. + + Error codes from the SDK in the range 200-299 are reserved for this domain. + */ +FOUNDATION_EXPORT NSErrorDomain const FBSDKShareErrorDomain; + +NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/Headers/FBSDKShareKit-Swift.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/Headers/FBSDKShareKit-Swift.h new file mode 100644 index 0000000..55a6691 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/Headers/FBSDKShareKit-Swift.h @@ -0,0 +1,1184 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +#ifndef FBSDKSHAREKIT_SWIFT_H +#define FBSDKSHAREKIT_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import Foundation; +@import ObjectiveC; +#endif + +#import + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKShareKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + +@class NSString; +@class NSNumber; + +/// Represents a single hashtag that can be used with the share dialog. +SWIFT_CLASS_NAMED("Hashtag") +@interface FBSDKHashtag : NSObject +/// The hashtag string. +/// You are responsible for making sure that stringRepresentation is a valid hashtag (a single ‘#’ followed by one or more +/// word characters). Invalid hashtags are ignored when sharing content. You can check validity with thevalid property. +/// @return The hashtag string +@property (nonatomic, copy) NSString * _Nonnull stringRepresentation; +- (nonnull instancetype)initWithString:(NSString * _Nonnull)string OBJC_DESIGNATED_INITIALIZER; +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// Tests if a hashtag is valid. +/// A valid hashtag matches the regular expression “#\w+”: A single ‘#’ followed by one or more word characters. +/// @return true if the hashtag is valid, false otherwise. +@property (nonatomic, readonly) BOOL isValid; +@property (nonatomic, readonly) NSUInteger hash; +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +/// ShareError +/// Error codes for ShareErrorDomain. +typedef SWIFT_ENUM_NAMED(NSInteger, FBSDKShareError, "ShareError", open) { +/// Reserved + FBSDKShareErrorReserved = 200, +/// The error code for errors from uploading open graph objects. + FBSDKShareErrorOpenGraph = 201, +/// The error code for when a sharing dialog is not available. +/// Use the canShare methods to check for this case before calling show. + FBSDKShareErrorDialogNotAvailable = 202, +/// The error code for unknown errors. + FBSDKShareErrorUnknown = 203, +}; + +@class NSURL; + +/// A model for status and link content to be shared. +SWIFT_CLASS_NAMED("ShareLinkContent") +@interface FBSDKShareLinkContent : NSObject +/// Some quote text of the link. +/// If specified, the quote text will render with custom styling on top of the link. +@property (nonatomic, copy) NSString * _Nullable quote; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A base interface for validation of content and media. +SWIFT_PROTOCOL_NAMED("SharingValidation") +@protocol FBSDKSharingValidation +/// Asks the receiver to validate that its content or media values are valid. +/// \param options The share bridge options to use for validation. +/// +/// +/// throws: +/// If the values are not valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)options error:(NSError * _Nullable * _Nullable)error; +@end + + +/// A base interface for content to be shared. +SWIFT_PROTOCOL_NAMED("SharingContent") +@protocol FBSDKSharingContent +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. +/// See documentation for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKShareLinkContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKShareLinkContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Asks the receiver to validate that its content or media values are valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + +/// A protocol for media content (photo or video) to be shared. +SWIFT_PROTOCOL_NAMED("ShareMedia") +@protocol FBSDKShareMedia +@end + + +/// A model for media content (photo or video) to be shared. +SWIFT_CLASS_NAMED("ShareMediaContent") +@interface FBSDKShareMediaContent : NSObject +/// Media to be shared: an array of SharePhoto or ShareVideo +@property (nonatomic, copy) NSArray> * _Nonnull media; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface FBSDKShareMediaContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Asks the receiver to validate that its content or media values are valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + +@interface FBSDKShareMediaContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + +@class UIImage; +@class PHAsset; + +/// A photo for sharing. +SWIFT_CLASS_NAMED("SharePhoto") +@interface FBSDKSharePhoto : NSObject +/// If the photo is resident in memory, this method supplies the data. +@property (nonatomic, strong) UIImage * _Nullable image; +/// URL that points to a network location or the location of the photo on disk +@property (nonatomic, copy) NSURL * _Nullable imageURL; +/// The representation of the photo in the Photos library. +@property (nonatomic, strong) PHAsset * _Nullable photoAsset; +/// Specifies whether the photo represented by the receiver was generated by the user (true) +/// or by the application (false). +@property (nonatomic) BOOL isUserGenerated; +/// The user-generated caption for the photo. Note that the ‘caption’ must come from +/// the user, as pre-filled content is forbidden by the Platform Policies (2.3). +@property (nonatomic, copy) NSString * _Nullable caption; +/// Convenience method to build a new photo object with an image. +/// \param image If the photo is resident in memory, this method supplies the data +/// +/// \param isUserGenerated Specifies whether the photo represented by the receiver was generated by the user or by the +/// application +/// +- (nonnull instancetype)initWithImage:(UIImage * _Nonnull)image isUserGenerated:(BOOL)isUserGenerated; +/// Convenience method to build a new photo object with an imageURL. +/// This method should only be used when adding photo content to open graph stories. +/// For example, if you’re trying to share a photo from the web by itself, download the image and use +/// init(image:isUserGenerated:) instead. +/// \param imageURL The URL to the photo +/// +/// \param isUserGenerated Specifies whether the photo represented by the receiver was generated by the user or by the +/// application +/// +- (nonnull instancetype)initWithImageURL:(NSURL * _Nonnull)imageURL isUserGenerated:(BOOL)isUserGenerated; +/// Convenience method to build a new photo object with a PHAsset. +/// \param photoAsset The PHAsset that represents the photo in the Photos library. +/// +/// \param isUserGenerated Specifies whether the photo represented by the receiver was generated by the user or by +/// the application +/// +- (nonnull instancetype)initWithPhotoAsset:(PHAsset * _Nonnull)photoAsset isUserGenerated:(BOOL)isUserGenerated; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +@interface FBSDKSharePhoto (SWIFT_EXTENSION(FBSDKShareKit)) +/// Asks the receiver to validate that its content or media values are valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + + +/// A model for photo content to be shared. +SWIFT_CLASS_NAMED("SharePhotoContent") +@interface FBSDKSharePhotoContent : NSObject +/// Photos to be shared. +@property (nonatomic, copy) NSArray * _Nonnull photos; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface FBSDKSharePhotoContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKSharePhotoContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Validate that this content contains valid values +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + +@class NSData; + +/// A video for sharing. +SWIFT_CLASS_NAMED("ShareVideo") +@interface FBSDKShareVideo : NSObject +/// The raw video data. +@property (nonatomic, copy) NSData * _Nullable data; +/// The representation of the video in the Photos library. +@property (nonatomic, strong) PHAsset * _Nullable videoAsset; +/// The file URL to the video. +@property (nonatomic, copy) NSURL * _Nullable videoURL; +/// The photo that represents the video. +@property (nonatomic, strong) FBSDKSharePhoto * _Nullable previewPhoto; +/// Convenience method to build a new video object from raw data and an optional preview photo. +/// \param data The Data object that holds the raw video data. +/// +/// \param previewPhoto The photo that represents the video. +/// +- (nonnull instancetype)initWithData:(NSData * _Nonnull)data previewPhoto:(FBSDKSharePhoto * _Nullable)previewPhoto; +/// Convenience method to build a new video object from a PHAsset and an optional preview photo. +/// \param videoAsset The PHAsset that represents the video in the Photos library. +/// +/// \param previewPhoto The photo that represents the video. +/// +- (nonnull instancetype)initWithVideoAsset:(PHAsset * _Nonnull)videoAsset previewPhoto:(FBSDKSharePhoto * _Nullable)previewPhoto; +/// Convenience method to build a new video object from a URL and an optional preview photo. +/// \param videoURL The URL to the video. +/// +/// \param previewPhoto The photo that represents the video. +/// +- (nonnull instancetype)initWithVideoURL:(NSURL * _Nonnull)videoURL previewPhoto:(FBSDKSharePhoto * _Nullable)previewPhoto; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +@interface FBSDKShareVideo (SWIFT_EXTENSION(FBSDKShareKit)) +/// Asks the receiver to validate that its content or media values are valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + + +/// A model for video content to be shared. +SWIFT_CLASS_NAMED("ShareVideoContent") +@interface FBSDKShareVideoContent : NSObject +/// The video to be shared +@property (nonatomic, strong) FBSDKShareVideo * _Nonnull video; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface FBSDKShareVideoContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKShareVideoContent (SWIFT_EXTENSION(FBSDKShareKit)) +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + + +/// The common interface for sharing buttons. +/// See FBSendButton and FBShareButton +SWIFT_PROTOCOL_NAMED("SharingButton") SWIFT_AVAILABILITY(tvos,unavailable) +@protocol FBSDKSharingButton +/// The content to be shared. +@property (nonatomic, strong) id _Nullable shareContent; +@end + + + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +#ifndef FBSDKSHAREKIT_SWIFT_H +#define FBSDKSHAREKIT_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import Foundation; +@import ObjectiveC; +#endif + +#import + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKShareKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + +@class NSString; +@class NSNumber; + +/// Represents a single hashtag that can be used with the share dialog. +SWIFT_CLASS_NAMED("Hashtag") +@interface FBSDKHashtag : NSObject +/// The hashtag string. +/// You are responsible for making sure that stringRepresentation is a valid hashtag (a single ‘#’ followed by one or more +/// word characters). Invalid hashtags are ignored when sharing content. You can check validity with thevalid property. +/// @return The hashtag string +@property (nonatomic, copy) NSString * _Nonnull stringRepresentation; +- (nonnull instancetype)initWithString:(NSString * _Nonnull)string OBJC_DESIGNATED_INITIALIZER; +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// Tests if a hashtag is valid. +/// A valid hashtag matches the regular expression “#\w+”: A single ‘#’ followed by one or more word characters. +/// @return true if the hashtag is valid, false otherwise. +@property (nonatomic, readonly) BOOL isValid; +@property (nonatomic, readonly) NSUInteger hash; +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +/// ShareError +/// Error codes for ShareErrorDomain. +typedef SWIFT_ENUM_NAMED(NSInteger, FBSDKShareError, "ShareError", open) { +/// Reserved + FBSDKShareErrorReserved = 200, +/// The error code for errors from uploading open graph objects. + FBSDKShareErrorOpenGraph = 201, +/// The error code for when a sharing dialog is not available. +/// Use the canShare methods to check for this case before calling show. + FBSDKShareErrorDialogNotAvailable = 202, +/// The error code for unknown errors. + FBSDKShareErrorUnknown = 203, +}; + +@class NSURL; + +/// A model for status and link content to be shared. +SWIFT_CLASS_NAMED("ShareLinkContent") +@interface FBSDKShareLinkContent : NSObject +/// Some quote text of the link. +/// If specified, the quote text will render with custom styling on top of the link. +@property (nonatomic, copy) NSString * _Nullable quote; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A base interface for validation of content and media. +SWIFT_PROTOCOL_NAMED("SharingValidation") +@protocol FBSDKSharingValidation +/// Asks the receiver to validate that its content or media values are valid. +/// \param options The share bridge options to use for validation. +/// +/// +/// throws: +/// If the values are not valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)options error:(NSError * _Nullable * _Nullable)error; +@end + + +/// A base interface for content to be shared. +SWIFT_PROTOCOL_NAMED("SharingContent") +@protocol FBSDKSharingContent +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. +/// See documentation for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKShareLinkContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKShareLinkContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Asks the receiver to validate that its content or media values are valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + +/// A protocol for media content (photo or video) to be shared. +SWIFT_PROTOCOL_NAMED("ShareMedia") +@protocol FBSDKShareMedia +@end + + +/// A model for media content (photo or video) to be shared. +SWIFT_CLASS_NAMED("ShareMediaContent") +@interface FBSDKShareMediaContent : NSObject +/// Media to be shared: an array of SharePhoto or ShareVideo +@property (nonatomic, copy) NSArray> * _Nonnull media; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface FBSDKShareMediaContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Asks the receiver to validate that its content or media values are valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + +@interface FBSDKShareMediaContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + +@class UIImage; +@class PHAsset; + +/// A photo for sharing. +SWIFT_CLASS_NAMED("SharePhoto") +@interface FBSDKSharePhoto : NSObject +/// If the photo is resident in memory, this method supplies the data. +@property (nonatomic, strong) UIImage * _Nullable image; +/// URL that points to a network location or the location of the photo on disk +@property (nonatomic, copy) NSURL * _Nullable imageURL; +/// The representation of the photo in the Photos library. +@property (nonatomic, strong) PHAsset * _Nullable photoAsset; +/// Specifies whether the photo represented by the receiver was generated by the user (true) +/// or by the application (false). +@property (nonatomic) BOOL isUserGenerated; +/// The user-generated caption for the photo. Note that the ‘caption’ must come from +/// the user, as pre-filled content is forbidden by the Platform Policies (2.3). +@property (nonatomic, copy) NSString * _Nullable caption; +/// Convenience method to build a new photo object with an image. +/// \param image If the photo is resident in memory, this method supplies the data +/// +/// \param isUserGenerated Specifies whether the photo represented by the receiver was generated by the user or by the +/// application +/// +- (nonnull instancetype)initWithImage:(UIImage * _Nonnull)image isUserGenerated:(BOOL)isUserGenerated; +/// Convenience method to build a new photo object with an imageURL. +/// This method should only be used when adding photo content to open graph stories. +/// For example, if you’re trying to share a photo from the web by itself, download the image and use +/// init(image:isUserGenerated:) instead. +/// \param imageURL The URL to the photo +/// +/// \param isUserGenerated Specifies whether the photo represented by the receiver was generated by the user or by the +/// application +/// +- (nonnull instancetype)initWithImageURL:(NSURL * _Nonnull)imageURL isUserGenerated:(BOOL)isUserGenerated; +/// Convenience method to build a new photo object with a PHAsset. +/// \param photoAsset The PHAsset that represents the photo in the Photos library. +/// +/// \param isUserGenerated Specifies whether the photo represented by the receiver was generated by the user or by +/// the application +/// +- (nonnull instancetype)initWithPhotoAsset:(PHAsset * _Nonnull)photoAsset isUserGenerated:(BOOL)isUserGenerated; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +@interface FBSDKSharePhoto (SWIFT_EXTENSION(FBSDKShareKit)) +/// Asks the receiver to validate that its content or media values are valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + + +/// A model for photo content to be shared. +SWIFT_CLASS_NAMED("SharePhotoContent") +@interface FBSDKSharePhotoContent : NSObject +/// Photos to be shared. +@property (nonatomic, copy) NSArray * _Nonnull photos; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface FBSDKSharePhotoContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKSharePhotoContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Validate that this content contains valid values +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + +@class NSData; + +/// A video for sharing. +SWIFT_CLASS_NAMED("ShareVideo") +@interface FBSDKShareVideo : NSObject +/// The raw video data. +@property (nonatomic, copy) NSData * _Nullable data; +/// The representation of the video in the Photos library. +@property (nonatomic, strong) PHAsset * _Nullable videoAsset; +/// The file URL to the video. +@property (nonatomic, copy) NSURL * _Nullable videoURL; +/// The photo that represents the video. +@property (nonatomic, strong) FBSDKSharePhoto * _Nullable previewPhoto; +/// Convenience method to build a new video object from raw data and an optional preview photo. +/// \param data The Data object that holds the raw video data. +/// +/// \param previewPhoto The photo that represents the video. +/// +- (nonnull instancetype)initWithData:(NSData * _Nonnull)data previewPhoto:(FBSDKSharePhoto * _Nullable)previewPhoto; +/// Convenience method to build a new video object from a PHAsset and an optional preview photo. +/// \param videoAsset The PHAsset that represents the video in the Photos library. +/// +/// \param previewPhoto The photo that represents the video. +/// +- (nonnull instancetype)initWithVideoAsset:(PHAsset * _Nonnull)videoAsset previewPhoto:(FBSDKSharePhoto * _Nullable)previewPhoto; +/// Convenience method to build a new video object from a URL and an optional preview photo. +/// \param videoURL The URL to the video. +/// +/// \param previewPhoto The photo that represents the video. +/// +- (nonnull instancetype)initWithVideoURL:(NSURL * _Nonnull)videoURL previewPhoto:(FBSDKSharePhoto * _Nullable)previewPhoto; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +@interface FBSDKShareVideo (SWIFT_EXTENSION(FBSDKShareKit)) +/// Asks the receiver to validate that its content or media values are valid. +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + + +/// A model for video content to be shared. +SWIFT_CLASS_NAMED("ShareVideoContent") +@interface FBSDKShareVideoContent : NSObject +/// The video to be shared +@property (nonatomic, strong) FBSDKShareVideo * _Nonnull video; +/// URL for the content being shared. +/// This URL will be checked for all link meta tags for linking in platform specific ways. See documentation +/// for App Links (https://developers.facebook.com/docs/applinks/) +@property (nonatomic, copy) NSURL * _Nullable contentURL; +/// Hashtag for the content being shared. +@property (nonatomic, strong) FBSDKHashtag * _Nullable hashtag; +/// List of IDs for taggable people to tag with this content. +/// See documentation for Taggable Friends +/// (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) +@property (nonatomic, copy) NSArray * _Nonnull peopleIDs; +/// The ID for a place to tag with this content. +@property (nonatomic, copy) NSString * _Nullable placeID; +/// A value to be added to the referrer URL when a person follows a link from this shared content on feed. +@property (nonatomic, copy) NSString * _Nullable ref; +/// For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. +@property (nonatomic, copy) NSString * _Nullable pageID; +/// A unique identifier for a share involving this content, useful for tracking purposes. +@property (nonatomic, readonly, copy) NSString * _Nullable shareUUID; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface FBSDKShareVideoContent (SWIFT_EXTENSION(FBSDKShareKit)) +/// Adds content to an existing dictionary as key/value pairs and returns the +/// updated dictionary +/// @param existingParameters An immutable dictionary of existing values +/// @param bridgeOptions The options for bridging +/// @return A new dictionary with the modified contents +- (NSDictionary * _Nonnull)addParameters:(NSDictionary * _Nonnull)existingParameters bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface FBSDKShareVideoContent (SWIFT_EXTENSION(FBSDKShareKit)) +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError * _Nullable * _Nullable)error; +@end + + + +/// The common interface for sharing buttons. +/// See FBSendButton and FBShareButton +SWIFT_PROTOCOL_NAMED("SharingButton") SWIFT_AVAILABILITY(tvos,unavailable) +@protocol FBSDKSharingButton +/// The content to be shared. +@property (nonatomic, strong) id _Nullable shareContent; +@end + + + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#endif diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/Headers/FBSDKShareKit.h b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/Headers/FBSDKShareKit.h new file mode 100644 index 0000000..1600ab9 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/Headers/FBSDKShareKit.h @@ -0,0 +1,10 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * All rights reserved. + * + * This source code is licensed under the license found in the + * LICENSE file in the root directory of this source tree. + */ + +#import +#import diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/Info.plist b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/Info.plist new file mode 100644 index 0000000..7f91442 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/Info.plist differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-tvos-simulator.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-tvos-simulator.swiftdoc new file mode 100644 index 0000000..c248f1b Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-tvos-simulator.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-tvos-simulator.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-tvos-simulator.swiftinterface new file mode 100644 index 0000000..63ba0ad --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-tvos-simulator.swiftinterface @@ -0,0 +1,185 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-tvos11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKShareKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +@_exported import FBSDKShareKit +import Foundation +import Photos +import Swift +import UIKit +import _Concurrency +@objcMembers @objc(FBSDKHashtag) final public class Hashtag : ObjectiveC.NSObject { + @objc final public var stringRepresentation: Swift.String + @objc(initWithString:) public init(_ string: Swift.String) + @objc override final public var description: Swift.String { + @objc get + } + @objc final public var isValid: Swift.Bool { + @objc get + } + @objc override final public var hash: Swift.Int { + @objc get + } + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc deinit +} +public let ShareErrorDomain: Swift.String +@objc(FBSDKShareError) public enum ShareError : Swift.Int { + case reserved = 200 + case openGraph + case dialogNotAvailable + case unknown + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareLinkContent) final public class ShareLinkContent : ObjectiveC.NSObject { + @objc final public var quote: Swift.String? + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareLinkContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareLinkContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objc(FBSDKShareMedia) public protocol ShareMedia { +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareMediaContent) final public class ShareMediaContent : ObjectiveC.NSObject { + @objc final public var media: [FBSDKShareKit.ShareMedia] + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareMediaContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareMediaContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKSharePhoto) final public class SharePhoto : ObjectiveC.NSObject, FBSDKShareKit.ShareMedia { + @objc final public var image: UIKit.UIImage? { + @objc get + @objc set + } + @objc final public var imageURL: Foundation.URL? { + @objc get + @objc set + } + @objc final public var photoAsset: Photos.PHAsset? { + @objc get + @objc set + } + @objc final public var isUserGenerated: Swift.Bool + @objc final public var caption: Swift.String? + @objc convenience public init(image: UIKit.UIImage, isUserGenerated: Swift.Bool) + @objc convenience public init(imageURL: Foundation.URL, isUserGenerated: Swift.Bool) + @objc convenience public init(photoAsset: Photos.PHAsset, isUserGenerated: Swift.Bool) + @objc deinit +} +extension FBSDKShareKit.SharePhoto : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKSharePhotoContent) final public class SharePhotoContent : ObjectiveC.NSObject { + @objc final public var photos: [FBSDKShareKit.SharePhoto] + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.SharePhotoContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.SharePhotoContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKShareVideo) final public class ShareVideo : ObjectiveC.NSObject, FBSDKShareKit.ShareMedia { + @objc final public var data: Foundation.Data? { + @objc get + @objc set + } + @objc final public var videoAsset: Photos.PHAsset? { + @objc get + @objc set + } + @objc final public var videoURL: Foundation.URL? { + @objc get + @objc set + } + @objc final public var previewPhoto: FBSDKShareKit.SharePhoto? + @objc convenience public init(data: Foundation.Data, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc convenience public init(videoAsset: Photos.PHAsset, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc convenience public init(videoURL: Foundation.URL, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc deinit +} +extension FBSDKShareKit.ShareVideo : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareVideoContent) final public class ShareVideoContent : ObjectiveC.NSObject { + @objc final public var video: FBSDKShareKit.ShareVideo + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public var shareUUID: Swift.String? { + get + } + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareVideoContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareVideoContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@available(tvOS, unavailable) +@objc(FBSDKSharingButton) public protocol SharingButton { + @objc var shareContent: FBSDKShareKit.SharingContent? { get set } +} +@objc(FBSDKSharingContent) public protocol SharingContent : FBSDKShareKit.SharingValidation, ObjectiveC.NSObjectProtocol { + @objc var contentURL: Foundation.URL? { get set } + @objc var hashtag: FBSDKShareKit.Hashtag? { get set } + @objc var peopleIDs: [Swift.String] { get set } + @objc var placeID: Swift.String? { get set } + @objc var ref: Swift.String? { get set } + @objc var pageID: Swift.String? { get set } + @objc var shareUUID: Swift.String? { get } + @objc(addParameters:bridgeOptions:) func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +@objc(FBSDKSharingValidation) public protocol SharingValidation { + @objc(validateWithOptions:error:) func validate(options: FBSDKShareKit.ShareBridgeOptions) throws +} +public enum _ShareUtility { +} +extension FBSDKShareKit._ShareUtility { + public static func validateRequiredValue(_ value: Any, named name: Swift.String) throws + public static func validateArgument(_ value: Argument, named name: Swift.String, in possibleValues: Swift.Set) throws where Argument : Swift.Hashable +} +extension FBSDKShareKit.ShareError : Swift.Equatable {} +extension FBSDKShareKit.ShareError : Swift.Hashable {} +extension FBSDKShareKit.ShareError : Swift.RawRepresentable {} diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..c248f1b Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..63ba0ad --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftinterface @@ -0,0 +1,185 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target arm64-apple-tvos11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKShareKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +@_exported import FBSDKShareKit +import Foundation +import Photos +import Swift +import UIKit +import _Concurrency +@objcMembers @objc(FBSDKHashtag) final public class Hashtag : ObjectiveC.NSObject { + @objc final public var stringRepresentation: Swift.String + @objc(initWithString:) public init(_ string: Swift.String) + @objc override final public var description: Swift.String { + @objc get + } + @objc final public var isValid: Swift.Bool { + @objc get + } + @objc override final public var hash: Swift.Int { + @objc get + } + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc deinit +} +public let ShareErrorDomain: Swift.String +@objc(FBSDKShareError) public enum ShareError : Swift.Int { + case reserved = 200 + case openGraph + case dialogNotAvailable + case unknown + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareLinkContent) final public class ShareLinkContent : ObjectiveC.NSObject { + @objc final public var quote: Swift.String? + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareLinkContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareLinkContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objc(FBSDKShareMedia) public protocol ShareMedia { +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareMediaContent) final public class ShareMediaContent : ObjectiveC.NSObject { + @objc final public var media: [FBSDKShareKit.ShareMedia] + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareMediaContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareMediaContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKSharePhoto) final public class SharePhoto : ObjectiveC.NSObject, FBSDKShareKit.ShareMedia { + @objc final public var image: UIKit.UIImage? { + @objc get + @objc set + } + @objc final public var imageURL: Foundation.URL? { + @objc get + @objc set + } + @objc final public var photoAsset: Photos.PHAsset? { + @objc get + @objc set + } + @objc final public var isUserGenerated: Swift.Bool + @objc final public var caption: Swift.String? + @objc convenience public init(image: UIKit.UIImage, isUserGenerated: Swift.Bool) + @objc convenience public init(imageURL: Foundation.URL, isUserGenerated: Swift.Bool) + @objc convenience public init(photoAsset: Photos.PHAsset, isUserGenerated: Swift.Bool) + @objc deinit +} +extension FBSDKShareKit.SharePhoto : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKSharePhotoContent) final public class SharePhotoContent : ObjectiveC.NSObject { + @objc final public var photos: [FBSDKShareKit.SharePhoto] + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.SharePhotoContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.SharePhotoContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKShareVideo) final public class ShareVideo : ObjectiveC.NSObject, FBSDKShareKit.ShareMedia { + @objc final public var data: Foundation.Data? { + @objc get + @objc set + } + @objc final public var videoAsset: Photos.PHAsset? { + @objc get + @objc set + } + @objc final public var videoURL: Foundation.URL? { + @objc get + @objc set + } + @objc final public var previewPhoto: FBSDKShareKit.SharePhoto? + @objc convenience public init(data: Foundation.Data, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc convenience public init(videoAsset: Photos.PHAsset, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc convenience public init(videoURL: Foundation.URL, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc deinit +} +extension FBSDKShareKit.ShareVideo : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareVideoContent) final public class ShareVideoContent : ObjectiveC.NSObject { + @objc final public var video: FBSDKShareKit.ShareVideo + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public var shareUUID: Swift.String? { + get + } + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareVideoContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareVideoContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@available(tvOS, unavailable) +@objc(FBSDKSharingButton) public protocol SharingButton { + @objc var shareContent: FBSDKShareKit.SharingContent? { get set } +} +@objc(FBSDKSharingContent) public protocol SharingContent : FBSDKShareKit.SharingValidation, ObjectiveC.NSObjectProtocol { + @objc var contentURL: Foundation.URL? { get set } + @objc var hashtag: FBSDKShareKit.Hashtag? { get set } + @objc var peopleIDs: [Swift.String] { get set } + @objc var placeID: Swift.String? { get set } + @objc var ref: Swift.String? { get set } + @objc var pageID: Swift.String? { get set } + @objc var shareUUID: Swift.String? { get } + @objc(addParameters:bridgeOptions:) func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +@objc(FBSDKSharingValidation) public protocol SharingValidation { + @objc(validateWithOptions:error:) func validate(options: FBSDKShareKit.ShareBridgeOptions) throws +} +public enum _ShareUtility { +} +extension FBSDKShareKit._ShareUtility { + public static func validateRequiredValue(_ value: Any, named name: Swift.String) throws + public static func validateArgument(_ value: Argument, named name: Swift.String, in possibleValues: Swift.Set) throws where Argument : Swift.Hashable +} +extension FBSDKShareKit.ShareError : Swift.Equatable {} +extension FBSDKShareKit.ShareError : Swift.Hashable {} +extension FBSDKShareKit.ShareError : Swift.RawRepresentable {} diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64-apple-tvos-simulator.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64-apple-tvos-simulator.swiftdoc new file mode 100644 index 0000000..457051d Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64-apple-tvos-simulator.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64-apple-tvos-simulator.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64-apple-tvos-simulator.swiftinterface new file mode 100644 index 0000000..db8151b --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64-apple-tvos-simulator.swiftinterface @@ -0,0 +1,185 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target x86_64-apple-tvos11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKShareKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +@_exported import FBSDKShareKit +import Foundation +import Photos +import Swift +import UIKit +import _Concurrency +@objcMembers @objc(FBSDKHashtag) final public class Hashtag : ObjectiveC.NSObject { + @objc final public var stringRepresentation: Swift.String + @objc(initWithString:) public init(_ string: Swift.String) + @objc override final public var description: Swift.String { + @objc get + } + @objc final public var isValid: Swift.Bool { + @objc get + } + @objc override final public var hash: Swift.Int { + @objc get + } + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc deinit +} +public let ShareErrorDomain: Swift.String +@objc(FBSDKShareError) public enum ShareError : Swift.Int { + case reserved = 200 + case openGraph + case dialogNotAvailable + case unknown + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareLinkContent) final public class ShareLinkContent : ObjectiveC.NSObject { + @objc final public var quote: Swift.String? + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareLinkContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareLinkContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objc(FBSDKShareMedia) public protocol ShareMedia { +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareMediaContent) final public class ShareMediaContent : ObjectiveC.NSObject { + @objc final public var media: [FBSDKShareKit.ShareMedia] + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareMediaContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareMediaContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKSharePhoto) final public class SharePhoto : ObjectiveC.NSObject, FBSDKShareKit.ShareMedia { + @objc final public var image: UIKit.UIImage? { + @objc get + @objc set + } + @objc final public var imageURL: Foundation.URL? { + @objc get + @objc set + } + @objc final public var photoAsset: Photos.PHAsset? { + @objc get + @objc set + } + @objc final public var isUserGenerated: Swift.Bool + @objc final public var caption: Swift.String? + @objc convenience public init(image: UIKit.UIImage, isUserGenerated: Swift.Bool) + @objc convenience public init(imageURL: Foundation.URL, isUserGenerated: Swift.Bool) + @objc convenience public init(photoAsset: Photos.PHAsset, isUserGenerated: Swift.Bool) + @objc deinit +} +extension FBSDKShareKit.SharePhoto : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKSharePhotoContent) final public class SharePhotoContent : ObjectiveC.NSObject { + @objc final public var photos: [FBSDKShareKit.SharePhoto] + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.SharePhotoContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.SharePhotoContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKShareVideo) final public class ShareVideo : ObjectiveC.NSObject, FBSDKShareKit.ShareMedia { + @objc final public var data: Foundation.Data? { + @objc get + @objc set + } + @objc final public var videoAsset: Photos.PHAsset? { + @objc get + @objc set + } + @objc final public var videoURL: Foundation.URL? { + @objc get + @objc set + } + @objc final public var previewPhoto: FBSDKShareKit.SharePhoto? + @objc convenience public init(data: Foundation.Data, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc convenience public init(videoAsset: Photos.PHAsset, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc convenience public init(videoURL: Foundation.URL, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc deinit +} +extension FBSDKShareKit.ShareVideo : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareVideoContent) final public class ShareVideoContent : ObjectiveC.NSObject { + @objc final public var video: FBSDKShareKit.ShareVideo + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public var shareUUID: Swift.String? { + get + } + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareVideoContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareVideoContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@available(tvOS, unavailable) +@objc(FBSDKSharingButton) public protocol SharingButton { + @objc var shareContent: FBSDKShareKit.SharingContent? { get set } +} +@objc(FBSDKSharingContent) public protocol SharingContent : FBSDKShareKit.SharingValidation, ObjectiveC.NSObjectProtocol { + @objc var contentURL: Foundation.URL? { get set } + @objc var hashtag: FBSDKShareKit.Hashtag? { get set } + @objc var peopleIDs: [Swift.String] { get set } + @objc var placeID: Swift.String? { get set } + @objc var ref: Swift.String? { get set } + @objc var pageID: Swift.String? { get set } + @objc var shareUUID: Swift.String? { get } + @objc(addParameters:bridgeOptions:) func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +@objc(FBSDKSharingValidation) public protocol SharingValidation { + @objc(validateWithOptions:error:) func validate(options: FBSDKShareKit.ShareBridgeOptions) throws +} +public enum _ShareUtility { +} +extension FBSDKShareKit._ShareUtility { + public static func validateRequiredValue(_ value: Any, named name: Swift.String) throws + public static func validateArgument(_ value: Argument, named name: Swift.String, in possibleValues: Swift.Set) throws where Argument : Swift.Hashable +} +extension FBSDKShareKit.ShareError : Swift.Equatable {} +extension FBSDKShareKit.ShareError : Swift.Hashable {} +extension FBSDKShareKit.ShareError : Swift.RawRepresentable {} diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64.swiftdoc b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64.swiftdoc new file mode 100644 index 0000000..457051d Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64.swiftdoc differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64.swiftinterface b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64.swiftinterface new file mode 100644 index 0000000..db8151b --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64.swiftinterface @@ -0,0 +1,185 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1) +// swift-module-flags: -target x86_64-apple-tvos11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKShareKit +import FBSDKCoreKit +import FBSDKCoreKit_Basics +@_exported import FBSDKShareKit +import Foundation +import Photos +import Swift +import UIKit +import _Concurrency +@objcMembers @objc(FBSDKHashtag) final public class Hashtag : ObjectiveC.NSObject { + @objc final public var stringRepresentation: Swift.String + @objc(initWithString:) public init(_ string: Swift.String) + @objc override final public var description: Swift.String { + @objc get + } + @objc final public var isValid: Swift.Bool { + @objc get + } + @objc override final public var hash: Swift.Int { + @objc get + } + @objc override final public func isEqual(_ object: Any?) -> Swift.Bool + @objc deinit +} +public let ShareErrorDomain: Swift.String +@objc(FBSDKShareError) public enum ShareError : Swift.Int { + case reserved = 200 + case openGraph + case dialogNotAvailable + case unknown + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareLinkContent) final public class ShareLinkContent : ObjectiveC.NSObject { + @objc final public var quote: Swift.String? + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareLinkContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareLinkContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@objc(FBSDKShareMedia) public protocol ShareMedia { +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareMediaContent) final public class ShareMediaContent : ObjectiveC.NSObject { + @objc final public var media: [FBSDKShareKit.ShareMedia] + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareMediaContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareMediaContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKSharePhoto) final public class SharePhoto : ObjectiveC.NSObject, FBSDKShareKit.ShareMedia { + @objc final public var image: UIKit.UIImage? { + @objc get + @objc set + } + @objc final public var imageURL: Foundation.URL? { + @objc get + @objc set + } + @objc final public var photoAsset: Photos.PHAsset? { + @objc get + @objc set + } + @objc final public var isUserGenerated: Swift.Bool + @objc final public var caption: Swift.String? + @objc convenience public init(image: UIKit.UIImage, isUserGenerated: Swift.Bool) + @objc convenience public init(imageURL: Foundation.URL, isUserGenerated: Swift.Bool) + @objc convenience public init(photoAsset: Photos.PHAsset, isUserGenerated: Swift.Bool) + @objc deinit +} +extension FBSDKShareKit.SharePhoto : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKSharePhotoContent) final public class SharePhotoContent : ObjectiveC.NSObject { + @objc final public var photos: [FBSDKShareKit.SharePhoto] + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public let shareUUID: Swift.String? + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.SharePhotoContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.SharePhotoContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_hasMissingDesignatedInitializers @objcMembers @objc(FBSDKShareVideo) final public class ShareVideo : ObjectiveC.NSObject, FBSDKShareKit.ShareMedia { + @objc final public var data: Foundation.Data? { + @objc get + @objc set + } + @objc final public var videoAsset: Photos.PHAsset? { + @objc get + @objc set + } + @objc final public var videoURL: Foundation.URL? { + @objc get + @objc set + } + @objc final public var previewPhoto: FBSDKShareKit.SharePhoto? + @objc convenience public init(data: Foundation.Data, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc convenience public init(videoAsset: Photos.PHAsset, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc convenience public init(videoURL: Foundation.URL, previewPhoto: FBSDKShareKit.SharePhoto? = nil) + @objc deinit +} +extension FBSDKShareKit.ShareVideo : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@_inheritsConvenienceInitializers @objcMembers @objc(FBSDKShareVideoContent) final public class ShareVideoContent : ObjectiveC.NSObject { + @objc final public var video: FBSDKShareKit.ShareVideo + @objc final public var contentURL: Foundation.URL? + @objc final public var hashtag: FBSDKShareKit.Hashtag? + @objc final public var peopleIDs: [Swift.String] + @objc final public var placeID: Swift.String? + @objc final public var ref: Swift.String? + @objc final public var pageID: Swift.String? + @objc final public var shareUUID: Swift.String? { + get + } + @objc override dynamic public init() + @objc deinit +} +extension FBSDKShareKit.ShareVideoContent : FBSDKShareKit.SharingContent { + @objc(addParameters:bridgeOptions:) final public func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +extension FBSDKShareKit.ShareVideoContent : FBSDKShareKit.SharingValidation { + @objc(validateWithOptions:error:) final public func validate(options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) throws +} +@available(tvOS, unavailable) +@objc(FBSDKSharingButton) public protocol SharingButton { + @objc var shareContent: FBSDKShareKit.SharingContent? { get set } +} +@objc(FBSDKSharingContent) public protocol SharingContent : FBSDKShareKit.SharingValidation, ObjectiveC.NSObjectProtocol { + @objc var contentURL: Foundation.URL? { get set } + @objc var hashtag: FBSDKShareKit.Hashtag? { get set } + @objc var peopleIDs: [Swift.String] { get set } + @objc var placeID: Swift.String? { get set } + @objc var ref: Swift.String? { get set } + @objc var pageID: Swift.String? { get set } + @objc var shareUUID: Swift.String? { get } + @objc(addParameters:bridgeOptions:) func addParameters(_ existingParameters: [Swift.String : Any], options bridgeOptions: FBSDKShareKit.ShareBridgeOptions) -> [Swift.String : Any] +} +@objc(FBSDKSharingValidation) public protocol SharingValidation { + @objc(validateWithOptions:error:) func validate(options: FBSDKShareKit.ShareBridgeOptions) throws +} +public enum _ShareUtility { +} +extension FBSDKShareKit._ShareUtility { + public static func validateRequiredValue(_ value: Any, named name: Swift.String) throws + public static func validateArgument(_ value: Argument, named name: Swift.String, in possibleValues: Swift.Set) throws where Argument : Swift.Hashable +} +extension FBSDKShareKit.ShareError : Swift.Equatable {} +extension FBSDKShareKit.ShareError : Swift.Hashable {} +extension FBSDKShareKit.ShareError : Swift.RawRepresentable {} diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/module.modulemap b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/module.modulemap new file mode 100644 index 0000000..3d203af --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module FBSDKShareKit { + umbrella header "FBSDKShareKit.h" + + export * + module * { export * } +} + +module FBSDKShareKit.Swift { + header "FBSDKShareKit-Swift.h" + requires objc +} diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/_CodeSignature/CodeDirectory b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/_CodeSignature/CodeDirectory new file mode 100644 index 0000000..ceab74a Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/_CodeSignature/CodeDirectory differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/_CodeSignature/CodeRequirements b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/_CodeSignature/CodeRequirements new file mode 100644 index 0000000..dbf9d61 Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/_CodeSignature/CodeRequirements differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/_CodeSignature/CodeRequirements-1 b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/_CodeSignature/CodeRequirements-1 new file mode 100644 index 0000000..c7e6d0c Binary files /dev/null and b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/_CodeSignature/CodeRequirements-1 differ diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/_CodeSignature/CodeResources b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/_CodeSignature/CodeResources new file mode 100644 index 0000000..e353701 --- /dev/null +++ b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/_CodeSignature/CodeResources @@ -0,0 +1,357 @@ + + + + + files + + Headers/FBSDKShareBridgeOptions.h + + UnSjaUXm5qLeLGXDUNVRzXY9NrQ= + + Headers/FBSDKShareErrorDomain.h + + ccdtzvuodQ/lvKIVoHt8KIM9u2U= + + Headers/FBSDKShareKit-Swift.h + + nIFYye33guNyIv7Ej8nLSTzvCnQ= + + Headers/FBSDKShareKit.h + + 3Vlzn/6bUD/wgctBGh6x9fepcJg= + + Info.plist + + 2lmywoSjg8aVdyvQhTXNxtQKpCs= + + Modules/FBSDKShareKit.swiftmodule/arm64-apple-tvos-simulator.swiftdoc + + +tTConexJBKxRZYjWl1K4HUXhSc= + + Modules/FBSDKShareKit.swiftmodule/arm64-apple-tvos-simulator.swiftinterface + + z73iVCLCq7y3pd/7F62iQLTaK0U= + + Modules/FBSDKShareKit.swiftmodule/arm64-apple-tvos-simulator.swiftmodule + + Bel8yRCIl4sPrSvwPsTbYR5Jw4Y= + + Modules/FBSDKShareKit.swiftmodule/arm64.swiftdoc + + +tTConexJBKxRZYjWl1K4HUXhSc= + + Modules/FBSDKShareKit.swiftmodule/arm64.swiftinterface + + z73iVCLCq7y3pd/7F62iQLTaK0U= + + Modules/FBSDKShareKit.swiftmodule/arm64.swiftmodule + + Bel8yRCIl4sPrSvwPsTbYR5Jw4Y= + + Modules/FBSDKShareKit.swiftmodule/x86_64-apple-tvos-simulator.swiftdoc + + opLlRIA7pDMujWvIa/Eb/eDVkdw= + + Modules/FBSDKShareKit.swiftmodule/x86_64-apple-tvos-simulator.swiftinterface + + KXQT+uuy3dwlotuuLOVjfkMDeuI= + + Modules/FBSDKShareKit.swiftmodule/x86_64-apple-tvos-simulator.swiftmodule + + DVZ6UIj6dxOMy1AhEDP+fulME6s= + + Modules/FBSDKShareKit.swiftmodule/x86_64.swiftdoc + + opLlRIA7pDMujWvIa/Eb/eDVkdw= + + Modules/FBSDKShareKit.swiftmodule/x86_64.swiftinterface + + KXQT+uuy3dwlotuuLOVjfkMDeuI= + + Modules/FBSDKShareKit.swiftmodule/x86_64.swiftmodule + + DVZ6UIj6dxOMy1AhEDP+fulME6s= + + Modules/module.modulemap + + c/1l3+MTRWj+XKPFv/2HWhKeUtA= + + + files2 + + Headers/FBSDKShareBridgeOptions.h + + hash + + UnSjaUXm5qLeLGXDUNVRzXY9NrQ= + + hash2 + + IxpwBSGJEUrCXBdjRGpZ0yehzDl7wfNF5HReqM5qO/8= + + + Headers/FBSDKShareErrorDomain.h + + hash + + ccdtzvuodQ/lvKIVoHt8KIM9u2U= + + hash2 + + Gq/jBWHIi9/+dLPC1EqzBf+XM4GcHg1JpVUb0DiK6jM= + + + Headers/FBSDKShareKit-Swift.h + + hash + + nIFYye33guNyIv7Ej8nLSTzvCnQ= + + hash2 + + vglaP4vPhKCy4YNzMqLkT3of0Lkwnn9dB0DBkqsvPNE= + + + Headers/FBSDKShareKit.h + + hash + + 3Vlzn/6bUD/wgctBGh6x9fepcJg= + + hash2 + + BizbBQ3VvhD8p64UL0pkalRRg0wPwYLFP3IXGeJnkE4= + + + Modules/FBSDKShareKit.swiftmodule/arm64-apple-tvos-simulator.swiftdoc + + hash + + +tTConexJBKxRZYjWl1K4HUXhSc= + + hash2 + + RqdxxcgZ45Q+ci0JRHREJs4kcx4Ylx98KVoxgtpSGUg= + + + Modules/FBSDKShareKit.swiftmodule/arm64-apple-tvos-simulator.swiftinterface + + hash + + z73iVCLCq7y3pd/7F62iQLTaK0U= + + hash2 + + giDB1VfKW1+EHlQNZ1Xazue6lnJsJ5Ips3RQR5ocOFk= + + + Modules/FBSDKShareKit.swiftmodule/arm64-apple-tvos-simulator.swiftmodule + + hash + + Bel8yRCIl4sPrSvwPsTbYR5Jw4Y= + + hash2 + + 6iaa+RyQQynHYMIsh9gtr4ECFsPoky6+/mjdmg3IcY8= + + + Modules/FBSDKShareKit.swiftmodule/arm64.swiftdoc + + hash + + +tTConexJBKxRZYjWl1K4HUXhSc= + + hash2 + + RqdxxcgZ45Q+ci0JRHREJs4kcx4Ylx98KVoxgtpSGUg= + + + Modules/FBSDKShareKit.swiftmodule/arm64.swiftinterface + + hash + + z73iVCLCq7y3pd/7F62iQLTaK0U= + + hash2 + + giDB1VfKW1+EHlQNZ1Xazue6lnJsJ5Ips3RQR5ocOFk= + + + Modules/FBSDKShareKit.swiftmodule/arm64.swiftmodule + + hash + + Bel8yRCIl4sPrSvwPsTbYR5Jw4Y= + + hash2 + + 6iaa+RyQQynHYMIsh9gtr4ECFsPoky6+/mjdmg3IcY8= + + + Modules/FBSDKShareKit.swiftmodule/x86_64-apple-tvos-simulator.swiftdoc + + hash + + opLlRIA7pDMujWvIa/Eb/eDVkdw= + + hash2 + + MrQxesm2sYEsE34NMk6lYOUEHoWnD8Qn1gmw2MTuil8= + + + Modules/FBSDKShareKit.swiftmodule/x86_64-apple-tvos-simulator.swiftinterface + + hash + + KXQT+uuy3dwlotuuLOVjfkMDeuI= + + hash2 + + nW1UaydKNjh5vS/xdQ8Du2EptuEPTTUnQJwEGYTO7GE= + + + Modules/FBSDKShareKit.swiftmodule/x86_64-apple-tvos-simulator.swiftmodule + + hash + + DVZ6UIj6dxOMy1AhEDP+fulME6s= + + hash2 + + 0waiRkZLW6QS6YXFH4fV6yeZ00RZNSgtMYHMmuRehBY= + + + Modules/FBSDKShareKit.swiftmodule/x86_64.swiftdoc + + hash + + opLlRIA7pDMujWvIa/Eb/eDVkdw= + + hash2 + + MrQxesm2sYEsE34NMk6lYOUEHoWnD8Qn1gmw2MTuil8= + + + Modules/FBSDKShareKit.swiftmodule/x86_64.swiftinterface + + hash + + KXQT+uuy3dwlotuuLOVjfkMDeuI= + + hash2 + + nW1UaydKNjh5vS/xdQ8Du2EptuEPTTUnQJwEGYTO7GE= + + + Modules/FBSDKShareKit.swiftmodule/x86_64.swiftmodule + + hash + + DVZ6UIj6dxOMy1AhEDP+fulME6s= + + hash2 + + 0waiRkZLW6QS6YXFH4fV6yeZ00RZNSgtMYHMmuRehBY= + + + Modules/module.modulemap + + hash + + c/1l3+MTRWj+XKPFv/2HWhKeUtA= + + hash2 + + LFKLAS36xoxx786XN6Efo7GDNLqGNFpjOc/zQ1+JRXY= + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/_CodeSignature/CodeSignature b/src/ios/EmbeddedFrameworks/FBSDKShareKit.xcframework/tvos-arm64_x86_64-simulator/FBSDKShareKit.framework/_CodeSignature/CodeSignature new file mode 100644 index 0000000..e69de29 diff --git a/src/ios/EmbeddedFrameworksSIM/FBAEMKit.framework/FBAEMKit b/src/ios/EmbeddedFrameworksSIM/FBAEMKit.framework/FBAEMKit deleted file mode 100644 index 1c77417..0000000 Binary files a/src/ios/EmbeddedFrameworksSIM/FBAEMKit.framework/FBAEMKit and /dev/null differ diff --git a/src/ios/EmbeddedFrameworksSIM/FBAEMKit.framework/Headers/FBAEMKit.h b/src/ios/EmbeddedFrameworksSIM/FBAEMKit.framework/Headers/FBAEMKit.h deleted file mode 100644 index c87fe32..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBAEMKit.framework/Headers/FBAEMKit.h +++ /dev/null @@ -1,11 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import -#import -#import diff --git a/src/ios/EmbeddedFrameworksSIM/FBAEMKit.framework/Headers/FBAEMNetworking.h b/src/ios/EmbeddedFrameworksSIM/FBAEMKit.framework/Headers/FBAEMNetworking.h deleted file mode 100644 index 9387e79..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBAEMKit.framework/Headers/FBAEMNetworking.h +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#if !TARGET_OS_TV - - #import - -NS_ASSUME_NONNULL_BEGIN - -typedef void (^FBGraphRequestCompletion)(id _Nullable result, NSError *_Nullable error); - -NS_SWIFT_NAME(AEMNetworking) -@protocol FBAEMNetworking - -- (void)startGraphRequestWithGraphPath:(NSString *)graphPath - parameters:(NSDictionary *)parameters - tokenString:(nullable NSString *)tokenString - HTTPMethod:(nullable NSString *)method - completion:(FBGraphRequestCompletion)completion; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBAEMKit.framework/Headers/FBAEMReporter.h b/src/ios/EmbeddedFrameworksSIM/FBAEMKit.framework/Headers/FBAEMReporter.h deleted file mode 100644 index 4885776..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBAEMKit.framework/Headers/FBAEMReporter.h +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#if !TARGET_OS_TV - - #import - - #import - #import - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(AEMReporter) -@interface FBAEMReporter : NSObject - -/** - - Configure networker used for calling Facebook AEM Graph API endpoint - and Facebook App ID - - This function should be called in application(_:open:options:) from ApplicationDelegate - and BEFORE [FBAEMReporter enable] function - - @param networker An optional networker conforms to FBAEMNetworking which handles Graph API request - @param appID An optional Facebook app ID, if it's null, we will get it from info.plist file with key: FacebookAppID - */ -+ (void)configureWithNetworker:(nullable id)networker - appID:(nullable NSString *)appID; - -/** - - Configure networker used for calling Facebook AEM Graph API endpoint - and Facebook App ID - - This function should be called in application(_:open:options:) from ApplicationDelegate - and BEFORE [FBAEMReporter enable] function. We will use SKAdNetwork reporter to prevent - double counting. - - @param networker An optional networker conforms to FBAEMNetworking which handles Graph API request - @param appID An optional Facebook app ID, if it's null, we will get it from info.plist file with key: FacebookAppID - @param reporter The SKAdNetwork repoter - */ -+ (void)configureWithNetworker:(nullable id)networker - appID:(nullable NSString *)appID - reporter:(nullable id)reporter; - -/** - - Enable AEM reporting - - This function should be called in application(_:open:options:) from ApplicationDelegate - */ -+ (void)enable; - -/** - - Control whether to enable catalog reporting - - This function should be called in application(_:open:options:) from ApplicationDelegate - */ -+ (void)setCatalogReportEnabled:(BOOL)enabled; - -/** - - Handle deeplink - - This function should be called in application(_:open:options:) from ApplicationDelegate - */ -+ (void)handleURL:(NSURL *)url; - -/** - - Calculate the conversion value for the app event based on the AEM configuration - - This function should be called when you log any in-app events - */ - -// UNCRUSTIFY_FORMAT_OFF -+ (void)recordAndUpdateEvent:(NSString *)event - currency:(nullable NSString *)currency - value:(nullable NSNumber *)value - parameters:(nullable NSDictionary *)parameters -NS_SWIFT_NAME(recordAndUpdate(event:currency:value:parameters:)); -// UNCRUSTIFY_FORMAT_ON - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBAEMKit.framework/Headers/FBSKAdNetworkReporting.h b/src/ios/EmbeddedFrameworksSIM/FBAEMKit.framework/Headers/FBSKAdNetworkReporting.h deleted file mode 100644 index 4e9fc90..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBAEMKit.framework/Headers/FBSKAdNetworkReporting.h +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(SKAdNetworkReporting) -@protocol FBSKAdNetworkReporting - -- (BOOL)shouldCutoff; - -- (BOOL)isReportingEvent:(NSString *)event; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBAEMKit.framework/Info.plist b/src/ios/EmbeddedFrameworksSIM/FBAEMKit.framework/Info.plist deleted file mode 100644 index 1c9a073..0000000 Binary files a/src/ios/EmbeddedFrameworksSIM/FBAEMKit.framework/Info.plist and /dev/null differ diff --git a/src/ios/EmbeddedFrameworksSIM/FBAEMKit.framework/Modules/module.modulemap b/src/ios/EmbeddedFrameworksSIM/FBAEMKit.framework/Modules/module.modulemap deleted file mode 100644 index 14349e5..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBAEMKit.framework/Modules/module.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module FBAEMKit { - umbrella header "FBAEMKit.h" - - export * - module * { export * } -} diff --git a/src/ios/EmbeddedFrameworksSIM/FBAEMKit.framework/_CodeSignature/CodeDirectory b/src/ios/EmbeddedFrameworksSIM/FBAEMKit.framework/_CodeSignature/CodeDirectory deleted file mode 100644 index c6f3450..0000000 Binary files a/src/ios/EmbeddedFrameworksSIM/FBAEMKit.framework/_CodeSignature/CodeDirectory and /dev/null differ diff --git a/src/ios/EmbeddedFrameworksSIM/FBAEMKit.framework/_CodeSignature/CodeRequirements-1 b/src/ios/EmbeddedFrameworksSIM/FBAEMKit.framework/_CodeSignature/CodeRequirements-1 deleted file mode 100644 index ebebe0d..0000000 Binary files a/src/ios/EmbeddedFrameworksSIM/FBAEMKit.framework/_CodeSignature/CodeRequirements-1 and /dev/null differ diff --git a/src/ios/EmbeddedFrameworksSIM/FBAEMKit.framework/_CodeSignature/CodeResources b/src/ios/EmbeddedFrameworksSIM/FBAEMKit.framework/_CodeSignature/CodeResources deleted file mode 100644 index a3b0ad6..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBAEMKit.framework/_CodeSignature/CodeResources +++ /dev/null @@ -1,177 +0,0 @@ - - - - - files - - Headers/FBAEMKit.h - - NW3ERxK/PfCM++nD228/BG/+Q4k= - - Headers/FBAEMNetworking.h - - n22M8rtQ4ZRTslQC1OtPqrh7IJ8= - - Headers/FBAEMReporter.h - - GWMEGNyv1+JuE6KKd3kz6SagAsY= - - Headers/FBSKAdNetworkReporting.h - - Xn3b/+Fmrzl5Iqs0PLB5qJJ7dUw= - - Info.plist - - lQzJfVYHlxtpVOgGOOcXCOzUBpc= - - Modules/module.modulemap - - o73dPj2eTzQWqpQxXcxLGPew27w= - - - files2 - - Headers/FBAEMKit.h - - hash - - NW3ERxK/PfCM++nD228/BG/+Q4k= - - hash2 - - OA7MTJP48DkwFW2R67rJUv5ACVc2HXbHXj7Bi1W64qU= - - - Headers/FBAEMNetworking.h - - hash - - n22M8rtQ4ZRTslQC1OtPqrh7IJ8= - - hash2 - - P2cQc1GHJs1UBKaheJfSy0PmxtsWQKpy9s46CT7r/Fs= - - - Headers/FBAEMReporter.h - - hash - - GWMEGNyv1+JuE6KKd3kz6SagAsY= - - hash2 - - mzcm+qo81c/jAsIufGG4m+re/sQC0WMfe1AbH46khJM= - - - Headers/FBSKAdNetworkReporting.h - - hash - - Xn3b/+Fmrzl5Iqs0PLB5qJJ7dUw= - - hash2 - - aVmawnGbL7U82T8J2NgiouGEhVm9nLyMcbnngbk1CvM= - - - Modules/module.modulemap - - hash - - o73dPj2eTzQWqpQxXcxLGPew27w= - - hash2 - - 9ORxRsqYiPdgcfSgTQLYaXLs6qCXFGAUTOO4deJ9/xQ= - - - - rules - - ^.* - - ^.*\.lproj/ - - optional - - weight - 1000 - - ^.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^Base\.lproj/ - - weight - 1010 - - ^version.plist$ - - - rules2 - - .*\.dSYM($|/) - - weight - 11 - - ^(.*/)?\.DS_Store$ - - omit - - weight - 2000 - - ^.* - - ^.*\.lproj/ - - optional - - weight - 1000 - - ^.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^Base\.lproj/ - - weight - 1010 - - ^Info\.plist$ - - omit - - weight - 20 - - ^PkgInfo$ - - omit - - weight - 20 - - ^embedded\.provisionprofile$ - - weight - 20 - - ^version\.plist$ - - weight - 20 - - - - diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/FBSDKCoreKit b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/FBSDKCoreKit deleted file mode 100644 index b5bce7f..0000000 Binary files a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/FBSDKCoreKit and /dev/null differ diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h deleted file mode 100644 index cd77801..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h +++ /dev/null @@ -1,215 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Notification indicating that the `currentAccessToken` has changed. - - the userInfo dictionary of the notification will contain keys - `FBSDKAccessTokenChangeOldKey` and - `FBSDKAccessTokenChangeNewKey`. - */ -FOUNDATION_EXPORT NSNotificationName const FBSDKAccessTokenDidChangeNotification -NS_SWIFT_NAME(AccessTokenDidChange); - -/** - 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. - - 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). - */ -FOUNDATION_EXPORT NSString *const FBSDKAccessTokenDidChangeUserIDKey -NS_SWIFT_NAME(AccessTokenDidChangeUserIDKey); - -/* - key in notification's userInfo object for getting the old token. - - If there was no old token, the key will not be present. - */ -FOUNDATION_EXPORT NSString *const FBSDKAccessTokenChangeOldKey -NS_SWIFT_NAME(AccessTokenChangeOldKey); - -/* - key in notification's userInfo object for getting the new token. - - If there is no new token, the key will not be present. - */ -FOUNDATION_EXPORT NSString *const FBSDKAccessTokenChangeNewKey -NS_SWIFT_NAME(AccessTokenChangeNewKey); - -/* - A key in the notification's userInfo that will be set - if and only if the token has expired. - */ -FOUNDATION_EXPORT NSString *const FBSDKAccessTokenDidExpireKey -NS_SWIFT_NAME(AccessTokenDidExpireKey); - -/** - Represents an immutable access token for using Facebook services. - */ -NS_SWIFT_NAME(AccessToken) -@interface FBSDKAccessToken : NSObject - -/** - The "global" access token that represents the currently logged in user. - - The `currentAccessToken` is a convenient representation of the token of the - current user and is used by other SDK components (like `FBSDKLoginManager`). - */ -@property (class, nullable, nonatomic, copy) FBSDKAccessToken *currentAccessToken; - -/** - Returns YES if currentAccessToken is not nil AND currentAccessToken is not expired - - */ -@property (class, nonatomic, readonly, getter = isCurrentAccessTokenActive, assign) BOOL currentAccessTokenIsActive; - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -@property (class, nullable, nonatomic, copy) id tokenCache; - -/** - Returns the app ID. - */ -@property (nonatomic, readonly, copy) NSString *appID; - -/** - Returns the expiration date for data access - */ -@property (nonatomic, readonly, copy) NSDate *dataAccessExpirationDate; - -/** - Returns the known declined permissions. - */ -@property (nonatomic, readonly, copy) NSSet *declinedPermissions - NS_REFINED_FOR_SWIFT; - -/** - Returns the known declined permissions. - */ -@property (nonatomic, readonly, copy) NSSet *expiredPermissions - NS_REFINED_FOR_SWIFT; - -/** - Returns the expiration date. - */ -@property (nonatomic, readonly, copy) NSDate *expirationDate; - -/** - Returns the known granted permissions. - */ -@property (nonatomic, readonly, copy) NSSet *permissions - NS_REFINED_FOR_SWIFT; - -/** - Returns the date the token was last refreshed. -*/ -@property (nonatomic, readonly, copy) NSDate *refreshDate; - -/** - Returns the opaque token string. - */ -@property (nonatomic, readonly, copy) NSString *tokenString; - -/** - Returns the user ID. - */ -@property (nonatomic, readonly, copy) NSString *userID; - -/** - Returns whether the access token is expired by checking its expirationDate property - */ -@property (nonatomic, readonly, getter = isExpired, assign) BOOL expired; - -/** - Returns whether user data access is still active for the given access token - */ -@property (nonatomic, readonly, getter = isDataAccessExpired, assign) BOOL dataAccessExpired; - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/** - Initializes a new instance. - @param tokenString the opaque token string. - @param permissions the granted permissions. Note this is converted to NSSet and is only - an NSArray for the convenience of literal syntax. - @param declinedPermissions the declined permissions. Note this is converted to NSSet and is only - an NSArray for the convenience of literal syntax. - @param expiredPermissions the expired 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). - @param dataAccessExpirationDate the date which data access will expire for the given user - (defaults to distantFuture). - - This initializer should only be used for advanced apps that - manage tokens explicitly. Typical login flows only need to use `FBSDKLoginManager` - along with `+currentAccessToken`. - */ -- (instancetype)initWithTokenString:(NSString *)tokenString - permissions:(NSArray *)permissions - declinedPermissions:(NSArray *)declinedPermissions - expiredPermissions:(NSArray *)expiredPermissions - appID:(NSString *)appID - userID:(NSString *)userID - expirationDate:(nullable NSDate *)expirationDate - refreshDate:(nullable NSDate *)refreshDate - dataAccessExpirationDate:(nullable NSDate *)dataAccessExpirationDate - NS_DESIGNATED_INITIALIZER; - -/** - Convenience getter to determine if a permission has been granted - @param permission The permission to check. - */ -// UNCRUSTIFY_FORMAT_OFF -- (BOOL)hasGranted:(NSString *)permission -NS_SWIFT_NAME(hasGranted(permission:)); -// UNCRUSTIFY_FORMAT_ON - -/** - 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; - -/** - Refresh the current access token's permission state and extend the token's expiration date, - if possible. - @param completion an optional callback handler that can surface any errors related to permission refreshing. - - On a successful refresh, the currentAccessToken will be updated so you typically only need to - observe the `FBSDKAccessTokenDidChangeNotification` notification. - - If a token is already expired, it cannot be refreshed. - */ -+ (void)refreshCurrentAccessTokenWithCompletion:(nullable FBSDKGraphRequestCompletion)completion; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAccessTokenProtocols.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAccessTokenProtocols.h deleted file mode 100644 index 1bf76f7..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAccessTokenProtocols.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -@class FBSDKAccessToken; -@protocol FBSDKTokenCaching; - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(AccessTokenProviding) -@protocol FBSDKAccessTokenProviding - -@property (class, nullable, nonatomic, readonly, copy) FBSDKAccessToken *currentAccessToken; -@property (class, nullable, nonatomic, copy) id tokenCache; - -@end - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(AccessTokenSetting) -@protocol FBSDKAccessTokenSetting - -@property (class, nullable, nonatomic, copy) FBSDKAccessToken *currentAccessToken; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAdvertisingTrackingStatus.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAdvertisingTrackingStatus.h deleted file mode 100644 index d0692fe..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAdvertisingTrackingStatus.h +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -typedef NS_ENUM(NSUInteger, FBSDKAdvertisingTrackingStatus) { - FBSDKAdvertisingTrackingAllowed, - FBSDKAdvertisingTrackingDisallowed, - FBSDKAdvertisingTrackingUnspecified, -} NS_SWIFT_NAME(AdvertisingTrackingStatus); - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppAvailabilityChecker.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppAvailabilityChecker.h deleted file mode 100644 index 16f8947..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppAvailabilityChecker.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(AppAvailabilityChecker) -@protocol FBSDKAppAvailabilityChecker - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -@property (nonatomic, readonly, assign) BOOL isMessengerAppInstalled; -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -@property (nonatomic, readonly, assign) BOOL isFacebookAppInstalled; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppEventName.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppEventName.h deleted file mode 100644 index 10f6e0c..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppEventName.h +++ /dev/null @@ -1,92 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -/** - @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 `FBSDKAppEventParameterName` constants. - */ - -/// typedef for FBSDKAppEventName -typedef NSString *FBSDKAppEventName NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(AppEvents.Name); - -// MARK: - General Purpose - -/** Log this event when the user clicks an ad. */ -FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameAdClick; - -/** Log this event when the user views an ad. */ -FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameAdImpression; - -/** Log this event when a user has completed registration with the app. */ -FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameCompletedRegistration; - -/** Log this event when the user has completed a tutorial in the app. */ -FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameCompletedTutorial; - -/** A telephone/SMS, email, chat or other type of contact between a customer and your business. */ -FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameContact; - -/** The customization of products through a configuration tool or other application your business owns. */ -FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameCustomizeProduct; - -/** The donation of funds to your organization or cause. */ -FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameDonate; - -/** When a person finds one of your locations via web or application, with an intention to visit (example: find product at a local store). */ -FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameFindLocation; - -/** Log this event when the user has rated an item in the app. The valueToSum passed to logEvent should be the numeric rating. */ -FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameRated; - -/** The booking of an appointment to visit one of your locations. */ -FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameSchedule; - -/** Log this event when a user has performed a search within the app. */ -FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameSearched; - -/** The start of a free trial of a product or service you offer (example: trial subscription). */ -FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameStartTrial; - -/** The submission of an application for a product, service or program you offer (example: credit card, educational program or job). */ -FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameSubmitApplication; - -/** The start of a paid subscription for a product or service you offer. */ -FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameSubscribe; - -/** Log this event when a user has viewed a form of content in the app. */ -FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameViewedContent; - -// MARK: - E-Commerce - -/** Log this event when the user has entered their payment info. */ -FOUNDATION_EXPORT FBSDKAppEventName 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. */ -FOUNDATION_EXPORT FBSDKAppEventName 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. */ -FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameAddedToWishlist; - -/** Log this event when the user has entered the checkout process. The valueToSum passed to logEvent should be the total price in the cart. */ -FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameInitiatedCheckout; - -/** Log this event when the user has completed a transaction. The valueToSum passed to logEvent should be the total price of the transaction. */ -FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNamePurchased; - -// MARK: - Gaming - -/** Log this event when the user has achieved a level in the app. */ -FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameAchievedLevel; - -/** Log this event when the user has unlocked an achievement in the app. */ -FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameUnlockedAchievement; - -/** Log this event when the user has spent app credits. The valueToSum passed to logEvent should be the number of credits spent. */ -FOUNDATION_EXPORT FBSDKAppEventName const FBSDKAppEventNameSpentCredits; diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterName.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterName.h deleted file mode 100644 index bb7ae6a..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterName.h +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -/** - @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. - */ - -/// typedef for FBSDKAppEventParameterName -typedef NSString *FBSDKAppEventParameterName NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(AppEvents.ParameterName); - -/** - * Parameter key used to specify data for the one or more pieces of content being logged about. - * Data should be a JSON encoded string. - * Example: - * "[{\"id\": \"1234\", \"quantity\": 2, \"item_price\": 5.99}, {\"id\": \"5678\", \"quantity\": 1, \"item_price\": 9.99}]" - */ -FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameContent; - -/** Parameter key used to specify an ID for the specific piece of content being logged about. Could be an EAN, article identifier, etc., depending on the nature of the app. */ -FOUNDATION_EXPORT FBSDKAppEventParameterName 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. */ -FOUNDATION_EXPORT FBSDKAppEventParameterName 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 . */ -FOUNDATION_EXPORT FBSDKAppEventParameterName 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. */ -FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameDescription; - -/** Parameter key used to specify the level achieved in a `FBAppEventNameAchieved` event. */ -FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameLevel; - -/** Parameter key used to specify the maximum rating available for the `FBAppEventNameRate` event. E.g., "5" or "10". */ -FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameMaxRatingValue; - -/** Parameter key used to specify how many items are being processed for an `FBAppEventNameInitiatedCheckout` or `FBAppEventNamePurchased` event. */ -FOUNDATION_EXPORT FBSDKAppEventParameterName 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. */ -FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNamePaymentInfoAvailable; - -/** Parameter key used to specify method user has used to register for the app, e.g., "Facebook", "email", "Twitter", etc */ -FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameRegistrationMethod; - -/** Parameter key used to specify the string provided by the user for a search operation. */ -FOUNDATION_EXPORT FBSDKAppEventParameterName 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. */ -FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameSuccess; - -/** Parameter key used to specify the type of ad in an FBSDKAppEventNameAdImpression - * or FBSDKAppEventNameAdClick event. - * E.g. "banner", "interstitial", "rewarded_video", "native" */ -FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameAdType; - -/** Parameter key used to specify the unique ID for all events within a subscription - * in an FBSDKAppEventNameSubscribe or FBSDKAppEventNameStartTrial event. */ -FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameOrderID; - -/** Parameter key used to specify event name. */ -FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameEventName; - -/** Parameter key used to specify event log time. */ -FOUNDATION_EXPORT FBSDKAppEventParameterName const FBSDKAppEventParameterNameLogTime; diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterProduct.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterProduct.h deleted file mode 100644 index 6008d09..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterProduct.h +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -/** - @methodgroup Predefined event name parameters for common additional information to accompany events logged through the `logProductItem` method on `FBSDKAppEvents`. - */ - -/// typedef for FBSDKAppEventParameterProduct -typedef NSString *const FBSDKAppEventParameterProduct NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(AppEvents.ParameterProduct); - -/** Parameter key used to specify the product item's category. */ -FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCategory; - -/** Parameter key used to specify the product item's custom label 0. */ -FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCustomLabel0; - -/** Parameter key used to specify the product item's custom label 1. */ -FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCustomLabel1; - -/** Parameter key used to specify the product item's custom label 2. */ -FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCustomLabel2; - -/** Parameter key used to specify the product item's custom label 3. */ -FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCustomLabel3; - -/** Parameter key used to specify the product item's custom label 4. */ -FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductCustomLabel4; - -/** Parameter key used to specify the product item's AppLink app URL for iOS. */ -FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIOSUrl; - -/** Parameter key used to specify the product item's AppLink app ID for iOS App Store. */ -FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIOSAppStoreID; - -/** Parameter key used to specify the product item's AppLink app name for iOS. */ -FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIOSAppName; - -/** Parameter key used to specify the product item's AppLink app URL for iPhone. */ -FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPhoneUrl; - -/** Parameter key used to specify the product item's AppLink app ID for iPhone App Store. */ -FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPhoneAppStoreID; - -/** Parameter key used to specify the product item's AppLink app name for iPhone. */ -FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPhoneAppName; - -/** Parameter key used to specify the product item's AppLink app URL for iPad. */ -FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPadUrl; - -/** Parameter key used to specify the product item's AppLink app ID for iPad App Store. */ -FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPadAppStoreID; - -/** Parameter key used to specify the product item's AppLink app name for iPad. */ -FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkIPadAppName; - -/** Parameter key used to specify the product item's AppLink app URL for Android. */ -FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkAndroidUrl; - -/** Parameter key used to specify the product item's AppLink fully-qualified package name for intent generation. */ -FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkAndroidPackage; - -/** Parameter key used to specify the product item's AppLink app name for Android. */ -FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkAndroidAppName; - -/** Parameter key used to specify the product item's AppLink app URL for Windows Phone. */ -FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkWindowsPhoneUrl; - -/** Parameter key used to specify the product item's AppLink app ID, as a GUID, for App Store. */ -FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkWindowsPhoneAppID; - -/** Parameter key used to specify the product item's AppLink app name for Windows Phone. */ -FOUNDATION_EXPORT FBSDKAppEventParameterProduct FBSDKAppEventParameterProductAppLinkWindowsPhoneAppName; diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterValue.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterValue.h deleted file mode 100644 index 8dfbd53..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppEventParameterValue.h +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -/* - @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. - */ - -/// typedef for FBSDKAppEventParameterValue -typedef NSString *const FBSDKAppEventParameterValue NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(AppEvents.ParameterValue); - -/** Yes-valued parameter value to be used with parameter keys that need a Yes/No value */ -FOUNDATION_EXPORT FBSDKAppEventParameterValue FBSDKAppEventParameterValueYes; - -/** No-valued parameter value to be used with parameter keys that need a Yes/No value */ -FOUNDATION_EXPORT FBSDKAppEventParameterValue FBSDKAppEventParameterValueNo; diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppEventUserDataType.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppEventUserDataType.h deleted file mode 100644 index c199a1f..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppEventUserDataType.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -typedef NSString *const FBSDKAppEventUserDataType NS_TYPED_EXTENSIBLE_ENUM; - -/** Parameter key used to specify user's email. */ -FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventEmail; - -/** Parameter key used to specify user's first name. */ -FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventFirstName; - -/** Parameter key used to specify user's last name. */ -FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventLastName; - -/** Parameter key used to specify user's phone. */ -FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventPhone; - -/** Parameter key used to specify user's date of birth. */ -FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventDateOfBirth; - -/** Parameter key used to specify user's gender. */ -FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventGender; - -/** Parameter key used to specify user's city. */ -FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventCity; - -/** Parameter key used to specify user's state. */ -FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventState; - -/** Parameter key used to specify user's zip. */ -FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventZip; - -/** Parameter key used to specify user's country. */ -FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventCountry; - -/** Parameter key used to specify user's external id. */ -FOUNDATION_EXPORT FBSDKAppEventUserDataType FBSDKAppEventExternalId; diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h deleted file mode 100644 index f19c2e6..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h +++ /dev/null @@ -1,931 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#if !TARGET_OS_TV - #import -#endif - -#import -#import -#import -#import -#import -#import -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -@class FBSDKAccessToken; - -/** optional plist key ("FacebookLoggingOverrideAppID") for setting `loggingOverrideAppID` */ -FOUNDATION_EXPORT NSString *const FBSDKAppEventsOverrideAppIDBundleKey -NS_SWIFT_NAME(AppEventsOverrideAppIDBundleKey); - -/** - - - Client-side event logging for specialized application analytics available through Facebook App Insights - and for use with Facebook Ads conversion tracking and optimization. - - - - 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. - - */ - -NS_SWIFT_NAME(AppEvents) -@interface FBSDKAppEvents : NSObject - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/** - The shared instance of AppEvents. - */ -@property (class, nonatomic, readonly, strong) FBSDKAppEvents *shared; - -/* - * Control over event batching/flushing - */ - -/// The current event flushing behavior specifying when events are sent back to Facebook servers. -@property (class, nonatomic) FBSDKAppEventsFlushBehavior flushBehavior - DEPRECATED_MSG_ATTRIBUTE("`AppEvents.flushBehavior` is deprecated and will be removed in the next major release; please use `AppEvents.shared.flushBehavior` instead"); - -/** - Set the 'override' App ID for App Event logging. - - 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 `Settings.shared.appID`. - - This should be set before any other calls are made to `AppEvents`. Thus, you should set it in your application - delegate's `application(_:didFinishLaunchingWithOptions:)` method. - */ -@property (class, nullable, nonatomic, copy) NSString *loggingOverrideAppID - DEPRECATED_MSG_ATTRIBUTE("`AppEvents.loggingOverrideAppID` is deprecated and will be removed in the next major release; please use `AppEvents.shared.loggingOverrideAppID` instead"); - -/** - The custom user ID to associate with all app events. - - The userID is persisted until it is cleared by passing `nil`. - */ -@property (class, nullable, nonatomic, copy) NSString *userID - DEPRECATED_MSG_ATTRIBUTE("`AppEvents.userID` is deprecated and will be removed in the next major release; please use `AppEvents.shared.userID` instead"); - -/// Returns generated anonymous id that persisted with current install of the app -@property (class, nonatomic, readonly) NSString *anonymousID - DEPRECATED_MSG_ATTRIBUTE("`AppEvents.anonymousID` is deprecated and will be removed in the next major release; please use `AppEvents.shared.anonymousID` instead"); - -/// The current event flushing behavior specifying when events are sent back to Facebook servers. -@property (nonatomic) FBSDKAppEventsFlushBehavior flushBehavior; - -/** - Set the 'override' App ID for App Event logging. - - 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 `Settings.shared.appID`. - - This should be set before any other calls are made to `AppEvents`. Thus, you should set it in your application - delegate's `application(_:didFinishLaunchingWithOptions:)` method. - */ -@property (nullable, nonatomic, copy) NSString *loggingOverrideAppID; - -/** - The custom user ID to associate with all app events. - - The userID is persisted until it is cleared by passing `nil`. - */ -@property (nullable, nonatomic, copy) NSString *userID; - -/// Returns generated anonymous id that persisted with current install of the app -@property (nonatomic, readonly) NSString *anonymousID; - -/* - * Basic event logging - */ - -/** - Log an event with just an event name. - - @param eventName The name of the event to record. Limitations on number of events and name length - are given in the `AppEvents` documentation. - */ -+ (void)logEvent:(FBSDKAppEventName)eventName - DEPRECATED_MSG_ATTRIBUTE("`AppEvents.logEvent(_:)` is deprecated and will be removed in the next major release; please use `AppEvents.shared.logEvent(_:)` instead"); - -/** - Log an event with just an event name. - - @param eventName The name of the event to record. Limitations on number of events and name length - are given in the `AppEvents` documentation. - */ -- (void)logEvent:(FBSDKAppEventName)eventName; - -/** - Log an event with an event name 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 `AppEvents` documentation. Common event names are provided in `AppEvents.Name` constants. - - @param valueToSum Amount to be aggregated into all events of this event name, and App Insights will report - the cumulative and average value of this amount. - */ -+ (void)logEvent:(FBSDKAppEventName)eventName - valueToSum:(double)valueToSum - DEPRECATED_MSG_ATTRIBUTE("`AppEvents.logEvent(_:valueToSum:)` is deprecated and will be removed in the next major release; please use `AppEvents.shared.logEvent(_:valueToSum:)` instead"); - -/** - Log an event with an event name 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 `AppEvents` documentation. Common event names are provided in `AppEvents.Name` constants. - - @param valueToSum Amount to be aggregated into all events of this event name, and App Insights will report - the cumulative and average value of this amount. - */ -- (void)logEvent:(FBSDKAppEventName)eventName - valueToSum:(double)valueToSum; - -/** - Log an event with an event name 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 `AppEvents` documentation. Common event names are provided in `AppEvents.Name` 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 `AppEvents` documentation. Commonly used parameter names - are provided in `AppEvents.ParameterName` constants. - */ -+ (void)logEvent:(FBSDKAppEventName)eventName - parameters:(nullable NSDictionary *)parameters - DEPRECATED_MSG_ATTRIBUTE("`AppEvents.logEvent(_:parameters:)` is deprecated and will be removed in the next major release; please use `AppEvents.shared.logEvent(_:parameters:)` instead"); - -/** - Log an event with an event name 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 `AppEvents` documentation. Common event names are provided in `AppEvents.Name` 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 `AppEvents` documentation. Commonly used parameter names - are provided in `AppEvents.ParameterName` constants. - */ -- (void)logEvent:(FBSDKAppEventName)eventName - parameters:(nullable NSDictionary *)parameters; - -/** - Log an event with an event name, 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 `AppEvents` documentation. Common event names are provided in `AppEvents.Name` constants. - - @param valueToSum Amount to be aggregated into all events of this event name, 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 `AppEvents` documentation. Commonly used parameter names - are provided in `AppEvents.ParameterName` constants. - */ -+ (void)logEvent:(FBSDKAppEventName)eventName - valueToSum:(double)valueToSum - parameters:(nullable NSDictionary *)parameters - DEPRECATED_MSG_ATTRIBUTE("`AppEvents.logEvent(_:valueToSum:parameters:)` is deprecated and will be removed in the next major release; please use `AppEvents.shared.logEvent(_:valueToSum:parameters:)` instead"); - -/** - Log an event with an event name, 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 `AppEvents` documentation. Common event names are provided in `AppEvents.Name` constants. - - @param valueToSum Amount to be aggregated into all events of this event name, 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 `AppEvents` documentation. Commonly used parameter names - are provided in `AppEvents.ParameterName` constants. - */ -- (void)logEvent:(FBSDKAppEventName)eventName - valueToSum:(double)valueToSum - parameters:(nullable NSDictionary *)parameters; - -/** - Log an event with an event name, 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 `AppEvents` documentation. Common event names are provided in `AppEvents.Name` 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 `AppEvents` documentation. Commonly used parameter names - are provided in `AppEvents.ParameterName` constants. - - @param accessToken The optional access token to log the event as. - */ -+ (void)logEvent:(FBSDKAppEventName)eventName - valueToSum:(nullable NSNumber *)valueToSum - parameters:(nullable NSDictionary *)parameters - accessToken:(nullable FBSDKAccessToken *)accessToken - DEPRECATED_MSG_ATTRIBUTE("`AppEvents.logEvent(_:valueToSum:parameters:accessToken:)` is deprecated and will be removed in the next major release; please use `AppEvents.shared.logEvent(_:valueToSum:parameters:accessToken:)` instead"); - -/** - Log an event with an event name, 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 `AppEvents` documentation. Common event names are provided in `AppEvents.Name` 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 `AppEvents` documentation. Commonly used parameter names - are provided in `AppEvents.ParameterName` constants. - - @param accessToken The optional access token to log the event as. - */ -- (void)logEvent:(FBSDKAppEventName)eventName - valueToSum:(nullable NSNumber *)valueToSum - parameters:(nullable NSDictionary *)parameters - accessToken:(nullable FBSDKAccessToken *)accessToken; - -/* - * Purchase logging - */ - -/** - 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 string (e.g., "USD", "EUR", "GBP"); see ISO-4217 for - specific values. One reference for these is . - - This event immediately triggers a flush of the `AppEvents` event queue, unless the `flushBehavior` is set - to `FBSDKAppEventsFlushBehaviorExplicitOnly`. - */ -+ (void)logPurchase:(double)purchaseAmount - currency:(NSString *)currency - DEPRECATED_MSG_ATTRIBUTE("`AppEvents.logPurchase(_:currency:)` is deprecated and will be removed in the next major release; please use `AppEvents.shared.logPurchase(amount:currency:)` instead"); - -/** - 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 string (e.g., "USD", "EUR", "GBP"); see ISO-4217 for - specific values. One reference for these is . - - This event immediately triggers a flush of the `AppEvents` event queue, unless the `flushBehavior` is set - to `FBSDKAppEventsFlushBehaviorExplicitOnly`. - */ -// UNCRUSTIFY_FORMAT_OFF -- (void)logPurchase:(double)purchaseAmount currency:(NSString *)currency - NS_SWIFT_NAME(logPurchase(amount:currency:)); -// UNCRUSTIFY_FORMAT_ON - -/** - 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 string (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 `AppEvents` documentation. Commonly used parameter names - are provided in `AppEvents.ParameterName` constants. - - This event immediately triggers a flush of the `AppEvents` event queue, unless the `flushBehavior` is set - to `FBSDKAppEventsFlushBehaviorExplicitOnly`. - */ -+ (void)logPurchase:(double)purchaseAmount - currency:(NSString *)currency - parameters:(nullable NSDictionary *)parameters - DEPRECATED_MSG_ATTRIBUTE("`AppEvents.logPurchase(_:currency:parameters:)` is deprecated and will be removed in the next major release; please use `AppEvents.shared.logPurchase(amount:currency:parameters:)` instead"); - -/** - 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 string (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 `AppEvents` documentation. Commonly used parameter names - are provided in `AppEvents.ParameterName` constants. - - This event immediately triggers a flush of the `AppEvents` event queue, unless the `flushBehavior` is set - to `FBSDKAppEventsFlushBehaviorExplicitOnly`. - */ -// UNCRUSTIFY_FORMAT_OFF -- (void)logPurchase:(double)purchaseAmount - currency:(NSString *)currency - parameters:(nullable NSDictionary *)parameters - NS_SWIFT_NAME(logPurchase(amount:currency:parameters:)); -// UNCRUSTIFY_FORMAT_ON - -/** - 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 string (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 `AppEvents` documentation. Commonly used parameter names - are provided in `AppEvents.ParameterName` constants. - - @param accessToken The optional access token to log the event as. - - This event immediately triggers a flush of the `AppEvents` event queue, unless the `flushBehavior` is set - to `FBSDKAppEventsFlushBehaviorExplicitOnly`. - */ -+ (void)logPurchase:(double)purchaseAmount - currency:(NSString *)currency - parameters:(nullable NSDictionary *)parameters - accessToken:(nullable FBSDKAccessToken *)accessToken - DEPRECATED_MSG_ATTRIBUTE("`AppEvents.logPurchase(_:currency:parameters:accessToken:)` is deprecated and will be removed in the next major release; please use `AppEvents.shared.logPurchase(amount:currency:parameters:accessToken:)` instead"); - -/** - 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 string (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 `AppEvents` documentation. Commonly used parameter names - are provided in `AppEvents.ParameterName` constants. - - @param accessToken The optional access token to log the event as. - - This event immediately triggers a flush of the `AppEvents` event queue, unless the `flushBehavior` is set - to `FBSDKAppEventsFlushBehaviorExplicitOnly`. - */ -// UNCRUSTIFY_FORMAT_OFF -- (void)logPurchase:(double)purchaseAmount - currency:(NSString *)currency - parameters:(nullable NSDictionary *)parameters - accessToken:(nullable FBSDKAccessToken *)accessToken - NS_SWIFT_NAME(logPurchase(amount:currency:parameters:accessToken:)); -// UNCRUSTIFY_FORMAT_ON - -/* - * Push Notifications Logging - */ - -/** - Log an app event that tracks that the application was open via Push Notification. - - @param payload Notification payload received via `UIApplicationDelegate`. - */ -+ (void)logPushNotificationOpen:(NSDictionary *)payload - DEPRECATED_MSG_ATTRIBUTE("`AppEvents.logPushNotificationOpen(_:)` is deprecated and will be removed in the next major release; please use `AppEvents.shared.logPushNotificationOpen(payload:)` instead"); - -/** - Log an app event that tracks that the application was open via Push Notification. - - @param payload Notification payload received via `UIApplicationDelegate`. - */ -// UNCRUSTIFY_FORMAT_OFF -- (void)logPushNotificationOpen:(NSDictionary *)payload - NS_SWIFT_NAME(logPushNotificationOpen(payload:)); -// UNCRUSTIFY_FORMAT_ON - -/** - Log an app event that tracks that a custom action was taken from a push notification. - - @param payload Notification payload received via `UIApplicationDelegate`. - @param action Name of the action that was taken. - */ -+ (void)logPushNotificationOpen:(NSDictionary *)payload action:(NSString *)action - DEPRECATED_MSG_ATTRIBUTE("`AppEvents.logPushNotificationOpen(_:action:)` is deprecated and will be removed in the next major release; please use `AppEvents.shared.logPushNotificationOpen(payload:action:)` instead"); - -/** - Log an app event that tracks that a custom action was taken from a push notification. - - @param payload Notification payload received via `UIApplicationDelegate`. - @param action Name of the action that was taken. - */ -// UNCRUSTIFY_FORMAT_OFF -- (void)logPushNotificationOpen:(NSDictionary *)payload action:(NSString *)action - NS_SWIFT_NAME(logPushNotificationOpen(payload:action:)); -// UNCRUSTIFY_FORMAT_ON - -/** - Uploads product catalog product item as an app event - - @param itemID Unique ID for the item. Can be a variant for a product. - Max size is 100. - @param availability If item is in stock. Accepted values are: - in stock - Item ships immediately - out of stock - No plan to restock - preorder - Available in future - available for order - Ships in 1-2 weeks - discontinued - Discontinued - @param condition Product condition: new, refurbished or used. - @param description Short text describing product. Max size is 5000. - @param imageLink Link to item image used in ad. - @param link Link to merchant's site where someone can buy the item. - @param title Title of item. - @param priceAmount Amount of purchase, in the currency specified by the 'currency' - parameter. This value will be rounded to the thousandths place - (e.g., 12.34567 becomes 12.346). - @param currency Currency string (e.g., "USD", "EUR", "GBP"); see ISO-4217 for - specific values. One reference for these is . - @param gtin Global Trade Item Number including UPC, EAN, JAN and ISBN - @param mpn Unique manufacture ID for product - @param brand Name of the brand - Note: Either gtin, mpn or brand is required. - @param parameters Optional fields for deep link specification. - */ -+ (void)logProductItem:(NSString *)itemID - availability:(FBSDKProductAvailability)availability - condition:(FBSDKProductCondition)condition - description:(NSString *)description - imageLink:(NSString *)imageLink - link:(NSString *)link - title:(NSString *)title - priceAmount:(double)priceAmount - currency:(NSString *)currency - gtin:(nullable NSString *)gtin - mpn:(nullable NSString *)mpn - brand:(nullable NSString *)brand - parameters:(nullable NSDictionary *)parameters - DEPRECATED_MSG_ATTRIBUTE("`AppEvents.logProductItem(_:availability:condition:description:imageLink:link:title:priceAmount:currency:gtin:mpn:brand:parameters:)` is deprecated and will be removed in the next major release; please use `AppEvents.shared.logProductItem(id:availability:condition:description:imageLink:link:title:priceAmount:currency:gtin:mpn:brand:parameters:)` instead"); - -/** - Uploads product catalog product item as an app event - - @param itemID Unique ID for the item. Can be a variant for a product. - Max size is 100. - @param availability If item is in stock. Accepted values are: - in stock - Item ships immediately - out of stock - No plan to restock - preorder - Available in future - available for order - Ships in 1-2 weeks - discontinued - Discontinued - @param condition Product condition: new, refurbished or used. - @param description Short text describing product. Max size is 5000. - @param imageLink Link to item image used in ad. - @param link Link to merchant's site where someone can buy the item. - @param title Title of item. - @param priceAmount Amount of purchase, in the currency specified by the 'currency' - parameter. This value will be rounded to the thousandths place - (e.g., 12.34567 becomes 12.346). - @param currency Currency string (e.g., "USD", "EUR", "GBP"); see ISO-4217 for - specific values. One reference for these is . - @param gtin Global Trade Item Number including UPC, EAN, JAN and ISBN - @param mpn Unique manufacture ID for product - @param brand Name of the brand - Note: Either gtin, mpn or brand is required. - @param parameters Optional fields for deep link specification. - */ -// UNCRUSTIFY_FORMAT_OFF -- (void)logProductItem:(NSString *)itemID - availability:(FBSDKProductAvailability)availability - condition:(FBSDKProductCondition)condition - description:(NSString *)description - imageLink:(NSString *)imageLink - link:(NSString *)link - title:(NSString *)title - priceAmount:(double)priceAmount - currency:(NSString *)currency - gtin:(nullable NSString *)gtin - mpn:(nullable NSString *)mpn - brand:(nullable NSString *)brand - parameters:(nullable NSDictionary *)parameters - NS_SWIFT_NAME(logProductItem(id:availability:condition:description:imageLink:link:title:priceAmount:currency:gtin:mpn:brand:parameters:)); -// UNCRUSTIFY_FORMAT_ON - -/** - - Notifies the events system that the app has launched and, when appropriate, logs an "activated app" event. - This function is called automatically from FBSDKApplicationDelegate applicationDidBecomeActive, unless - one overrides 'FacebookAutoLogAppEventsEnabled' key to false in the project info plist file. - In case 'FacebookAutoLogAppEventsEnabled' is set to false, then it 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. - - - - `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; - -/* - * Push Notifications Registration and Uninstall Tracking - */ - -/** - Sets and sends device token to register the current application for push notifications. - - Sets and sends a device token from the `Data` representation that you get from - `UIApplicationDelegate.application(_:didRegisterForRemoteNotificationsWithDeviceToken:)`. - - @param deviceToken Device token data. - */ -+ (void)setPushNotificationsDeviceToken:(nullable NSData *)deviceToken - DEPRECATED_MSG_ATTRIBUTE("`AppEvents.setPushNotificationsDeviceToken(_:)` is deprecated and will be removed in the next major release; please use `AppEvents.shared.setPushNotificationsDeviceToken(_:)` instead"); - -/** - Sets and sends device token to register the current application for push notifications. - - Sets and sends a device token from the `Data` representation that you get from - `UIApplicationDelegate.application(_:didRegisterForRemoteNotificationsWithDeviceToken:)`. - - @param deviceToken Device token data. - */ -- (void)setPushNotificationsDeviceToken:(nullable NSData *)deviceToken; - -/** - Sets and sends device token string to register the current application for push notifications. - - Sets and sends a device token string - - @param deviceTokenString Device token string. - */ -// UNCRUSTIFY_FORMAT_OFF -+ (void)setPushNotificationsDeviceTokenString:(nullable NSString *)deviceTokenString -NS_SWIFT_NAME(setPushNotificationsDeviceToken(_:)) -DEPRECATED_MSG_ATTRIBUTE("`AppEvents.setPushNotificationsDeviceToken(_:)` is deprecated and will be removed in the next major release; please use `AppEvents.shared.setPushNotificationsDeviceToken(_:)` instead"); -// UNCRUSTIFY_FORMAT_ON - -/** - Sets and sends device token string to register the current application for push notifications. - - Sets and sends a device token string - - @param deviceTokenString Device token string. - */ -// UNCRUSTIFY_FORMAT_OFF -- (void)setPushNotificationsDeviceTokenString:(nullable NSString *)deviceTokenString -NS_SWIFT_NAME(setPushNotificationsDeviceToken(_:)); -// UNCRUSTIFY_FORMAT_ON - -/** - 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 - DEPRECATED_MSG_ATTRIBUTE("`AppEvents.flush()` is deprecated and will be removed in the next major release; please use `AppEvents.shared.flush()` instead"); - -/** - 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; - -/** - 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. - - The JSON in the request's response will include a "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 `Settings.shared.isEventDataUsageLimited` flag, or a specific Facebook user cannot be identified. - - @param accessToken The access token to use to establish the user's identity for users logged into Facebook through this app. - If `nil`, then `AccessToken.current` is used. - */ -+ (nullable FBSDKGraphRequest *)requestForCustomAudienceThirdPartyIDWithAccessToken:(nullable FBSDKAccessToken *)accessToken - DEPRECATED_MSG_ATTRIBUTE("`AppEvents.requestForCustomAudienceThirdPartyID(with:)` is deprecated and will be removed in the next major release; please use `AppEvents.shared.requestForCustomAudienceThirdPartyID(accessToken:)` instead"); - -/** - 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. - - The JSON in the request's response will include a "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 `Settings.shared.isEventDataUsageLimited` flag, or a specific Facebook user cannot be identified. - - @param accessToken The access token to use to establish the user's identity for users logged into Facebook through this app. - If `nil`, then `AccessToken.current` is used. - */ -// UNCRUSTIFY_FORMAT_OFF -- (nullable FBSDKGraphRequest *)requestForCustomAudienceThirdPartyIDWithAccessToken:(nullable FBSDKAccessToken *)accessToken -NS_SWIFT_NAME(requestForCustomAudienceThirdPartyID(accessToken:)); -// UNCRUSTIFY_FORMAT_ON - -/** - Clears the custom user ID to associate with all app events. - */ -+ (void)clearUserID - DEPRECATED_MSG_ATTRIBUTE("`AppEvents.clearUserID` is deprecated and will be removed in the next major release, please set `AppEvents.shared.userID` to `nil` instead"); - -/** - Sets custom user data to associate with all app events. All user data are hashed - and used to match Facebook user from this instance of an application. - - The user data will be persisted between application instances. - - @param email user's email - @param firstName user's first name - @param lastName user's last name - @param phone user's phone - @param dateOfBirth user's date of birth - @param gender user's gender - @param city user's city - @param state user's state - @param zip user's zip - @param country user's country - */ - -// UNCRUSTIFY_FORMAT_OFF -+ (void)setUserEmail:(nullable NSString *)email - firstName:(nullable NSString *)firstName - lastName:(nullable NSString *)lastName - phone:(nullable NSString *)phone - dateOfBirth:(nullable NSString *)dateOfBirth - gender:(nullable NSString *)gender - city:(nullable NSString *)city - state:(nullable NSString *)state - zip:(nullable NSString *)zip - country:(nullable NSString *)country -NS_SWIFT_NAME(setUser(email:firstName:lastName:phone:dateOfBirth:gender:city:state:zip:country:)) -DEPRECATED_MSG_ATTRIBUTE("Class methods for setting user information are deprecated and will be removed in the next major release. Please use the instance method versions instead."); -// UNCRUSTIFY_FORMAT_ON - -/** - Sets custom user data to associate with all app events. All user data are hashed - and used to match Facebook user from this instance of an application. - - The user data will be persisted between application instances. - - @param email user's email - @param firstName user's first name - @param lastName user's last name - @param phone user's phone - @param dateOfBirth user's date of birth - @param gender user's gender - @param city user's city - @param state user's state - @param zip user's zip - @param country user's country - */ - -// UNCRUSTIFY_FORMAT_OFF -- (void)setUserEmail:(nullable NSString *)email - firstName:(nullable NSString *)firstName - lastName:(nullable NSString *)lastName - phone:(nullable NSString *)phone - dateOfBirth:(nullable NSString *)dateOfBirth - gender:(nullable NSString *)gender - city:(nullable NSString *)city - state:(nullable NSString *)state - zip:(nullable NSString *)zip - country:(nullable NSString *)country -NS_SWIFT_NAME(setUser(email:firstName:lastName:phone:dateOfBirth:gender:city:state:zip:country:)); -// UNCRUSTIFY_FORMAT_ON - -/** - Returns the set user data else nil -*/ -+ (nullable NSString *)getUserData - DEPRECATED_MSG_ATTRIBUTE("Class methods for getting user information are deprecated and will be removed in the next major release. Please use the instance method versions instead."); - -/** - Returns the set user data else nil -*/ -- (nullable NSString *)getUserData; - -/** - Clears the current user data -*/ -+ (void)clearUserData - DEPRECATED_MSG_ATTRIBUTE("Class methods for setting user information are deprecated and will be removed in the next major release. Please use the instance method versions instead."); - -/** - Clears the current user data -*/ -- (void)clearUserData; - -/** - Sets custom user data to associate with all app events. All user data are hashed - and used to match Facebook user from this instance of an application. - - The user data will be persisted between application instances. - - @param data data - @param type data type, e.g. FBSDKAppEventEmail, FBSDKAppEventPhone - */ -+ (void)setUserData:(nullable NSString *)data - forType:(FBSDKAppEventUserDataType)type - DEPRECATED_MSG_ATTRIBUTE("Class methods for setting user information are deprecated and will be removed in the next major release. Please use the instance method versions instead."); - -/** - Sets custom user data to associate with all app events. All user data are hashed - and used to match Facebook user from this instance of an application. - - The user data will be persisted between application instances. - - @param data data - @param type data type, e.g. FBSDKAppEventEmail, FBSDKAppEventPhone - */ -- (void)setUserData:(nullable NSString *)data - forType:(FBSDKAppEventUserDataType)type; - -/** - Clears the current user data of certain type - */ -+ (void)clearUserDataForType:(FBSDKAppEventUserDataType)type - DEPRECATED_MSG_ATTRIBUTE("Class methods for setting user information are deprecated and will be removed in the next major release. Please use the instance method versions instead."); - -/** - Clears the current user data of certain type - */ -- (void)clearUserDataForType:(FBSDKAppEventUserDataType)type; - -#if !TARGET_OS_TV -/** - Intended to be used as part of a hybrid webapp. - If you call this method, the FB SDK will inject a new JavaScript object into your webview. - If the FB Pixel is used within the webview, and references the app ID of this app, - then it will detect the presence of this injected JavaScript object - and pass Pixel events back to the FB SDK for logging using the AppEvents framework. - - @param webView The webview to augment with the additional JavaScript behavior - */ -+ (void)augmentHybridWKWebView:(WKWebView *)webView - DEPRECATED_MSG_ATTRIBUTE("`AppEvents.augmentHybridWKWebView(_:)` is deprecated and will be removed in the next major release; please use `AppEvents.shared.augmentHybridWebView(_:)` instead"); - -/** - Intended to be used as part of a hybrid webapp. - If you call this method, the FB SDK will inject a new JavaScript object into your webview. - If the FB Pixel is used within the webview, and references the app ID of this app, - then it will detect the presence of this injected JavaScript object - and pass Pixel events back to the FB SDK for logging using the AppEvents framework. - - @param webView The webview to augment with the additional JavaScript behavior - */ -- (void)augmentHybridWebView:(WKWebView *)webView; -#endif - -/* - * Unity helper functions - */ - -/** - Set whether Unity is already initialized. - - @param isUnityInit Whether Unity is initialized. - - */ -+ (void)setIsUnityInit:(BOOL)isUnityInit - DEPRECATED_MSG_ATTRIBUTE("`AppEvents.setIsUnityInit(_:)` is deprecated and will be removed in the next major release; please use `AppEvents.shared.setIsUnityInitialized(_:)` instead"); - -/** - Set whether Unity is already initialized. - - @param isUnityInitialized Whether Unity is initialized. - - */ -- (void)setIsUnityInitialized:(BOOL)isUnityInitialized; - -/** - Send event bindings to Unity - */ -+ (void)sendEventBindingsToUnity - DEPRECATED_MSG_ATTRIBUTE("`AppEvents.sendEventBindingsToUnity()` is deprecated and will be removed in the next major release; please use `AppEvents.shared.sendEventBindingsToUnity()` instead"); - -/** - Send event bindings to Unity - */ -- (void)sendEventBindingsToUnity; - -/* - * SDK Specific Event Logging - * Do not call directly outside of the SDK itself. - */ - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -- (void)logInternalEvent:(FBSDKAppEventName)eventName - parameters:(nullable NSDictionary *)parameters - isImplicitlyLogged:(BOOL)isImplicitlyLogged; - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -- (void)logInternalEvent:(FBSDKAppEventName)eventName - parameters:(nullable NSDictionary *)parameters - isImplicitlyLogged:(BOOL)isImplicitlyLogged - accessToken:(FBSDKAccessToken *)accessToken; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppEventsFlushBehavior.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppEventsFlushBehavior.h deleted file mode 100644 index 50e799f..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppEventsFlushBehavior.h +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -/** - - NS_ENUM (NSUInteger, FBSDKAppEventsFlushBehavior) - - 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, -} NS_SWIFT_NAME(AppEvents.FlushBehavior); diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppEventsNotificationName.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppEventsNotificationName.h deleted file mode 100644 index 0183573..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppEventsNotificationName.h +++ /dev/null @@ -1,13 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -/** NSNotificationCenter name indicating a result of a failed log flush attempt. The posted object will be an NSError instance. */ -FOUNDATION_EXPORT NSNotificationName const FBSDKAppEventsLoggingResultNotification -NS_SWIFT_NAME(AppEventsLoggingResult); diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppLink.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppLink.h deleted file mode 100644 index ba82700..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppLink.h +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** The version of the App Link protocol that this library supports */ -FOUNDATION_EXPORT NSString *const FBSDKAppLinkVersion -NS_SWIFT_NAME(AppLinkVersion); - -/** - Contains App Link metadata relevant for navigation on this device - derived from the HTML at a given URL. - */ -NS_SWIFT_NAME(AppLink) -@interface FBSDKAppLink : NSObject - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/** - Creates a FBSDKAppLink with the given list of FBSDKAppLinkTargets and target URL. - - Generally, this will only be used by implementers of the FBSDKAppLinkResolving protocol, - as these implementers will produce App Link metadata for a given URL. - - @param sourceURL the URL from which this App Link is derived - @param targets an ordered list of FBSDKAppLinkTargets for this platform derived - from App Link metadata. - @param webURL the fallback web URL, if any, for the app link. - */ -// UNCRUSTIFY_FORMAT_OFF -+ (instancetype)appLinkWithSourceURL:(nullable NSURL *)sourceURL - targets:(NSArray *)targets - webURL:(nullable NSURL *)webURL -NS_SWIFT_NAME(init(sourceURL:targets:webURL:)); -// UNCRUSTIFY_FORMAT_ON - -/** The URL from which this FBSDKAppLink was derived */ -@property (nullable, nonatomic, readonly, strong) NSURL *sourceURL; - -/** - The ordered list of targets applicable to this platform that will be used - for navigation. - */ -@property (nonatomic, readonly, copy) NSArray> *targets; - -/** The fallback web URL to use if no targets are installed on this device. */ -@property (nullable, nonatomic, readonly, strong) NSURL *webURL; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppLinkNavigation.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppLinkNavigation.h deleted file mode 100644 index aaa8550..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppLinkNavigation.h +++ /dev/null @@ -1,147 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -#import -#import - -@protocol FBSDKSettings; - -NS_ASSUME_NONNULL_BEGIN - -/** - The result of calling navigate on a FBSDKAppLinkNavigation - */ -typedef NS_ENUM(NSInteger, FBSDKAppLinkNavigationType) { - /** Indicates that the navigation failed and no app was opened */ - FBSDKAppLinkNavigationTypeFailure, - /** Indicates that the navigation succeeded by opening the URL in the browser */ - FBSDKAppLinkNavigationTypeBrowser, - /** Indicates that the navigation succeeded by opening the URL in an app on the device */ - FBSDKAppLinkNavigationTypeApp, -} NS_SWIFT_NAME(AppLinkNavigation.Type); - -/** - Describes the callback for appLinkFromURLInBackground. - @param navType the FBSDKAppLink representing the deferred App Link - @param error the error during the request, if any - - */ -typedef void (^ FBSDKAppLinkNavigationBlock)(FBSDKAppLinkNavigationType navType, NSError *_Nullable error) -NS_SWIFT_NAME(AppLinkNavigationBlock); - -/** - Represents a pending request to navigate to an App Link. Most developers will - simply use navigateToURLInBackground: to open a URL, but developers can build - custom requests with additional navigation and app data attached to them by - creating FBSDKAppLinkNavigations themselves. - */ -NS_EXTENSION_UNAVAILABLE_IOS("Not available in app extension") -NS_SWIFT_NAME(AppLinkNavigation) -@interface FBSDKAppLinkNavigation : NSObject - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/** - The default resolver to be used for App Link resolution. If the developer has not set one explicitly, - a basic, built-in FBSDKWebViewAppLinkResolver will be used. - */ -@property (class, nonatomic, strong) id defaultResolver -NS_SWIFT_NAME(default); - -/** - The extras for the AppLinkNavigation. This will generally contain application-specific - data that should be passed along with the request, such as advertiser or affiliate IDs or - other such metadata relevant on this device. - */ -@property (nonatomic, readonly, copy) NSDictionary *extras; - -/** - The al_applink_data for the AppLinkNavigation. This will generally contain data common to - navigation attempts such as back-links, user agents, and other information that may be used - in routing and handling an App Link request. - */ -@property (nonatomic, readonly, copy) NSDictionary *appLinkData; - -/** The AppLink to navigate to */ -@property (nonatomic, readonly, strong) FBSDKAppLink *appLink; - -/** - Return navigation type for current instance. - No-side-effect version of navigate: - */ -@property (nonatomic, readonly) FBSDKAppLinkNavigationType navigationType; - -/** Creates an AppLinkNavigation with the given link, extras, and App Link data */ -// UNCRUSTIFY_FORMAT_OFF -+ (instancetype)navigationWithAppLink:(FBSDKAppLink *)appLink - extras:(NSDictionary *)extras - appLinkData:(NSDictionary *)appLinkData -NS_SWIFT_NAME(init(appLink:extras:appLinkData:)) -DEPRECATED_MSG_ATTRIBUTE("`init(appLink:extras:appLinkData:)` is deprecated and will be removed in the next major release, please use `init(appLink:extras:appLinkData:settings:)` instead"); - -/** Creates an AppLinkNavigation with the given link, extras, and App Link data */ -+ (instancetype)navigationWithAppLink:(FBSDKAppLink *)appLink - extras:(NSDictionary *)extras - appLinkData:(NSDictionary *)appLinkData - settings:(id)settings -NS_SWIFT_NAME(init(appLink:extras:appLinkData:settings:)); - -/** - Creates an NSDictionary with the correct format for iOS callback URLs, - to be used as 'appLinkData' argument in the call to navigationWithAppLink:extras:appLinkData: - */ -+ (NSDictionary *> *)callbackAppLinkDataForAppWithName:(NSString *)appName - url:(NSString *)url -NS_SWIFT_NAME(callbackAppLinkData(forApp:url:)); -// UNCRUSTIFY_FORMAT_ON - -/** Performs the navigation */ -- (FBSDKAppLinkNavigationType)navigate:(NSError **)error - __attribute__((swift_error(nonnull_error))); - -/** Returns a FBSDKAppLink for the given URL */ -+ (void)resolveAppLink:(NSURL *)destination handler:(FBSDKAppLinkBlock)handler; - -/** Returns a FBSDKAppLink for the given URL using the given App Link resolution strategy */ -+ (void)resolveAppLink:(NSURL *)destination - resolver:(id)resolver - handler:(FBSDKAppLinkBlock)handler; - -/** Navigates to a FBSDKAppLink and returns whether it opened in-app or in-browser */ -+ (FBSDKAppLinkNavigationType)navigateToAppLink:(FBSDKAppLink *)link error:(NSError **)error - __attribute__((swift_error(nonnull_error))); - -/** - Returns a FBSDKAppLinkNavigationType based on a FBSDKAppLink. - It's essentially a no-side-effect version of navigateToAppLink:error:, - allowing apps to determine flow based on the link type (e.g. open an - internal web view instead of going straight to the browser for regular links.) - */ -+ (FBSDKAppLinkNavigationType)navigationTypeForLink:(FBSDKAppLink *)link; - -/** Navigates to a URL (an asynchronous action) and returns a FBSDKNavigationType */ -+ (void)navigateToURL:(NSURL *)destination handler:(FBSDKAppLinkNavigationBlock)handler; - -/** - Navigates to a URL (an asynchronous action) using the given App Link resolution - strategy and returns a FBSDKNavigationType - */ -+ (void)navigateToURL:(NSURL *)destination - resolver:(id)resolver - handler:(FBSDKAppLinkNavigationBlock)handler; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h deleted file mode 100644 index 7240a02..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Describes the callback for appLinkFromURLInBackground. - @param appLinks the FBSDKAppLinks representing the deferred App Links - @param error the error during the request, if any - */ -typedef void (^ FBSDKAppLinksBlock)(NSDictionary *appLinks, - NSError *_Nullable error) -NS_SWIFT_NAME(AppLinksBlock); - -/** - - Provides an implementation of the FBSDKAppLinkResolving 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. - - Usage of this type requires a client token. See `[FBSDKSettings setClientToken:]` - */ - -NS_SWIFT_NAME(AppLinkResolver) -@interface FBSDKAppLinkResolver : NSObject - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/** - Asynchronously resolves App Link data for a given array of URLs. - - @param urls The URLs to resolve into an App Link. - @param handler The completion block that will return an App Link for the given URL. - */ -- (void)appLinksFromURLs:(NSArray *)urls handler:(FBSDKAppLinksBlock)handler - NS_EXTENSION_UNAVAILABLE_IOS("Not available in app extension"); - -/** - Allocates and initializes a new instance of FBSDKAppLinkResolver. - */ -+ (instancetype)resolver - NS_SWIFT_NAME(init()); - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolverRequestBuilder.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolverRequestBuilder.h deleted file mode 100644 index 4ee402f..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolverRequestBuilder.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Class responsible for generating the appropriate FBSDKGraphRequest for a given set of urls - */ -NS_SWIFT_NAME(AppLinkResolverRequestBuilder) -DEPRECATED_MSG_ATTRIBUTE("`FBSDKAppLinkResolverRequestBuilder` is deprecated and will be removed in the next major release") -@interface FBSDKAppLinkResolverRequestBuilder : NSObject - -/** - Generates the FBSDKGraphRequest - - @param urls The URLs to build the requests for - */ -- (FBSDKGraphRequest *)requestForURLs:(NSArray *)urls - NS_EXTENSION_UNAVAILABLE_IOS("Not available in app extension"); - -- (nullable NSString *)getIdiomSpecificField - NS_EXTENSION_UNAVAILABLE_IOS("Not available in app extension"); - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolving.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolving.h deleted file mode 100644 index 7bc09b7..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolving.h +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -NS_ASSUME_NONNULL_BEGIN - -@class FBSDKAppLink; - -/** - Describes the callback for appLinkFromURLInBackground. - @param appLink the FBSDKAppLink representing the deferred App Link - @param error the error during the request, if any - - */ -typedef void (^ FBSDKAppLinkBlock)(FBSDKAppLink *_Nullable appLink, NSError *_Nullable error) -NS_SWIFT_NAME(AppLinkBlock); - -/** - 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. - */ -NS_SWIFT_NAME(AppLinkResolving) -@protocol FBSDKAppLinkResolving - -/** - Asynchronously resolves App Link data for a given URL. - - @param url The URL to resolve into an App Link. - @param handler The completion block that will return an App Link for the given URL. - */ -- (void)appLinkFromURL:(NSURL *)url handler:(FBSDKAppLinkBlock)handler - NS_EXTENSION_UNAVAILABLE_IOS("Not available in app extension"); - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppLinkTarget.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppLinkTarget.h deleted file mode 100644 index b439cc7..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppLinkTarget.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Represents a target defined in App Link metadata, consisting of at least - a URL, and optionally an App Store ID and name. - */ -NS_SWIFT_NAME(AppLinkTarget) -@interface FBSDKAppLinkTarget : NSObject - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/** Creates a FBSDKAppLinkTarget with the given app site and target URL. */ -// UNCRUSTIFY_FORMAT_OFF -+ (instancetype)appLinkTargetWithURL:(nullable NSURL *)url - appStoreId:(nullable NSString *)appStoreId - appName:(NSString *)appName -NS_SWIFT_NAME(init(url:appStoreId:appName:)); -// UNCRUSTIFY_FORMAT_ON - -/** The URL prefix for this app link target */ -@property (nullable, nonatomic, readonly, strong) NSURL *URL; - -/** The app ID for the app store */ -@property (nullable, nonatomic, readonly, copy) NSString *appStoreId; - -/** The name of the app */ -@property (nonatomic, readonly, copy) NSString *appName; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppLinkTargetProtocol.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppLinkTargetProtocol.h deleted file mode 100644 index bcaa79e..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppLinkTargetProtocol.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -NS_ASSUME_NONNULL_BEGIN - -/// A protocol to describe an AppLinkTarget -NS_SWIFT_NAME(AppLinkTargetProtocol) -@protocol FBSDKAppLinkTarget - -// UNCRUSTIFY_FORMAT_OFF -+ (instancetype)appLinkTargetWithURL:(nullable NSURL *)url - appStoreId:(nullable NSString *)appStoreId - appName:(NSString *)appName -NS_SWIFT_NAME(init(url:appStoreId:appName:)); -// UNCRUSTIFY_FORMAT_ON - -/** The URL prefix for this app link target */ -@property (nullable, nonatomic, readonly) NSURL *URL; - -/** The app ID for the app store */ -@property (nullable, nonatomic, readonly, copy) NSString *appStoreId; - -/** The name of the app */ -@property (nonatomic, readonly, copy) NSString *appName; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h deleted file mode 100644 index 5717354..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Describes the callback for fetchDeferredAppLink. - @param url the url representing the deferred App Link - @param error the error during the request, if any - - - The url may also have a fb_click_time_utc query parameter that - represents when the click occurred that caused the deferred App Link to be created. - */ -typedef void (^ FBSDKURLBlock)(NSURL *_Nullable url, NSError *_Nullable error) -NS_SWIFT_NAME(URLBlock); - -/** - Class containing App Links related utility methods. - */ -NS_SWIFT_NAME(AppLinkUtility) -@interface FBSDKAppLinkUtility : NSObject - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/** - 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 - - - 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:(nullable FBSDKURLBlock)handler; - -/* - Call this method to fetch promotion code from the url, if it's present. - - @param url App Link url that was passed to the app. - - @return Promotion code string. - - - Call this method to fetch App Invite Promotion Code from applink if present. - This can be used to fetch the promotion code that was associated with the invite when it - was created. This method should be called with the url from the openURL method. -*/ -+ (nullable NSString *)appInvitePromotionCodeFromURL:(NSURL *)url; - -/** - Check whether the scheme is defined in the app's URL schemes. - @param scheme the scheme of App Link URL - @return YES if the scheme is defined, otherwise NO. -*/ -+ (BOOL)isMatchURLScheme:(NSString *)scheme; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppURLSchemeProviding.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppURLSchemeProviding.h deleted file mode 100644 index f8c60b2..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAppURLSchemeProviding.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(AppURLSchemeProviding) -@protocol FBSDKAppURLSchemeProviding -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -- (NSString *)appURLScheme; - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -- (void)validateURLSchemes; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h deleted file mode 100644 index 23486e8..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h +++ /dev/null @@ -1,118 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - - 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). - - - - 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. - */ -NS_SWIFT_NAME(ApplicationDelegate) -@interface FBSDKApplicationDelegate : NSObject - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/** - Gets the singleton instance. - */ -@property (class, nonatomic, readonly, strong) FBSDKApplicationDelegate *sharedInstance -NS_SWIFT_NAME(shared); - -/** - 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:(nullable NSString *)sourceApplication - annotation:(nullable id)annotation; - -/** - Call this method from the [UIApplicationDelegate application:openURL:options:] 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:options:]. - - @param url The URL as passed to [UIApplicationDelegate application:openURL:options:]. - - @param options The options dictionary as passed to [UIApplicationDelegate application:openURL:options:]. - - @return YES if the url was intended for the Facebook SDK, NO if not. - */ -- (BOOL)application:(UIApplication *)application - openURL:(NSURL *)url - options:(NSDictionary *)options; - -/** - 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. - As part of SDK initialization basic auto logging of app events will occur, this can be -controlled via 'FacebookAutoLogAppEventsEnabled' key in the project info plist file. - - @param application The application as passed to [UIApplicationDelegate application:didFinishLaunchingWithOptions:]. - - @param launchOptions The launchOptions as passed to [UIApplicationDelegate application:didFinishLaunchingWithOptions:]. - - @return True if there are any added application observers that themselves return true from calling `application:didFinishLaunchingWithOptions:`. - Otherwise will return false. Note: If this method is called after calling `initializeSDK` then the return type will always be false. - */ -- (BOOL) application:(UIApplication *)application - didFinishLaunchingWithOptions:(nullable NSDictionary *)launchOptions; - -/** - Initializes the SDK. - - If you are using the SDK within the context of the UIApplication lifecycle, do not use this method. - Instead use `application: didFinishLaunchingWithOptions:`. - - As part of SDK initialization basic auto logging of app events will occur, this can be - controlled via 'FacebookAutoLogAppEventsEnabled' key in the project info plist file. - */ -- (void)initializeSDK; - -/** - Adds an observer that will be informed about application lifecycle events. - - @note Observers are weakly held - */ -- (void)addObserver:(id)observer; - -/** - Removes an observer so that it will no longer be informed about application lifecycle events. - - @note Observers are weakly held - */ -- (void)removeObserver:(id)observer; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKApplicationObserving.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKApplicationObserving.h deleted file mode 100644 index 36db2b2..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKApplicationObserving.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -/* - Describes any types that optionally responds to various lifecycle events - received by the system and propagated by `ApplicationDelegate`. - */ -@protocol FBSDKApplicationObserving - -@optional -- (void)applicationDidBecomeActive:(nullable UIApplication *)application; -- (void)applicationWillResignActive:(nullable UIApplication *)application; -- (void)applicationDidEnterBackground:(nullable UIApplication *)application; -- (BOOL) application:(UIApplication *)application - didFinishLaunchingWithOptions:(nullable NSDictionary *)launchOptions; - -- (BOOL)application:(UIApplication *)application - openURL:(NSURL *)url - sourceApplication:(nullable NSString *)sourceApplication - annotation:(nullable id)annotation; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationToken.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationToken.h deleted file mode 100644 index 02df879..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationToken.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -@class FBSDKAuthenticationTokenClaims; -@protocol FBSDKTokenCaching; - -NS_ASSUME_NONNULL_BEGIN - -/** - Represent an AuthenticationToken used for a login attempt -*/ -NS_SWIFT_NAME(AuthenticationToken) -@interface FBSDKAuthenticationToken : NSObject - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/** - The "global" authentication token that represents the currently logged in user. - - The `currentAuthenticationToken` represents the authentication token of the - current user and can be used by a client to verify an authentication attempt. - */ -@property (class, nullable, nonatomic, copy) FBSDKAuthenticationToken *currentAuthenticationToken; - -/** - The raw token string from the authentication response - */ -@property (nonatomic, readonly, copy) NSString *tokenString; - -/** - The nonce from the decoded authentication response - */ -@property (nonatomic, readonly, copy) NSString *nonce; - -/** - The graph domain where the user is authenticated. - */ -@property (nonatomic, readonly, copy) NSString *graphDomain; - -/** - Returns the claims encoded in the AuthenticationToken - */ -- (nullable FBSDKAuthenticationTokenClaims *)claims; - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -@property (class, nullable, nonatomic, copy) id tokenCache; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenClaims.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenClaims.h deleted file mode 100644 index e535596..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenClaims.h +++ /dev/null @@ -1,89 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(AuthenticationTokenClaims) -@interface FBSDKAuthenticationTokenClaims : NSObject - -/// A unique identifier for the token. -@property (nonatomic, readonly, strong) NSString *jti; - -/// Issuer Identifier for the Issuer of the response. -@property (nonatomic, readonly, strong) NSString *iss; - -/// Audience(s) that this ID Token is intended for. -@property (nonatomic, readonly, strong) NSString *aud; - -/// String value used to associate a Client session with an ID Token, and to mitigate replay attacks. -@property (nonatomic, readonly, strong) NSString *nonce; - -/// Expiration time on or after which the ID Token MUST NOT be accepted for processing. -@property (nonatomic, readonly, assign) NSTimeInterval exp; - -/// Time at which the JWT was issued. -@property (nonatomic, readonly, assign) NSTimeInterval iat; - -/// Subject - Identifier for the End-User at the Issuer. -@property (nonatomic, readonly, strong) NSString *sub; - -/// End-User's full name in displayable form including all name parts. -@property (nullable, nonatomic, readonly, strong) NSString *name; - -/// End-User's given name in displayable form -@property (nullable, nonatomic, readonly, strong) NSString *givenName; - -/// End-User's middle name in displayable form -@property (nullable, nonatomic, readonly, strong) NSString *middleName; - -/// End-User's family name in displayable form -@property (nullable, nonatomic, readonly, strong) NSString *familyName; - -/** - End-User's preferred e-mail address. - - IMPORTANT: This field will only be populated if your user has granted your application the 'email' permission. - */ -@property (nullable, nonatomic, readonly, strong) NSString *email; - -/// URL of the End-User's profile picture. -@property (nullable, nonatomic, readonly, strong) NSString *picture; - -/** - End-User's friends. - - IMPORTANT: This field will only be populated if your user has granted your application the 'user_friends' permission. - */ -@property (nullable, nonatomic, readonly, strong) NSArray *userFriends; - -/// End-User's birthday -@property (nullable, nonatomic, readonly, strong) NSString *userBirthday; - -/// End-User's age range -@property (nullable, nonatomic, readonly, strong) NSDictionary *userAgeRange; - -/// End-User's hometown -@property (nullable, nonatomic, readonly, strong) NSDictionary *userHometown; - -/// End-User's location -@property (nullable, nonatomic, readonly, strong) NSDictionary *userLocation; - -/// End-User's gender -@property (nullable, nonatomic, readonly, strong) NSString *userGender; - -/// End-User's link -@property (nullable, nonatomic, readonly, strong) NSString *userLink; - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenProtocols.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenProtocols.h deleted file mode 100644 index dc115cc..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKAuthenticationTokenProtocols.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(AuthenticationTokenProviding) -@protocol FBSDKAuthenticationTokenProviding - -@property (class, nullable, nonatomic, readonly, copy) FBSDKAuthenticationToken *currentAuthenticationToken; -@property (class, nullable, nonatomic, copy) id tokenCache; - -@end - -NS_SWIFT_NAME(AuthenticationTokenSetting) -@protocol FBSDKAuthenticationTokenSetting - -@property (class, nullable, nonatomic, copy) FBSDKAuthenticationToken *currentAuthenticationToken; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPI.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPI.h deleted file mode 100644 index f3dc541..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPI.h +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#if !TARGET_OS_TV - - #import - - #import - #import - #import - #import - #import - #import - #import - #import - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -typedef void (^FBSDKAuthenticationCompletionHandler)(NSURL *_Nullable callbackURL, NSError *_Nullable error); - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(BridgeAPI) -@interface FBSDKBridgeAPI : NSObject - -@property (class, nonatomic, readonly, strong) FBSDKBridgeAPI *sharedInstance -NS_SWIFT_NAME(shared); -@property (nonatomic, readonly, getter = isActive) BOOL active; - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -- (void)openURL:(NSURL *)url - sender:(nullable id)sender - handler:(FBSDKSuccessBlock)handler; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIProtocol.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIProtocol.h deleted file mode 100644 index 4add727..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIProtocol.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -FOUNDATION_EXPORT NSString *const FBSDKBridgeAPIAppIDKey; -FOUNDATION_EXPORT NSString *const FBSDKBridgeAPISchemeSuffixKey; -FOUNDATION_EXPORT NSString *const FBSDKBridgeAPIVersionKey; - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(BridgeAPIProtocol) -@protocol FBSDKBridgeAPIProtocol - -- (nullable NSURL *)requestURLWithActionID:(NSString *)actionID - scheme:(NSString *)scheme - methodName:(NSString *)methodName - parameters:(NSDictionary *)parameters - error:(NSError *_Nullable *)errorRef; -- (nullable NSDictionary *)responseParametersForActionID:(NSString *)actionID - queryParameters:(NSDictionary *)queryParameters - cancelled:(nullable BOOL *)cancelledRef - error:(NSError *_Nullable *)errorRef; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIProtocolType.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIProtocolType.h deleted file mode 100644 index 080cf57..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIProtocolType.h +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -typedef NS_ENUM(NSUInteger, FBSDKBridgeAPIProtocolType) { - FBSDKBridgeAPIProtocolTypeNative, - FBSDKBridgeAPIProtocolTypeWeb, -}; - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequest.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequest.h deleted file mode 100644 index ff85656..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequest.h +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -#import -#import -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(BridgeAPIRequest) -@interface FBSDKBridgeAPIRequest : NSObject - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; -+ (nullable instancetype)bridgeAPIRequestWithProtocolType:(FBSDKBridgeAPIProtocolType)protocolType - scheme:(FBSDKURLScheme)scheme - methodName:(nullable NSString *)methodName - parameters:(nullable NSDictionary *)parameters - userInfo:(nullable NSDictionary *)userInfo; - -@property (nonatomic, readonly, copy) NSString *actionID; -@property (nullable, nonatomic, readonly, copy) NSString *methodName; -@property (nullable, nonatomic, readonly, copy) NSDictionary *parameters; -@property (nonatomic, readonly, assign) FBSDKBridgeAPIProtocolType protocolType; -@property (nonatomic, readonly, copy) FBSDKURLScheme scheme; -@property (nullable, nonatomic, readonly, copy) NSDictionary *userInfo; - -- (nullable NSURL *)requestURL:(NSError *_Nullable *)errorRef; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestCreating.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestCreating.h deleted file mode 100644 index 888ccb0..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestCreating.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -#import - -@protocol FBSDKBridgeAPIRequest; - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(BridgeAPIRequestCreating) -@protocol FBSDKBridgeAPIRequestCreating - -- (nullable id)bridgeAPIRequestWithProtocolType:(FBSDKBridgeAPIProtocolType)protocolType - scheme:(NSString *)scheme - methodName:(nullable NSString *)methodName - parameters:(nullable NSDictionary *)parameters - userInfo:(nullable NSDictionary *)userInfo; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestOpening.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestOpening.h deleted file mode 100644 index 5319d73..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestOpening.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import -#import - -#import -#import - -@protocol FBSDKBridgeAPIRequest; -@protocol FBSDKURLOpening; - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(BridgeAPIRequestOpening) -@protocol FBSDKBridgeAPIRequestOpening - -- (void)openBridgeAPIRequest:(NSObject *)request - useSafariViewController:(BOOL)useSafariViewController - fromViewController:(nullable UIViewController *)fromViewController - completionBlock:(FBSDKBridgeAPIResponseBlock)completionBlock; - -// UNCRUSTIFY_FORMAT_OFF -- (void)openURLWithSafariViewController:(NSURL *)url - sender:(nullable id)sender - fromViewController:(nullable UIViewController *)fromViewController - handler:(FBSDKSuccessBlock)handler -NS_SWIFT_NAME(openURLWithSafariViewController(url:sender:from:handler:)); -// UNCRUSTIFY_FORMAT_ON - -- (void)openURL:(NSURL *)url - sender:(nullable id)sender - handler:(FBSDKSuccessBlock)handler; -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestProtocol.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestProtocol.h deleted file mode 100644 index dad4e11..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIRequestProtocol.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -#import - -@protocol FBSDKBridgeAPIProtocol; - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(BridgeAPIRequestProtocol) -@protocol FBSDKBridgeAPIRequest - -@property (nonatomic, readonly, copy) NSString *scheme; -@property (nonatomic, readonly, copy) NSString *actionID; -@property (nullable, nonatomic, readonly, copy) NSString *methodName; -@property (nonatomic, readonly, assign) FBSDKBridgeAPIProtocolType protocolType; -@property (nullable, nonatomic, readonly, strong) id protocol; - -- (nullable NSURL *)requestURL:(NSError *_Nullable *)errorRef; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIResponse.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIResponse.h deleted file mode 100644 index 58660ce..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKBridgeAPIResponse.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -@protocol FBSDKBridgeAPIRequest; -@class FBSDKBridgeAPIResponse; - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -typedef void (^ FBSDKBridgeAPIResponseBlock)(FBSDKBridgeAPIResponse *response) -NS_SWIFT_NAME(BridgeAPIResponseBlock); - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(BridgeAPIResponse) -@interface FBSDKBridgeAPIResponse : NSObject - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -+ (instancetype)bridgeAPIResponseWithRequest:(NSObject *)request error:(NSError *)error; -+ (nullable instancetype)bridgeAPIResponseWithRequest:(NSObject *)request - responseURL:(NSURL *)responseURL - sourceApplication:(nullable NSString *)sourceApplication - error:(NSError *__autoreleasing *)errorRef; -+ (instancetype)bridgeAPIResponseCancelledWithRequest:(NSObject *)request; - -@property (nonatomic, readonly, getter = isCancelled, assign) BOOL cancelled; -@property (nullable, nonatomic, readonly, copy) NSError *error; -@property (nonatomic, readonly, copy) NSObject *request; -@property (nullable, nonatomic, readonly, copy) NSDictionary *responseParameters; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKButton.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKButton.h deleted file mode 100644 index 9d3b61c..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKButton.h +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import -@class FBSDKIcon; - -NS_ASSUME_NONNULL_BEGIN - -/** - A base class for common SDK buttons. - */ -NS_SWIFT_NAME(FBButton) -@interface FBSDKButton : FBSDKImpressionLoggingButton - -@property (nonatomic, readonly, getter = isImplicitlyDisabled) BOOL implicitlyDisabled; - -- (void)checkImplicitlyDisabled; -- (void)configureWithIcon:(nullable FBSDKIcon *)icon - title:(nullable NSString *)title - backgroundColor:(nullable UIColor *)backgroundColor - highlightedColor:(nullable UIColor *)highlightedColor; - -/** - Internal method exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -- (void) configureWithIcon:(nullable FBSDKIcon *)icon - title:(nullable NSString *)title - backgroundColor:(nullable UIColor *)backgroundColor - highlightedColor:(nullable UIColor *)highlightedColor - selectedTitle:(nullable NSString *)selectedTitle - selectedIcon:(nullable FBSDKIcon *)selectedIcon - selectedColor:(nullable UIColor *)selectedColor - selectedHighlightedColor:(nullable UIColor *)selectedHighlightedColor; - -/** - Internal method exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -- (UIColor *)defaultBackgroundColor; - -/** - Internal method exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -- (CGSize)sizeThatFits:(CGSize)size title:(NSString *)title; - -/** - Internal method exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -- (CGSize)textSizeForText:(NSString *)text font:(UIFont *)font constrainedSize:(CGSize)constrainedSize lineBreakMode:(NSLineBreakMode)lineBreakMode; - -/** - Internal method exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -- (void)logTapEventWithEventName:(NSString *)eventName - parameters:(nullable NSDictionary *)parameters; -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKButtonImpressionLogging.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKButtonImpressionLogging.h deleted file mode 100644 index 4cb7b3b..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKButtonImpressionLogging.h +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(FBButtonImpressionLogging) -@protocol FBSDKButtonImpressionLogging - -@property (nullable, nonatomic, readonly, copy) NSDictionary *analyticsParameters; -@property (nonatomic, readonly, copy) FBSDKAppEventName impressionTrackingEventName; -@property (nonatomic, readonly, copy) NSString *impressionTrackingIdentifier; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKConstants.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKConstants.h deleted file mode 100644 index e20ba20..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKConstants.h +++ /dev/null @@ -1,240 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - The error domain for all errors from FBSDKCoreKit. - - Error codes from the SDK in the range 0-99 are reserved for this domain. - */ -FOUNDATION_EXPORT NSErrorDomain const FBSDKErrorDomain -NS_SWIFT_NAME(ErrorDomain); - -/* - @methodgroup error userInfo keys - */ - -/** - The userInfo key for the invalid collection for errors with FBSDKErrorInvalidArgument. - - If the invalid argument is a collection, the collection can be found with this key and the individual - invalid item can be found with FBSDKErrorArgumentValueKey. - */ -FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorArgumentCollectionKey -NS_SWIFT_NAME(ErrorArgumentCollectionKey); - -/** - The userInfo key for the invalid argument name for errors with FBSDKErrorInvalidArgument. - */ -FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorArgumentNameKey -NS_SWIFT_NAME(ErrorArgumentNameKey); - -/** - The userInfo key for the invalid argument value for errors with FBSDKErrorInvalidArgument. - */ -FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorArgumentValueKey -NS_SWIFT_NAME(ErrorArgumentValueKey); - -/** - The userInfo key for the message for developers in NSErrors that originate from the SDK. - - The developer message will not be localized and is not intended to be presented within the app. - */ -FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorDeveloperMessageKey -NS_SWIFT_NAME(ErrorDeveloperMessageKey); - -/** - The userInfo key describing a localized description that can be presented to the user. - */ -FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorLocalizedDescriptionKey -NS_SWIFT_NAME(ErrorLocalizedDescriptionKey); - -/** - The userInfo key describing a localized title that can be presented to the user, used with `FBSDKLocalizedErrorDescriptionKey`. - */ -FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKErrorLocalizedTitleKey -NS_SWIFT_NAME(ErrorLocalizedTitleKey); - -/* - @methodgroup FBSDKGraphRequest error userInfo keys - */ - -/** - The userInfo key describing the error category, for error recovery purposes. - - See `FBSDKGraphErrorRecoveryProcessor` and `[FBSDKGraphRequest disableErrorRecovery]`. - */ -FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorKey -NS_SWIFT_NAME(GraphRequestErrorKey); - -/* - The userInfo key for the Graph API error code. - */ -FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorGraphErrorCodeKey -NS_SWIFT_NAME(GraphRequestErrorGraphErrorCodeKey); - -/* - The userInfo key for the Graph API error subcode. - */ -FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorGraphErrorSubcodeKey -NS_SWIFT_NAME(GraphRequestErrorGraphErrorSubcodeKey); - -/* - The userInfo key for the HTTP status code. - */ -FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorHTTPStatusCodeKey -NS_SWIFT_NAME(GraphRequestErrorHTTPStatusCodeKey); - -/* - The userInfo key for the raw JSON response. - */ -FOUNDATION_EXPORT NSErrorUserInfoKey const FBSDKGraphRequestErrorParsedJSONResponseKey -NS_SWIFT_NAME(GraphRequestErrorParsedJSONResponseKey); - -/* - @methodgroup Common Code Block typedefs - */ - -/** - Success Block - */ -typedef void (^ FBSDKCodeBlock)(void) -NS_SWIFT_NAME(CodeBlock); - -/** - Error Block - */ -typedef void (^ FBSDKErrorBlock)(NSError *_Nullable error) -NS_SWIFT_NAME(ErrorBlock); - -/** - Success Block - */ -typedef void (^ FBSDKSuccessBlock)(BOOL success, NSError *_Nullable error) -NS_SWIFT_NAME(SuccessBlock); - -/* - @methodgroup Enums - */ - -#ifndef NS_ERROR_ENUM - #define NS_ERROR_ENUM(_domain, _name) \ - enum _name : NSInteger _name; \ - enum __attribute__((ns_error_domain(_domain))) _name: NSInteger -#endif - -/** - FBSDKCoreError - Error codes for FBSDKErrorDomain. - */ -typedef NS_ERROR_ENUM (FBSDKErrorDomain, FBSDKCoreError) -{ - /** - Reserved. - */ - FBSDKErrorReserved = 0, - - /** - The error code for errors from invalid encryption on incoming encryption URLs. - */ - FBSDKErrorEncryption, - - /** - The error code for errors from invalid arguments to SDK methods. - */ - FBSDKErrorInvalidArgument, - - /** - The error code for unknown errors. - */ - FBSDKErrorUnknown, - - /** - A request failed due to a network error. Use NSUnderlyingErrorKey to retrieve - the error object from the NSURLSession for more information. - */ - FBSDKErrorNetwork, - - /** - The error code for errors encountered during an App Events flush. - */ - FBSDKErrorAppEventsFlush, - - /** - An endpoint that returns a binary response was used with FBSDKGraphRequestConnection. - - Endpoints that return image/jpg, etc. should be accessed using NSURLRequest - */ - FBSDKErrorGraphRequestNonTextMimeTypeReturned, - - /** - The operation failed because the server returned an unexpected response. - - You can get this error if you are not using the most recent SDK, or you are accessing a version of the - Graph API incompatible with the current SDK. - */ - FBSDKErrorGraphRequestProtocolMismatch, - - /** - The Graph API returned an error. - - See below for useful userInfo keys (beginning with FBSDKGraphRequestError*) - */ - FBSDKErrorGraphRequestGraphAPI, - - /** - The specified dialog configuration is not available. - - This error may signify that the configuration for the dialogs has not yet been downloaded from the server - or that the dialog is unavailable. Subsequent attempts to use the dialog may succeed as the configuration is loaded. - */ - FBSDKErrorDialogUnavailable, - - /** - Indicates an operation failed because a required access token was not found. - */ - FBSDKErrorAccessTokenRequired, - - /** - Indicates an app switch (typically for a dialog) failed because the destination app is out of date. - */ - FBSDKErrorAppVersionUnsupported, - - /** - Indicates an app switch to the browser (typically for a dialog) failed. - */ - FBSDKErrorBrowserUnavailable, - - /** - Indicates that a bridge api interaction was interrupted. - */ - FBSDKErrorBridgeAPIInterruption, - - /** - Indicates that a bridge api response creation failed. - */ - FBSDKErrorBridgeAPIResponse, -} NS_SWIFT_NAME(CoreError); - -/** - FBSDKGraphRequestError - Describes the category of Facebook error. See `FBSDKGraphRequestErrorKey`. - */ -typedef NS_ENUM(NSUInteger, FBSDKGraphRequestError) { - /** The default error category that is not known to be recoverable. Check `FBSDKLocalizedErrorDescriptionKey` for a user facing message. */ - FBSDKGraphRequestErrorOther = 0, - /** Indicates the error is temporary (such as server throttling). While a recoveryAttempter will be provided with the error instance, the attempt is guaranteed to succeed so you can simply retry the operation if you do not want to present an alert. */ - FBSDKGraphRequestErrorTransient = 1, - /** Indicates the error can be recovered (such as requiring a login). A recoveryAttempter will be provided with the error instance that can take UI action. */ - FBSDKGraphRequestErrorRecoverable = 2, -} NS_SWIFT_NAME(GraphRequestError); - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-Swift.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-Swift.h deleted file mode 100644 index f66ca54..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-Swift.h +++ /dev/null @@ -1,647 +0,0 @@ -#if 0 -#elif defined(__arm64__) && __arm64__ -// Generated by Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -#ifndef FBSDKCOREKIT_SWIFT_H -#define FBSDKCOREKIT_SWIFT_H -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wgcc-compat" - -#if !defined(__has_include) -# define __has_include(x) 0 -#endif -#if !defined(__has_attribute) -# define __has_attribute(x) 0 -#endif -#if !defined(__has_feature) -# define __has_feature(x) 0 -#endif -#if !defined(__has_warning) -# define __has_warning(x) 0 -#endif - -#if __has_include() -# include -#endif - -#pragma clang diagnostic ignored "-Wauto-import" -#include -#include -#include -#include - -#if !defined(SWIFT_TYPEDEFS) -# define SWIFT_TYPEDEFS 1 -# if __has_include() -# include -# elif !defined(__cplusplus) -typedef uint_least16_t char16_t; -typedef uint_least32_t char32_t; -# endif -typedef float swift_float2 __attribute__((__ext_vector_type__(2))); -typedef float swift_float3 __attribute__((__ext_vector_type__(3))); -typedef float swift_float4 __attribute__((__ext_vector_type__(4))); -typedef double swift_double2 __attribute__((__ext_vector_type__(2))); -typedef double swift_double3 __attribute__((__ext_vector_type__(3))); -typedef double swift_double4 __attribute__((__ext_vector_type__(4))); -typedef int swift_int2 __attribute__((__ext_vector_type__(2))); -typedef int swift_int3 __attribute__((__ext_vector_type__(3))); -typedef int swift_int4 __attribute__((__ext_vector_type__(4))); -typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); -typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); -typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); -#endif - -#if !defined(SWIFT_PASTE) -# define SWIFT_PASTE_HELPER(x, y) x##y -# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) -#endif -#if !defined(SWIFT_METATYPE) -# define SWIFT_METATYPE(X) Class -#endif -#if !defined(SWIFT_CLASS_PROPERTY) -# if __has_feature(objc_class_property) -# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ -# else -# define SWIFT_CLASS_PROPERTY(...) -# endif -#endif - -#if __has_attribute(objc_runtime_name) -# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) -#else -# define SWIFT_RUNTIME_NAME(X) -#endif -#if __has_attribute(swift_name) -# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) -#else -# define SWIFT_COMPILE_NAME(X) -#endif -#if __has_attribute(objc_method_family) -# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) -#else -# define SWIFT_METHOD_FAMILY(X) -#endif -#if __has_attribute(noescape) -# define SWIFT_NOESCAPE __attribute__((noescape)) -#else -# define SWIFT_NOESCAPE -#endif -#if __has_attribute(ns_consumed) -# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) -#else -# define SWIFT_RELEASES_ARGUMENT -#endif -#if __has_attribute(warn_unused_result) -# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) -#else -# define SWIFT_WARN_UNUSED_RESULT -#endif -#if __has_attribute(noreturn) -# define SWIFT_NORETURN __attribute__((noreturn)) -#else -# define SWIFT_NORETURN -#endif -#if !defined(SWIFT_CLASS_EXTRA) -# define SWIFT_CLASS_EXTRA -#endif -#if !defined(SWIFT_PROTOCOL_EXTRA) -# define SWIFT_PROTOCOL_EXTRA -#endif -#if !defined(SWIFT_ENUM_EXTRA) -# define SWIFT_ENUM_EXTRA -#endif -#if !defined(SWIFT_CLASS) -# if __has_attribute(objc_subclassing_restricted) -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# else -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# endif -#endif -#if !defined(SWIFT_RESILIENT_CLASS) -# if __has_attribute(objc_class_stub) -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) -# else -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) -# endif -#endif - -#if !defined(SWIFT_PROTOCOL) -# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -#endif - -#if !defined(SWIFT_EXTENSION) -# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) -#endif - -#if !defined(OBJC_DESIGNATED_INITIALIZER) -# if __has_attribute(objc_designated_initializer) -# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) -# else -# define OBJC_DESIGNATED_INITIALIZER -# endif -#endif -#if !defined(SWIFT_ENUM_ATTR) -# if defined(__has_attribute) && __has_attribute(enum_extensibility) -# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) -# else -# define SWIFT_ENUM_ATTR(_extensibility) -# endif -#endif -#if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# if __has_feature(generalized_swift_name) -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# else -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) -# endif -#endif -#if !defined(SWIFT_UNAVAILABLE) -# define SWIFT_UNAVAILABLE __attribute__((unavailable)) -#endif -#if !defined(SWIFT_UNAVAILABLE_MSG) -# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) -#endif -#if !defined(SWIFT_AVAILABILITY) -# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) -#endif -#if !defined(SWIFT_WEAK_IMPORT) -# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) -#endif -#if !defined(SWIFT_DEPRECATED) -# define SWIFT_DEPRECATED __attribute__((deprecated)) -#endif -#if !defined(SWIFT_DEPRECATED_MSG) -# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) -#endif -#if __has_feature(attribute_diagnose_if_objc) -# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) -#else -# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) -#endif -#if !defined(IBSegueAction) -# define IBSegueAction -#endif -#if __has_feature(modules) -#if __has_warning("-Watimport-in-framework-header") -#pragma clang diagnostic ignored "-Watimport-in-framework-header" -#endif -#endif - -#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" -#pragma clang diagnostic ignored "-Wduplicate-method-arg" -#if __has_warning("-Wpragma-clang-attribute") -# pragma clang diagnostic ignored "-Wpragma-clang-attribute" -#endif -#pragma clang diagnostic ignored "-Wunknown-pragmas" -#pragma clang diagnostic ignored "-Wnullability" - -#if __has_attribute(external_source_symbol) -# pragma push_macro("any") -# undef any -# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKCoreKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) -# pragma pop_macro("any") -#endif - - -#if __has_attribute(external_source_symbol) -# pragma clang attribute pop -#endif -#pragma clang diagnostic pop -#endif - -#elif defined(__x86_64__) && __x86_64__ -// Generated by Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -#ifndef FBSDKCOREKIT_SWIFT_H -#define FBSDKCOREKIT_SWIFT_H -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wgcc-compat" - -#if !defined(__has_include) -# define __has_include(x) 0 -#endif -#if !defined(__has_attribute) -# define __has_attribute(x) 0 -#endif -#if !defined(__has_feature) -# define __has_feature(x) 0 -#endif -#if !defined(__has_warning) -# define __has_warning(x) 0 -#endif - -#if __has_include() -# include -#endif - -#pragma clang diagnostic ignored "-Wauto-import" -#include -#include -#include -#include - -#if !defined(SWIFT_TYPEDEFS) -# define SWIFT_TYPEDEFS 1 -# if __has_include() -# include -# elif !defined(__cplusplus) -typedef uint_least16_t char16_t; -typedef uint_least32_t char32_t; -# endif -typedef float swift_float2 __attribute__((__ext_vector_type__(2))); -typedef float swift_float3 __attribute__((__ext_vector_type__(3))); -typedef float swift_float4 __attribute__((__ext_vector_type__(4))); -typedef double swift_double2 __attribute__((__ext_vector_type__(2))); -typedef double swift_double3 __attribute__((__ext_vector_type__(3))); -typedef double swift_double4 __attribute__((__ext_vector_type__(4))); -typedef int swift_int2 __attribute__((__ext_vector_type__(2))); -typedef int swift_int3 __attribute__((__ext_vector_type__(3))); -typedef int swift_int4 __attribute__((__ext_vector_type__(4))); -typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); -typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); -typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); -#endif - -#if !defined(SWIFT_PASTE) -# define SWIFT_PASTE_HELPER(x, y) x##y -# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) -#endif -#if !defined(SWIFT_METATYPE) -# define SWIFT_METATYPE(X) Class -#endif -#if !defined(SWIFT_CLASS_PROPERTY) -# if __has_feature(objc_class_property) -# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ -# else -# define SWIFT_CLASS_PROPERTY(...) -# endif -#endif - -#if __has_attribute(objc_runtime_name) -# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) -#else -# define SWIFT_RUNTIME_NAME(X) -#endif -#if __has_attribute(swift_name) -# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) -#else -# define SWIFT_COMPILE_NAME(X) -#endif -#if __has_attribute(objc_method_family) -# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) -#else -# define SWIFT_METHOD_FAMILY(X) -#endif -#if __has_attribute(noescape) -# define SWIFT_NOESCAPE __attribute__((noescape)) -#else -# define SWIFT_NOESCAPE -#endif -#if __has_attribute(ns_consumed) -# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) -#else -# define SWIFT_RELEASES_ARGUMENT -#endif -#if __has_attribute(warn_unused_result) -# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) -#else -# define SWIFT_WARN_UNUSED_RESULT -#endif -#if __has_attribute(noreturn) -# define SWIFT_NORETURN __attribute__((noreturn)) -#else -# define SWIFT_NORETURN -#endif -#if !defined(SWIFT_CLASS_EXTRA) -# define SWIFT_CLASS_EXTRA -#endif -#if !defined(SWIFT_PROTOCOL_EXTRA) -# define SWIFT_PROTOCOL_EXTRA -#endif -#if !defined(SWIFT_ENUM_EXTRA) -# define SWIFT_ENUM_EXTRA -#endif -#if !defined(SWIFT_CLASS) -# if __has_attribute(objc_subclassing_restricted) -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# else -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# endif -#endif -#if !defined(SWIFT_RESILIENT_CLASS) -# if __has_attribute(objc_class_stub) -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) -# else -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) -# endif -#endif - -#if !defined(SWIFT_PROTOCOL) -# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -#endif - -#if !defined(SWIFT_EXTENSION) -# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) -#endif - -#if !defined(OBJC_DESIGNATED_INITIALIZER) -# if __has_attribute(objc_designated_initializer) -# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) -# else -# define OBJC_DESIGNATED_INITIALIZER -# endif -#endif -#if !defined(SWIFT_ENUM_ATTR) -# if defined(__has_attribute) && __has_attribute(enum_extensibility) -# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) -# else -# define SWIFT_ENUM_ATTR(_extensibility) -# endif -#endif -#if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# if __has_feature(generalized_swift_name) -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# else -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) -# endif -#endif -#if !defined(SWIFT_UNAVAILABLE) -# define SWIFT_UNAVAILABLE __attribute__((unavailable)) -#endif -#if !defined(SWIFT_UNAVAILABLE_MSG) -# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) -#endif -#if !defined(SWIFT_AVAILABILITY) -# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) -#endif -#if !defined(SWIFT_WEAK_IMPORT) -# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) -#endif -#if !defined(SWIFT_DEPRECATED) -# define SWIFT_DEPRECATED __attribute__((deprecated)) -#endif -#if !defined(SWIFT_DEPRECATED_MSG) -# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) -#endif -#if __has_feature(attribute_diagnose_if_objc) -# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) -#else -# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) -#endif -#if !defined(IBSegueAction) -# define IBSegueAction -#endif -#if __has_feature(modules) -#if __has_warning("-Watimport-in-framework-header") -#pragma clang diagnostic ignored "-Watimport-in-framework-header" -#endif -#endif - -#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" -#pragma clang diagnostic ignored "-Wduplicate-method-arg" -#if __has_warning("-Wpragma-clang-attribute") -# pragma clang diagnostic ignored "-Wpragma-clang-attribute" -#endif -#pragma clang diagnostic ignored "-Wunknown-pragmas" -#pragma clang diagnostic ignored "-Wnullability" - -#if __has_attribute(external_source_symbol) -# pragma push_macro("any") -# undef any -# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKCoreKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) -# pragma pop_macro("any") -#endif - - -#if __has_attribute(external_source_symbol) -# pragma clang attribute pop -#endif -#pragma clang diagnostic pop -#endif - -#elif defined(__i386__) && __i386__ -// Generated by Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -#ifndef FBSDKCOREKIT_SWIFT_H -#define FBSDKCOREKIT_SWIFT_H -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wgcc-compat" - -#if !defined(__has_include) -# define __has_include(x) 0 -#endif -#if !defined(__has_attribute) -# define __has_attribute(x) 0 -#endif -#if !defined(__has_feature) -# define __has_feature(x) 0 -#endif -#if !defined(__has_warning) -# define __has_warning(x) 0 -#endif - -#if __has_include() -# include -#endif - -#pragma clang diagnostic ignored "-Wauto-import" -#include -#include -#include -#include - -#if !defined(SWIFT_TYPEDEFS) -# define SWIFT_TYPEDEFS 1 -# if __has_include() -# include -# elif !defined(__cplusplus) -typedef uint_least16_t char16_t; -typedef uint_least32_t char32_t; -# endif -typedef float swift_float2 __attribute__((__ext_vector_type__(2))); -typedef float swift_float3 __attribute__((__ext_vector_type__(3))); -typedef float swift_float4 __attribute__((__ext_vector_type__(4))); -typedef double swift_double2 __attribute__((__ext_vector_type__(2))); -typedef double swift_double3 __attribute__((__ext_vector_type__(3))); -typedef double swift_double4 __attribute__((__ext_vector_type__(4))); -typedef int swift_int2 __attribute__((__ext_vector_type__(2))); -typedef int swift_int3 __attribute__((__ext_vector_type__(3))); -typedef int swift_int4 __attribute__((__ext_vector_type__(4))); -typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); -typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); -typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); -#endif - -#if !defined(SWIFT_PASTE) -# define SWIFT_PASTE_HELPER(x, y) x##y -# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) -#endif -#if !defined(SWIFT_METATYPE) -# define SWIFT_METATYPE(X) Class -#endif -#if !defined(SWIFT_CLASS_PROPERTY) -# if __has_feature(objc_class_property) -# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ -# else -# define SWIFT_CLASS_PROPERTY(...) -# endif -#endif - -#if __has_attribute(objc_runtime_name) -# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) -#else -# define SWIFT_RUNTIME_NAME(X) -#endif -#if __has_attribute(swift_name) -# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) -#else -# define SWIFT_COMPILE_NAME(X) -#endif -#if __has_attribute(objc_method_family) -# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) -#else -# define SWIFT_METHOD_FAMILY(X) -#endif -#if __has_attribute(noescape) -# define SWIFT_NOESCAPE __attribute__((noescape)) -#else -# define SWIFT_NOESCAPE -#endif -#if __has_attribute(ns_consumed) -# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) -#else -# define SWIFT_RELEASES_ARGUMENT -#endif -#if __has_attribute(warn_unused_result) -# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) -#else -# define SWIFT_WARN_UNUSED_RESULT -#endif -#if __has_attribute(noreturn) -# define SWIFT_NORETURN __attribute__((noreturn)) -#else -# define SWIFT_NORETURN -#endif -#if !defined(SWIFT_CLASS_EXTRA) -# define SWIFT_CLASS_EXTRA -#endif -#if !defined(SWIFT_PROTOCOL_EXTRA) -# define SWIFT_PROTOCOL_EXTRA -#endif -#if !defined(SWIFT_ENUM_EXTRA) -# define SWIFT_ENUM_EXTRA -#endif -#if !defined(SWIFT_CLASS) -# if __has_attribute(objc_subclassing_restricted) -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# else -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# endif -#endif -#if !defined(SWIFT_RESILIENT_CLASS) -# if __has_attribute(objc_class_stub) -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) -# else -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) -# endif -#endif - -#if !defined(SWIFT_PROTOCOL) -# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -#endif - -#if !defined(SWIFT_EXTENSION) -# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) -#endif - -#if !defined(OBJC_DESIGNATED_INITIALIZER) -# if __has_attribute(objc_designated_initializer) -# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) -# else -# define OBJC_DESIGNATED_INITIALIZER -# endif -#endif -#if !defined(SWIFT_ENUM_ATTR) -# if defined(__has_attribute) && __has_attribute(enum_extensibility) -# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) -# else -# define SWIFT_ENUM_ATTR(_extensibility) -# endif -#endif -#if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# if __has_feature(generalized_swift_name) -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# else -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) -# endif -#endif -#if !defined(SWIFT_UNAVAILABLE) -# define SWIFT_UNAVAILABLE __attribute__((unavailable)) -#endif -#if !defined(SWIFT_UNAVAILABLE_MSG) -# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) -#endif -#if !defined(SWIFT_AVAILABILITY) -# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) -#endif -#if !defined(SWIFT_WEAK_IMPORT) -# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) -#endif -#if !defined(SWIFT_DEPRECATED) -# define SWIFT_DEPRECATED __attribute__((deprecated)) -#endif -#if !defined(SWIFT_DEPRECATED_MSG) -# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) -#endif -#if __has_feature(attribute_diagnose_if_objc) -# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) -#else -# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) -#endif -#if !defined(IBSegueAction) -# define IBSegueAction -#endif -#if __has_feature(modules) -#if __has_warning("-Watimport-in-framework-header") -#pragma clang diagnostic ignored "-Watimport-in-framework-header" -#endif -#endif - -#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" -#pragma clang diagnostic ignored "-Wduplicate-method-arg" -#if __has_warning("-Wpragma-clang-attribute") -# pragma clang diagnostic ignored "-Wpragma-clang-attribute" -#endif -#pragma clang diagnostic ignored "-Wunknown-pragmas" -#pragma clang diagnostic ignored "-Wnullability" - -#if __has_attribute(external_source_symbol) -# pragma push_macro("any") -# undef any -# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKCoreKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) -# pragma pop_macro("any") -#endif - - -#if __has_attribute(external_source_symbol) -# pragma clang attribute pop -#endif -#pragma clang diagnostic pop -#endif - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h deleted file mode 100644 index 858dc59..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import - -#import - -#if !TARGET_OS_TV - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKCoreKitVersions.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKCoreKitVersions.h deleted file mode 100644 index 8b7a287..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKCoreKitVersions.h +++ /dev/null @@ -1,10 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#define FBSDK_VERSION_STRING @"12.2.1" -#define FBSDK_DEFAULT_GRAPH_API_VERSION @"v12.0" diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKDeviceButton.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKDeviceButton.h deleted file mode 100644 index 6745fcb..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKDeviceButton.h +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if TARGET_OS_TV - -#import - -NS_ASSUME_NONNULL_BEGIN - -/* - An internal base class for device related flows. - - This is an internal API that should not be used directly and is subject to change. - */ -NS_SWIFT_NAME(FBDeviceButton) -@interface FBSDKDeviceButton : FBSDKButton -- (CGSize)sizeThatFits:(CGSize)size attributedTitle:(NSAttributedString *)title; -- (nullable NSAttributedString *)attributedTitleStringFromString:(NSString *)string; -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKDeviceDialogView.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKDeviceDialogView.h deleted file mode 100644 index 7e26563..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKDeviceDialogView.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if TARGET_OS_TV - -#import - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(DeviceDialogViewDelegate) -@protocol FBSDKDeviceDialogViewDelegate; - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ - -NS_SWIFT_NAME(FBDeviceDialogView) -@interface FBSDKDeviceDialogView : UIView - -@property (nonatomic, weak) id delegate; -@property (nonatomic, copy) NSString *confirmationCode; - -// override point for subclasses. -- (void)buildView; - -@end - -NS_SWIFT_NAME(DeviceDialogViewDelegate) -@protocol FBSDKDeviceDialogViewDelegate - -- (void)deviceDialogViewDidCancel:(FBSDKDeviceDialogView *)deviceDialogView; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKDeviceViewControllerBase.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKDeviceViewControllerBase.h deleted file mode 100644 index 3dc1908..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKDeviceViewControllerBase.h +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if TARGET_OS_TV - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -/* - An internal base class for device related flows. - - This is an internal API that should not be used directly and is subject to change. -*/ -NS_SWIFT_NAME(FBDeviceViewControllerBase) -@interface FBSDKDeviceViewControllerBase : UIViewController -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKDynamicFrameworkLoaderProxy.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKDynamicFrameworkLoaderProxy.h deleted file mode 100644 index c8e3f06..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKDynamicFrameworkLoaderProxy.h +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(DynamicFrameworkLoaderProxy) -@interface FBSDKDynamicFrameworkLoaderProxy : NSObject -/** - Load the kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly value from the Security Framework - - @return The kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly value or nil. - */ -+ (CFTypeRef)loadkSecAttrAccessibleAfterFirstUnlockThisDeviceOnly; -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKDynamicSocialFrameworkLoader.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKDynamicSocialFrameworkLoader.h deleted file mode 100644 index 213fc62..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKDynamicSocialFrameworkLoader.h +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark - Social Constants - -/** - Dynamically loaded constant for SLServiceTypeFacebook - - */ -FOUNDATION_EXPORT NSString *fbsdkdfl_SLServiceTypeFacebook(void); - -#pragma mark - Social Classes - -FOUNDATION_EXPORT Class fbsdkdfl_SLComposeViewControllerClass(void); - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKError.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKError.h deleted file mode 100644 index 32c795d..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKError.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(SDKError) -@interface FBSDKError : NSObject - -+ (NSError *)errorWithCode:(NSInteger)code message:(nullable NSString *)message; - -+ (NSError *)errorWithDomain:(NSErrorDomain)domain code:(NSInteger)code message:(nullable NSString *)message; - -+ (NSError *)errorWithCode:(NSInteger)code - message:(nullable NSString *)message - underlyingError:(nullable NSError *)underlyingError; - -+ (NSError *)errorWithDomain:(NSErrorDomain)domain - code:(NSInteger)code - message:(nullable NSString *)message - underlyingError:(nullable NSError *)underlyingError; - -+ (NSError *)errorWithDomain:(NSErrorDomain)domain - code:(NSInteger)code - userInfo:(nullable NSDictionary *)userInfo - message:(nullable NSString *)message - underlyingError:(nullable NSError *)underlyingError; - -+ (NSError *)invalidArgumentErrorWithName:(NSString *)name - value:(nullable id)value - message:(nullable NSString *)message; - -+ (NSError *)invalidArgumentErrorWithDomain:(NSErrorDomain)domain - name:(NSString *)name - value:(nullable id)value - message:(nullable NSString *)message; - -+ (NSError *)invalidArgumentErrorWithDomain:(NSErrorDomain)domain - name:(NSString *)name - value:(nullable id)value - message:(nullable NSString *)message - underlyingError:(nullable NSError *)underlyingError; - -+ (NSError *)requiredArgumentErrorWithDomain:(NSErrorDomain)domain - name:(NSString *)name - message:(nullable NSString *)message; - -+ (NSError *)unknownErrorWithMessage:(NSString *)message; - -+ (BOOL)isNetworkError:(NSError *)error; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKErrorRecoveryAttempting.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKErrorRecoveryAttempting.h deleted file mode 100644 index cb177aa..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKErrorRecoveryAttempting.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - A formal protocol very similar to the informal protocol NSErrorRecoveryAttempting - Internal use only - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(ErrorRecoveryAttempting) -@protocol FBSDKErrorRecoveryAttempting - -/** - Attempt the recovery - @param error the error - @param completionHandler the handler called upon completion of error recovery - - Attempt recovery from the error, and call the completion handler. The value passed for didRecover must be YES if error recovery was completely successful, NO otherwise. - */ -- (void)attemptRecoveryFromError:(NSError *)error - completionHandler:(void (^)(BOOL didRecover))completionHandler; -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKFeature.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKFeature.h deleted file mode 100644 index 38d0c1e..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKFeature.h +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - FBSDKFeature enum - Defines features in SDK - - Sample: - FBSDKFeatureAppEvents = 0x00010000, - ^ ^ ^ ^ - | | | | - kit | | | - feature | | - sub-feature | - sub-sub-feature - 1st byte: kit - 2nd byte: feature - 3rd byte: sub-feature - 4th byte: sub-sub-feature - - @warning INTERNAL - DO NOT USE - */ -typedef NS_ENUM(NSUInteger, FBSDKFeature) { - FBSDKFeatureNone = 0x00000000, - // Features in CoreKit - /** Essential of CoreKit */ - FBSDKFeatureCore = 0x01000000, - /** App Events */ - FBSDKFeatureAppEvents = 0x01010000, - FBSDKFeatureCodelessEvents = 0x01010100, - FBSDKFeatureRestrictiveDataFiltering = 0x01010200, - FBSDKFeatureAAM = 0x01010300, - FBSDKFeaturePrivacyProtection = 0x01010400, - FBSDKFeatureSuggestedEvents = 0x01010401, - FBSDKFeatureIntelligentIntegrity = 0x01010402, - FBSDKFeatureModelRequest = 0x01010403, - FBSDKFeatureEventDeactivation = 0x01010500, - FBSDKFeatureSKAdNetwork = 0x01010600, - FBSDKFeatureSKAdNetworkConversionValue = 0x01010601, - FBSDKFeatureATELogging = 0x01010700, - FBSDKFeatureAEM = 0x01010800, - FBSDKFeatureAEMCatalogReport = 0x01010801, - /** Instrument */ - FBSDKFeatureInstrument = 0x01020000, - FBSDKFeatureCrashReport = 0x01020100, - FBSDKFeatureCrashShield = 0x01020101, - FBSDKFeatureErrorReport = 0x01020200, - - // Features in LoginKit - /** Essential of LoginKit */ - FBSDKFeatureLogin = 0x02000000, - - // Features in ShareKit - /** Essential of ShareKit */ - FBSDKFeatureShare = 0x03000000, - - // Features in GamingServicesKit - /** Essential of GamingServicesKit */ - FBSDKFeatureGamingServices = 0x04000000, -} NS_SWIFT_NAME(SDKFeature); - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -typedef void (^FBSDKFeatureManagerBlock)(BOOL enabled); - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKFeatureChecking.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKFeatureChecking.h deleted file mode 100644 index a74ef13..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKFeatureChecking.h +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(FeatureChecking) -@protocol FBSDKFeatureChecking - -- (BOOL)isEnabled:(FBSDKFeature)feature; - -- (void)checkFeature:(FBSDKFeature)feature - completionBlock:(FBSDKFeatureManagerBlock)completionBlock; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h deleted file mode 100644 index fe8202e..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h +++ /dev/null @@ -1,101 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -@class FBSDKGraphErrorRecoveryProcessor; -@protocol FBSDKGraphRequest; - -/** - Defines a delegate for `FBSDKGraphErrorRecoveryProcessor`. - */ -NS_SWIFT_NAME(GraphErrorRecoveryProcessorDelegate) -@protocol FBSDKGraphErrorRecoveryProcessorDelegate - -/** - 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:(nullable NSError *)error; - -@optional -/** - Indicates the processor is about to process the error. - @param processor the processor instance. - @param error the error is about to be processed. - - return NO if the processor should not process the error. For example, - if you want to prevent alerts of localized messages but otherwise perform retries and recoveries, - you could return NO for errors where userInfo[FBSDKGraphRequestErrorKey] equal to FBSDKGraphRequestErrorOther - */ -- (BOOL)processorWillProcessError:(FBSDKGraphErrorRecoveryProcessor *)processor - error:(nullable NSError *)error; - -@end - -NS_ASSUME_NONNULL_END - -NS_ASSUME_NONNULL_BEGIN - -/** - Defines a type that can process Facebook NSErrors with best practices. - - 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 FBSDKGraphRequestErrorKey, assume the recovery succeeded and - notify the delegate. - 2. If a FBSDKErrorRecoveryAttempting instance is available, display an alert (dispatched to main thread) - with the recovery options and call the instance's attemptRecoveryFromError method. - 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 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. - . - */ -NS_SWIFT_NAME(GraphErrorRecoveryProcessor) -@interface FBSDKGraphErrorRecoveryProcessor : NSObject - -/** - Initializes a GraphErrorRecoveryProcessor with an access token string. - */ -- (instancetype)initWithAccessTokenString:(NSString *)accessTokenString; - -/** - Attempts to process the error, return YES if the error can be processed. - @param error the error to process. - @param request the related request that may be reissued. - @param delegate the delegate that will be retained until recovery is complete. - */ -- (BOOL)processError:(NSError *)error - request:(id)request - delegate:(nullable id)delegate; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h deleted file mode 100644 index b18595c..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h +++ /dev/null @@ -1,178 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import -#import -#import -#import -#import -#import - -NS_ASSUME_NONNULL_BEGIN -/** - Represents a request to the Facebook Graph API. - - - `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 - */ -NS_SWIFT_NAME(GraphRequest) -@interface FBSDKGraphRequest : NSObject - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/** - Internal method exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -// UNCRUSTIFY_FORMAT_OFF -+ (void) configureWithSettings:(id)settings - currentAccessTokenStringProvider:(Class)accessTokenProvider - graphRequestConnectionFactory:(id)_graphRequestConnectionFactory -NS_SWIFT_NAME(configure(settings:currentAccessTokenStringProvider:graphRequestConnectionFactory:)); -// UNCRUSTIFY_FORMAT_ON - -/** - Initializes a new instance that use use `[FBSDKAccessToken currentAccessToken]`. - @param graphPath the graph path (e.g., @"me"). - */ -- (instancetype)initWithGraphPath:(NSString *)graphPath; - -/** - Initializes a new instance that use use `[FBSDKAccessToken currentAccessToken]`. - @param graphPath the graph path (e.g., @"me"). - @param method the HTTP method. Empty String defaults to @"GET". - */ -- (instancetype)initWithGraphPath:(NSString *)graphPath - HTTPMethod:(FBSDKHTTPMethod)method; - -/** - 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; - -/** - Initializes a new instance that use use `[FBSDKAccessToken currentAccessToken]`. - @param graphPath the graph path (e.g., @"me"). - @param parameters the optional parameters dictionary. - @param method the HTTP method. Empty String defaults to @"GET". - */ -- (instancetype)initWithGraphPath:(NSString *)graphPath - parameters:(NSDictionary *)parameters - HTTPMethod:(FBSDKHTTPMethod)method; - -/** - 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 `[FBSDKSettings graphAPIVersion]`. - @param method the HTTP method. Empty String defaults to @"GET". - */ -- (instancetype)initWithGraphPath:(NSString *)graphPath - parameters:(NSDictionary *)parameters - tokenString:(nullable NSString *)tokenString - version:(nullable NSString *)version - HTTPMethod:(FBSDKHTTPMethod)method - NS_DESIGNATED_INITIALIZER; - -/** - Initializes a new instance. - @param graphPath the graph path (e.g., @"me"). - @param parameters the optional parameters dictionary. - @param requestFlags flags that indicate how a graph request should be treated in various scenarios - */ -- (instancetype)initWithGraphPath:(NSString *)graphPath - parameters:(nullable NSDictionary *)parameters - flags:(FBSDKGraphRequestFlags)requestFlags; - -/** - 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 HTTPMethod the HTTP method. Empty String defaults to @"GET". - @param flags flags that indicate how a graph request should be treated in various scenarios - */ -- (instancetype)initWithGraphPath:(NSString *)graphPath - parameters:(nullable NSDictionary *)parameters - tokenString:(nullable NSString *)tokenString - HTTPMethod:(nullable NSString *)HTTPMethod - flags:(FBSDKGraphRequestFlags)flags; - -/** - The request parameters. - */ -@property (nonatomic, copy) NSDictionary *parameters; - -/** - The access token string used by the request. - */ -@property (nullable, nonatomic, readonly, copy) NSString *tokenString; - -/** - The Graph API endpoint to use for the request, for example "me". - */ -@property (nonatomic, readonly, copy) NSString *graphPath; - -/** - The HTTPMethod to use for the request, for example "GET" or "POST". - */ -@property (nonatomic, readonly, copy) FBSDKHTTPMethod HTTPMethod; - -/** - The Graph API version to use (e.g., "v2.0") - */ -@property (nonatomic, readonly, copy) NSString *version; - -/** - If set, disables the automatic error recovery mechanism. - @param disable whether to disable the automatic error recovery mechanism - - By default, non-batched FBSDKGraphRequest instances will automatically try to recover - from errors by constructing a `FBSDKGraphErrorRecoveryProcessor` instance that - 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:]. - */ - -// UNCRUSTIFY_FORMAT_OFF -- (void)setGraphErrorRecoveryDisabled:(BOOL)disable -NS_SWIFT_NAME(setGraphErrorRecovery(disabled:)); -// UNCRUSTIFY_FORMAT_ON - -/** - Starts a connection to the Graph API. - @param completion The handler block to call when the request completes. - */ -- (id)startWithCompletion:(nullable FBSDKGraphRequestCompletion)completion; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnecting.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnecting.h deleted file mode 100644 index 7bee17e..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnecting.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -@protocol FBSDKGraphRequest; -@protocol FBSDKGraphRequestConnecting; -@protocol FBSDKGraphRequestConnectionDelegate; - -/** - FBSDKGraphRequestCompletion - - A block that is passed to addRequest to register for a callback with the results of that - request once the connection completes. - - 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 connection 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. - */ -NS_SWIFT_NAME(GraphRequestCompletion) -typedef void (^FBSDKGraphRequestCompletion)(id _Nullable connection, - id _Nullable result, - NSError *_Nullable error); - -/// A protocol to describe an object that can manage graph requests -NS_SWIFT_NAME(GraphRequestConnecting) -@protocol FBSDKGraphRequestConnecting - -@property (nonatomic, assign) NSTimeInterval timeout; -@property (nullable, nonatomic, weak) id delegate; - -- (void)addRequest:(id)request - completion:(FBSDKGraphRequestCompletion)handler; - -- (void)start; -- (void)cancel; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h deleted file mode 100644 index 8193d11..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h +++ /dev/null @@ -1,187 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - The key in the result dictionary for requests to old versions of the Graph API - whose response is not a JSON object. - - - 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. - */ -FOUNDATION_EXPORT NSString *const FBSDKNonJSONResponseProperty -NS_SWIFT_NAME(NonJSONResponseProperty); - -@protocol FBSDKGraphRequest; - -/** - The `FBSDKGraphRequestConnection` represents a single connection to Facebook to service a request. - - 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. - - */ -NS_SWIFT_NAME(GraphRequestConnection) -@interface FBSDKGraphRequestConnection : NSObject - -/** - The default timeout on all FBSDKGraphRequestConnection instances. Defaults to 60 seconds. - */ -@property (class, nonatomic, assign) NSTimeInterval defaultConnectionTimeout; - -/** - The delegate object that receives updates. - */ -@property (nullable, nonatomic, weak) id delegate; - -/** - Gets or sets the timeout interval to wait for a response before giving up. - */ -@property (nonatomic, assign) NSTimeInterval timeout; - -/** - The raw response that was returned from the server. (readonly) - - 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 FBSDKGraphRequestBlock callback. - */ -@property (nullable, nonatomic, readonly, retain) NSHTTPURLResponse *urlResponse; - -/** - Determines the operation queue that is used to call methods on the connection's delegate. - - 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. - */ -@property (nonatomic, retain) NSOperationQueue *delegateQueue; - -/** - @methodgroup Class methods - */ - -/** - @methodgroup Adding requests - */ - -/** - @method - - This method adds an object to this connection. - - @param request A request to be included in the round-trip when start is called. - @param completion A handler to call back when the round-trip completes or times out. - - The completion handler is retained until the block is called upon the - completion or cancellation of the connection. - */ -- (void)addRequest:(id)request - completion:(FBSDKGraphRequestCompletion)completion; - -/** - @method - - This method adds an object to this connection. - - @param request A request to be included in the round-trip when start is called. - - @param completion A handler to call back when the round-trip completes or times out. - The handler will be invoked on the main thread. - - @param name A 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/ ). - - 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:(id)request - name:(NSString *)name - completion:(FBSDKGraphRequestCompletion)completion; - -/** - @method - - This method adds an object to this connection. - - @param request A request to be included in the round-trip when start is called. - - @param completion A handler to call back when the round-trip completes or times out. - - @param parameters The 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". - - 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:(id)request - parameters:(nullable NSDictionary *)parameters - completion:(FBSDKGraphRequestCompletion)completion; - -/** - @methodgroup Instance methods - */ - -/** - @method - - Signals that a connection should be logically terminated as the - application is no longer interested in a response. - - 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 - - This method starts a connection with the server and is capable of handling all of the - requests that were added to the connection. - - 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; - -/** - @method - - Overrides the default version for a batch request - - 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)overrideGraphAPIVersion:(NSString *)version; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionDelegate.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionDelegate.h deleted file mode 100644 index 09c43b7..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionDelegate.h +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - @protocol - - The `FBSDKGraphRequestConnectionDelegate` protocol defines the methods used to receive network - activity progress information from a . - */ -NS_SWIFT_NAME(GraphRequestConnectionDelegate) -@protocol FBSDKGraphRequestConnectionDelegate - -@optional - -/** - @method - - Tells the delegate the request connection will begin loading - - 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:(id)connection; - -/** - @method - - Tells the delegate the request connection finished loading - - If the request connection completes without a network error occurring 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 FBSDKGraphRequestBlock - 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:(id)connection; - -/** - @method - - Tells the delegate the request connection failed with an error - - 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 - FBSDKGraphRequestBlock 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:(id)connection - didFailWithError:(NSError *)error; - -/** - @method - - Tells the delegate how much data has been sent and is planned to send to the remote host - - The byte count arguments refer to the aggregated objects, not a particular . - - Like `NSURLSession`, 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:(id)connection - didSendBodyData:(NSInteger)bytesWritten - totalBytesWritten:(NSInteger)totalBytesWritten - totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactory.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactory.h deleted file mode 100644 index 942c733..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactory.h +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal type not intended for use outside of the SDKs. - - A factory for providing objects that conform to `GraphRequestConnecting`. - */ -NS_SWIFT_NAME(GraphRequestConnectionFactory) -@interface FBSDKGraphRequestConnectionFactory : NSObject -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactoryProtocol.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactoryProtocol.h deleted file mode 100644 index c18944a..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnectionFactoryProtocol.h +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -@protocol FBSDKGraphRequestConnecting; - -/// Describes anything that can provide instances of `FBSDKGraphRequestConnecting` -NS_SWIFT_NAME(GraphRequestConnectionFactoryProtocol) -@protocol FBSDKGraphRequestConnectionFactory - -- (id)createGraphRequestConnection; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h deleted file mode 100644 index 7819943..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - A container class for data attachments so that additional metadata can be provided about the attachment. - */ -NS_SWIFT_NAME(GraphRequestDataAttachment) -@interface FBSDKGraphRequestDataAttachment : NSObject - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/** - 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; - -/** - The content type for the attachment. - */ -@property (nonatomic, readonly, copy) NSString *contentType; - -/** - The attachment data. - */ -@property (nonatomic, readonly, strong) NSData *data; - -/** - The filename for the attachment. - */ -@property (nonatomic, readonly, copy) NSString *filename; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactory.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactory.h deleted file mode 100644 index a59c92b..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactory.h +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -@protocol FBSDKGraphRequestFactory; - -/** - Internal type not intended for use outside of the SDKs. - - A factory for providing objects that conform to `GraphRequest` -*/ -NS_SWIFT_NAME(GraphRequestFactory) -@interface FBSDKGraphRequestFactory : NSObject -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactoryProtocol.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactoryProtocol.h deleted file mode 100644 index 9d175ee..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFactoryProtocol.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import - -@protocol FBSDKGraphRequest; - -typedef NSString *const FBSDKHTTPMethod NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(HTTPMethod); - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal type not intended for use outside of the SDKs. - -Describes anything that can provide instances of `GraphRequestProtocol` - */ -NS_SWIFT_NAME(GraphRequestFactoryProtocol) -@protocol FBSDKGraphRequestFactory - -- (id)createGraphRequestWithGraphPath:(NSString *)graphPath - parameters:(NSDictionary *)parameters - tokenString:(nullable NSString *)tokenString - HTTPMethod:(nullable FBSDKHTTPMethod)method - flags:(FBSDKGraphRequestFlags)flags; - -- (id)createGraphRequestWithGraphPath:(NSString *)graphPath - parameters:(NSDictionary *)parameters; - -- (id)createGraphRequestWithGraphPath:(NSString *)graphPath; - -- (id)createGraphRequestWithGraphPath:(NSString *)graphPath - parameters:(NSDictionary *)parameters - HTTPMethod:(FBSDKHTTPMethod)method; - -- (id)createGraphRequestWithGraphPath:(NSString *)graphPath - parameters:(NSDictionary *)parameters - tokenString:(nullable NSString *)tokenString - version:(nullable NSString *)version - HTTPMethod:(FBSDKHTTPMethod)method; - -- (id)createGraphRequestWithGraphPath:(NSString *)graphPath - parameters:(NSDictionary *)parameters - flags:(FBSDKGraphRequestFlags)flags; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFlags.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFlags.h deleted file mode 100644 index d5ee1b8..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestFlags.h +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Flags that indicate how a graph request should be treated in various scenarios - */ -typedef NS_OPTIONS(NSUInteger, FBSDKGraphRequestFlags) { - FBSDKGraphRequestFlagNone = 0, - // indicates this request should not use a client token as its token parameter - FBSDKGraphRequestFlagSkipClientToken = 1 << 1, - // indicates this request should not close the session if its response is an oauth error - FBSDKGraphRequestFlagDoNotInvalidateTokenOnError = 1 << 2, - // indicates this request should not perform error recovery - FBSDKGraphRequestFlagDisableErrorRecovery = 1 << 3, -} NS_SWIFT_NAME(GraphRequestFlags); - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestHTTPMethod.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestHTTPMethod.h deleted file mode 100644 index 8d1ee74..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestHTTPMethod.h +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -/// typedef for FBSDKHTTPMethod -typedef NSString *const FBSDKHTTPMethod NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(HTTPMethod); - -/// GET Request -FOUNDATION_EXPORT FBSDKHTTPMethod FBSDKHTTPMethodGET NS_SWIFT_NAME(get); - -/// POST Request -FOUNDATION_EXPORT FBSDKHTTPMethod FBSDKHTTPMethodPOST NS_SWIFT_NAME(post); - -/// DELETE Request -FOUNDATION_EXPORT FBSDKHTTPMethod FBSDKHTTPMethodDELETE NS_SWIFT_NAME(delete); diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestProtocol.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestProtocol.h deleted file mode 100644 index 739f11f..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestProtocol.h +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -@class FBSDKGraphRequestConnection; -@protocol FBSDKGraphRequestConnecting; - -typedef void (^FBSDKGraphRequestCompletion)(id _Nullable connection, - id _Nullable result, - NSError *_Nullable error); - -typedef void (^FBSDKGraphRequestBlock)(FBSDKGraphRequestConnection *_Nullable connection, - id _Nullable result, - NSError *_Nullable error); - -/// A protocol to describe anything that represents a graph request -NS_SWIFT_NAME(GraphRequestProtocol) -@protocol FBSDKGraphRequest - -/** - The request parameters. - */ -@property (nonatomic, copy) NSDictionary *parameters; - -/** - The access token string used by the request. - */ -@property (nullable, nonatomic, readonly, copy) NSString *tokenString; - -/** - The Graph API endpoint to use for the request, for example "me". - */ -@property (nonatomic, readonly, copy) NSString *graphPath; - -/** - The HTTPMethod to use for the request, for example "GET" or "POST". - */ -@property (nonatomic, readonly, copy) FBSDKHTTPMethod HTTPMethod; - -/** - The Graph API version to use (e.g., "v2.0") - */ -@property (nonatomic, readonly, copy) NSString *version; - -/** - The graph request flags to use - */ -@property (nonatomic, readonly, assign) FBSDKGraphRequestFlags flags; - -/** - Convenience property to determine if graph error recover is disabled - */ -@property (nonatomic, getter = isGraphErrorRecoveryDisabled) BOOL graphErrorRecoveryDisabled; - -/** - Convenience property to determine if the request has attachments - */ -@property (nonatomic, readonly) BOOL hasAttachments; - -/** - Starts a connection to the Graph API. - @param completion The handler block to call when the request completes. - */ -- (id)startWithCompletion:(nullable FBSDKGraphRequestCompletion)completion; - -/** - A formatted description of the graph request - */ -- (NSString *)formattedDescription; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKIcon.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKIcon.h deleted file mode 100644 index 47dee2e..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKIcon.h +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(Icon) -@interface FBSDKIcon : NSObject - -- (nullable CGPathRef)pathWithSize:(CGSize)size; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKImpressionLoggingButton.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKImpressionLoggingButton.h deleted file mode 100644 index 78376e0..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKImpressionLoggingButton.h +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(ImpressionLoggingButton) -@interface FBSDKImpressionLoggingButton : UIButton -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKInternalUtility.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKInternalUtility.h deleted file mode 100644 index c84d43c..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKInternalUtility.h +++ /dev/null @@ -1,154 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import -#import - -#import -#import -#import - -#if !TARGET_OS_TV - #import -#endif - -NS_ASSUME_NONNULL_BEGIN - -FOUNDATION_EXPORT NSString *const FBSDK_CANOPENURL_FACEBOOK - DEPRECATED_MSG_ATTRIBUTE("`FBSDK_CANOPENURL_FACEBOOK` is deprecated and will be removed in the next major release; please use `URLScheme.facebookAPI` instead"); -FOUNDATION_EXPORT NSString *const FBSDK_CANOPENURL_FBAPI - DEPRECATED_MSG_ATTRIBUTE("`FBSDK_CANOPENURL_FBAPI` is deprecated and will be removed in the next major release; please use `URLScheme.facebookAPI` instead"); -FOUNDATION_EXPORT NSString *const FBSDK_CANOPENURL_MESSENGER - DEPRECATED_MSG_ATTRIBUTE("`FBSDK_CANOPENURL_MESSENGER` is deprecated and will be removed in the next major release; please use `URLScheme.messengerApp` instead"); -FOUNDATION_EXPORT NSString *const FBSDK_CANOPENURL_MSQRD_PLAYER - DEPRECATED_MSG_ATTRIBUTE("`FBSDK_CANOPENURL_MSQRD_PLAYER` is deprecated and will be removed in the next major release"); -FOUNDATION_EXPORT NSString *const FBSDK_CANOPENURL_SHARE_EXTENSION - DEPRECATED_MSG_ATTRIBUTE("`FBSDK_CANOPENURL_SHARE_EXTENSION` is deprecated and will be removed in the next major release; please use `URLScheme.facebookAPI`"); - -NS_SWIFT_NAME(InternalUtility) -@interface FBSDKInternalUtility : NSObject -#if !TARGET_OS_TV - -#else - -#endif - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -@property (class, nonnull, readonly) FBSDKInternalUtility *sharedUtility; - -/** - Returns bundle for returning localized strings - - We assume a convention of a bundle named FBSDKStrings.bundle, otherwise we - return the main bundle. - */ -@property (nonatomic, readonly, strong) NSBundle *bundleForStrings; - -/** - Constructs an URL for the current app. - @param host The host for the URL. - @param path The path for the URL. - @param queryParameters The query parameters for the URL. This will be converted into a query string. - @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. - @return The app URL. - */ -- (NSURL *)appURLWithHost:(NSString *)host - path:(NSString *)path - queryParameters:(NSDictionary *)queryParameters - error:(NSError *__autoreleasing *)errorRef; - -/** - Parses an FB url's query params (and potentially fragment) into a dictionary. - @param url The FB url. - @return A dictionary with the key/value pairs. - */ -- (NSDictionary *)parametersFromFBURL:(NSURL *)url; - -/** - Constructs a Facebook URL. - @param hostPrefix The prefix for the host, such as 'm', 'graph', etc. - @param path The path for the URL. This may or may not include a version. - @param queryParameters The query parameters for the URL. This will be converted into a query string. - @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. - @return The Facebook URL. - */ -- (NSURL *)facebookURLWithHostPrefix:(NSString *)hostPrefix - path:(NSString *)path - queryParameters:(NSDictionary *)queryParameters - error:(NSError *__autoreleasing *)errorRef; - -/** - Tests whether the supplied URL is a valid URL for opening in the browser. - @param URL The URL to test. - @return YES if the URL refers to an http or https resource, otherwise NO. - */ -- (BOOL)isBrowserURL:(NSURL *)URL; - -/** - Checks equality between 2 objects. - - Checks for pointer equality, nils, isEqual:. - @param object The first object to compare. - @param other The second object to compare. - @return YES if the objects are equal, otherwise NO. - */ -- (BOOL)object:(id)object isEqualToObject:(id)other; - -/** - Extracts permissions from a response fetched from me/permissions - @param responseObject the response - @param grantedPermissions the set to add granted permissions to - @param declinedPermissions the set to add declined permissions to. - */ -- (void)extractPermissionsFromResponse:(NSDictionary *)responseObject - grantedPermissions:(NSMutableSet *)grantedPermissions - declinedPermissions:(NSMutableSet *)declinedPermissions - expiredPermissions:(NSMutableSet *)expiredPermissions; - -/** - validates that the app ID is non-nil, throws an NSException if nil. - */ -- (void)validateAppID; - -/** - Validates that the client access token is non-nil, otherwise - throws an NSException otherwise. - Returns the composed client access token. - */ -- (NSString *)validateRequiredClientAccessToken; - -/** - Attempts to find the first UIViewController in the view's responder chain. Returns nil if not found. - */ -- (nullable UIViewController *)viewControllerForView:(UIView *)view; - -/** - returns true if the url scheme is registered in the CFBundleURLTypes - */ -- (BOOL)isRegisteredURLScheme:(NSString *)urlScheme; - -/** - returns currently displayed top view controller. - */ -- (nullable UIViewController *)topMostViewController; - -/** - returns the current key window - */ -- (nullable UIWindow *)findWindow; - -#pragma mark - FB Apps Installed - -@property (nonatomic, readonly, assign) BOOL isMessengerAppInstalled; - -- (BOOL)isRegisteredCanOpenURLScheme:(NSString *)urlScheme; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKInternalUtilityProtocol.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKInternalUtilityProtocol.h deleted file mode 100644 index 5847f3f..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKInternalUtilityProtocol.h +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(InternalUtilityProtocol) -@protocol FBSDKInternalUtility - -#pragma mark - FB Apps Installed - -@property (nonatomic, readonly) BOOL isFacebookAppInstalled; - -/** - Constructs an NSURL. - @param scheme The scheme for the URL. - @param host The host for the URL. - @param path The path for the URL. - @param queryParameters The query parameters for the URL. This will be converted into a query string. - @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. - @return The URL. - */ -- (nullable NSURL *)URLWithScheme:(NSString *)scheme - host:(NSString *)host - path:(NSString *)path - queryParameters:(NSDictionary *)queryParameters - error:(NSError *__autoreleasing *)errorRef; - -/** - Registers a transient object so that it will not be deallocated until unregistered - @param object The transient object - */ -- (void)registerTransientObject:(id)object; - -/** - Unregisters a transient object that was previously registered with registerTransientObject: - @param object The transient object - */ -- (void)unregisterTransientObject:(__weak id)object; - -- (void)checkRegisteredCanOpenURLScheme:(NSString *)urlScheme; - -/** - Validates that the right URL schemes are registered, throws an NSException if not. - */ -- (void)validateURLSchemes; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKKeychainStore.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKKeychainStore.h deleted file mode 100644 index 6109057..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKKeychainStore.h +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(KeychainStore) -@interface FBSDKKeychainStore : NSObject - -@property (nonatomic, readonly, copy) NSString *service; -@property (nonatomic, readonly, copy) NSString *accessGroup; - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -- (instancetype)initWithService:(NSString *)service accessGroup:(nullable NSString *)accessGroup NS_DESIGNATED_INITIALIZER; - -- (BOOL)setData:(nullable NSData *)value forKey:(NSString *)key accessibility:(CFTypeRef)accessibility; -- (nullable NSData *)dataForKey:(NSString *)key; - -// hook for subclasses to override keychain query construction. -- (NSMutableDictionary *)queryForKey:(NSString *)key; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreFactory.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreFactory.h deleted file mode 100644 index 230c8f5..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreFactory.h +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal type not intended for use outside of the SDKs. - - A factory for providing objects that conform to `KeychainStore` -*/ -NS_SWIFT_NAME(KeychainStoreFactory) -@interface FBSDKKeychainStoreFactory : NSObject -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProtocol.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProtocol.h deleted file mode 100644 index d73465f..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProtocol.h +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(KeychainStoreProtocol) -@protocol FBSDKKeychainStore - -- (nullable NSString *)stringForKey:(NSString *)key; -- (nullable NSDictionary *)dictionaryForKey:(NSString *)key; - -- (BOOL)setString:(nullable NSString *)value forKey:(NSString *)key accessibility:(nullable CFTypeRef)accessibility; -- (BOOL)setDictionary:(nullable NSDictionary *)value forKey:(NSString *)key accessibility:(nullable CFTypeRef)accessibility; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProviding.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProviding.h deleted file mode 100644 index f95e604..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKKeychainStoreProviding.h +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(KeychainStoreProviding) -@protocol FBSDKKeychainStoreProviding - -- (nonnull id)createKeychainStoreWithService:(NSString *)service - accessGroup:(nullable NSString *)accessGroup; -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKLocation.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKLocation.h deleted file mode 100644 index dc7eb97..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKLocation.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(Location) -@interface FBSDKLocation : NSObject - -/** - Location id - */ -@property (nonatomic, readonly, strong) NSString *id; -/** - Location name - */ -@property (nonatomic, readonly, strong) NSString *name; - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/** - Returns a Location object from a dinctionary containing valid location information. - @param dictionary The dictionary containing raw location - - Valid location will consist of "id" and "name" strings. - */ -+ (nullable instancetype)locationFromDictionary:(NSDictionary *)dictionary; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKLogger.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKLogger.h deleted file mode 100644 index eb3cc89..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKLogger.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - - Simple logging utility for conditionally logging strings and then emitting them - via NSLog(). - - @unsorted - - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(Logger) -@interface FBSDKLogger : NSObject - -- (instancetype)init DEPRECATED_MSG_ATTRIBUTE("`init` is deprecated and will be removed in the next major release. Please use one of the other available initializers"); -+ (instancetype)new DEPRECATED_MSG_ATTRIBUTE("`new` is deprecated and will be removed in the next major release. Please use one of the other available initializers"); - -// Simple helper to write a single log entry, based upon whether the behavior matches a specified on. -+ (void)singleShotLogEntry:(FBSDKLoggingBehavior)loggingBehavior - logEntry:(NSString *)logEntry; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKLogging.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKLogging.h deleted file mode 100644 index 9936621..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKLogging.h +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(Logging) -@protocol FBSDKLogging - -@property (nonatomic, readonly, copy) NSString *contents; -@property (nonatomic, readonly, copy) FBSDKLoggingBehavior loggingBehavior; - -- (instancetype)initWithLoggingBehavior:(FBSDKLoggingBehavior)loggingBehavior; - -+ (void)singleShotLogEntry:(FBSDKLoggingBehavior)loggingBehavior - logEntry:(NSString *)logEntry; - -- (void)logEntry:(NSString *)logEntry; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKLoggingBehavior.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKLoggingBehavior.h deleted file mode 100644 index 570f9b0..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKLoggingBehavior.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -/* - * Constants defining logging behavior. Use with <[FBSDKSettings setLoggingBehavior]>. - */ - -typedef NSString *FBSDKLoggingBehavior NS_TYPED_ENUM NS_SWIFT_NAME(LoggingBehavior); - -/** Include access token in logging. */ -FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorAccessTokens; - -/** Log performance characteristics */ -FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorPerformanceCharacteristics; - -/** Log FBSDKAppEvents interactions */ -FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorAppEvents; - -/** Log Informational occurrences */ -FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorInformational; - -/** Log cache errors. */ -FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorCacheErrors; - -/** Log errors from SDK UI controls */ -FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorUIControlErrors; - -/** Log debug warnings from API response, i.e. when friends fields requested, but user_friends permission isn't granted. */ -FOUNDATION_EXPORT FBSDKLoggingBehavior 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. - */ -FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorGraphAPIDebugInfo; - -/** Log errors from SDK network requests */ -FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorNetworkRequests; - -/** Log errors likely to be preventable by the developer. This is in the default set of enabled logging behaviors. */ -FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorDeveloperErrors; - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKLoginTooltip.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKLoginTooltip.h deleted file mode 100644 index 9e95fbf..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKLoginTooltip.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** -Internal Type exposed to facilitate transition to Swift. -API Subject to change or removal without warning. Do not use. - -@warning INTERNAL - DO NOT USE -*/ -@interface FBSDKLoginTooltip : NSObject -@property (nonatomic, readonly, getter = isEnabled, assign) BOOL enabled; -@property (nonatomic, readonly, copy) NSString *text; - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -- (instancetype)initWithText:(NSString *)text - enabled:(BOOL)enabled - NS_DESIGNATED_INITIALIZER; -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKMeasurementEvent.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKMeasurementEvent.h deleted file mode 100644 index 5bfb135..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKMeasurementEvent.h +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(MeasurementEvent) -@interface FBSDKMeasurementEvent : NSObject - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h deleted file mode 100644 index cd4a9e2..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Extension protocol for NSMutableCopying that adds the mutableCopy method, which is implemented on NSObject. - - NSObject implicitly conforms to this protocol. - */ -NS_SWIFT_NAME(MutableCopying) -@protocol FBSDKMutableCopying - -/** - Implemented by NSObject as a convenience to mutableCopyWithZone:. - @return A mutable copy of the receiver. - */ -- (id)mutableCopy; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKProductAvailability.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKProductAvailability.h deleted file mode 100644 index d3671a6..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKProductAvailability.h +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -/** - NS_ENUM(NSUInteger, FBSDKProductAvailability) - Specifies product availability for Product Catalog product item update - */ -typedef NS_ENUM(NSUInteger, FBSDKProductAvailability) { - /** - * Item ships immediately - */ - FBSDKProductAvailabilityInStock = 0, - /** - * No plan to restock - */ - FBSDKProductAvailabilityOutOfStock, - /** - * Available in future - */ - FBSDKProductAvailabilityPreOrder, - /** - * Ships in 1-2 weeks - */ - FBSDKProductAvailabilityAvailableForOrder, - /** - * Discontinued - */ - FBSDKProductAvailabilityDiscontinued, -} NS_SWIFT_NAME(AppEvents.ProductAvailability); diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKProductCondition.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKProductCondition.h deleted file mode 100644 index 9f12d1e..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKProductCondition.h +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -/** - NS_ENUM(NSUInteger, FBSDKProductCondition) - Specifies product condition for Product Catalog product item update - */ -typedef NS_ENUM(NSUInteger, FBSDKProductCondition) { - FBSDKProductConditionNew = 0, - FBSDKProductConditionRefurbished, - FBSDKProductConditionUsed, -} NS_SWIFT_NAME(AppEvents.ProductCondition); diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKProfile.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKProfile.h deleted file mode 100644 index dcbf918..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKProfile.h +++ /dev/null @@ -1,306 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -@class FBSDKLocation; -@class FBSDKProfile; -@class FBSDKUserAgeRange; - -NS_ASSUME_NONNULL_BEGIN - -/** - Notification indicating that the `currentProfile` has changed. - - the userInfo dictionary of the notification will contain keys - `FBSDKProfileChangeOldKey` and - `FBSDKProfileChangeNewKey`. - */ -FOUNDATION_EXPORT NSNotificationName const FBSDKProfileDidChangeNotification -NS_SWIFT_NAME(ProfileDidChange); - -/* key in notification's userInfo object for getting the old profile. - - If there was no old profile, the key will not be present. - */ -FOUNDATION_EXPORT NSString *const FBSDKProfileChangeOldKey -NS_SWIFT_NAME(ProfileChangeOldKey); - -/* key in notification's userInfo object for getting the new profile. - - If there is no new profile, the key will not be present. - */ -FOUNDATION_EXPORT NSString *const FBSDKProfileChangeNewKey -NS_SWIFT_NAME(ProfileChangeNewKey); - -/** - Describes the callback for loadCurrentProfileWithCompletion. - @param profile the FBSDKProfile - @param error the error during the request, if any - - */ -typedef void (^ FBSDKProfileBlock)(FBSDKProfile *_Nullable profile, NSError *_Nullable error) -NS_SWIFT_NAME(ProfileBlock); - -/** - Represents the unique identifier for an end user - */ -typedef NSString FBSDKUserIdentifier - NS_SWIFT_NAME(UserIdentifier); - -/** - Represents an immutable Facebook profile - - 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". - */ -NS_SWIFT_NAME(Profile) -@interface FBSDKProfile : NSObject - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/** - 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:(FBSDKUserIdentifier *)userID - firstName:(nullable NSString *)firstName - middleName:(nullable NSString *)middleName - lastName:(nullable NSString *)lastName - name:(nullable NSString *)name - linkURL:(nullable NSURL *)linkURL - refreshDate:(nullable NSDate *)refreshDate; - -/** - @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]. - @param imageURL an optional URL to use for fetching a user's profile image - @param email the user's email - @param friendIDs a list of identifiers for the user's friends - @param birthday the user's birthday - @param ageRange the user's age range - @param hometown the user's hometown - @param location the user's location - @param gender the user's gender - @param isLimited indicates if the information provided is incomplete in some way. - When true, `loadCurrentProfileWithCompletion:` will assume the profile is - incomplete and disregard any cached profile. Defaults to false. - */ -- (instancetype)initWithUserID:(FBSDKUserIdentifier *)userID - firstName:(nullable NSString *)firstName - middleName:(nullable NSString *)middleName - lastName:(nullable NSString *)lastName - name:(nullable NSString *)name - linkURL:(nullable NSURL *)linkURL - refreshDate:(nullable NSDate *)refreshDate - imageURL:(nullable NSURL *)imageURL - email:(nullable NSString *)email - friendIDs:(nullable NSArray *)friendIDs - birthday:(nullable NSDate *)birthday - ageRange:(nullable FBSDKUserAgeRange *)ageRange - hometown:(nullable FBSDKLocation *)hometown - location:(nullable FBSDKLocation *)location - gender:(nullable NSString *)gender - isLimited:(BOOL)isLimited; - -/** - 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]. - @param imageURL an optional URL to use for fetching a user's profile image - @param email the user's email - @param friendIDs a list of identifiers for the user's friends - @param birthday the user's birthday - @param ageRange the user's age range - @param hometown the user's hometown - @param location the user's location - @param gender the user's gender - */ -- (instancetype)initWithUserID:(FBSDKUserIdentifier *)userID - firstName:(nullable NSString *)firstName - middleName:(nullable NSString *)middleName - lastName:(nullable NSString *)lastName - name:(nullable NSString *)name - linkURL:(nullable NSURL *)linkURL - refreshDate:(nullable NSDate *)refreshDate - imageURL:(nullable NSURL *)imageURL - email:(nullable NSString *)email - friendIDs:(nullable NSArray *)friendIDs - birthday:(nullable NSDate *)birthday - ageRange:(nullable FBSDKUserAgeRange *)ageRange - hometown:(nullable FBSDKLocation *)hometown - location:(nullable FBSDKLocation *)location - gender:(nullable NSString *)gender - NS_DESIGNATED_INITIALIZER; - -/** - The current profile instance and posts the appropriate notification - if the profile parameter is different than the receiver. - - This persists the profile to NSUserDefaults. - */ - -/// The current profile -@property (class, nullable, nonatomic, strong) FBSDKProfile *currentProfile -NS_SWIFT_NAME(current); - -/** - The user id - */ -@property (nonatomic, readonly, copy) FBSDKUserIdentifier *userID; -/** - The user's first name - */ -@property (nullable, nonatomic, readonly, copy) NSString *firstName; -/** - The user's middle name - */ -@property (nullable, nonatomic, readonly, copy) NSString *middleName; -/** - The user's last name - */ -@property (nullable, nonatomic, readonly, copy) NSString *lastName; -/** - The user's complete name - */ -@property (nullable, nonatomic, readonly, copy) NSString *name; -/** - A URL to the user's profile. - - IMPORTANT: This field will only be populated if your user has granted your application the 'user_link' permission - - Consider using `FBSDKAppLinkResolver` to resolve this - to an app link to link directly to the user's profile in the Facebook app. - */ -@property (nullable, nonatomic, readonly) NSURL *linkURL; - -/** - The last time the profile data was fetched. - */ -@property (nonatomic, readonly) NSDate *refreshDate; -/** - A URL to use for fetching a user's profile image. - */ -@property (nullable, nonatomic, readonly) NSURL *imageURL; -/** - The user's email. - - IMPORTANT: This field will only be populated if your user has granted your application the 'email' permission. - */ -@property (nullable, nonatomic, readonly, copy) NSString *email; -/** - A list of identifiers of the user's friends. - - IMPORTANT: This field will only be populated if your user has granted your application the 'user_friends' permission. - */ -@property (nullable, nonatomic, readonly, copy) NSArray *friendIDs; - -/** - The user's birthday. - - IMPORTANT: This field will only be populated if your user has granted your application the 'user_birthday' permission. - */ -@property (nullable, nonatomic, readonly, copy) NSDate *birthday; - -/** - The user's age range - - IMPORTANT: This field will only be populated if your user has granted your application the 'user_age_range' permission. - */ -@property (nullable, nonatomic, readonly, copy) FBSDKUserAgeRange *ageRange; - -/** - The user's hometown - - IMPORTANT: This field will only be populated if your user has granted your application the 'user_hometown' permission. - */ -@property (nullable, nonatomic, readonly, copy) FBSDKLocation *hometown; - -/** - The user's location - - IMPORTANT: This field will only be populated if your user has granted your application the 'user_location' permission. - */ -@property (nullable, nonatomic, readonly, copy) FBSDKLocation *location; - -/** - The user's gender - - IMPORTANT: This field will only be populated if your user has granted your application the 'user_gender' permission. - */ -@property (nullable, nonatomic, readonly, copy) NSString *gender; - -/** - Indicates if `currentProfile` will automatically observe `FBSDKAccessTokenDidChangeNotification` notifications - @param enable YES is observing - - If observing, this class will issue a graph request for public profile data when the current token's userID - differs from the current profile. You can observe `FBSDKProfileDidChangeNotification` for when the profile is updated. - - 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. - */ -// UNCRUSTIFY_FORMAT_OFF -+ (void)enableUpdatesOnAccessTokenChange:(BOOL)enable -NS_SWIFT_NAME(enableUpdatesOnAccessTokenChange(_:)); -// UNCRUSTIFY_FORMAT_ON - -/** - Loads the current profile and passes it to the completion block. - @param completion The block to be executed once the profile is loaded - - If the profile is already loaded, this method will call the completion block synchronously, otherwise it - will begin a graph request to update `currentProfile` and then call the completion block when finished. - */ -+ (void)loadCurrentProfileWithCompletion:(nullable FBSDKProfileBlock)completion; - -/** - 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. - */ -// UNCRUSTIFY_FORMAT_OFF -- (nullable NSURL *)imageURLForPictureMode:(FBSDKProfilePictureMode)mode size:(CGSize)size -NS_SWIFT_NAME(imageURL(forMode:size:)); -// UNCRUSTIFY_FORMAT_ON - -/** - Returns YES if the profile is equivalent to the receiver. - @param profile the profile to compare to. - */ -- (BOOL)isEqualToProfile:(FBSDKProfile *)profile; -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKProfilePictureView.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKProfilePictureView.h deleted file mode 100644 index c5b2545..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKProfilePictureView.h +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -@class FBSDKProfile; - -NS_ASSUME_NONNULL_BEGIN - -/** - FBSDKProfilePictureMode enum - Defines the aspect ratio mode for the source image of the profile picture. - */ -typedef NS_ENUM(NSUInteger, FBSDKProfilePictureMode) { - /** - A square cropped version of the image will be included in the view. - */ - FBSDKProfilePictureModeSquare, - /** - The original picture's aspect ratio will be used for the source image in the view. - */ - FBSDKProfilePictureModeNormal, - /** - The original picture's aspect ratio will be used for the source image in the view. - */ - FBSDKProfilePictureModeAlbum, - /** - The original picture's aspect ratio will be used for the source image in the view. - */ - FBSDKProfilePictureModeSmall, - /** - The original picture's aspect ratio will be used for the source image in the view. - */ - FBSDKProfilePictureModeLarge, -} NS_SWIFT_NAME(Profile.PictureMode); - -/** - A view to display a profile picture. - */ -NS_SWIFT_NAME(FBProfilePictureView) -@interface FBSDKProfilePictureView : UIView - -/** - Create a new instance of `FBSDKProfilePictureView`. - - - Parameter frame: Frame rectangle for the view. - - Parameter profile: Optional profile to display a picture for. - */ -- (instancetype)initWithFrame:(CGRect)frame - profile:(FBSDKProfile *_Nullable)profile; - -/** - Create a new instance of `FBSDKProfilePictureView`. - - - Parameter profile: Optional profile to display a picture for. - */ -- (instancetype)initWithProfile:(FBSDKProfile *_Nullable)profile; - -/** - The mode for the receiver to determine the aspect ratio of the source image. - */ -@property (nonatomic, assign) FBSDKProfilePictureMode pictureMode; - -/** - The profile ID to show the picture for. - */ -@property (nonatomic, copy) NSString *profileID; - -/** - Explicitly marks the receiver as needing to update the image. - - 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 - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKProfileProtocols.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKProfileProtocols.h deleted file mode 100644 index 4216f66..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKProfileProtocols.h +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -NS_ASSUME_NONNULL_BEGIN - -@class FBSDKProfile; - -NS_SWIFT_NAME(ProfileProviding) -@protocol FBSDKProfileProviding - -@property (class, nullable, nonatomic, strong) FBSDKProfile *currentProfile -NS_SWIFT_NAME(current); - -+ (nullable FBSDKProfile *)fetchCachedProfile; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKRandom.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKRandom.h deleted file mode 100644 index 40e8205..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKRandom.h +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -/** - Provides a random string - @param numberOfBytes the number of bytes to use - */ -extern NSString *fb_randomString(NSUInteger numberOfBytes); diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKServerConfigurationProvider.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKServerConfigurationProvider.h deleted file mode 100644 index 510f27b..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKServerConfigurationProvider.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal block type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(LoginTooltipBlock) -typedef void (^FBSDKLoginTooltipBlock)(FBSDKLoginTooltip *_Nullable loginTooltip, NSError *_Nullable error); - -/** -Internal Type exposed to facilitate transition to Swift. -API Subject to change or removal without warning. Do not use. - -@warning INTERNAL - DO NOT USE -*/ -NS_SWIFT_NAME(ServerConfigurationProvider) -@interface FBSDKServerConfigurationProvider : NSObject - -/** - Internal method exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -@property (nonatomic, readonly) NSString *loggingToken; - -/** - Internal method exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -- (NSUInteger)cachedSmartLoginOptions; - -/** - Internal method exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -- (BOOL)useSafariViewControllerForDialogName:(NSString *)dialogName; - -/** - Internal method exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -- (void)loadServerConfigurationWithCompletionBlock:(nullable FBSDKLoginTooltipBlock)completionBlock; -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKSettings.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKSettings.h deleted file mode 100644 index 51e7111..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKSettings.h +++ /dev/null @@ -1,400 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(Settings) -@interface FBSDKSettings : NSObject - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/** - The shared settings instance. Prefer this and the exposed instance methods over the class variants. - */ -@property (class, nonatomic, readonly) FBSDKSettings *sharedSettings; - -/** - Retrieve the current iOS SDK version. - */ -@property (nonatomic, readonly, copy) NSString *sdkVersion; - -/** - Retrieve the current iOS SDK version. - */ -@property (class, nonatomic, readonly, copy) NSString *sdkVersion - DEPRECATED_MSG_ATTRIBUTE("`Settings.sdkVersion` is deprecated and will be removed in the next major release, please use `Settings.shared.sdkVersion` instead"); - -/** - Retrieve the current default Graph API version. - */ -@property (class, nonatomic, readonly, copy) NSString *defaultGraphAPIVersion - DEPRECATED_MSG_ATTRIBUTE("`Settings.defaultGraphAPIVersion` is deprecated and will be removed in the next major release, please use `Settings.shared.defaultGraphAPIVersion` instead"); - -/** - Retrieve the current default Graph API version. - */ -@property (nonatomic, readonly, copy) NSString *defaultGraphAPIVersion; - -/** - The quality of JPEG images sent to Facebook from the SDK, - expressed as a value from 0.0 to 1.0. - - 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) */ -@property (class, nonatomic) CGFloat JPEGCompressionQuality -NS_SWIFT_NAME(jpegCompressionQuality) -DEPRECATED_MSG_ATTRIBUTE("`Settings.JPEGCompressionQuality` is deprecated and will be removed in the next major release, please use `Settings.shared.JPEGCompressionQuality` instead"); - -/** - The quality of JPEG images sent to Facebook from the SDK, - expressed as a value from 0.0 to 1.0. - - 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) */ -@property (nonatomic) CGFloat JPEGCompressionQuality -NS_SWIFT_NAME(jpegCompressionQuality); - -/** - Controls the auto logging of basic app events, such as activateApp and deactivateApp. - If not explicitly set, the default is true - */ -@property (class, nonatomic, getter = isAutoLogAppEventsEnabled) BOOL autoLogAppEventsEnabled - DEPRECATED_MSG_ATTRIBUTE("`Settings.isAutoLogAppEventsEnabled` is deprecated and will be removed in the next major release, please use `Settings.shared.isAutoLogAppEventsEnabled` instead"); - -/** - Controls the auto logging of basic app events, such as activateApp and deactivateApp. - If not explicitly set, the default is true - */ -@property (nonatomic, getter = isAutoLogAppEventsEnabled) BOOL autoLogAppEventsEnabled; - -/** - Controls the fb_codeless_debug logging event - If not explicitly set, the default is true - */ -@property (class, nonatomic, getter = isCodelessDebugLogEnabled) BOOL codelessDebugLogEnabled - DEPRECATED_MSG_ATTRIBUTE("`Settings.isCodelessDebugLogEnabled` is deprecated and will be removed in the next major release, please use `Settings.shared.isCodelessDebugLogEnabled` instead"); - -/** - Controls the fb_codeless_debug logging event - If not explicitly set, the default is true - */ -@property (nonatomic, getter = isCodelessDebugLogEnabled) BOOL codelessDebugLogEnabled; - -/** - Controls the access to IDFA - If not explicitly set, the default is true - */ -@property (class, nonatomic, getter = isAdvertiserIDCollectionEnabled) BOOL advertiserIDCollectionEnabled - DEPRECATED_MSG_ATTRIBUTE("`Settings.isAdvertiserIDCollectionEnabled` is deprecated and will be removed in the next major release, please use `Settings.shared.isAdvertiserIDCollectionEnabled` instead"); - -/** - Controls the access to IDFA - If not explicitly set, the default is true - */ -@property (nonatomic, getter = isAdvertiserIDCollectionEnabled) BOOL advertiserIDCollectionEnabled; - -/** - Controls the SKAdNetwork report - If not explicitly set, the default is true - */ -@property (class, nonatomic, getter = isSKAdNetworkReportEnabled) BOOL SKAdNetworkReportEnabled - DEPRECATED_MSG_ATTRIBUTE("`Settings.isSKAdNetworkReportEnabled` is deprecated and will be removed in the next major release, please use `Settings.shared.isSKAdNetworkReportEnabled` instead"); - -/** - Controls the SKAdNetwork report - If not explicitly set, the default is true - */ -@property (nonatomic, getter = isSKAdNetworkReportEnabled) BOOL skAdNetworkReportEnabled; - -/** - 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. - */ -@property (class, nonatomic, getter = shouldLimitEventAndDataUsage) BOOL limitEventAndDataUsage - DEPRECATED_MSG_ATTRIBUTE("`Settings.shouldLimitEventAndDataUsage` is deprecated and will be removed in the next major release, please use `Settings.shared.isEventDataUsageLimited` instead"); - -/** - 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. - */ -@property (nonatomic) BOOL isEventDataUsageLimited; - -/** - Whether in memory cached values should be used for expensive metadata fields, such as - carrier and advertiser ID, that are fetched on many applicationDidBecomeActive notifications. - Defaults to NO. This value is stored on the device and persists across app launches. - */ -@property (class, nonatomic, getter = shouldUseCachedValuesForExpensiveMetadata) BOOL shouldUseCachedValuesForExpensiveMetadata - DEPRECATED_MSG_ATTRIBUTE("`Settings.shouldUseCachedValuesForExpensiveMetadata` is deprecated and will be removed in the next major release, please use `Settings.shared.shouldUseCachedValuesForExpensiveMetadata` instead"); - -/** - Whether in memory cached values should be used for expensive metadata fields, such as - carrier and advertiser ID, that are fetched on many applicationDidBecomeActive notifications. - Defaults to NO. This value is stored on the device and persists across app launches. - */ -@property (nonatomic) BOOL shouldUseCachedValuesForExpensiveMetadata; - -/** - A convenient way to toggle error recovery for all FBSDKGraphRequest instances created after this is set. - */ -@property (class, nonatomic, getter = isGraphErrorRecoveryEnabled) BOOL graphErrorRecoveryEnabled - DEPRECATED_MSG_ATTRIBUTE("`Settings.isGraphErrorRecoveryEnabled` is deprecated and will be removed in the next major release, please use `Settings.shared.isGraphErrorRecoveryEnabled` instead"); - -/** - A convenient way to toggle error recovery for all FBSDKGraphRequest instances created after this is set. - */ -@property (nonatomic) BOOL isGraphErrorRecoveryEnabled; - -/** - The Facebook App ID used by the SDK. - - If not explicitly set, the default will be read from the application's plist (FacebookAppID). - */ -@property (nullable, nonatomic, copy) NSString *appID; - -/** - The Facebook App ID used by the SDK. - - If not explicitly set, the default will be read from the application's plist (FacebookAppID). - */ -@property (class, nullable, nonatomic, copy) NSString *appID - DEPRECATED_MSG_ATTRIBUTE("`Settings.appID` is deprecated and will be removed in the next major release, please use `Settings.shared.appID` instead"); - -/** - The default url scheme suffix used for sessions. - - If not explicitly set, the default will be read from the application's plist (FacebookUrlSchemeSuffix). - */ -@property (class, nullable, nonatomic, copy) NSString *appURLSchemeSuffix - DEPRECATED_MSG_ATTRIBUTE("`Settings.appURLSchemeSuffix` is deprecated and will be removed in the next major release, please use `Settings.shared.appURLSchemeSuffix` instead"); - -/** - The default url scheme suffix used for sessions. - - If not explicitly set, the default will be read from the application's plist (FacebookUrlSchemeSuffix). - */ -@property (nullable, nonatomic, copy) NSString *appURLSchemeSuffix; - -/** - The Client Token that has been set via [[FBSDKSettings sharedSettings] setClientToken]. - This is needed for certain API calls when made anonymously, without a user-based access token. - - 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 - - If not explicitly set, the default will be read from the application's plist (FacebookClientToken). - */ -@property (nullable, nonatomic, copy) NSString *clientToken; - -/** - The Client Token that has been set via [[FBSDKSettings sharedSettings] setClientToken]. - This is needed for certain API calls when made anonymously, without a user-based access token. - - 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 - - If not explicitly set, the default will be read from the application's plist (FacebookClientToken). - */ -@property (class, nullable, nonatomic, copy) NSString *clientToken - DEPRECATED_MSG_ATTRIBUTE("`Settings.clientToken` is deprecated and will be removed in the next major release, please use `Settings.shared.clientToken` instead"); - -/** - The Facebook Display Name used by the SDK. - - This should match the Display Name that has been set for the app with the corresponding Facebook App ID, - in the Facebook App Dashboard. - - If not explicitly set, the default will be read from the application's plist (FacebookDisplayName). - */ -@property (class, nullable, nonatomic, copy) NSString *displayName - DEPRECATED_MSG_ATTRIBUTE("`Settings.displayName` is deprecated and will be removed in the next major release, please use `Settings.shared.displayName` instead"); - -/** - The Facebook Display Name used by the SDK. - - This should match the Display Name that has been set for the app with the corresponding Facebook App ID, - in the Facebook App Dashboard. - - If not explicitly set, the default will be read from the application's plist (FacebookDisplayName). - */ -@property (nullable, nonatomic, copy) NSString *displayName; - -/** - The Facebook domain part. This can be used to change the Facebook domain - (e.g. @"beta") so that requests will be sent to `graph.beta.facebook.com` - - If not explicitly set, the default will be read from the application's plist (FacebookDomainPart). - */ -@property (class, nullable, nonatomic, copy) NSString *facebookDomainPart - DEPRECATED_MSG_ATTRIBUTE("`Settings.facebookDomainPart` is deprecated and will be removed in the next major release, please use `Settings.shared.facebookDomainPart` instead"); - -/** - The Facebook domain part. This can be used to change the Facebook domain - (e.g. @"beta") so that requests will be sent to `graph.beta.facebook.com` - - If not explicitly set, the default will be read from the application's plist (FacebookDomainPart). - */ -@property (nullable, nonatomic, copy) NSString *facebookDomainPart; - -/** - The current Facebook SDK logging behavior. This should consist of strings - defined as constants with FBSDKLoggingBehavior*. - - This should consist a set of strings indicating what information should be logged - defined as constants with FBSDKLoggingBehavior*. Set to an empty set in order to disable all logging. - - You can also define this via an array in your app plist with key "FacebookLoggingBehavior" or add and remove individual values via enableLoggingBehavior: or disableLoggingBehavior: - - The default is a set consisting of FBSDKLoggingBehaviorDeveloperErrors - */ -@property (class, nonatomic, copy) NSSet *loggingBehaviors - DEPRECATED_MSG_ATTRIBUTE("`Settings.loggingBehaviors` is deprecated and will be removed in the next major release, please use `Settings.shared.loggingBehaviors` instead"); - -/** - The current Facebook SDK logging behavior. This should consist of strings - defined as constants with FBSDKLoggingBehavior*. - - This should consist a set of strings indicating what information should be logged - defined as constants with FBSDKLoggingBehavior*. Set to an empty set in order to disable all logging. - - You can also define this via an array in your app plist with key "FacebookLoggingBehavior" or add and remove individual values via enableLoggingBehavior: or disableLoggingBehavior: - - The default is a set consisting of FBSDKLoggingBehaviorDeveloperErrors - */ -@property (nonatomic, copy) NSSet *loggingBehaviors; - -/** - Overrides the default Graph API version to use with `FBSDKGraphRequests`. - - The string should be of the form `@"v2.7"`. - - Defaults to `defaultGraphAPIVersion`. -*/ -@property (class, null_resettable, nonatomic, copy) NSString *graphAPIVersion - DEPRECATED_MSG_ATTRIBUTE("`Settings.graphAPIVersion` is deprecated and will be removed in the next major release, please use the `Settings.shared.graphAPIVersion` property instead"); - -/** - Overrides the default Graph API version to use with `FBSDKGraphRequests`. - - The string should be of the form `@"v2.7"`. - - Defaults to `defaultGraphAPIVersion`. -*/ -@property (nonatomic, copy) NSString *graphAPIVersion; - -/** - Internal property exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -@property (nullable, nonatomic, copy) NSString *userAgentSuffix; - -/** - The value of the flag advertiser_tracking_enabled that controls the advertiser tracking status of the data sent to Facebook - If not explicitly set in iOS14 or above, the default is false in iOS14 or above. - */ -@property (nonatomic, getter = isAdvertiserTrackingEnabled) BOOL advertiserTrackingEnabled; - -/** - The value of the flag advertiser_tracking_enabled that controls the advertiser tracking status of the data sent to Facebook - If not explicitly set in iOS14 or above, the default is false in iOS14 or above. - */ -+ (BOOL)isAdvertiserTrackingEnabled - DEPRECATED_MSG_ATTRIBUTE("`Settings.isAdvertiserTrackingEnabled()` is deprecated and will be removed in the next major release, please use the `Settings.shared.isAdvertiserTrackingEnabled` property instead"); - -/** -Set the advertiser_tracking_enabled flag. It only works in iOS14 and above. - -@param advertiserTrackingEnabled the value of the flag -@return Whether the the value is set successfully. It will always return NO in iOS 13 and below. - */ -+ (BOOL)setAdvertiserTrackingEnabled:(BOOL)advertiserTrackingEnabled - DEPRECATED_MSG_ATTRIBUTE("`Settings.setAdvertiserTrackingEnabled(_:)` is deprecated and will be removed in the next major release, please use the `Settings.shared.isAdvertiserTrackingEnabled` property to set a value instead"); - -/** -Set the data processing options. - -@param options list of options -*/ -+ (void)setDataProcessingOptions:(nullable NSArray *)options - DEPRECATED_MSG_ATTRIBUTE("`Settings.setDataProcessingOptions(_:)` is deprecated and will be removed in the next major release, please use the `Settings.shared.setDataProcessingOptions(_:)` method to set the data processing options instead"); - -/** -Set the data processing options. - -@param options list of options -*/ -- (void)setDataProcessingOptions:(nullable NSArray *)options; - -/** -Set the data processing options. - -@param options list of the options -@param country code of the country -@param state code of the state -*/ -+ (void)setDataProcessingOptions:(nullable NSArray *)options - country:(int)country - state:(int)state - DEPRECATED_MSG_ATTRIBUTE("`Settings.setDataProcessingOptions(_:_:_:)` is deprecated and will be removed in the next major release, please use the `Settings.shared.setDataProcessingOptions(_:_:_:)` method to set the data processing options instead"); - -/** -Set the data processing options. - -@param options list of the options -@param country code of the country -@param state code of the state -*/ -- (void)setDataProcessingOptions:(nullable NSArray *)options - country:(int)country - state:(int)state; - -/** - Enable a particular Facebook SDK logging behavior. - - @param loggingBehavior The LoggingBehavior to enable. This should be a string defined as a constant with FBSDKLoggingBehavior*. - */ -+ (void)enableLoggingBehavior:(FBSDKLoggingBehavior)loggingBehavior - DEPRECATED_MSG_ATTRIBUTE("`Settings.enableLoggingBehavior()` is deprecated and will be removed in the next major release, please use `Settings.shared.enableLoggingBehavior()` instead"); - -/** - 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:(FBSDKLoggingBehavior)loggingBehavior; - -/** - 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:(FBSDKLoggingBehavior)loggingBehavior - DEPRECATED_MSG_ATTRIBUTE("`Settings.disableLoggingBehavior()` is deprecated and will be removed in the next major release, please use `Settings.shared.disableLoggingBehavior()` instead"); - -/** - 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:(FBSDKLoggingBehavior)loggingBehavior; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKSettingsLogging.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKSettingsLogging.h deleted file mode 100644 index 848183e..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKSettingsLogging.h +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(SettingsLogging) -@protocol FBSDKSettingsLogging - -- (void)logWarnings; -- (void)logIfSDKSettingsChanged; -- (void)recordInstall; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKSettingsProtocol.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKSettingsProtocol.h deleted file mode 100644 index 1bdc698..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKSettingsProtocol.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(SettingsProtocol) -@protocol FBSDKSettings - -@property (nullable, nonatomic, copy) NSString *appID; -@property (nullable, nonatomic, copy) NSString *clientToken; -@property (nullable, nonatomic, copy) NSString *userAgentSuffix; -@property (nonatomic, readonly, copy) NSString *sdkVersion; -@property (nullable, nonatomic, copy) NSString *displayName; -@property (nullable, nonatomic, copy) NSString *facebookDomainPart; -@property (nonnull, nonatomic, copy) NSSet *loggingBehaviors; -@property (class, nonnull, nonatomic, copy) NSSet *loggingBehaviors - DEPRECATED_MSG_ATTRIBUTE("property class `loggingBehaviors` is deprecated and will be removed in the next major release, please use property instance`loggingBehaviors` instead"); -@property (nullable, nonatomic, copy) NSString *appURLSchemeSuffix; -@property (nonatomic, readonly) BOOL isDataProcessingRestricted; -@property (nonatomic, readonly) BOOL isAutoLogAppEventsEnabled; -@property (nonatomic, getter = isCodelessDebugLogEnabled) BOOL codelessDebugLogEnabled; -@property (nonatomic, getter = isAdvertiserIDCollectionEnabled) BOOL advertiserIDCollectionEnabled; -@property (nonatomic, readonly) BOOL isSetATETimeExceedsInstallTime; -@property (nonatomic, readonly) BOOL isSKAdNetworkReportEnabled; -@property (nonatomic, readonly) FBSDKAdvertisingTrackingStatus advertisingTrackingStatus; -@property (nullable, nonatomic, readonly) NSDate *installTimestamp; -@property (nullable, nonatomic, readonly) NSDate *advertiserTrackingEnabledTimestamp; -@property (nonatomic) BOOL isEventDataUsageLimited; -@property (nonatomic) BOOL shouldUseTokenOptimizations; -@property (nonatomic, copy) NSString *graphAPIVersion; -@property (nonatomic) BOOL isGraphErrorRecoveryEnabled; -@property (nullable, nonatomic, readonly, copy) NSString *graphAPIDebugParamValue; -@property (nonatomic, getter = isAdvertiserTrackingEnabled) BOOL advertiserTrackingEnabled; -@property (nonatomic) BOOL shouldUseCachedValuesForExpensiveMetadata; -@end -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKShareDialogConfiguration.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKShareDialogConfiguration.h deleted file mode 100644 index 3ffbc93..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKShareDialogConfiguration.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -/// Constant used to describe the 'Message' dialog -FOUNDATION_EXPORT NSString *const FBSDKDialogConfigurationNameMessage; -/// Constant used to describe the 'Share' dialog -FOUNDATION_EXPORT NSString *const FBSDKDialogConfigurationNameShare; - -/** - A lightweight interface to expose aspects of FBSDKServerConfiguration that are used by dialogs in ShareKit. - - Internal Use Only - */ -NS_SWIFT_NAME(ShareDialogConfiguration) -@interface FBSDKShareDialogConfiguration : NSObject - -@property (nonatomic, readonly, copy) NSString *defaultShareMode; - -- (BOOL)shouldUseNativeDialogForDialogName:(NSString *)dialogName; -- (BOOL)shouldUseSafariViewControllerForDialogName:(NSString *)dialogName; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKTokenCaching.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKTokenCaching.h deleted file mode 100644 index e3e4e33..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKTokenCaching.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -@class FBSDKAccessToken; -@class FBSDKAuthenticationToken; - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(TokenCaching) -@protocol FBSDKTokenCaching - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -@property (nullable, nonatomic, copy) FBSDKAccessToken *accessToken; - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -@property (nullable, nonatomic, copy) FBSDKAuthenticationToken *authenticationToken; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKTokenStringProviding.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKTokenStringProviding.h deleted file mode 100644 index 3218f4e..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKTokenStringProviding.h +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(TokenStringProviding) -@protocol FBSDKTokenStringProviding - -/** - Return the token string of the current access token. - - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE -*/ - -@property (class, nullable, nonatomic, readonly, copy) NSString *tokenString; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKTransformer.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKTransformer.h deleted file mode 100644 index f7a426c..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKTransformer.h +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -extern CATransform3D const FBSDKCATransform3DIdentity; - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -@interface FBSDKTransformer : NSObject -- (CATransform3D)CATransform3DMakeScale:(CGFloat)sx sy:(CGFloat)sy sz:(CGFloat)sz; -- (CATransform3D)CATransform3DMakeTranslation:(CGFloat)tx ty:(CGFloat)ty tz:(CGFloat)tz; -- (CATransform3D)CATransform3DConcat:(CATransform3D)a b:(CATransform3D)b; -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKURL.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKURL.h deleted file mode 100644 index 0833daa..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKURL.h +++ /dev/null @@ -1,98 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -NS_ASSUME_NONNULL_BEGIN - -@protocol FBSDKAppLink; - -/** - Provides a set of utilities for working with NSURLs, such as parsing of query parameters - and handling for App Link requests. - */ -NS_SWIFT_NAME(AppLinkURL) -@interface FBSDKURL : NSObject - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/** - Creates a link target from a raw URL. - On success, this posts the FBSDKAppLinkParseEventName measurement event. If you are constructing the FBSDKURL within your application delegate's - application:openURL:sourceApplication:annotation:, you should instead use URLWithInboundURL:sourceApplication: - to support better FBSDKMeasurementEvent notifications - @param url The instance of `NSURL` to create FBSDKURL from. - */ - -// UNCRUSTIFY_FORMAT_OFF -+ (instancetype)URLWithURL:(NSURL *)url -NS_SWIFT_NAME(init(url:)); -// UNCRUSTIFY_FORMAT_ON - -/** - Creates a link target from a raw URL received from an external application. This is typically called from the app delegate's - application:openURL:sourceApplication:annotation: and will post the FBSDKAppLinkNavigateInEventName measurement event. - @param url The instance of `NSURL` to create FBSDKURL from. - @param sourceApplication the bundle ID of the app that is requesting your app to open the URL. The same sourceApplication in application:openURL:sourceApplication:annotation: - */ - -// UNCRUSTIFY_FORMAT_OFF -+ (instancetype)URLWithInboundURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication -NS_SWIFT_NAME(init(inboundURL:sourceApplication:)); -// UNCRUSTIFY_FORMAT_ON - -/** - Gets the target URL. If the link is an App Link, this is the target of the App Link. - Otherwise, it is the url that created the target. - */ -@property (nonatomic, readonly, strong) NSURL *targetURL; - -/** - Gets the query parameters for the target, parsed into an NSDictionary. - */ -@property (nonatomic, readonly, strong) NSDictionary *targetQueryParameters; - -/** - If this link target is an App Link, this is the data found in al_applink_data. - Otherwise, it is nil. - */ -@property (nullable, nonatomic, readonly, strong) NSDictionary *appLinkData; - -/** - If this link target is an App Link, this is the data found in extras. - */ -@property (nullable, nonatomic, readonly, strong) NSDictionary *appLinkExtras; - -/** - The App Link indicating how to navigate back to the referer app, if any. - */ -@property (nullable, nonatomic, readonly, strong) id appLinkReferer; - -/** - The URL that was used to create this FBSDKURL. - */ -@property (nonatomic, readonly, strong) NSURL *inputURL; - -/** - The query parameters of the inputURL, parsed into an NSDictionary. - */ -@property (nonatomic, readonly, strong) NSDictionary *inputQueryParameters; - -/** - The flag indicating whether the URL comes from auto app link -*/ -@property (nonatomic, readonly, getter = isAutoAppLink) BOOL isAutoAppLink; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKURLHosting.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKURLHosting.h deleted file mode 100644 index 9dffdfe..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKURLHosting.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(URLHosting) -@protocol FBSDKURLHosting - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -- (NSURL *)appURLWithHost:(NSString *)host - path:(NSString *)path - queryParameters:(NSDictionary *)queryParameters - error:(NSError *__autoreleasing *)errorRef; - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -- (NSURL *)facebookURLWithHostPrefix:(NSString *)hostPrefix - path:(NSString *)path - queryParameters:(NSDictionary *)queryParameters - error:(NSError *__autoreleasing *)errorRef; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKURLOpener.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKURLOpener.h deleted file mode 100644 index 3b40776..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKURLOpener.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -NS_ASSUME_NONNULL_BEGIN - -@protocol FBSDKURLOpening; - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(URLOpener) -@protocol FBSDKURLOpener - -- (void)openURL:(NSURL *)url - sender:(nullable id)sender - handler:(FBSDKSuccessBlock)handler; - -// UNCRUSTIFY_FORMAT_OFF -- (void)openURLWithSafariViewController:(NSURL *)url - sender:(id)sender - fromViewController:(UIViewController *)fromViewController - handler:(FBSDKSuccessBlock)handler -NS_SWIFT_NAME(openURLWithSafariViewController(url:sender:from:handler:)); -// UNCRUSTIFY_FORMAT_ON - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKURLOpening.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKURLOpening.h deleted file mode 100644 index f026bc8..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKURLOpening.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(URLOpening) -@protocol FBSDKURLOpening - -// Implementations should make sure they can handle nil parameters -// which is possible in SafariViewController. -// see canOpenURL below. -- (BOOL)application:(nullable UIApplication *)application - openURL:(nullable NSURL *)url - sourceApplication:(nullable NSString *)sourceApplication - annotation:(nullable id)annotation; - -// create a different handler to return YES/NO if the receiver can process the above openURL:. -// This is separated so that we can process the openURL: in callbacks, while still returning -// the result of canOpenURL synchronously in FBSDKApplicationDelegate -- (BOOL) canOpenURL:(NSURL *)url - forApplication:(nullable UIApplication *)application - sourceApplication:(nullable NSString *)sourceApplication - annotation:(nullable id)annotation; - -- (void)applicationDidBecomeActive:(UIApplication *)application; - -- (BOOL)isAuthenticationURL:(NSURL *)url; - -@optional -- (BOOL)shouldStopPropagationOfURL:(NSURL *)url; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKURLScheme.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKURLScheme.h deleted file mode 100644 index 288f68d..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKURLScheme.h +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -typedef NSString *FBSDKURLScheme NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(URLScheme); - -FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeFacebookApp - DEPRECATED_MSG_ATTRIBUTE("`URLScheme.facebookApp` is deprecated and will be removed in the next major release; please use `URLScheme.facebookAPI` instead"); - -FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeFacebookAPI; - -FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeFacebookShareExtension - DEPRECATED_MSG_ATTRIBUTE("`URLScheme.facebookShareExtension` is deprecated and will be removed in the next major release; please use `URLScheme.facebookAPI` instead"); - -FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeMessengerApp; - -FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeMasqueradePlayer - DEPRECATED_MSG_ATTRIBUTE("`URLScheme.masqueradePlayer` is deprecated and will be removed in the next major release"); - -FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeHTTPS NS_SWIFT_NAME(https); - -FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeHTTP NS_SWIFT_NAME(http); - -FOUNDATION_EXPORT FBSDKURLScheme const FBSDKURLSchemeWeb; diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKUserAgeRange.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKUserAgeRange.h deleted file mode 100644 index 82a2d89..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKUserAgeRange.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(UserAgeRange) -@interface FBSDKUserAgeRange : NSObject - -/** - The user's minimun age, nil if unspecified - */ -@property (nullable, nonatomic, readonly, strong) NSNumber *min; -/** - The user's maximun age, nil if unspecified - */ -@property (nullable, nonatomic, readonly, strong) NSNumber *max; - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/** - Returns a UserAgeRange object from a dinctionary containing valid user age range. - @param dictionary The dictionary containing raw user age range - - Valid user age range will consist of "min" and/or "max" values that are - positive integers, where "min" is smaller than or equal to "max". - */ -+ (nullable instancetype)ageRangeFromDictionary:(NSDictionary *)dictionary; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKUtility.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKUtility.h deleted file mode 100644 index 1d9edc0..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKUtility.h +++ /dev/null @@ -1,112 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Class to contain common utility methods. - */ -NS_SWIFT_NAME(Utility) -@interface FBSDKUtility : NSObject - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/** - Parses a query string into a dictionary. - @param queryString The query string value. - @return A dictionary with the key/value pairs. - */ - -// UNCRUSTIFY_FORMAT_OFF -+ (NSDictionary *)dictionaryWithQueryString:(NSString *)queryString -NS_SWIFT_NAME(dictionary(withQuery:)); -// UNCRUSTIFY_FORMAT_ON - -/** - 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. - @return Query string representation of the parameters. - */ - -// UNCRUSTIFY_FORMAT_OFF -+ (NSString *)queryStringWithDictionary:(NSDictionary *)dictionary - error:(NSError **)errorRef -NS_SWIFT_NAME(query(from:)) -__attribute__((swift_error(nonnull_error))); -// UNCRUSTIFY_FORMAT_ON - -/** - Decodes a value from an URL. - @param value The value to decode. - @return The decoded value. - */ - -// UNCRUSTIFY_FORMAT_OFF -+ (NSString *)URLDecode:(NSString *)value -NS_SWIFT_NAME(decode(urlString:)); -// UNCRUSTIFY_FORMAT_ON - -/** - Encodes a value for an URL. - @param value The value to encode. - @return The encoded value. - */ - -// UNCRUSTIFY_FORMAT_OFF -+ (NSString *)URLEncode:(NSString *)value -NS_SWIFT_NAME(encode(urlString:)); -// UNCRUSTIFY_FORMAT_ON - -/** - Creates a timer using Grand Central Dispatch. - @param interval The interval to fire the timer, in seconds. - @param block The code block to execute when timer is fired. - @return The dispatch handle. - */ -+ (dispatch_source_t)startGCDTimerWithInterval:(double)interval block:(dispatch_block_t)block; - -/** - Stop a timer that was started by startGCDTimerWithInterval. - @param timer The dispatch handle received from startGCDTimerWithInterval. - */ -+ (void)stopGCDTimer:(dispatch_source_t)timer; - -/** - Get SHA256 hased string of NSString/NSData - - @param input The data that needs to be hashed, it could be NSString or NSData. - */ - -// UNCRUSTIFY_FORMAT_OFF -+ (nullable NSString *)SHA256Hash:(NSObject *)input -NS_SWIFT_NAME(sha256Hash(_:)); -// UNCRUSTIFY_FORMAT_ON - -/** - Returns the graphdomain stored in FBSDKAuthenticationToken - */ -+ (NSString *)getGraphDomainFromToken; - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -+ (NSURL *)unversionedFacebookURLWithHostPrefix:(NSString *)hostPrefix - path:(NSString *)path - queryParameters:(NSDictionary *)queryParameters - error:(NSError *__autoreleasing *)errorRef; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKWebDialog.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKWebDialog.h deleted file mode 100644 index bc17a2a..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKWebDialog.h +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import -#import -#import - -#import - -@protocol FBSDKWindowFinding; - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(WebDialog) -@interface FBSDKWebDialog : NSObject - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -@property (nonatomic) BOOL shouldDeferVisibility; - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -@property (nullable, nonatomic, strong) id windowFinder; - -+ (instancetype)new NS_UNAVAILABLE; -- (instancetype)init NS_UNAVAILABLE; - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -+ (instancetype)dialogWithName:(NSString *)name - delegate:(id)delegate; - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -// UNCRUSTIFY_FORMAT_OFF -+ (instancetype)createAndShowWithName:(NSString *)name - parameters:(nullable NSDictionary *)parameters - frame:(CGRect)frame - delegate:(id)delegate - windowFinder:(nullable id)windowFinder -NS_SWIFT_NAME(createAndShow(name:parameters:frame:delegate:windowFinder:)); -// UNCRUSTIFY_FORMAT_ON - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKWebDialogDelegate.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKWebDialogDelegate.h deleted file mode 100644 index 354fbfb..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKWebDialogDelegate.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -#import - -@class FBSDKWebDialog; - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(WebDialogDelegate) -@protocol FBSDKWebDialogDelegate - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -- (void)webDialog:(FBSDKWebDialog *)webDialog didCompleteWithResults:(NSDictionary *)results; - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -- (void)webDialog:(FBSDKWebDialog *)webDialog didFailWithError:(NSError *)error; - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -- (void)webDialogDidCancel:(FBSDKWebDialog *)webDialog; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKWebDialogView.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKWebDialogView.h deleted file mode 100644 index 324e46a..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKWebDialogView.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -@protocol FBSDKWebDialogViewDelegate; -@protocol FBSDKWebViewProviding; -@protocol FBSDKInternalURLOpener; - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(FBWebDialogView) -@interface FBSDKWebDialogView : UIView - -@property (nonatomic, weak) id delegate; - -+ (void)configureWithWebViewProvider:(id)provider - urlOpener:(id)urlOpener; - -- (void)loadURL:(NSURL *)URL; -- (void)stopLoading; - -@end - -NS_SWIFT_NAME(WebDialogViewDelegate) -@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 - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKWebViewAppLinkResolver.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKWebViewAppLinkResolver.h deleted file mode 100644 index b6bb336..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKWebViewAppLinkResolver.h +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - A reference implementation for an App Link resolver that uses a hidden WKWebView - to parse the HTML containing App Link metadata. - */ -NS_SWIFT_NAME(WebViewAppLinkResolver) -@interface FBSDKWebViewAppLinkResolver : NSObject - -/** - Gets the instance of a FBSDKWebViewAppLinkResolver. - */ -@property (class, nonatomic, readonly, strong) FBSDKWebViewAppLinkResolver *sharedInstance -NS_SWIFT_NAME(shared); - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKWindowFinding.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKWindowFinding.h deleted file mode 100644 index 66dc83c..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/FBSDKWindowFinding.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(WindowFinding) -@protocol FBSDKWindowFinding - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -- (nullable UIWindow *)findWindow; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/__FBSDKLoggerCreating.h b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/__FBSDKLoggerCreating.h deleted file mode 100644 index 5ef67ed..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Headers/__FBSDKLoggerCreating.h +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Internal Type exposed to facilitate transition to Swift. - API Subject to change or removal without warning. Do not use. - - @warning INTERNAL - DO NOT USE - */ -NS_SWIFT_NAME(LoggerCreating) -@protocol __FBSDKLoggerCreating - -- (id)createLoggerWithLoggingBehavior:(FBSDKLoggingBehavior)loggingBehavior; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Info.plist b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Info.plist deleted file mode 100644 index 381798d..0000000 Binary files a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Info.plist and /dev/null differ diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc deleted file mode 100644 index 1376d22..0000000 Binary files a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc and /dev/null differ diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface deleted file mode 100644 index 5e66c31..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface +++ /dev/null @@ -1,68 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -// swift-module-flags: -target arm64-apple-ios10.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKCoreKit -@_exported import FBSDKCoreKit -import Foundation -import Swift -extension AccessToken { - public var permissions: Swift.Set { - get - } - public var declinedPermissions: Swift.Set { - get - } - public var expiredPermissions: Swift.Set { - get - } - public func hasGranted(_ permission: FBSDKCoreKit.Permission) -> Swift.Bool -} -public enum Permission : Swift.Hashable, Swift.ExpressibleByStringLiteral { - case publicProfile - case userFriends - case email - case userAboutMe - case userActionsBooks - case userActionsFitness - case userActionsMusic - case userActionsNews - case userActionsVideo - case userBirthday - case userEducationHistory - case userEvents - case userGamesActivity - case userGender - case userHometown - case userLikes - case userLocation - case userManagedGroups - case userPhotos - case userPosts - case userRelationships - case userRelationshipDetails - case userReligionPolitics - case userTaggedPlaces - case userVideos - case userWebsite - case userWorkHistory - case readCustomFriendlists - case readInsights - case readAudienceNetworkInsights - case readPageMailboxes - case pagesShowList - case pagesManageCta - case pagesManageInstantArticles - case adsRead - case custom(Swift.String) - public init(stringLiteral value: Swift.String) - public var name: Swift.String { - get - } - public func hash(into hasher: inout Swift.Hasher) - public static func == (a: FBSDKCoreKit.Permission, b: FBSDKCoreKit.Permission) -> Swift.Bool - public typealias ExtendedGraphemeClusterLiteralType = Swift.String - public typealias StringLiteralType = Swift.String - public typealias UnicodeScalarLiteralType = Swift.String - public var hashValue: Swift.Int { - get - } -} diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftdoc b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftdoc deleted file mode 100644 index 1376d22..0000000 Binary files a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftdoc and /dev/null differ diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftinterface b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftinterface deleted file mode 100644 index 5e66c31..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64.swiftinterface +++ /dev/null @@ -1,68 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -// swift-module-flags: -target arm64-apple-ios10.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKCoreKit -@_exported import FBSDKCoreKit -import Foundation -import Swift -extension AccessToken { - public var permissions: Swift.Set { - get - } - public var declinedPermissions: Swift.Set { - get - } - public var expiredPermissions: Swift.Set { - get - } - public func hasGranted(_ permission: FBSDKCoreKit.Permission) -> Swift.Bool -} -public enum Permission : Swift.Hashable, Swift.ExpressibleByStringLiteral { - case publicProfile - case userFriends - case email - case userAboutMe - case userActionsBooks - case userActionsFitness - case userActionsMusic - case userActionsNews - case userActionsVideo - case userBirthday - case userEducationHistory - case userEvents - case userGamesActivity - case userGender - case userHometown - case userLikes - case userLocation - case userManagedGroups - case userPhotos - case userPosts - case userRelationships - case userRelationshipDetails - case userReligionPolitics - case userTaggedPlaces - case userVideos - case userWebsite - case userWorkHistory - case readCustomFriendlists - case readInsights - case readAudienceNetworkInsights - case readPageMailboxes - case pagesShowList - case pagesManageCta - case pagesManageInstantArticles - case adsRead - case custom(Swift.String) - public init(stringLiteral value: Swift.String) - public var name: Swift.String { - get - } - public func hash(into hasher: inout Swift.Hasher) - public static func == (a: FBSDKCoreKit.Permission, b: FBSDKCoreKit.Permission) -> Swift.Bool - public typealias ExtendedGraphemeClusterLiteralType = Swift.String - public typealias StringLiteralType = Swift.String - public typealias UnicodeScalarLiteralType = Swift.String - public var hashValue: Swift.Int { - get - } -} diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/i386-apple-ios-simulator.swiftdoc b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/i386-apple-ios-simulator.swiftdoc deleted file mode 100644 index 349dfb2..0000000 Binary files a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/i386-apple-ios-simulator.swiftdoc and /dev/null differ diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/i386-apple-ios-simulator.swiftinterface b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/i386-apple-ios-simulator.swiftinterface deleted file mode 100644 index bf5eb15..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/i386-apple-ios-simulator.swiftinterface +++ /dev/null @@ -1,68 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -// swift-module-flags: -target i386-apple-ios10.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKCoreKit -@_exported import FBSDKCoreKit -import Foundation -import Swift -extension AccessToken { - public var permissions: Swift.Set { - get - } - public var declinedPermissions: Swift.Set { - get - } - public var expiredPermissions: Swift.Set { - get - } - public func hasGranted(_ permission: FBSDKCoreKit.Permission) -> Swift.Bool -} -public enum Permission : Swift.Hashable, Swift.ExpressibleByStringLiteral { - case publicProfile - case userFriends - case email - case userAboutMe - case userActionsBooks - case userActionsFitness - case userActionsMusic - case userActionsNews - case userActionsVideo - case userBirthday - case userEducationHistory - case userEvents - case userGamesActivity - case userGender - case userHometown - case userLikes - case userLocation - case userManagedGroups - case userPhotos - case userPosts - case userRelationships - case userRelationshipDetails - case userReligionPolitics - case userTaggedPlaces - case userVideos - case userWebsite - case userWorkHistory - case readCustomFriendlists - case readInsights - case readAudienceNetworkInsights - case readPageMailboxes - case pagesShowList - case pagesManageCta - case pagesManageInstantArticles - case adsRead - case custom(Swift.String) - public init(stringLiteral value: Swift.String) - public var name: Swift.String { - get - } - public func hash(into hasher: inout Swift.Hasher) - public static func == (a: FBSDKCoreKit.Permission, b: FBSDKCoreKit.Permission) -> Swift.Bool - public typealias ExtendedGraphemeClusterLiteralType = Swift.String - public typealias StringLiteralType = Swift.String - public typealias UnicodeScalarLiteralType = Swift.String - public var hashValue: Swift.Int { - get - } -} diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/i386.swiftdoc b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/i386.swiftdoc deleted file mode 100644 index 349dfb2..0000000 Binary files a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/i386.swiftdoc and /dev/null differ diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/i386.swiftinterface b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/i386.swiftinterface deleted file mode 100644 index bf5eb15..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/i386.swiftinterface +++ /dev/null @@ -1,68 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -// swift-module-flags: -target i386-apple-ios10.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKCoreKit -@_exported import FBSDKCoreKit -import Foundation -import Swift -extension AccessToken { - public var permissions: Swift.Set { - get - } - public var declinedPermissions: Swift.Set { - get - } - public var expiredPermissions: Swift.Set { - get - } - public func hasGranted(_ permission: FBSDKCoreKit.Permission) -> Swift.Bool -} -public enum Permission : Swift.Hashable, Swift.ExpressibleByStringLiteral { - case publicProfile - case userFriends - case email - case userAboutMe - case userActionsBooks - case userActionsFitness - case userActionsMusic - case userActionsNews - case userActionsVideo - case userBirthday - case userEducationHistory - case userEvents - case userGamesActivity - case userGender - case userHometown - case userLikes - case userLocation - case userManagedGroups - case userPhotos - case userPosts - case userRelationships - case userRelationshipDetails - case userReligionPolitics - case userTaggedPlaces - case userVideos - case userWebsite - case userWorkHistory - case readCustomFriendlists - case readInsights - case readAudienceNetworkInsights - case readPageMailboxes - case pagesShowList - case pagesManageCta - case pagesManageInstantArticles - case adsRead - case custom(Swift.String) - public init(stringLiteral value: Swift.String) - public var name: Swift.String { - get - } - public func hash(into hasher: inout Swift.Hasher) - public static func == (a: FBSDKCoreKit.Permission, b: FBSDKCoreKit.Permission) -> Swift.Bool - public typealias ExtendedGraphemeClusterLiteralType = Swift.String - public typealias StringLiteralType = Swift.String - public typealias UnicodeScalarLiteralType = Swift.String - public var hashValue: Swift.Int { - get - } -} diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc deleted file mode 100644 index da380e0..0000000 Binary files a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc and /dev/null differ diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface deleted file mode 100644 index ecde488..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +++ /dev/null @@ -1,68 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -// swift-module-flags: -target x86_64-apple-ios10.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKCoreKit -@_exported import FBSDKCoreKit -import Foundation -import Swift -extension AccessToken { - public var permissions: Swift.Set { - get - } - public var declinedPermissions: Swift.Set { - get - } - public var expiredPermissions: Swift.Set { - get - } - public func hasGranted(_ permission: FBSDKCoreKit.Permission) -> Swift.Bool -} -public enum Permission : Swift.Hashable, Swift.ExpressibleByStringLiteral { - case publicProfile - case userFriends - case email - case userAboutMe - case userActionsBooks - case userActionsFitness - case userActionsMusic - case userActionsNews - case userActionsVideo - case userBirthday - case userEducationHistory - case userEvents - case userGamesActivity - case userGender - case userHometown - case userLikes - case userLocation - case userManagedGroups - case userPhotos - case userPosts - case userRelationships - case userRelationshipDetails - case userReligionPolitics - case userTaggedPlaces - case userVideos - case userWebsite - case userWorkHistory - case readCustomFriendlists - case readInsights - case readAudienceNetworkInsights - case readPageMailboxes - case pagesShowList - case pagesManageCta - case pagesManageInstantArticles - case adsRead - case custom(Swift.String) - public init(stringLiteral value: Swift.String) - public var name: Swift.String { - get - } - public func hash(into hasher: inout Swift.Hasher) - public static func == (a: FBSDKCoreKit.Permission, b: FBSDKCoreKit.Permission) -> Swift.Bool - public typealias ExtendedGraphemeClusterLiteralType = Swift.String - public typealias StringLiteralType = Swift.String - public typealias UnicodeScalarLiteralType = Swift.String - public var hashValue: Swift.Int { - get - } -} diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftdoc b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftdoc deleted file mode 100644 index da380e0..0000000 Binary files a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftdoc and /dev/null differ diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftinterface b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftinterface deleted file mode 100644 index ecde488..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftinterface +++ /dev/null @@ -1,68 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -// swift-module-flags: -target x86_64-apple-ios10.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKCoreKit -@_exported import FBSDKCoreKit -import Foundation -import Swift -extension AccessToken { - public var permissions: Swift.Set { - get - } - public var declinedPermissions: Swift.Set { - get - } - public var expiredPermissions: Swift.Set { - get - } - public func hasGranted(_ permission: FBSDKCoreKit.Permission) -> Swift.Bool -} -public enum Permission : Swift.Hashable, Swift.ExpressibleByStringLiteral { - case publicProfile - case userFriends - case email - case userAboutMe - case userActionsBooks - case userActionsFitness - case userActionsMusic - case userActionsNews - case userActionsVideo - case userBirthday - case userEducationHistory - case userEvents - case userGamesActivity - case userGender - case userHometown - case userLikes - case userLocation - case userManagedGroups - case userPhotos - case userPosts - case userRelationships - case userRelationshipDetails - case userReligionPolitics - case userTaggedPlaces - case userVideos - case userWebsite - case userWorkHistory - case readCustomFriendlists - case readInsights - case readAudienceNetworkInsights - case readPageMailboxes - case pagesShowList - case pagesManageCta - case pagesManageInstantArticles - case adsRead - case custom(Swift.String) - public init(stringLiteral value: Swift.String) - public var name: Swift.String { - get - } - public func hash(into hasher: inout Swift.Hasher) - public static func == (a: FBSDKCoreKit.Permission, b: FBSDKCoreKit.Permission) -> Swift.Bool - public typealias ExtendedGraphemeClusterLiteralType = Swift.String - public typealias StringLiteralType = Swift.String - public typealias UnicodeScalarLiteralType = Swift.String - public var hashValue: Swift.Int { - get - } -} diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/_CodeSignature/CodeDirectory b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/_CodeSignature/CodeDirectory deleted file mode 100644 index c93527d..0000000 Binary files a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/_CodeSignature/CodeDirectory and /dev/null differ diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/_CodeSignature/CodeRequirements-1 b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/_CodeSignature/CodeRequirements-1 deleted file mode 100644 index fc01a1f..0000000 Binary files a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/_CodeSignature/CodeRequirements-1 and /dev/null differ diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/_CodeSignature/CodeResources b/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/_CodeSignature/CodeResources deleted file mode 100644 index 16fa9cb..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKCoreKit.framework/_CodeSignature/CodeResources +++ /dev/null @@ -1,1947 +0,0 @@ - - - - - files - - Headers/FBSDKAccessToken.h - - puqA36r83nD6sgzm8h/e705Ughw= - - Headers/FBSDKAccessTokenProtocols.h - - LaKK65Q0+4bqGSEKLlRM1kNo5ns= - - Headers/FBSDKAdvertisingTrackingStatus.h - - Xbbo1GtLfsfH5CsWJJSBjpCk9HQ= - - Headers/FBSDKAppAvailabilityChecker.h - - EDqBmY6PtGhcdtBENjW0xI4T9YM= - - Headers/FBSDKAppEventName.h - - XuA9w0UrUPs2k2QRgJyveJKCUjk= - - Headers/FBSDKAppEventParameterName.h - - oFk2s98S4o03FztKQw9fb5UvWok= - - Headers/FBSDKAppEventParameterProduct.h - - 9Jzx/qRrLGYG0l3KxmwSsikIj6s= - - Headers/FBSDKAppEventParameterValue.h - - mGoX0ynOvt1f7Mw08RB1paFhW2c= - - Headers/FBSDKAppEventUserDataType.h - - xsvXscMDR+bn0s15JJ/3GJxOLIs= - - Headers/FBSDKAppEvents.h - - +SD64HTQCVtSTejtDLvxnyg/hRA= - - Headers/FBSDKAppEventsFlushBehavior.h - - 2ZO7t4DDJBK9SoO4q4wNxjd/zMA= - - Headers/FBSDKAppEventsNotificationName.h - - vqXYarjdbXvH4MOvo6dZOOkKtis= - - Headers/FBSDKAppLink.h - - jETT60oHmxupABEpnXsJ0W0RLKI= - - Headers/FBSDKAppLinkNavigation.h - - gF0YD/XPJ+DCVBdOUNjOIvW2rO8= - - Headers/FBSDKAppLinkResolver.h - - aQzZY8poVkZh9ODJTgMeECd0sfM= - - Headers/FBSDKAppLinkResolverRequestBuilder.h - - ksGWRUkAIIZNBysqbbXm3Tg8RxM= - - Headers/FBSDKAppLinkResolving.h - - EoWmKLl9wmVTEwPbdJgX5P/Df3Y= - - Headers/FBSDKAppLinkTarget.h - - TvASKBLKDtedhH/gToLNBV2SL74= - - Headers/FBSDKAppLinkTargetProtocol.h - - rJMSHIlYKTio7fKa1xQkySXx7x0= - - Headers/FBSDKAppLinkUtility.h - - cMXS4lzhkWDQ1gQTHlm+qZl3D0Q= - - Headers/FBSDKAppURLSchemeProviding.h - - IL0FGxznQO54XzmgfTVXni5qsSo= - - Headers/FBSDKApplicationDelegate.h - - CFGjC5dfo0sxwrqaUUpPDNvY8VQ= - - Headers/FBSDKApplicationObserving.h - - 9pUFxMWB5pKn3oOAKKGJEsLWdok= - - Headers/FBSDKAuthenticationToken.h - - QLvjS2JydqkX6s3O33scJzaql+g= - - Headers/FBSDKAuthenticationTokenClaims.h - - uBx0Gm7hWUsr/GGHAEEzzBFKBPs= - - Headers/FBSDKAuthenticationTokenProtocols.h - - Yj3fNBPian/pSoXEcMd0swDxSq4= - - Headers/FBSDKBridgeAPI.h - - kkE06GBjYvFR050IcEHgxIWq6Qw= - - Headers/FBSDKBridgeAPIProtocol.h - - Eg/c2B44xbp9aeW5ijH07NdLhxU= - - Headers/FBSDKBridgeAPIProtocolType.h - - d8o5vM32U93+JcAHG8Syd2IGIG4= - - Headers/FBSDKBridgeAPIRequest.h - - ltffTPH9zSqekQsLyYLkG/6rDtc= - - Headers/FBSDKBridgeAPIRequestCreating.h - - e7eRb4AWFdEhkGIWOlpCfkQtSik= - - Headers/FBSDKBridgeAPIRequestOpening.h - - gq/Y4WK7ZFKEQyzmYnO5J0fLyB0= - - Headers/FBSDKBridgeAPIRequestProtocol.h - - P78TKNiwjeoWvU5qtMaH5r2r5tg= - - Headers/FBSDKBridgeAPIResponse.h - - Na6n8NnuhW/jtE+dBr0HUqCk3o0= - - Headers/FBSDKButton.h - - ydGFsGSN3mUgKapOAanxBuHksag= - - Headers/FBSDKButtonImpressionLogging.h - - 9yAEnFMowi+pDwBEqnCn+mAZ0cg= - - Headers/FBSDKConstants.h - - LahaeCwsdVqzmujFaclrFKOVV5g= - - Headers/FBSDKCoreKit-Swift.h - - LOoKFjd9IuP2tmcBEu5A3a64vPs= - - Headers/FBSDKCoreKit.h - - AlrSR8VQDBzxHEHDNyQe8kMPQuA= - - Headers/FBSDKCoreKitVersions.h - - ulbn9rcfDOoL6UiN8gMehmL/yso= - - Headers/FBSDKDeviceButton.h - - 5yifnHy6bzmWSjVBIbTf0fHiHjg= - - Headers/FBSDKDeviceDialogView.h - - PtZ4Luln/klPOTMcO1338bptSwQ= - - Headers/FBSDKDeviceViewControllerBase.h - - JkMRuJFXCDbbyPPohJY3teA5pJQ= - - Headers/FBSDKDynamicFrameworkLoaderProxy.h - - nSY+nCEtusBjiRGM6I4y/aJTbzQ= - - Headers/FBSDKDynamicSocialFrameworkLoader.h - - 1RsFmfZ7Y5hypbYw+54MBWJY/mA= - - Headers/FBSDKError.h - - FSBNO5eAmM+PgQUlpcOfxHRDCNU= - - Headers/FBSDKErrorRecoveryAttempting.h - - YVFzIsGCKGh6gqmY/EtLk0kNEdA= - - Headers/FBSDKFeature.h - - PR5YEJsJCaDQw8O6AAmG6WSCEb8= - - Headers/FBSDKFeatureChecking.h - - 3IIJmof1z5A6KMWAQsvxwlF+99o= - - Headers/FBSDKGraphErrorRecoveryProcessor.h - - G4fc3hdE/zQWzXSOVPV5ddeRtnU= - - Headers/FBSDKGraphRequest.h - - 082NW1tilcmHtRvXXUic27ls56s= - - Headers/FBSDKGraphRequestConnecting.h - - 8neGTwEmQCPdMQXRPdopnK5vdCI= - - Headers/FBSDKGraphRequestConnection.h - - 8PNcxo5scQIGrbIamHMaw3QwXiA= - - Headers/FBSDKGraphRequestConnectionDelegate.h - - ne+IL3UAcginJ/0tZkdrBFYa44w= - - Headers/FBSDKGraphRequestConnectionFactory.h - - GwXPfdXqu52n6OWypaUfNZCfKts= - - Headers/FBSDKGraphRequestConnectionFactoryProtocol.h - - vk/J7DqTw7CuPDIfMS5bXhbzBCo= - - Headers/FBSDKGraphRequestDataAttachment.h - - 7O6NRm5AAJFM/Z4ZbV80pSUZtv0= - - Headers/FBSDKGraphRequestFactory.h - - QkZJQxVJKcDWQQ0QuupHeo6ogNo= - - Headers/FBSDKGraphRequestFactoryProtocol.h - - mRwVGPnU3f6dgh9SDgZol0pkQtc= - - Headers/FBSDKGraphRequestFlags.h - - FHYQ897wVXWBn6VN1bS6uPRQJuQ= - - Headers/FBSDKGraphRequestHTTPMethod.h - - emoY4A93W0/3Ui5sCbAL7aabeZY= - - Headers/FBSDKGraphRequestProtocol.h - - dkH35M+7OvYmbTep/FbVxzaXSV8= - - Headers/FBSDKIcon.h - - EYvQfeo33/pfLGSiEAXoZQwREgA= - - Headers/FBSDKImpressionLoggingButton.h - - 2regX89zRP2iCaA+xrRtDfR5688= - - Headers/FBSDKInternalUtility.h - - 4qSic4scPg8YJAr4zF+ho+qsaWw= - - Headers/FBSDKInternalUtilityProtocol.h - - HXoA7PnW+j1n3L+nKmpVp6Z/5ZA= - - Headers/FBSDKKeychainStore.h - - 7BLrxFVThMTYxlmehMjUz3lonSA= - - Headers/FBSDKKeychainStoreFactory.h - - AiWgzC+ZkVvJOP2C8Djkcwi4B0k= - - Headers/FBSDKKeychainStoreProtocol.h - - iTC3MEolPqfUbeCbomabmHD7hdo= - - Headers/FBSDKKeychainStoreProviding.h - - 5NaqoSZHPTyr995edkdsaJlRc1o= - - Headers/FBSDKLocation.h - - +eMgX/sxCmMME1eHTSeevsPvk80= - - Headers/FBSDKLogger.h - - NOvhvx7yXK1SEN94XdmwdN9siYs= - - Headers/FBSDKLogging.h - - Y1I/5BRYX5D/sGNlVBz3+HHR0ew= - - Headers/FBSDKLoggingBehavior.h - - rSPEz6rTyLbVXqmDQgISXJlQw6c= - - Headers/FBSDKLoginTooltip.h - - Oc+AcTLyDDS0l1P7WsbaEsHn14g= - - Headers/FBSDKMeasurementEvent.h - - Kjkcik6CK2K6PHhLeZIab+R1OkU= - - Headers/FBSDKMutableCopying.h - - JiF7b4RbWfRAASOyceUB++pk50Q= - - Headers/FBSDKProductAvailability.h - - /XsLNnXOOOJSOrHF6hXjqyux83s= - - Headers/FBSDKProductCondition.h - - M6ECFTBRd2dfyOyndVDGEZ5RBhY= - - Headers/FBSDKProfile.h - - 1gLZvuRuhTmmb3RV0u9CfjPnFbY= - - Headers/FBSDKProfilePictureView.h - - YqfVL45diOzND37H/eflgS/DXDo= - - Headers/FBSDKProfileProtocols.h - - B60SN3hVeK8myWTi1MYIucVP+FU= - - Headers/FBSDKRandom.h - - LoPPibNOvhSf9qg9Bs7JVeR00ps= - - Headers/FBSDKServerConfigurationProvider.h - - kZ/Z+98dFoqYWbXSr6MEjzi7tOs= - - Headers/FBSDKSettings.h - - C5Jf0O97fgLi6Ep3YsfwE5t6D3o= - - Headers/FBSDKSettingsLogging.h - - Pgu25YNj94mus4RAVPB/C6a3uTI= - - Headers/FBSDKSettingsProtocol.h - - 39OHEpjsLChQ/KJqEz9mnt3sMFs= - - Headers/FBSDKShareDialogConfiguration.h - - 4oQazpjzoajcOU0yWoBMsgd6zqE= - - Headers/FBSDKTokenCaching.h - - 0FwY9FO3y3ot6PcmOKk6c6iCf60= - - Headers/FBSDKTokenStringProviding.h - - 4qL2Rq85nvL66btFccVPJDrou6Y= - - Headers/FBSDKTransformer.h - - sReV6E/tDHWh7gYOQLC9WNobxhg= - - Headers/FBSDKURL.h - - sGz7wa4yS1pb6AUx9RNks7jQvXA= - - Headers/FBSDKURLHosting.h - - 8AofZOZqbAXRz290ZN938Q+vrdc= - - Headers/FBSDKURLOpener.h - - yRq4MXDD00M01RePggfC3nn3wqw= - - Headers/FBSDKURLOpening.h - - zAfSHyGOLxv0yl7jNUM9P8IEgmk= - - Headers/FBSDKURLScheme.h - - 3liO1ko62oLhfjQcWW3yK8xXGyY= - - Headers/FBSDKUserAgeRange.h - - 0aUDLKQEPP8Fb2FhGhOTTY/q5y8= - - Headers/FBSDKUtility.h - - 7MGDcCkw50VOQwPPfNyk/QS8zvo= - - Headers/FBSDKWebDialog.h - - SRBvfaTJGEXkfewuSzZH4i0Sams= - - Headers/FBSDKWebDialogDelegate.h - - xDYCqLGr6Zr0Se2omfyzEQ8qqSA= - - Headers/FBSDKWebDialogView.h - - pZD3U3bVpbHroODwMtZXKil7cus= - - Headers/FBSDKWebViewAppLinkResolver.h - - H5+KcbRxSwMrUo7w7PnejfmijZE= - - Headers/FBSDKWindowFinding.h - - +kXqAR5++fev/D2BP1l0JcDa8y4= - - Headers/__FBSDKLoggerCreating.h - - C9F4Xp0BxiMrKc/kVzWB3B4iexw= - - Info.plist - - nVzGEb3WPyQweFpIVjqUyo7pwAs= - - Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc - - B13HfYHe0Mqo+muRgNce1Jr2HZE= - - Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface - - QnP7D8Rhwr84efo7/UF9KnuKt9Y= - - Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios-simulator.swiftmodule - - xaoRjWbniiIuKwqf9On9BkbI2/Y= - - Modules/FBSDKCoreKit.swiftmodule/arm64.swiftdoc - - B13HfYHe0Mqo+muRgNce1Jr2HZE= - - Modules/FBSDKCoreKit.swiftmodule/arm64.swiftinterface - - QnP7D8Rhwr84efo7/UF9KnuKt9Y= - - Modules/FBSDKCoreKit.swiftmodule/arm64.swiftmodule - - xaoRjWbniiIuKwqf9On9BkbI2/Y= - - Modules/FBSDKCoreKit.swiftmodule/i386-apple-ios-simulator.swiftdoc - - F2XGx2Q/iz1V5YVCEp5bhVf7WI8= - - Modules/FBSDKCoreKit.swiftmodule/i386-apple-ios-simulator.swiftinterface - - kwi3RG+EdvGSdgzzuzcawdIcplY= - - Modules/FBSDKCoreKit.swiftmodule/i386-apple-ios-simulator.swiftmodule - - 6JkFGkkdIWyavnYZiBBVXa5EKEM= - - Modules/FBSDKCoreKit.swiftmodule/i386.swiftdoc - - F2XGx2Q/iz1V5YVCEp5bhVf7WI8= - - Modules/FBSDKCoreKit.swiftmodule/i386.swiftinterface - - kwi3RG+EdvGSdgzzuzcawdIcplY= - - Modules/FBSDKCoreKit.swiftmodule/i386.swiftmodule - - 6JkFGkkdIWyavnYZiBBVXa5EKEM= - - Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc - - wN45BtThBybE+YBMnISNAn3Wrkc= - - Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface - - tvtKKmPkv514x9HojvmpErAFqww= - - Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule - - e0JcFCw/d8y/ek+QN5PwjPsCVwU= - - Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftdoc - - wN45BtThBybE+YBMnISNAn3Wrkc= - - Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftinterface - - tvtKKmPkv514x9HojvmpErAFqww= - - Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftmodule - - e0JcFCw/d8y/ek+QN5PwjPsCVwU= - - Modules/module.modulemap - - dqxVNYXT9nBvFc3sI+M8nUrDXuA= - - - files2 - - Headers/FBSDKAccessToken.h - - hash - - puqA36r83nD6sgzm8h/e705Ughw= - - hash2 - - Vl9CpFVATzkubiY7aN8A/tw/YQM8thMuaXVXlqbpgZ0= - - - Headers/FBSDKAccessTokenProtocols.h - - hash - - LaKK65Q0+4bqGSEKLlRM1kNo5ns= - - hash2 - - czJ6rCicrQroaPXBQeC3HxOtGzoY5j1oOB907zVYFYE= - - - Headers/FBSDKAdvertisingTrackingStatus.h - - hash - - Xbbo1GtLfsfH5CsWJJSBjpCk9HQ= - - hash2 - - kNWILqiFKs3RDg7uO4a7gYGHLl18Iu4MxbITFuYgGvk= - - - Headers/FBSDKAppAvailabilityChecker.h - - hash - - EDqBmY6PtGhcdtBENjW0xI4T9YM= - - hash2 - - RW4YQF6xRHAL2XzoCxuf03gjAAHowoHjrhcROKME7V4= - - - Headers/FBSDKAppEventName.h - - hash - - XuA9w0UrUPs2k2QRgJyveJKCUjk= - - hash2 - - of5DcAurC9WQtqfsg9ghum7mw82ChZztEKNb2j1q7HI= - - - Headers/FBSDKAppEventParameterName.h - - hash - - oFk2s98S4o03FztKQw9fb5UvWok= - - hash2 - - eVOx6ZKIUVlQyZpj2x7IiaRQqKBiMWCGTVhF9ZhtBlc= - - - Headers/FBSDKAppEventParameterProduct.h - - hash - - 9Jzx/qRrLGYG0l3KxmwSsikIj6s= - - hash2 - - 7CYhTExQl7TFHqNpjLS/0GfUutk8hdIoIwWV5j2O4Nc= - - - Headers/FBSDKAppEventParameterValue.h - - hash - - mGoX0ynOvt1f7Mw08RB1paFhW2c= - - hash2 - - UC735QrrSDRUjHomTbek5c8gGBRWIQmU1uf1FymdQiE= - - - Headers/FBSDKAppEventUserDataType.h - - hash - - xsvXscMDR+bn0s15JJ/3GJxOLIs= - - hash2 - - aFDTWVMHMS81f1DQY9zrxMzeTPHnKRXOZ0+XSwMxjUM= - - - Headers/FBSDKAppEvents.h - - hash - - +SD64HTQCVtSTejtDLvxnyg/hRA= - - hash2 - - wvfXrp7bWti1ZGcSCgZ3slfCbFpbCkHBCn3ldx07V9w= - - - Headers/FBSDKAppEventsFlushBehavior.h - - hash - - 2ZO7t4DDJBK9SoO4q4wNxjd/zMA= - - hash2 - - jk4rg/gYOHGvntutgEvZ+91grWRpRTY/6iEXsrlSHBk= - - - Headers/FBSDKAppEventsNotificationName.h - - hash - - vqXYarjdbXvH4MOvo6dZOOkKtis= - - hash2 - - xmEPxAVL7PkmvNFooJTSheTRd/LiSGyaxO2/9pfuKFw= - - - Headers/FBSDKAppLink.h - - hash - - jETT60oHmxupABEpnXsJ0W0RLKI= - - hash2 - - JGPlx/mW68B2pnuTlYSJN7rVXzDASQ9dZzbtLkf2r8I= - - - Headers/FBSDKAppLinkNavigation.h - - hash - - gF0YD/XPJ+DCVBdOUNjOIvW2rO8= - - hash2 - - ZwLLUQ3yLfa6SbLaIxJs6WUirvNYWvSjsxcfZWFdYMo= - - - Headers/FBSDKAppLinkResolver.h - - hash - - aQzZY8poVkZh9ODJTgMeECd0sfM= - - hash2 - - X6n2zzzFHLyqKYxh/iWu3sOi8Lvg9PLM97KnfgVdoqA= - - - Headers/FBSDKAppLinkResolverRequestBuilder.h - - hash - - ksGWRUkAIIZNBysqbbXm3Tg8RxM= - - hash2 - - NaYUZMnU9XijY+GaKoB7FqiRU/PZbYp0V7sT2Jwadas= - - - Headers/FBSDKAppLinkResolving.h - - hash - - EoWmKLl9wmVTEwPbdJgX5P/Df3Y= - - hash2 - - stxZ5xOKynos88BJgx2Iptp0GNYB0Lfz/E9I/IL7f9k= - - - Headers/FBSDKAppLinkTarget.h - - hash - - TvASKBLKDtedhH/gToLNBV2SL74= - - hash2 - - w4GQ67iJk/2gqT09uJlru/Zc2z7LBjlDL+eTAnB0fwQ= - - - Headers/FBSDKAppLinkTargetProtocol.h - - hash - - rJMSHIlYKTio7fKa1xQkySXx7x0= - - hash2 - - 1Nzf3UNe4QYag9Q2pSpl+vXujbYGQOQHCpbIdWbREWo= - - - Headers/FBSDKAppLinkUtility.h - - hash - - cMXS4lzhkWDQ1gQTHlm+qZl3D0Q= - - hash2 - - 5AxZYtjOsUFGoYizGFXLGe3KTleEcp4FlV1s6NFAvz4= - - - Headers/FBSDKAppURLSchemeProviding.h - - hash - - IL0FGxznQO54XzmgfTVXni5qsSo= - - hash2 - - 2WC0gXoPyHiXbPCYiwMMpfiafbasPKYZpvUDbVKI/qA= - - - Headers/FBSDKApplicationDelegate.h - - hash - - CFGjC5dfo0sxwrqaUUpPDNvY8VQ= - - hash2 - - V+BdH6IFGPKczDF4sKv9wvawQ984oARksNBG6pDCQZk= - - - Headers/FBSDKApplicationObserving.h - - hash - - 9pUFxMWB5pKn3oOAKKGJEsLWdok= - - hash2 - - oUYbOJ0lPpb1CmcDH6TyjYSoGC2bVID/VRi2O61zDmg= - - - Headers/FBSDKAuthenticationToken.h - - hash - - QLvjS2JydqkX6s3O33scJzaql+g= - - hash2 - - 1Lcoq10tRRUvPwqePnAeSEktlhK/pprU6Zc3wsztch0= - - - Headers/FBSDKAuthenticationTokenClaims.h - - hash - - uBx0Gm7hWUsr/GGHAEEzzBFKBPs= - - hash2 - - 9T4eOZQnGuMrePw/5t8Thy9CmMRsTd0cVTYcyPZb0ks= - - - Headers/FBSDKAuthenticationTokenProtocols.h - - hash - - Yj3fNBPian/pSoXEcMd0swDxSq4= - - hash2 - - a1kJ3ACsxtCA1Bi/x78jVJH/pfShKOM6212tYZ2rfZQ= - - - Headers/FBSDKBridgeAPI.h - - hash - - kkE06GBjYvFR050IcEHgxIWq6Qw= - - hash2 - - LcQIZWNsukuLNK9eLcYi2VDp3mMspr3ftrxqNZ+BtGo= - - - Headers/FBSDKBridgeAPIProtocol.h - - hash - - Eg/c2B44xbp9aeW5ijH07NdLhxU= - - hash2 - - E01RHGNaNPhUtd9h7SganB/UY55J24YgGGHe6eIhRZU= - - - Headers/FBSDKBridgeAPIProtocolType.h - - hash - - d8o5vM32U93+JcAHG8Syd2IGIG4= - - hash2 - - n1WeY1C5kOTfStN7IVIl0PUWy81F9puerFxUYYIYrFA= - - - Headers/FBSDKBridgeAPIRequest.h - - hash - - ltffTPH9zSqekQsLyYLkG/6rDtc= - - hash2 - - WR3xE+NDYoDKqH0VcGsnzmXSME9XbJJUJKlKl4bNyF4= - - - Headers/FBSDKBridgeAPIRequestCreating.h - - hash - - e7eRb4AWFdEhkGIWOlpCfkQtSik= - - hash2 - - o+V4+oYzL3MkdW//zKDHQ6HBu2cFN372l0NquuZZsAg= - - - Headers/FBSDKBridgeAPIRequestOpening.h - - hash - - gq/Y4WK7ZFKEQyzmYnO5J0fLyB0= - - hash2 - - XeMA+VviWQrf+PZ7juCzTwwl3vVc5Xuac9Cc7DMa96o= - - - Headers/FBSDKBridgeAPIRequestProtocol.h - - hash - - P78TKNiwjeoWvU5qtMaH5r2r5tg= - - hash2 - - t0XwPGN4RRIQMsRhcXfTimZY0e7gA1wDlqMfu7l+DCQ= - - - Headers/FBSDKBridgeAPIResponse.h - - hash - - Na6n8NnuhW/jtE+dBr0HUqCk3o0= - - hash2 - - 2RoifW5o6910DoFsBbD2DejyDJUri0PIn0RsHB1dMv4= - - - Headers/FBSDKButton.h - - hash - - ydGFsGSN3mUgKapOAanxBuHksag= - - hash2 - - jtiPwaqq/Rc3bnRL5VE+OdgjdL97WVmdQvyc6gs0tfQ= - - - Headers/FBSDKButtonImpressionLogging.h - - hash - - 9yAEnFMowi+pDwBEqnCn+mAZ0cg= - - hash2 - - k02ke3FCah5TMWZycKniI1uyNOyjDnc5bj7X0AdvZcU= - - - Headers/FBSDKConstants.h - - hash - - LahaeCwsdVqzmujFaclrFKOVV5g= - - hash2 - - 1pEzH38AE9vG11r9wp3ey6txXXMKE5jwZ+wnQ7lK/QY= - - - Headers/FBSDKCoreKit-Swift.h - - hash - - LOoKFjd9IuP2tmcBEu5A3a64vPs= - - hash2 - - 9YlFtY5YPwjpXU4Z1zI2TLwKOBX9XqsofnLf+ZhwBIQ= - - - Headers/FBSDKCoreKit.h - - hash - - AlrSR8VQDBzxHEHDNyQe8kMPQuA= - - hash2 - - CNTZrFV+jRhtuDlZvQKnTcJYNPviXuF/vE00XnxA4Vg= - - - Headers/FBSDKCoreKitVersions.h - - hash - - ulbn9rcfDOoL6UiN8gMehmL/yso= - - hash2 - - DjZs6+Gwt7Ls+gDT/5lsCtqonNfjyGX89sj6ErGK/Ag= - - - Headers/FBSDKDeviceButton.h - - hash - - 5yifnHy6bzmWSjVBIbTf0fHiHjg= - - hash2 - - XWAvJrqcIW532T7Oi6YLsaKwOxfj/Dc/nynWdXIRcNM= - - - Headers/FBSDKDeviceDialogView.h - - hash - - PtZ4Luln/klPOTMcO1338bptSwQ= - - hash2 - - BCLoN9RN9jf4Xf61mQGop45FpLQ3Tp/nEGjL/lYZ6Ns= - - - Headers/FBSDKDeviceViewControllerBase.h - - hash - - JkMRuJFXCDbbyPPohJY3teA5pJQ= - - hash2 - - BtP1IxGhzGkq1c+Gc5H72//bj0IgHWNq4dL4Z4/y3/4= - - - Headers/FBSDKDynamicFrameworkLoaderProxy.h - - hash - - nSY+nCEtusBjiRGM6I4y/aJTbzQ= - - hash2 - - ff89x0aMBwYaedr9IiWDdj4UttqGp2IDOzJLwShzSBo= - - - Headers/FBSDKDynamicSocialFrameworkLoader.h - - hash - - 1RsFmfZ7Y5hypbYw+54MBWJY/mA= - - hash2 - - segwww0ABXIrDhLnvJulzNWfSciiGzVrB7hDnogpODc= - - - Headers/FBSDKError.h - - hash - - FSBNO5eAmM+PgQUlpcOfxHRDCNU= - - hash2 - - xXUb9LN0Z7wjnNROoCppzzm+rzSwm6Ulzw7eLJcjrDM= - - - Headers/FBSDKErrorRecoveryAttempting.h - - hash - - YVFzIsGCKGh6gqmY/EtLk0kNEdA= - - hash2 - - ASgL+3JacSriP1fB2jSUu77lzSxL2d9BiU8+XWxU6k4= - - - Headers/FBSDKFeature.h - - hash - - PR5YEJsJCaDQw8O6AAmG6WSCEb8= - - hash2 - - 1JgRASjBfzxhQMu6MJSWwnrRFid4ZpjBnLD4tpwO24I= - - - Headers/FBSDKFeatureChecking.h - - hash - - 3IIJmof1z5A6KMWAQsvxwlF+99o= - - hash2 - - j5ha7Z/mID1txNq963cF0cPqfHOmotl/TJIkIzcWQcA= - - - Headers/FBSDKGraphErrorRecoveryProcessor.h - - hash - - G4fc3hdE/zQWzXSOVPV5ddeRtnU= - - hash2 - - QstFcpvzxLBZO3UmlGd5wVRvnRseLQVfIUJrgqmlZio= - - - Headers/FBSDKGraphRequest.h - - hash - - 082NW1tilcmHtRvXXUic27ls56s= - - hash2 - - OPWmo8BG94E6ziHfyDjcURkuGI+3r5QsvMAeqIhGkiU= - - - Headers/FBSDKGraphRequestConnecting.h - - hash - - 8neGTwEmQCPdMQXRPdopnK5vdCI= - - hash2 - - q6jlfASYW4tWT4J1YZjGr+s4pJbnbVtYpSUxTwBJxcI= - - - Headers/FBSDKGraphRequestConnection.h - - hash - - 8PNcxo5scQIGrbIamHMaw3QwXiA= - - hash2 - - 3RvoZYe8+abN+O5f/XiNy9NwbvNlJJhm6bp88Wh1CMo= - - - Headers/FBSDKGraphRequestConnectionDelegate.h - - hash - - ne+IL3UAcginJ/0tZkdrBFYa44w= - - hash2 - - Yz0oHyKHcLbrLa/nc7AInRHCj/fNmAM8gNnQNj6vyl0= - - - Headers/FBSDKGraphRequestConnectionFactory.h - - hash - - GwXPfdXqu52n6OWypaUfNZCfKts= - - hash2 - - 1PXmwjWuwuwgbMWKXSzeVxgAYLCcu+Eka7iL1Y+7R7w= - - - Headers/FBSDKGraphRequestConnectionFactoryProtocol.h - - hash - - vk/J7DqTw7CuPDIfMS5bXhbzBCo= - - hash2 - - Rvk58VZzOeunX2CRB/SFrn8XsclLHX5eetdv8G5o8Vw= - - - Headers/FBSDKGraphRequestDataAttachment.h - - hash - - 7O6NRm5AAJFM/Z4ZbV80pSUZtv0= - - hash2 - - w/06uNvx0Jf1NAv8WPUBfAXMBFaOhWCn6oCmYeIawiU= - - - Headers/FBSDKGraphRequestFactory.h - - hash - - QkZJQxVJKcDWQQ0QuupHeo6ogNo= - - hash2 - - R2EqSvoxNmA3RXW180cqAvo9xirnZGBqXVwGbqO2ghM= - - - Headers/FBSDKGraphRequestFactoryProtocol.h - - hash - - mRwVGPnU3f6dgh9SDgZol0pkQtc= - - hash2 - - Ix75KTsBMozbZjYsG5RAUcW7TJCbCSu8NSU5/19MVj0= - - - Headers/FBSDKGraphRequestFlags.h - - hash - - FHYQ897wVXWBn6VN1bS6uPRQJuQ= - - hash2 - - FJDSH3F/6pQgMrfWs4Qzq+tSwfvNqrJ42Xbmm3ABua8= - - - Headers/FBSDKGraphRequestHTTPMethod.h - - hash - - emoY4A93W0/3Ui5sCbAL7aabeZY= - - hash2 - - o6KudyJq1xsUfWBVKC57dprR9M7hFRbcwRf6le9CNw0= - - - Headers/FBSDKGraphRequestProtocol.h - - hash - - dkH35M+7OvYmbTep/FbVxzaXSV8= - - hash2 - - eE5K8EYa5TTi3/kPdakEgBr3NPuKk/jdthh3VkF5Sdw= - - - Headers/FBSDKIcon.h - - hash - - EYvQfeo33/pfLGSiEAXoZQwREgA= - - hash2 - - DSkBbmlBWCICsAIwvuAJ37p/P4sAtJGQjziFquM+WT0= - - - Headers/FBSDKImpressionLoggingButton.h - - hash - - 2regX89zRP2iCaA+xrRtDfR5688= - - hash2 - - J9n2RFCMg/frHwUpjwyoqTIv5l2ZyJZExNwHmAurhN0= - - - Headers/FBSDKInternalUtility.h - - hash - - 4qSic4scPg8YJAr4zF+ho+qsaWw= - - hash2 - - PIQhLckJKO2H+GaAAZygUwBTO97kntsquGyZlDtbVQQ= - - - Headers/FBSDKInternalUtilityProtocol.h - - hash - - HXoA7PnW+j1n3L+nKmpVp6Z/5ZA= - - hash2 - - f6cPBu/TYxb3K/ATzcWhaonOtcveeHeTDCPuIRIb81Y= - - - Headers/FBSDKKeychainStore.h - - hash - - 7BLrxFVThMTYxlmehMjUz3lonSA= - - hash2 - - vIVNbaNNQsL8pHCTfiDpWv+pG73NN7TcFR78Hp7MGDg= - - - Headers/FBSDKKeychainStoreFactory.h - - hash - - AiWgzC+ZkVvJOP2C8Djkcwi4B0k= - - hash2 - - OQ1V6peigALmnHdCzlJGDfJ7Yj3uL1145ULtzAXPbF4= - - - Headers/FBSDKKeychainStoreProtocol.h - - hash - - iTC3MEolPqfUbeCbomabmHD7hdo= - - hash2 - - pLjp0dBjfyJ8kTUw/uUHLdsp2GMr3z7+/af7jne+PG0= - - - Headers/FBSDKKeychainStoreProviding.h - - hash - - 5NaqoSZHPTyr995edkdsaJlRc1o= - - hash2 - - a7iP+3+VTsNPTIMz8sgDujAIR227MZzSUMtXW2jEDvE= - - - Headers/FBSDKLocation.h - - hash - - +eMgX/sxCmMME1eHTSeevsPvk80= - - hash2 - - vobVpCHHvavgd0hwtWWL7YnHhgigAQcEb8ETsKANgZ4= - - - Headers/FBSDKLogger.h - - hash - - NOvhvx7yXK1SEN94XdmwdN9siYs= - - hash2 - - a8T3PyQH9714agrgC4Ht8GIVhoeAgSVaPwoe0prHpHY= - - - Headers/FBSDKLogging.h - - hash - - Y1I/5BRYX5D/sGNlVBz3+HHR0ew= - - hash2 - - VYCleqaIeACoHB5JjvHkuTMr/yhz2pF/yKIJZVDPx/M= - - - Headers/FBSDKLoggingBehavior.h - - hash - - rSPEz6rTyLbVXqmDQgISXJlQw6c= - - hash2 - - iHh7sTNxtoKbPFEhJYH8IGUtgit6JU1yHoUBB2J4VC4= - - - Headers/FBSDKLoginTooltip.h - - hash - - Oc+AcTLyDDS0l1P7WsbaEsHn14g= - - hash2 - - W6guBwEyzjYJtRhMv77mztKRZkMAjXQkeQoF/Dg7i0g= - - - Headers/FBSDKMeasurementEvent.h - - hash - - Kjkcik6CK2K6PHhLeZIab+R1OkU= - - hash2 - - kZRsL9M7jM0g4fdPOId9w0CY/9Q9SMloFEDly6uTKBk= - - - Headers/FBSDKMutableCopying.h - - hash - - JiF7b4RbWfRAASOyceUB++pk50Q= - - hash2 - - nrjsrpf0q066AYtMkBLZVzxB9ga58ZMSfG+Gu5JfMeY= - - - Headers/FBSDKProductAvailability.h - - hash - - /XsLNnXOOOJSOrHF6hXjqyux83s= - - hash2 - - HMcG85/WldMRgpP2mahzFUWU6ziABA6tba86uPhtjFw= - - - Headers/FBSDKProductCondition.h - - hash - - M6ECFTBRd2dfyOyndVDGEZ5RBhY= - - hash2 - - FBy0Ddnly3dANenxcHb2DratGAm5QRZ2ntP3XYOnpqU= - - - Headers/FBSDKProfile.h - - hash - - 1gLZvuRuhTmmb3RV0u9CfjPnFbY= - - hash2 - - bmL0gksAQVAcsGkqmBd7Uq6KWmE3S44Fw4l8YuQbYHI= - - - Headers/FBSDKProfilePictureView.h - - hash - - YqfVL45diOzND37H/eflgS/DXDo= - - hash2 - - qz3BvNboGus8wVroNEk2g2rz+OB3hrBytFdu+SGEoQI= - - - Headers/FBSDKProfileProtocols.h - - hash - - B60SN3hVeK8myWTi1MYIucVP+FU= - - hash2 - - gFCKk7cd2HAZQLzowhHGKMfMBzX8oWR9/RkI5kyLrUQ= - - - Headers/FBSDKRandom.h - - hash - - LoPPibNOvhSf9qg9Bs7JVeR00ps= - - hash2 - - 2UfkwyYdjuhx0wK2EXu3XqaiBOWZRs+OaCVH53aCxNU= - - - Headers/FBSDKServerConfigurationProvider.h - - hash - - kZ/Z+98dFoqYWbXSr6MEjzi7tOs= - - hash2 - - eCP0AQBIeRySqpKqdtd5zP2XNGpyqa9l+BXUMo3wZSg= - - - Headers/FBSDKSettings.h - - hash - - C5Jf0O97fgLi6Ep3YsfwE5t6D3o= - - hash2 - - T8hXsIDxoMKBOKSAxigyUlBb4+jbAXt3d5s4Ry/Natg= - - - Headers/FBSDKSettingsLogging.h - - hash - - Pgu25YNj94mus4RAVPB/C6a3uTI= - - hash2 - - xfo/fLph/pMqfH7Kt4mofGx1iztHu2+8KIhxBlcOkEk= - - - Headers/FBSDKSettingsProtocol.h - - hash - - 39OHEpjsLChQ/KJqEz9mnt3sMFs= - - hash2 - - MQfpIDD43iDZtpox6dmI62BRv5WOzjMf0IgO1xaQSjk= - - - Headers/FBSDKShareDialogConfiguration.h - - hash - - 4oQazpjzoajcOU0yWoBMsgd6zqE= - - hash2 - - qnoixJA6HksVw1hGTF61JJWMgOk5QL2BMyqi/5EaLvY= - - - Headers/FBSDKTokenCaching.h - - hash - - 0FwY9FO3y3ot6PcmOKk6c6iCf60= - - hash2 - - MFr1OVrB7nJSRbp7OJNvWbVqLQm97GgrYvxqw8/CFzA= - - - Headers/FBSDKTokenStringProviding.h - - hash - - 4qL2Rq85nvL66btFccVPJDrou6Y= - - hash2 - - sFk4Yoramf4bN2JMCVpL5Ams2DDV61SdL6Wol9PQnAU= - - - Headers/FBSDKTransformer.h - - hash - - sReV6E/tDHWh7gYOQLC9WNobxhg= - - hash2 - - Em2RuyF/LRan754tN45IXz7Wr8ciCpaTNTc1S63FpDA= - - - Headers/FBSDKURL.h - - hash - - sGz7wa4yS1pb6AUx9RNks7jQvXA= - - hash2 - - 6RHEHEmPyh1O4y/k24Ds5zHANDKJe/jjxtRXtAOPTws= - - - Headers/FBSDKURLHosting.h - - hash - - 8AofZOZqbAXRz290ZN938Q+vrdc= - - hash2 - - LUIwxewkTezgdIxc4xC4EHMEtqjwtnPxoyREA6RMW4c= - - - Headers/FBSDKURLOpener.h - - hash - - yRq4MXDD00M01RePggfC3nn3wqw= - - hash2 - - mVEZf9hf+9t/IVesEiswGCzVYIIfs/sNJuwa5h+TBP0= - - - Headers/FBSDKURLOpening.h - - hash - - zAfSHyGOLxv0yl7jNUM9P8IEgmk= - - hash2 - - AefCkkFvitqibjpGWVXrnr+OruShTTi5hiMCFB65bYY= - - - Headers/FBSDKURLScheme.h - - hash - - 3liO1ko62oLhfjQcWW3yK8xXGyY= - - hash2 - - trs/jOcgQ0gZXjVM0xkbnij0KyWMH9AkfhLLIBUnv5w= - - - Headers/FBSDKUserAgeRange.h - - hash - - 0aUDLKQEPP8Fb2FhGhOTTY/q5y8= - - hash2 - - GbmBX1uMUqcc5I8vjvstGvMbftZTOFnodQy1dE2xUz0= - - - Headers/FBSDKUtility.h - - hash - - 7MGDcCkw50VOQwPPfNyk/QS8zvo= - - hash2 - - FGe4QzcW2wbKSI5ou0NUT6nP5BzK0xnwOb3ajxFemUI= - - - Headers/FBSDKWebDialog.h - - hash - - SRBvfaTJGEXkfewuSzZH4i0Sams= - - hash2 - - SXpDAEsruAc15Vcu9dG6JBvOqhhIkKnXxGFSK1E/q48= - - - Headers/FBSDKWebDialogDelegate.h - - hash - - xDYCqLGr6Zr0Se2omfyzEQ8qqSA= - - hash2 - - 7HKp6lSSU/nUflNJpVavb6xCEJY533rlHusO/TBZM3A= - - - Headers/FBSDKWebDialogView.h - - hash - - pZD3U3bVpbHroODwMtZXKil7cus= - - hash2 - - wFzvPT0z4MTd7FG+8dDbY3ProjEax9kZ20SRWJh1/Qg= - - - Headers/FBSDKWebViewAppLinkResolver.h - - hash - - H5+KcbRxSwMrUo7w7PnejfmijZE= - - hash2 - - nxFPjiQoo682gcCGsjGA8e0EHpjAXliBAat+pMyMS+k= - - - Headers/FBSDKWindowFinding.h - - hash - - +kXqAR5++fev/D2BP1l0JcDa8y4= - - hash2 - - Y+9Hzvc2kybK3ujEJ2g95fqgHLHcQdQqYWxogeKN6Yo= - - - Headers/__FBSDKLoggerCreating.h - - hash - - C9F4Xp0BxiMrKc/kVzWB3B4iexw= - - hash2 - - 9srPO8Orr34IN0Zmk9iakbMOd6EulKe/Gmj3Xzubwrw= - - - Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc - - hash - - B13HfYHe0Mqo+muRgNce1Jr2HZE= - - hash2 - - pkC4XtfnClkJLv1pa+KeLih+PYXDiz0ENseL4hARsKc= - - - Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface - - hash - - QnP7D8Rhwr84efo7/UF9KnuKt9Y= - - hash2 - - I8aQeoip+CXbajtTXAMvquYPJWdtTNdRVyW7w2PKrqo= - - - Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios-simulator.swiftmodule - - hash - - xaoRjWbniiIuKwqf9On9BkbI2/Y= - - hash2 - - W4FMijVw/jYW2/AVJzd+AvIN+PX6DdoVzz1pNe71QOI= - - - Modules/FBSDKCoreKit.swiftmodule/arm64.swiftdoc - - hash - - B13HfYHe0Mqo+muRgNce1Jr2HZE= - - hash2 - - pkC4XtfnClkJLv1pa+KeLih+PYXDiz0ENseL4hARsKc= - - - Modules/FBSDKCoreKit.swiftmodule/arm64.swiftinterface - - hash - - QnP7D8Rhwr84efo7/UF9KnuKt9Y= - - hash2 - - I8aQeoip+CXbajtTXAMvquYPJWdtTNdRVyW7w2PKrqo= - - - Modules/FBSDKCoreKit.swiftmodule/arm64.swiftmodule - - hash - - xaoRjWbniiIuKwqf9On9BkbI2/Y= - - hash2 - - W4FMijVw/jYW2/AVJzd+AvIN+PX6DdoVzz1pNe71QOI= - - - Modules/FBSDKCoreKit.swiftmodule/i386-apple-ios-simulator.swiftdoc - - hash - - F2XGx2Q/iz1V5YVCEp5bhVf7WI8= - - hash2 - - I5XVRWqWEPa1VreVj8M/1ZF//vSwVpH5eVUxjYwCuck= - - - Modules/FBSDKCoreKit.swiftmodule/i386-apple-ios-simulator.swiftinterface - - hash - - kwi3RG+EdvGSdgzzuzcawdIcplY= - - hash2 - - BfLIvoFpQeTlxCSoUqcdpbEnaokm13TITDMYmoedhRA= - - - Modules/FBSDKCoreKit.swiftmodule/i386-apple-ios-simulator.swiftmodule - - hash - - 6JkFGkkdIWyavnYZiBBVXa5EKEM= - - hash2 - - Ze0KbjLIFr+pleJdkxLtiuglPwn4o8V7saOg7gzmMOY= - - - Modules/FBSDKCoreKit.swiftmodule/i386.swiftdoc - - hash - - F2XGx2Q/iz1V5YVCEp5bhVf7WI8= - - hash2 - - I5XVRWqWEPa1VreVj8M/1ZF//vSwVpH5eVUxjYwCuck= - - - Modules/FBSDKCoreKit.swiftmodule/i386.swiftinterface - - hash - - kwi3RG+EdvGSdgzzuzcawdIcplY= - - hash2 - - BfLIvoFpQeTlxCSoUqcdpbEnaokm13TITDMYmoedhRA= - - - Modules/FBSDKCoreKit.swiftmodule/i386.swiftmodule - - hash - - 6JkFGkkdIWyavnYZiBBVXa5EKEM= - - hash2 - - Ze0KbjLIFr+pleJdkxLtiuglPwn4o8V7saOg7gzmMOY= - - - Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc - - hash - - wN45BtThBybE+YBMnISNAn3Wrkc= - - hash2 - - r6OVWNOiOkQxHB9y+IBRUSXNm3jEiwlIfHUyUnnmjto= - - - Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface - - hash - - tvtKKmPkv514x9HojvmpErAFqww= - - hash2 - - b6PgWBHxnVFbyDBEE3CtjHndxeVxrh5D31+RYZ69mv0= - - - Modules/FBSDKCoreKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule - - hash - - e0JcFCw/d8y/ek+QN5PwjPsCVwU= - - hash2 - - Nb1FgF46Ex4D8gWqDfVCKahyfTgVjr21ofrFoYgqlqI= - - - Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftdoc - - hash - - wN45BtThBybE+YBMnISNAn3Wrkc= - - hash2 - - r6OVWNOiOkQxHB9y+IBRUSXNm3jEiwlIfHUyUnnmjto= - - - Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftinterface - - hash - - tvtKKmPkv514x9HojvmpErAFqww= - - hash2 - - b6PgWBHxnVFbyDBEE3CtjHndxeVxrh5D31+RYZ69mv0= - - - Modules/FBSDKCoreKit.swiftmodule/x86_64.swiftmodule - - hash - - e0JcFCw/d8y/ek+QN5PwjPsCVwU= - - hash2 - - Nb1FgF46Ex4D8gWqDfVCKahyfTgVjr21ofrFoYgqlqI= - - - Modules/module.modulemap - - hash - - dqxVNYXT9nBvFc3sI+M8nUrDXuA= - - hash2 - - c2A9sHV9BPDFexemM1nM/fNWiYjoYt4V7Zxb+LDeu2Y= - - - - rules - - ^.* - - ^.*\.lproj/ - - optional - - weight - 1000 - - ^.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^Base\.lproj/ - - weight - 1010 - - ^version.plist$ - - - rules2 - - .*\.dSYM($|/) - - weight - 11 - - ^(.*/)?\.DS_Store$ - - omit - - weight - 2000 - - ^.* - - ^.*\.lproj/ - - optional - - weight - 1000 - - ^.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^Base\.lproj/ - - weight - 1010 - - ^Info\.plist$ - - omit - - weight - 20 - - ^PkgInfo$ - - omit - - weight - 20 - - ^embedded\.provisionprofile$ - - weight - 20 - - ^version\.plist$ - - weight - 20 - - - - diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/FBSDKLoginKit b/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/FBSDKLoginKit deleted file mode 100644 index ddb28b7..0000000 Binary files a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/FBSDKLoginKit and /dev/null differ diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginCodeInfo.h b/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginCodeInfo.h deleted file mode 100644 index 13e9f8c..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginCodeInfo.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -/*! - @abstract Describes the initial response when starting the device login flow. - @discussion This is used by `FBSDKDeviceLoginManager`. - */ -NS_SWIFT_NAME(DeviceLoginCodeInfo) -@interface FBSDKDeviceLoginCodeInfo : NSObject - -/*! - @abstract There is no public initializer. - */ -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/*! - @abstract the unique id for this login flow. -*/ -@property (nonatomic, readonly, copy) NSString *identifier; - -/*! - @abstract the short "user_code" that should be presented to the user. -*/ -@property (nonatomic, readonly, copy) NSString *loginCode; - -/*! - @abstract the verification URL. -*/ -@property (nonatomic, readonly, copy) NSURL *verificationURL; - -/*! - @abstract the expiration date. -*/ -@property (nonatomic, readonly, copy) NSDate *expirationDate; - -/*! - @abstract the polling interval -*/ -@property (nonatomic, readonly, assign) NSUInteger pollingInterval; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManager.h b/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManager.h deleted file mode 100644 index b29cf4c..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManager.h +++ /dev/null @@ -1,98 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -@class FBSDKDeviceLoginManager; - -/*! - @abstract A delegate for `FBSDKDeviceLoginManager`. - */ -NS_SWIFT_NAME(DeviceLoginManagerDelegate) -@protocol FBSDKDeviceLoginManagerDelegate - -/*! - @abstract Indicates the device login flow has started. You should parse `codeInfo` to - present the code to the user to enter. - @param loginManager the login manager instance. - @param codeInfo the code info data. - */ -- (void)deviceLoginManager:(FBSDKDeviceLoginManager *)loginManager - startedWithCodeInfo:(FBSDKDeviceLoginCodeInfo *)codeInfo; - -/*! - @abstract Indicates the device login flow has finished. - @param loginManager the login manager instance. - @param result the results of the login flow. - @param error the error, if available. - @discussion The flow can be finished if the user completed the flow, cancelled, or if the code has expired. - */ -- (void)deviceLoginManager:(FBSDKDeviceLoginManager *)loginManager - completedWithResult:(nullable FBSDKDeviceLoginManagerResult *)result - error:(nullable NSError *)error; - -@end - -/*! - @abstract Use this class to perform a device login flow. - @discussion The device login flow starts by requesting a code from the device login API. - This class informs the delegate when this code is received. You should then present the - code to the user to enter. In the meantime, this class polls the device login API - periodically and informs the delegate of the results. - - See [Facebook Device Login](https://developers.facebook.com/docs/facebook-login/for-devices). - */ -NS_SWIFT_NAME(DeviceLoginManager) -@interface FBSDKDeviceLoginManager : NSObject - -/*! - @abstract Initializes a new instance. - @param permissions permissions to request. - */ -- (instancetype)initWithPermissions:(NSArray *)permissions - enableSmartLogin:(BOOL)enableSmartLogin - NS_DESIGNATED_INITIALIZER; - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/*! - @abstract the delegate. - */ -@property (nonatomic, weak) id delegate; - -/*! - @abstract the requested permissions. - */ -@property (nonatomic, readonly, copy) NSArray *permissions; - -/*! - @abstract the optional URL to redirect the user to after they complete the login. - @discussion the URL must be configured in your App Settings -> Advanced -> OAuth Redirect URIs - */ -@property (nullable, nonatomic, copy) NSURL *redirectURL; - -/*! - @abstract Starts the device login flow - @discussion This instance will retain self until the flow is finished or cancelled. - */ -- (void)start; - -/*! - @abstract Attempts to cancel the device login flow. - */ -- (void)cancel; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerResult.h b/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerResult.h deleted file mode 100644 index 79d7303..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerResult.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -@class FBSDKAccessToken; - -NS_ASSUME_NONNULL_BEGIN - -/*! - @abstract Represents the results of the a device login flow. - @discussion This is used by `FBSDKDeviceLoginManager`. - */ -NS_SWIFT_NAME(DeviceLoginManagerResult) -@interface FBSDKDeviceLoginManagerResult : NSObject - -/*! - @abstract There is no public initializer. - */ -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/*! - @abstract The token. - */ -@property (nullable, nonatomic, readonly, strong) FBSDKAccessToken *accessToken; - -/*! - @abstract Indicates if the login was cancelled by the user, or if the device - login code has expired. - */ -@property (nonatomic, readonly, getter = isCancelled, assign) BOOL cancelled; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKLoginButton.h b/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKLoginButton.h deleted file mode 100644 index 6bee676..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKLoginButton.h +++ /dev/null @@ -1,111 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import "TargetConditionals.h" - -#if TARGET_OS_TV - -@interface FBLoginButton : UIView - -@property (nonatomic, copy) NSArray *permissions; - -@end - -#else - - #import - #import - #import - -NS_ASSUME_NONNULL_BEGIN - -@protocol FBSDKLoginButtonDelegate; - -/** - NS_ENUM(NSUInteger, FBSDKLoginButtonTooltipBehavior) - 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, -} NS_SWIFT_NAME(FBLoginButton.TooltipBehavior); - -/** - A button that initiates a log in or log out flow upon tapping. - - `FBSDKLoginButton` works with `FBSDKProfile.currentProfile` 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 of @c 30 pixels, but you may change the width. `initWithFrame:CGRectZero` - will size the button to its minimum frame. -*/ -NS_SWIFT_NAME(FBLoginButton) -@interface FBSDKLoginButton : FBSDKButton - -/** - The default audience to use, if publish permissions are requested at login time. - */ -@property (nonatomic, assign) FBSDKDefaultAudience defaultAudience; -/** - Gets or sets the delegate. - */ -@property (nonatomic, weak) IBOutlet id delegate; -/*! - @abstract The permissions to request. - @discussion To provide the best experience, you should minimize the number of permissions you request, and only ask for them when needed. - For example, do not ask for "user_location" until you the information is actually used by the app. - - Note this is converted to NSSet and is only - an NSArray for the convenience of literal syntax. - - See [the permissions guide]( https://developers.facebook.com/docs/facebook-login/permissions/ ) for more details. - */ -@property (nonatomic, copy) NSArray *permissions; -/** - Gets or sets the desired tooltip behavior. - */ -@property (nonatomic, assign) FBSDKLoginButtonTooltipBehavior tooltipBehavior; -/** - Gets or sets the desired tooltip color style. - */ -@property (nonatomic, assign) FBSDKTooltipColorStyle tooltipColorStyle; -/** - Gets or sets the desired tracking preference to use for login attempts. Defaults to `.enabled` - */ -@property (nonatomic, assign) FBSDKLoginTracking loginTracking; -/** - Gets or sets an optional nonce to use for login attempts. A valid nonce must be a non-empty string without whitespace. - An invalid nonce will not be set. Instead, default unique nonces will be used for login attempts. - */ -@property (nullable, nonatomic, copy) NSString *nonce; -/** - Gets or sets an optional page id to use for login attempts. - */ -@property (nullable, nonatomic, copy) NSString *messengerPageId; -/** - Gets or sets the auth_type to use in the login request. Defaults to rerequest. - */ -@property (nullable, nonatomic) FBSDKLoginAuthType authType; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKLoginButtonDelegate.h b/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKLoginButtonDelegate.h deleted file mode 100644 index bf192c9..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKLoginButtonDelegate.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -NS_ASSUME_NONNULL_BEGIN - -/** - @protocol - A delegate for `FBSDKLoginButton` - */ -NS_SWIFT_NAME(LoginButtonDelegate) -@protocol FBSDKLoginButtonDelegate - -@required -/** - 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:(nullable FBSDKLoginManagerLoginResult *)result - error:(nullable NSError *)error; - -/** - Sent to the delegate when the button was used to logout. - @param loginButton The button that was clicked. - */ -- (void)loginButtonDidLogOut:(FBSDKLoginButton *)loginButton; - -@optional -/** - 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 - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKLoginConfiguration.h b/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKLoginConfiguration.h deleted file mode 100644 index 8a8a109..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKLoginConfiguration.h +++ /dev/null @@ -1,153 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -@class FBSDKPermission; - -/// typedef for FBSDKLoginAuthType -/// See: https://developers.facebook.com/docs/reference/javascript/FB.login/v10.0#options -typedef NSString *const FBSDKLoginAuthType NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(LoginAuthType); - -/// Rerequest -FOUNDATION_EXPORT FBSDKLoginAuthType FBSDKLoginAuthTypeRerequest; - -/// Reauthorize -FOUNDATION_EXPORT FBSDKLoginAuthType FBSDKLoginAuthTypeReauthorize; - -/// The login tracking preference to use for a login attempt. For more information on the differences between -/// `enabled` and `limited` see: https://developers.facebook.com/docs/facebook-login/ios/limited-login/ -typedef NS_ENUM(NSUInteger, FBSDKLoginTracking) { - FBSDKLoginTrackingEnabled, - FBSDKLoginTrackingLimited, -} NS_SWIFT_NAME(LoginTracking); - -/// A configuration to use for modifying the behavior of a login attempt. -NS_SWIFT_NAME(LoginConfiguration) -@interface FBSDKLoginConfiguration : NSObject - -/// The nonce that the configuration was created with. -/// A unique nonce will be used if none is provided to the initializer. -@property (nonatomic, readonly, copy) NSString *nonce; - -/// The tracking preference. Defaults to `.enabled`. -@property (nonatomic, readonly) FBSDKLoginTracking tracking; - -/// The requested permissions for the login attempt. Defaults to an empty set. -@property (nonatomic, readonly, copy) NSSet *requestedPermissions; - -/// The Messenger Page Id associated with this login request. -@property (nullable, nonatomic, readonly, copy) NSString *messengerPageId; - -/// The auth type associated with this login request. -@property (nullable, nonatomic, readonly) FBSDKLoginAuthType authType; - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/** - Attempts to initialize a new configuration with the expected parameters. - - @param permissions the requested permissions for a login attempt. Permissions must be an array of strings that do not contain whitespace. - @param tracking the tracking preference to use for a login attempt. - @param nonce an optional nonce to use for the login attempt. A valid nonce must be a non-empty string without whitespace. - Creation of the configuration will fail if the nonce is invalid. - @param messengerPageId the associated page id to use for a login attempt. - */ -- (nullable instancetype)initWithPermissions:(NSArray *)permissions - tracking:(FBSDKLoginTracking)tracking - nonce:(NSString *)nonce - messengerPageId:(nullable NSString *)messengerPageId - NS_REFINED_FOR_SWIFT; - -/** - Attempts to initialize a new configuration with the expected parameters. - - @param permissions the requested permissions for a login attempt. Permissions must be an array of strings that do not contain whitespace. - @param tracking the tracking preference to use for a login attempt. - @param nonce an optional nonce to use for the login attempt. A valid nonce must be a non-empty string without whitespace. - Creation of the configuration will fail if the nonce is invalid. - @param messengerPageId the associated page id to use for a login attempt. - @param authType auth_type param to use for login. - */ -- (nullable instancetype)initWithPermissions:(NSArray *)permissions - tracking:(FBSDKLoginTracking)tracking - nonce:(NSString *)nonce - messengerPageId:(nullable NSString *)messengerPageId - authType:(nullable FBSDKLoginAuthType)authType - NS_REFINED_FOR_SWIFT; - -/** - Attempts to initialize a new configuration with the expected parameters. - - @param permissions the requested permissions for a login attempt. Permissions must be an array of strings that do not contain whitespace. - @param tracking the tracking preference to use for a login attempt. - @param nonce an optional nonce to use for the login attempt. A valid nonce must be a non-empty string without whitespace. - Creation of the configuration will fail if the nonce is invalid. - */ -- (nullable instancetype)initWithPermissions:(NSArray *)permissions - tracking:(FBSDKLoginTracking)tracking - nonce:(NSString *)nonce - NS_REFINED_FOR_SWIFT; - -/** - Attempts to initialize a new configuration with the expected parameters. - - @param permissions the requested permissions for the login attempt. Permissions must be an array of strings that do not contain whitespace. - @param tracking the tracking preference to use for a login attempt. - @param messengerPageId the associated page id to use for a login attempt. - */ -- (nullable instancetype)initWithPermissions:(NSArray *)permissions - tracking:(FBSDKLoginTracking)tracking - messengerPageId:(nullable NSString *)messengerPageId - NS_REFINED_FOR_SWIFT; - -/** - Attempts to initialize a new configuration with the expected parameters. - - @param permissions the requested permissions for the login attempt. Permissions must be an array of strings that do not contain whitespace. - @param tracking the tracking preference to use for a login attempt. - @param messengerPageId the associated page id to use for a login attempt. - @param authType auth_type param to use for login. - */ -- (nullable instancetype)initWithPermissions:(NSArray *)permissions - tracking:(FBSDKLoginTracking)tracking - messengerPageId:(nullable NSString *)messengerPageId - authType:(nullable FBSDKLoginAuthType)authType - NS_REFINED_FOR_SWIFT; - -/** - Attempts to initialize a new configuration with the expected parameters. - - @param permissions the requested permissions for the login attempt. Permissions must be an array of strings that do not contain whitespace. - @param tracking the tracking preference to use for a login attempt. - */ -- (nullable instancetype)initWithPermissions:(NSArray *)permissions - tracking:(FBSDKLoginTracking)tracking - NS_REFINED_FOR_SWIFT; - -/** - Attempts to initialize a new configuration with the expected parameters. - - @param tracking the login tracking preference to use for a login attempt. - */ -- (nullable instancetype)initWithTracking:(FBSDKLoginTracking)tracking - NS_REFINED_FOR_SWIFT; - -/** - Given a string, return the corresponding FBSDKLoginAuthType. Returns nil if the string cannot be mapped to a valid auth type - - @param rawValue the raw auth type. - */ -+ (nullable FBSDKLoginAuthType)authTypeForString:(NSString *)rawValue; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h b/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h deleted file mode 100644 index 29fa6e0..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h +++ /dev/null @@ -1,114 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - The error domain for all errors from FBSDKLoginKit - - Error codes from the SDK in the range 300-399 are reserved for this domain. - */ -FOUNDATION_EXPORT NSErrorDomain const FBSDKLoginErrorDomain -NS_SWIFT_NAME(LoginErrorDomain); - -#ifndef NS_ERROR_ENUM - #define NS_ERROR_ENUM(_domain, _name) \ - enum _name : NSInteger _name; \ - enum __attribute__((ns_error_domain(_domain))) _name: NSInteger -#endif - -/** - FBSDKLoginError - Error codes for FBSDKLoginErrorDomain. - */ -typedef NS_ERROR_ENUM (FBSDKLoginErrorDomain, FBSDKLoginError) -{ - /** - Reserved. - */ - FBSDKLoginErrorReserved = 300, - - /** - The error code for unknown errors. - */ - FBSDKLoginErrorUnknown, - - /** - The user's password has changed and must log in again - */ - FBSDKLoginErrorPasswordChanged, - - /** - The user must log in to their account on www.facebook.com to restore access - */ - FBSDKLoginErrorUserCheckpointed, - - /** - Indicates a failure to request new permissions because the user has changed. - */ - FBSDKLoginErrorUserMismatch, - - /** - The user must confirm their account with Facebook before logging in - */ - FBSDKLoginErrorUnconfirmedUser, - - /** - The Accounts framework failed without returning an error, indicating the - app's slider in the iOS Facebook Settings (device Settings -> Facebook -> App Name) has - been disabled. - */ - FBSDKLoginErrorSystemAccountAppDisabled, - - /** - An error occurred related to Facebook system Account store - */ - FBSDKLoginErrorSystemAccountUnavailable, - - /** - The login response was missing a valid challenge string. - */ - FBSDKLoginErrorBadChallengeString, - - /** - The ID token returned in login response was invalid - */ - FBSDKLoginErrorInvalidIDToken, - - /** - A current access token was required and not provided - */ - FBSDKLoginErrorMissingAccessToken, -} NS_SWIFT_NAME(LoginError); - -/** - FBSDKDeviceLoginError - Error codes for FBSDKDeviceLoginErrorDomain. - */ -typedef NS_ERROR_ENUM (FBSDKLoginErrorDomain, FBSDKDeviceLoginError) { - /** - Your device is polling too frequently. - */ - FBSDKDeviceLoginErrorExcessivePolling = 1349172, - /** - User has declined to authorize your application. - */ - FBSDKDeviceLoginErrorAuthorizationDeclined = 1349173, - /** - User has not yet authorized your application. Continue polling. - */ - FBSDKDeviceLoginErrorAuthorizationPending = 1349174, - /** - The code you entered has expired. - */ - FBSDKDeviceLoginErrorCodeExpired = 1349152 -} NS_SWIFT_NAME(DeviceLoginError); - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKLoginKit-Swift.h b/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKLoginKit-Swift.h deleted file mode 100644 index 4bc03ba..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKLoginKit-Swift.h +++ /dev/null @@ -1,653 +0,0 @@ -#if 0 -#elif defined(__arm64__) && __arm64__ -// Generated by Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -#ifndef FBSDKLOGINKIT_SWIFT_H -#define FBSDKLOGINKIT_SWIFT_H -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wgcc-compat" - -#if !defined(__has_include) -# define __has_include(x) 0 -#endif -#if !defined(__has_attribute) -# define __has_attribute(x) 0 -#endif -#if !defined(__has_feature) -# define __has_feature(x) 0 -#endif -#if !defined(__has_warning) -# define __has_warning(x) 0 -#endif - -#if __has_include() -# include -#endif - -#pragma clang diagnostic ignored "-Wauto-import" -#include -#include -#include -#include - -#if !defined(SWIFT_TYPEDEFS) -# define SWIFT_TYPEDEFS 1 -# if __has_include() -# include -# elif !defined(__cplusplus) -typedef uint_least16_t char16_t; -typedef uint_least32_t char32_t; -# endif -typedef float swift_float2 __attribute__((__ext_vector_type__(2))); -typedef float swift_float3 __attribute__((__ext_vector_type__(3))); -typedef float swift_float4 __attribute__((__ext_vector_type__(4))); -typedef double swift_double2 __attribute__((__ext_vector_type__(2))); -typedef double swift_double3 __attribute__((__ext_vector_type__(3))); -typedef double swift_double4 __attribute__((__ext_vector_type__(4))); -typedef int swift_int2 __attribute__((__ext_vector_type__(2))); -typedef int swift_int3 __attribute__((__ext_vector_type__(3))); -typedef int swift_int4 __attribute__((__ext_vector_type__(4))); -typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); -typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); -typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); -#endif - -#if !defined(SWIFT_PASTE) -# define SWIFT_PASTE_HELPER(x, y) x##y -# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) -#endif -#if !defined(SWIFT_METATYPE) -# define SWIFT_METATYPE(X) Class -#endif -#if !defined(SWIFT_CLASS_PROPERTY) -# if __has_feature(objc_class_property) -# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ -# else -# define SWIFT_CLASS_PROPERTY(...) -# endif -#endif - -#if __has_attribute(objc_runtime_name) -# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) -#else -# define SWIFT_RUNTIME_NAME(X) -#endif -#if __has_attribute(swift_name) -# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) -#else -# define SWIFT_COMPILE_NAME(X) -#endif -#if __has_attribute(objc_method_family) -# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) -#else -# define SWIFT_METHOD_FAMILY(X) -#endif -#if __has_attribute(noescape) -# define SWIFT_NOESCAPE __attribute__((noescape)) -#else -# define SWIFT_NOESCAPE -#endif -#if __has_attribute(ns_consumed) -# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) -#else -# define SWIFT_RELEASES_ARGUMENT -#endif -#if __has_attribute(warn_unused_result) -# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) -#else -# define SWIFT_WARN_UNUSED_RESULT -#endif -#if __has_attribute(noreturn) -# define SWIFT_NORETURN __attribute__((noreturn)) -#else -# define SWIFT_NORETURN -#endif -#if !defined(SWIFT_CLASS_EXTRA) -# define SWIFT_CLASS_EXTRA -#endif -#if !defined(SWIFT_PROTOCOL_EXTRA) -# define SWIFT_PROTOCOL_EXTRA -#endif -#if !defined(SWIFT_ENUM_EXTRA) -# define SWIFT_ENUM_EXTRA -#endif -#if !defined(SWIFT_CLASS) -# if __has_attribute(objc_subclassing_restricted) -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# else -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# endif -#endif -#if !defined(SWIFT_RESILIENT_CLASS) -# if __has_attribute(objc_class_stub) -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) -# else -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) -# endif -#endif - -#if !defined(SWIFT_PROTOCOL) -# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -#endif - -#if !defined(SWIFT_EXTENSION) -# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) -#endif - -#if !defined(OBJC_DESIGNATED_INITIALIZER) -# if __has_attribute(objc_designated_initializer) -# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) -# else -# define OBJC_DESIGNATED_INITIALIZER -# endif -#endif -#if !defined(SWIFT_ENUM_ATTR) -# if defined(__has_attribute) && __has_attribute(enum_extensibility) -# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) -# else -# define SWIFT_ENUM_ATTR(_extensibility) -# endif -#endif -#if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# if __has_feature(generalized_swift_name) -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# else -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) -# endif -#endif -#if !defined(SWIFT_UNAVAILABLE) -# define SWIFT_UNAVAILABLE __attribute__((unavailable)) -#endif -#if !defined(SWIFT_UNAVAILABLE_MSG) -# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) -#endif -#if !defined(SWIFT_AVAILABILITY) -# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) -#endif -#if !defined(SWIFT_WEAK_IMPORT) -# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) -#endif -#if !defined(SWIFT_DEPRECATED) -# define SWIFT_DEPRECATED __attribute__((deprecated)) -#endif -#if !defined(SWIFT_DEPRECATED_MSG) -# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) -#endif -#if __has_feature(attribute_diagnose_if_objc) -# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) -#else -# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) -#endif -#if !defined(IBSegueAction) -# define IBSegueAction -#endif -#if __has_feature(modules) -#if __has_warning("-Watimport-in-framework-header") -#pragma clang diagnostic ignored "-Watimport-in-framework-header" -#endif -#endif - -#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" -#pragma clang diagnostic ignored "-Wduplicate-method-arg" -#if __has_warning("-Wpragma-clang-attribute") -# pragma clang diagnostic ignored "-Wpragma-clang-attribute" -#endif -#pragma clang diagnostic ignored "-Wunknown-pragmas" -#pragma clang diagnostic ignored "-Wnullability" - -#if __has_attribute(external_source_symbol) -# pragma push_macro("any") -# undef any -# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKLoginKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) -# pragma pop_macro("any") -#endif - - - - -#if __has_attribute(external_source_symbol) -# pragma clang attribute pop -#endif -#pragma clang diagnostic pop -#endif - -#elif defined(__x86_64__) && __x86_64__ -// Generated by Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -#ifndef FBSDKLOGINKIT_SWIFT_H -#define FBSDKLOGINKIT_SWIFT_H -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wgcc-compat" - -#if !defined(__has_include) -# define __has_include(x) 0 -#endif -#if !defined(__has_attribute) -# define __has_attribute(x) 0 -#endif -#if !defined(__has_feature) -# define __has_feature(x) 0 -#endif -#if !defined(__has_warning) -# define __has_warning(x) 0 -#endif - -#if __has_include() -# include -#endif - -#pragma clang diagnostic ignored "-Wauto-import" -#include -#include -#include -#include - -#if !defined(SWIFT_TYPEDEFS) -# define SWIFT_TYPEDEFS 1 -# if __has_include() -# include -# elif !defined(__cplusplus) -typedef uint_least16_t char16_t; -typedef uint_least32_t char32_t; -# endif -typedef float swift_float2 __attribute__((__ext_vector_type__(2))); -typedef float swift_float3 __attribute__((__ext_vector_type__(3))); -typedef float swift_float4 __attribute__((__ext_vector_type__(4))); -typedef double swift_double2 __attribute__((__ext_vector_type__(2))); -typedef double swift_double3 __attribute__((__ext_vector_type__(3))); -typedef double swift_double4 __attribute__((__ext_vector_type__(4))); -typedef int swift_int2 __attribute__((__ext_vector_type__(2))); -typedef int swift_int3 __attribute__((__ext_vector_type__(3))); -typedef int swift_int4 __attribute__((__ext_vector_type__(4))); -typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); -typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); -typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); -#endif - -#if !defined(SWIFT_PASTE) -# define SWIFT_PASTE_HELPER(x, y) x##y -# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) -#endif -#if !defined(SWIFT_METATYPE) -# define SWIFT_METATYPE(X) Class -#endif -#if !defined(SWIFT_CLASS_PROPERTY) -# if __has_feature(objc_class_property) -# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ -# else -# define SWIFT_CLASS_PROPERTY(...) -# endif -#endif - -#if __has_attribute(objc_runtime_name) -# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) -#else -# define SWIFT_RUNTIME_NAME(X) -#endif -#if __has_attribute(swift_name) -# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) -#else -# define SWIFT_COMPILE_NAME(X) -#endif -#if __has_attribute(objc_method_family) -# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) -#else -# define SWIFT_METHOD_FAMILY(X) -#endif -#if __has_attribute(noescape) -# define SWIFT_NOESCAPE __attribute__((noescape)) -#else -# define SWIFT_NOESCAPE -#endif -#if __has_attribute(ns_consumed) -# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) -#else -# define SWIFT_RELEASES_ARGUMENT -#endif -#if __has_attribute(warn_unused_result) -# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) -#else -# define SWIFT_WARN_UNUSED_RESULT -#endif -#if __has_attribute(noreturn) -# define SWIFT_NORETURN __attribute__((noreturn)) -#else -# define SWIFT_NORETURN -#endif -#if !defined(SWIFT_CLASS_EXTRA) -# define SWIFT_CLASS_EXTRA -#endif -#if !defined(SWIFT_PROTOCOL_EXTRA) -# define SWIFT_PROTOCOL_EXTRA -#endif -#if !defined(SWIFT_ENUM_EXTRA) -# define SWIFT_ENUM_EXTRA -#endif -#if !defined(SWIFT_CLASS) -# if __has_attribute(objc_subclassing_restricted) -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# else -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# endif -#endif -#if !defined(SWIFT_RESILIENT_CLASS) -# if __has_attribute(objc_class_stub) -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) -# else -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) -# endif -#endif - -#if !defined(SWIFT_PROTOCOL) -# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -#endif - -#if !defined(SWIFT_EXTENSION) -# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) -#endif - -#if !defined(OBJC_DESIGNATED_INITIALIZER) -# if __has_attribute(objc_designated_initializer) -# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) -# else -# define OBJC_DESIGNATED_INITIALIZER -# endif -#endif -#if !defined(SWIFT_ENUM_ATTR) -# if defined(__has_attribute) && __has_attribute(enum_extensibility) -# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) -# else -# define SWIFT_ENUM_ATTR(_extensibility) -# endif -#endif -#if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# if __has_feature(generalized_swift_name) -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# else -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) -# endif -#endif -#if !defined(SWIFT_UNAVAILABLE) -# define SWIFT_UNAVAILABLE __attribute__((unavailable)) -#endif -#if !defined(SWIFT_UNAVAILABLE_MSG) -# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) -#endif -#if !defined(SWIFT_AVAILABILITY) -# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) -#endif -#if !defined(SWIFT_WEAK_IMPORT) -# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) -#endif -#if !defined(SWIFT_DEPRECATED) -# define SWIFT_DEPRECATED __attribute__((deprecated)) -#endif -#if !defined(SWIFT_DEPRECATED_MSG) -# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) -#endif -#if __has_feature(attribute_diagnose_if_objc) -# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) -#else -# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) -#endif -#if !defined(IBSegueAction) -# define IBSegueAction -#endif -#if __has_feature(modules) -#if __has_warning("-Watimport-in-framework-header") -#pragma clang diagnostic ignored "-Watimport-in-framework-header" -#endif -#endif - -#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" -#pragma clang diagnostic ignored "-Wduplicate-method-arg" -#if __has_warning("-Wpragma-clang-attribute") -# pragma clang diagnostic ignored "-Wpragma-clang-attribute" -#endif -#pragma clang diagnostic ignored "-Wunknown-pragmas" -#pragma clang diagnostic ignored "-Wnullability" - -#if __has_attribute(external_source_symbol) -# pragma push_macro("any") -# undef any -# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKLoginKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) -# pragma pop_macro("any") -#endif - - - - -#if __has_attribute(external_source_symbol) -# pragma clang attribute pop -#endif -#pragma clang diagnostic pop -#endif - -#elif defined(__i386__) && __i386__ -// Generated by Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -#ifndef FBSDKLOGINKIT_SWIFT_H -#define FBSDKLOGINKIT_SWIFT_H -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wgcc-compat" - -#if !defined(__has_include) -# define __has_include(x) 0 -#endif -#if !defined(__has_attribute) -# define __has_attribute(x) 0 -#endif -#if !defined(__has_feature) -# define __has_feature(x) 0 -#endif -#if !defined(__has_warning) -# define __has_warning(x) 0 -#endif - -#if __has_include() -# include -#endif - -#pragma clang diagnostic ignored "-Wauto-import" -#include -#include -#include -#include - -#if !defined(SWIFT_TYPEDEFS) -# define SWIFT_TYPEDEFS 1 -# if __has_include() -# include -# elif !defined(__cplusplus) -typedef uint_least16_t char16_t; -typedef uint_least32_t char32_t; -# endif -typedef float swift_float2 __attribute__((__ext_vector_type__(2))); -typedef float swift_float3 __attribute__((__ext_vector_type__(3))); -typedef float swift_float4 __attribute__((__ext_vector_type__(4))); -typedef double swift_double2 __attribute__((__ext_vector_type__(2))); -typedef double swift_double3 __attribute__((__ext_vector_type__(3))); -typedef double swift_double4 __attribute__((__ext_vector_type__(4))); -typedef int swift_int2 __attribute__((__ext_vector_type__(2))); -typedef int swift_int3 __attribute__((__ext_vector_type__(3))); -typedef int swift_int4 __attribute__((__ext_vector_type__(4))); -typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); -typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); -typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); -#endif - -#if !defined(SWIFT_PASTE) -# define SWIFT_PASTE_HELPER(x, y) x##y -# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) -#endif -#if !defined(SWIFT_METATYPE) -# define SWIFT_METATYPE(X) Class -#endif -#if !defined(SWIFT_CLASS_PROPERTY) -# if __has_feature(objc_class_property) -# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ -# else -# define SWIFT_CLASS_PROPERTY(...) -# endif -#endif - -#if __has_attribute(objc_runtime_name) -# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) -#else -# define SWIFT_RUNTIME_NAME(X) -#endif -#if __has_attribute(swift_name) -# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) -#else -# define SWIFT_COMPILE_NAME(X) -#endif -#if __has_attribute(objc_method_family) -# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) -#else -# define SWIFT_METHOD_FAMILY(X) -#endif -#if __has_attribute(noescape) -# define SWIFT_NOESCAPE __attribute__((noescape)) -#else -# define SWIFT_NOESCAPE -#endif -#if __has_attribute(ns_consumed) -# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) -#else -# define SWIFT_RELEASES_ARGUMENT -#endif -#if __has_attribute(warn_unused_result) -# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) -#else -# define SWIFT_WARN_UNUSED_RESULT -#endif -#if __has_attribute(noreturn) -# define SWIFT_NORETURN __attribute__((noreturn)) -#else -# define SWIFT_NORETURN -#endif -#if !defined(SWIFT_CLASS_EXTRA) -# define SWIFT_CLASS_EXTRA -#endif -#if !defined(SWIFT_PROTOCOL_EXTRA) -# define SWIFT_PROTOCOL_EXTRA -#endif -#if !defined(SWIFT_ENUM_EXTRA) -# define SWIFT_ENUM_EXTRA -#endif -#if !defined(SWIFT_CLASS) -# if __has_attribute(objc_subclassing_restricted) -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# else -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# endif -#endif -#if !defined(SWIFT_RESILIENT_CLASS) -# if __has_attribute(objc_class_stub) -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) -# else -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) -# endif -#endif - -#if !defined(SWIFT_PROTOCOL) -# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -#endif - -#if !defined(SWIFT_EXTENSION) -# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) -#endif - -#if !defined(OBJC_DESIGNATED_INITIALIZER) -# if __has_attribute(objc_designated_initializer) -# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) -# else -# define OBJC_DESIGNATED_INITIALIZER -# endif -#endif -#if !defined(SWIFT_ENUM_ATTR) -# if defined(__has_attribute) && __has_attribute(enum_extensibility) -# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) -# else -# define SWIFT_ENUM_ATTR(_extensibility) -# endif -#endif -#if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# if __has_feature(generalized_swift_name) -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# else -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) -# endif -#endif -#if !defined(SWIFT_UNAVAILABLE) -# define SWIFT_UNAVAILABLE __attribute__((unavailable)) -#endif -#if !defined(SWIFT_UNAVAILABLE_MSG) -# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) -#endif -#if !defined(SWIFT_AVAILABILITY) -# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) -#endif -#if !defined(SWIFT_WEAK_IMPORT) -# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) -#endif -#if !defined(SWIFT_DEPRECATED) -# define SWIFT_DEPRECATED __attribute__((deprecated)) -#endif -#if !defined(SWIFT_DEPRECATED_MSG) -# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) -#endif -#if __has_feature(attribute_diagnose_if_objc) -# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) -#else -# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) -#endif -#if !defined(IBSegueAction) -# define IBSegueAction -#endif -#if __has_feature(modules) -#if __has_warning("-Watimport-in-framework-header") -#pragma clang diagnostic ignored "-Watimport-in-framework-header" -#endif -#endif - -#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" -#pragma clang diagnostic ignored "-Wduplicate-method-arg" -#if __has_warning("-Wpragma-clang-attribute") -# pragma clang diagnostic ignored "-Wpragma-clang-attribute" -#endif -#pragma clang diagnostic ignored "-Wunknown-pragmas" -#pragma clang diagnostic ignored "-Wnullability" - -#if __has_attribute(external_source_symbol) -# pragma push_macro("any") -# undef any -# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKLoginKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) -# pragma pop_macro("any") -#endif - - - - -#if __has_attribute(external_source_symbol) -# pragma clang attribute pop -#endif -#pragma clang diagnostic pop -#endif - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h b/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h deleted file mode 100644 index 5bd5545..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import -#import -#import -#import - -#import - -#import - -#if !TARGET_OS_TV - #import - #import - #import - #import - #import - #import - #import - #import - #import -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h b/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h deleted file mode 100644 index 6fe0561..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h +++ /dev/null @@ -1,213 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -#if TARGET_OS_TV - -// This is an unfortunate hack for Swift Package Manager support. -// SPM does not allow us to conditionally exclude Swift files for compilation by platform. -// -// So to support tvOS with SPM we need to use runtime availability checks in the Swift files. -// This means that even though the code in `LoginManager.swift` will never be run for tvOS -// targets, it still needs to be able to compile. Hence we need to declare it here. -// -// The way to fix this is to remove extensions of ObjC types in Swift. - -@class LoginManagerLoginResult; -@class FBSDKLoginConfiguration; - -typedef NS_ENUM(NSUInteger, LoginBehavior) { LoginBehaviorBrowser, }; -typedef NS_ENUM(NSUInteger, DefaultAudience) { DefaultAudienceFriends, }; - -typedef void (^LoginManagerLoginResultBlock)(LoginManagerLoginResult *_Nullable result, - NSError *_Nullable error); - -@interface LoginManager : NSObject - -@property (nonatomic, assign) LoginBehavior loginBehavior; -@property (nonatomic, assign) DefaultAudience defaultAudience; - -// UNCRUSTIFY_FORMAT_OFF -- (void)logInWithPermissions:(NSArray *)permissions - fromViewController:(nullable UIViewController *)fromViewController - handler:(nullable LoginManagerLoginResultBlock)handler -NS_SWIFT_NAME(logIn(permissions:from:handler:)); -// UNCRUSTIFY_FORMAT_ON - -- (void)logInFromViewController:(nullable UIViewController *)viewController - configuration:(FBSDKLoginConfiguration *)configuration - completion:(LoginManagerLoginResultBlock)completion - NS_REFINED_FOR_SWIFT; - -@end - -#else - -@class FBSDKLoginManagerLoginResult; - -/** - Describes the call back to the FBSDKLoginManager - @param result the result of the authorization - @param error the authorization error, if any. - */ -typedef void (^ FBSDKLoginManagerLoginResultBlock)(FBSDKLoginManagerLoginResult *_Nullable result, - NSError *_Nullable error) -NS_SWIFT_NAME(LoginManagerLoginResultBlock); - -/** - FBSDKDefaultAudience enum - - Passed to openURL to indicate which default audience to use for sessions that post data to Facebook. - - 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, -} NS_SWIFT_NAME(DefaultAudience); - -/** - `FBSDKLoginManager` provides methods for logging the user in and out. - - `FBSDKLoginManager` serves to help manage sessions represented by tokens for authentication, - `AuthenticationToken`, and data access, `AccessToken`. - - You should check if the type of token you expect is present as a singleton instance, either `AccessToken.current` - or `AuthenticationToken.current` before calling any of the login methods to see if there is a cached token - available. A standard place to do this is in `viewDidLoad`. - - @warning If you are managing your own token instances outside of `AccessToken.current`, you will need to set - `AccessToken.current` before calling any of the login methods to authorize further permissions on your tokens. - */ -NS_SWIFT_NAME(LoginManager) -@interface FBSDKLoginManager : NSObject - -/** - the default audience. - - you should set this if you intend to ask for publish permissions. - */ -@property (nonatomic, assign) FBSDKDefaultAudience defaultAudience; - -/** - 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. - - 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 `FBSDKLoginManagerLoginResultBlock`'s - `result.declinedPermissions` to provide more information to the user if they decline permissions. - You typically should check if `AccessToken.current` already contains the permissions you need before - asking to reduce unnecessary login attempts. For example, you could perform that check in `viewDidLoad`. - - @warning You can only perform one login call at a time. Calling a login method before the completion handler is called - on a previous login attempt will result in an error. - @warning This method will present a UI to the user and thus should be called on the main thread. - */ - -// UNCRUSTIFY_FORMAT_OFF -- (void)logInWithPermissions:(NSArray *)permissions - fromViewController:(nullable UIViewController *)fromViewController - handler:(nullable FBSDKLoginManagerLoginResultBlock)handler -NS_SWIFT_NAME(logIn(permissions:from:handler:)); -// UNCRUSTIFY_FORMAT_ON - -/** - Logs the user in or authorizes additional permissions. - - @param viewController the view controller from which to present the login UI. If nil, the topmost view - controller will be automatically determined and used. - @param configuration the login configuration to use. - @param completion the login completion handler. - - Use this method when asking for permissions. You should only ask for permissions when they - are needed and the value should be explained to the user. You can inspect the - `FBSDKLoginManagerLoginResultBlock`'s `result.declinedPermissions` to provide more information - to the user if they decline permissions. - To reduce unnecessary login attempts, you should typically check if `AccessToken.current` - already contains the permissions you need. If it does, you probably do not need to call this method. - - @warning You can only perform one login call at a time. Calling a login method before the completion handler is called - on a previous login attempt will result in an error. - @warning This method will present a UI to the user and thus should be called on the main thread. - */ -- (void)logInFromViewController:(nullable UIViewController *)viewController - configuration:(FBSDKLoginConfiguration *)configuration - completion:(FBSDKLoginManagerLoginResultBlock)completion - NS_REFINED_FOR_SWIFT; - -/** - Logs the user in with the given deep link url. Will only log user in if the given url contains valid login data. - @param url the deep link url - @param handler the callback. - -This method will present a UI to the user and thus should be called on the main thread. -This method should be called with the url from the openURL method. - - @warning This method will present a UI to the user and thus should be called on the main thread. - */ - -// UNCRUSTIFY_FORMAT_OFF -- (void)logInWithURL:(NSURL *)url - handler:(nullable FBSDKLoginManagerLoginResultBlock)handler -NS_SWIFT_NAME(logIn(url:handler:)); -// UNCRUSTIFY_FORMAT_ON - -/** - Requests user's permission to reathorize application's data access, after it has expired due to inactivity. - @param fromViewController the view controller from which to present the login UI. If nil, the topmost view - controller will be automatically determined and used. - @param handler the callback. - -Use this method when you need to reathorize your app's access to user data via the Graph API. -You should only call this after access has expired. -You should provide as much context to the user as possible as to why you need to reauthorize the access, the -scope of access being reathorized, and what added value your app provides when the access is reathorized. -You can inspect the `result.declinedPermissions` to determine if you should provide more information to the -user based on any declined permissions. - - @warning This method will reauthorize using a `LoginConfiguration` with `FBSDKLoginTracking` set to `.enabled`. - @warning This method will present UI the user. You typically should call this if `AccessToken.isDataAccessExpired` is true. - */ - -// UNCRUSTIFY_FORMAT_OFF -- (void)reauthorizeDataAccess:(UIViewController *)fromViewController - handler:(FBSDKLoginManagerLoginResultBlock)handler -NS_SWIFT_NAME(reauthorizeDataAccess(from:handler:)); -// UNCRUSTIFY_FORMAT_ON - -/** - Logs the user out - - This nils out the singleton instances of `AccessToken` `AuthenticationToken` and `Profle`. - - @note This is only a client side logout. It will not log the user out of their Facebook account. - */ -- (void)logOut; - -@end - -#endif - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h b/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h deleted file mode 100644 index 6f10ccf..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -#if TARGET_OS_TV - -// This is an unfortunate hack for Swift Package Manager support. -// SPM does not allow us to conditionally exclude Swift files for compilation by platform. -// -// So to support tvOS with SPM we need to use runtime availability checks in the Swift files. -// This means that even though the code in `LoginManager.swift` will never be run for tvOS -// targets, it still needs to be able to compile. Hence we need to declare it here. -// -// The way to fix this is to remove extensions of ObjC types in Swift. - -@interface LoginManagerLoginResult : NSObject - -@property (nullable, nonatomic, copy) FBSDKAccessToken *token; -@property (nullable, nonatomic, copy) FBSDKAuthenticationToken *authenticationToken; -@property (nonatomic, readonly) BOOL isCancelled; -@property (nonatomic, copy) NSSet *grantedPermissions; -@property (nonatomic, copy) NSSet *declinedPermissions; - -@end - -#else - -@class FBSDKAccessToken; -@class FBSDKAuthenticationToken; - -/** - Describes the result of a login attempt. - */ -NS_SWIFT_NAME(LoginManagerLoginResult) -@interface FBSDKLoginManagerLoginResult : NSObject - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/** - the access token. - */ -@property (nullable, nonatomic, copy) FBSDKAccessToken *token; - -/** - the authentication token. - */ -@property (nullable, nonatomic, copy) FBSDKAuthenticationToken *authenticationToken; - -/** - whether the login was cancelled by the user. - */ -@property (nonatomic, readonly) BOOL isCancelled; - -/** - the set of permissions granted by the user in the associated request. - - inspect the token's permissions set for a complete list. - */ -@property (nonatomic, copy) NSSet *grantedPermissions; - -/** - the set of permissions declined by the user in the associated request. - - inspect the token's permissions set for a complete list. - */ -@property (nonatomic, copy) NSSet *declinedPermissions; - -/** - Initializes a new instance. - @param token the access token - @param authenticationToken the authentication 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:(nullable FBSDKAccessToken *)token - authenticationToken:(nullable FBSDKAuthenticationToken *)authenticationToken - isCancelled:(BOOL)isCancelled - grantedPermissions:(NSSet *)grantedPermissions - declinedPermissions:(NSSet *)declinedPermissions - NS_DESIGNATED_INITIALIZER; -@end - -#endif - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h b/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h deleted file mode 100644 index 27f27f7..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import "TargetConditionals.h" - -#if !TARGET_OS_TV - - #import - - #import - -NS_ASSUME_NONNULL_BEGIN - -@protocol FBSDKLoginTooltipViewDelegate; - -/** - Represents a tooltip to be displayed next to a Facebook login button - to highlight features for new users. - - 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. - - */ -NS_SWIFT_NAME(FBLoginTooltipView) -@interface FBSDKLoginTooltipView : FBSDKTooltipView - -/** the delegate */ -@property (nonatomic, weak) id delegate; - -/** if set to YES, the view will always be displayed and the delegate's - `loginTooltipView:shouldAppear:` will NOT be called. */ -@property (nonatomic, getter = shouldForceDisplay, assign) BOOL forceDisplay; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipViewDelegate.h b/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipViewDelegate.h deleted file mode 100644 index 5021a54..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipViewDelegate.h +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -NS_ASSUME_NONNULL_BEGIN - -/** - @protocol - - The `FBSDKLoginTooltipViewDelegate` protocol defines the methods used to receive event - notifications from `FBSDKLoginTooltipView` objects. - */ -NS_SWIFT_NAME(LoginTooltipViewDelegate) -@protocol FBSDKLoginTooltipViewDelegate - -@optional - -/** - 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. - - - Use this method to customize display behavior. - */ -- (BOOL)loginTooltipView:(FBSDKLoginTooltipView *)view shouldAppear:(BOOL)appIsEligible; - -/** - 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; - -/** - 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 - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKReferralCode.h b/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKReferralCode.h deleted file mode 100644 index deaebd4..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKReferralCode.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import "TargetConditionals.h" - -#if !TARGET_OS_TV - - #import - -NS_ASSUME_NONNULL_BEGIN - -/** - Represent a referral code used in the referral process -*/ -NS_SWIFT_NAME(ReferralCode) -DEPRECATED_MSG_ATTRIBUTE("`FBSDKReferralCode` is deprecated and will be removed in the next major release") -@interface FBSDKReferralCode : NSObject - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/** - The string value of the referral code -*/ -@property (nonatomic) NSString *value; - -/** - Initializes a new instance if the referral code is valid. Otherwise returns nil. - A code is valid if it is non-empty and contains only alphanumeric characters. - @param string the raw string referral code -*/ -+ (nullable instancetype)initWithString:(NSString *)string; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKReferralManager.h b/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKReferralManager.h deleted file mode 100644 index 499cad3..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKReferralManager.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import "TargetConditionals.h" - -#if !TARGET_OS_TV - - #import - -NS_ASSUME_NONNULL_BEGIN - -@class FBSDKReferralManagerResult; - -/** - Describes the call back to the FBSDKReferralManager - @param result the result of the referral - @param error the referral error, if any. - */ -typedef void (^ FBSDKReferralManagerResultBlock)(FBSDKReferralManagerResult *_Nullable result, - NSError *_Nullable error) -NS_SWIFT_NAME(ReferralManagerResultBlock); - -/** - `FBSDKReferralManager` provides methods for starting the referral process. -*/ -NS_SWIFT_NAME(ReferralManager) -DEPRECATED_MSG_ATTRIBUTE("`FBSDKReferralManager` is deprecated and will be removed in the next major release") -@interface FBSDKReferralManager : NSObject - -/** - Initialize a new instance with the provided view controller - @param viewController the view controller to present from. If nil, the topmost view controller will be automatically determined as best as possible. - */ -- (instancetype)initWithViewController:(nullable UIViewController *)viewController; - -/** - Open the referral dialog. - @param handler the callback. - */ -- (void)startReferralWithCompletionHandler:(nullable FBSDKReferralManagerResultBlock)handler; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKReferralManagerResult.h b/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKReferralManagerResult.h deleted file mode 100644 index f83f924..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKReferralManagerResult.h +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import "TargetConditionals.h" - -#if !TARGET_OS_TV - - #import - - #import - -NS_ASSUME_NONNULL_BEGIN - -/** - Describes the result of a referral request. - */ -NS_SWIFT_NAME(ReferralManagerResult) -DEPRECATED_MSG_ATTRIBUTE("`FBSDKReferralCode` is deprecated and will be removed in the next major release") -@interface FBSDKReferralManagerResult : NSObject - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; - -/** - whether the referral was cancelled by the user. - */ -@property (nonatomic, readonly) BOOL isCancelled; - -/** - An array of referral codes for each referral made by the user - */ -@property (nonatomic, copy) NSArray *referralCodes; - -/** Initializes a new instance. - @param referralCodes the referral codes - @param isCancelled whether the referral was cancelled by the user - */ -- (instancetype)initWithReferralCodes:(nullable NSArray *)referralCodes - isCancelled:(BOOL)isCancelled - NS_DESIGNATED_INITIALIZER; -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h b/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h deleted file mode 100644 index 806f9be..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h +++ /dev/null @@ -1,143 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import "TargetConditionals.h" - -#if !TARGET_OS_TV - - #import - -NS_ASSUME_NONNULL_BEGIN - -/** - FBSDKTooltipViewArrowDirection enum - - 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, -} NS_SWIFT_NAME(FBTooltipView.ArrowDirection); - -/** - FBSDKTooltipColorStyle enum - - 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, -} NS_SWIFT_NAME(FBTooltipView.ColorStyle); - -/** - - Tooltip bubble with text in it used to display tips for UI elements, - with a pointed arrow (to refer to the UI element). - - - - The tooltip fades in and will automatically fade out. See `displayDuration`. - */ -NS_SWIFT_NAME(FBTooltipView) -@interface FBSDKTooltipView : UIView - -/** - Gets or sets the amount of time in seconds the tooltip should be displayed. - Set this to zero to make the display permanent until explicitly dismissed. - Defaults to six seconds. - */ -@property (nonatomic, assign) CFTimeInterval displayDuration; - -/** - Gets or sets the color style after initialization. - Defaults to value passed to -initWithTagline:message:colorStyle:. - */ -@property (nonatomic, assign) FBSDKTooltipColorStyle colorStyle; - -/** - Gets or sets the message. - */ -@property (nullable, nonatomic, copy) NSString *message; - -/** - Gets or sets the optional phrase that comprises the first part of the label (and is highlighted differently). - */ -@property (nullable, nonatomic, copy) NSString *tagline; - -/** - 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. - - - - If you need to show a tooltip for login, consider using the `FBSDKLoginTooltipView` view. - - - @see FBSDKLoginTooltipView - */ -- (instancetype)initWithTagline:(nullable NSString *)tagline - message:(nullable NSString *)message - colorStyle:(FBSDKTooltipColorStyle)colorStyle; - -/** - 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) - - - - 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; - -/** - 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). - */ - -// UNCRUSTIFY_FORMAT_OFF -- (void)presentInView:(UIView *)view - withArrowPosition:(CGPoint)arrowPosition - direction:(FBSDKTooltipViewArrowDirection)arrowDirection -NS_SWIFT_NAME(present(in:arrowPosition:direction:)); -// UNCRUSTIFY_FORMAT_ON - -/** - Remove tooltip manually. - - - - Calling this method isn't necessary - tooltip will dismiss itself automatically after the `displayDuration`. - */ -- (void)dismiss; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Info.plist b/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Info.plist deleted file mode 100644 index 78399a3..0000000 Binary files a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Info.plist and /dev/null differ diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc deleted file mode 100644 index 969a6c9..0000000 Binary files a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc and /dev/null differ diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface deleted file mode 100644 index df1783d..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface +++ /dev/null @@ -1,29 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -// swift-module-flags: -target arm64-apple-ios10.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKLoginKit -import FBSDKCoreKit -@_exported import FBSDKLoginKit -import Swift -import UIKit -@available(tvOS, unavailable) -extension FBLoginButton { - convenience public init(frame: CoreGraphics.CGRect = .zero, permissions: [FBSDKCoreKit.Permission] = [.publicProfile]) -} -extension LoginConfiguration { - convenience public init?(permissions: Swift.Set = [], tracking: FBSDKLoginKit.LoginTracking = .enabled, nonce: Swift.String = UUID().uuidString, messengerPageId: Swift.String? = nil, authType: FBSDKLoginKit.LoginAuthType? = .rerequest) -} -@available(tvOS, unavailable) -public typealias LoginResultBlock = (FBSDKLoginKit.LoginResult) -> Swift.Void -@available(tvOS, unavailable) -@frozen public enum LoginResult { - case success(granted: Swift.Set, declined: Swift.Set, token: FBSDKCoreKit.AccessToken?) - case cancelled - case failed(Swift.Error) -} -@available(tvOS, unavailable) -extension LoginManager { - convenience public init(defaultAudience: FBSDKLoginKit.DefaultAudience = .friends) - public func logIn(permissions: [FBSDKCoreKit.Permission] = [.publicProfile], viewController: UIKit.UIViewController? = nil, completion: FBSDKLoginKit.LoginResultBlock? = nil) - public func logIn(viewController: UIKit.UIViewController? = nil, configuration: FBSDKLoginKit.LoginConfiguration, completion: @escaping FBSDKLoginKit.LoginResultBlock) - public func logIn(configuration: FBSDKLoginKit.LoginConfiguration, completion: @escaping FBSDKLoginKit.LoginResultBlock) -} diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftdoc b/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftdoc deleted file mode 100644 index 969a6c9..0000000 Binary files a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftdoc and /dev/null differ diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftinterface b/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftinterface deleted file mode 100644 index df1783d..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64.swiftinterface +++ /dev/null @@ -1,29 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -// swift-module-flags: -target arm64-apple-ios10.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKLoginKit -import FBSDKCoreKit -@_exported import FBSDKLoginKit -import Swift -import UIKit -@available(tvOS, unavailable) -extension FBLoginButton { - convenience public init(frame: CoreGraphics.CGRect = .zero, permissions: [FBSDKCoreKit.Permission] = [.publicProfile]) -} -extension LoginConfiguration { - convenience public init?(permissions: Swift.Set = [], tracking: FBSDKLoginKit.LoginTracking = .enabled, nonce: Swift.String = UUID().uuidString, messengerPageId: Swift.String? = nil, authType: FBSDKLoginKit.LoginAuthType? = .rerequest) -} -@available(tvOS, unavailable) -public typealias LoginResultBlock = (FBSDKLoginKit.LoginResult) -> Swift.Void -@available(tvOS, unavailable) -@frozen public enum LoginResult { - case success(granted: Swift.Set, declined: Swift.Set, token: FBSDKCoreKit.AccessToken?) - case cancelled - case failed(Swift.Error) -} -@available(tvOS, unavailable) -extension LoginManager { - convenience public init(defaultAudience: FBSDKLoginKit.DefaultAudience = .friends) - public func logIn(permissions: [FBSDKCoreKit.Permission] = [.publicProfile], viewController: UIKit.UIViewController? = nil, completion: FBSDKLoginKit.LoginResultBlock? = nil) - public func logIn(viewController: UIKit.UIViewController? = nil, configuration: FBSDKLoginKit.LoginConfiguration, completion: @escaping FBSDKLoginKit.LoginResultBlock) - public func logIn(configuration: FBSDKLoginKit.LoginConfiguration, completion: @escaping FBSDKLoginKit.LoginResultBlock) -} diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/i386-apple-ios-simulator.swiftdoc b/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/i386-apple-ios-simulator.swiftdoc deleted file mode 100644 index 662b3d7..0000000 Binary files a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/i386-apple-ios-simulator.swiftdoc and /dev/null differ diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/i386-apple-ios-simulator.swiftinterface b/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/i386-apple-ios-simulator.swiftinterface deleted file mode 100644 index 50780d1..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/i386-apple-ios-simulator.swiftinterface +++ /dev/null @@ -1,29 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -// swift-module-flags: -target i386-apple-ios10.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKLoginKit -import FBSDKCoreKit -@_exported import FBSDKLoginKit -import Swift -import UIKit -@available(tvOS, unavailable) -extension FBLoginButton { - convenience public init(frame: CoreGraphics.CGRect = .zero, permissions: [FBSDKCoreKit.Permission] = [.publicProfile]) -} -extension LoginConfiguration { - convenience public init?(permissions: Swift.Set = [], tracking: FBSDKLoginKit.LoginTracking = .enabled, nonce: Swift.String = UUID().uuidString, messengerPageId: Swift.String? = nil, authType: FBSDKLoginKit.LoginAuthType? = .rerequest) -} -@available(tvOS, unavailable) -public typealias LoginResultBlock = (FBSDKLoginKit.LoginResult) -> Swift.Void -@available(tvOS, unavailable) -@frozen public enum LoginResult { - case success(granted: Swift.Set, declined: Swift.Set, token: FBSDKCoreKit.AccessToken?) - case cancelled - case failed(Swift.Error) -} -@available(tvOS, unavailable) -extension LoginManager { - convenience public init(defaultAudience: FBSDKLoginKit.DefaultAudience = .friends) - public func logIn(permissions: [FBSDKCoreKit.Permission] = [.publicProfile], viewController: UIKit.UIViewController? = nil, completion: FBSDKLoginKit.LoginResultBlock? = nil) - public func logIn(viewController: UIKit.UIViewController? = nil, configuration: FBSDKLoginKit.LoginConfiguration, completion: @escaping FBSDKLoginKit.LoginResultBlock) - public func logIn(configuration: FBSDKLoginKit.LoginConfiguration, completion: @escaping FBSDKLoginKit.LoginResultBlock) -} diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/i386.swiftdoc b/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/i386.swiftdoc deleted file mode 100644 index 662b3d7..0000000 Binary files a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/i386.swiftdoc and /dev/null differ diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/i386.swiftinterface b/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/i386.swiftinterface deleted file mode 100644 index 50780d1..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/i386.swiftinterface +++ /dev/null @@ -1,29 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -// swift-module-flags: -target i386-apple-ios10.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKLoginKit -import FBSDKCoreKit -@_exported import FBSDKLoginKit -import Swift -import UIKit -@available(tvOS, unavailable) -extension FBLoginButton { - convenience public init(frame: CoreGraphics.CGRect = .zero, permissions: [FBSDKCoreKit.Permission] = [.publicProfile]) -} -extension LoginConfiguration { - convenience public init?(permissions: Swift.Set = [], tracking: FBSDKLoginKit.LoginTracking = .enabled, nonce: Swift.String = UUID().uuidString, messengerPageId: Swift.String? = nil, authType: FBSDKLoginKit.LoginAuthType? = .rerequest) -} -@available(tvOS, unavailable) -public typealias LoginResultBlock = (FBSDKLoginKit.LoginResult) -> Swift.Void -@available(tvOS, unavailable) -@frozen public enum LoginResult { - case success(granted: Swift.Set, declined: Swift.Set, token: FBSDKCoreKit.AccessToken?) - case cancelled - case failed(Swift.Error) -} -@available(tvOS, unavailable) -extension LoginManager { - convenience public init(defaultAudience: FBSDKLoginKit.DefaultAudience = .friends) - public func logIn(permissions: [FBSDKCoreKit.Permission] = [.publicProfile], viewController: UIKit.UIViewController? = nil, completion: FBSDKLoginKit.LoginResultBlock? = nil) - public func logIn(viewController: UIKit.UIViewController? = nil, configuration: FBSDKLoginKit.LoginConfiguration, completion: @escaping FBSDKLoginKit.LoginResultBlock) - public func logIn(configuration: FBSDKLoginKit.LoginConfiguration, completion: @escaping FBSDKLoginKit.LoginResultBlock) -} diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc deleted file mode 100644 index 733e02d..0000000 Binary files a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc and /dev/null differ diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface deleted file mode 100644 index b546ca8..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +++ /dev/null @@ -1,29 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -// swift-module-flags: -target x86_64-apple-ios10.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKLoginKit -import FBSDKCoreKit -@_exported import FBSDKLoginKit -import Swift -import UIKit -@available(tvOS, unavailable) -extension FBLoginButton { - convenience public init(frame: CoreGraphics.CGRect = .zero, permissions: [FBSDKCoreKit.Permission] = [.publicProfile]) -} -extension LoginConfiguration { - convenience public init?(permissions: Swift.Set = [], tracking: FBSDKLoginKit.LoginTracking = .enabled, nonce: Swift.String = UUID().uuidString, messengerPageId: Swift.String? = nil, authType: FBSDKLoginKit.LoginAuthType? = .rerequest) -} -@available(tvOS, unavailable) -public typealias LoginResultBlock = (FBSDKLoginKit.LoginResult) -> Swift.Void -@available(tvOS, unavailable) -@frozen public enum LoginResult { - case success(granted: Swift.Set, declined: Swift.Set, token: FBSDKCoreKit.AccessToken?) - case cancelled - case failed(Swift.Error) -} -@available(tvOS, unavailable) -extension LoginManager { - convenience public init(defaultAudience: FBSDKLoginKit.DefaultAudience = .friends) - public func logIn(permissions: [FBSDKCoreKit.Permission] = [.publicProfile], viewController: UIKit.UIViewController? = nil, completion: FBSDKLoginKit.LoginResultBlock? = nil) - public func logIn(viewController: UIKit.UIViewController? = nil, configuration: FBSDKLoginKit.LoginConfiguration, completion: @escaping FBSDKLoginKit.LoginResultBlock) - public func logIn(configuration: FBSDKLoginKit.LoginConfiguration, completion: @escaping FBSDKLoginKit.LoginResultBlock) -} diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftdoc b/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftdoc deleted file mode 100644 index 733e02d..0000000 Binary files a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftdoc and /dev/null differ diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftinterface b/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftinterface deleted file mode 100644 index b546ca8..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftinterface +++ /dev/null @@ -1,29 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -// swift-module-flags: -target x86_64-apple-ios10.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKLoginKit -import FBSDKCoreKit -@_exported import FBSDKLoginKit -import Swift -import UIKit -@available(tvOS, unavailable) -extension FBLoginButton { - convenience public init(frame: CoreGraphics.CGRect = .zero, permissions: [FBSDKCoreKit.Permission] = [.publicProfile]) -} -extension LoginConfiguration { - convenience public init?(permissions: Swift.Set = [], tracking: FBSDKLoginKit.LoginTracking = .enabled, nonce: Swift.String = UUID().uuidString, messengerPageId: Swift.String? = nil, authType: FBSDKLoginKit.LoginAuthType? = .rerequest) -} -@available(tvOS, unavailable) -public typealias LoginResultBlock = (FBSDKLoginKit.LoginResult) -> Swift.Void -@available(tvOS, unavailable) -@frozen public enum LoginResult { - case success(granted: Swift.Set, declined: Swift.Set, token: FBSDKCoreKit.AccessToken?) - case cancelled - case failed(Swift.Error) -} -@available(tvOS, unavailable) -extension LoginManager { - convenience public init(defaultAudience: FBSDKLoginKit.DefaultAudience = .friends) - public func logIn(permissions: [FBSDKCoreKit.Permission] = [.publicProfile], viewController: UIKit.UIViewController? = nil, completion: FBSDKLoginKit.LoginResultBlock? = nil) - public func logIn(viewController: UIKit.UIViewController? = nil, configuration: FBSDKLoginKit.LoginConfiguration, completion: @escaping FBSDKLoginKit.LoginResultBlock) - public func logIn(configuration: FBSDKLoginKit.LoginConfiguration, completion: @escaping FBSDKLoginKit.LoginResultBlock) -} diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/_CodeSignature/CodeDirectory b/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/_CodeSignature/CodeDirectory deleted file mode 100644 index 8363608..0000000 Binary files a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/_CodeSignature/CodeDirectory and /dev/null differ diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/_CodeSignature/CodeRequirements-1 b/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/_CodeSignature/CodeRequirements-1 deleted file mode 100644 index 648d6cb..0000000 Binary files a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/_CodeSignature/CodeRequirements-1 and /dev/null differ diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/_CodeSignature/CodeResources b/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/_CodeSignature/CodeResources deleted file mode 100644 index b20b921..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKLoginKit.framework/_CodeSignature/CodeResources +++ /dev/null @@ -1,642 +0,0 @@ - - - - - files - - Headers/FBSDKDeviceLoginCodeInfo.h - - RWCmPcPiM7STZuy9rMDB5gtvTWU= - - Headers/FBSDKDeviceLoginManager.h - - 2y+BOwSTR4AzKFc3JIso+TB+Jis= - - Headers/FBSDKDeviceLoginManagerResult.h - - I+aUykBgwmxJNGqgVT3H+4ji4fA= - - Headers/FBSDKLoginButton.h - - EF/68DZgO2QCFc4Y76Mkuxofrvs= - - Headers/FBSDKLoginButtonDelegate.h - - h9KwQX/tYK153PaYi8Ma9vqX6hU= - - Headers/FBSDKLoginConfiguration.h - - WYOGmYe/aKiegbDsxGLu0dqX43w= - - Headers/FBSDKLoginConstants.h - - T8FH+QdeZFH6fAL4/VQHYNe7bGU= - - Headers/FBSDKLoginKit-Swift.h - - FW0UE1rcsrV5oMot5UE5oRWyimQ= - - Headers/FBSDKLoginKit.h - - okhMEaAt0aDVHt7CHvTqlDyvWWo= - - Headers/FBSDKLoginManager.h - - pWqo4IUZVe+EacSWAOdX2U1fQKA= - - Headers/FBSDKLoginManagerLoginResult.h - - Np1UCf22O3P7gLFzfeiqH7QM/iM= - - Headers/FBSDKLoginTooltipView.h - - /F//SnHZoHelm8sBfOFPs+CLAG0= - - Headers/FBSDKLoginTooltipViewDelegate.h - - ve7L2Pi/upqCSkgvTkfdf0pB/Cs= - - Headers/FBSDKReferralCode.h - - saYL8I5UsNYDLhSVQNF4NoYw++s= - - Headers/FBSDKReferralManager.h - - Qd7jvHyJkHqJ/7ddj11AIUuG53E= - - Headers/FBSDKReferralManagerResult.h - - G6KAE5daTBO2+7VdimMOIv/00Uk= - - Headers/FBSDKTooltipView.h - - 5Kspy45VOuaIL//0ADkyDJUDDcE= - - Info.plist - - eNpamqPUsnol9ONcasY0sWeXFyI= - - Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc - - 6B17Piv3KaX/xEGlMdY03FVQbcs= - - Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface - - ScavSWIv0COtxrA6tPhLVMWQ5zw= - - Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios-simulator.swiftmodule - - C5dA7GZ0wem/ZnlS2zdNINDr66s= - - Modules/FBSDKLoginKit.swiftmodule/arm64.swiftdoc - - 6B17Piv3KaX/xEGlMdY03FVQbcs= - - Modules/FBSDKLoginKit.swiftmodule/arm64.swiftinterface - - ScavSWIv0COtxrA6tPhLVMWQ5zw= - - Modules/FBSDKLoginKit.swiftmodule/arm64.swiftmodule - - C5dA7GZ0wem/ZnlS2zdNINDr66s= - - Modules/FBSDKLoginKit.swiftmodule/i386-apple-ios-simulator.swiftdoc - - A72FNRjNX9K+mlX8YzrsJrPUJqU= - - Modules/FBSDKLoginKit.swiftmodule/i386-apple-ios-simulator.swiftinterface - - /jNP8Lu6SvJPtnytLeJA/sESC44= - - Modules/FBSDKLoginKit.swiftmodule/i386-apple-ios-simulator.swiftmodule - - HLwTYRr4qExaESVCMIV123vaHdw= - - Modules/FBSDKLoginKit.swiftmodule/i386.swiftdoc - - A72FNRjNX9K+mlX8YzrsJrPUJqU= - - Modules/FBSDKLoginKit.swiftmodule/i386.swiftinterface - - /jNP8Lu6SvJPtnytLeJA/sESC44= - - Modules/FBSDKLoginKit.swiftmodule/i386.swiftmodule - - HLwTYRr4qExaESVCMIV123vaHdw= - - Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc - - 3wuLjCLCXlxIUi/8B8gVBKSVzb0= - - Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface - - +rASbNKqWW1fkM0wxAaJXcvJhGg= - - Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule - - CqwjhgFBCMrqfe9jsZklyj2lYAw= - - Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftdoc - - 3wuLjCLCXlxIUi/8B8gVBKSVzb0= - - Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftinterface - - +rASbNKqWW1fkM0wxAaJXcvJhGg= - - Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftmodule - - CqwjhgFBCMrqfe9jsZklyj2lYAw= - - Modules/module.modulemap - - tfc04nZSIwhoHV/QsoW1UgsqZrM= - - - files2 - - Headers/FBSDKDeviceLoginCodeInfo.h - - hash - - RWCmPcPiM7STZuy9rMDB5gtvTWU= - - hash2 - - y74PuDYlFpAJ/XTmrLi55Pv3+lJoUR/d2XxFmHDb4eQ= - - - Headers/FBSDKDeviceLoginManager.h - - hash - - 2y+BOwSTR4AzKFc3JIso+TB+Jis= - - hash2 - - FkPk1xth+1O5nfs4begRpE0Uw6/cQyIHTwIXDiItJ/s= - - - Headers/FBSDKDeviceLoginManagerResult.h - - hash - - I+aUykBgwmxJNGqgVT3H+4ji4fA= - - hash2 - - xTq+jeHQp+2GBM/842QI1MAi4Tbr/KWyLGZ0fQx83MQ= - - - Headers/FBSDKLoginButton.h - - hash - - EF/68DZgO2QCFc4Y76Mkuxofrvs= - - hash2 - - bHPuCKcUbUPIyBnx7P/HimpTiaCRoMjKaJxUcUFiNvA= - - - Headers/FBSDKLoginButtonDelegate.h - - hash - - h9KwQX/tYK153PaYi8Ma9vqX6hU= - - hash2 - - TlqRIvKjIqKxQG6L5/lOrs6XySL01gqll848IhTZzTA= - - - Headers/FBSDKLoginConfiguration.h - - hash - - WYOGmYe/aKiegbDsxGLu0dqX43w= - - hash2 - - VRQJ5WTMs6HSTv5QKyBYp7OcB5IMbsAVtrlWVTrI46o= - - - Headers/FBSDKLoginConstants.h - - hash - - T8FH+QdeZFH6fAL4/VQHYNe7bGU= - - hash2 - - 17yJgz/zJilGGFH82Dz0kA1QQvdIOhXQqPFgkG9t5qk= - - - Headers/FBSDKLoginKit-Swift.h - - hash - - FW0UE1rcsrV5oMot5UE5oRWyimQ= - - hash2 - - bR+eJDc9Ry/v1ikUqBf1YRybvy35IRFPj1KYjRIJP2I= - - - Headers/FBSDKLoginKit.h - - hash - - okhMEaAt0aDVHt7CHvTqlDyvWWo= - - hash2 - - Y+ycP5YcirPFXtxkY+RNu4LVwsXpKqA+ZxAqqrzpx0U= - - - Headers/FBSDKLoginManager.h - - hash - - pWqo4IUZVe+EacSWAOdX2U1fQKA= - - hash2 - - uzPpcILmXKMErL1pYHnPsleHSUcQ1CC0Gt8qTA9tWbY= - - - Headers/FBSDKLoginManagerLoginResult.h - - hash - - Np1UCf22O3P7gLFzfeiqH7QM/iM= - - hash2 - - a0T2JS1cKT1f6fBHPjBelwjwWi1XrPyIE2XHhEmUKP0= - - - Headers/FBSDKLoginTooltipView.h - - hash - - /F//SnHZoHelm8sBfOFPs+CLAG0= - - hash2 - - m9QicUg0FiujQ4RzOpCHSF6POJHjLH5Gl29VDWzXk/8= - - - Headers/FBSDKLoginTooltipViewDelegate.h - - hash - - ve7L2Pi/upqCSkgvTkfdf0pB/Cs= - - hash2 - - sEld1vi5bRxMa6hub4wS2qiNNn/PeVo40USPajHiDmk= - - - Headers/FBSDKReferralCode.h - - hash - - saYL8I5UsNYDLhSVQNF4NoYw++s= - - hash2 - - 4oAZEnpXV/sMQ4mp6vdv2wHA91Lc0sjDLQvOQJfKALY= - - - Headers/FBSDKReferralManager.h - - hash - - Qd7jvHyJkHqJ/7ddj11AIUuG53E= - - hash2 - - mk7XU36ehcg85sDadr0ynrR3GnyUViIJB+lVtVNpLxs= - - - Headers/FBSDKReferralManagerResult.h - - hash - - G6KAE5daTBO2+7VdimMOIv/00Uk= - - hash2 - - Gneh4Xk51i8EfhNTOnOQ5sZsbiln7aNkZ406VLesEaI= - - - Headers/FBSDKTooltipView.h - - hash - - 5Kspy45VOuaIL//0ADkyDJUDDcE= - - hash2 - - SGP5ntfacGtOCs/M2Sg8ErnqswDdP59Y1xOm1ShGgrA= - - - Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc - - hash - - 6B17Piv3KaX/xEGlMdY03FVQbcs= - - hash2 - - 11CsUGmy9Kno2S4nctaPjd3LCyg+bvdLC7ZEY3XgQ+Q= - - - Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface - - hash - - ScavSWIv0COtxrA6tPhLVMWQ5zw= - - hash2 - - rsLw/TNrjvo2WTghuwg5shwoSKKojyWm20CloH7OfGg= - - - Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios-simulator.swiftmodule - - hash - - C5dA7GZ0wem/ZnlS2zdNINDr66s= - - hash2 - - ovVE1xXPg1UiZsyWy9DPNGTHjgGLzoWf3Y5qsMw4Uyg= - - - Modules/FBSDKLoginKit.swiftmodule/arm64.swiftdoc - - hash - - 6B17Piv3KaX/xEGlMdY03FVQbcs= - - hash2 - - 11CsUGmy9Kno2S4nctaPjd3LCyg+bvdLC7ZEY3XgQ+Q= - - - Modules/FBSDKLoginKit.swiftmodule/arm64.swiftinterface - - hash - - ScavSWIv0COtxrA6tPhLVMWQ5zw= - - hash2 - - rsLw/TNrjvo2WTghuwg5shwoSKKojyWm20CloH7OfGg= - - - Modules/FBSDKLoginKit.swiftmodule/arm64.swiftmodule - - hash - - C5dA7GZ0wem/ZnlS2zdNINDr66s= - - hash2 - - ovVE1xXPg1UiZsyWy9DPNGTHjgGLzoWf3Y5qsMw4Uyg= - - - Modules/FBSDKLoginKit.swiftmodule/i386-apple-ios-simulator.swiftdoc - - hash - - A72FNRjNX9K+mlX8YzrsJrPUJqU= - - hash2 - - S4qrhSP9991tZNvwFOnu4Q0BZ6W2A+rj8w7Tw+NvnpQ= - - - Modules/FBSDKLoginKit.swiftmodule/i386-apple-ios-simulator.swiftinterface - - hash - - /jNP8Lu6SvJPtnytLeJA/sESC44= - - hash2 - - Nkcscu0fj4w9LJxUvj7zqozmYCXFTQUwlpY+fDnd5gA= - - - Modules/FBSDKLoginKit.swiftmodule/i386-apple-ios-simulator.swiftmodule - - hash - - HLwTYRr4qExaESVCMIV123vaHdw= - - hash2 - - zsuM/aN8AJlA/szLGwF2fHUDGTdweJBkBKPe1ACZd08= - - - Modules/FBSDKLoginKit.swiftmodule/i386.swiftdoc - - hash - - A72FNRjNX9K+mlX8YzrsJrPUJqU= - - hash2 - - S4qrhSP9991tZNvwFOnu4Q0BZ6W2A+rj8w7Tw+NvnpQ= - - - Modules/FBSDKLoginKit.swiftmodule/i386.swiftinterface - - hash - - /jNP8Lu6SvJPtnytLeJA/sESC44= - - hash2 - - Nkcscu0fj4w9LJxUvj7zqozmYCXFTQUwlpY+fDnd5gA= - - - Modules/FBSDKLoginKit.swiftmodule/i386.swiftmodule - - hash - - HLwTYRr4qExaESVCMIV123vaHdw= - - hash2 - - zsuM/aN8AJlA/szLGwF2fHUDGTdweJBkBKPe1ACZd08= - - - Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc - - hash - - 3wuLjCLCXlxIUi/8B8gVBKSVzb0= - - hash2 - - RW63Nvuao7bAzyIoEyLkvnsId4Ir32/560E5+t1haos= - - - Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface - - hash - - +rASbNKqWW1fkM0wxAaJXcvJhGg= - - hash2 - - xLwPQdfJ7nN93iljavmotOGBH3y+CWcKnPP38ZwEM2Q= - - - Modules/FBSDKLoginKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule - - hash - - CqwjhgFBCMrqfe9jsZklyj2lYAw= - - hash2 - - R7qq7NIIiDBUisj/ike3vtiZ37MWLUlDSM3cJWtZI5w= - - - Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftdoc - - hash - - 3wuLjCLCXlxIUi/8B8gVBKSVzb0= - - hash2 - - RW63Nvuao7bAzyIoEyLkvnsId4Ir32/560E5+t1haos= - - - Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftinterface - - hash - - +rASbNKqWW1fkM0wxAaJXcvJhGg= - - hash2 - - xLwPQdfJ7nN93iljavmotOGBH3y+CWcKnPP38ZwEM2Q= - - - Modules/FBSDKLoginKit.swiftmodule/x86_64.swiftmodule - - hash - - CqwjhgFBCMrqfe9jsZklyj2lYAw= - - hash2 - - R7qq7NIIiDBUisj/ike3vtiZ37MWLUlDSM3cJWtZI5w= - - - Modules/module.modulemap - - hash - - tfc04nZSIwhoHV/QsoW1UgsqZrM= - - hash2 - - mg/tLWcmTWvzzkcRtPQSnONw1PhzIM4vXke4Qdm7upM= - - - - rules - - ^.* - - ^.*\.lproj/ - - optional - - weight - 1000 - - ^.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^Base\.lproj/ - - weight - 1010 - - ^version.plist$ - - - rules2 - - .*\.dSYM($|/) - - weight - 11 - - ^(.*/)?\.DS_Store$ - - omit - - weight - 2000 - - ^.* - - ^.*\.lproj/ - - optional - - weight - 1000 - - ^.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^Base\.lproj/ - - weight - 1010 - - ^Info\.plist$ - - omit - - weight - 20 - - ^PkgInfo$ - - omit - - weight - 20 - - ^embedded\.provisionprofile$ - - weight - 20 - - ^version\.plist$ - - weight - 20 - - - - diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/FBSDKShareKit b/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/FBSDKShareKit deleted file mode 100644 index 68c1919..0000000 Binary files a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/FBSDKShareKit and /dev/null differ diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKAppGroupContent.h b/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKAppGroupContent.h deleted file mode 100644 index 874cf4f..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKAppGroupContent.h +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#if TARGET_OS_TV - -typedef NS_ENUM(NSUInteger, AppGroupPrivacy) { AppGroupPrivacyOpen, }; - -FOUNDATION_EXPORT NSString *NSStringFromFBSDKAppGroupPrivacy(AppGroupPrivacy privacy) -NS_REFINED_FOR_SWIFT; - -#else - - #import - -NS_ASSUME_NONNULL_BEGIN - -/** - NS_ENUM(NSUInteger, FBSDKAppGroupPrivacy) - Specifies the privacy of a group. - */ -typedef NS_ENUM(NSUInteger, FBSDKAppGroupPrivacy) { - /** Anyone can see the group, who's in it and what members post. */ - FBSDKAppGroupPrivacyOpen = 0, - /** Anyone can see the group and who's in it, but only members can see posts. */ - FBSDKAppGroupPrivacyClosed, -} NS_SWIFT_NAME(AppGroupPrivacy); - -/** - Converts an FBSDKAppGroupPrivacy to an NSString. - */ -FOUNDATION_EXPORT NSString *NSStringFromFBSDKAppGroupPrivacy(FBSDKAppGroupPrivacy privacy) -NS_REFINED_FOR_SWIFT; - -/** - A model for creating an app group. - */ -NS_SWIFT_NAME(AppGroupContent) -@interface FBSDKAppGroupContent : NSObject - -/** - The description of the group. - */ -@property (nonatomic, copy) NSString *groupDescription; - -/** - The name of the group. - */ -@property (nonatomic, copy) NSString *name; - -/** - The privacy for the group. - */ -@property (nonatomic, assign) FBSDKAppGroupPrivacy privacy; - -/** - Compares the receiver to another app group content. - @param content The other content - @return YES if the receiver's values are equal to the other content's values; otherwise NO - */ -- (BOOL)isEqualToAppGroupContent:(FBSDKAppGroupContent *)content; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKAppInviteContent.h b/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKAppInviteContent.h deleted file mode 100644 index 7d2f83e..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKAppInviteContent.h +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import "TargetConditionals.h" - -#if !TARGET_OS_TV - - #import - - #import - #import - -NS_ASSUME_NONNULL_BEGIN - -/** - NS_ENUM(NSUInteger, FBSDKAppInviteDestination) - Specifies the privacy of a group. - */ -typedef NS_ENUM(NSUInteger, FBSDKAppInviteDestination) { - /** Deliver to Facebook. */ - FBSDKAppInviteDestinationFacebook = 0, - /** Deliver to Messenger. */ - FBSDKAppInviteDestinationMessenger, -} NS_SWIFT_NAME(AppInviteDestination); - -/** - A model for app invite. - */ -NS_SWIFT_NAME(AppInviteContent) -@interface FBSDKAppInviteContent : NSObject - -/** - A URL to a preview image that will be displayed with the app invite - - - This is optional. If you don't include it a fallback image will be used. -*/ -@property (nullable, nonatomic, copy) NSURL *appInvitePreviewImageURL; - -/** - An app link target that will be used as a target when the user accept the invite. - - - This is a requirement. - */ -@property (nonatomic, copy) NSURL *appLinkURL; - -/** - Promotional code to be displayed while sending and receiving the invite. - - - This is optional. This can be between 0 and 10 characters long and can contain - alphanumeric characters only. To set a promo code, you need to set promo text. - */ -@property (nullable, nonatomic, copy) NSString *promotionCode; - -/** - Promotional text to be displayed while sending and receiving the invite. - - - This is optional. This can be between 0 and 80 characters long and can contain - alphanumeric and spaces only. - */ -@property (nullable, nonatomic, copy) NSString *promotionText; - -/** - Destination for the app invite. - - - This is optional and for declaring destination of the invite. - */ -@property (nonatomic, assign) FBSDKAppInviteDestination destination; - -/** - Compares the receiver to another app invite content. - @param content The other content - @return YES if the receiver's values are equal to the other content's values; otherwise NO - */ -- (BOOL)isEqualToAppInviteContent:(FBSDKAppInviteContent *)content; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKCameraEffectArguments.h b/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKCameraEffectArguments.h deleted file mode 100644 index 17cf4c4..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKCameraEffectArguments.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - * A container of arguments for a camera effect. - * An argument is a NSString identified by a NSString key. - */ -NS_SWIFT_NAME(CameraEffectArguments) -@interface FBSDKCameraEffectArguments : NSObject - -/** - Sets a string argument in the container. - @param string The argument - @param key The key for the argument - */ - -// UNCRUSTIFY_FORMAT_OFF -- (void)setString:(nullable NSString *)string forKey:(NSString *)key -NS_SWIFT_NAME(set(_:forKey:)); -// UNCRUSTIFY_FORMAT_ON - -/** - Gets a string argument from the container. - @param key The key for the argument - @return The string value or nil - */ -- (nullable NSString *)stringForKey:(NSString *)key; - -/** - Sets a string array argument in the container. - @param array The array argument - @param key The key for the argument - */ - -// UNCRUSTIFY_FORMAT_OFF -- (void)setArray:(nullable NSArray *)array forKey:(NSString *)key -NS_SWIFT_NAME(set(_:forKey:)); -// UNCRUSTIFY_FORMAT_ON - -/** - Gets an array argument from the container. - @param key The key for the argument - @return The array argument - */ -- (nullable NSArray *)arrayForKey:(NSString *)key; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKCameraEffectTextures.h b/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKCameraEffectTextures.h deleted file mode 100644 index 9ec9956..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKCameraEffectTextures.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - * A container of textures for a camera effect. - * A texture for a camera effect is an UIImages identified by a NSString key. - */ -NS_SWIFT_NAME(CameraEffectTextures) -@interface FBSDKCameraEffectTextures : NSObject - -/** - Sets the image for a texture key. - @param image The UIImage for the texture - @param key The key for the texture - */ - -// UNCRUSTIFY_FORMAT_OFF -- (void)setImage:(nullable UIImage *)image forKey:(NSString *)key -NS_SWIFT_NAME(set(_:forKey:)); -// UNCRUSTIFY_FORMAT_ON - -/** - Gets the image for a texture key. - @param key The key for the texture - @return The texture UIImage or nil - */ -- (nullable UIImage *)imageForKey:(NSString *)key; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKGameRequestContent.h b/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKGameRequestContent.h deleted file mode 100644 index 915f1eb..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKGameRequestContent.h +++ /dev/null @@ -1,103 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -#import -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - A model for a game request. - */ -NS_SWIFT_NAME(GameRequestContent) -@interface FBSDKGameRequestContent : NSObject - -/** - Used when defining additional context about the nature of the request. - - The parameter 'objectID' is required if the action type is either - 'FBSDKGameRequestSendActionType' or 'FBSDKGameRequestAskForActionType'. - -- SeeAlso:objectID - */ -@property (nonatomic, assign) FBSDKGameRequestActionType actionType; - -/** - Compares the receiver to another game request content. - @param content The other content - @return YES if the receiver's values are equal to the other content's values; otherwise NO - */ -- (BOOL)isEqualToGameRequestContent:(FBSDKGameRequestContent *)content; - -/** - Additional freeform data you may pass for tracking. This will be stored as part of - the request objects created. The maximum length is 255 characters. - */ -@property (nullable, nonatomic, copy) NSString *data; - -/** - This controls the set of friends someone sees if a multi-friend selector is shown. - It is FBSDKGameRequestNoFilter by default, meaning that all friends can be shown. - If specify as FBSDKGameRequestAppUsersFilter, only friends who use the app will be shown. - On the other hands, use FBSDKGameRequestAppNonUsersFilter to filter only friends who do not use the app. - - The parameter name is preserved to be consistent with the counter part on desktop. - */ -@property (nonatomic, assign) FBSDKGameRequestFilter filters; - -/** - A plain-text message to be sent as part of the request. This text will surface in the App Center view - of the request, but not on the notification jewel. Required parameter. - */ -@property (nonatomic, copy) NSString *message; - -/** - The Open Graph object ID of the object being sent. - -- SeeAlso:actionType - */ -@property (nonatomic, copy) NSString *objectID; - -/** - An array of user IDs, usernames or invite tokens (NSString) of people to send request. - - These may or may not be a friend of the sender. If this is specified by the app, - the sender will not have a choice of recipients. If not, the sender will see a multi-friend selector - - This is equivalent to the "to" parameter when using the web game request dialog. - */ -@property (nonatomic, copy) NSArray *recipients; - -/** - An array of user IDs that will be included in the dialog as the first suggested friends. - Cannot be used together with filters. - - This is equivalent to the "suggestions" parameter when using the web game request dialog. -*/ -@property (nonatomic, copy) NSArray *recipientSuggestions; - -/** - The title for the dialog. - */ -@property (nonatomic, copy) NSString *title; - -/** - The call to action for the dialog. - */ -@property (nonatomic, copy) NSString *cta; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKGameRequestDialog.h b/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKGameRequestDialog.h deleted file mode 100644 index 0a673c9..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKGameRequestDialog.h +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -@protocol FBSDKGameRequestDialogDelegate; - -/** - A dialog for sending game requests. - */ -NS_SWIFT_NAME(GameRequestDialog) -@interface FBSDKGameRequestDialog : NSObject - -- (instancetype)init NS_DESIGNATED_INITIALIZER - NS_SWIFT_UNAVAILABLE("Use init(content:delegate:) instead"); -+ (instancetype)new NS_UNAVAILABLE; - -/** - Convenience method to build up a game request with content and a delegate. - @param content The content for the game request. - @param delegate The receiver's delegate. - */ - -// UNCRUSTIFY_FORMAT_OFF -+ (instancetype)dialogWithContent:(FBSDKGameRequestContent *)content - delegate:(nullable id)delegate -NS_SWIFT_NAME(init(content:delegate:)); -// UNCRUSTIFY_FORMAT_ON - -/** - Convenience method to build up and show a game request with content and a delegate. - @param content The content for the game request. - @param delegate The receiver's delegate. - */ -+ (instancetype)showWithContent:(FBSDKGameRequestContent *)content - delegate:(nullable id)delegate - NS_SWIFT_UNAVAILABLE("Use init(content:delegate:).show() instead"); - -/** - The receiver's delegate or nil if it doesn't have a delegate. - */ -@property (nullable, nonatomic, weak) id delegate; - -/** - The content for game request. - */ -@property (nonatomic, copy) FBSDKGameRequestContent *content; - -/** - Specifies whether frictionless requests are enabled. - */ -@property (nonatomic, getter = isFrictionlessRequestsEnabled, assign) BOOL frictionlessRequestsEnabled; - -/** - A Boolean value that indicates whether the receiver can initiate a game request. - - May return NO if the appropriate Facebook app is not installed and is required or an access token is - required but not available. This method does not validate the content on the receiver, so this can be checked before - building up the content. - - @see validateWithError: - @return YES if the receiver can share, otherwise NO. - */ -@property (nonatomic, readonly) BOOL canShow; - -/** - Begins the game request from the receiver. - @return YES if the receiver was able to show the dialog, otherwise NO. - */ -- (BOOL)show; - -/** - Validates the content on the receiver. - @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. - @return YES if the content is valid, otherwise NO. - */ -- (BOOL)validateWithError:(NSError *__autoreleasing *)errorRef; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKGameRequestDialogDelegate.h b/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKGameRequestDialogDelegate.h deleted file mode 100644 index fcb1a51..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKGameRequestDialogDelegate.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -NS_ASSUME_NONNULL_BEGIN - -/** - A delegate for FBSDKGameRequestDialog. - - The delegate is notified with the results of the game request as long as the application has permissions to - receive the information. For example, if the person is not signed into the containing app, the shower may not be able - to distinguish between completion of a game request and cancellation. - */ -NS_SWIFT_NAME(GameRequestDialogDelegate) -@protocol FBSDKGameRequestDialogDelegate - -/** - Sent to the delegate when the game request completes without error. - @param gameRequestDialog The FBSDKGameRequestDialog that completed. - @param results The results from the dialog. This may be nil or empty. - */ -- (void)gameRequestDialog:(FBSDKGameRequestDialog *)gameRequestDialog didCompleteWithResults:(NSDictionary *)results; - -/** - Sent to the delegate when the game request encounters an error. - @param gameRequestDialog The FBSDKGameRequestDialog that completed. - @param error The error. - */ -- (void)gameRequestDialog:(FBSDKGameRequestDialog *)gameRequestDialog didFailWithError:(NSError *)error; - -/** - Sent to the delegate when the game request dialog is cancelled. - @param gameRequestDialog The FBSDKGameRequestDialog that completed. - */ -- (void)gameRequestDialogDidCancel:(FBSDKGameRequestDialog *)gameRequestDialog; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKGameRequestURLProvider.h b/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKGameRequestURLProvider.h deleted file mode 100644 index 3d163e9..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKGameRequestURLProvider.h +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN -/** - NS_ENUM(NSUInteger, FBSDKGameRequestActionType) - Additional context about the nature of the request. - */ -typedef NS_ENUM(NSUInteger, FBSDKGameRequestActionType) { - /** No action type */ - FBSDKGameRequestActionTypeNone = 0, - /** Send action type: The user is sending an object to the friends. */ - FBSDKGameRequestActionTypeSend, - /** Ask For action type: The user is asking for an object from friends. */ - FBSDKGameRequestActionTypeAskFor, - /** Turn action type: It is the turn of the friends to play against the user in a match. (no object) */ - FBSDKGameRequestActionTypeTurn, - /** Invite action type: The user is inviting a friend. */ - FBSDKGameRequestActionTypeInvite, -} NS_SWIFT_NAME(GameRequestActionType); - -/** - NS_ENUM(NSUInteger, FBSDKGameRequestFilters) - Filter for who can be displayed in the multi-friend selector. - */ -typedef NS_ENUM(NSUInteger, FBSDKGameRequestFilter) { - /** No filter, all friends can be displayed. */ - FBSDKGameRequestFilterNone = 0, - /** Friends using the app can be displayed. */ - FBSDKGameRequestFilterAppUsers, - /** Friends not using the app can be displayed. */ - FBSDKGameRequestFilterAppNonUsers, - /**All friends can be displayed if FB app is installed.*/ - FBSDKGameRequestFilterEverybody, -} NS_SWIFT_NAME(GameRequestFilter); - -NS_SWIFT_NAME(GameRequestURLProvider) -@interface FBSDKGameRequestURLProvider : NSObject -+ (NSURL *_Nullable)createDeepLinkURLWithQueryDictionary:(NSDictionary *_Nonnull)queryDictionary; -+ (NSString *_Nullable)filtersNameForFilters:(FBSDKGameRequestFilter)filters; -+ (NSString *_Nullable)actionTypeNameForActionType:(FBSDKGameRequestActionType)actionType; -@end -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKHashtag.h b/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKHashtag.h deleted file mode 100644 index 98db852..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKHashtag.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Represents a single hashtag that can be used with the share dialog. - */ -NS_SWIFT_NAME(Hashtag) -@interface FBSDKHashtag : NSObject - -/** - Convenience method to build a new hashtag with a string identifier. Equivalent to setting the - `stringRepresentation` property. - @param hashtagString The hashtag string. - */ - -// UNCRUSTIFY_FORMAT_OFF -+ (instancetype)hashtagWithString:(NSString *)hashtagString -NS_SWIFT_NAME(init(_:)); -// UNCRUSTIFY_FORMAT_ON - -/** - The hashtag string. - - You are responsible for making sure that `stringRepresentation` is a valid hashtag (a single '#' followed - by one or more word characters). Invalid hashtags are ignored when sharing content. You can check validity with the - `valid` property. - @return The hashtag string. - */ -@property (nonatomic, copy) NSString *stringRepresentation; - -/** - Tests if a hashtag is valid. - - A valid hashtag matches the regular expression "#\w+": A single '#' followed by one or more - word characters. - @return YES if the hashtag is valid, NO otherwise. - */ -@property (nonatomic, readonly, getter = isValid, assign) BOOL valid; - -/** - Compares the receiver to another hashtag. - @param hashtag The other hashtag - @return YES if the receiver is equal to the other hashtag; otherwise NO - */ -- (BOOL)isEqualToHashtag:(FBSDKHashtag *)hashtag; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKMessageDialog.h b/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKMessageDialog.h deleted file mode 100644 index db2459e..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKMessageDialog.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - A dialog for sharing content through Messenger. - - SUPPORTED SHARE TYPES - - FBSDKShareLinkContent - - UNSUPPORTED SHARE TYPES (DEPRECATED AUGUST 2018) - - FBSDKShareOpenGraphContent - - FBSDKSharePhotoContent - - FBSDKShareVideoContent - - FBSDKShareMessengerOpenGraphMusicTemplateContent - - FBSDKShareMessengerMediaTemplateContent - - FBSDKShareMessengerGenericTemplateContent - - Any other types that are not one of the four supported types listed above - */ -NS_SWIFT_NAME(MessageDialog) -@interface FBSDKMessageDialog : NSObject - -/** - Convenience initializer to return a Message Share Dialog with content and a delegate. - @param content The content to be shared. - @param delegate The receiver's delegate. - */ -- (instancetype)initWithContent:(nullable id)content - delegate:(nullable id)delegate; - -/** - Convenience method to return a Message Share Dialog with content and a delegate. - @param content The content to be shared. - @param delegate The receiver's delegate. - */ -+ (instancetype)dialogWithContent:(nullable id)content - delegate:(nullable id)delegate - NS_SWIFT_UNAVAILABLE("Use init(content:delegate:) instead"); - -/** - Convenience method to show a Message Share Dialog with content and a delegate. - @param content The content to be shared. - @param delegate The receiver's delegate. - */ -+ (instancetype)showWithContent:(nullable id)content - delegate:(nullable id)delegate - NS_SWIFT_UNAVAILABLE("Use init(content:delegate:).show() instead"); - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKSendButton.h b/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKSendButton.h deleted file mode 100644 index 4ab6ed6..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKSendButton.h +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -#import -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - A button to send content through Messenger. - - Tapping the receiver will invoke the FBSDKShareDialog with the attached shareContent. If the dialog cannot - be shown, the button will be disable. - */ -NS_SWIFT_NAME(FBSendButton) -@interface FBSDKSendButton : FBSDKButton - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKShareButton.h b/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKShareButton.h deleted file mode 100644 index 4e82dc9..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKShareButton.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - A button to share content. - - Tapping the receiver will invoke the FBSDKShareDialog with the attached shareContent. If the dialog cannot - be shown, the button will be disabled. - */ -NS_SWIFT_NAME(FBShareButton) -@interface FBSDKShareButton : FBSDKButton - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKShareCameraEffectContent.h b/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKShareCameraEffectContent.h deleted file mode 100644 index 9aec18f..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKShareCameraEffectContent.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -#import -#import -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wdeprecated-declarations" -/** - A model for content to share with a Facebook camera effect. - */ -NS_SWIFT_NAME(ShareCameraEffectContent) -@interface FBSDKShareCameraEffectContent : NSObject -#pragma clang diagnostic pop - -/** - ID of the camera effect to use. - */ -@property (nonatomic, copy) NSString *effectID; - -/** - Arguments for the effect. - */ -@property (nonatomic, copy) FBSDKCameraEffectArguments *effectArguments; - -/** - Textures for the effect. - */ -@property (nonatomic, copy) FBSDKCameraEffectTextures *effectTextures; - -/** - Compares the receiver to another camera effect content. - @param content The other content - @return YES if the receiver's values are equal to the other content's values; otherwise NO - */ -- (BOOL)isEqualToShareCameraEffectContent:(FBSDKShareCameraEffectContent *)content; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKShareConstants.h b/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKShareConstants.h deleted file mode 100644 index c03c936..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKShareConstants.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - The error domain for all errors from FBSDKShareKit. - - Error codes from the SDK in the range 200-299 are reserved for this domain. - */ -FOUNDATION_EXPORT NSErrorDomain const FBSDKShareErrorDomain -NS_SWIFT_NAME(ShareErrorDomain); - -#ifndef NS_ERROR_ENUM - #define NS_ERROR_ENUM(_domain, _name) \ - enum _name : NSInteger _name; \ - enum __attribute__((ns_error_domain(_domain))) _name: NSInteger -#endif - -/** - FBSDKShareError - Error codes for FBSDKShareErrorDomain. - */ -typedef NS_ERROR_ENUM (FBSDKShareErrorDomain, FBSDKShareError) -{ - /** - Reserved. - */ - FBSDKShareErrorReserved = 200, - - /** - The error code for errors from uploading open graph objects. - */ - FBSDKShareErrorOpenGraph, - - /** - The error code for when a sharing dialog is not available. - - Use the canShare methods to check for this case before calling show. - */ - FBSDKShareErrorDialogNotAvailable, - - /** - @The error code for unknown errors. - */ - FBSDKShareErrorUnknown, -} NS_SWIFT_NAME(ShareError); - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKShareDialog.h b/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKShareDialog.h deleted file mode 100644 index 646e6f2..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKShareDialog.h +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if TARGET_OS_TV - -// This is an unfortunate hack for Swift Package Manager support. -// SPM does not allow us to conditionally exclude Swift files for compilation by platform. -// -// So to support tvOS with SPM we need to use runtime availability checks in the Swift files. -// This means that even though the Swift extension of ShareDialog will never be run for tvOS -// targets, it still needs to be able to compile. Hence we need to declare it here. -// -// The way to fix this is to remove extensions of ObjC types in Swift. - -NS_SWIFT_NAME(ShareDialog) -@interface FBSDKShareDialog : NSObject -@end - -#else - - #import - - #import - #import - #import - -NS_ASSUME_NONNULL_BEGIN - -/** - A dialog for sharing content on Facebook. - */ -NS_SWIFT_NAME(ShareDialog) -@interface FBSDKShareDialog : NSObject - -- (instancetype)init NS_UNAVAILABLE - DEPRECATED_MSG_ATTRIBUTE("`init` is deprecated and will be removed in the next major release. Please use one of the other available initializers"); -+ (instancetype)new NS_UNAVAILABLE - DEPRECATED_MSG_ATTRIBUTE("`new` is deprecated and will be removed in the next major release. Please use one of the other available initializers"); - -/** - Convenience initializer to initialize an `FBSDKShareDialog` with a view controller, content and delegate. - @param viewController A view controller from which to present the dialog, if appropriate. - @param content The content to be shared. - @param delegate The dialog's delegate. - */ -- (instancetype)initWithViewController:(nullable UIViewController *)viewController - content:(nullable id)content - delegate:(nullable id)delegate; - -/** - Convenience method to create an `FBSDKShareDialog` with a view controller, content and delegate. - @param viewController A view controller from which to present the dialog, if appropriate. - @param content The content to be shared. - @param delegate The dialog's delegate. - */ -+ (instancetype)dialogWithViewController:(nullable UIViewController *)viewController - withContent:(nullable id)content - delegate:(nullable id)delegate - NS_SWIFT_UNAVAILABLE("Use `init(viewController:content:delegate:)"); - -/** - Convenience method to show an `FBSDKShareDialog` with a view controller, content and delegate. - @param viewController A view controller from which to present the dialog, if appropriate. - @param content The content to be shared. - @param delegate The dialog's delegate. - */ -+ (instancetype)showFromViewController:(nullable UIViewController *)viewController - withContent:(nullable id)content - delegate:(nullable id)delegate - NS_SWIFT_UNAVAILABLE("Use init(viewController:content:delegate:).show() instead"); - -/** - A UIViewController from which to present the dialog. - - If not specified, the topmost view controller will be automatically determined as best as possible. - */ -@property (nonatomic, weak) UIViewController *fromViewController; - -/** - The mode with which to display the dialog. - - Defaults to `FBSDKShareDialogModeAutomatic`, which will automatically choose the best available mode. - */ -@property (nonatomic, assign) FBSDKShareDialogMode mode; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKShareDialogMode.h b/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKShareDialogMode.h deleted file mode 100644 index 68a8684..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKShareDialogMode.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - NS_ENUM(NSUInteger, FBSDKShareDialogMode) - Modes for the FBSDKShareDialog. - - The automatic mode will progressively check the availability of different modes and open the most - appropriate mode for the dialog that is available. - */ -typedef NS_ENUM(NSUInteger, FBSDKShareDialogMode) { - /** - Acts with the most appropriate mode that is available. - */ - FBSDKShareDialogModeAutomatic = 0, - /** - @Displays the dialog in the main native Facebook app. - */ - FBSDKShareDialogModeNative, - /** - @Displays the dialog in the iOS integrated share sheet. - */ - FBSDKShareDialogModeShareSheet, - /** - @Displays the dialog in Safari. - */ - FBSDKShareDialogModeBrowser, - /** - @Displays the dialog in a WKWebView within the app. - */ - FBSDKShareDialogModeWeb, - /** - @Displays the feed dialog in Safari. - */ - FBSDKShareDialogModeFeedBrowser, - /** - @Displays the feed dialog in a WKWebView within the app. - */ - FBSDKShareDialogModeFeedWeb, -} NS_SWIFT_NAME(ShareDialog.Mode); - -/** - Converts an FBSDKShareDialogMode to an NSString. - */ -FOUNDATION_EXPORT NSString *NSStringFromFBSDKShareDialogMode(FBSDKShareDialogMode dialogMode) -NS_REFINED_FOR_SWIFT; - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKShareKit-Swift.h b/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKShareKit-Swift.h deleted file mode 100644 index 1905360..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKShareKit-Swift.h +++ /dev/null @@ -1,430 +0,0 @@ -#if 0 -#elif defined(__arm64__) && __arm64__ -// Generated by Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -#ifndef FBSDKSHAREKIT_SWIFT_H -#define FBSDKSHAREKIT_SWIFT_H -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wgcc-compat" - -#if !defined(__has_include) -# define __has_include(x) 0 -#endif -#if !defined(__has_attribute) -# define __has_attribute(x) 0 -#endif -#if !defined(__has_feature) -# define __has_feature(x) 0 -#endif -#if !defined(__has_warning) -# define __has_warning(x) 0 -#endif - -#if __has_include() -# include -#endif - -#pragma clang diagnostic ignored "-Wauto-import" -#include -#include -#include -#include - -#if !defined(SWIFT_TYPEDEFS) -# define SWIFT_TYPEDEFS 1 -# if __has_include() -# include -# elif !defined(__cplusplus) -typedef uint_least16_t char16_t; -typedef uint_least32_t char32_t; -# endif -typedef float swift_float2 __attribute__((__ext_vector_type__(2))); -typedef float swift_float3 __attribute__((__ext_vector_type__(3))); -typedef float swift_float4 __attribute__((__ext_vector_type__(4))); -typedef double swift_double2 __attribute__((__ext_vector_type__(2))); -typedef double swift_double3 __attribute__((__ext_vector_type__(3))); -typedef double swift_double4 __attribute__((__ext_vector_type__(4))); -typedef int swift_int2 __attribute__((__ext_vector_type__(2))); -typedef int swift_int3 __attribute__((__ext_vector_type__(3))); -typedef int swift_int4 __attribute__((__ext_vector_type__(4))); -typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); -typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); -typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); -#endif - -#if !defined(SWIFT_PASTE) -# define SWIFT_PASTE_HELPER(x, y) x##y -# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) -#endif -#if !defined(SWIFT_METATYPE) -# define SWIFT_METATYPE(X) Class -#endif -#if !defined(SWIFT_CLASS_PROPERTY) -# if __has_feature(objc_class_property) -# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ -# else -# define SWIFT_CLASS_PROPERTY(...) -# endif -#endif - -#if __has_attribute(objc_runtime_name) -# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) -#else -# define SWIFT_RUNTIME_NAME(X) -#endif -#if __has_attribute(swift_name) -# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) -#else -# define SWIFT_COMPILE_NAME(X) -#endif -#if __has_attribute(objc_method_family) -# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) -#else -# define SWIFT_METHOD_FAMILY(X) -#endif -#if __has_attribute(noescape) -# define SWIFT_NOESCAPE __attribute__((noescape)) -#else -# define SWIFT_NOESCAPE -#endif -#if __has_attribute(ns_consumed) -# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) -#else -# define SWIFT_RELEASES_ARGUMENT -#endif -#if __has_attribute(warn_unused_result) -# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) -#else -# define SWIFT_WARN_UNUSED_RESULT -#endif -#if __has_attribute(noreturn) -# define SWIFT_NORETURN __attribute__((noreturn)) -#else -# define SWIFT_NORETURN -#endif -#if !defined(SWIFT_CLASS_EXTRA) -# define SWIFT_CLASS_EXTRA -#endif -#if !defined(SWIFT_PROTOCOL_EXTRA) -# define SWIFT_PROTOCOL_EXTRA -#endif -#if !defined(SWIFT_ENUM_EXTRA) -# define SWIFT_ENUM_EXTRA -#endif -#if !defined(SWIFT_CLASS) -# if __has_attribute(objc_subclassing_restricted) -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# else -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# endif -#endif -#if !defined(SWIFT_RESILIENT_CLASS) -# if __has_attribute(objc_class_stub) -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) -# else -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) -# endif -#endif - -#if !defined(SWIFT_PROTOCOL) -# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -#endif - -#if !defined(SWIFT_EXTENSION) -# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) -#endif - -#if !defined(OBJC_DESIGNATED_INITIALIZER) -# if __has_attribute(objc_designated_initializer) -# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) -# else -# define OBJC_DESIGNATED_INITIALIZER -# endif -#endif -#if !defined(SWIFT_ENUM_ATTR) -# if defined(__has_attribute) && __has_attribute(enum_extensibility) -# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) -# else -# define SWIFT_ENUM_ATTR(_extensibility) -# endif -#endif -#if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# if __has_feature(generalized_swift_name) -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# else -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) -# endif -#endif -#if !defined(SWIFT_UNAVAILABLE) -# define SWIFT_UNAVAILABLE __attribute__((unavailable)) -#endif -#if !defined(SWIFT_UNAVAILABLE_MSG) -# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) -#endif -#if !defined(SWIFT_AVAILABILITY) -# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) -#endif -#if !defined(SWIFT_WEAK_IMPORT) -# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) -#endif -#if !defined(SWIFT_DEPRECATED) -# define SWIFT_DEPRECATED __attribute__((deprecated)) -#endif -#if !defined(SWIFT_DEPRECATED_MSG) -# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) -#endif -#if __has_feature(attribute_diagnose_if_objc) -# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) -#else -# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) -#endif -#if !defined(IBSegueAction) -# define IBSegueAction -#endif -#if __has_feature(modules) -#if __has_warning("-Watimport-in-framework-header") -#pragma clang diagnostic ignored "-Watimport-in-framework-header" -#endif -#endif - -#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" -#pragma clang diagnostic ignored "-Wduplicate-method-arg" -#if __has_warning("-Wpragma-clang-attribute") -# pragma clang diagnostic ignored "-Wpragma-clang-attribute" -#endif -#pragma clang diagnostic ignored "-Wunknown-pragmas" -#pragma clang diagnostic ignored "-Wnullability" - -#if __has_attribute(external_source_symbol) -# pragma push_macro("any") -# undef any -# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKShareKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) -# pragma pop_macro("any") -#endif - -#if __has_attribute(external_source_symbol) -# pragma clang attribute pop -#endif -#pragma clang diagnostic pop -#endif - -#elif defined(__x86_64__) && __x86_64__ -// Generated by Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -#ifndef FBSDKSHAREKIT_SWIFT_H -#define FBSDKSHAREKIT_SWIFT_H -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wgcc-compat" - -#if !defined(__has_include) -# define __has_include(x) 0 -#endif -#if !defined(__has_attribute) -# define __has_attribute(x) 0 -#endif -#if !defined(__has_feature) -# define __has_feature(x) 0 -#endif -#if !defined(__has_warning) -# define __has_warning(x) 0 -#endif - -#if __has_include() -# include -#endif - -#pragma clang diagnostic ignored "-Wauto-import" -#include -#include -#include -#include - -#if !defined(SWIFT_TYPEDEFS) -# define SWIFT_TYPEDEFS 1 -# if __has_include() -# include -# elif !defined(__cplusplus) -typedef uint_least16_t char16_t; -typedef uint_least32_t char32_t; -# endif -typedef float swift_float2 __attribute__((__ext_vector_type__(2))); -typedef float swift_float3 __attribute__((__ext_vector_type__(3))); -typedef float swift_float4 __attribute__((__ext_vector_type__(4))); -typedef double swift_double2 __attribute__((__ext_vector_type__(2))); -typedef double swift_double3 __attribute__((__ext_vector_type__(3))); -typedef double swift_double4 __attribute__((__ext_vector_type__(4))); -typedef int swift_int2 __attribute__((__ext_vector_type__(2))); -typedef int swift_int3 __attribute__((__ext_vector_type__(3))); -typedef int swift_int4 __attribute__((__ext_vector_type__(4))); -typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); -typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); -typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); -#endif - -#if !defined(SWIFT_PASTE) -# define SWIFT_PASTE_HELPER(x, y) x##y -# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) -#endif -#if !defined(SWIFT_METATYPE) -# define SWIFT_METATYPE(X) Class -#endif -#if !defined(SWIFT_CLASS_PROPERTY) -# if __has_feature(objc_class_property) -# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ -# else -# define SWIFT_CLASS_PROPERTY(...) -# endif -#endif - -#if __has_attribute(objc_runtime_name) -# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) -#else -# define SWIFT_RUNTIME_NAME(X) -#endif -#if __has_attribute(swift_name) -# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) -#else -# define SWIFT_COMPILE_NAME(X) -#endif -#if __has_attribute(objc_method_family) -# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) -#else -# define SWIFT_METHOD_FAMILY(X) -#endif -#if __has_attribute(noescape) -# define SWIFT_NOESCAPE __attribute__((noescape)) -#else -# define SWIFT_NOESCAPE -#endif -#if __has_attribute(ns_consumed) -# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) -#else -# define SWIFT_RELEASES_ARGUMENT -#endif -#if __has_attribute(warn_unused_result) -# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) -#else -# define SWIFT_WARN_UNUSED_RESULT -#endif -#if __has_attribute(noreturn) -# define SWIFT_NORETURN __attribute__((noreturn)) -#else -# define SWIFT_NORETURN -#endif -#if !defined(SWIFT_CLASS_EXTRA) -# define SWIFT_CLASS_EXTRA -#endif -#if !defined(SWIFT_PROTOCOL_EXTRA) -# define SWIFT_PROTOCOL_EXTRA -#endif -#if !defined(SWIFT_ENUM_EXTRA) -# define SWIFT_ENUM_EXTRA -#endif -#if !defined(SWIFT_CLASS) -# if __has_attribute(objc_subclassing_restricted) -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# else -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# endif -#endif -#if !defined(SWIFT_RESILIENT_CLASS) -# if __has_attribute(objc_class_stub) -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) -# else -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) -# endif -#endif - -#if !defined(SWIFT_PROTOCOL) -# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -#endif - -#if !defined(SWIFT_EXTENSION) -# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) -#endif - -#if !defined(OBJC_DESIGNATED_INITIALIZER) -# if __has_attribute(objc_designated_initializer) -# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) -# else -# define OBJC_DESIGNATED_INITIALIZER -# endif -#endif -#if !defined(SWIFT_ENUM_ATTR) -# if defined(__has_attribute) && __has_attribute(enum_extensibility) -# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) -# else -# define SWIFT_ENUM_ATTR(_extensibility) -# endif -#endif -#if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# if __has_feature(generalized_swift_name) -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# else -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) -# endif -#endif -#if !defined(SWIFT_UNAVAILABLE) -# define SWIFT_UNAVAILABLE __attribute__((unavailable)) -#endif -#if !defined(SWIFT_UNAVAILABLE_MSG) -# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) -#endif -#if !defined(SWIFT_AVAILABILITY) -# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) -#endif -#if !defined(SWIFT_WEAK_IMPORT) -# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) -#endif -#if !defined(SWIFT_DEPRECATED) -# define SWIFT_DEPRECATED __attribute__((deprecated)) -#endif -#if !defined(SWIFT_DEPRECATED_MSG) -# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) -#endif -#if __has_feature(attribute_diagnose_if_objc) -# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) -#else -# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) -#endif -#if !defined(IBSegueAction) -# define IBSegueAction -#endif -#if __has_feature(modules) -#if __has_warning("-Watimport-in-framework-header") -#pragma clang diagnostic ignored "-Watimport-in-framework-header" -#endif -#endif - -#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" -#pragma clang diagnostic ignored "-Wduplicate-method-arg" -#if __has_warning("-Wpragma-clang-attribute") -# pragma clang diagnostic ignored "-Wpragma-clang-attribute" -#endif -#pragma clang diagnostic ignored "-Wunknown-pragmas" -#pragma clang diagnostic ignored "-Wnullability" - -#if __has_attribute(external_source_symbol) -# pragma push_macro("any") -# undef any -# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSDKShareKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) -# pragma pop_macro("any") -#endif - -#if __has_attribute(external_source_symbol) -# pragma clang attribute pop -#endif -#pragma clang diagnostic pop -#endif - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKShareKit.h b/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKShareKit.h deleted file mode 100644 index 3ed3d08..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKShareKit.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import - -#if !TARGET_OS_TV - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import - #import -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKShareLinkContent.h b/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKShareLinkContent.h deleted file mode 100644 index 45fdb77..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKShareLinkContent.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - A model for status and link content to be shared. - */ -NS_SWIFT_NAME(ShareLinkContent) -@interface FBSDKShareLinkContent : NSObject - -/** - Some quote text of the link. - - If specified, the quote text will render with custom styling on top of the link. - @return The quote text of a link - */ -@property (nullable, nonatomic, copy) NSString *quote; - -/** - Compares the receiver to another link content. - @param content The other content - @return YES if the receiver's values are equal to the other content's values; otherwise NO - */ -- (BOOL)isEqualToShareLinkContent:(FBSDKShareLinkContent *)content; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKShareMediaContent.h b/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKShareMediaContent.h deleted file mode 100644 index f44d4eb..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKShareMediaContent.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - A protocol for media content (photo or video) to be shared. - */ -NS_SWIFT_NAME(ShareMedia) -@protocol FBSDKShareMedia - -@end - -/** - A model for media content (photo or video) to be shared. - */ -NS_SWIFT_NAME(ShareMediaContent) -@interface FBSDKShareMediaContent : NSObject - -/** - Media to be shared. - @return Array of the media (FBSDKSharePhoto or FBSDKShareVideo) - */ -@property (nonatomic, copy) NSArray> *media; - -/** - Compares the receiver to another media content. - @param content The other content - @return YES if the receiver's values are equal to the other content's values; otherwise NO - */ -- (BOOL)isEqualToShareMediaContent:(FBSDKShareMediaContent *)content; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKSharePhoto.h b/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKSharePhoto.h deleted file mode 100644 index 55f788e..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKSharePhoto.h +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -@class PHAsset; - -/** - A photo for sharing. - */ -NS_SWIFT_NAME(SharePhoto) -@interface FBSDKSharePhoto : NSObject - -/** - Convenience method to build a new photo object with an image. - @param image If the photo is resident in memory, this method supplies the data - @param userGenerated Specifies whether the photo represented by the receiver was generated by the user or by the - application - */ -+ (instancetype)photoWithImage:(UIImage *)image userGenerated:(BOOL)userGenerated; - -/** - Convenience method to build a new photo object with an imageURL. - @param imageURL The URL to the photo - @param userGenerated Specifies whether the photo represented by the receiver was generated by the user or by the - application - - This method should only be used when adding photo content to open graph stories. - For example, if you're trying to share a photo from the web by itself, download the image and use - `photoWithImage:userGenerated:` instead. - */ -+ (instancetype)photoWithImageURL:(NSURL *)imageURL userGenerated:(BOOL)userGenerated; - -/** - Convenience method to build a new photo object with a PHAsset. - - Parameter photoAsset: The PHAsset that represents the photo in the Photos library. - - Parameter userGenerated: Specifies whether the photo represented by the receiver was generated by the user or by the - application - */ -+ (instancetype)photoWithPhotoAsset:(PHAsset *)photoAsset userGenerated:(BOOL)userGenerated; - -/** - If the photo is resident in memory, this method supplies the data. - @return UIImage representation of the photo - */ -@property (nullable, nonatomic, strong) UIImage *image; - -/** - The URL to the photo. - @return URL that points to a network location or the location of the photo on disk - */ -@property (nullable, nonatomic, copy) NSURL *imageURL; - -/** - The representation of the photo in the Photos library. - - Returns: PHAsset that represents the photo in the Photos library. - */ -@property (nullable, nonatomic, copy) PHAsset *photoAsset; - -/** - Specifies whether the photo represented by the receiver was generated by the user or by the application. - @return YES if the photo is user-generated, otherwise NO - */ -@property (nonatomic, getter = isUserGenerated, assign) BOOL userGenerated; - -/** - The user generated caption for the photo. Note that the 'caption' must come from - * the user, as pre-filled content is forbidden by the Platform Policies (2.3). - @return the Photo's caption if exists else returns null. - */ -@property (nullable, nonatomic, copy) NSString *caption; - -/** - Compares the receiver to another photo. - @param photo The other photo - @return YES if the receiver's values are equal to the other photo's values; otherwise NO - */ -- (BOOL)isEqualToSharePhoto:(FBSDKSharePhoto *)photo; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKSharePhotoContent.h b/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKSharePhotoContent.h deleted file mode 100644 index 03872b5..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKSharePhotoContent.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -@class FBSDKSharePhoto; - -/** - A model for photo content to be shared. - */ -NS_SWIFT_NAME(SharePhotoContent) -@interface FBSDKSharePhotoContent : NSObject - -/** - Photos to be shared. - @return Array of the photos (FBSDKSharePhoto) - */ -@property (nonatomic, copy) NSArray *photos; - -/** - Compares the receiver to another photo content. - @param content The other content - @return YES if the receiver's values are equal to the other content's values; otherwise NO - */ -- (BOOL)isEqualToSharePhotoContent:(FBSDKSharePhotoContent *)content; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKShareVideo.h b/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKShareVideo.h deleted file mode 100644 index afc204a..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKShareVideo.h +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import -#import - -#import -#import -#import -NS_ASSUME_NONNULL_BEGIN - -@class FBSDKSharePhoto; -@class PHAsset; - -/** - A video for sharing. - */ -NS_SWIFT_NAME(ShareVideo) -@interface FBSDKShareVideo : NSObject - -/** - Convenience method to build a new video object from raw data. - - Parameter data: The NSData object that holds the raw video data. - */ -+ (instancetype)videoWithData:(NSData *)data; - -/** - Convenience method to build a new video object with NSData and a previewPhoto. - - Parameter data: The NSData object that holds the raw video data. - - Parameter previewPhoto: The photo that represents the video. - */ -+ (instancetype)videoWithData:(NSData *)data previewPhoto:(FBSDKSharePhoto *)previewPhoto; - -/** - Convenience method to build a new video object with a PHAsset. - @param videoAsset The PHAsset that represents the video in the Photos library. - */ -+ (instancetype)videoWithVideoAsset:(PHAsset *)videoAsset; - -/** - Convenience method to build a new video object with a PHAsset and a previewPhoto. - @param videoAsset The PHAsset that represents the video in the Photos library. - @param previewPhoto The photo that represents the video. - */ -+ (instancetype)videoWithVideoAsset:(PHAsset *)videoAsset previewPhoto:(FBSDKSharePhoto *)previewPhoto; - -/** - Convenience method to build a new video object with a videoURL. - @param videoURL The URL to the video. - */ -+ (instancetype)videoWithVideoURL:(NSURL *)videoURL; - -/** - Convenience method to build a new video object with a videoURL and a previewPhoto. - @param videoURL The URL to the video. - @param previewPhoto The photo that represents the video. - */ -+ (instancetype)videoWithVideoURL:(NSURL *)videoURL previewPhoto:(FBSDKSharePhoto *)previewPhoto; - -/** - The raw video data. - - Returns: The video data. - */ -@property (nullable, nonatomic, strong) NSData *data; - -/** - The representation of the video in the Photos library. - @return PHAsset that represents the video in the Photos library. - */ -@property (nullable, nonatomic, copy) PHAsset *videoAsset; - -/** - The file URL to the video. - @return URL that points to the location of the video on disk - */ -@property (nullable, nonatomic, copy) NSURL *videoURL; - -/** - The photo that represents the video. - @return The photo - */ -@property (nullable, nonatomic, copy) FBSDKSharePhoto *previewPhoto; - -/** - Compares the receiver to another video. - @param video The other video - @return YES if the receiver's values are equal to the other video's values; otherwise NO - */ -- (BOOL)isEqualToShareVideo:(FBSDKShareVideo *)video; - -@end - -@interface PHAsset (FBSDKShareVideo) - -@property (nonatomic, readonly, copy) NSURL *videoURL; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKShareVideoContent.h b/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKShareVideoContent.h deleted file mode 100644 index 9f8967d..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKShareVideoContent.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - A model for video content to be shared. - */ -NS_SWIFT_NAME(ShareVideoContent) -@interface FBSDKShareVideoContent : NSObject - -/** - The video to be shared. - @return The video - */ -@property (nonatomic, copy) FBSDKShareVideo *video; - -/** - Compares the receiver to another video content. - @param content The other content - @return YES if the receiver's values are equal to the other content's values; otherwise NO - */ -- (BOOL)isEqualToShareVideoContent:(FBSDKShareVideoContent *)content; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKSharing.h b/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKSharing.h deleted file mode 100644 index 369e07d..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKSharing.h +++ /dev/null @@ -1,112 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -@protocol FBSDKSharingDelegate; - -/** - The common interface for components that initiate sharing. - - @see FBSDKShareDialog - - @see FBSDKMessageDialog - */ -NS_SWIFT_NAME(Sharing) -@protocol FBSDKSharing - -/** - The receiver's delegate or nil if it doesn't have a delegate. - */ -@property (nonatomic, weak) id delegate; - -/** - The content to be shared. - */ -@property (nullable, nonatomic, copy) id shareContent; - -/** - A Boolean value that indicates whether the receiver should fail if it finds an error with the share content. - - If NO, the sharer will still be displayed without the data that was mis-configured. For example, an - invalid placeID specified on the shareContent would produce a data error. - */ -@property (nonatomic, assign) BOOL shouldFailOnDataError; - -/** - Validates the content on the receiver. - @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. - @return YES if the content is valid, otherwise NO. - */ -- (BOOL)validateWithError:(NSError **)errorRef; - -@end - -/** - The common interface for dialogs that initiate sharing. - */ -NS_SWIFT_NAME(SharingDialog) -@protocol FBSDKSharingDialog - -/** - A Boolean value that indicates whether the receiver can initiate a share. - - May return NO if the appropriate Facebook app is not installed and is required or an access token is - required but not available. This method does not validate the content on the receiver, so this can be checked before - building up the content. - - @see [FBSDKSharing validateWithError:] - @return YES if the receiver can share, otherwise NO. - */ -@property (nonatomic, readonly) BOOL canShow; - -/** - Shows the dialog. - @return YES if the receiver was able to begin sharing, otherwise NO. - */ -- (BOOL)show; - -@end - -/** - A delegate for FBSDKSharing. - - The delegate is notified with the results of the sharer as long as the application has permissions to - receive the information. For example, if the person is not signed into the containing app, the sharer may not be able - to distinguish between completion of a share and cancellation. - */ -NS_SWIFT_NAME(SharingDelegate) -@protocol FBSDKSharingDelegate - -/** - Sent to the delegate when the share completes without error or cancellation. - @param sharer The FBSDKSharing that completed. - @param results The results from the sharer. This may be nil or empty. - */ -- (void)sharer:(id)sharer didCompleteWithResults:(NSDictionary *)results; - -/** - Sent to the delegate when the sharer encounters an error. - @param sharer The FBSDKSharing that completed. - @param error The error. - */ -- (void)sharer:(id)sharer didFailWithError:(NSError *)error; - -/** - Sent to the delegate when the sharer is cancelled. - @param sharer The FBSDKSharing that completed. - */ -- (void)sharerDidCancel:(id)sharer; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKSharingButton.h b/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKSharingButton.h deleted file mode 100644 index 5b99edf..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKSharingButton.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - The common interface for sharing buttons. - - @see FBSDKSendButton - - @see FBSDKShareButton - */ -NS_SWIFT_NAME(SharingButton) -@protocol FBSDKSharingButton - -/** - The content to be shared. - */ -@property (nullable, nonatomic, copy) id shareContent; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKSharingContent.h b/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKSharingContent.h deleted file mode 100644 index 36ea64d..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKSharingContent.h +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -@class FBSDKHashtag; - -/** - A base interface for content to be shared. - */ -NS_SWIFT_NAME(SharingContent) -@protocol FBSDKSharingContent - -/** - URL for the content being shared. - - This URL will be checked for all link meta tags for linking in platform specific ways. See documentation - for App Links (https://developers.facebook.com/docs/applinks/) - @return URL representation of the content link - */ -@property (nonatomic, copy) NSURL *contentURL; - -/** - Hashtag for the content being shared. - @return The hashtag for the content being shared. - */ -@property (nullable, nonatomic, copy) FBSDKHashtag *hashtag; - -/** - List of IDs for taggable people to tag with this content. - See documentation for Taggable Friends - (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) - @return Array of IDs for people to tag (NSString) - */ -@property (nonatomic, copy) NSArray *peopleIDs; - -/** - The ID for a place to tag with this content. - @return The ID for the place to tag - */ -@property (nullable, nonatomic, copy) NSString *placeID; - -/** - A value to be added to the referrer URL when a person follows a link from this shared content on feed. - @return The ref for the content. - */ -@property (nullable, nonatomic, copy) NSString *ref; - -/** - For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. - @return The ID of the Facebook page this share is associated with. - */ -@property (nullable, nonatomic, copy) NSString *pageID; - -/** - A unique identifier for a share involving this content, useful for tracking purposes. - @return A unique string identifying this share data. - */ -@property (nullable, nonatomic, readonly, copy) NSString *shareUUID; - -/** - Adds content to an existing dictionary as key/value pairs and returns the - updated dictionary - @param existingParameters An immutable dictionary of existing values - @param bridgeOptions The options for bridging - @return A new dictionary with the modified contents - */ - -// UNCRUSTIFY_FORMAT_OFF -- (NSDictionary *)addParameters:(NSDictionary *)existingParameters - bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions -NS_SWIFT_NAME(addParameters(_:options:)); -// UNCRUSTIFY_FORMAT_ON - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKSharingScheme.h b/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKSharingScheme.h deleted file mode 100644 index 116bdfd..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKSharingScheme.h +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#if !TARGET_OS_TV - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - A base interface for indicating a custom URL scheme - */ -DEPRECATED_MSG_ATTRIBUTE("`SharingScheme` is deprecated and will be removed in the next major release") -NS_SWIFT_NAME(SharingScheme) -@protocol FBSDKSharingScheme - -/** - Asks the receiver to provide a custom scheme. - @param mode The intended dialog mode for sharing the content. - @return A custom URL scheme to use for the specified mode, or nil. - */ -- (nullable NSString *)schemeForMode:(FBSDKShareDialogMode)mode - DEPRECATED_MSG_ATTRIBUTE("`SharingScheme` is deprecated and will be removed in the next major release"); - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKSharingValidation.h b/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKSharingValidation.h deleted file mode 100644 index 40f84a2..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Headers/FBSDKSharingValidation.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * All rights reserved. - * - * This source code is licensed under the license found in the - * LICENSE file in the root directory of this source tree. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Flags to indicate support for newer bridge options beyond the initial 20130410 implementation. - */ -typedef NS_OPTIONS(NSUInteger, FBSDKShareBridgeOptions) { - FBSDKShareBridgeOptionsDefault = 0, - FBSDKShareBridgeOptionsPhotoAsset = 1 << 0, - FBSDKShareBridgeOptionsPhotoImageURL = 1 << 1, // if set, a web-based URL is required; asset, image, and imageURL.isFileURL not allowed - FBSDKShareBridgeOptionsVideoAsset = 1 << 2, - FBSDKShareBridgeOptionsVideoData = 1 << 3, - FBSDKShareBridgeOptionsWebHashtag = 1 << 4, // if set, pass the hashtag as a string value, not an array of one string -} NS_SWIFT_NAME(ShareBridgeOptions); - -/** - A base interface for validation of content and media. - */ -NS_SWIFT_NAME(SharingValidation) -@protocol FBSDKSharingValidation - -/** - Asks the receiver to validate that its content or media values are valid. - - Parameter errorRef: Optional, will receive an FBSDKShareError if the values are not valid. - - Returns: YES if the receiver's values are valid; otherwise NO - */ -- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError *__autoreleasing *)errorRef; - -@end - -NS_ASSUME_NONNULL_END diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios-macabi.swiftdoc b/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios-macabi.swiftdoc deleted file mode 100644 index b41b0b3..0000000 Binary files a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios-macabi.swiftdoc and /dev/null differ diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios-macabi.swiftinterface b/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios-macabi.swiftinterface deleted file mode 100644 index e3a3091..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64-apple-ios-macabi.swiftinterface +++ /dev/null @@ -1,17 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -// swift-module-flags: -target arm64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKShareKit -@_exported import FBSDKShareKit -import Swift -@available(tvOS, unavailable) -extension ShareDialog.Mode : Swift.CustomStringConvertible { - public var description: Swift.String { - get - } -} -@available(tvOS, unavailable) -extension AppGroupPrivacy : Swift.CustomStringConvertible { - public var description: Swift.String { - get - } -} diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftdoc b/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftdoc deleted file mode 100644 index b41b0b3..0000000 Binary files a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftdoc and /dev/null differ diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftinterface b/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftinterface deleted file mode 100644 index e3a3091..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/arm64.swiftinterface +++ /dev/null @@ -1,17 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -// swift-module-flags: -target arm64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKShareKit -@_exported import FBSDKShareKit -import Swift -@available(tvOS, unavailable) -extension ShareDialog.Mode : Swift.CustomStringConvertible { - public var description: Swift.String { - get - } -} -@available(tvOS, unavailable) -extension AppGroupPrivacy : Swift.CustomStringConvertible { - public var description: Swift.String { - get - } -} diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64-apple-ios-macabi.swiftdoc b/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64-apple-ios-macabi.swiftdoc deleted file mode 100644 index 2f4aa37..0000000 Binary files a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64-apple-ios-macabi.swiftdoc and /dev/null differ diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64-apple-ios-macabi.swiftinterface b/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64-apple-ios-macabi.swiftinterface deleted file mode 100644 index d34e49a..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64-apple-ios-macabi.swiftinterface +++ /dev/null @@ -1,17 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -// swift-module-flags: -target x86_64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKShareKit -@_exported import FBSDKShareKit -import Swift -@available(tvOS, unavailable) -extension ShareDialog.Mode : Swift.CustomStringConvertible { - public var description: Swift.String { - get - } -} -@available(tvOS, unavailable) -extension AppGroupPrivacy : Swift.CustomStringConvertible { - public var description: Swift.String { - get - } -} diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64.swiftdoc b/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64.swiftdoc deleted file mode 100644 index 2f4aa37..0000000 Binary files a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64.swiftdoc and /dev/null differ diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64.swiftinterface b/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64.swiftinterface deleted file mode 100644 index d34e49a..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Modules/FBSDKShareKit.swiftmodule/x86_64.swiftinterface +++ /dev/null @@ -1,17 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) -// swift-module-flags: -target x86_64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKShareKit -@_exported import FBSDKShareKit -import Swift -@available(tvOS, unavailable) -extension ShareDialog.Mode : Swift.CustomStringConvertible { - public var description: Swift.String { - get - } -} -@available(tvOS, unavailable) -extension AppGroupPrivacy : Swift.CustomStringConvertible { - public var description: Swift.String { - get - } -} diff --git a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Resources/Info.plist b/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Resources/Info.plist deleted file mode 100644 index a7b7d83..0000000 --- a/src/ios/EmbeddedFrameworksSIM/FBSDKShareKit.framework/Resources/Info.plist +++ /dev/null @@ -1,52 +0,0 @@ - - - - - BuildMachineOSBuild - 20G224 - CFBundleDevelopmentRegion - en - CFBundleExecutable - FBSDKShareKit - CFBundleIdentifier - com.facebook.sdk.FBSDKShareKit - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - FBSDKShareKit - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleSupportedPlatforms - - MacOSX - - CFBundleVersion - 12.2.1 - DTCompiler - com.apple.compilers.llvm.clang.1_0 - DTPlatformBuild - 12E262 - DTPlatformName - macosx - DTPlatformVersion - 11.3 - DTSDKBuild - 20E214 - DTSDKName - macosx11.3 - DTXcode - 1250 - DTXcodeBuild - 12E262 - LSMinimumSystemVersion - 10.15 - UIDeviceFamily - - 2 - - - diff --git a/src/ios/Plugin.xcodeproj/project.pbxproj b/src/ios/Plugin.xcodeproj/project.pbxproj index 375f7e8..597c5da 100644 --- a/src/ios/Plugin.xcodeproj/project.pbxproj +++ b/src/ios/Plugin.xcodeproj/project.pbxproj @@ -3,10 +3,16 @@ archiveVersion = 1; classes = { }; - objectVersion = 46; + objectVersion = 52; objects = { /* Begin PBXBuildFile section */ + DB04A957282C597000AE2DB7 /* FBAEMKit.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = DB04A951282C596F00AE2DB7 /* FBAEMKit.xcframework */; }; + DB04A958282C597000AE2DB7 /* FBSDKCoreKit.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = DB04A952282C596F00AE2DB7 /* FBSDKCoreKit.xcframework */; }; + DB04A959282C597000AE2DB7 /* FBSDKLoginKit.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = DB04A953282C596F00AE2DB7 /* FBSDKLoginKit.xcframework */; }; + DB04A95A282C597000AE2DB7 /* FBSDKGamingServicesKit.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = DB04A954282C597000AE2DB7 /* FBSDKGamingServicesKit.xcframework */; }; + DB04A95B282C597000AE2DB7 /* FBSDKShareKit.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = DB04A955282C597000AE2DB7 /* FBSDKShareKit.xcframework */; }; + DB04A95C282C597000AE2DB7 /* FBSDKCoreKit_Basics.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = DB04A956282C597000AE2DB7 /* FBSDKCoreKit_Basics.xcframework */; }; F56B879A2370D5770091376E /* FacebookLibrary.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1C32EB1E203B222E00E81325 /* FacebookLibrary.cpp */; }; F56B879B2370D5770091376E /* FBConnect.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1C32EB20203B222E00E81325 /* FBConnect.cpp */; }; F56B879C2370D5770091376E /* FBConnectEvent.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1C32EB22203B222E00E81325 /* FBConnectEvent.cpp */; }; @@ -38,6 +44,12 @@ 1C32EB22203B222E00E81325 /* FBConnectEvent.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = FBConnectEvent.cpp; sourceTree = ""; }; 1C32EB23203B222E00E81325 /* FBConnectEvent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FBConnectEvent.h; sourceTree = ""; }; A4E253B6166D6FB300DCDC2C /* libplugin_facebook.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libplugin_facebook.a; sourceTree = BUILT_PRODUCTS_DIR; }; + DB04A951282C596F00AE2DB7 /* FBAEMKit.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = FBAEMKit.xcframework; path = EmbeddedFrameworks/FBAEMKit.xcframework; sourceTree = ""; }; + DB04A952282C596F00AE2DB7 /* FBSDKCoreKit.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = FBSDKCoreKit.xcframework; path = EmbeddedFrameworks/FBSDKCoreKit.xcframework; sourceTree = ""; }; + DB04A953282C596F00AE2DB7 /* FBSDKLoginKit.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = FBSDKLoginKit.xcframework; path = EmbeddedFrameworks/FBSDKLoginKit.xcframework; sourceTree = ""; }; + DB04A954282C597000AE2DB7 /* FBSDKGamingServicesKit.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = FBSDKGamingServicesKit.xcframework; path = EmbeddedFrameworks/FBSDKGamingServicesKit.xcframework; sourceTree = ""; }; + DB04A955282C597000AE2DB7 /* FBSDKShareKit.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = FBSDKShareKit.xcframework; path = EmbeddedFrameworks/FBSDKShareKit.xcframework; sourceTree = ""; }; + DB04A956282C597000AE2DB7 /* FBSDKCoreKit_Basics.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = FBSDKCoreKit_Basics.xcframework; path = EmbeddedFrameworks/FBSDKCoreKit_Basics.xcframework; sourceTree = ""; }; F56B87882370AEF40091376E /* Accounts.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Accounts.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Accounts.framework; sourceTree = DEVELOPER_DIR; }; F572F81A1EE0705B001BC814 /* CoronaNative.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = CoronaNative.xcconfig; sourceTree = ""; }; /* End PBXFileReference section */ @@ -47,6 +59,12 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + DB04A958282C597000AE2DB7 /* FBSDKCoreKit.xcframework in Frameworks */, + DB04A95C282C597000AE2DB7 /* FBSDKCoreKit_Basics.xcframework in Frameworks */, + DB04A959282C597000AE2DB7 /* FBSDKLoginKit.xcframework in Frameworks */, + DB04A95A282C597000AE2DB7 /* FBSDKGamingServicesKit.xcframework in Frameworks */, + DB04A95B282C597000AE2DB7 /* FBSDKShareKit.xcframework in Frameworks */, + DB04A957282C597000AE2DB7 /* FBAEMKit.xcframework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -89,6 +107,12 @@ A484110E15114F700074BD57 = { isa = PBXGroup; children = ( + DB04A951282C596F00AE2DB7 /* FBAEMKit.xcframework */, + DB04A956282C597000AE2DB7 /* FBSDKCoreKit_Basics.xcframework */, + DB04A952282C596F00AE2DB7 /* FBSDKCoreKit.xcframework */, + DB04A954282C597000AE2DB7 /* FBSDKGamingServicesKit.xcframework */, + DB04A953282C596F00AE2DB7 /* FBSDKLoginKit.xcframework */, + DB04A955282C597000AE2DB7 /* FBSDKShareKit.xcframework */, 1C32EB1D203B222E00E81325 /* shared */, A447B609165D72A6009EA762 /* Source */, F54A40C01EE083A300AF417D /* CoronaNative */, diff --git a/src/ios/Plugin/CoronaFacebookDelegate.mm b/src/ios/Plugin/CoronaFacebookDelegate.mm index d8d3662..f0d9b40 100644 --- a/src/ios/Plugin/CoronaFacebookDelegate.mm +++ b/src/ios/Plugin/CoronaFacebookDelegate.mm @@ -27,23 +27,51 @@ - (void)applicationDidBecomeActive:(UIApplication *)application // Restart any tasks that were paused (or not yet started) while the application was inactive. // If the application was previously in the background, optionally refresh the user interface. // TODO: NOT FORCE THIS DOWN DEVELOPER'S THROATS AS WE LET THEM OPT-IN WITH PUBLISHINSTALL ON BOTH PLATFORMS! - [FBSDKAppEvents.shared activateApp]; + + if([[NSBundle mainBundle] objectForInfoDictionaryKey:@"FacebookClientToken"]) { + //[FBSDKAppEvents.shared activateApp]; + }else{ + UIAlertController *showMsgAlertController = [UIAlertController alertControllerWithTitle:@"Missing Facebook Client Token" message:@"Facebook now requires a client token which you are missing in your build.settings, see documentation for more information https://docs.coronalabs.com/plugin/facebook-v4a" preferredStyle: UIAlertControllerStyleAlert]; + UIAlertAction* okAction = [UIAlertAction actionWithTitle:@"OK" style:UIAlertActionStyleDefault + handler:^(UIAlertAction * action) { + exit(0); + }]; + [showMsgAlertController addAction:okAction]; + dispatch_async(dispatch_get_main_queue(), ^{ + [application.keyWindow.rootViewController presentViewController:showMsgAlertController animated:YES completion:nil]; + }); + } + } - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { - return [[FBSDKApplicationDelegate sharedInstance] application:application - didFinishLaunchingWithOptions:launchOptions]; + if([[NSBundle mainBundle] objectForInfoDictionaryKey:@"FacebookClientToken"]) { + return [[FBSDKApplicationDelegate sharedInstance] application:application + didFinishLaunchingWithOptions:launchOptions]; + }else{ + return YES; + } } - (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation { - return [[FBSDKApplicationDelegate sharedInstance] application:application - openURL:url - sourceApplication:sourceApplication - annotation:annotation]; + if([[NSBundle mainBundle] objectForInfoDictionaryKey:@"FacebookClientToken"]) { + return [[FBSDKApplicationDelegate sharedInstance] application:application + openURL:url + sourceApplication:sourceApplication + annotation:annotation]; + }else{ + return YES; + } + } -(BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary *)options { - return [[FBSDKApplicationDelegate sharedInstance] application:app openURL:url options:options]; + if([[NSBundle mainBundle] objectForInfoDictionaryKey:@"FacebookClientToken"]) { + return [[FBSDKApplicationDelegate sharedInstance] application:app openURL:url options:options]; + }else{ + return YES; + } + } @end diff --git a/src/ios/Plugin/IOSFBConnect.h b/src/ios/Plugin/IOSFBConnect.h index 5412c74..4defbf7 100644 --- a/src/ios/Plugin/IOSFBConnect.h +++ b/src/ios/Plugin/IOSFBConnect.h @@ -18,8 +18,11 @@ #import #import #import +#import #import #import +#import +#import // ---------------------------------------------------------------------------- @@ -70,6 +73,7 @@ class IOSFBConnect : public FBConnect virtual void ShowDialog( lua_State *L, int index ) const; virtual void DispatchInit( lua_State *L ) const; virtual int GetSDKVersion( lua_State *L ) const; + virtual int LogEvent( lua_State *L ) const; protected: void LoginAppropriately( NSArray *permissions, bool limitedLogin ) const; @@ -102,6 +106,8 @@ class IOSFBConnect : public FBConnect static const char kLostAccessTokenError[]; // Enum to NSString conversion dictionaries + static NSDictionary* FBSDKAppEventNameDictionary; + static NSDictionary* FBSDKAppEventParamsDictionary; static NSDictionary* FBSDKGameRequestActionTypeDictionary; static NSDictionary* FBSDKGameRequestFilterDictionary; }; diff --git a/src/ios/Plugin/IOSFBConnect.mm b/src/ios/Plugin/IOSFBConnect.mm index 3736ac0..cce2850 100644 --- a/src/ios/Plugin/IOSFBConnect.mm +++ b/src/ios/Plugin/IOSFBConnect.mm @@ -19,8 +19,10 @@ #import #import +#import #import - +#import +#import #import #import @@ -276,6 +278,49 @@ - (void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)err const char IOSFBConnect::kLostAccessTokenError[] = ": lost the access token. This could be the result of another thread completing facebook.logout() before this callback was invoked."; +//Set up Enum for App Events Name https://developers.facebook.com/docs/app-events/reference#standard-events-2 +NSDictionary* IOSFBConnect::FBSDKAppEventNameDictionary = +@{ + @"achievedLevel" : FBSDKAppEventNameAchievedLevel, + @"adClick": FBSDKAppEventNameAdClick, + @"adImpression": FBSDKAppEventNameAdImpression, + @"addedPaymentInfo": FBSDKAppEventNameAddedPaymentInfo, + @"addedToCart": FBSDKAppEventNameAddedToCart, + @"addedToWishlist": FBSDKAppEventNameAddedToWishlist, + @"completedRegistration": FBSDKAppEventNameCompletedRegistration, + @"completedTutorial": FBSDKAppEventNameCompletedTutorial, + @"contact": FBSDKAppEventNameContact, + @"customizeProduct": FBSDKAppEventNameCustomizeProduct, + @"donate": FBSDKAppEventNameDonate, + @"findLocation": FBSDKAppEventNameFindLocation, + @"initiatedCheckout": FBSDKAppEventNameInitiatedCheckout, + @"rated": FBSDKAppEventNameRated, + @"searched": FBSDKAppEventNameSearched, + @"spentCredits": FBSDKAppEventNameSpentCredits, + @"startTrial": FBSDKAppEventNameStartTrial, + @"submitApplication": FBSDKAppEventNameSubmitApplication, + @"subscribe": FBSDKAppEventNameSubscribe, + @"viewedContent": FBSDKAppEventNameViewedContent, +}; +// Set up Enum for App Events Params https://developers.facebook.com/docs/app-events/reference#standard-event-parameters-2 +NSDictionary* IOSFBConnect::FBSDKAppEventParamsDictionary = +@{ + @"adType" : FBSDKAppEventParameterNameAdType, + @"content" : FBSDKAppEventParameterNameContent, + @"contentID": FBSDKAppEventParameterNameContentID, + @"contentType": FBSDKAppEventParameterNameContentType, + @"currency": FBSDKAppEventParameterNameCurrency, + @"description": FBSDKAppEventParameterNameDescription, + @"level": FBSDKAppEventParameterNameLevel, + @"maxRatingValue": FBSDKAppEventParameterNameMaxRatingValue, + @"numItems": FBSDKAppEventParameterNameNumItems, + @"orderID": FBSDKAppEventParameterNameOrderID, + @"paymentInfoAvailable": FBSDKAppEventParameterNamePaymentInfoAvailable, + @"registrationMethod": FBSDKAppEventParameterNameRegistrationMethod, + @"searchString": FBSDKAppEventParameterNameSearchString, + @"success": FBSDKAppEventParameterNameSuccess, +}; + // Set up Enum - NSString conversion dictionaries. // From: http://stackoverflow.com/questions/13171907/best-way-to-enum-nsstring NSDictionary* IOSFBConnect::FBSDKGameRequestActionTypeDictionary = @@ -292,6 +337,8 @@ - (void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)err @"app_users" : @(FBSDKGameRequestFilterAppUsers), @"app_non_users": @(FBSDKGameRequestFilterAppNonUsers) }; + + IOSFBConnect::IOSFBConnect( id< CoronaRuntime > runtime ) @@ -1134,6 +1181,74 @@ - (void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)err } } +int +IOSFBConnect::LogEvent( lua_State *L ) const +{ + dispatch_async(dispatch_get_main_queue(), ^{ + if(lua_isstring(L, 1) && lua_isnil(L, 2)){ + id eventName = [FBSDKAppEventNameDictionary objectForKey:[[NSString alloc] initWithUTF8String:lua_tostring(L, 1)]]; + if(eventName){ + [[FBSDKAppEvents shared] logEvent:eventName]; + }else{ + [[FBSDKAppEvents shared] logEvent:[[NSString alloc] initWithUTF8String:lua_tostring(L, 1)]]; + } + + }else if (lua_isstring(L, 1) && lua_isnumber(L, 2)){ + id eventName = [FBSDKAppEventNameDictionary objectForKey:[[NSString alloc] initWithUTF8String:lua_tostring(L, 1)]]; + if(eventName){ + [[FBSDKAppEvents shared] logEvent:eventName valueToSum:lua_tonumber(L, 2)]; + }else{ + [[FBSDKAppEvents shared] logEvent:[[NSString alloc] initWithUTF8String:lua_tostring(L, 1)] valueToSum:lua_tonumber(L, 2)]; + } + }else if (lua_isstring(L, 1) && lua_istable(L, 2) && lua_isnumber(L, 3)){ + id eventName = [FBSDKAppEventNameDictionary objectForKey:[[NSString alloc] initWithUTF8String:lua_tostring(L, 1)]]; + NSMutableDictionary * tempDic = [[NSMutableDictionary alloc] init]; + for ( lua_pushnil( L ); lua_next( L, 2 ) != 0; lua_pop( L, 1 ) ) + { + + NSString *keyName = [NSString stringWithUTF8String:lua_tostring(L, -2)]; + id paramsName = [FBSDKAppEventParamsDictionary objectForKey:keyName]; + NSString *value = [NSString stringWithUTF8String:lua_tostring(L, -1)]; + if (paramsName) { + [tempDic setValue:value forKey:paramsName]; + }else{ + [tempDic setValue:value forKey:keyName]; + } + } + if(eventName){ + [[FBSDKAppEvents shared] logEvent:eventName valueToSum:lua_tonumber(L, 3) parameters:tempDic]; + }else{ + [[FBSDKAppEvents shared] logEvent:[[NSString alloc] initWithUTF8String:lua_tostring(L, 1)] valueToSum:lua_tonumber(L, 3) parameters:tempDic]; + } + }else if (lua_isstring(L, 1) && lua_istable(L, 2)){ + id eventName = [FBSDKAppEventNameDictionary objectForKey:[[NSString alloc] initWithUTF8String:lua_tostring(L, 1)]]; + NSMutableDictionary * tempDic = [[NSMutableDictionary alloc] init]; + for ( lua_pushnil( L ); lua_next( L, 2 ) != 0; lua_pop( L, 1 ) ) + { + + NSString *keyName = [NSString stringWithUTF8String:lua_tostring(L, -2)]; + id paramsName = [FBSDKAppEventParamsDictionary objectForKey:keyName]; + NSString *value = [NSString stringWithUTF8String:lua_tostring(L, -1)]; + if (paramsName) { + [tempDic setValue:value forKey:paramsName]; + }else{ + [tempDic setValue:value forKey:keyName]; + } + } + if(eventName){ + [[FBSDKAppEvents shared] logEvent:eventName parameters:tempDic]; + }else{ + [[FBSDKAppEvents shared] logEvent:[[NSString alloc] initWithUTF8String:lua_tostring(L, 1)] parameters:tempDic]; + } + }else{ + CORONA_LOG_ERROR( "Invaild Params .logEvent(eventName, [eventParams, valueSum])" ); + } + + + }); + return 0; +} + // ---------------------------------------------------------------------------- } // namespace Corona diff --git a/src/ios/blank.swift b/src/ios/blank.swift index 9be3bbb..fecc4ab 100644 --- a/src/ios/blank.swift +++ b/src/ios/blank.swift @@ -1,8 +1 @@ -// -// blank.swift -// Corona_Fb_App -// -// Created by Scott Harrison on 1/18/22. -// - import Foundation diff --git a/src/shared/FBConnect.h b/src/shared/FBConnect.h index 132c436..d46450f 100644 --- a/src/shared/FBConnect.h +++ b/src/shared/FBConnect.h @@ -52,6 +52,8 @@ class FBConnect virtual void ShowDialog( lua_State *L, int index ) const = 0; virtual void DispatchInit( lua_State *L ) const = 0; virtual int GetSDKVersion( lua_State *L ) const = 0; + virtual int LogEvent( lua_State *L ) const = 0; + private: CoronaLuaRef fListener; diff --git a/src/shared/FacebookLibrary.cpp b/src/shared/FacebookLibrary.cpp index 4ccb702..5b8a700 100644 --- a/src/shared/FacebookLibrary.cpp +++ b/src/shared/FacebookLibrary.cpp @@ -59,6 +59,7 @@ class FacebookLibrary static int init( lua_State *L ); static int showDialog( lua_State *L ); static int getSDKVersion( lua_State *L ); + static int logEvent( lua_State *L ); private: static int ValueForKey( lua_State *L ); @@ -387,7 +388,15 @@ FacebookLibrary::getSDKVersion( lua_State *L ) FBConnect *connect = library->GetFBConnect(); return connect->GetSDKVersion( L ); } +int +FacebookLibrary::logEvent( lua_State *L ) +{ + Self *library = ToLibrary( L ); + FBConnect *connect = library->GetFBConnect(); + return connect->LogEvent( L ); +} + // ---------------------------------------------------------------------------- } // namespace Corona