@ohos-ports/react-native-fbsdk-next 13.4.3-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +943 -0
- package/android/build.gradle +57 -0
- package/android/src/main/AndroidManifest.xml +46 -0
- package/android/src/main/java/com/facebook/reactnative/androidsdk/FBAccessTokenModule.java +151 -0
- package/android/src/main/java/com/facebook/reactnative/androidsdk/FBActivityEventListener.java +40 -0
- package/android/src/main/java/com/facebook/reactnative/androidsdk/FBAppEventsLoggerModule.java +414 -0
- package/android/src/main/java/com/facebook/reactnative/androidsdk/FBAppLinkModule.java +86 -0
- package/android/src/main/java/com/facebook/reactnative/androidsdk/FBGameRequestDialogModule.java +94 -0
- package/android/src/main/java/com/facebook/reactnative/androidsdk/FBGraphRequestModule.java +283 -0
- package/android/src/main/java/com/facebook/reactnative/androidsdk/FBLoginButtonManager.java +83 -0
- package/android/src/main/java/com/facebook/reactnative/androidsdk/FBLoginManagerModule.java +171 -0
- package/android/src/main/java/com/facebook/reactnative/androidsdk/FBMessageDialogModule.java +111 -0
- package/android/src/main/java/com/facebook/reactnative/androidsdk/FBProfileModule.java +68 -0
- package/android/src/main/java/com/facebook/reactnative/androidsdk/FBSDKCallbackManagerBaseJavaModule.java +41 -0
- package/android/src/main/java/com/facebook/reactnative/androidsdk/FBSDKPackage.java +60 -0
- package/android/src/main/java/com/facebook/reactnative/androidsdk/FBSendButtonManager.java +51 -0
- package/android/src/main/java/com/facebook/reactnative/androidsdk/FBSettingsModule.java +95 -0
- package/android/src/main/java/com/facebook/reactnative/androidsdk/FBShareButtonManager.java +53 -0
- package/android/src/main/java/com/facebook/reactnative/androidsdk/FBShareDialogModule.java +107 -0
- package/android/src/main/java/com/facebook/reactnative/androidsdk/RCTLoginButton.java +126 -0
- package/android/src/main/java/com/facebook/reactnative/androidsdk/RCTLoginButtonEvent.java +27 -0
- package/android/src/main/java/com/facebook/reactnative/androidsdk/ReactNativeFacebookSDKCallback.java +58 -0
- package/android/src/main/java/com/facebook/reactnative/androidsdk/Utility.java +283 -0
- package/app.plugin.js +1 -0
- package/expo-module.config.json +10 -0
- package/ios/ExpoAdapterFBSDKNext/FacebookAppDelegate.swift +21 -0
- package/ios/ExpoAdapterFBSDKNext.podspec +33 -0
- package/ios/RCTFBSDK/core/RCTConvert+FBSDKAccessToken.h +27 -0
- package/ios/RCTFBSDK/core/RCTConvert+FBSDKAccessToken.m +41 -0
- package/ios/RCTFBSDK/core/RCTFBSDKAEMReporter.m +30 -0
- package/ios/RCTFBSDK/core/RCTFBSDKAccessToken.h +24 -0
- package/ios/RCTFBSDK/core/RCTFBSDKAccessToken.m +115 -0
- package/ios/RCTFBSDK/core/RCTFBSDKAppEvents.h +24 -0
- package/ios/RCTFBSDK/core/RCTFBSDKAppEvents.m +251 -0
- package/ios/RCTFBSDK/core/RCTFBSDKAppLink.h +24 -0
- package/ios/RCTFBSDK/core/RCTFBSDKAppLink.m +52 -0
- package/ios/RCTFBSDK/core/RCTFBSDKAuthenticationToken.h +6 -0
- package/ios/RCTFBSDK/core/RCTFBSDKAuthenticationToken.m +35 -0
- package/ios/RCTFBSDK/core/RCTFBSDKGraphRequestConnectionContainer.h +50 -0
- package/ios/RCTFBSDK/core/RCTFBSDKGraphRequestConnectionContainer.m +124 -0
- package/ios/RCTFBSDK/core/RCTFBSDKGraphRequestManager.h +25 -0
- package/ios/RCTFBSDK/core/RCTFBSDKGraphRequestManager.m +43 -0
- package/ios/RCTFBSDK/core/RCTFBSDKProfile.h +6 -0
- package/ios/RCTFBSDK/core/RCTFBSDKProfile.m +58 -0
- package/ios/RCTFBSDK/core/RCTFBSDKSettings.h +14 -0
- package/ios/RCTFBSDK/core/RCTFBSDKSettings.m +80 -0
- package/ios/RCTFBSDK/login/RCTConvert+FBSDKLogin.h +28 -0
- package/ios/RCTFBSDK/login/RCTConvert+FBSDKLogin.m +35 -0
- package/ios/RCTFBSDK/login/RCTFBSDKLoginButtonManager.h +25 -0
- package/ios/RCTFBSDK/login/RCTFBSDKLoginButtonManager.m +73 -0
- package/ios/RCTFBSDK/login/RCTFBSDKLoginButtonView.h +12 -0
- package/ios/RCTFBSDK/login/RCTFBSDKLoginButtonView.m +57 -0
- package/ios/RCTFBSDK/login/RCTFBSDKLoginManager.h +22 -0
- package/ios/RCTFBSDK/login/RCTFBSDKLoginManager.m +154 -0
- package/ios/RCTFBSDK/share/RCTConvert+FBSDKSharingContent.h +29 -0
- package/ios/RCTFBSDK/share/RCTConvert+FBSDKSharingContent.m +111 -0
- package/ios/RCTFBSDK/share/RCTFBSDKGameRequestDialog.h +24 -0
- package/ios/RCTFBSDK/share/RCTFBSDKGameRequestDialog.m +134 -0
- package/ios/RCTFBSDK/share/RCTFBSDKMessageDialog.h +24 -0
- package/ios/RCTFBSDK/share/RCTFBSDKMessageDialog.m +116 -0
- package/ios/RCTFBSDK/share/RCTFBSDKSendButtonManager.h +25 -0
- package/ios/RCTFBSDK/share/RCTFBSDKSendButtonManager.m +39 -0
- package/ios/RCTFBSDK/share/RCTFBSDKShareButtonManager.h +23 -0
- package/ios/RCTFBSDK/share/RCTFBSDKShareButtonManager.m +39 -0
- package/ios/RCTFBSDK/share/RCTFBSDKShareDialog.h +24 -0
- package/ios/RCTFBSDK/share/RCTFBSDKShareDialog.m +134 -0
- package/ios/RCTFBSDK/share/RCTFBSDKShareHelper.h +21 -0
- package/ios/RCTFBSDK/share/RCTFBSDKShareHelper.m +32 -0
- package/ios/RCTFBSDK.xcodeproj/project.pbxproj +446 -0
- package/ios/RCTFBSDK.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- package/ios/RCTFBSDK.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/jest/mocks/index.js +81 -0
- package/jest/setup.js +3 -0
- package/lib/commonjs/FBAEMReporter.js +39 -0
- package/lib/commonjs/FBAEMReporter.js.map +1 -0
- package/lib/commonjs/FBAccessToken.js +198 -0
- package/lib/commonjs/FBAccessToken.js.map +1 -0
- package/lib/commonjs/FBAppEventsLogger.js +221 -0
- package/lib/commonjs/FBAppEventsLogger.js.map +1 -0
- package/lib/commonjs/FBAppLink.js +36 -0
- package/lib/commonjs/FBAppLink.js.map +1 -0
- package/lib/commonjs/FBAuthenticationToken.js +55 -0
- package/lib/commonjs/FBAuthenticationToken.js.map +1 -0
- package/lib/commonjs/FBGameRequestDialog.js +45 -0
- package/lib/commonjs/FBGameRequestDialog.js.map +1 -0
- package/lib/commonjs/FBGraphRequest.js +66 -0
- package/lib/commonjs/FBGraphRequest.js.map +1 -0
- package/lib/commonjs/FBGraphRequestManager.js +96 -0
- package/lib/commonjs/FBGraphRequestManager.js.map +1 -0
- package/lib/commonjs/FBLoginButton.js +67 -0
- package/lib/commonjs/FBLoginButton.js.map +1 -0
- package/lib/commonjs/FBLoginManager.js +102 -0
- package/lib/commonjs/FBLoginManager.js.map +1 -0
- package/lib/commonjs/FBMessageDialog.js +51 -0
- package/lib/commonjs/FBMessageDialog.js.map +1 -0
- package/lib/commonjs/FBProfile.js +134 -0
- package/lib/commonjs/FBProfile.js.map +1 -0
- package/lib/commonjs/FBSendButton.js +48 -0
- package/lib/commonjs/FBSendButton.js.map +1 -0
- package/lib/commonjs/FBSettings.js +115 -0
- package/lib/commonjs/FBSettings.js.map +1 -0
- package/lib/commonjs/FBShareButton.js +48 -0
- package/lib/commonjs/FBShareButton.js.map +1 -0
- package/lib/commonjs/FBShareDialog.js +57 -0
- package/lib/commonjs/FBShareDialog.js.map +1 -0
- package/lib/commonjs/index.js +323 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/models/FBAppGroupCreationContent.js +2 -0
- package/lib/commonjs/models/FBAppGroupCreationContent.js.map +1 -0
- package/lib/commonjs/models/FBGameRequestContent.js +2 -0
- package/lib/commonjs/models/FBGameRequestContent.js.map +1 -0
- package/lib/commonjs/models/FBSDKCallback.js +2 -0
- package/lib/commonjs/models/FBSDKCallback.js.map +1 -0
- package/lib/commonjs/models/FBShareContent.js +6 -0
- package/lib/commonjs/models/FBShareContent.js.map +1 -0
- package/lib/commonjs/models/FBShareLinkContent.js +6 -0
- package/lib/commonjs/models/FBShareLinkContent.js.map +1 -0
- package/lib/commonjs/models/FBSharePhoto.js +2 -0
- package/lib/commonjs/models/FBSharePhoto.js.map +1 -0
- package/lib/commonjs/models/FBSharePhotoContent.js +6 -0
- package/lib/commonjs/models/FBSharePhotoContent.js.map +1 -0
- package/lib/commonjs/models/FBShareVideo.js +2 -0
- package/lib/commonjs/models/FBShareVideo.js.map +1 -0
- package/lib/commonjs/models/FBShareVideoContent.js +6 -0
- package/lib/commonjs/models/FBShareVideoContent.js.map +1 -0
- package/lib/commonjs/util/validate.js +180 -0
- package/lib/commonjs/util/validate.js.map +1 -0
- package/lib/commonjs/utils/index.js +2 -0
- package/lib/commonjs/utils/index.js.map +1 -0
- package/lib/module/FBAEMReporter.js +34 -0
- package/lib/module/FBAEMReporter.js.map +1 -0
- package/lib/module/FBAccessToken.js +191 -0
- package/lib/module/FBAccessToken.js.map +1 -0
- package/lib/module/FBAppEventsLogger.js +215 -0
- package/lib/module/FBAppEventsLogger.js.map +1 -0
- package/lib/module/FBAppLink.js +29 -0
- package/lib/module/FBAppLink.js.map +1 -0
- package/lib/module/FBAuthenticationToken.js +48 -0
- package/lib/module/FBAuthenticationToken.js.map +1 -0
- package/lib/module/FBGameRequestDialog.js +39 -0
- package/lib/module/FBGameRequestDialog.js.map +1 -0
- package/lib/module/FBGraphRequest.js +60 -0
- package/lib/module/FBGraphRequest.js.map +1 -0
- package/lib/module/FBGraphRequestManager.js +90 -0
- package/lib/module/FBGraphRequestManager.js.map +1 -0
- package/lib/module/FBLoginButton.js +62 -0
- package/lib/module/FBLoginButton.js.map +1 -0
- package/lib/module/FBLoginManager.js +97 -0
- package/lib/module/FBLoginManager.js.map +1 -0
- package/lib/module/FBMessageDialog.js +45 -0
- package/lib/module/FBMessageDialog.js.map +1 -0
- package/lib/module/FBProfile.js +127 -0
- package/lib/module/FBProfile.js.map +1 -0
- package/lib/module/FBSendButton.js +41 -0
- package/lib/module/FBSendButton.js.map +1 -0
- package/lib/module/FBSettings.js +108 -0
- package/lib/module/FBSettings.js.map +1 -0
- package/lib/module/FBShareButton.js +41 -0
- package/lib/module/FBShareButton.js.map +1 -0
- package/lib/module/FBShareDialog.js +51 -0
- package/lib/module/FBShareDialog.js.map +1 -0
- package/lib/module/index.js +44 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/models/FBAppGroupCreationContent.js +2 -0
- package/lib/module/models/FBAppGroupCreationContent.js.map +1 -0
- package/lib/module/models/FBGameRequestContent.js +2 -0
- package/lib/module/models/FBGameRequestContent.js.map +1 -0
- package/lib/module/models/FBSDKCallback.js +2 -0
- package/lib/module/models/FBSDKCallback.js.map +1 -0
- package/lib/module/models/FBShareContent.js +2 -0
- package/lib/module/models/FBShareContent.js.map +1 -0
- package/lib/module/models/FBShareLinkContent.js +2 -0
- package/lib/module/models/FBShareLinkContent.js.map +1 -0
- package/lib/module/models/FBSharePhoto.js +2 -0
- package/lib/module/models/FBSharePhoto.js.map +1 -0
- package/lib/module/models/FBSharePhotoContent.js +2 -0
- package/lib/module/models/FBSharePhotoContent.js.map +1 -0
- package/lib/module/models/FBShareVideo.js +2 -0
- package/lib/module/models/FBShareVideo.js.map +1 -0
- package/lib/module/models/FBShareVideoContent.js +2 -0
- package/lib/module/models/FBShareVideoContent.js.map +1 -0
- package/lib/module/util/validate.js +157 -0
- package/lib/module/util/validate.js.map +1 -0
- package/lib/module/utils/index.js +2 -0
- package/lib/module/utils/index.js.map +1 -0
- package/lib/typescript/FBAEMReporter.d.ts +21 -0
- package/lib/typescript/FBAEMReporter.d.ts.map +1 -0
- package/lib/typescript/FBAccessToken.d.ts +118 -0
- package/lib/typescript/FBAccessToken.d.ts.map +1 -0
- package/lib/typescript/FBAppEventsLogger.d.ts +201 -0
- package/lib/typescript/FBAppEventsLogger.d.ts.map +1 -0
- package/lib/typescript/FBAppLink.d.ts +5 -0
- package/lib/typescript/FBAppLink.d.ts.map +1 -0
- package/lib/typescript/FBAuthenticationToken.d.ts +29 -0
- package/lib/typescript/FBAuthenticationToken.d.ts.map +1 -0
- package/lib/typescript/FBGameRequestDialog.d.ts +39 -0
- package/lib/typescript/FBGameRequestDialog.d.ts.map +1 -0
- package/lib/typescript/FBGraphRequest.d.ts +70 -0
- package/lib/typescript/FBGraphRequest.d.ts.map +1 -0
- package/lib/typescript/FBGraphRequestManager.d.ts +51 -0
- package/lib/typescript/FBGraphRequestManager.d.ts.map +1 -0
- package/lib/typescript/FBLoginButton.d.ts +92 -0
- package/lib/typescript/FBLoginButton.d.ts.map +1 -0
- package/lib/typescript/FBLoginManager.d.ts +77 -0
- package/lib/typescript/FBLoginManager.d.ts.map +1 -0
- package/lib/typescript/FBMessageDialog.d.ts +42 -0
- package/lib/typescript/FBMessageDialog.d.ts.map +1 -0
- package/lib/typescript/FBProfile.d.ts +127 -0
- package/lib/typescript/FBProfile.d.ts.map +1 -0
- package/lib/typescript/FBSendButton.d.ts +42 -0
- package/lib/typescript/FBSendButton.d.ts.map +1 -0
- package/lib/typescript/FBSettings.d.ts +49 -0
- package/lib/typescript/FBSettings.d.ts.map +1 -0
- package/lib/typescript/FBShareButton.d.ts +42 -0
- package/lib/typescript/FBShareButton.d.ts.map +1 -0
- package/lib/typescript/FBShareDialog.d.ts +69 -0
- package/lib/typescript/FBShareDialog.d.ts.map +1 -0
- package/lib/typescript/index.d.ts +43 -0
- package/lib/typescript/index.d.ts.map +1 -0
- package/lib/typescript/models/FBAppGroupCreationContent.d.ts +43 -0
- package/lib/typescript/models/FBAppGroupCreationContent.d.ts.map +1 -0
- package/lib/typescript/models/FBGameRequestContent.d.ts +63 -0
- package/lib/typescript/models/FBGameRequestContent.d.ts.map +1 -0
- package/lib/typescript/models/FBSDKCallback.d.ts +4 -0
- package/lib/typescript/models/FBSDKCallback.d.ts.map +1 -0
- package/lib/typescript/models/FBShareContent.d.ts +48 -0
- package/lib/typescript/models/FBShareContent.d.ts.map +1 -0
- package/lib/typescript/models/FBShareLinkContent.d.ts +65 -0
- package/lib/typescript/models/FBShareLinkContent.d.ts.map +1 -0
- package/lib/typescript/models/FBSharePhoto.d.ts +43 -0
- package/lib/typescript/models/FBSharePhoto.d.ts.map +1 -0
- package/lib/typescript/models/FBSharePhotoContent.d.ts +45 -0
- package/lib/typescript/models/FBSharePhotoContent.d.ts.map +1 -0
- package/lib/typescript/models/FBShareVideo.d.ts +31 -0
- package/lib/typescript/models/FBShareVideo.d.ts.map +1 -0
- package/lib/typescript/models/FBShareVideoContent.d.ts +58 -0
- package/lib/typescript/models/FBShareVideoContent.d.ts.map +1 -0
- package/lib/typescript/util/validate.d.ts +62 -0
- package/lib/typescript/util/validate.d.ts.map +1 -0
- package/lib/typescript/utils/index.d.ts +2 -0
- package/lib/typescript/utils/index.d.ts.map +1 -0
- package/package.json +155 -0
- package/plugin/build/config.d.ts +53 -0
- package/plugin/build/config.js +46 -0
- package/plugin/build/withFacebook.d.ts +4 -0
- package/plugin/build/withFacebook.js +59 -0
- package/plugin/build/withFacebookAndroid.d.ts +6 -0
- package/plugin/build/withFacebookAndroid.js +197 -0
- package/plugin/build/withFacebookIOS.d.ts +15 -0
- package/plugin/build/withFacebookIOS.js +163 -0
- package/plugin/build/withSKAdNetworkIdentifiers.d.ts +9 -0
- package/plugin/build/withSKAdNetworkIdentifiers.js +36 -0
- package/plugin/tsconfig.json +9 -0
- package/react-native-fbsdk-next.podspec +34 -0
- package/src/FBAEMReporter.ts +44 -0
- package/src/FBAccessToken.ts +222 -0
- package/src/FBAppEventsLogger.ts +375 -0
- package/src/FBAppLink.ts +30 -0
- package/src/FBAuthenticationToken.ts +61 -0
- package/src/FBGameRequestDialog.ts +49 -0
- package/src/FBGraphRequest.ts +89 -0
- package/src/FBGraphRequestManager.ts +117 -0
- package/src/FBLoginButton.tsx +152 -0
- package/src/FBLoginManager.ts +133 -0
- package/src/FBMessageDialog.ts +53 -0
- package/src/FBProfile.ts +166 -0
- package/src/FBSendButton.tsx +61 -0
- package/src/FBSettings.ts +122 -0
- package/src/FBShareButton.tsx +61 -0
- package/src/FBShareDialog.ts +96 -0
- package/src/index.ts +85 -0
- package/src/models/FBAppGroupCreationContent.ts +48 -0
- package/src/models/FBGameRequestContent.ts +81 -0
- package/src/models/FBSDKCallback.ts +3 -0
- package/src/models/FBShareContent.ts +54 -0
- package/src/models/FBShareLinkContent.ts +71 -0
- package/src/models/FBSharePhoto.ts +45 -0
- package/src/models/FBSharePhotoContent.ts +48 -0
- package/src/models/FBShareVideo.ts +31 -0
- package/src/models/FBShareVideoContent.ts +64 -0
- package/src/util/validate.ts +167 -0
- package/src/utils/index.ts +1 -0
- package/tsconfig.json +103 -0
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
// Copyright (c) 2015-present, Facebook, Inc. All rights reserved.
|
|
2
|
+
//
|
|
3
|
+
// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
|
|
4
|
+
// copy, modify, and distribute this software in source code or binary form for use
|
|
5
|
+
// in connection with the web services and APIs provided by Facebook.
|
|
6
|
+
//
|
|
7
|
+
// As with any software that integrates with the Facebook platform, your use of
|
|
8
|
+
// this software is subject to the Facebook Developer Principles and Policies
|
|
9
|
+
// [http://developers.facebook.com/policy/]. This copyright notice shall be
|
|
10
|
+
// included in all copies or substantial portions of the software.
|
|
11
|
+
//
|
|
12
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
14
|
+
// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
15
|
+
// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
16
|
+
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
17
|
+
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
18
|
+
|
|
19
|
+
#import "RCTFBSDKShareDialog.h"
|
|
20
|
+
|
|
21
|
+
#import <React/RCTUtils.h>
|
|
22
|
+
|
|
23
|
+
#import "RCTConvert+FBSDKSharingContent.h"
|
|
24
|
+
|
|
25
|
+
@implementation RCTConvert (FBSDKShareDialog)
|
|
26
|
+
|
|
27
|
+
RCT_ENUM_CONVERTER(FBSDKShareDialogMode, (@{
|
|
28
|
+
@"automatic": @(FBSDKShareDialogModeAutomatic),
|
|
29
|
+
@"browser": @(FBSDKShareDialogModeBrowser),
|
|
30
|
+
@"webview": @(FBSDKShareDialogModeWeb),
|
|
31
|
+
@"native": @(FBSDKShareDialogModeNative),
|
|
32
|
+
}), FBSDKShareDialogModeAutomatic, unsignedLongValue)
|
|
33
|
+
|
|
34
|
+
@end
|
|
35
|
+
|
|
36
|
+
@implementation RCTFBSDKShareDialog
|
|
37
|
+
{
|
|
38
|
+
FBSDKShareDialog *_shareDialog;
|
|
39
|
+
RCTPromiseResolveBlock _showResolve;
|
|
40
|
+
RCTPromiseRejectBlock _showReject;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
RCT_EXPORT_MODULE(FBShareDialog);
|
|
44
|
+
|
|
45
|
+
#pragma mark - Object Lifecycle
|
|
46
|
+
|
|
47
|
+
- (instancetype)init
|
|
48
|
+
{
|
|
49
|
+
if (self = [super init]) {
|
|
50
|
+
_shareDialog = [[FBSDKShareDialog alloc] initWithViewController:nil content:nil delegate:self];
|
|
51
|
+
}
|
|
52
|
+
return self;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
+ (BOOL)requiresMainQueueSetup
|
|
56
|
+
{
|
|
57
|
+
return YES;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
#pragma mark - React Native Methods
|
|
61
|
+
|
|
62
|
+
RCT_EXPORT_METHOD(canShow:(RCTFBSDKSharingContent)content resolver:(RCTPromiseResolveBlock)resolve rejecter:(RCTPromiseRejectBlock)reject)
|
|
63
|
+
{
|
|
64
|
+
_shareDialog.shareContent = nil;
|
|
65
|
+
dispatch_async(dispatch_get_main_queue(), ^{
|
|
66
|
+
if ([self->_shareDialog canShow]) {
|
|
67
|
+
self->_shareDialog.shareContent = content;
|
|
68
|
+
NSError *error;
|
|
69
|
+
if ([self->_shareDialog validateWithError:&error]) {
|
|
70
|
+
resolve(@YES);
|
|
71
|
+
} else {
|
|
72
|
+
reject(@"FacebookSDK", @"SharingContent is invalid", error);
|
|
73
|
+
}
|
|
74
|
+
} else {
|
|
75
|
+
resolve(@NO);
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
RCT_EXPORT_METHOD(show:(RCTFBSDKSharingContent)content
|
|
81
|
+
resolver:(RCTPromiseResolveBlock)resolve
|
|
82
|
+
rejecter:(RCTPromiseRejectBlock)reject)
|
|
83
|
+
{
|
|
84
|
+
_showResolve = resolve;
|
|
85
|
+
_showReject = reject;
|
|
86
|
+
_shareDialog.shareContent = content;
|
|
87
|
+
dispatch_async(dispatch_get_main_queue(), ^{
|
|
88
|
+
if (!self->_shareDialog.fromViewController) {
|
|
89
|
+
self->_shareDialog.fromViewController = RCTPresentedViewController();
|
|
90
|
+
}
|
|
91
|
+
[self->_shareDialog show];
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
RCT_EXPORT_METHOD(setMode:(FBSDKShareDialogMode)mode)
|
|
96
|
+
{
|
|
97
|
+
_shareDialog.mode = mode;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
RCT_EXPORT_METHOD(setShouldFailOnDataError:(BOOL)shouldFailOnDataError)
|
|
101
|
+
{
|
|
102
|
+
_shareDialog.shouldFailOnDataError = shouldFailOnDataError;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
#pragma mark - FBSDKSharingDelegate
|
|
106
|
+
|
|
107
|
+
- (void)sharer:(id<FBSDKSharing>)sharer didCompleteWithResults:(NSDictionary *)results
|
|
108
|
+
{
|
|
109
|
+
if (_showResolve) {
|
|
110
|
+
_showResolve(results);
|
|
111
|
+
_showResolve = nil;
|
|
112
|
+
}
|
|
113
|
+
_showReject = nil;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
- (void)sharer:(id<FBSDKSharing>)sharer didFailWithError:(NSError *)error
|
|
117
|
+
{
|
|
118
|
+
if (_showReject) {
|
|
119
|
+
_showReject(@"FacebookSDK", @"ShareDialog encounters error", error);
|
|
120
|
+
_showReject = nil;
|
|
121
|
+
}
|
|
122
|
+
_showResolve = nil;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
- (void)sharerDidCancel:(id<FBSDKSharing>)sharer
|
|
126
|
+
{
|
|
127
|
+
if (_showResolve) {
|
|
128
|
+
_showResolve(@{@"isCancelled": @YES});
|
|
129
|
+
_showResolve = nil;
|
|
130
|
+
}
|
|
131
|
+
_showReject = nil;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
@end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// Copyright (c) 2015-present, Facebook, Inc. All rights reserved.
|
|
2
|
+
//
|
|
3
|
+
// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
|
|
4
|
+
// copy, modify, and distribute this software in source code or binary form for use
|
|
5
|
+
// in connection with the web services and APIs provided by Facebook.
|
|
6
|
+
//
|
|
7
|
+
// As with any software that integrates with the Facebook platform, your use of
|
|
8
|
+
// this software is subject to the Facebook Developer Principles and Policies
|
|
9
|
+
// [http://developers.facebook.com/policy/]. This copyright notice shall be
|
|
10
|
+
// included in all copies or substantial portions of the software.
|
|
11
|
+
//
|
|
12
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
14
|
+
// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
15
|
+
// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
16
|
+
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
17
|
+
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
18
|
+
|
|
19
|
+
#import <FBSDKShareKit/FBSDKShareKit.h>
|
|
20
|
+
|
|
21
|
+
void RCTGenerateUIImagesForPhotoContent(FBSDKSharePhotoContent *content);
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// Copyright (c) 2015-present, Facebook, Inc. All rights reserved.
|
|
2
|
+
//
|
|
3
|
+
// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
|
|
4
|
+
// copy, modify, and distribute this software in source code or binary form for use
|
|
5
|
+
// in connection with the web services and APIs provided by Facebook.
|
|
6
|
+
//
|
|
7
|
+
// As with any software that integrates with the Facebook platform, your use of
|
|
8
|
+
// this software is subject to the Facebook Developer Principles and Policies
|
|
9
|
+
// [http://developers.facebook.com/policy/]. This copyright notice shall be
|
|
10
|
+
// included in all copies or substantial portions of the software.
|
|
11
|
+
//
|
|
12
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
14
|
+
// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
15
|
+
// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
16
|
+
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
17
|
+
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
18
|
+
|
|
19
|
+
#import "RCTFBSDKShareHelper.h"
|
|
20
|
+
|
|
21
|
+
void RCTGenerateUIImagesForPhotoContent(FBSDKSharePhotoContent *content)
|
|
22
|
+
{
|
|
23
|
+
for (FBSDKSharePhoto *p in content.photos) {
|
|
24
|
+
if (!p.image) {
|
|
25
|
+
if ([p.imageURL isFileURL]) {
|
|
26
|
+
p.image = [UIImage imageWithContentsOfFile:p.imageURL.path];
|
|
27
|
+
} else {
|
|
28
|
+
p.image = [UIImage imageWithData:[NSData dataWithContentsOfURL:p.imageURL]];
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,446 @@
|
|
|
1
|
+
// !$*UTF8*$!
|
|
2
|
+
{
|
|
3
|
+
archiveVersion = 1;
|
|
4
|
+
classes = {
|
|
5
|
+
};
|
|
6
|
+
objectVersion = 46;
|
|
7
|
+
objects = {
|
|
8
|
+
|
|
9
|
+
/* Begin PBXBuildFile section */
|
|
10
|
+
10E3C0CF2626E85700016645 /* RCTFBSDKAuthenticationToken.m in Sources */ = {isa = PBXBuildFile; fileRef = 10E3C0CE2626E85700016645 /* RCTFBSDKAuthenticationToken.m */; };
|
|
11
|
+
93B905C21D2D987F0013CC92 /* RCTFBSDKGraphRequestConnectionContainer.m in Sources */ = {isa = PBXBuildFile; fileRef = 93B905C11D2D987F0013CC92 /* RCTFBSDKGraphRequestConnectionContainer.m */; };
|
|
12
|
+
93E0043A1CE3C33F000598E3 /* FBSDKCoreKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 93E004371CE3C33F000598E3 /* FBSDKCoreKit.framework */; };
|
|
13
|
+
93E0043B1CE3C33F000598E3 /* FBSDKLoginKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 93E004381CE3C33F000598E3 /* FBSDKLoginKit.framework */; };
|
|
14
|
+
93E0043C1CE3C33F000598E3 /* FBSDKShareKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 93E004391CE3C33F000598E3 /* FBSDKShareKit.framework */; };
|
|
15
|
+
93E004E31CE3D292000598E3 /* RCTConvert+FBSDKAccessToken.m in Sources */ = {isa = PBXBuildFile; fileRef = 93E004DC1CE3D292000598E3 /* RCTConvert+FBSDKAccessToken.m */; };
|
|
16
|
+
93E004E41CE3D292000598E3 /* RCTFBSDKAccessToken.m in Sources */ = {isa = PBXBuildFile; fileRef = 93E004DE1CE3D292000598E3 /* RCTFBSDKAccessToken.m */; };
|
|
17
|
+
93E004E51CE3D292000598E3 /* RCTFBSDKAppEvents.m in Sources */ = {isa = PBXBuildFile; fileRef = 93E004E01CE3D292000598E3 /* RCTFBSDKAppEvents.m */; };
|
|
18
|
+
93E004E61CE3D292000598E3 /* RCTFBSDKGraphRequestManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 93E004E21CE3D292000598E3 /* RCTFBSDKGraphRequestManager.m */; };
|
|
19
|
+
93E004EF1CE3D2B4000598E3 /* RCTConvert+FBSDKLogin.m in Sources */ = {isa = PBXBuildFile; fileRef = 93E004EA1CE3D2B4000598E3 /* RCTConvert+FBSDKLogin.m */; };
|
|
20
|
+
93E004F01CE3D2B4000598E3 /* RCTFBSDKLoginButtonManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 93E004EC1CE3D2B4000598E3 /* RCTFBSDKLoginButtonManager.m */; };
|
|
21
|
+
93E004F11CE3D2B4000598E3 /* RCTFBSDKLoginManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 93E004EE1CE3D2B4000598E3 /* RCTFBSDKLoginManager.m */; };
|
|
22
|
+
93E0050B1CE3D2D3000598E3 /* RCTConvert+FBSDKSharingContent.m in Sources */ = {isa = PBXBuildFile; fileRef = 93E004F41CE3D2D3000598E3 /* RCTConvert+FBSDKSharingContent.m */; };
|
|
23
|
+
93E0050F1CE3D2D3000598E3 /* RCTFBSDKGameRequestDialog.m in Sources */ = {isa = PBXBuildFile; fileRef = 93E004FC1CE3D2D3000598E3 /* RCTFBSDKGameRequestDialog.m */; };
|
|
24
|
+
93E005111CE3D2D3000598E3 /* RCTFBSDKMessageDialog.m in Sources */ = {isa = PBXBuildFile; fileRef = 93E005001CE3D2D3000598E3 /* RCTFBSDKMessageDialog.m */; };
|
|
25
|
+
93E005121CE3D2D3000598E3 /* RCTFBSDKSendButtonManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 93E005021CE3D2D3000598E3 /* RCTFBSDKSendButtonManager.m */; };
|
|
26
|
+
93E005141CE3D2D3000598E3 /* RCTFBSDKShareButtonManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 93E005061CE3D2D3000598E3 /* RCTFBSDKShareButtonManager.m */; };
|
|
27
|
+
93E005151CE3D2D3000598E3 /* RCTFBSDKShareDialog.m in Sources */ = {isa = PBXBuildFile; fileRef = 93E005081CE3D2D3000598E3 /* RCTFBSDKShareDialog.m */; };
|
|
28
|
+
93E005161CE3D2D3000598E3 /* RCTFBSDKShareHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = 93E0050A1CE3D2D3000598E3 /* RCTFBSDKShareHelper.m */; };
|
|
29
|
+
B34601D02628529500AC1860 /* RCTFBSDKProfile.m in Sources */ = {isa = PBXBuildFile; fileRef = B34601CF2628529500AC1860 /* RCTFBSDKProfile.m */; };
|
|
30
|
+
F1191EC92560474100A8767F /* RCTFBSDKAppLink.m in Sources */ = {isa = PBXBuildFile; fileRef = F1191EC82560474100A8767F /* RCTFBSDKAppLink.m */; };
|
|
31
|
+
F16CE2DB276CAE30003CABEB /* RCTFBSDKSettings.m in Sources */ = {isa = PBXBuildFile; fileRef = F16CE2DA276CAE30003CABEB /* RCTFBSDKSettings.m */; };
|
|
32
|
+
F1781000276CC2EB0045DEF1 /* RCTFBSDKAEMReporter.m in Sources */ = {isa = PBXBuildFile; fileRef = F1780FFF276CC2EB0045DEF1 /* RCTFBSDKAEMReporter.m */; };
|
|
33
|
+
/* End PBXBuildFile section */
|
|
34
|
+
|
|
35
|
+
/* Begin PBXCopyFilesBuildPhase section */
|
|
36
|
+
9350E0EF1CE3B0920041D815 /* CopyFiles */ = {
|
|
37
|
+
isa = PBXCopyFilesBuildPhase;
|
|
38
|
+
buildActionMask = 2147483647;
|
|
39
|
+
dstPath = "include/$(PRODUCT_NAME)";
|
|
40
|
+
dstSubfolderSpec = 16;
|
|
41
|
+
files = (
|
|
42
|
+
);
|
|
43
|
+
runOnlyForDeploymentPostprocessing = 0;
|
|
44
|
+
};
|
|
45
|
+
/* End PBXCopyFilesBuildPhase section */
|
|
46
|
+
|
|
47
|
+
/* Begin PBXFileReference section */
|
|
48
|
+
10E3C0CE2626E85700016645 /* RCTFBSDKAuthenticationToken.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = RCTFBSDKAuthenticationToken.m; path = core/RCTFBSDKAuthenticationToken.m; sourceTree = "<group>"; };
|
|
49
|
+
10E3C0D12626E87A00016645 /* RCTFBSDKAuthenticationToken.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = RCTFBSDKAuthenticationToken.h; path = core/RCTFBSDKAuthenticationToken.h; sourceTree = "<group>"; };
|
|
50
|
+
9350E0F11CE3B0920041D815 /* libRCTFBSDK.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRCTFBSDK.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
51
|
+
93B905C01D2D987F0013CC92 /* RCTFBSDKGraphRequestConnectionContainer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RCTFBSDKGraphRequestConnectionContainer.h; path = core/RCTFBSDKGraphRequestConnectionContainer.h; sourceTree = "<group>"; };
|
|
52
|
+
93B905C11D2D987F0013CC92 /* RCTFBSDKGraphRequestConnectionContainer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = RCTFBSDKGraphRequestConnectionContainer.m; path = core/RCTFBSDKGraphRequestConnectionContainer.m; sourceTree = "<group>"; };
|
|
53
|
+
93E004371CE3C33F000598E3 /* FBSDKCoreKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = FBSDKCoreKit.framework; path = ../../../../../../Documents/FacebookSDK/FBSDKCoreKit.framework; sourceTree = "<group>"; };
|
|
54
|
+
93E004381CE3C33F000598E3 /* FBSDKLoginKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = FBSDKLoginKit.framework; path = ../../../../../../Documents/FacebookSDK/FBSDKLoginKit.framework; sourceTree = "<group>"; };
|
|
55
|
+
93E004391CE3C33F000598E3 /* FBSDKShareKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = FBSDKShareKit.framework; path = ../../../../../../Documents/FacebookSDK/FBSDKShareKit.framework; sourceTree = "<group>"; };
|
|
56
|
+
93E004DB1CE3D292000598E3 /* RCTConvert+FBSDKAccessToken.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "RCTConvert+FBSDKAccessToken.h"; path = "core/RCTConvert+FBSDKAccessToken.h"; sourceTree = "<group>"; };
|
|
57
|
+
93E004DC1CE3D292000598E3 /* RCTConvert+FBSDKAccessToken.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = "RCTConvert+FBSDKAccessToken.m"; path = "core/RCTConvert+FBSDKAccessToken.m"; sourceTree = "<group>"; };
|
|
58
|
+
93E004DD1CE3D292000598E3 /* RCTFBSDKAccessToken.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RCTFBSDKAccessToken.h; path = core/RCTFBSDKAccessToken.h; sourceTree = "<group>"; };
|
|
59
|
+
93E004DE1CE3D292000598E3 /* RCTFBSDKAccessToken.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = RCTFBSDKAccessToken.m; path = core/RCTFBSDKAccessToken.m; sourceTree = "<group>"; };
|
|
60
|
+
93E004DF1CE3D292000598E3 /* RCTFBSDKAppEvents.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RCTFBSDKAppEvents.h; path = core/RCTFBSDKAppEvents.h; sourceTree = "<group>"; };
|
|
61
|
+
93E004E01CE3D292000598E3 /* RCTFBSDKAppEvents.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = RCTFBSDKAppEvents.m; path = core/RCTFBSDKAppEvents.m; sourceTree = "<group>"; };
|
|
62
|
+
93E004E11CE3D292000598E3 /* RCTFBSDKGraphRequestManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RCTFBSDKGraphRequestManager.h; path = core/RCTFBSDKGraphRequestManager.h; sourceTree = "<group>"; };
|
|
63
|
+
93E004E21CE3D292000598E3 /* RCTFBSDKGraphRequestManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = RCTFBSDKGraphRequestManager.m; path = core/RCTFBSDKGraphRequestManager.m; sourceTree = "<group>"; };
|
|
64
|
+
93E004E91CE3D2B4000598E3 /* RCTConvert+FBSDKLogin.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "RCTConvert+FBSDKLogin.h"; path = "login/RCTConvert+FBSDKLogin.h"; sourceTree = "<group>"; };
|
|
65
|
+
93E004EA1CE3D2B4000598E3 /* RCTConvert+FBSDKLogin.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = "RCTConvert+FBSDKLogin.m"; path = "login/RCTConvert+FBSDKLogin.m"; sourceTree = "<group>"; };
|
|
66
|
+
93E004EB1CE3D2B4000598E3 /* RCTFBSDKLoginButtonManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RCTFBSDKLoginButtonManager.h; path = login/RCTFBSDKLoginButtonManager.h; sourceTree = "<group>"; };
|
|
67
|
+
93E004EC1CE3D2B4000598E3 /* RCTFBSDKLoginButtonManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = RCTFBSDKLoginButtonManager.m; path = login/RCTFBSDKLoginButtonManager.m; sourceTree = "<group>"; };
|
|
68
|
+
93E004ED1CE3D2B4000598E3 /* RCTFBSDKLoginManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RCTFBSDKLoginManager.h; path = login/RCTFBSDKLoginManager.h; sourceTree = "<group>"; };
|
|
69
|
+
93E004EE1CE3D2B4000598E3 /* RCTFBSDKLoginManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = RCTFBSDKLoginManager.m; path = login/RCTFBSDKLoginManager.m; sourceTree = "<group>"; };
|
|
70
|
+
93E004F31CE3D2D3000598E3 /* RCTConvert+FBSDKSharingContent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "RCTConvert+FBSDKSharingContent.h"; path = "share/RCTConvert+FBSDKSharingContent.h"; sourceTree = "<group>"; };
|
|
71
|
+
93E004F41CE3D2D3000598E3 /* RCTConvert+FBSDKSharingContent.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = "RCTConvert+FBSDKSharingContent.m"; path = "share/RCTConvert+FBSDKSharingContent.m"; sourceTree = "<group>"; };
|
|
72
|
+
93E004FB1CE3D2D3000598E3 /* RCTFBSDKGameRequestDialog.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RCTFBSDKGameRequestDialog.h; path = share/RCTFBSDKGameRequestDialog.h; sourceTree = "<group>"; };
|
|
73
|
+
93E004FC1CE3D2D3000598E3 /* RCTFBSDKGameRequestDialog.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = RCTFBSDKGameRequestDialog.m; path = share/RCTFBSDKGameRequestDialog.m; sourceTree = "<group>"; };
|
|
74
|
+
93E004FF1CE3D2D3000598E3 /* RCTFBSDKMessageDialog.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RCTFBSDKMessageDialog.h; path = share/RCTFBSDKMessageDialog.h; sourceTree = "<group>"; };
|
|
75
|
+
93E005001CE3D2D3000598E3 /* RCTFBSDKMessageDialog.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = RCTFBSDKMessageDialog.m; path = share/RCTFBSDKMessageDialog.m; sourceTree = "<group>"; };
|
|
76
|
+
93E005011CE3D2D3000598E3 /* RCTFBSDKSendButtonManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RCTFBSDKSendButtonManager.h; path = share/RCTFBSDKSendButtonManager.h; sourceTree = "<group>"; };
|
|
77
|
+
93E005021CE3D2D3000598E3 /* RCTFBSDKSendButtonManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = RCTFBSDKSendButtonManager.m; path = share/RCTFBSDKSendButtonManager.m; sourceTree = "<group>"; };
|
|
78
|
+
93E005051CE3D2D3000598E3 /* RCTFBSDKShareButtonManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RCTFBSDKShareButtonManager.h; path = share/RCTFBSDKShareButtonManager.h; sourceTree = "<group>"; };
|
|
79
|
+
93E005061CE3D2D3000598E3 /* RCTFBSDKShareButtonManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = RCTFBSDKShareButtonManager.m; path = share/RCTFBSDKShareButtonManager.m; sourceTree = "<group>"; };
|
|
80
|
+
93E005071CE3D2D3000598E3 /* RCTFBSDKShareDialog.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RCTFBSDKShareDialog.h; path = share/RCTFBSDKShareDialog.h; sourceTree = "<group>"; };
|
|
81
|
+
93E005081CE3D2D3000598E3 /* RCTFBSDKShareDialog.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = RCTFBSDKShareDialog.m; path = share/RCTFBSDKShareDialog.m; sourceTree = "<group>"; };
|
|
82
|
+
93E005091CE3D2D3000598E3 /* RCTFBSDKShareHelper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RCTFBSDKShareHelper.h; path = share/RCTFBSDKShareHelper.h; sourceTree = "<group>"; };
|
|
83
|
+
93E0050A1CE3D2D3000598E3 /* RCTFBSDKShareHelper.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = RCTFBSDKShareHelper.m; path = share/RCTFBSDKShareHelper.m; sourceTree = "<group>"; };
|
|
84
|
+
B34601CF2628529500AC1860 /* RCTFBSDKProfile.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = RCTFBSDKProfile.m; path = core/RCTFBSDKProfile.m; sourceTree = "<group>"; };
|
|
85
|
+
F1191EC82560474100A8767F /* RCTFBSDKAppLink.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = RCTFBSDKAppLink.m; path = core/RCTFBSDKAppLink.m; sourceTree = "<group>"; };
|
|
86
|
+
F1191ECB25604E4B00A8767F /* RCTFBSDKAppLink.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RCTFBSDKAppLink.h; path = core/RCTFBSDKAppLink.h; sourceTree = "<group>"; };
|
|
87
|
+
F16CE2D8276CAE30003CABEB /* RCTFBSDKProfile.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RCTFBSDKProfile.h; path = core/RCTFBSDKProfile.h; sourceTree = "<group>"; };
|
|
88
|
+
F16CE2D9276CAE30003CABEB /* RCTFBSDKSettings.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RCTFBSDKSettings.h; path = core/RCTFBSDKSettings.h; sourceTree = "<group>"; };
|
|
89
|
+
F16CE2DA276CAE30003CABEB /* RCTFBSDKSettings.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = RCTFBSDKSettings.m; path = core/RCTFBSDKSettings.m; sourceTree = "<group>"; };
|
|
90
|
+
F1780FFF276CC2EB0045DEF1 /* RCTFBSDKAEMReporter.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = RCTFBSDKAEMReporter.m; path = core/RCTFBSDKAEMReporter.m; sourceTree = "<group>"; };
|
|
91
|
+
/* End PBXFileReference section */
|
|
92
|
+
|
|
93
|
+
/* Begin PBXFrameworksBuildPhase section */
|
|
94
|
+
9350E0EE1CE3B0920041D815 /* Frameworks */ = {
|
|
95
|
+
isa = PBXFrameworksBuildPhase;
|
|
96
|
+
buildActionMask = 2147483647;
|
|
97
|
+
files = (
|
|
98
|
+
93E0043A1CE3C33F000598E3 /* FBSDKCoreKit.framework in Frameworks */,
|
|
99
|
+
93E0043B1CE3C33F000598E3 /* FBSDKLoginKit.framework in Frameworks */,
|
|
100
|
+
93E0043C1CE3C33F000598E3 /* FBSDKShareKit.framework in Frameworks */,
|
|
101
|
+
);
|
|
102
|
+
runOnlyForDeploymentPostprocessing = 0;
|
|
103
|
+
};
|
|
104
|
+
/* End PBXFrameworksBuildPhase section */
|
|
105
|
+
|
|
106
|
+
/* Begin PBXGroup section */
|
|
107
|
+
9350E0E81CE3B0920041D815 = {
|
|
108
|
+
isa = PBXGroup;
|
|
109
|
+
children = (
|
|
110
|
+
9350E0F31CE3B0920041D815 /* RCTFBSDK */,
|
|
111
|
+
93E0043D1CE3C34B000598E3 /* Frameworks */,
|
|
112
|
+
9350E0F21CE3B0920041D815 /* Products */,
|
|
113
|
+
);
|
|
114
|
+
sourceTree = "<group>";
|
|
115
|
+
};
|
|
116
|
+
9350E0F21CE3B0920041D815 /* Products */ = {
|
|
117
|
+
isa = PBXGroup;
|
|
118
|
+
children = (
|
|
119
|
+
9350E0F11CE3B0920041D815 /* libRCTFBSDK.a */,
|
|
120
|
+
);
|
|
121
|
+
name = Products;
|
|
122
|
+
sourceTree = "<group>";
|
|
123
|
+
};
|
|
124
|
+
9350E0F31CE3B0920041D815 /* RCTFBSDK */ = {
|
|
125
|
+
isa = PBXGroup;
|
|
126
|
+
children = (
|
|
127
|
+
93E004DA1CE3D286000598E3 /* core */,
|
|
128
|
+
93E004E81CE3D2A7000598E3 /* login */,
|
|
129
|
+
93E004F21CE3D2BB000598E3 /* share */,
|
|
130
|
+
);
|
|
131
|
+
path = RCTFBSDK;
|
|
132
|
+
sourceTree = "<group>";
|
|
133
|
+
};
|
|
134
|
+
93E0043D1CE3C34B000598E3 /* Frameworks */ = {
|
|
135
|
+
isa = PBXGroup;
|
|
136
|
+
children = (
|
|
137
|
+
93E004371CE3C33F000598E3 /* FBSDKCoreKit.framework */,
|
|
138
|
+
93E004381CE3C33F000598E3 /* FBSDKLoginKit.framework */,
|
|
139
|
+
93E004391CE3C33F000598E3 /* FBSDKShareKit.framework */,
|
|
140
|
+
);
|
|
141
|
+
name = Frameworks;
|
|
142
|
+
sourceTree = "<group>";
|
|
143
|
+
};
|
|
144
|
+
93E004DA1CE3D286000598E3 /* core */ = {
|
|
145
|
+
isa = PBXGroup;
|
|
146
|
+
children = (
|
|
147
|
+
F16CE2D9276CAE30003CABEB /* RCTFBSDKSettings.h */,
|
|
148
|
+
F16CE2DA276CAE30003CABEB /* RCTFBSDKSettings.m */,
|
|
149
|
+
93B905C01D2D987F0013CC92 /* RCTFBSDKGraphRequestConnectionContainer.h */,
|
|
150
|
+
93B905C11D2D987F0013CC92 /* RCTFBSDKGraphRequestConnectionContainer.m */,
|
|
151
|
+
93E004DB1CE3D292000598E3 /* RCTConvert+FBSDKAccessToken.h */,
|
|
152
|
+
93E004DC1CE3D292000598E3 /* RCTConvert+FBSDKAccessToken.m */,
|
|
153
|
+
93E004DD1CE3D292000598E3 /* RCTFBSDKAccessToken.h */,
|
|
154
|
+
93E004DE1CE3D292000598E3 /* RCTFBSDKAccessToken.m */,
|
|
155
|
+
93E004DF1CE3D292000598E3 /* RCTFBSDKAppEvents.h */,
|
|
156
|
+
93E004E01CE3D292000598E3 /* RCTFBSDKAppEvents.m */,
|
|
157
|
+
93E004E11CE3D292000598E3 /* RCTFBSDKGraphRequestManager.h */,
|
|
158
|
+
93E004E21CE3D292000598E3 /* RCTFBSDKGraphRequestManager.m */,
|
|
159
|
+
F1191ECB25604E4B00A8767F /* RCTFBSDKAppLink.h */,
|
|
160
|
+
F1191EC82560474100A8767F /* RCTFBSDKAppLink.m */,
|
|
161
|
+
10E3C0CE2626E85700016645 /* RCTFBSDKAuthenticationToken.m */,
|
|
162
|
+
10E3C0D12626E87A00016645 /* RCTFBSDKAuthenticationToken.h */,
|
|
163
|
+
F16CE2D8276CAE30003CABEB /* RCTFBSDKProfile.h */,
|
|
164
|
+
B34601CF2628529500AC1860 /* RCTFBSDKProfile.m */,
|
|
165
|
+
F1780FFF276CC2EB0045DEF1 /* RCTFBSDKAEMReporter.m */,
|
|
166
|
+
);
|
|
167
|
+
name = core;
|
|
168
|
+
sourceTree = "<group>";
|
|
169
|
+
};
|
|
170
|
+
93E004E81CE3D2A7000598E3 /* login */ = {
|
|
171
|
+
isa = PBXGroup;
|
|
172
|
+
children = (
|
|
173
|
+
93E004E91CE3D2B4000598E3 /* RCTConvert+FBSDKLogin.h */,
|
|
174
|
+
93E004EA1CE3D2B4000598E3 /* RCTConvert+FBSDKLogin.m */,
|
|
175
|
+
93E004EB1CE3D2B4000598E3 /* RCTFBSDKLoginButtonManager.h */,
|
|
176
|
+
93E004EC1CE3D2B4000598E3 /* RCTFBSDKLoginButtonManager.m */,
|
|
177
|
+
93E004ED1CE3D2B4000598E3 /* RCTFBSDKLoginManager.h */,
|
|
178
|
+
93E004EE1CE3D2B4000598E3 /* RCTFBSDKLoginManager.m */,
|
|
179
|
+
);
|
|
180
|
+
name = login;
|
|
181
|
+
sourceTree = "<group>";
|
|
182
|
+
};
|
|
183
|
+
93E004F21CE3D2BB000598E3 /* share */ = {
|
|
184
|
+
isa = PBXGroup;
|
|
185
|
+
children = (
|
|
186
|
+
93E004F31CE3D2D3000598E3 /* RCTConvert+FBSDKSharingContent.h */,
|
|
187
|
+
93E004F41CE3D2D3000598E3 /* RCTConvert+FBSDKSharingContent.m */,
|
|
188
|
+
93E004FB1CE3D2D3000598E3 /* RCTFBSDKGameRequestDialog.h */,
|
|
189
|
+
93E004FC1CE3D2D3000598E3 /* RCTFBSDKGameRequestDialog.m */,
|
|
190
|
+
93E004FF1CE3D2D3000598E3 /* RCTFBSDKMessageDialog.h */,
|
|
191
|
+
93E005001CE3D2D3000598E3 /* RCTFBSDKMessageDialog.m */,
|
|
192
|
+
93E005011CE3D2D3000598E3 /* RCTFBSDKSendButtonManager.h */,
|
|
193
|
+
93E005021CE3D2D3000598E3 /* RCTFBSDKSendButtonManager.m */,
|
|
194
|
+
93E005051CE3D2D3000598E3 /* RCTFBSDKShareButtonManager.h */,
|
|
195
|
+
93E005061CE3D2D3000598E3 /* RCTFBSDKShareButtonManager.m */,
|
|
196
|
+
93E005071CE3D2D3000598E3 /* RCTFBSDKShareDialog.h */,
|
|
197
|
+
93E005081CE3D2D3000598E3 /* RCTFBSDKShareDialog.m */,
|
|
198
|
+
93E005091CE3D2D3000598E3 /* RCTFBSDKShareHelper.h */,
|
|
199
|
+
93E0050A1CE3D2D3000598E3 /* RCTFBSDKShareHelper.m */,
|
|
200
|
+
);
|
|
201
|
+
name = share;
|
|
202
|
+
sourceTree = "<group>";
|
|
203
|
+
};
|
|
204
|
+
/* End PBXGroup section */
|
|
205
|
+
|
|
206
|
+
/* Begin PBXNativeTarget section */
|
|
207
|
+
9350E0F01CE3B0920041D815 /* RCTFBSDK */ = {
|
|
208
|
+
isa = PBXNativeTarget;
|
|
209
|
+
buildConfigurationList = 9350E0FA1CE3B0920041D815 /* Build configuration list for PBXNativeTarget "RCTFBSDK" */;
|
|
210
|
+
buildPhases = (
|
|
211
|
+
9350E0ED1CE3B0920041D815 /* Sources */,
|
|
212
|
+
9350E0EE1CE3B0920041D815 /* Frameworks */,
|
|
213
|
+
9350E0EF1CE3B0920041D815 /* CopyFiles */,
|
|
214
|
+
);
|
|
215
|
+
buildRules = (
|
|
216
|
+
);
|
|
217
|
+
dependencies = (
|
|
218
|
+
);
|
|
219
|
+
name = RCTFBSDK;
|
|
220
|
+
productName = RCTFBSDK;
|
|
221
|
+
productReference = 9350E0F11CE3B0920041D815 /* libRCTFBSDK.a */;
|
|
222
|
+
productType = "com.apple.product-type.library.static";
|
|
223
|
+
};
|
|
224
|
+
/* End PBXNativeTarget section */
|
|
225
|
+
|
|
226
|
+
/* Begin PBXProject section */
|
|
227
|
+
9350E0E91CE3B0920041D815 /* Project object */ = {
|
|
228
|
+
isa = PBXProject;
|
|
229
|
+
attributes = {
|
|
230
|
+
LastUpgradeCheck = 730;
|
|
231
|
+
ORGANIZATIONNAME = "Facebook,Inc";
|
|
232
|
+
TargetAttributes = {
|
|
233
|
+
9350E0F01CE3B0920041D815 = {
|
|
234
|
+
CreatedOnToolsVersion = 7.3.1;
|
|
235
|
+
};
|
|
236
|
+
};
|
|
237
|
+
};
|
|
238
|
+
buildConfigurationList = 9350E0EC1CE3B0920041D815 /* Build configuration list for PBXProject "RCTFBSDK" */;
|
|
239
|
+
compatibilityVersion = "Xcode 3.2";
|
|
240
|
+
developmentRegion = English;
|
|
241
|
+
hasScannedForEncodings = 0;
|
|
242
|
+
knownRegions = (
|
|
243
|
+
English,
|
|
244
|
+
en,
|
|
245
|
+
);
|
|
246
|
+
mainGroup = 9350E0E81CE3B0920041D815;
|
|
247
|
+
productRefGroup = 9350E0F21CE3B0920041D815 /* Products */;
|
|
248
|
+
projectDirPath = "";
|
|
249
|
+
projectRoot = "";
|
|
250
|
+
targets = (
|
|
251
|
+
9350E0F01CE3B0920041D815 /* RCTFBSDK */,
|
|
252
|
+
);
|
|
253
|
+
};
|
|
254
|
+
/* End PBXProject section */
|
|
255
|
+
|
|
256
|
+
/* Begin PBXSourcesBuildPhase section */
|
|
257
|
+
9350E0ED1CE3B0920041D815 /* Sources */ = {
|
|
258
|
+
isa = PBXSourcesBuildPhase;
|
|
259
|
+
buildActionMask = 2147483647;
|
|
260
|
+
files = (
|
|
261
|
+
B34601D02628529500AC1860 /* RCTFBSDKProfile.m in Sources */,
|
|
262
|
+
93E005151CE3D2D3000598E3 /* RCTFBSDKShareDialog.m in Sources */,
|
|
263
|
+
93E004E51CE3D292000598E3 /* RCTFBSDKAppEvents.m in Sources */,
|
|
264
|
+
93E004E61CE3D292000598E3 /* RCTFBSDKGraphRequestManager.m in Sources */,
|
|
265
|
+
93E0050B1CE3D2D3000598E3 /* RCTConvert+FBSDKSharingContent.m in Sources */,
|
|
266
|
+
93E004E41CE3D292000598E3 /* RCTFBSDKAccessToken.m in Sources */,
|
|
267
|
+
93E005111CE3D2D3000598E3 /* RCTFBSDKMessageDialog.m in Sources */,
|
|
268
|
+
93E0050F1CE3D2D3000598E3 /* RCTFBSDKGameRequestDialog.m in Sources */,
|
|
269
|
+
93E004E31CE3D292000598E3 /* RCTConvert+FBSDKAccessToken.m in Sources */,
|
|
270
|
+
F1781000276CC2EB0045DEF1 /* RCTFBSDKAEMReporter.m in Sources */,
|
|
271
|
+
10E3C0CF2626E85700016645 /* RCTFBSDKAuthenticationToken.m in Sources */,
|
|
272
|
+
93E004F01CE3D2B4000598E3 /* RCTFBSDKLoginButtonManager.m in Sources */,
|
|
273
|
+
93E004EF1CE3D2B4000598E3 /* RCTConvert+FBSDKLogin.m in Sources */,
|
|
274
|
+
93E005161CE3D2D3000598E3 /* RCTFBSDKShareHelper.m in Sources */,
|
|
275
|
+
F16CE2DB276CAE30003CABEB /* RCTFBSDKSettings.m in Sources */,
|
|
276
|
+
93E005141CE3D2D3000598E3 /* RCTFBSDKShareButtonManager.m in Sources */,
|
|
277
|
+
93E004F11CE3D2B4000598E3 /* RCTFBSDKLoginManager.m in Sources */,
|
|
278
|
+
F1191EC92560474100A8767F /* RCTFBSDKAppLink.m in Sources */,
|
|
279
|
+
93E005121CE3D2D3000598E3 /* RCTFBSDKSendButtonManager.m in Sources */,
|
|
280
|
+
93B905C21D2D987F0013CC92 /* RCTFBSDKGraphRequestConnectionContainer.m in Sources */,
|
|
281
|
+
);
|
|
282
|
+
runOnlyForDeploymentPostprocessing = 0;
|
|
283
|
+
};
|
|
284
|
+
/* End PBXSourcesBuildPhase section */
|
|
285
|
+
|
|
286
|
+
/* Begin XCBuildConfiguration section */
|
|
287
|
+
9350E0F81CE3B0920041D815 /* Debug */ = {
|
|
288
|
+
isa = XCBuildConfiguration;
|
|
289
|
+
buildSettings = {
|
|
290
|
+
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
291
|
+
CLANG_ANALYZER_NONNULL = YES;
|
|
292
|
+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
|
293
|
+
CLANG_CXX_LIBRARY = "libc++";
|
|
294
|
+
CLANG_ENABLE_MODULES = YES;
|
|
295
|
+
CLANG_ENABLE_OBJC_ARC = YES;
|
|
296
|
+
CLANG_WARN_BOOL_CONVERSION = YES;
|
|
297
|
+
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
|
298
|
+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
|
299
|
+
CLANG_WARN_EMPTY_BODY = YES;
|
|
300
|
+
CLANG_WARN_ENUM_CONVERSION = YES;
|
|
301
|
+
CLANG_WARN_INT_CONVERSION = YES;
|
|
302
|
+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
|
303
|
+
CLANG_WARN_UNREACHABLE_CODE = YES;
|
|
304
|
+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
305
|
+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
|
306
|
+
COPY_PHASE_STRIP = NO;
|
|
307
|
+
DEBUG_INFORMATION_FORMAT = dwarf;
|
|
308
|
+
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
309
|
+
ENABLE_TESTABILITY = YES;
|
|
310
|
+
GCC_C_LANGUAGE_STANDARD = gnu99;
|
|
311
|
+
GCC_DYNAMIC_NO_PIC = NO;
|
|
312
|
+
GCC_NO_COMMON_BLOCKS = YES;
|
|
313
|
+
GCC_OPTIMIZATION_LEVEL = 0;
|
|
314
|
+
GCC_PREPROCESSOR_DEFINITIONS = (
|
|
315
|
+
"DEBUG=1",
|
|
316
|
+
"$(inherited)",
|
|
317
|
+
);
|
|
318
|
+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
|
319
|
+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
|
320
|
+
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
|
321
|
+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
322
|
+
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
323
|
+
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
324
|
+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
|
325
|
+
MTL_ENABLE_DEBUG_INFO = YES;
|
|
326
|
+
ONLY_ACTIVE_ARCH = YES;
|
|
327
|
+
SDKROOT = iphoneos;
|
|
328
|
+
};
|
|
329
|
+
name = Debug;
|
|
330
|
+
};
|
|
331
|
+
9350E0F91CE3B0920041D815 /* Release */ = {
|
|
332
|
+
isa = XCBuildConfiguration;
|
|
333
|
+
buildSettings = {
|
|
334
|
+
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
335
|
+
CLANG_ANALYZER_NONNULL = YES;
|
|
336
|
+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
|
337
|
+
CLANG_CXX_LIBRARY = "libc++";
|
|
338
|
+
CLANG_ENABLE_MODULES = YES;
|
|
339
|
+
CLANG_ENABLE_OBJC_ARC = YES;
|
|
340
|
+
CLANG_WARN_BOOL_CONVERSION = YES;
|
|
341
|
+
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
|
342
|
+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
|
343
|
+
CLANG_WARN_EMPTY_BODY = YES;
|
|
344
|
+
CLANG_WARN_ENUM_CONVERSION = YES;
|
|
345
|
+
CLANG_WARN_INT_CONVERSION = YES;
|
|
346
|
+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
|
347
|
+
CLANG_WARN_UNREACHABLE_CODE = YES;
|
|
348
|
+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
349
|
+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
|
350
|
+
COPY_PHASE_STRIP = NO;
|
|
351
|
+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
|
352
|
+
ENABLE_NS_ASSERTIONS = NO;
|
|
353
|
+
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
354
|
+
GCC_C_LANGUAGE_STANDARD = gnu99;
|
|
355
|
+
GCC_NO_COMMON_BLOCKS = YES;
|
|
356
|
+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
|
357
|
+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
|
358
|
+
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
|
359
|
+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
360
|
+
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
361
|
+
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
362
|
+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
|
363
|
+
MTL_ENABLE_DEBUG_INFO = NO;
|
|
364
|
+
SDKROOT = iphoneos;
|
|
365
|
+
VALIDATE_PRODUCT = YES;
|
|
366
|
+
};
|
|
367
|
+
name = Release;
|
|
368
|
+
};
|
|
369
|
+
9350E0FB1CE3B0920041D815 /* Debug */ = {
|
|
370
|
+
isa = XCBuildConfiguration;
|
|
371
|
+
buildSettings = {
|
|
372
|
+
COPY_PHASE_STRIP = NO;
|
|
373
|
+
FRAMEWORK_SEARCH_PATHS = (
|
|
374
|
+
"$(inherited)",
|
|
375
|
+
"$(HOME)/Documents/FacebookSDK",
|
|
376
|
+
"$(PROJECT_DIR)/../../../ios",
|
|
377
|
+
"$(PROJECT_DIR)/../../../ios/Frameworks",
|
|
378
|
+
"$(PROJECT_DIR)/../../../ios/Pods",
|
|
379
|
+
);
|
|
380
|
+
HEADER_SEARCH_PATHS = (
|
|
381
|
+
"$(inherited)",
|
|
382
|
+
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
|
|
383
|
+
"${SRCROOT}/../../../ios/Pods/FBSDKCoreKit/FBSDKCoreKit",
|
|
384
|
+
"${SRCROOT}/../../../ios/Pods/FBSDKLoginKit/FBSDKLoginKit",
|
|
385
|
+
"${SRCROOT}/../../../ios/Pods/FBSDKShareKit/FBSDKShareKit",
|
|
386
|
+
"${SRCROOT}/../../../ios/Pods/Headers/Public",
|
|
387
|
+
);
|
|
388
|
+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
|
389
|
+
OTHER_LDFLAGS = "-ObjC";
|
|
390
|
+
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
391
|
+
SKIP_INSTALL = YES;
|
|
392
|
+
TARGETED_DEVICE_FAMILY = "1,2";
|
|
393
|
+
};
|
|
394
|
+
name = Debug;
|
|
395
|
+
};
|
|
396
|
+
9350E0FC1CE3B0920041D815 /* Release */ = {
|
|
397
|
+
isa = XCBuildConfiguration;
|
|
398
|
+
buildSettings = {
|
|
399
|
+
COPY_PHASE_STRIP = YES;
|
|
400
|
+
FRAMEWORK_SEARCH_PATHS = (
|
|
401
|
+
"$(inherited)",
|
|
402
|
+
"$(HOME)/Documents/FacebookSDK",
|
|
403
|
+
"$(PROJECT_DIR)/../../../ios/Frameworks",
|
|
404
|
+
"$(PROJECT_DIR)/../../../ios/Pods",
|
|
405
|
+
);
|
|
406
|
+
HEADER_SEARCH_PATHS = (
|
|
407
|
+
"$(inherited)",
|
|
408
|
+
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
|
|
409
|
+
"${SRCROOT}/../../../ios/Pods/FBSDKCoreKit/FBSDKCoreKit",
|
|
410
|
+
"${SRCROOT}/../../../ios/Pods/FBSDKLoginKit/FBSDKLoginKit",
|
|
411
|
+
"${SRCROOT}/../../../ios/Pods/FBSDKShareKit/FBSDKShareKit",
|
|
412
|
+
"${SRCROOT}/../../../ios/Pods/Headers/Public",
|
|
413
|
+
);
|
|
414
|
+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
|
415
|
+
OTHER_LDFLAGS = "-ObjC";
|
|
416
|
+
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
417
|
+
SKIP_INSTALL = YES;
|
|
418
|
+
TARGETED_DEVICE_FAMILY = "1,2";
|
|
419
|
+
};
|
|
420
|
+
name = Release;
|
|
421
|
+
};
|
|
422
|
+
/* End XCBuildConfiguration section */
|
|
423
|
+
|
|
424
|
+
/* Begin XCConfigurationList section */
|
|
425
|
+
9350E0EC1CE3B0920041D815 /* Build configuration list for PBXProject "RCTFBSDK" */ = {
|
|
426
|
+
isa = XCConfigurationList;
|
|
427
|
+
buildConfigurations = (
|
|
428
|
+
9350E0F81CE3B0920041D815 /* Debug */,
|
|
429
|
+
9350E0F91CE3B0920041D815 /* Release */,
|
|
430
|
+
);
|
|
431
|
+
defaultConfigurationIsVisible = 0;
|
|
432
|
+
defaultConfigurationName = Release;
|
|
433
|
+
};
|
|
434
|
+
9350E0FA1CE3B0920041D815 /* Build configuration list for PBXNativeTarget "RCTFBSDK" */ = {
|
|
435
|
+
isa = XCConfigurationList;
|
|
436
|
+
buildConfigurations = (
|
|
437
|
+
9350E0FB1CE3B0920041D815 /* Debug */,
|
|
438
|
+
9350E0FC1CE3B0920041D815 /* Release */,
|
|
439
|
+
);
|
|
440
|
+
defaultConfigurationIsVisible = 0;
|
|
441
|
+
defaultConfigurationName = Release;
|
|
442
|
+
};
|
|
443
|
+
/* End XCConfigurationList section */
|
|
444
|
+
};
|
|
445
|
+
rootObject = 9350E0E91CE3B0920041D815 /* Project object */;
|
|
446
|
+
}
|