vdocipher-rn-bridge 1.15.0 → 1.17.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/CHANGELOG.md +27 -0
- package/VdoPlayerSupportView.tsx +6 -4
- package/VdoPlayerUIView.tsx +21 -9
- package/VdoPlayerView.tsx +184 -58
- package/android/build.gradle +3 -3
- package/android/src/main/java/com/vdocipher/rnbridge/ReactVdoPlayerUIView.java +47 -32
- package/android/src/main/java/com/vdocipher/rnbridge/ReactVdoPlayerUIViewManager.java +5 -0
- package/android/src/main/java/com/vdocipher/rnbridge/ReactVdoPlayerView.java +10 -10
- package/android/src/main/java/com/vdocipher/rnbridge/VdoDownloadModule.java +67 -0
- package/android/src/main/java/com/vdocipher/rnbridge/VdoEventEmitter.java +1 -10
- package/downloadMonitor.ts +2 -2
- package/downloads.ts +63 -1
- package/index.ts +4 -1
- package/ios/Podfile +10 -0
- package/ios/Podfile.lock +3 -0
- package/ios/Pods/Manifest.lock +3 -0
- package/ios/Pods/Pods.xcodeproj/project.pbxproj +397 -0
- package/ios/Pods/Pods.xcodeproj/xcuserdata/mansisharma.xcuserdatad/xcschemes/Pods-VdocipherRnBridge.xcscheme +58 -0
- package/ios/Pods/Pods.xcodeproj/xcuserdata/mansisharma.xcuserdatad/xcschemes/xcschememanagement.plist +16 -0
- package/ios/Pods/Target Support Files/Pods-VdocipherRnBridge/Pods-VdocipherRnBridge-Info.plist +26 -0
- package/ios/Pods/Target Support Files/Pods-VdocipherRnBridge/Pods-VdocipherRnBridge-acknowledgements.markdown +3 -0
- package/ios/Pods/Target Support Files/Pods-VdocipherRnBridge/Pods-VdocipherRnBridge-acknowledgements.plist +29 -0
- package/ios/Pods/Target Support Files/Pods-VdocipherRnBridge/Pods-VdocipherRnBridge-dummy.m +5 -0
- package/ios/Pods/Target Support Files/Pods-VdocipherRnBridge/Pods-VdocipherRnBridge-umbrella.h +16 -0
- package/ios/Pods/Target Support Files/Pods-VdocipherRnBridge/Pods-VdocipherRnBridge.debug.xcconfig +8 -0
- package/ios/Pods/Target Support Files/Pods-VdocipherRnBridge/Pods-VdocipherRnBridge.modulemap +6 -0
- package/ios/Pods/Target Support Files/Pods-VdocipherRnBridge/Pods-VdocipherRnBridge.release.xcconfig +8 -0
- package/ios/RCTVdoPlayerUIView.h +19 -0
- package/ios/RCTVdoPlayerUIView.swift +74 -0
- package/ios/RCTVdoPlayerView.h +18 -0
- package/ios/RCTVdoPlayerView.swift +84 -0
- package/ios/TrackSelection.swift +64 -0
- package/ios/VdoCipherRNView.h +18 -0
- package/ios/VdoCipherRNView.swift +312 -0
- package/ios/VdoDownload.swift +103 -0
- package/ios/VdoEventEmitter.swift +157 -0
- package/ios/VdoPlaybackProperties.h +19 -0
- package/ios/VdoPlaybackProperties.swift +21 -0
- package/ios/VdocipherRnBridge.h +2 -10
- package/ios/VdocipherRnBridgeViewManager.m +99 -0
- package/ios/VdocipherRnBridgeViewManager.swift +90 -0
- package/package.json +3 -2
- package/react-native-vdocipher-rn-bridge.podspec +36 -0
- package/type.ts +23 -1
- package/ios/VdocipherRnBridge.m +0 -13
- package/ios/VdocipherRnBridge.xcodeproj/project.pbxproj +0 -259
- package/ios/VdocipherRnBridge.xcworkspace/contents.xcworkspacedata +0 -9
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
#import <React/RCTViewManager.h>
|
|
2
|
+
#import <React/RCTUIManager.h>
|
|
3
|
+
#import <React/RCTLog.h>
|
|
4
|
+
#import <React/RCTEventEmitter.h>
|
|
5
|
+
#import "RCTVdoPlayerUIView.h"
|
|
6
|
+
#import "RCTVdoPlayerView.h"
|
|
7
|
+
#import "VdoPlaybackProperties.h"
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
@interface RCT_EXTERN_MODULE(VdocipherRnBridge, RCTViewManager)
|
|
11
|
+
|
|
12
|
+
RCT_EXTERN_METHOD(startVideoScreen: (NSDictionary *) embedInfo setPictureInPictureSupport: (BOOL))
|
|
13
|
+
|
|
14
|
+
@end
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
@interface ReactVdoPlayerUIViewManager : RCTViewManager
|
|
18
|
+
@end
|
|
19
|
+
|
|
20
|
+
@implementation ReactVdoPlayerUIViewManager
|
|
21
|
+
|
|
22
|
+
RCT_EXPORT_MODULE(RCTVdoPlayerUIView)
|
|
23
|
+
RCT_EXPORT_VIEW_PROPERTY(embedInfo, NSDictionary *)
|
|
24
|
+
RCT_EXPORT_VIEW_PROPERTY(resizeMode, NSString *)
|
|
25
|
+
RCT_EXPORT_VIEW_PROPERTY(playWhenReady, BOOL)
|
|
26
|
+
RCT_EXPORT_VIEW_PROPERTY(playbackSpeed, float)
|
|
27
|
+
RCT_EXPORT_VIEW_PROPERTY(seek, int)
|
|
28
|
+
RCT_EXPORT_VIEW_PROPERTY(captionLanguage, NSDictionary *)
|
|
29
|
+
RCT_EXPORT_VIEW_PROPERTY(disableCaptions, int)
|
|
30
|
+
|
|
31
|
+
- (VdoCipherRNView *)view
|
|
32
|
+
{
|
|
33
|
+
return [[RCTVdoPlayerUIView alloc] init];
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@end
|
|
37
|
+
|
|
38
|
+
@interface ReactVdoPlayerViewManager : RCTViewManager
|
|
39
|
+
@end
|
|
40
|
+
|
|
41
|
+
@implementation ReactVdoPlayerViewManager
|
|
42
|
+
|
|
43
|
+
RCT_EXPORT_MODULE(RCTVdoPlayerView)
|
|
44
|
+
RCT_EXPORT_VIEW_PROPERTY(embedInfo, NSDictionary *)
|
|
45
|
+
RCT_EXPORT_VIEW_PROPERTY(resizeMode, NSString *)
|
|
46
|
+
RCT_EXPORT_VIEW_PROPERTY(playWhenReady, BOOL)
|
|
47
|
+
RCT_EXPORT_VIEW_PROPERTY(playbackSpeed, float)
|
|
48
|
+
RCT_EXPORT_VIEW_PROPERTY(seek, int)
|
|
49
|
+
RCT_EXPORT_VIEW_PROPERTY(captionLanguage, NSDictionary *)
|
|
50
|
+
RCT_EXPORT_VIEW_PROPERTY(disableCaptions, int)
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
- (VdoCipherRNView *)view
|
|
54
|
+
{
|
|
55
|
+
return [[RCTVdoPlayerView alloc] init];
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
@end
|
|
59
|
+
|
|
60
|
+
@interface RCT_EXTERN_MODULE(VdoEventEmitter, RCTEventEmitter)
|
|
61
|
+
|
|
62
|
+
RCT_EXTERN_METHOD(supportedEvents)
|
|
63
|
+
|
|
64
|
+
@end
|
|
65
|
+
|
|
66
|
+
@interface RCT_EXTERN_MODULE(VdoDownload, RCTEventEmitter)
|
|
67
|
+
|
|
68
|
+
RCT_EXTERN_METHOD(supportedEvents)
|
|
69
|
+
|
|
70
|
+
@end
|
|
71
|
+
|
|
72
|
+
@interface RCT_EXTERN_MODULE(VdoPlayer, NSObject)
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
@end
|
|
76
|
+
|
|
77
|
+
@implementation VdoPlayer
|
|
78
|
+
|
|
79
|
+
RCT_EXPORT_METHOD(getPlaybackPropertiesV2: (RCTResponseSenderBlock) callback)
|
|
80
|
+
{
|
|
81
|
+
NSDictionary *playbackProperties = VdoPlaybackProperties.getPlaybackProperties;
|
|
82
|
+
printf(@"Playback properties sent are = %@", playbackProperties);
|
|
83
|
+
callback(@[playbackProperties]);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
@end
|
|
87
|
+
|
|
88
|
+
@interface RCT_EXTERN_MODULE(TrackSelection, NSObject)
|
|
89
|
+
|
|
90
|
+
RCT_EXTERN_METHOD(getCaptionLanguages: (RCTResponseSenderBlock) callback)
|
|
91
|
+
RCT_EXTERN_METHOD(getSelectedCaptionLanguage: (RCTResponseSenderBlock) callback)
|
|
92
|
+
RCT_EXTERN_METHOD(getDuration: (RCTResponseSenderBlock) callback)
|
|
93
|
+
|
|
94
|
+
+ (BOOL)requiresMainQueueSetup
|
|
95
|
+
{
|
|
96
|
+
return YES;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
@end
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import UIKit
|
|
2
|
+
import AVKit
|
|
3
|
+
import VdoFramework
|
|
4
|
+
|
|
5
|
+
@objc(VdocipherRnBridge)
|
|
6
|
+
class VdocipherRnBridge: RCTViewManager {
|
|
7
|
+
|
|
8
|
+
static let vdocipherRnBridgeVersionString = "1.17.0"
|
|
9
|
+
|
|
10
|
+
@objc override static func requiresMainQueueSetup() -> Bool {
|
|
11
|
+
return true
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
private var playerViewController: AVPlayerViewController?
|
|
15
|
+
|
|
16
|
+
@objc func startVideoScreen(_ embedInfo: [String: Any], setPictureInPictureSupport: Bool) {
|
|
17
|
+
// print("REACT LOG ===== start Video Screen Function called from React side.... \(embedInfo)")
|
|
18
|
+
let userDefaults: UserDefaults? = UserDefaults.init(suiteName: "com.vdocipher.ios.rn.VdoFramework")
|
|
19
|
+
userDefaults?.set(["name": "react-native", "version": VdocipherRnBridge.vdocipherRnBridgeVersionString], forKey: "rnToolkitInfo")
|
|
20
|
+
DispatchQueue.main.async {
|
|
21
|
+
guard let window = UIApplication.shared.keyWindow, let rootVC = window.rootViewController else {return}
|
|
22
|
+
if #available(iOS 12, *) {
|
|
23
|
+
if let _ = VdoCipher.getVdoPlayerViewController().parent {
|
|
24
|
+
VdoCipher.getVdoPlayerViewController().removeFromParent()
|
|
25
|
+
}
|
|
26
|
+
let playerUIView = VdoCipher.getVdoPlayerViewController()
|
|
27
|
+
rootVC.present(playerUIView, animated: true)
|
|
28
|
+
} else {
|
|
29
|
+
self.playerViewController = AVPlayerViewController()
|
|
30
|
+
rootVC.present(self.playerViewController!, animated: true)
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
VdoCipher.setPlaybackDelegate(delegate: self)
|
|
34
|
+
guard let credentials = embedInfo["embedInfo"] as? [String: Any], let playbackInfo = credentials["playbackInfo"] as? String, let otp = credentials["otp"] as? String else {return}
|
|
35
|
+
let customPlayerId = credentials["customPlayerId"] as? String
|
|
36
|
+
let preferredCaptionsLanguage = credentials["preferredCaptionsLanguage"] as? String
|
|
37
|
+
guard let decoded = Data(base64Encoded: playbackInfo), let parsed = try? JSONDecoder().decode(PlaybackInfo.self, from: decoded) else {return}
|
|
38
|
+
let resumeTimeMs = credentials["resumeTimeMs"] as? Int
|
|
39
|
+
let resumeTime = Float(resumeTimeMs ?? 0)
|
|
40
|
+
if resumeTime > 0 {
|
|
41
|
+
let userDefaults: UserDefaults? = UserDefaults.init(suiteName: "com.vdocipher.ios.VdoFramework")
|
|
42
|
+
if var assetsLastPlaybackTimeSet = userDefaults?.value(forKey: "assetsLastPlaybackTimeSet") as? [String: Double] {
|
|
43
|
+
assetsLastPlaybackTimeSet[parsed.videoId] = Double(resumeTime)
|
|
44
|
+
userDefaults?.set(assetsLastPlaybackTimeSet, forKey: "assetsLastPlaybackTimeSet")
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
VdoAsset.createAsset(videoId: parsed.videoId, playerId: customPlayerId, onLoad: { asset, err in
|
|
48
|
+
DispatchQueue.main.async {
|
|
49
|
+
guard let asset = asset else {
|
|
50
|
+
return
|
|
51
|
+
}
|
|
52
|
+
if preferredCaptionsLanguage == nil {
|
|
53
|
+
_ = asset.setCaption(nil)
|
|
54
|
+
}
|
|
55
|
+
for caption in asset.captions ?? [] {
|
|
56
|
+
if caption.lang == preferredCaptionsLanguage {
|
|
57
|
+
_ = asset.setCaption(caption)
|
|
58
|
+
break
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
if asset.downloadState == .downloaded {
|
|
62
|
+
asset.playOffline()
|
|
63
|
+
} else {
|
|
64
|
+
asset.playOnline(otp: otp, playbackInfo: playbackInfo)
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
})
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
extension VdocipherRnBridge: AssetPlaybackDelegate {
|
|
72
|
+
func streamPlaybackManager(playerReadyToPlay player: AVPlayer) {
|
|
73
|
+
if let playerVC = self.playerViewController {
|
|
74
|
+
playerVC.player?.play()
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
func streamPlaybackManager(playerCurrentItemDidChange player: AVPlayer) {
|
|
79
|
+
self.playerViewController?.player = player
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
func streamLoadError(error: VdoFramework.VdoError) {
|
|
83
|
+
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
struct PlaybackInfo: Decodable {
|
|
88
|
+
let videoId: String
|
|
89
|
+
}
|
|
90
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vdocipher-rn-bridge",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.17.0",
|
|
4
4
|
"description": "React native bridge library that delegates to vdocipher native android SDK",
|
|
5
5
|
"homepage": "https://www.vdocipher.com/docs/mobile/react-native/getting-started/",
|
|
6
6
|
"scripts": {
|
|
@@ -29,7 +29,8 @@
|
|
|
29
29
|
"downloadMonitor.ts",
|
|
30
30
|
"index.ts",
|
|
31
31
|
"tsconfig.json",
|
|
32
|
-
"type.ts"
|
|
32
|
+
"type.ts",
|
|
33
|
+
"react-native-vdocipher-rn-bridge.podspec"
|
|
33
34
|
],
|
|
34
35
|
"devDependencies": {
|
|
35
36
|
"@tsconfig/react-native": "^2.0.3",
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
require "json"
|
|
2
|
+
|
|
3
|
+
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
|
|
4
|
+
folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32'
|
|
5
|
+
|
|
6
|
+
Pod::Spec.new do |s|
|
|
7
|
+
s.name = "react-native-vdocipher-rn-bridge"
|
|
8
|
+
s.version = package["version"]
|
|
9
|
+
s.summary = package["description"]
|
|
10
|
+
s.homepage = package["homepage"]
|
|
11
|
+
s.license = package["license"]
|
|
12
|
+
s.authors = package["author"]
|
|
13
|
+
|
|
14
|
+
s.platforms = { :ios => "12.4" }
|
|
15
|
+
s.source = { :git => "https://github.com/VdoCipher/vdocipher-react-native.git", :tag => "#{s.version}" }
|
|
16
|
+
|
|
17
|
+
s.source_files = "ios/**/*.{h,m,mm,swift}"
|
|
18
|
+
|
|
19
|
+
s.dependency "React-Core"
|
|
20
|
+
s.dependency "VdoFramework", "2.4.3"
|
|
21
|
+
|
|
22
|
+
# Don't install the dependencies when we run `pod install` in the old architecture.
|
|
23
|
+
if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
|
|
24
|
+
s.compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1"
|
|
25
|
+
s.pod_target_xcconfig = {
|
|
26
|
+
"HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\"",
|
|
27
|
+
"CLANG_CXX_LANGUAGE_STANDARD" => "c++17"
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
s.dependency "React-Codegen"
|
|
31
|
+
s.dependency "RCT-Folly"
|
|
32
|
+
s.dependency "RCTRequired"
|
|
33
|
+
s.dependency "RCTTypeSafety"
|
|
34
|
+
s.dependency "ReactCommon/turbomodule/core"
|
|
35
|
+
end
|
|
36
|
+
end
|
package/type.ts
CHANGED
|
@@ -3,11 +3,26 @@ import PropTypes from 'prop-types';
|
|
|
3
3
|
export interface EmbedInfo {
|
|
4
4
|
otp: string;
|
|
5
5
|
playbackInfo: string;
|
|
6
|
+
/**
|
|
7
|
+
* Not supported in iOS
|
|
8
|
+
*/
|
|
6
9
|
forceLowestBitrate?: boolean | null;
|
|
10
|
+
/**
|
|
11
|
+
* Not supported in iOS
|
|
12
|
+
*/
|
|
7
13
|
forceHighestSupportedBitrate?: boolean | null;
|
|
14
|
+
/**
|
|
15
|
+
* Not supported in iOS
|
|
16
|
+
*/
|
|
8
17
|
maxVideoBitrateKbps?: number | null;
|
|
18
|
+
/**
|
|
19
|
+
* Not supported in iOS
|
|
20
|
+
*/
|
|
9
21
|
bufferingGoalMs?: number | null;
|
|
10
22
|
enableAutoResume?: boolean | null;
|
|
23
|
+
/**
|
|
24
|
+
* Not supported in iOS
|
|
25
|
+
*/
|
|
11
26
|
safetyNetApiKey?: string | null;
|
|
12
27
|
preferredCaptionsLanguage?: string | null;
|
|
13
28
|
/**
|
|
@@ -28,6 +43,9 @@ export type OfflineEmbedInfo = {
|
|
|
28
43
|
offline: boolean;
|
|
29
44
|
mediaId: string;
|
|
30
45
|
enableAutoResume?: boolean | null;
|
|
46
|
+
/**
|
|
47
|
+
* Not supported in iOS
|
|
48
|
+
*/
|
|
31
49
|
safetyNetApiKey?: string | null;
|
|
32
50
|
preferredCaptionsLanguage?: string | null;
|
|
33
51
|
/**
|
|
@@ -35,6 +53,11 @@ export type OfflineEmbedInfo = {
|
|
|
35
53
|
* This id will be ignored and the customPlayerId passed while downloading will be used
|
|
36
54
|
*/
|
|
37
55
|
playerConfig?: string | null;
|
|
56
|
+
/**
|
|
57
|
+
* @deprecated
|
|
58
|
+
* This property is no longer required to enable PIP mode.
|
|
59
|
+
* Use {@link https://developer.android.com/reference/android/app/Activity#enterPictureInPictureMode(android.app.PictureInPictureParams)} at activity level instead.
|
|
60
|
+
*/
|
|
38
61
|
setPictureInPictureSupport?: boolean | null;
|
|
39
62
|
}
|
|
40
63
|
|
|
@@ -126,7 +149,6 @@ export const VdoPropTypes = {
|
|
|
126
149
|
fullscreen: PropTypes.bool,
|
|
127
150
|
onVdoEnterFullscreen: PropTypes.func,
|
|
128
151
|
onVdoExitFullscreen: PropTypes.func,
|
|
129
|
-
onIsInitialPortrait: PropTypes.func,
|
|
130
152
|
onVdoPictureInPictureModeChanged: PropTypes.func,
|
|
131
153
|
|
|
132
154
|
/* Wrapper component public api */
|
package/ios/VdocipherRnBridge.m
DELETED
|
@@ -1,259 +0,0 @@
|
|
|
1
|
-
// !$*UTF8*$!
|
|
2
|
-
{
|
|
3
|
-
archiveVersion = 1;
|
|
4
|
-
classes = {
|
|
5
|
-
};
|
|
6
|
-
objectVersion = 46;
|
|
7
|
-
objects = {
|
|
8
|
-
|
|
9
|
-
/* Begin PBXBuildFile section */
|
|
10
|
-
B3E7B58A1CC2AC0600A0062D /* VdocipherRnBridge.m in Sources */ = {isa = PBXBuildFile; fileRef = B3E7B5891CC2AC0600A0062D /* VdocipherRnBridge.m */; };
|
|
11
|
-
/* End PBXBuildFile section */
|
|
12
|
-
|
|
13
|
-
/* Begin PBXCopyFilesBuildPhase section */
|
|
14
|
-
58B511D91A9E6C8500147676 /* CopyFiles */ = {
|
|
15
|
-
isa = PBXCopyFilesBuildPhase;
|
|
16
|
-
buildActionMask = 2147483647;
|
|
17
|
-
dstPath = "include/$(PRODUCT_NAME)";
|
|
18
|
-
dstSubfolderSpec = 16;
|
|
19
|
-
files = (
|
|
20
|
-
);
|
|
21
|
-
runOnlyForDeploymentPostprocessing = 0;
|
|
22
|
-
};
|
|
23
|
-
/* End PBXCopyFilesBuildPhase section */
|
|
24
|
-
|
|
25
|
-
/* Begin PBXFileReference section */
|
|
26
|
-
134814201AA4EA6300B7C361 /* libVdocipherRnBridge.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libVdocipherRnBridge.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
27
|
-
B3E7B5881CC2AC0600A0062D /* VdocipherRnBridge.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = VdocipherRnBridge.h; sourceTree = "<group>"; };
|
|
28
|
-
B3E7B5891CC2AC0600A0062D /* VdocipherRnBridge.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = VdocipherRnBridge.m; sourceTree = "<group>"; };
|
|
29
|
-
/* End PBXFileReference section */
|
|
30
|
-
|
|
31
|
-
/* Begin PBXFrameworksBuildPhase section */
|
|
32
|
-
58B511D81A9E6C8500147676 /* Frameworks */ = {
|
|
33
|
-
isa = PBXFrameworksBuildPhase;
|
|
34
|
-
buildActionMask = 2147483647;
|
|
35
|
-
files = (
|
|
36
|
-
);
|
|
37
|
-
runOnlyForDeploymentPostprocessing = 0;
|
|
38
|
-
};
|
|
39
|
-
/* End PBXFrameworksBuildPhase section */
|
|
40
|
-
|
|
41
|
-
/* Begin PBXGroup section */
|
|
42
|
-
134814211AA4EA7D00B7C361 /* Products */ = {
|
|
43
|
-
isa = PBXGroup;
|
|
44
|
-
children = (
|
|
45
|
-
134814201AA4EA6300B7C361 /* libVdocipherRnBridge.a */,
|
|
46
|
-
);
|
|
47
|
-
name = Products;
|
|
48
|
-
sourceTree = "<group>";
|
|
49
|
-
};
|
|
50
|
-
58B511D21A9E6C8500147676 = {
|
|
51
|
-
isa = PBXGroup;
|
|
52
|
-
children = (
|
|
53
|
-
B3E7B5881CC2AC0600A0062D /* VdocipherRnBridge.h */,
|
|
54
|
-
B3E7B5891CC2AC0600A0062D /* VdocipherRnBridge.m */,
|
|
55
|
-
134814211AA4EA7D00B7C361 /* Products */,
|
|
56
|
-
);
|
|
57
|
-
sourceTree = "<group>";
|
|
58
|
-
};
|
|
59
|
-
/* End PBXGroup section */
|
|
60
|
-
|
|
61
|
-
/* Begin PBXNativeTarget section */
|
|
62
|
-
58B511DA1A9E6C8500147676 /* VdocipherRnBridge */ = {
|
|
63
|
-
isa = PBXNativeTarget;
|
|
64
|
-
buildConfigurationList = 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "VdocipherRnBridge" */;
|
|
65
|
-
buildPhases = (
|
|
66
|
-
58B511D71A9E6C8500147676 /* Sources */,
|
|
67
|
-
58B511D81A9E6C8500147676 /* Frameworks */,
|
|
68
|
-
58B511D91A9E6C8500147676 /* CopyFiles */,
|
|
69
|
-
);
|
|
70
|
-
buildRules = (
|
|
71
|
-
);
|
|
72
|
-
dependencies = (
|
|
73
|
-
);
|
|
74
|
-
name = VdocipherRnBridge;
|
|
75
|
-
productName = RCTDataManager;
|
|
76
|
-
productReference = 134814201AA4EA6300B7C361 /* libVdocipherRnBridge.a */;
|
|
77
|
-
productType = "com.apple.product-type.library.static";
|
|
78
|
-
};
|
|
79
|
-
/* End PBXNativeTarget section */
|
|
80
|
-
|
|
81
|
-
/* Begin PBXProject section */
|
|
82
|
-
58B511D31A9E6C8500147676 /* Project object */ = {
|
|
83
|
-
isa = PBXProject;
|
|
84
|
-
attributes = {
|
|
85
|
-
LastUpgradeCheck = 0830;
|
|
86
|
-
ORGANIZATIONNAME = Facebook;
|
|
87
|
-
TargetAttributes = {
|
|
88
|
-
58B511DA1A9E6C8500147676 = {
|
|
89
|
-
CreatedOnToolsVersion = 6.1.1;
|
|
90
|
-
};
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
buildConfigurationList = 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "VdocipherRnBridge" */;
|
|
94
|
-
compatibilityVersion = "Xcode 3.2";
|
|
95
|
-
developmentRegion = English;
|
|
96
|
-
hasScannedForEncodings = 0;
|
|
97
|
-
knownRegions = (
|
|
98
|
-
en,
|
|
99
|
-
);
|
|
100
|
-
mainGroup = 58B511D21A9E6C8500147676;
|
|
101
|
-
productRefGroup = 58B511D21A9E6C8500147676;
|
|
102
|
-
projectDirPath = "";
|
|
103
|
-
projectRoot = "";
|
|
104
|
-
targets = (
|
|
105
|
-
58B511DA1A9E6C8500147676 /* VdocipherRnBridge */,
|
|
106
|
-
);
|
|
107
|
-
};
|
|
108
|
-
/* End PBXProject section */
|
|
109
|
-
|
|
110
|
-
/* Begin PBXSourcesBuildPhase section */
|
|
111
|
-
58B511D71A9E6C8500147676 /* Sources */ = {
|
|
112
|
-
isa = PBXSourcesBuildPhase;
|
|
113
|
-
buildActionMask = 2147483647;
|
|
114
|
-
files = (
|
|
115
|
-
B3E7B58A1CC2AC0600A0062D /* VdocipherRnBridge.m in Sources */,
|
|
116
|
-
);
|
|
117
|
-
runOnlyForDeploymentPostprocessing = 0;
|
|
118
|
-
};
|
|
119
|
-
/* End PBXSourcesBuildPhase section */
|
|
120
|
-
|
|
121
|
-
/* Begin XCBuildConfiguration section */
|
|
122
|
-
58B511ED1A9E6C8500147676 /* Debug */ = {
|
|
123
|
-
isa = XCBuildConfiguration;
|
|
124
|
-
buildSettings = {
|
|
125
|
-
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
126
|
-
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
|
127
|
-
CLANG_CXX_LIBRARY = "libc++";
|
|
128
|
-
CLANG_ENABLE_MODULES = YES;
|
|
129
|
-
CLANG_ENABLE_OBJC_ARC = YES;
|
|
130
|
-
CLANG_WARN_BOOL_CONVERSION = YES;
|
|
131
|
-
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
|
132
|
-
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
|
133
|
-
CLANG_WARN_EMPTY_BODY = YES;
|
|
134
|
-
CLANG_WARN_ENUM_CONVERSION = YES;
|
|
135
|
-
CLANG_WARN_INFINITE_RECURSION = YES;
|
|
136
|
-
CLANG_WARN_INT_CONVERSION = YES;
|
|
137
|
-
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
|
138
|
-
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
|
139
|
-
CLANG_WARN_UNREACHABLE_CODE = YES;
|
|
140
|
-
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
141
|
-
COPY_PHASE_STRIP = NO;
|
|
142
|
-
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
143
|
-
ENABLE_TESTABILITY = YES;
|
|
144
|
-
GCC_C_LANGUAGE_STANDARD = gnu99;
|
|
145
|
-
GCC_DYNAMIC_NO_PIC = NO;
|
|
146
|
-
GCC_NO_COMMON_BLOCKS = YES;
|
|
147
|
-
GCC_OPTIMIZATION_LEVEL = 0;
|
|
148
|
-
GCC_PREPROCESSOR_DEFINITIONS = (
|
|
149
|
-
"DEBUG=1",
|
|
150
|
-
"$(inherited)",
|
|
151
|
-
);
|
|
152
|
-
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
|
153
|
-
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
|
154
|
-
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
|
155
|
-
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
|
156
|
-
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
157
|
-
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
158
|
-
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
159
|
-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
|
160
|
-
MTL_ENABLE_DEBUG_INFO = YES;
|
|
161
|
-
ONLY_ACTIVE_ARCH = YES;
|
|
162
|
-
SDKROOT = iphoneos;
|
|
163
|
-
};
|
|
164
|
-
name = Debug;
|
|
165
|
-
};
|
|
166
|
-
58B511EE1A9E6C8500147676 /* Release */ = {
|
|
167
|
-
isa = XCBuildConfiguration;
|
|
168
|
-
buildSettings = {
|
|
169
|
-
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
170
|
-
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
|
171
|
-
CLANG_CXX_LIBRARY = "libc++";
|
|
172
|
-
CLANG_ENABLE_MODULES = YES;
|
|
173
|
-
CLANG_ENABLE_OBJC_ARC = YES;
|
|
174
|
-
CLANG_WARN_BOOL_CONVERSION = YES;
|
|
175
|
-
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
|
176
|
-
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
|
177
|
-
CLANG_WARN_EMPTY_BODY = YES;
|
|
178
|
-
CLANG_WARN_ENUM_CONVERSION = YES;
|
|
179
|
-
CLANG_WARN_INFINITE_RECURSION = YES;
|
|
180
|
-
CLANG_WARN_INT_CONVERSION = YES;
|
|
181
|
-
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
|
182
|
-
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
|
183
|
-
CLANG_WARN_UNREACHABLE_CODE = YES;
|
|
184
|
-
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
185
|
-
COPY_PHASE_STRIP = YES;
|
|
186
|
-
ENABLE_NS_ASSERTIONS = NO;
|
|
187
|
-
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
188
|
-
GCC_C_LANGUAGE_STANDARD = gnu99;
|
|
189
|
-
GCC_NO_COMMON_BLOCKS = YES;
|
|
190
|
-
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
|
191
|
-
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
|
192
|
-
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
|
193
|
-
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
194
|
-
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
195
|
-
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
196
|
-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
|
197
|
-
MTL_ENABLE_DEBUG_INFO = NO;
|
|
198
|
-
SDKROOT = iphoneos;
|
|
199
|
-
VALIDATE_PRODUCT = YES;
|
|
200
|
-
};
|
|
201
|
-
name = Release;
|
|
202
|
-
};
|
|
203
|
-
58B511F01A9E6C8500147676 /* Debug */ = {
|
|
204
|
-
isa = XCBuildConfiguration;
|
|
205
|
-
buildSettings = {
|
|
206
|
-
HEADER_SEARCH_PATHS = (
|
|
207
|
-
"$(inherited)",
|
|
208
|
-
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
|
|
209
|
-
"$(SRCROOT)/../../../React/**",
|
|
210
|
-
"$(SRCROOT)/../../react-native/React/**",
|
|
211
|
-
);
|
|
212
|
-
LIBRARY_SEARCH_PATHS = "$(inherited)";
|
|
213
|
-
OTHER_LDFLAGS = "-ObjC";
|
|
214
|
-
PRODUCT_NAME = VdocipherRnBridge;
|
|
215
|
-
SKIP_INSTALL = YES;
|
|
216
|
-
};
|
|
217
|
-
name = Debug;
|
|
218
|
-
};
|
|
219
|
-
58B511F11A9E6C8500147676 /* Release */ = {
|
|
220
|
-
isa = XCBuildConfiguration;
|
|
221
|
-
buildSettings = {
|
|
222
|
-
HEADER_SEARCH_PATHS = (
|
|
223
|
-
"$(inherited)",
|
|
224
|
-
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
|
|
225
|
-
"$(SRCROOT)/../../../React/**",
|
|
226
|
-
"$(SRCROOT)/../../react-native/React/**",
|
|
227
|
-
);
|
|
228
|
-
LIBRARY_SEARCH_PATHS = "$(inherited)";
|
|
229
|
-
OTHER_LDFLAGS = "-ObjC";
|
|
230
|
-
PRODUCT_NAME = VdocipherRnBridge;
|
|
231
|
-
SKIP_INSTALL = YES;
|
|
232
|
-
};
|
|
233
|
-
name = Release;
|
|
234
|
-
};
|
|
235
|
-
/* End XCBuildConfiguration section */
|
|
236
|
-
|
|
237
|
-
/* Begin XCConfigurationList section */
|
|
238
|
-
58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "VdocipherRnBridge" */ = {
|
|
239
|
-
isa = XCConfigurationList;
|
|
240
|
-
buildConfigurations = (
|
|
241
|
-
58B511ED1A9E6C8500147676 /* Debug */,
|
|
242
|
-
58B511EE1A9E6C8500147676 /* Release */,
|
|
243
|
-
);
|
|
244
|
-
defaultConfigurationIsVisible = 0;
|
|
245
|
-
defaultConfigurationName = Release;
|
|
246
|
-
};
|
|
247
|
-
58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "VdocipherRnBridge" */ = {
|
|
248
|
-
isa = XCConfigurationList;
|
|
249
|
-
buildConfigurations = (
|
|
250
|
-
58B511F01A9E6C8500147676 /* Debug */,
|
|
251
|
-
58B511F11A9E6C8500147676 /* Release */,
|
|
252
|
-
);
|
|
253
|
-
defaultConfigurationIsVisible = 0;
|
|
254
|
-
defaultConfigurationName = Release;
|
|
255
|
-
};
|
|
256
|
-
/* End XCConfigurationList section */
|
|
257
|
-
};
|
|
258
|
-
rootObject = 58B511D31A9E6C8500147676 /* Project object */;
|
|
259
|
-
}
|