10 files deleted
1 files renamed
3 files added
3 files copied
66 files modified
| | |
| | | Pod::Spec.new do |s| |
| | | |
| | | s.name = 'WAFbImpl' |
| | | s.version = '3.8.4' |
| | | s.version = '3.9.2' |
| | | s.summary = 'WAFbImpl framework in production environment.' |
| | | s.license = 'MIT' |
| | | s.author = { "Wuyx" => "wuyixin_gh@gamehollywood.com" } |
New file |
| | |
| | | # |
| | | # Be sure to run `pod spec lint WAFbImpl.podspec' to ensure this is a |
| | | # valid spec and to remove all comments including this before submitting the spec. |
| | | # |
| | | # To learn more about Podspec attributes see http://docs.cocoapods.org/specification.html |
| | | # To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/ |
| | | # |
| | | |
| | | Pod::Spec.new do |s| |
| | | |
| | | s.name = 'WAFbImpl' |
| | | s.version = '3.9.2' |
| | | s.summary = 'WAFbImpl framework in production environment.' |
| | | s.license = 'MIT' |
| | | s.author = { "Wuyx" => "wuyixin_gh@gamehollywood.com" } |
| | | s.homepage = 'http://repo.wingsdk.cn:8082/summary/WAFbImpl.git' |
| | | s.source = { :git => "http://admin@repo.wingsdk.cn:8082/r/WAFbImpl.git" , :tag => s.version} |
| | | s.platform = :ios |
| | | s.ios.deployment_target = "7.0" |
| | | s.vendored_frameworks = 'frameworks/*.framework' |
| | | s.resources = ['config/*.xml','bundle/FacebookSDKStrings.bundle'] |
| | | s.requires_arc = true |
| | | s.dependency 'WASdkIntf' |
| | | s.dependency 'WASdkImpl' |
| | | end |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <config> |
| | | <version val="FB3.8.4"/> |
| | | <version val="FB3.9.2"/> |
| | | <comps> |
| | | <!-- 用户模块 --> |
| | | <comp module="USR" plaf="FACEBOOK" mandatory="NO" value="WAFBUser" desc="FACEBOOK用户账户"/> |
| | |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | #import <FBSDKCoreKit/FBSDKCopying.h> |
| | | #import "FBSDKCopying.h" |
| | | |
| | | #ifdef BUCK |
| | | #import <FBSDKCoreKit/FBSDKGraphRequestConnection.h> |
| | | #else |
| | | #import "FBSDKGraphRequestConnection.h" |
| | | #endif |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | |
| | | @property (nonatomic, copy, readonly) NSString *userID; |
| | | |
| | | /** |
| | | The graph domain where this access token is valid. |
| | | */ |
| | | @property (nonatomic, copy, readonly) NSString *graphDomain; |
| | | |
| | | /** |
| | | Returns whether the access token is expired by checking its expirationDate property |
| | | */ |
| | | @property (readonly, assign, nonatomic, getter=isExpired) BOOL expired; |
| | |
| | | NS_DESIGNATED_INITIALIZER; |
| | | |
| | | /** |
| | | Convenience initializer. |
| | | @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). |
| | | @param graphDomain the domain this access token can be used in. |
| | | |
| | | 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<NSString *> *)permissions |
| | | declinedPermissions:(NSArray<NSString *> *)declinedPermissions |
| | | expiredPermissions:(NSArray<NSString *> *)expiredPermissions |
| | | appID:(NSString *)appID |
| | | userID:(NSString *)userID |
| | | expirationDate:(nullable NSDate *)expirationDate |
| | | refreshDate:(nullable NSDate *)refreshDate |
| | | dataAccessExpirationDate:(nullable NSDate *)dataAccessExpirationDate |
| | | graphDomain:(nullable NSString *)graphDomain; |
| | | |
| | | /** |
| | | Convenience getter to determine if a permission has been granted |
| | | @param permission The permission to check. |
| | | */ |
| | |
| | | #import <WebKit/WebKit.h> |
| | | #endif |
| | | |
| | | #ifdef BUCK |
| | | #import <FBSDKCoreKit/FBSDKGraphRequestConnection.h> |
| | | #else |
| | | #import "FBSDKGraphRequestConnection.h" |
| | | #endif |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | |
| | | |
| | | /** The booking of an appointment to visit one of your locations. */ |
| | | FOUNDATION_EXPORT FBSDKAppEventName FBSDKAppEventNameSchedule; |
| | | |
| | | /** The subsequent subscriptions after the start of a paid subscription for a product or service you offer. */ |
| | | FOUNDATION_EXPORT FBSDKAppEventName FBSDKAppEventNameSubscriptionHeartbeat __attribute((deprecated("This attribute is no longer used."))); |
| | | |
| | | /** The start of a free trial of a product or service you offer (example: trial subscription). */ |
| | | FOUNDATION_EXPORT FBSDKAppEventName FBSDKAppEventNameStartTrial; |
| | |
| | | The userID is persisted until it is cleared by passing nil. |
| | | */ |
| | | @property (class, nonatomic, copy, nullable) NSString *userID; |
| | | |
| | | /* |
| | | Returns generated anonymous id that persisted with current install of the app |
| | | */ |
| | | @property (class, nonatomic, readonly) NSString *anonymousID; |
| | | |
| | | /* |
| | | * Basic event logging |
| | |
| | | @param properties the custom user properties |
| | | @param handler the optional completion handler |
| | | */ |
| | | + (void)updateUserProperties:(NSDictionary<NSString *, id> *)properties handler:(nullable FBSDKGraphRequestBlock)handler; |
| | | + (void)updateUserProperties:(NSDictionary<NSString *, id> *)properties handler:(nullable FBSDKGraphRequestBlock)handler __attribute__((deprecated("updateUserProperties is deprecated"))); |
| | | |
| | | #if !TARGET_OS_TV |
| | | /* |
| | |
| | | // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| | | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| | | |
| | | #import "TargetConditionals.h" |
| | | |
| | | #if !TARGET_OS_TV |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | #import "FBSDKAppLinkTarget.h" |
| | |
| | | from App Link metadata. |
| | | @param webURL the fallback web URL, if any, for the app link. |
| | | */ |
| | | + (instancetype)appLinkWithSourceURL:(NSURL *)sourceURL |
| | | + (instancetype)appLinkWithSourceURL:(nullable NSURL *)sourceURL |
| | | targets:(NSArray<FBSDKAppLinkTarget *> *)targets |
| | | webURL:(nullable NSURL *)webURL |
| | | NS_SWIFT_NAME(init(sourceURL:targets:webURL:)); |
| | | |
| | | /** The URL from which this FBSDKAppLink was derived */ |
| | | @property (nonatomic, strong, readonly) NSURL *sourceURL; |
| | | @property (nonatomic, strong, readonly, nullable) NSURL *sourceURL; |
| | | |
| | | /** |
| | | The ordered list of targets applicable to this platform that will be used |
| | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |
| | | |
| | | #endif |
| | |
| | | // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| | | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| | | |
| | | #import "TargetConditionals.h" |
| | | |
| | | #if !TARGET_OS_TV |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | #import "FBSDKAppLink.h" |
| | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |
| | | |
| | | #endif |
| | |
| | | // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| | | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| | | |
| | | #import "TargetConditionals.h" |
| | | |
| | | #if !TARGET_OS_TV |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | #import "FBSDKAppLinkResolving.h" |
| | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |
| | | |
| | | #endif |
copy from frameworks/FBSDKShareKit.framework/Headers/FBSDKShareMessengerActionButton.h
copy to frameworks/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolverRequestBuilder.h
File was copied from frameworks/FBSDKShareKit.framework/Headers/FBSDKShareMessengerActionButton.h |
| | |
| | | // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| | | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| | | |
| | | #import "TargetConditionals.h" |
| | | |
| | | #if !TARGET_OS_TV |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | #import <FBSDKCoreKit/FBSDKCopying.h> |
| | | #import <FBSDKShareKit/FBSDKShareConstants.h> |
| | | |
| | | #import "FBSDKAppLinkResolving.h" |
| | | #import "FBSDKGraphRequest.h" |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | | /** |
| | | A base interface for Messenger share action buttons. |
| | | Class responsible for generating the appropriate FBSDKGraphRequest for a given set of urls |
| | | */ |
| | | DEPRECATED_FOR_MESSENGER |
| | | NS_SWIFT_NAME(ShareMessengerActionButton) |
| | | @protocol FBSDKShareMessengerActionButton <FBSDKCopying, NSSecureCoding> |
| | | NS_SWIFT_NAME(AppLinkResolverRequestBuilder) |
| | | @interface FBSDKAppLinkResolverRequestBuilder : NSObject |
| | | |
| | | /** |
| | | The title displayed to the user for the button. |
| | | @return The title for the button. |
| | | */ |
| | | @property (nonatomic, copy) NSString *title; |
| | | Generates the FBSDKGraphRequest |
| | | |
| | | @param urls The URLs to build the requests for |
| | | */ |
| | | - (FBSDKGraphRequest* _Nonnull)requestForURLs:(NSArray<NSURL *> * _Nonnull)urls |
| | | NS_EXTENSION_UNAVAILABLE_IOS("Not available in app extension"); |
| | | |
| | | - (NSString* _Nullable)getIdiomSpecificField |
| | | NS_EXTENSION_UNAVAILABLE_IOS("Not available in app extension"); |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |
| | | |
| | | #endif |
| | |
| | | // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| | | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| | | |
| | | #import "TargetConditionals.h" |
| | | |
| | | #if !TARGET_OS_TV |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |
| | | |
| | | #endif |
| | |
| | | // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| | | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | #import "TargetConditionals.h" |
| | | |
| | | #if !TARGET_OS_TV |
| | | |
| | | #import <UIKit/UIKit.h> |
| | | |
| | | #import "FBSDKAppLinkReturnToRefererView.h" |
| | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |
| | | |
| | | #endif |
| | |
| | | // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| | | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | #import "TargetConditionals.h" |
| | | |
| | | #if !TARGET_OS_TV |
| | | |
| | | #import <UIKit/UIKit.h> |
| | | |
| | | #import "FBSDKAppLinkNavigation.h" |
| | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |
| | | |
| | | #endif |
| | |
| | | // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| | | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| | | |
| | | #import "TargetConditionals.h" |
| | | |
| | | #if !TARGET_OS_TV |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | |
| | | + (instancetype)new NS_UNAVAILABLE; |
| | | |
| | | /** Creates a FBSDKAppLinkTarget with the given app site and target URL. */ |
| | | + (instancetype)appLinkTargetWithURL:(NSURL *)url |
| | | + (instancetype)appLinkTargetWithURL:(nullable NSURL *)url |
| | | appStoreId:(nullable NSString *)appStoreId |
| | | appName:(NSString *)appName |
| | | NS_SWIFT_NAME(init(url:appStoreId:appName:)); |
| | | |
| | | /** The URL prefix for this app link target */ |
| | | @property (nonatomic, strong, readonly) NSURL *URL; |
| | | @property (nonatomic, strong, readonly, nullable) NSURL *URL; |
| | | |
| | | /** The app ID for the app store */ |
| | | @property (nonatomic, copy, readonly, nullable) NSString *appStoreId; |
| | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |
| | | |
| | | #endif |
| | |
| | | // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| | | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| | | |
| | | #import "TargetConditionals.h" |
| | | |
| | | #if !TARGET_OS_TV |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | |
| | | */ |
| | | + (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 |
| | |
| | | Indicates an app switch to the browser (typically for a dialog) failed. |
| | | */ |
| | | FBSDKErrorBrowserUnavailable, |
| | | |
| | | /** |
| | | Indicates that a bridge api interaction was interrupted. |
| | | */ |
| | | FBSDKErrorBridgeAPIInterruption, |
| | | } NS_SWIFT_NAME(CoreError); |
| | | |
| | | /** |
| | |
| | | |
| | | #import <UIKit/UIKit.h> |
| | | |
| | | #import <FBSDKCoreKit/FBSDKAccessToken.h> |
| | | #import <FBSDKCoreKit/FBSDKAppEvents.h> |
| | | #import <FBSDKCoreKit/FBSDKApplicationDelegate.h> |
| | | #import <FBSDKCoreKit/FBSDKButton.h> |
| | | #import <FBSDKCoreKit/FBSDKConstants.h> |
| | | #import <FBSDKCoreKit/FBSDKCopying.h> |
| | | #import <FBSDKCoreKit/FBSDKGraphRequest.h> |
| | | #import <FBSDKCoreKit/FBSDKGraphRequestConnection.h> |
| | | #import <FBSDKCoreKit/FBSDKGraphRequestDataAttachment.h> |
| | | #import <FBSDKCoreKit/FBSDKSettings.h> |
| | | #import <FBSDKCoreKit/FBSDKTestUsersManager.h> |
| | | #import <FBSDKCoreKit/FBSDKUtility.h> |
| | | |
| | | #if !TARGET_OS_TV |
| | | #import <FBSDKCoreKit/FBSDKAppLink.h> |
| | | #import <FBSDKCoreKit/FBSDKAppLinkNavigation.h> |
| | | #import <FBSDKCoreKit/FBSDKAppLinkResolver.h> |
| | | #import <FBSDKCoreKit/FBSDKAppLinkResolving.h> |
| | | #import <FBSDKCoreKit/FBSDKAppLinkReturnToRefererController.h> |
| | | #import <FBSDKCoreKit/FBSDKAppLinkReturnToRefererView.h> |
| | | #import <FBSDKCoreKit/FBSDKAppLinkTarget.h> |
| | | #import <FBSDKCoreKit/FBSDKAppLinkUtility.h> |
| | | #import <FBSDKCoreKit/FBSDKGraphErrorRecoveryProcessor.h> |
| | | #import <FBSDKCoreKit/FBSDKMeasurementEvent.h> |
| | | #import <FBSDKCoreKit/FBSDKMutableCopying.h> |
| | | #import <FBSDKCoreKit/FBSDKProfile.h> |
| | | #import <FBSDKCoreKit/FBSDKProfilePictureView.h> |
| | | #import <FBSDKCoreKit/FBSDKURL.h> |
| | | #import <FBSDKCoreKit/FBSDKWebViewAppLinkResolver.h> |
| | | #else |
| | | #import <FBSDKCoreKit/FBSDKDeviceButton.h> |
| | | #import <FBSDKCoreKit/FBSDKDeviceViewControllerBase.h> |
| | | #if TARGET_OS_TV |
| | | #ifndef DEVICE_SHARING_DEPRECATED |
| | | #define DEVICE_SHARING_DEPRECATED DEPRECATED_MSG_ATTRIBUTE("Sharing from devices will no longer work as of Nov 2nd 2020") |
| | | #endif |
| | | #endif |
| | | |
| | | #define FBSDK_VERSION_STRING @"5.6.0" |
| | | #define FBSDK_TARGET_PLATFORM_VERSION @"v4.0" |
| | | #ifdef BUCK |
| | | |
| | | #import <FBSDKCoreKit/FBSDKAccessToken.h> |
| | | #import <FBSDKCoreKit/FBSDKAppEvents.h> |
| | | #import <FBSDKCoreKit/FBSDKApplicationDelegate.h> |
| | | #import <FBSDKCoreKit/FBSDKButton.h> |
| | | #import <FBSDKCoreKit/FBSDKConstants.h> |
| | | #import <FBSDKCoreKit/FBSDKCopying.h> |
| | | #import <FBSDKCoreKit/FBSDKGraphRequest.h> |
| | | #import <FBSDKCoreKit/FBSDKGraphRequestConnection.h> |
| | | #import <FBSDKCoreKit/FBSDKGraphRequestDataAttachment.h> |
| | | #import <FBSDKCoreKit/FBSDKSettings.h> |
| | | #import <FBSDKCoreKit/FBSDKTestUsersManager.h> |
| | | #import <FBSDKCoreKit/FBSDKUtility.h> |
| | | |
| | | #if !TARGET_OS_TV |
| | | #import <FBSDKCoreKit/FBSDKAppLink.h> |
| | | #import <FBSDKCoreKit/FBSDKAppLinkNavigation.h> |
| | | #import <FBSDKCoreKit/FBSDKAppLinkResolver.h> |
| | | #import <FBSDKCoreKit/FBSDKAppLinkResolverRequestBuilder.h> |
| | | #import <FBSDKCoreKit/FBSDKAppLinkResolving.h> |
| | | #import <FBSDKCoreKit/FBSDKAppLinkReturnToRefererController.h> |
| | | #import <FBSDKCoreKit/FBSDKAppLinkReturnToRefererView.h> |
| | | #import <FBSDKCoreKit/FBSDKAppLinkTarget.h> |
| | | #import <FBSDKCoreKit/FBSDKAppLinkUtility.h> |
| | | #import <FBSDKCoreKit/FBSDKGraphErrorRecoveryProcessor.h> |
| | | #import <FBSDKCoreKit/FBSDKMeasurementEvent.h> |
| | | #import <FBSDKCoreKit/FBSDKMutableCopying.h> |
| | | #import <FBSDKCoreKit/FBSDKProfile.h> |
| | | #import <FBSDKCoreKit/FBSDKProfilePictureView.h> |
| | | #import <FBSDKCoreKit/FBSDKURL.h> |
| | | #import <FBSDKCoreKit/FBSDKWebViewAppLinkResolver.h> |
| | | #else |
| | | #import <FBSDKCoreKit/FBSDKDeviceButton.h> |
| | | #import <FBSDKCoreKit/FBSDKDeviceViewControllerBase.h> |
| | | #endif |
| | | |
| | | #else |
| | | |
| | | #import "FBSDKAccessToken.h" |
| | | #import "FBSDKAppEvents.h" |
| | | #import "FBSDKApplicationDelegate.h" |
| | | #import "FBSDKButton.h" |
| | | #import "FBSDKConstants.h" |
| | | #import "FBSDKCopying.h" |
| | | #import "FBSDKGraphRequest.h" |
| | | #import "FBSDKGraphRequestConnection.h" |
| | | #import "FBSDKGraphRequestDataAttachment.h" |
| | | #import "FBSDKSettings.h" |
| | | #import "FBSDKTestUsersManager.h" |
| | | #import "FBSDKUtility.h" |
| | | |
| | | #if !TARGET_OS_TV |
| | | #import "FBSDKAppLink.h" |
| | | #import "FBSDKAppLinkNavigation.h" |
| | | #import "FBSDKAppLinkResolver.h" |
| | | #import "FBSDKAppLinkResolverRequestBuilder.h" |
| | | #import "FBSDKAppLinkResolving.h" |
| | | #import "FBSDKAppLinkReturnToRefererController.h" |
| | | #import "FBSDKAppLinkReturnToRefererView.h" |
| | | #import "FBSDKAppLinkTarget.h" |
| | | #import "FBSDKAppLinkUtility.h" |
| | | #import "FBSDKGraphErrorRecoveryProcessor.h" |
| | | #import "FBSDKMeasurementEvent.h" |
| | | #import "FBSDKMutableCopying.h" |
| | | #import "FBSDKProfile.h" |
| | | #import "FBSDKProfilePictureView.h" |
| | | #import "FBSDKURL.h" |
| | | #import "FBSDKWebViewAppLinkResolver.h" |
| | | #else |
| | | #import "FBSDKDeviceButton.h" |
| | | #import "FBSDKDeviceViewControllerBase.h" |
| | | #endif |
| | | |
| | | #endif |
| | | |
| | | #define FBSDK_VERSION_STRING @"8.2.0" |
| | | #define FBSDK_TARGET_PLATFORM_VERSION @"v8.0" |
| | |
| | | // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| | | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| | | |
| | | #import "TargetConditionals.h" |
| | | |
| | | #if !TARGET_OS_TV |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | #ifdef BUCK |
| | | #import <FBSDKCoreKit/FBSDKConstants.h> |
| | | #else |
| | | #import "FBSDKConstants.h" |
| | | #endif |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |
| | | |
| | | #endif |
| | |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | #import <FBSDKCoreKit/FBSDKGraphRequestConnection.h> |
| | | #import "FBSDKGraphRequestConnection.h" |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | |
| | | 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 (nonatomic, retain, readonly) NSHTTPURLResponse *urlResponse; |
| | | @property (nonatomic, retain, readonly, nullable) NSHTTPURLResponse *urlResponse; |
| | | |
| | | /** |
| | | Determines the operation queue that is used to call methods on the connection's delegate. |
| | |
| | | to allow for using the request's response in a subsequent request. |
| | | */ |
| | | - (void)addRequest:(FBSDKGraphRequest *)request |
| | | batchParameters:(NSDictionary<NSString *, id> *)batchParameters |
| | | batchParameters:(nullable NSDictionary<NSString *, id> *)batchParameters |
| | | completionHandler:(FBSDKGraphRequestBlock)handler; |
| | | |
| | | /** |
| | |
| | | // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| | | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| | | |
| | | #import "TargetConditionals.h" |
| | | |
| | | #if !TARGET_OS_TV |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |
| | | |
| | | #endif |
| | |
| | | // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| | | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| | | |
| | | #import "TargetConditionals.h" |
| | | |
| | | #if !TARGET_OS_TV |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | #import <FBSDKCoreKit/FBSDKCopying.h> |
| | | #import "FBSDKCopying.h" |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |
| | | |
| | | #endif |
| | |
| | | // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| | | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." |
| | | |
| | | #import "TargetConditionals.h" |
| | | |
| | | #if !TARGET_OS_TV |
| | | |
| | | #import "FBSDKProfilePictureView.h" |
| | | |
| | | @class FBSDKProfile; |
| | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |
| | | |
| | | #endif |
| | |
| | | // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| | | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| | | |
| | | #import "TargetConditionals.h" |
| | | |
| | | #if !TARGET_OS_TV |
| | | |
| | | #import <UIKit/UIKit.h> |
| | | |
| | | @class FBSDKProfile; |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | |
| | | 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); |
| | | |
| | | /** |
| | |
| | | */ |
| | | 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. |
| | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |
| | | |
| | | #endif |
| | |
| | | Controls sdk auto initailization. |
| | | If not explicitly set, the default is true |
| | | */ |
| | | @property (class, nonatomic, assign, getter=isAutoInitEnabled) BOOL autoInitEnabled; |
| | | |
| | | /** |
| | | Controls sdk crash report |
| | | If not explicitly set, the default is true |
| | | */ |
| | | @property (class, nonatomic, assign, getter=isInstrumentEnabled) BOOL instrumentEnabled |
| | | __attribute((deprecated("This attribute is no longer used, use autoLogAppEventsEnabled instead."))); |
| | | @property (class, nonatomic, assign, getter=isAutoInitEnabled) BOOL autoInitEnabled |
| | | DEPRECATED_MSG_ATTRIBUTE("Auto-initialization will be removed in the next major version release."); |
| | | |
| | | /** |
| | | Controls the auto logging of basic app events, such as activateApp and deactivateApp. |
| | |
| | | @property (class, nonatomic, assign, getter=isCodelessDebugLogEnabled) BOOL codelessDebugLogEnabled; |
| | | |
| | | /** |
| | | Controls the fb_codeless_debug logging event |
| | | Controls the access to IDFA |
| | | If not explicitly set, the default is true |
| | | */ |
| | | @property (class, nonatomic, assign, getter=isAdvertiserIDCollectionEnabled) BOOL advertiserIDCollectionEnabled; |
| | |
| | | |
| | | If not explicitly set, the default will be read from the application's plist (FacebookAppID). |
| | | */ |
| | | @property (class, nonatomic, copy, null_resettable) NSString *appID; |
| | | @property (class, nonatomic, copy, nullable) 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 (class, nonatomic, copy, null_resettable) NSString *appURLSchemeSuffix; |
| | | @property (class, nonatomic, copy, nullable) NSString *appURLSchemeSuffix; |
| | | |
| | | /** |
| | | The Client Token that has been set via [FBSDKSettings setClientToken]. |
| | |
| | | |
| | | If not explicitly set, the default will be read from the application's plist (FacebookClientToken). |
| | | */ |
| | | @property (class, nonatomic, copy, null_resettable) NSString *clientToken; |
| | | @property (class, nonatomic, copy, nullable) NSString *clientToken; |
| | | |
| | | /** |
| | | The Facebook Display Name used by the SDK. |
| | |
| | | |
| | | If not explicitly set, the default will be read from the application's plist (FacebookDisplayName). |
| | | */ |
| | | @property (class, nonatomic, copy, null_resettable) NSString *displayName; |
| | | @property (class, nonatomic, copy, nullable) NSString *displayName; |
| | | |
| | | /** |
| | | The Facebook domain part. This can be used to change the Facebook domain |
| | |
| | | |
| | | If not explicitly set, the default will be read from the application's plist (FacebookDomainPart). |
| | | */ |
| | | @property (class, nonatomic, copy, null_resettable) NSString *facebookDomainPart; |
| | | @property (class, nonatomic, copy, nullable) NSString *facebookDomainPart; |
| | | |
| | | /** |
| | | The current Facebook SDK logging behavior. This should consist of strings |
| | |
| | | @property (class, nonatomic, copy, null_resettable) NSString *graphAPIVersion; |
| | | |
| | | /** |
| | | 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; |
| | | |
| | | /** |
| | | 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; |
| | | |
| | | /** |
| | | Set the data processing options. |
| | | |
| | | @param options list of options |
| | | */ |
| | | + (void)setDataProcessingOptions:(nullable NSArray<NSString *> *)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<NSString *> *)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*. |
| | |
| | | // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| | | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| | | |
| | | #import "TargetConditionals.h" |
| | | |
| | | #if !TARGET_OS_TV |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | |
| | | */ |
| | | @property (nonatomic, strong, readonly) NSDictionary<NSString *, id> *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 |
| | |
| | | // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| | | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| | | |
| | | #import "TargetConditionals.h" |
| | | |
| | | #if !TARGET_OS_TV |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | #import "FBSDKAppLinkResolving.h" |
| | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |
| | | |
| | | #endif |
copy from frameworks/FBSDKShareKit.framework/Headers/FBSDKShareMessengerActionButton.h
copy to frameworks/FBSDKLoginKit.framework/Headers/FBSDKCoreKitImport.h
File was copied from frameworks/FBSDKShareKit.framework/Headers/FBSDKShareMessengerActionButton.h |
| | |
| | | // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| | | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | // Importing FBSDKCoreKit is tricky due to build variants. |
| | | // SPM require that it is imported as <FBSDKCoreKit.h> while CocoaPods, |
| | | // Carthage, Buck, and xcodebuild require <FBSDKCoreKit/FBSDKCoreKit.h> |
| | | // This file is not exposed via SPM so non SPM users will use <FBSDKCoreKit/FBSDKCoreKit.h> |
| | | |
| | | #import <FBSDKCoreKit/FBSDKCopying.h> |
| | | #import <FBSDKShareKit/FBSDKShareConstants.h> |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | | /** |
| | | A base interface for Messenger share action buttons. |
| | | */ |
| | | DEPRECATED_FOR_MESSENGER |
| | | NS_SWIFT_NAME(ShareMessengerActionButton) |
| | | @protocol FBSDKShareMessengerActionButton <FBSDKCopying, NSSecureCoding> |
| | | |
| | | /** |
| | | The title displayed to the user for the button. |
| | | @return The title for the button. |
| | | */ |
| | | @property (nonatomic, copy) NSString *title; |
| | | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |
| | | // Even though this file is not available from projects using SPM, |
| | | // it is available when building the packages themselves so we need to include this check. |
| | | #if FBSDK_SWIFT_PACKAGE |
| | | #import <FBSDKCoreKit.h> |
| | | #else |
| | | #import <FBSDKCoreKit/FBSDKCoreKit.h> |
| | | #endif |
| | |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | #import <FBSDKLoginKit/FBSDKDeviceLoginCodeInfo.h> |
| | | #import <FBSDKLoginKit/FBSDKDeviceLoginManagerResult.h> |
| | | #import "FBSDKDeviceLoginCodeInfo.h" |
| | | #import "FBSDKDeviceLoginManagerResult.h" |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | #ifdef FBSDKCOCOAPODS |
| | | #import <FBSDKCoreKit/FBSDKAccessToken.h> |
| | | #endif |
| | | |
| | | @class FBSDKAccessToken; |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | |
| | | |
| | | #import <UIKit/UIKit.h> |
| | | |
| | | #import <FBSDKCoreKit/FBSDKButton.h> |
| | | #import "TargetConditionals.h" |
| | | |
| | | #import <FBSDKLoginKit/FBSDKLoginManager.h> |
| | | #if TARGET_OS_TV |
| | | |
| | | @interface FBLoginButton : UIView |
| | | |
| | | @property (copy, nonatomic) NSArray<NSString *> *permissions; |
| | | |
| | | @end |
| | | |
| | | #else |
| | | |
| | | #import "FBSDKCoreKitImport.h" |
| | | |
| | | #import "FBSDKLoginManager.h" |
| | | #import "FBSDKTooltipView.h" |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | |
| | | Gets or sets the delegate. |
| | | */ |
| | | @property (weak, nonatomic) IBOutlet id<FBSDKLoginButtonDelegate> delegate; |
| | | /** |
| | | Gets or sets the login behavior to use |
| | | */ |
| | | @property (assign, nonatomic) FBSDKLoginBehavior loginBehavior |
| | | DEPRECATED_MSG_ATTRIBUTE("All login flows utilize the browser. This will be removed in the next major release"); |
| | | |
| | | /*! |
| | | @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. |
| | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |
| | | |
| | | #endif |
| | |
| | | |
| | | #import <UIKit/UIKit.h> |
| | | |
| | | #import <FBSDKLoginKit/FBSDKDeviceLoginCodeInfo.h> |
| | | #import <FBSDKLoginKit/FBSDKDeviceLoginManager.h> |
| | | #import <FBSDKLoginKit/FBSDKDeviceLoginManagerResult.h> |
| | | #import <FBSDKLoginKit/FBSDKLoginConstants.h> |
| | | #import "FBSDKCoreKitImport.h" |
| | | #import "FBSDKDeviceLoginCodeInfo.h" |
| | | #import "FBSDKDeviceLoginManager.h" |
| | | #import "FBSDKDeviceLoginManagerResult.h" |
| | | #import "FBSDKLoginConstants.h" |
| | | |
| | | #if !TARGET_TV_OS |
| | | #import <FBSDKLoginKit/FBSDKLoginButton.h> |
| | | #import <FBSDKLoginKit/FBSDKLoginManager.h> |
| | | #import <FBSDKLoginKit/FBSDKLoginManagerLoginResult.h> |
| | | #import <FBSDKLoginKit/FBSDKLoginTooltipView.h> |
| | | #if !TARGET_OS_TV |
| | | #import "FBSDKLoginButton.h" |
| | | #import "FBSDKLoginManager.h" |
| | | #import "FBSDKLoginManagerLoginResult.h" |
| | | #import "FBSDKLoginTooltipView.h" |
| | | #import "FBSDKReferralManager.h" |
| | | #import "FBSDKReferralManagerResult.h" |
| | | #endif |
| | |
| | | // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| | | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | #import <UIKit/UIKit.h> |
| | | |
| | | 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; |
| | | |
| | | 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 (assign, nonatomic) LoginBehavior loginBehavior; |
| | | @property (assign, nonatomic) DefaultAudience defaultAudience; |
| | | |
| | | - (void)logInWithPermissions:(NSArray<NSString *> *)permissions |
| | | fromViewController:(nullable UIViewController *)fromViewController |
| | | handler:(nullable LoginManagerLoginResultBlock)handler |
| | | NS_SWIFT_NAME(logIn(permissions:from:handler:)); |
| | | |
| | | @end |
| | | |
| | | #else |
| | | |
| | | @class FBSDKLoginManagerLoginResult; |
| | | |
| | |
| | | } NS_SWIFT_NAME(DefaultAudience); |
| | | |
| | | /** |
| | | FBSDKLoginBehavior enum |
| | | |
| | | Passed to the \c FBSDKLoginManager to indicate how Facebook Login should be attempted. |
| | | |
| | | |
| | | |
| | | Facebook Login authorizes the application to act on behalf of the user, using the user's |
| | | Facebook account. Usually a Facebook Login will rely on an account maintained outside of |
| | | the application, by the native Facebook application, the browser, or perhaps the device |
| | | itself. This avoids the need for a user to enter their username and password directly, and |
| | | provides the most secure and lowest friction way for a user to authorize the application to |
| | | interact with Facebook. |
| | | |
| | | The \c FBSDKLoginBehavior enum specifies which log-in methods may be used. The SDK |
| | | will determine the best behavior based on the current device (such as iOS version). |
| | | */ |
| | | typedef NS_ENUM(NSUInteger, FBSDKLoginBehavior) |
| | | { |
| | | /** |
| | | This is the default behavior, and indicates logging in via ASWebAuthenticationSession (iOS 12+) or SFAuthenticationSession (iOS 11), |
| | | which present specialized SafariViewControllers. Falls back to plain SFSafariViewController (iOS 9 and 10) or Safari (iOS 8). |
| | | */ |
| | | FBSDKLoginBehaviorBrowser = 0, |
| | | } NS_SWIFT_NAME(LoginBehavior) |
| | | DEPRECATED_MSG_ATTRIBUTE("All login flows utilize the browser. This will be removed in the next major release"); |
| | | |
| | | /** |
| | | `FBSDKLoginManager` provides methods for logging the user in and out. |
| | | |
| | | `FBSDKLoginManager` works directly with `[FBSDKAccessToken currentAccessToken]` and |
| | |
| | | @property (assign, nonatomic) FBSDKDefaultAudience defaultAudience; |
| | | |
| | | /** |
| | | the login behavior |
| | | */ |
| | | @property (assign, nonatomic) FBSDKLoginBehavior loginBehavior |
| | | DEPRECATED_MSG_ATTRIBUTE("All login flows utilize the browser. This will be removed in the next major release"); |
| | | |
| | | /** |
| | | 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. |
| | |
| | | fromViewController:(nullable UIViewController *)fromViewController |
| | | handler:(nullable FBSDKLoginManagerLoginResultBlock)handler |
| | | NS_SWIFT_NAME(logIn(permissions:from:handler:)); |
| | | |
| | | /** |
| | | 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 should be called with the url from the openURL method. |
| | | */ |
| | | - (void)logInWithURL:(NSURL *)url |
| | | handler:(nullable FBSDKLoginManagerLoginResultBlock)handler |
| | | NS_SWIFT_NAME(logIn(url:handler:)); |
| | | |
| | | /** |
| | | Requests user's permission to reathorize application's data access, after it has expired due to inactivity. |
| | |
| | | |
| | | @end |
| | | |
| | | #endif |
| | | |
| | | NS_ASSUME_NONNULL_END |
| | |
| | | |
| | | 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 (copy, nonatomic, nullable) FBSDKAccessToken *token; |
| | | @property (readonly, nonatomic) BOOL isCancelled; |
| | | @property (copy, nonatomic) NSSet<NSString *> *grantedPermissions; |
| | | @property (copy, nonatomic) NSSet<NSString *> *declinedPermissions; |
| | | |
| | | @end |
| | | |
| | | #else |
| | | |
| | | @class FBSDKAccessToken; |
| | | |
| | | /** |
| | |
| | | NS_DESIGNATED_INITIALIZER; |
| | | @end |
| | | |
| | | #endif |
| | | |
| | | NS_ASSUME_NONNULL_END |
| | |
| | | // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| | | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| | | |
| | | #import "TargetConditionals.h" |
| | | |
| | | #if !TARGET_OS_TV |
| | | |
| | | #import <UIKit/UIKit.h> |
| | | |
| | | #import <FBSDKLoginKit/FBSDKTooltipView.h> |
| | | #import "FBSDKTooltipView.h" |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |
| | | |
| | | #endif |
File was renamed from frameworks/FBSDKShareKit.framework/Headers/FBSDKShareMessengerActionButton.h |
| | |
| | | // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| | | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | #import "TargetConditionals.h" |
| | | |
| | | #import <FBSDKCoreKit/FBSDKCopying.h> |
| | | #import <FBSDKShareKit/FBSDKShareConstants.h> |
| | | #if !TARGET_OS_TV |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | | /** |
| | | A base interface for Messenger share action buttons. |
| | | */ |
| | | DEPRECATED_FOR_MESSENGER |
| | | NS_SWIFT_NAME(ShareMessengerActionButton) |
| | | @protocol FBSDKShareMessengerActionButton <FBSDKCopying, NSSecureCoding> |
| | | Represent a referral code used in the referral process |
| | | */ |
| | | NS_SWIFT_NAME(ReferralCode) |
| | | @interface FBSDKReferralCode : NSObject |
| | | |
| | | - (instancetype)init NS_UNAVAILABLE; |
| | | + (instancetype)new NS_UNAVAILABLE; |
| | | |
| | | /** |
| | | The title displayed to the user for the button. |
| | | @return The title for the button. |
| | | */ |
| | | @property (nonatomic, copy) NSString *title; |
| | | The string value of the referral code |
| | | */ |
| | | @property 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 |
New file |
| | |
| | | // Copyright (c) 2014-present, Facebook, Inc. All rights reserved. |
| | | // |
| | | // You are hereby granted a non-exclusive, worldwide, royalty-free license to use, |
| | | // copy, modify, and distribute this software in source code or binary form for use |
| | | // in connection with the web services and APIs provided by Facebook. |
| | | // |
| | | // As with any software that integrates with the Facebook platform, your use of |
| | | // this software is subject to the Facebook Developer Principles and Policies |
| | | // [http://developers.facebook.com/policy/]. This copyright notice shall be |
| | | // included in all copies or substantial portions of the software. |
| | | // |
| | | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| | | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS |
| | | // FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR |
| | | // COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER |
| | | // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| | | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| | | |
| | | #import "TargetConditionals.h" |
| | | |
| | | #if !TARGET_OS_TV |
| | | |
| | | #import <UIKit/UIKit.h> |
| | | |
| | | 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) |
| | | @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 |
New file |
| | |
| | | // Copyright (c) 2014-present, Facebook, Inc. All rights reserved. |
| | | // |
| | | // You are hereby granted a non-exclusive, worldwide, royalty-free license to use, |
| | | // copy, modify, and distribute this software in source code or binary form for use |
| | | // in connection with the web services and APIs provided by Facebook. |
| | | // |
| | | // As with any software that integrates with the Facebook platform, your use of |
| | | // this software is subject to the Facebook Developer Principles and Policies |
| | | // [http://developers.facebook.com/policy/]. This copyright notice shall be |
| | | // included in all copies or substantial portions of the software. |
| | | // |
| | | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| | | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS |
| | | // FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR |
| | | // COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER |
| | | // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| | | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| | | |
| | | #import "TargetConditionals.h" |
| | | |
| | | #if !TARGET_OS_TV |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | #import "FBSDKReferralCode.h" |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | | /** |
| | | Describes the result of a referral request. |
| | | */ |
| | | NS_SWIFT_NAME(ReferralManagerResult) |
| | | @interface FBSDKReferralManagerResult : NSObject |
| | | |
| | | - (instancetype)init NS_UNAVAILABLE; |
| | | + (instancetype)new NS_UNAVAILABLE; |
| | | |
| | | /** |
| | | whether the referral was cancelled by the user. |
| | | */ |
| | | @property (readonly, nonatomic) BOOL isCancelled; |
| | | |
| | | /** |
| | | An array of referral codes for each referral made by the user |
| | | */ |
| | | @property (copy, nonatomic) NSArray<FBSDKReferralCode *> *referralCodes; |
| | | |
| | | /** Initializes a new instance. |
| | | @param referralCodes the referral codes |
| | | @param isCancelled whether the referral was cancelled by the user |
| | | */ |
| | | - (instancetype)initWithReferralCodes:(nullable NSArray<FBSDKReferralCode *> *)referralCodes |
| | | isCancelled:(BOOL)isCancelled |
| | | NS_DESIGNATED_INITIALIZER; |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |
| | | |
| | | #endif |
| | |
| | | // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| | | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| | | |
| | | #import "TargetConditionals.h" |
| | | |
| | | #if !TARGET_OS_TV |
| | | |
| | | #import <UIKit/UIKit.h> |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |
| | | |
| | | #endif |
| | |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | #import <FBSDKCoreKit/FBSDKCopying.h> |
| | | #if TARGET_OS_TV |
| | | |
| | | typedef NS_ENUM(NSUInteger, AppGroupPrivacy) { AppGroupPrivacyOpen }; |
| | | |
| | | FOUNDATION_EXPORT NSString *NSStringFromFBSDKAppGroupPrivacy(AppGroupPrivacy privacy) |
| | | NS_REFINED_FOR_SWIFT; |
| | | |
| | | #else |
| | | |
| | | #import "FBSDKCoreKitImport.h" |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |
| | | |
| | | #endif |
| | |
| | | // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| | | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| | | |
| | | #import "TargetConditionals.h" |
| | | |
| | | #if !TARGET_OS_TV |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | #import <FBSDKCoreKit/FBSDKCopying.h> |
| | | #import <FBSDKShareKit/FBSDKSharingValidation.h> |
| | | #import "FBSDKCoreKitImport.h" |
| | | |
| | | #import "FBSDKSharingValidation.h" |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |
| | | |
| | | #endif |
| | |
| | | // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| | | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| | | |
| | | #import "TargetConditionals.h" |
| | | |
| | | #if !TARGET_OS_TV |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | #import <FBSDKCoreKit/FBSDKCopying.h> |
| | | #import "FBSDKCoreKitImport.h" |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |
| | | |
| | | #endif |
| | |
| | | // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| | | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| | | |
| | | #import "TargetConditionals.h" |
| | | |
| | | #if !TARGET_OS_TV |
| | | |
| | | #import <UIKit/UIKit.h> |
| | | |
| | | #import <FBSDKCoreKit/FBSDKCopying.h> |
| | | #import "FBSDKCoreKitImport.h" |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |
| | | |
| | | #endif |
copy from frameworks/FBSDKShareKit.framework/Headers/FBSDKShareMessengerActionButton.h
copy to frameworks/FBSDKShareKit.framework/Headers/FBSDKCoreKitImport.h
File was copied from frameworks/FBSDKShareKit.framework/Headers/FBSDKShareMessengerActionButton.h |
| | |
| | | // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| | | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | // Importing FBSDKCoreKit is tricky due to build variants. |
| | | // SPM require that it is imported as <FBSDKCoreKit.h> while CocoaPods, |
| | | // Carthage, Buck, and xcodebuild require <FBSDKCoreKit/FBSDKCoreKit.h> |
| | | // This file is not exposed via SPM so non SPM users will use <FBSDKCoreKit/FBSDKCoreKit.h> |
| | | |
| | | #import <FBSDKCoreKit/FBSDKCopying.h> |
| | | #import <FBSDKShareKit/FBSDKShareConstants.h> |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | | /** |
| | | A base interface for Messenger share action buttons. |
| | | */ |
| | | DEPRECATED_FOR_MESSENGER |
| | | NS_SWIFT_NAME(ShareMessengerActionButton) |
| | | @protocol FBSDKShareMessengerActionButton <FBSDKCopying, NSSecureCoding> |
| | | |
| | | /** |
| | | The title displayed to the user for the button. |
| | | @return The title for the button. |
| | | */ |
| | | @property (nonatomic, copy) NSString *title; |
| | | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |
| | | // Even though this file is not available from projects using SPM, |
| | | // it is available when building the packages themselves so we need to include this check. |
| | | #if FBSDK_SWIFT_PACKAGE |
| | | #import <FBSDKCoreKit.h> |
| | | #else |
| | | #import <FBSDKCoreKit/FBSDKCoreKit.h> |
| | | #endif |
| | |
| | | // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| | | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| | | |
| | | #import "TargetConditionals.h" |
| | | |
| | | #if !TARGET_OS_TV |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | #import <FBSDKCoreKit/FBSDKCopying.h> |
| | | #import <FBSDKShareKit/FBSDKSharingValidation.h> |
| | | #import "FBSDKCoreKitImport.h" |
| | | |
| | | #import "FBSDKSharingValidation.h" |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |
| | | |
| | | #endif |
| | |
| | | // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| | | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| | | |
| | | #import "TargetConditionals.h" |
| | | |
| | | #if !TARGET_OS_TV |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | #import <FBSDKShareKit/FBSDKGameRequestContent.h> |
| | | #import "FBSDKGameRequestContent.h" |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |
| | | |
| | | #endif |
| | |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | #import <FBSDKCoreKit/FBSDKCopying.h> |
| | | #import "FBSDKCoreKitImport.h" |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | |
| | | // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| | | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| | | |
| | | #import "TargetConditionals.h" |
| | | |
| | | #if !TARGET_OS_TV |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | #import "FBSDKLikeObjectType.h" |
| | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |
| | | |
| | | #endif |
| | |
| | | // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| | | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| | | |
| | | #import "TargetConditionals.h" |
| | | |
| | | #if !TARGET_OS_TV |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | #import <FBSDKShareKit/FBSDKSharing.h> |
| | | #import <FBSDKShareKit/FBSDKShareConstants.h> |
| | | #import "FBSDKShareConstants.h" |
| | | #import "FBSDKSharing.h" |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | |
| | | |
| | | SUPPORTED SHARE TYPES |
| | | - FBSDKShareLinkContent |
| | | - FBSDKShareMessengerOpenGraphMusicTemplateContent |
| | | - FBSDKShareMessengerMediaTemplateContent |
| | | - FBSDKShareMessengerGenericTemplateContent |
| | | |
| | | 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) |
| | | DEPRECATED_FOR_MESSENGER |
| | | @interface FBSDKMessageDialog : NSObject <FBSDKSharingDialog> |
| | | |
| | | /** |
| | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |
| | | |
| | | #endif |
| | |
| | | // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| | | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| | | |
| | | #import "TargetConditionals.h" |
| | | |
| | | #if !TARGET_OS_TV |
| | | |
| | | #import <UIKit/UIKit.h> |
| | | |
| | | #import <FBSDKCoreKit/FBSDKButton.h> |
| | | #import "FBSDKCoreKitImport.h" |
| | | |
| | | #import <FBSDKShareKit/FBSDKShareConstants.h> |
| | | #import <FBSDKShareKit/FBSDKSharingButton.h> |
| | | #import "FBSDKShareConstants.h" |
| | | #import "FBSDKSharingButton.h" |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | |
| | | Tapping the receiver will invoke the FBSDKShareDialog with the attached shareContent. If the dialog cannot |
| | | be shown, the button will be disable. |
| | | */ |
| | | DEPRECATED_FOR_MESSENGER |
| | | NS_SWIFT_NAME(FBSendButton) |
| | | @interface FBSDKSendButton : FBSDKButton <FBSDKSharingButton> |
| | | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |
| | | |
| | | #endif |
| | |
| | | // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| | | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| | | |
| | | #import "TargetConditionals.h" |
| | | |
| | | #if !TARGET_OS_TV |
| | | |
| | | #import <UIKit/UIKit.h> |
| | | |
| | | #import <FBSDKCoreKit/FBSDKButton.h> |
| | | #import "FBSDKCoreKitImport.h" |
| | | |
| | | #import <FBSDKShareKit/FBSDKSharingButton.h> |
| | | #import "FBSDKSharingButton.h" |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |
| | | |
| | | #endif |
| | |
| | | // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| | | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| | | |
| | | #import "TargetConditionals.h" |
| | | |
| | | #if !TARGET_OS_TV |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | #import <FBSDKShareKit/FBSDKCameraEffectArguments.h> |
| | | #import <FBSDKShareKit/FBSDKCameraEffectTextures.h> |
| | | #import <FBSDKShareKit/FBSDKSharingContent.h> |
| | | #import <FBSDKShareKit/FBSDKSharingScheme.h> |
| | | #import "FBSDKCameraEffectArguments.h" |
| | | #import "FBSDKCameraEffectTextures.h" |
| | | #import "FBSDKSharingContent.h" |
| | | #import "FBSDKSharingScheme.h" |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |
| | | |
| | | #endif |
| | |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | #ifndef DEPRECATED_FOR_MESSENGER |
| | | #define DEPRECATED_FOR_MESSENGER DEPRECATED_MSG_ATTRIBUTE("Sharing to Messenger via the SDK is unsupported. https://developers.facebook.com/docs/messenger-platform/changelog/#20190610. Sharing should be performed by the native share sheet.") |
| | | #endif |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | | #if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0 |
| | |
| | | // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| | | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| | | |
| | | #import "TargetConditionals.h" |
| | | |
| | | #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 <UIKit/UIKit.h> |
| | | |
| | | #import <FBSDKShareKit/FBSDKShareDialogMode.h> |
| | | #import <FBSDKShareKit/FBSDKSharing.h> |
| | | #import <FBSDKShareKit/FBSDKSharingContent.h> |
| | | #import "FBSDKShareDialogMode.h" |
| | | #import "FBSDKSharing.h" |
| | | #import "FBSDKSharingContent.h" |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |
| | | |
| | | #endif |
| | |
| | | // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| | | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| | | |
| | | #import <UIKit/UIKit.h> |
| | | |
| | | #import <FBSDKShareKit/FBSDKHashtag.h> |
| | | #import <FBSDKShareKit/FBSDKShareAPI.h> |
| | | #import <FBSDKShareKit/FBSDKShareConstants.h> |
| | | #import <FBSDKShareKit/FBSDKShareLinkContent.h> |
| | | #import <FBSDKShareKit/FBSDKShareMediaContent.h> |
| | | #import <FBSDKShareKit/FBSDKShareMessengerActionButton.h> |
| | | #import <FBSDKShareKit/FBSDKShareMessengerGenericTemplateContent.h> |
| | | #import <FBSDKShareKit/FBSDKShareMessengerGenericTemplateElement.h> |
| | | #import <FBSDKShareKit/FBSDKShareMessengerMediaTemplateContent.h> |
| | | #import <FBSDKShareKit/FBSDKShareMessengerOpenGraphMusicTemplateContent.h> |
| | | #import <FBSDKShareKit/FBSDKShareMessengerURLActionButton.h> |
| | | #import <FBSDKShareKit/FBSDKShareOpenGraphAction.h> |
| | | #import <FBSDKShareKit/FBSDKShareOpenGraphContent.h> |
| | | #import <FBSDKShareKit/FBSDKShareOpenGraphObject.h> |
| | | #import <FBSDKShareKit/FBSDKSharePhoto.h> |
| | | #import <FBSDKShareKit/FBSDKSharePhotoContent.h> |
| | | #import <FBSDKShareKit/FBSDKShareVideo.h> |
| | | #import <FBSDKShareKit/FBSDKShareVideoContent.h> |
| | | #import <FBSDKShareKit/FBSDKSharing.h> |
| | | #import <FBSDKShareKit/FBSDKSharingContent.h> |
| | | #import "FBSDKHashtag.h" |
| | | #import "FBSDKShareConstants.h" |
| | | #import "FBSDKShareLinkContent.h" |
| | | #import "FBSDKShareMediaContent.h" |
| | | #import "FBSDKSharePhoto.h" |
| | | #import "FBSDKSharePhotoContent.h" |
| | | #import "FBSDKShareVideo.h" |
| | | #import "FBSDKShareVideoContent.h" |
| | | #import "FBSDKSharing.h" |
| | | #import "FBSDKSharingContent.h" |
| | | #import "TargetConditionals.h" |
| | | |
| | | #if !TARGET_OS_TV |
| | | #import <FBSDKShareKit/FBSDKAppGroupContent.h> |
| | | #import <FBSDKShareKit/FBSDKAppInviteContent.h> |
| | | #import <FBSDKShareKit/FBSDKGameRequestContent.h> |
| | | #import <FBSDKShareKit/FBSDKGameRequestDialog.h> |
| | | #import <FBSDKShareKit/FBSDKLiking.h> |
| | | #import <FBSDKShareKit/FBSDKLikeObjectType.h> |
| | | #import <FBSDKShareKit/FBSDKMessageDialog.h> |
| | | #import <FBSDKShareKit/FBSDKShareButton.h> |
| | | #import <FBSDKShareKit/FBSDKShareCameraEffectContent.h> |
| | | #import <FBSDKShareKit/FBSDKShareDialog.h> |
| | | #import <FBSDKShareKit/FBSDKShareDialogMode.h> |
| | | #import <FBSDKShareKit/FBSDKSendButton.h> |
| | | #import "FBSDKAppGroupContent.h" |
| | | #import "FBSDKAppInviteContent.h" |
| | | #import "FBSDKGameRequestContent.h" |
| | | #import "FBSDKGameRequestDialog.h" |
| | | #import "FBSDKLikeObjectType.h" |
| | | #import "FBSDKLiking.h" |
| | | #import "FBSDKMessageDialog.h" |
| | | #import "FBSDKSendButton.h" |
| | | #import "FBSDKShareButton.h" |
| | | #import "FBSDKShareCameraEffectContent.h" |
| | | #import "FBSDKShareDialog.h" |
| | | #import "FBSDKShareDialogMode.h" |
| | | #else |
| | | #import <FBSDKShareKit/FBSDKDeviceShareViewController.h> |
| | | #import <FBSDKShareKit/FBSDKDeviceShareButton.h> |
| | | #import "FBSDKDeviceShareButton.h" |
| | | #import "FBSDKDeviceShareViewController.h" |
| | | #endif |
| | |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | #import <FBSDKShareKit/FBSDKSharingContent.h> |
| | | #import "FBSDKSharingContent.h" |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | #import <FBSDKShareKit/FBSDKSharingContent.h> |
| | | #import "FBSDKSharingContent.h" |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | |
| | | |
| | | #import <UIKit/UIKit.h> |
| | | |
| | | #import <FBSDKCoreKit/FBSDKCopying.h> |
| | | #import <FBSDKShareKit/FBSDKShareMediaContent.h> |
| | | #import <FBSDKShareKit/FBSDKSharingValidation.h> |
| | | #import "FBSDKCoreKitImport.h" |
| | | #import "FBSDKShareMediaContent.h" |
| | | #import "FBSDKSharingValidation.h" |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | #import <FBSDKShareKit/FBSDKSharingContent.h> |
| | | #import "FBSDKSharingContent.h" |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | |
| | | #import <Photos/Photos.h> |
| | | #import <UIKit/UIKit.h> |
| | | |
| | | #import <FBSDKCoreKit/FBSDKCopying.h> |
| | | #import <FBSDKShareKit/FBSDKShareMediaContent.h> |
| | | #import <FBSDKShareKit/FBSDKSharingValidation.h> |
| | | |
| | | #import "FBSDKCoreKitImport.h" |
| | | #import "FBSDKShareMediaContent.h" |
| | | #import "FBSDKSharingValidation.h" |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | | @class FBSDKSharePhoto; |
| | |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | #import <FBSDKShareKit/FBSDKSharePhoto.h> |
| | | #import <FBSDKShareKit/FBSDKShareVideo.h> |
| | | #import <FBSDKShareKit/FBSDKSharingContent.h> |
| | | #import "FBSDKSharePhoto.h" |
| | | #import "FBSDKShareVideo.h" |
| | | #import "FBSDKSharingContent.h" |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | #import <FBSDKShareKit/FBSDKSharingContent.h> |
| | | #import "FBSDKSharingContent.h" |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | |
| | | @see FBSDKShareDialog |
| | | |
| | | @see FBSDKMessageDialog |
| | | |
| | | @see FBSDKShareAPI |
| | | */ |
| | | NS_SWIFT_NAME(Sharing) |
| | | @protocol FBSDKSharing <NSObject> |
| | |
| | | // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| | | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| | | |
| | | #import "TargetConditionals.h" |
| | | |
| | | #if !TARGET_OS_TV |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | #import <FBSDKShareKit/FBSDKSharingContent.h> |
| | | #import "FBSDKSharingContent.h" |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |
| | | |
| | | #endif |
| | |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | #import <FBSDKCoreKit/FBSDKCopying.h> |
| | | #import <FBSDKShareKit/FBSDKSharingValidation.h> |
| | | #import "FBSDKCoreKitImport.h" |
| | | #import "FBSDKSharingValidation.h" |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | |
| | | // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| | | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| | | |
| | | #import "TargetConditionals.h" |
| | | |
| | | #if !TARGET_OS_TV |
| | | |
| | | #import "FBSDKShareDialogMode.h" |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |
| | | |
| | | #endif |
| | |
| | | |
| | | // In this header, you should import all the public headers of your framework using statements like #import <WAFbImpl/PublicHeader.h> |
| | | |
| | | //time:2020/05/20 09:27 ver:3.8.4 |
| | | //time:2021/01/28 09:27 ver:3.9.2 |