├── .babelrc
├── .gitignore
├── .watchmanconfig
├── App.js
├── App.test.js
├── README.md
├── android
├── app
│ ├── BUCK
│ ├── app.iml
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── screenrecorder
│ │ │ ├── MainActivity.java
│ │ │ ├── MainApplication.java
│ │ │ ├── RecorderManager.java
│ │ │ └── RecorderReactPackage.java
│ │ └── res
│ │ ├── mipmap-hdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-mdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xhdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xxhdpi
│ │ └── ic_launcher.png
│ │ └── values
│ │ ├── strings.xml
│ │ └── styles.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
├── keystores
│ ├── BUCK
│ └── debug.keystore.properties
├── screenrecorder.iml
└── settings.gradle
├── app.json
├── index.js
├── ios
├── ASScreenRecorder.h
├── ASScreenRecorder.m
├── RecorderManager.h
├── RecorderManager.m
├── screenrecorder-tvOS
│ └── Info.plist
├── screenrecorder-tvOSTests
│ └── Info.plist
├── screenrecorder.xcodeproj
│ ├── project.pbxproj
│ ├── project.xcworkspace
│ │ ├── contents.xcworkspacedata
│ │ ├── xcshareddata
│ │ │ └── IDEWorkspaceChecks.plist
│ │ └── xcuserdata
│ │ │ └── chenshu.xcuserdatad
│ │ │ └── UserInterfaceState.xcuserstate
│ ├── xcshareddata
│ │ └── xcschemes
│ │ │ ├── screenrecorder-tvOS.xcscheme
│ │ │ └── screenrecorder.xcscheme
│ └── xcuserdata
│ │ └── chenshu.xcuserdatad
│ │ └── xcschemes
│ │ └── xcschememanagement.plist
├── screenrecorder
│ ├── AppDelegate.h
│ ├── AppDelegate.m
│ ├── Base.lproj
│ │ └── LaunchScreen.xib
│ ├── Images.xcassets
│ │ ├── AppIcon.appiconset
│ │ │ └── Contents.json
│ │ └── Contents.json
│ ├── Info.plist
│ └── main.m
└── screenrecorderTests
│ ├── Info.plist
│ └── screenrecorderTests.m
├── package-lock.json
└── package.json
/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": [
3 | "babel-preset-react-native-stage-0/decorator-support"
4 | ],
5 | "env": {
6 | "development": {
7 | "plugins": [
8 | "transform-react-jsx-source"
9 | ]
10 | }
11 | }
12 | }
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # See https://help.github.com/ignore-files/ for more about ignoring files.
2 |
3 | # expo
4 | .expo/
5 |
6 | # dependencies
7 | /node_modules
8 |
9 | # builds
10 | ios/build/
11 | android/app/build/
12 | android/build/generated/
13 | android/build/intermediates/
14 |
15 | # misc
16 | .env.local
17 | .env.development.local
18 | .env.test.local
19 | .env.production.local
20 | android/.gradle
21 | android/.idea
22 | android/local.properties
23 |
24 | npm-debug.log*
25 | yarn-debug.log*
26 | yarn-error.log*
27 |
--------------------------------------------------------------------------------
/.watchmanconfig:
--------------------------------------------------------------------------------
1 | {}
2 |
--------------------------------------------------------------------------------
/App.js:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 | import {
3 | StyleSheet,
4 | Text,
5 | TextInput,
6 | View,
7 | CameraRoll,
8 | Button,
9 | NativeModules,
10 | Platform,
11 | DeviceEventEmitter,
12 | Keyboard
13 | } from 'react-native';
14 | import VideoPlayer from 'react-native-video-controls';
15 | const { RecorderManager } = NativeModules;
16 |
17 | export default class App extends React.Component {
18 | state = {
19 | videoUri: null,
20 | disableStart: false,
21 | disableStopped: true,
22 | disablePlayable: true,
23 | androidVideoUrl: null,
24 | keyboardIsShown: false,
25 | }
26 |
27 | start = () => {
28 | RecorderManager.start();
29 | this.setState({
30 | disableStart: true,
31 | disableStopped: false,
32 | disablePlayable: true,
33 | });
34 | }
35 |
36 | stop = () => {
37 | RecorderManager.stop();
38 | this.setState({
39 | disableStart: true,
40 | disableStopped: true,
41 | disablePlayable: false,
42 | });
43 | }
44 |
45 | play = () => {
46 | switch (Platform.OS) {
47 | case 'android':
48 | const { androidVideoUrl } = this.state;
49 | if (androidVideoUrl) {
50 | this.setState({
51 | videoUri: androidVideoUrl,
52 | disableStart: true,
53 | disableStopped: true,
54 | disablePlayable: true,
55 | })
56 | }
57 | break;
58 |
59 | case 'ios':
60 | CameraRoll.getPhotos({
61 | first: 1,
62 | assetType: 'Videos'
63 | }).then(r => {
64 | if (r.edges.length > 0) {
65 | const video = r.edges[0].node.image;
66 | this.setState({
67 | videoUri: video.uri,
68 | disableStart: true,
69 | disableStopped: true,
70 | disablePlayable: true,
71 | })
72 | }
73 | });
74 | break;
75 |
76 | default:
77 | break;
78 | }
79 | }
80 |
81 | playEnded = () => {
82 | this.setState({
83 | videoUri: null,
84 | disableStart: false,
85 | disableStopped: true,
86 | disablePlayable: true,
87 | androidVideoUrl: null,
88 | });
89 | }
90 |
91 | keyboardDidShow = () => {
92 | this.setState({keyboardIsShown: true});
93 | }
94 |
95 | keyboardDidHide = () => {
96 | this.setState({keyboardIsShown: false});
97 | }
98 |
99 | rendernControlBtnGroup = () => {
100 | const { disableStart, disableStopped, disablePlayable } = this.state;
101 | return (
102 |
103 |
104 |
105 |
106 |
107 | )
108 | }
109 |
110 | componentWillMount() {
111 | DeviceEventEmitter.addListener('updateFilePath', (filePath) => {
112 | console.log(filePath);
113 |
114 | this.setState({androidVideoUrl: filePath});
115 | });
116 | }
117 |
118 | componentDidMount () {
119 | this.keyboardDidShowListener = Keyboard.addListener('keyboardDidShow', this.keyboardDidShow);
120 | this.keyboardDidHideListener = Keyboard.addListener('keyboardDidHide', this.keyboardDidHide);
121 | }
122 |
123 | componentWillUnmount () {
124 | this.keyboardDidShowListener.remove();
125 | this.keyboardDidHideListener.remove();
126 | }
127 |
128 | render() {
129 | const { videoUri, keyboardIsShown } = this.state;
130 | return (
131 |
132 | {Platform.OS === 'ios' && keyboardIsShown &&
133 | this.rendernControlBtnGroup()
134 | }
135 |
136 | {videoUri &&
137 |
141 | }
142 | {!videoUri &&
143 | this.setState({text})}
148 | value={this.state.text}
149 | />
150 | }
151 |
152 | {this.rendernControlBtnGroup()}
153 |
154 | );
155 | }
156 | }
157 |
158 | const styles = StyleSheet.create({
159 | container: {
160 | flex: 1,
161 | paddingTop: 20,
162 | backgroundColor: '#fff',
163 | alignItems: 'center',
164 | justifyContent: 'center',
165 | },
166 |
167 | content: {
168 | flex: 1,
169 | flexDirection: 'row',
170 | padding: 20,
171 | justifyContent: 'center',
172 | },
173 |
174 | textInput: {
175 | borderColor: 'gray',
176 | borderWidth: 1,
177 | flex: 1,
178 | fontSize: 24
179 | },
180 |
181 | footer: {
182 | backgroundColor: Platform.OS==='ios' ? '#eee' : '#fff',
183 | flexDirection: 'row',
184 | alignSelf: 'stretch',
185 | justifyContent: 'center',
186 | paddingVertical: 20,
187 | },
188 | });
189 |
--------------------------------------------------------------------------------
/App.test.js:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 | import App from './App';
3 |
4 | import renderer from 'react-test-renderer';
5 |
6 | it('renders without crashing', () => {
7 | const rendered = renderer.create().toJSON();
8 | expect(rendered).toBeTruthy();
9 | });
10 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Screen Recorder
2 | This project is set up using [create-react-native-app](https://github.com/react-community/create-react-native-app) by facebook.
3 |
4 | ## Objective
5 | To enable react native app to make use of native modules, in this case, screen recording module.
6 |
7 | ## Accomplishement
8 | The screen recording feature is able to run on both platforms but the implementation is quite different on each platform.
9 |
10 | ### iOS
11 | [ASScreenRecorder](https://github.com/alskipp/ASScreenRecorder) is included as an external library to handle the screen recording function. All I need to do is to create `RecorderManager` which exports the "start" and "stop" module functions for react-native app to call.
12 |
13 | The output video will be saved into iOS camera roll, therefore `CameraRoll` module (which is available from `react-native`) is used to retrieve the video*.
14 |
15 | _* In this app, it's naively assumed that the recording is always the latest video in the camara roll._
16 |
17 | ### Android
18 | _There seems no libraries similar to ASScreenRecorder on Android and due to the lack of experience on native app development, I have to heavily rely on other people's [work](#References) to come out with a solution for Android._
19 |
20 | To implement screen recording on Android, multiple classes from multiple android packages have to be imported, such as `MediaProjection`, `VirtualDisplay`, `MediaRecorder` and etc. The implementation details are mainly in `MainActivity.java`.
21 |
22 | The output video is stored in external storage of Android for the time being (that means it may not work on devices without external storage). Unlike the implementation on iOS which generate a new copy of video file for each recording session, the same video file will be overwritten again and again on Android with current implementation.
23 |
24 |
25 | #### Video playing
26 | Initially since there's only one copy of the video all the time, the file path to the video is deterministic, therefore, a package called `react-native-fs` is used to obtain the full path of the video from the device and supply to the `VideoPlayer` component to play.
27 |
28 | After exploring ["Sending Events to JavaScript"](https://facebook.github.io/react-native/docs/native-modules-ios.html#sending-events-to-javascript), the file path of the video is sent back to react side by emitting respective event. Therefore, `react-native-fs` is no longer needed and the react side also does not need to memorize the file path anymore.
29 |
30 |
31 | ### References
32 | http://www.truiton.com/2015/05/capture-record-android-screen-using-mediaprojection-apis/
33 |
34 | https://github.com/vinceyuan/ReactRecorder
35 |
36 | https://medium.com/jamesob-com/recording-your-android-screen-7e0e75aae260
37 |
38 | https://medium.com/@wenchihhsieh/how-to-record-screen-in-android-ece7eff6bb77
39 |
40 |
41 | ## How to run this project locally
42 | Run `npm install` to install all the dependencies.
43 |
44 |
45 | ## Available Scripts
46 | In the project directory, you can run:
47 |
48 | ### `npm run ios`
49 | Open the app in the iOS Simulator if you're on a Mac and have it installed.
50 |
51 | ### `npm run android`
52 | Open the app on a connected Android device or emulator.
53 |
--------------------------------------------------------------------------------
/android/app/BUCK:
--------------------------------------------------------------------------------
1 | # To learn about Buck see [Docs](https://buckbuild.com/).
2 | # To run your application with Buck:
3 | # - install Buck
4 | # - `npm start` - to start the packager
5 | # - `cd android`
6 | # - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"`
7 | # - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck
8 | # - `buck install -r android/app` - compile, install and run application
9 | #
10 |
11 | lib_deps = []
12 |
13 | for jarfile in glob(['libs/*.jar']):
14 | name = 'jars__' + jarfile[jarfile.rindex('/') + 1: jarfile.rindex('.jar')]
15 | lib_deps.append(':' + name)
16 | prebuilt_jar(
17 | name = name,
18 | binary_jar = jarfile,
19 | )
20 |
21 | for aarfile in glob(['libs/*.aar']):
22 | name = 'aars__' + aarfile[aarfile.rindex('/') + 1: aarfile.rindex('.aar')]
23 | lib_deps.append(':' + name)
24 | android_prebuilt_aar(
25 | name = name,
26 | aar = aarfile,
27 | )
28 |
29 | android_library(
30 | name = "all-libs",
31 | exported_deps = lib_deps,
32 | )
33 |
34 | android_library(
35 | name = "app-code",
36 | srcs = glob([
37 | "src/main/java/**/*.java",
38 | ]),
39 | deps = [
40 | ":all-libs",
41 | ":build_config",
42 | ":res",
43 | ],
44 | )
45 |
46 | android_build_config(
47 | name = "build_config",
48 | package = "com.screenrecorder",
49 | )
50 |
51 | android_resource(
52 | name = "res",
53 | package = "com.screenrecorder",
54 | res = "src/main/res",
55 | )
56 |
57 | android_binary(
58 | name = "app",
59 | keystore = "//android/keystores:debug",
60 | manifest = "src/main/AndroidManifest.xml",
61 | package_type = "debug",
62 | deps = [
63 | ":app-code",
64 | ],
65 | )
66 |
--------------------------------------------------------------------------------
/android/app/app.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 | generateDebugSources
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
--------------------------------------------------------------------------------
/android/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: "com.android.application"
2 |
3 | import com.android.build.OutputFile
4 |
5 | /**
6 | * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets
7 | * and bundleReleaseJsAndAssets).
8 | * These basically call `react-native bundle` with the correct arguments during the Android build
9 | * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the
10 | * bundle directly from the development server. Below you can see all the possible configurations
11 | * and their defaults. If you decide to add a configuration block, make sure to add it before the
12 | * `apply from: "../../node_modules/react-native/react.gradle"` line.
13 | *
14 | * project.ext.react = [
15 | * // the name of the generated asset file containing your JS bundle
16 | * bundleAssetName: "index.android.bundle",
17 | *
18 | * // the entry file for bundle generation
19 | * entryFile: "index.android.js",
20 | *
21 | * // whether to bundle JS and assets in debug mode
22 | * bundleInDebug: false,
23 | *
24 | * // whether to bundle JS and assets in release mode
25 | * bundleInRelease: true,
26 | *
27 | * // whether to bundle JS and assets in another build variant (if configured).
28 | * // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants
29 | * // The configuration property can be in the following formats
30 | * // 'bundleIn${productFlavor}${buildType}'
31 | * // 'bundleIn${buildType}'
32 | * // bundleInFreeDebug: true,
33 | * // bundleInPaidRelease: true,
34 | * // bundleInBeta: true,
35 | *
36 | * // whether to disable dev mode in custom build variants (by default only disabled in release)
37 | * // for example: to disable dev mode in the staging build type (if configured)
38 | * devDisabledInStaging: true,
39 | * // The configuration property can be in the following formats
40 | * // 'devDisabledIn${productFlavor}${buildType}'
41 | * // 'devDisabledIn${buildType}'
42 | *
43 | * // the root of your project, i.e. where "package.json" lives
44 | * root: "../../",
45 | *
46 | * // where to put the JS bundle asset in debug mode
47 | * jsBundleDirDebug: "$buildDir/intermediates/assets/debug",
48 | *
49 | * // where to put the JS bundle asset in release mode
50 | * jsBundleDirRelease: "$buildDir/intermediates/assets/release",
51 | *
52 | * // where to put drawable resources / React Native assets, e.g. the ones you use via
53 | * // require('./image.png')), in debug mode
54 | * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug",
55 | *
56 | * // where to put drawable resources / React Native assets, e.g. the ones you use via
57 | * // require('./image.png')), in release mode
58 | * resourcesDirRelease: "$buildDir/intermediates/res/merged/release",
59 | *
60 | * // by default the gradle tasks are skipped if none of the JS files or assets change; this means
61 | * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to
62 | * // date; if you have any other folders that you want to ignore for performance reasons (gradle
63 | * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/
64 | * // for example, you might want to remove it from here.
65 | * inputExcludes: ["android/**", "ios/**"],
66 | *
67 | * // override which node gets called and with what additional arguments
68 | * nodeExecutableAndArgs: ["node"],
69 | *
70 | * // supply additional arguments to the packager
71 | * extraPackagerArgs: []
72 | * ]
73 | */
74 |
75 | project.ext.react = [
76 | entryFile: "index.js"
77 | ]
78 |
79 | apply from: "../../node_modules/react-native/react.gradle"
80 |
81 | /**
82 | * Set this to true to create two separate APKs instead of one:
83 | * - An APK that only works on ARM devices
84 | * - An APK that only works on x86 devices
85 | * The advantage is the size of the APK is reduced by about 4MB.
86 | * Upload all the APKs to the Play Store and people will download
87 | * the correct one based on the CPU architecture of their device.
88 | */
89 | def enableSeparateBuildPerCPUArchitecture = false
90 |
91 | /**
92 | * Run Proguard to shrink the Java bytecode in release builds.
93 | */
94 | def enableProguardInReleaseBuilds = false
95 |
96 | android {
97 | compileSdkVersion 23
98 | buildToolsVersion "23.0.1"
99 |
100 | defaultConfig {
101 | applicationId "com.screenrecorder"
102 | minSdkVersion 16
103 | targetSdkVersion 22
104 | versionCode 1
105 | versionName "1.0"
106 | ndk {
107 | abiFilters "armeabi-v7a", "x86"
108 | }
109 | }
110 | splits {
111 | abi {
112 | reset()
113 | enable enableSeparateBuildPerCPUArchitecture
114 | universalApk false // If true, also generate a universal APK
115 | include "armeabi-v7a", "x86"
116 | }
117 | }
118 | buildTypes {
119 | release {
120 | minifyEnabled enableProguardInReleaseBuilds
121 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
122 | }
123 | }
124 | // applicationVariants are e.g. debug, release
125 | applicationVariants.all { variant ->
126 | variant.outputs.each { output ->
127 | // For each separate APK per architecture, set a unique version code as described here:
128 | // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
129 | def versionCodes = ["armeabi-v7a":1, "x86":2]
130 | def abi = output.getFilter(OutputFile.ABI)
131 | if (abi != null) { // null for the universal-debug, universal-release variants
132 | output.versionCodeOverride =
133 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode
134 | }
135 | }
136 | }
137 | }
138 |
139 | dependencies {
140 | compile project(':react-native-fs')
141 | compile project(':react-native-video')
142 | compile fileTree(dir: "libs", include: ["*.jar"])
143 | compile "com.android.support:appcompat-v7:23.0.1"
144 | compile "com.facebook.react:react-native:+" // From node_modules
145 | }
146 |
147 | // Run this once to be able to run the application with BUCK
148 | // puts all compile dependencies into folder libs for BUCK to use
149 | task copyDownloadableDepsToLibs(type: Copy) {
150 | from configurations.compile
151 | into 'libs'
152 | }
153 |
--------------------------------------------------------------------------------
/android/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
19 | # Disabling obfuscation is useful if you collect stack traces from production crashes
20 | # (unless you are using a system that supports de-obfuscate the stack traces).
21 | -dontobfuscate
22 |
23 | # React Native
24 |
25 | # Keep our interfaces so they can be used by other ProGuard rules.
26 | # See http://sourceforge.net/p/proguard/bugs/466/
27 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.DoNotStrip
28 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.KeepGettersAndSetters
29 | -keep,allowobfuscation @interface com.facebook.common.internal.DoNotStrip
30 |
31 | # Do not strip any method/class that is annotated with @DoNotStrip
32 | -keep @com.facebook.proguard.annotations.DoNotStrip class *
33 | -keep @com.facebook.common.internal.DoNotStrip class *
34 | -keepclassmembers class * {
35 | @com.facebook.proguard.annotations.DoNotStrip *;
36 | @com.facebook.common.internal.DoNotStrip *;
37 | }
38 |
39 | -keepclassmembers @com.facebook.proguard.annotations.KeepGettersAndSetters class * {
40 | void set*(***);
41 | *** get*();
42 | }
43 |
44 | -keep class * extends com.facebook.react.bridge.JavaScriptModule { *; }
45 | -keep class * extends com.facebook.react.bridge.NativeModule { *; }
46 | -keepclassmembers,includedescriptorclasses class * { native ; }
47 | -keepclassmembers class * { @com.facebook.react.uimanager.UIProp ; }
48 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactProp ; }
49 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactPropGroup ; }
50 |
51 | -dontwarn com.facebook.react.**
52 |
53 | # TextLayoutBuilder uses a non-public Android constructor within StaticLayout.
54 | # See libs/proxy/src/main/java/com/facebook/fbui/textlayoutbuilder/proxy for details.
55 | -dontwarn android.text.StaticLayout
56 |
57 | # okhttp
58 |
59 | -keepattributes Signature
60 | -keepattributes *Annotation*
61 | -keep class okhttp3.** { *; }
62 | -keep interface okhttp3.** { *; }
63 | -dontwarn okhttp3.**
64 |
65 | # okio
66 |
67 | -keep class sun.misc.Unsafe { *; }
68 | -dontwarn java.nio.file.*
69 | -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
70 | -dontwarn okio.**
71 |
--------------------------------------------------------------------------------
/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
16 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/android/app/src/main/java/com/screenrecorder/MainActivity.java:
--------------------------------------------------------------------------------
1 | package com.screenrecorder;
2 |
3 | import com.facebook.react.ReactActivity;
4 |
5 | import android.content.Context;
6 | import android.content.Intent;
7 | import android.hardware.display.DisplayManager;
8 | import android.hardware.display.VirtualDisplay;
9 | import android.media.MediaRecorder;
10 | import android.media.projection.MediaProjection;
11 | import android.media.projection.MediaProjectionManager;
12 | import android.os.Bundle;
13 | import android.os.Environment;
14 | import android.util.DisplayMetrics;
15 | import android.util.Log;
16 | import android.util.SparseIntArray;
17 | import android.view.Surface;
18 |
19 | import java.io.IOException;
20 |
21 | public class MainActivity extends ReactActivity {
22 |
23 | private static final String TAG = "MainActivity";
24 | private static final int REQUEST_CODE = 1000;
25 | private int mScreenDensity;
26 | private MediaProjectionManager mProjectionManager;
27 | private static final int DISPLAY_WIDTH = 720;
28 | private static final int DISPLAY_HEIGHT = 1280;
29 | private MediaProjection mMediaProjection;
30 | private VirtualDisplay mVirtualDisplay;
31 | private MediaProjectionCallback mMediaProjectionCallback;
32 | private MediaRecorder mMediaRecorder;
33 | private static final SparseIntArray ORIENTATIONS = new SparseIntArray();
34 | private String videoPath;
35 |
36 | static {
37 | ORIENTATIONS.append(Surface.ROTATION_0, 90);
38 | ORIENTATIONS.append(Surface.ROTATION_90, 0);
39 | ORIENTATIONS.append(Surface.ROTATION_180, 270);
40 | ORIENTATIONS.append(Surface.ROTATION_270, 180);
41 | }
42 |
43 | @Override
44 | public void onCreate(Bundle savedInstanceState) {
45 | super.onCreate(savedInstanceState);
46 |
47 | RecorderManager.updateActivity(this);
48 |
49 | DisplayMetrics metrics = new DisplayMetrics();
50 | getWindowManager().getDefaultDisplay().getMetrics(metrics);
51 | mScreenDensity = metrics.densityDpi;
52 |
53 | mMediaRecorder = null;
54 |
55 | mProjectionManager = (MediaProjectionManager) getSystemService(Context.MEDIA_PROJECTION_SERVICE);
56 | }
57 |
58 | @Override
59 | public void onActivityResult(int requestCode, int resultCode, Intent data) {
60 | if (requestCode != REQUEST_CODE) {
61 | Log.e(TAG, "Unknown request code: " + requestCode);
62 | return;
63 | }
64 | if (resultCode != RESULT_OK) {
65 | mMediaRecorder = null;
66 | mMediaProjection = null;
67 | return;
68 | }
69 |
70 | try {
71 | mMediaProjectionCallback = new MediaProjectionCallback();
72 | mMediaProjection = mProjectionManager.getMediaProjection(resultCode, data);
73 | mMediaProjection.registerCallback(mMediaProjectionCallback, null);
74 | mVirtualDisplay = createVirtualDisplay();
75 | mMediaRecorder.start();
76 | } catch (Exception e) {
77 | e.printStackTrace();
78 | }
79 | }
80 |
81 | public void startRecording() {
82 |
83 | try {
84 | initRecorder();
85 | shareScreen();
86 | } catch (Exception e) {
87 | e.printStackTrace();
88 | mMediaRecorder = null;
89 | mMediaProjection = null;
90 | }
91 | }
92 |
93 | public void stopRecording() {
94 |
95 | if (mMediaRecorder == null) {
96 | return;
97 | }
98 | try {
99 | mMediaRecorder.setOnErrorListener(null);
100 | mMediaRecorder.stop();
101 | mMediaRecorder.reset();
102 | stopScreenSharing();
103 | } catch (Exception e) {
104 | e.printStackTrace();
105 | }
106 | }
107 |
108 | public String getVideoPath() {
109 | return videoPath;
110 | }
111 |
112 | private void shareScreen() {
113 | if (mMediaProjection == null) {
114 | startActivityForResult(mProjectionManager.createScreenCaptureIntent(), REQUEST_CODE);
115 | return;
116 | }
117 | mVirtualDisplay = createVirtualDisplay();
118 | mMediaRecorder.start();
119 | }
120 |
121 | private VirtualDisplay createVirtualDisplay() {
122 | return mMediaProjection.createVirtualDisplay("MainActivity",
123 | DISPLAY_WIDTH, DISPLAY_HEIGHT, mScreenDensity,
124 | DisplayManager.VIRTUAL_DISPLAY_FLAG_AUTO_MIRROR,
125 | mMediaRecorder.getSurface(), null /*Callbacks*/, null
126 | /*Handler*/);
127 | }
128 |
129 | private void initRecorder() {
130 | try {
131 | mMediaRecorder = new MediaRecorder();
132 | mMediaRecorder.setVideoSource(MediaRecorder.VideoSource.SURFACE);
133 | mMediaRecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
134 | videoPath = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS) + "/video.mp4";
135 | mMediaRecorder.setOutputFile(videoPath);
136 | mMediaRecorder.setVideoSize(DISPLAY_WIDTH, DISPLAY_HEIGHT);
137 | mMediaRecorder.setVideoEncoder(MediaRecorder.VideoEncoder.H264);
138 | mMediaRecorder.setVideoEncodingBitRate(512 * 1000);
139 | mMediaRecorder.setVideoFrameRate(30);
140 | int rotation = getWindowManager().getDefaultDisplay().getRotation();
141 | int orientation = ORIENTATIONS.get(rotation + 90);
142 | mMediaRecorder.setOrientationHint(orientation);
143 | mMediaRecorder.prepare();
144 | } catch (IOException e) {
145 | e.printStackTrace();
146 | }
147 | }
148 |
149 | private class MediaProjectionCallback extends MediaProjection.Callback {
150 | @Override
151 | public void onStop() {
152 | stopRecording();
153 | }
154 | }
155 |
156 | private void stopScreenSharing() {
157 | if (mVirtualDisplay == null) {
158 | return;
159 | }
160 | mVirtualDisplay.release();
161 | mVirtualDisplay = null;
162 | mMediaRecorder.release();
163 | mMediaRecorder = null;
164 | destroyMediaProjection();
165 | }
166 |
167 | @Override
168 | public void onDestroy() {
169 | super.onDestroy();
170 | destroyMediaProjection();
171 | }
172 |
173 | private void destroyMediaProjection() {
174 | if (mMediaProjection != null) {
175 | mMediaProjection.unregisterCallback(mMediaProjectionCallback);
176 | mMediaProjection.stop();
177 | mMediaProjection = null;
178 | }
179 | Log.i(TAG, "MediaProjection Stopped");
180 | }
181 |
182 | /**
183 | * Returns the name of the main component registered from JavaScript.
184 | * This is used to schedule rendering of the component.
185 | */
186 | @Override
187 | protected String getMainComponentName() {
188 | return "screenrecorder";
189 | }
190 | }
191 |
--------------------------------------------------------------------------------
/android/app/src/main/java/com/screenrecorder/MainApplication.java:
--------------------------------------------------------------------------------
1 | package com.screenrecorder;
2 |
3 | import android.app.Application;
4 |
5 | import com.facebook.react.ReactApplication;
6 | import com.rnfs.RNFSPackage;
7 | import com.brentvatne.react.ReactVideoPackage;
8 | import com.facebook.react.ReactNativeHost;
9 | import com.facebook.react.ReactPackage;
10 | import com.facebook.react.shell.MainReactPackage;
11 | import com.facebook.soloader.SoLoader;
12 |
13 | import java.util.Arrays;
14 | import java.util.List;
15 |
16 | public class MainApplication extends Application implements ReactApplication {
17 |
18 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {
19 | @Override
20 | public boolean getUseDeveloperSupport() {
21 | return BuildConfig.DEBUG;
22 | }
23 |
24 | @Override
25 | protected List getPackages() {
26 | return Arrays.asList(
27 | new MainReactPackage(),
28 | new RNFSPackage(),
29 | new ReactVideoPackage(),
30 | new RecorderReactPackage()
31 | );
32 | }
33 |
34 | @Override
35 | protected String getJSMainModuleName() {
36 | return "index";
37 | }
38 | };
39 |
40 | @Override
41 | public ReactNativeHost getReactNativeHost() {
42 | return mReactNativeHost;
43 | }
44 |
45 | @Override
46 | public void onCreate() {
47 | super.onCreate();
48 | SoLoader.init(this, /* native exopackage */ false);
49 | }
50 | }
51 |
--------------------------------------------------------------------------------
/android/app/src/main/java/com/screenrecorder/RecorderManager.java:
--------------------------------------------------------------------------------
1 | package com.screenrecorder;
2 |
3 | import android.widget.Toast;
4 |
5 | import com.facebook.react.bridge.NativeModule;
6 | import com.facebook.react.bridge.ReactApplicationContext;
7 | import com.facebook.react.bridge.ReactContext;
8 | import com.facebook.react.bridge.ReactContextBaseJavaModule;
9 | import com.facebook.react.bridge.ReactMethod;
10 | import com.facebook.react.modules.core.DeviceEventManagerModule;
11 | import com.screenrecorder.MainActivity;
12 |
13 | import java.lang.ref.WeakReference;
14 |
15 |
16 |
17 |
18 | public class RecorderManager extends ReactContextBaseJavaModule {
19 |
20 | private static WeakReference mWeakActivity;
21 |
22 | public RecorderManager(ReactApplicationContext reactContext) {
23 | super(reactContext);
24 | }
25 |
26 | public static void updateActivity(MainActivity activity) {
27 | mWeakActivity = new WeakReference(activity);
28 | }
29 |
30 |
31 | @Override
32 | public String getName() {
33 | return "RecorderManager";
34 | }
35 |
36 | @ReactMethod
37 | public void start() {
38 | mWeakActivity.get().startRecording();
39 | Toast.makeText(getReactApplicationContext(), "started", Toast.LENGTH_SHORT).show();
40 | }
41 |
42 | @ReactMethod
43 | public void stop() {
44 | mWeakActivity.get().stopRecording();
45 | String filePath = mWeakActivity.get().getVideoPath();
46 | getReactApplicationContext()
47 | .getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter.class)
48 | .emit("updateFilePath", filePath);
49 |
50 | Toast.makeText(getReactApplicationContext(), "stopped", Toast.LENGTH_SHORT).show();
51 |
52 | }
53 | }
--------------------------------------------------------------------------------
/android/app/src/main/java/com/screenrecorder/RecorderReactPackage.java:
--------------------------------------------------------------------------------
1 | package com.screenrecorder;
2 |
3 | import com.facebook.react.ReactPackage;
4 | import com.facebook.react.bridge.NativeModule;
5 | import com.facebook.react.bridge.ReactApplicationContext;
6 | import com.facebook.react.uimanager.ViewManager;
7 | import com.facebook.react.bridge.JavaScriptModule;
8 |
9 |
10 |
11 | import java.util.ArrayList;
12 | import java.util.Collections;
13 | import java.util.List;
14 |
15 | public class RecorderReactPackage implements ReactPackage {
16 |
17 | @Override
18 | public List createViewManagers(ReactApplicationContext reactContext) {
19 | return Collections.emptyList();
20 | }
21 |
22 | @Override
23 | public List createNativeModules(
24 | ReactApplicationContext reactContext) {
25 | List modules = new ArrayList<>();
26 |
27 | modules.add(new RecorderManager(reactContext));
28 |
29 | return modules;
30 | }
31 |
32 | // Backward compatibility
33 | public List> createJSModules() {
34 | return new ArrayList<>();
35 | }
36 |
37 | }
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ycswaves/react-native-screen-recorder/de62e83cb6c466277fbda890169ff7db9a8b7c1a/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ycswaves/react-native-screen-recorder/de62e83cb6c466277fbda890169ff7db9a8b7c1a/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ycswaves/react-native-screen-recorder/de62e83cb6c466277fbda890169ff7db9a8b7c1a/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ycswaves/react-native-screen-recorder/de62e83cb6c466277fbda890169ff7db9a8b7c1a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | Screen Recorder
3 |
4 |
--------------------------------------------------------------------------------
/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/android/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:2.2.3'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | mavenLocal()
18 | jcenter()
19 | maven {
20 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
21 | url "$rootDir/../node_modules/react-native/android"
22 | }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/android/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Gradle settings configured through the IDE *will override*
5 | # any settings specified in this file.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m
13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
14 |
15 | # When configured, Gradle will run in incubating parallel mode.
16 | # This option should only be used with decoupled projects. More details, visit
17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
18 | # org.gradle.parallel=true
19 |
20 | android.useDeprecatedNdk=true
21 |
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ycswaves/react-native-screen-recorder/de62e83cb6c466277fbda890169ff7db9a8b7c1a/android/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionBase=GRADLE_USER_HOME
2 | distributionPath=wrapper/dists
3 | zipStoreBase=GRADLE_USER_HOME
4 | zipStorePath=wrapper/dists
5 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
6 |
--------------------------------------------------------------------------------
/android/gradlew:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | ##############################################################################
4 | ##
5 | ## Gradle start up script for UN*X
6 | ##
7 | ##############################################################################
8 |
9 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
10 | DEFAULT_JVM_OPTS=""
11 |
12 | APP_NAME="Gradle"
13 | APP_BASE_NAME=`basename "$0"`
14 |
15 | # Use the maximum available, or set MAX_FD != -1 to use that value.
16 | MAX_FD="maximum"
17 |
18 | warn ( ) {
19 | echo "$*"
20 | }
21 |
22 | die ( ) {
23 | echo
24 | echo "$*"
25 | echo
26 | exit 1
27 | }
28 |
29 | # OS specific support (must be 'true' or 'false').
30 | cygwin=false
31 | msys=false
32 | darwin=false
33 | case "`uname`" in
34 | CYGWIN* )
35 | cygwin=true
36 | ;;
37 | Darwin* )
38 | darwin=true
39 | ;;
40 | MINGW* )
41 | msys=true
42 | ;;
43 | esac
44 |
45 | # For Cygwin, ensure paths are in UNIX format before anything is touched.
46 | if $cygwin ; then
47 | [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
48 | fi
49 |
50 | # Attempt to set APP_HOME
51 | # Resolve links: $0 may be a link
52 | PRG="$0"
53 | # Need this for relative symlinks.
54 | while [ -h "$PRG" ] ; do
55 | ls=`ls -ld "$PRG"`
56 | link=`expr "$ls" : '.*-> \(.*\)$'`
57 | if expr "$link" : '/.*' > /dev/null; then
58 | PRG="$link"
59 | else
60 | PRG=`dirname "$PRG"`"/$link"
61 | fi
62 | done
63 | SAVED="`pwd`"
64 | cd "`dirname \"$PRG\"`/" >&-
65 | APP_HOME="`pwd -P`"
66 | cd "$SAVED" >&-
67 |
68 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
69 |
70 | # Determine the Java command to use to start the JVM.
71 | if [ -n "$JAVA_HOME" ] ; then
72 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
73 | # IBM's JDK on AIX uses strange locations for the executables
74 | JAVACMD="$JAVA_HOME/jre/sh/java"
75 | else
76 | JAVACMD="$JAVA_HOME/bin/java"
77 | fi
78 | if [ ! -x "$JAVACMD" ] ; then
79 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
80 |
81 | Please set the JAVA_HOME variable in your environment to match the
82 | location of your Java installation."
83 | fi
84 | else
85 | JAVACMD="java"
86 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
87 |
88 | Please set the JAVA_HOME variable in your environment to match the
89 | location of your Java installation."
90 | fi
91 |
92 | # Increase the maximum file descriptors if we can.
93 | if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
94 | MAX_FD_LIMIT=`ulimit -H -n`
95 | if [ $? -eq 0 ] ; then
96 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
97 | MAX_FD="$MAX_FD_LIMIT"
98 | fi
99 | ulimit -n $MAX_FD
100 | if [ $? -ne 0 ] ; then
101 | warn "Could not set maximum file descriptor limit: $MAX_FD"
102 | fi
103 | else
104 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
105 | fi
106 | fi
107 |
108 | # For Darwin, add options to specify how the application appears in the dock
109 | if $darwin; then
110 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
111 | fi
112 |
113 | # For Cygwin, switch paths to Windows format before running java
114 | if $cygwin ; then
115 | APP_HOME=`cygpath --path --mixed "$APP_HOME"`
116 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
117 |
118 | # We build the pattern for arguments to be converted via cygpath
119 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
120 | SEP=""
121 | for dir in $ROOTDIRSRAW ; do
122 | ROOTDIRS="$ROOTDIRS$SEP$dir"
123 | SEP="|"
124 | done
125 | OURCYGPATTERN="(^($ROOTDIRS))"
126 | # Add a user-defined pattern to the cygpath arguments
127 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then
128 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
129 | fi
130 | # Now convert the arguments - kludge to limit ourselves to /bin/sh
131 | i=0
132 | for arg in "$@" ; do
133 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
134 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
135 |
136 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
137 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
138 | else
139 | eval `echo args$i`="\"$arg\""
140 | fi
141 | i=$((i+1))
142 | done
143 | case $i in
144 | (0) set -- ;;
145 | (1) set -- "$args0" ;;
146 | (2) set -- "$args0" "$args1" ;;
147 | (3) set -- "$args0" "$args1" "$args2" ;;
148 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
149 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
150 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
151 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
152 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
153 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
154 | esac
155 | fi
156 |
157 | # Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
158 | function splitJvmOpts() {
159 | JVM_OPTS=("$@")
160 | }
161 | eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
162 | JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
163 |
164 | exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
165 |
--------------------------------------------------------------------------------
/android/gradlew.bat:
--------------------------------------------------------------------------------
1 | @if "%DEBUG%" == "" @echo off
2 | @rem ##########################################################################
3 | @rem
4 | @rem Gradle startup script for Windows
5 | @rem
6 | @rem ##########################################################################
7 |
8 | @rem Set local scope for the variables with windows NT shell
9 | if "%OS%"=="Windows_NT" setlocal
10 |
11 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
12 | set DEFAULT_JVM_OPTS=
13 |
14 | set DIRNAME=%~dp0
15 | if "%DIRNAME%" == "" set DIRNAME=.
16 | set APP_BASE_NAME=%~n0
17 | set APP_HOME=%DIRNAME%
18 |
19 | @rem Find java.exe
20 | if defined JAVA_HOME goto findJavaFromJavaHome
21 |
22 | set JAVA_EXE=java.exe
23 | %JAVA_EXE% -version >NUL 2>&1
24 | if "%ERRORLEVEL%" == "0" goto init
25 |
26 | echo.
27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
28 | echo.
29 | echo Please set the JAVA_HOME variable in your environment to match the
30 | echo location of your Java installation.
31 |
32 | goto fail
33 |
34 | :findJavaFromJavaHome
35 | set JAVA_HOME=%JAVA_HOME:"=%
36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe
37 |
38 | if exist "%JAVA_EXE%" goto init
39 |
40 | echo.
41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
42 | echo.
43 | echo Please set the JAVA_HOME variable in your environment to match the
44 | echo location of your Java installation.
45 |
46 | goto fail
47 |
48 | :init
49 | @rem Get command-line arguments, handling Windowz variants
50 |
51 | if not "%OS%" == "Windows_NT" goto win9xME_args
52 | if "%@eval[2+2]" == "4" goto 4NT_args
53 |
54 | :win9xME_args
55 | @rem Slurp the command line arguments.
56 | set CMD_LINE_ARGS=
57 | set _SKIP=2
58 |
59 | :win9xME_args_slurp
60 | if "x%~1" == "x" goto execute
61 |
62 | set CMD_LINE_ARGS=%*
63 | goto execute
64 |
65 | :4NT_args
66 | @rem Get arguments from the 4NT Shell from JP Software
67 | set CMD_LINE_ARGS=%$
68 |
69 | :execute
70 | @rem Setup the command line
71 |
72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
73 |
74 | @rem Execute Gradle
75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
76 |
77 | :end
78 | @rem End local scope for the variables with windows NT shell
79 | if "%ERRORLEVEL%"=="0" goto mainEnd
80 |
81 | :fail
82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
83 | rem the _cmd.exe /c_ return code!
84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
85 | exit /b 1
86 |
87 | :mainEnd
88 | if "%OS%"=="Windows_NT" endlocal
89 |
90 | :omega
91 |
--------------------------------------------------------------------------------
/android/keystores/BUCK:
--------------------------------------------------------------------------------
1 | keystore(
2 | name = "debug",
3 | properties = "debug.keystore.properties",
4 | store = "debug.keystore",
5 | visibility = [
6 | "PUBLIC",
7 | ],
8 | )
9 |
--------------------------------------------------------------------------------
/android/keystores/debug.keystore.properties:
--------------------------------------------------------------------------------
1 | key.store=debug.keystore
2 | key.alias=androiddebugkey
3 | key.store.password=android
4 | key.alias.password=android
5 |
--------------------------------------------------------------------------------
/android/screenrecorder.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/android/settings.gradle:
--------------------------------------------------------------------------------
1 | rootProject.name = 'screenrecorder'
2 | include ':react-native-fs'
3 | project(':react-native-fs').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-fs/android')
4 | include ':react-native-video'
5 | project(':react-native-video').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-video/android')
6 |
7 | include ':app'
8 |
--------------------------------------------------------------------------------
/app.json:
--------------------------------------------------------------------------------
1 | {
2 | "expo": {
3 | "sdkVersion": "27.0.0"
4 | },
5 | "name": "screenrecorder",
6 | "displayName": "Screen Recorder"
7 | }
--------------------------------------------------------------------------------
/index.js:
--------------------------------------------------------------------------------
1 | import { AppRegistry } from 'react-native';
2 | import App from './App';
3 | AppRegistry.registerComponent('screenrecorder', () => App);
4 |
--------------------------------------------------------------------------------
/ios/ASScreenRecorder.h:
--------------------------------------------------------------------------------
1 | //
2 | // ASScreenRecorder.h
3 | // ScreenRecorder
4 | //
5 | // Created by Alan Skipp on 23/04/2014.
6 | // Copyright (c) 2014 Alan Skipp. All rights reserved.
7 | //
8 |
9 | #import
10 | #import
11 | typedef void (^VideoCompletionBlock)(void);
12 | @protocol ASScreenRecorderDelegate;
13 |
14 | @interface ASScreenRecorder : NSObject
15 | @property (nonatomic, readonly) BOOL isRecording;
16 |
17 | // delegate is only required when implementing ASScreenRecorderDelegate - see below
18 | @property (nonatomic, weak) id delegate;
19 |
20 | // if saveURL is nil, video will be saved into camera roll
21 | // this property can not be changed whilst recording is in progress
22 | @property (strong, nonatomic) NSURL *videoURL;
23 |
24 | + (instancetype)sharedInstance;
25 | - (BOOL)startRecording;
26 | - (void)stopRecordingWithCompletion:(VideoCompletionBlock)completionBlock;
27 | @end
28 |
29 |
30 | // If your view contains an AVCaptureVideoPreviewLayer or an openGL view
31 | // you'll need to write that data into the CGContextRef yourself.
32 | // In the viewcontroller responsible for the AVCaptureVideoPreviewLayer / openGL view
33 | // set yourself as the delegate for ASScreenRecorder.
34 | // [ASScreenRecorder sharedInstance].delegate = self
35 | // Then implement 'writeBackgroundFrameInContext:(CGContextRef*)contextRef'
36 | // use 'CGContextDrawImage' to draw your view into the provided CGContextRef
37 | @protocol ASScreenRecorderDelegate
38 | - (void)writeBackgroundFrameInContext:(CGContextRef*)contextRef;
39 | @end
40 |
--------------------------------------------------------------------------------
/ios/ASScreenRecorder.m:
--------------------------------------------------------------------------------
1 | //
2 | // ASScreenRecorder.m
3 | // ScreenRecorder
4 | //
5 | // Created by Alan Skipp on 23/04/2014.
6 | // Copyright (c) 2014 Alan Skipp. All rights reserved.
7 | //
8 |
9 | #import "ASScreenRecorder.h"
10 | #import
11 | #import
12 | #import
13 | #import
14 |
15 | @interface ASScreenRecorder()
16 | @property (strong, nonatomic) AVAssetWriter *videoWriter;
17 | @property (strong, nonatomic) AVAssetWriterInput *videoWriterInput;
18 | @property (strong, nonatomic) AVAssetWriterInputPixelBufferAdaptor *avAdaptor;
19 | @property (strong, nonatomic) CADisplayLink *displayLink;
20 | @property (strong, nonatomic) NSDictionary *outputBufferPoolAuxAttributes;
21 | @property (nonatomic) CFTimeInterval firstTimeStamp;
22 | @property (nonatomic) BOOL isRecording;
23 | @end
24 |
25 | @implementation ASScreenRecorder
26 | {
27 | dispatch_queue_t _render_queue;
28 | dispatch_queue_t _append_pixelBuffer_queue;
29 | dispatch_semaphore_t _frameRenderingSemaphore;
30 | dispatch_semaphore_t _pixelAppendSemaphore;
31 |
32 | CGSize _viewSize;
33 | CGFloat _scale;
34 |
35 | CGColorSpaceRef _rgbColorSpace;
36 | CVPixelBufferPoolRef _outputBufferPool;
37 | }
38 |
39 | #pragma mark - initializers
40 |
41 | + (instancetype)sharedInstance {
42 | static dispatch_once_t once;
43 | static ASScreenRecorder *sharedInstance;
44 | dispatch_once(&once, ^{
45 | sharedInstance = [[self alloc] init];
46 | });
47 | return sharedInstance;
48 | }
49 |
50 | - (instancetype)init
51 | {
52 | self = [super init];
53 | if (self) {
54 | _viewSize = [UIApplication sharedApplication].delegate.window.bounds.size;
55 | _scale = [UIScreen mainScreen].scale;
56 | // record half size resolution for retina iPads
57 | if ((UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) && _scale > 1) {
58 | _scale = 1.0;
59 | }
60 | _isRecording = NO;
61 |
62 | _append_pixelBuffer_queue = dispatch_queue_create("ASScreenRecorder.append_queue", DISPATCH_QUEUE_SERIAL);
63 | _render_queue = dispatch_queue_create("ASScreenRecorder.render_queue", DISPATCH_QUEUE_SERIAL);
64 | dispatch_set_target_queue(_render_queue, dispatch_get_global_queue( DISPATCH_QUEUE_PRIORITY_HIGH, 0));
65 | _frameRenderingSemaphore = dispatch_semaphore_create(1);
66 | _pixelAppendSemaphore = dispatch_semaphore_create(1);
67 | }
68 | return self;
69 | }
70 |
71 | #pragma mark - public
72 |
73 | - (void)setVideoURL:(NSURL *)videoURL
74 | {
75 | NSAssert(!_isRecording, @"videoURL can not be changed whilst recording is in progress");
76 | _videoURL = videoURL;
77 | }
78 |
79 | - (BOOL)startRecording
80 | {
81 | if (!_isRecording) {
82 | [self setUpWriter];
83 | _isRecording = (_videoWriter.status == AVAssetWriterStatusWriting);
84 | _displayLink = [CADisplayLink displayLinkWithTarget:self selector:@selector(writeVideoFrame)];
85 | [_displayLink addToRunLoop:[NSRunLoop mainRunLoop] forMode:NSRunLoopCommonModes];
86 | }
87 | return _isRecording;
88 | }
89 |
90 | - (void)stopRecordingWithCompletion:(VideoCompletionBlock)completionBlock;
91 | {
92 | if (_isRecording) {
93 | _isRecording = NO;
94 | [_displayLink removeFromRunLoop:[NSRunLoop mainRunLoop] forMode:NSRunLoopCommonModes];
95 | [self completeRecordingSession:completionBlock];
96 | }
97 | }
98 |
99 | #pragma mark - private
100 |
101 | -(void)setUpWriter
102 | {
103 | _rgbColorSpace = CGColorSpaceCreateDeviceRGB();
104 |
105 | NSDictionary *bufferAttributes = @{(id)kCVPixelBufferPixelFormatTypeKey : @(kCVPixelFormatType_32BGRA),
106 | (id)kCVPixelBufferCGBitmapContextCompatibilityKey : @YES,
107 | (id)kCVPixelBufferWidthKey : @(_viewSize.width * _scale),
108 | (id)kCVPixelBufferHeightKey : @(_viewSize.height * _scale),
109 | (id)kCVPixelBufferBytesPerRowAlignmentKey : @(_viewSize.width * _scale * 4)
110 | };
111 |
112 | _outputBufferPool = NULL;
113 | CVPixelBufferPoolCreate(NULL, NULL, (__bridge CFDictionaryRef)(bufferAttributes), &_outputBufferPool);
114 |
115 |
116 | NSError* error = nil;
117 | _videoWriter = [[AVAssetWriter alloc] initWithURL:self.videoURL ?: [self tempFileURL]
118 | fileType:AVFileTypeQuickTimeMovie
119 | error:&error];
120 | NSParameterAssert(_videoWriter);
121 |
122 | NSInteger pixelNumber = _viewSize.width * _viewSize.height * _scale;
123 | NSDictionary* videoCompression = @{AVVideoAverageBitRateKey: @(pixelNumber * 11.4)};
124 |
125 | NSDictionary* videoSettings = @{AVVideoCodecKey: AVVideoCodecH264,
126 | AVVideoWidthKey: [NSNumber numberWithInt:_viewSize.width*_scale],
127 | AVVideoHeightKey: [NSNumber numberWithInt:_viewSize.height*_scale],
128 | AVVideoCompressionPropertiesKey: videoCompression};
129 |
130 | _videoWriterInput = [AVAssetWriterInput assetWriterInputWithMediaType:AVMediaTypeVideo outputSettings:videoSettings];
131 | NSParameterAssert(_videoWriterInput);
132 |
133 | _videoWriterInput.expectsMediaDataInRealTime = YES;
134 | _videoWriterInput.transform = [self videoTransformForDeviceOrientation];
135 |
136 | _avAdaptor = [AVAssetWriterInputPixelBufferAdaptor assetWriterInputPixelBufferAdaptorWithAssetWriterInput:_videoWriterInput sourcePixelBufferAttributes:nil];
137 |
138 | [_videoWriter addInput:_videoWriterInput];
139 |
140 | [_videoWriter startWriting];
141 | [_videoWriter startSessionAtSourceTime:CMTimeMake(0, 1000)];
142 | }
143 |
144 | - (CGAffineTransform)videoTransformForDeviceOrientation
145 | {
146 | CGAffineTransform videoTransform;
147 | switch ([UIDevice currentDevice].orientation) {
148 | case UIDeviceOrientationLandscapeLeft:
149 | videoTransform = CGAffineTransformMakeRotation(-M_PI_2);
150 | break;
151 | case UIDeviceOrientationLandscapeRight:
152 | videoTransform = CGAffineTransformMakeRotation(M_PI_2);
153 | break;
154 | case UIDeviceOrientationPortraitUpsideDown:
155 | videoTransform = CGAffineTransformMakeRotation(M_PI);
156 | break;
157 | default:
158 | videoTransform = CGAffineTransformIdentity;
159 | }
160 | return videoTransform;
161 | }
162 |
163 | - (NSURL*)tempFileURL
164 | {
165 | NSString *outputPath = [NSHomeDirectory() stringByAppendingPathComponent:@"tmp/screenCapture.mp4"];
166 | [self removeTempFilePath:outputPath];
167 | return [NSURL fileURLWithPath:outputPath];
168 | }
169 |
170 | - (void)removeTempFilePath:(NSString*)filePath
171 | {
172 | NSFileManager* fileManager = [NSFileManager defaultManager];
173 | if ([fileManager fileExistsAtPath:filePath]) {
174 | NSError* error;
175 | if ([fileManager removeItemAtPath:filePath error:&error] == NO) {
176 | NSLog(@"Could not delete old recording:%@", [error localizedDescription]);
177 | }
178 | }
179 | }
180 |
181 | - (void)completeRecordingSession:(VideoCompletionBlock)completionBlock;
182 | {
183 | dispatch_async(_render_queue, ^{
184 | dispatch_sync(_append_pixelBuffer_queue, ^{
185 |
186 | [_videoWriterInput markAsFinished];
187 | [_videoWriter finishWritingWithCompletionHandler:^{
188 |
189 | void (^completion)(void) = ^() {
190 | [self cleanup];
191 | dispatch_async(dispatch_get_main_queue(), ^{
192 | if (completionBlock) completionBlock();
193 | });
194 | };
195 |
196 | if (self.videoURL) {
197 | completion();
198 | } else {
199 | ALAssetsLibrary *library = [[ALAssetsLibrary alloc] init];
200 | [library writeVideoAtPathToSavedPhotosAlbum:_videoWriter.outputURL completionBlock:^(NSURL *assetURL, NSError *error) {
201 | if (error) {
202 | NSLog(@"Error copying video to camera roll:%@", [error localizedDescription]);
203 | } else {
204 | [self removeTempFilePath:_videoWriter.outputURL.path];
205 | completion();
206 | }
207 | }];
208 | }
209 | }];
210 | });
211 | });
212 | }
213 |
214 | - (void)cleanup
215 | {
216 | self.avAdaptor = nil;
217 | self.videoWriterInput = nil;
218 | self.videoWriter = nil;
219 | self.firstTimeStamp = 0;
220 | self.outputBufferPoolAuxAttributes = nil;
221 | CGColorSpaceRelease(_rgbColorSpace);
222 | CVPixelBufferPoolRelease(_outputBufferPool);
223 | }
224 |
225 | - (void)writeVideoFrame
226 | {
227 | // throttle the number of frames to prevent meltdown
228 | // technique gleaned from Brad Larson's answer here: http://stackoverflow.com/a/5956119
229 | if (dispatch_semaphore_wait(_frameRenderingSemaphore, DISPATCH_TIME_NOW) != 0) {
230 | return;
231 | }
232 | dispatch_async(_render_queue, ^{
233 | if (![_videoWriterInput isReadyForMoreMediaData]) return;
234 |
235 | if (!self.firstTimeStamp) {
236 | self.firstTimeStamp = _displayLink.timestamp;
237 | }
238 | CFTimeInterval elapsed = (_displayLink.timestamp - self.firstTimeStamp);
239 | CMTime time = CMTimeMakeWithSeconds(elapsed, 1000);
240 |
241 | CVPixelBufferRef pixelBuffer = NULL;
242 | CGContextRef bitmapContext = [self createPixelBufferAndBitmapContext:&pixelBuffer];
243 |
244 | if (self.delegate) {
245 | [self.delegate writeBackgroundFrameInContext:&bitmapContext];
246 | }
247 | // draw each window into the context (other windows include UIKeyboard, UIAlert)
248 | // FIX: UIKeyboard is currently only rendered correctly in portrait orientation
249 | dispatch_sync(dispatch_get_main_queue(), ^{
250 | UIGraphicsPushContext(bitmapContext); {
251 | for (UIWindow *window in [[UIApplication sharedApplication] windows]) {
252 | [window drawViewHierarchyInRect:CGRectMake(0, 0, _viewSize.width, _viewSize.height) afterScreenUpdates:NO];
253 | }
254 | } UIGraphicsPopContext();
255 | });
256 |
257 | // append pixelBuffer on a async dispatch_queue, the next frame is rendered whilst this one appends
258 | // must not overwhelm the queue with pixelBuffers, therefore:
259 | // check if _append_pixelBuffer_queue is ready
260 | // if it’s not ready, release pixelBuffer and bitmapContext
261 | if (dispatch_semaphore_wait(_pixelAppendSemaphore, DISPATCH_TIME_NOW) == 0) {
262 | dispatch_async(_append_pixelBuffer_queue, ^{
263 | BOOL success = [_avAdaptor appendPixelBuffer:pixelBuffer withPresentationTime:time];
264 | if (!success) {
265 | NSLog(@"Warning: Unable to write buffer to video");
266 | }
267 | CGContextRelease(bitmapContext);
268 | CVPixelBufferUnlockBaseAddress(pixelBuffer, 0);
269 | CVPixelBufferRelease(pixelBuffer);
270 |
271 | dispatch_semaphore_signal(_pixelAppendSemaphore);
272 | });
273 | } else {
274 | CGContextRelease(bitmapContext);
275 | CVPixelBufferUnlockBaseAddress(pixelBuffer, 0);
276 | CVPixelBufferRelease(pixelBuffer);
277 | }
278 |
279 | dispatch_semaphore_signal(_frameRenderingSemaphore);
280 | });
281 | }
282 |
283 | - (CGContextRef)createPixelBufferAndBitmapContext:(CVPixelBufferRef *)pixelBuffer
284 | {
285 | CVPixelBufferPoolCreatePixelBuffer(NULL, _outputBufferPool, pixelBuffer);
286 | CVPixelBufferLockBaseAddress(*pixelBuffer, 0);
287 |
288 | CGContextRef bitmapContext = NULL;
289 | bitmapContext = CGBitmapContextCreate(CVPixelBufferGetBaseAddress(*pixelBuffer),
290 | CVPixelBufferGetWidth(*pixelBuffer),
291 | CVPixelBufferGetHeight(*pixelBuffer),
292 | 8, CVPixelBufferGetBytesPerRow(*pixelBuffer), _rgbColorSpace,
293 | kCGBitmapByteOrder32Little | kCGImageAlphaPremultipliedFirst
294 | );
295 | CGContextScaleCTM(bitmapContext, _scale, _scale);
296 | CGAffineTransform flipVertical = CGAffineTransformMake(1, 0, 0, -1, 0, _viewSize.height);
297 | CGContextConcatCTM(bitmapContext, flipVertical);
298 |
299 | return bitmapContext;
300 | }
301 |
302 | @end
303 |
--------------------------------------------------------------------------------
/ios/RecorderManager.h:
--------------------------------------------------------------------------------
1 | //
2 | // RecorderManager.h
3 | // screenrecord
4 | //
5 | // Created by Chenshu on 30/5/18.
6 | // Copyright © 2018 Facebook. All rights reserved.
7 | //
8 |
9 | #import
10 | #import
11 |
12 | @interface RecorderManager : NSObject
13 | @end
14 |
--------------------------------------------------------------------------------
/ios/RecorderManager.m:
--------------------------------------------------------------------------------
1 | //
2 | // RecorderManager.m
3 | // screenrecord
4 | //
5 | // Created by Chenshu on 30/5/18.
6 | // Copyright © 2018 Facebook. All rights reserved.
7 | //
8 |
9 | #import "RecorderManager.h"
10 | #import
11 | #import "ASScreenRecorder.h"
12 | #import "AppDelegate.h"
13 | @implementation RecorderManager
14 |
15 | RCT_EXPORT_MODULE();
16 |
17 | RCT_EXPORT_METHOD(start)
18 | {
19 | RCTLogInfo(@"started!");
20 | ASScreenRecorder *recorder = [ASScreenRecorder sharedInstance];
21 |
22 | if (!recorder.isRecording) {
23 | [recorder startRecording];
24 | RCTLogInfo(@"Start recording");
25 | }
26 | }
27 |
28 | RCT_EXPORT_METHOD(stop)
29 | {
30 | RCTLogInfo(@"started!");
31 | ASScreenRecorder *recorder = [ASScreenRecorder sharedInstance];
32 |
33 | if (recorder.isRecording) {
34 | [recorder stopRecordingWithCompletion:^{
35 | RCTLogInfo(@"Finished recording");
36 | }];
37 | }
38 | }
39 | @end
40 |
41 |
--------------------------------------------------------------------------------
/ios/screenrecorder-tvOS/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIRequiredDeviceCapabilities
28 |
29 | armv7
30 |
31 | UISupportedInterfaceOrientations
32 |
33 | UIInterfaceOrientationPortrait
34 | UIInterfaceOrientationLandscapeLeft
35 | UIInterfaceOrientationLandscapeRight
36 |
37 | UIViewControllerBasedStatusBarAppearance
38 |
39 | NSLocationWhenInUseUsageDescription
40 |
41 | NSAppTransportSecurity
42 |
43 |
44 | NSExceptionDomains
45 |
46 | localhost
47 |
48 | NSExceptionAllowsInsecureHTTPLoads
49 |
50 |
51 |
52 |
53 |
54 |
55 |
--------------------------------------------------------------------------------
/ios/screenrecorder-tvOSTests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 |
24 |
25 |
--------------------------------------------------------------------------------
/ios/screenrecorder.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; };
11 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */; };
12 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */; };
13 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */; };
14 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */; };
15 | 00E356F31AD99517003FC87E /* screenrecorderTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* screenrecorderTests.m */; };
16 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; };
17 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; };
18 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */; };
19 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
20 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; };
21 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
22 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
23 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; };
24 | 146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; };
25 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
26 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
27 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
28 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */; };
29 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */; };
30 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */; };
31 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */; };
32 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */; };
33 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */; };
34 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */; };
35 | 2D16E6881FA4F8E400B85C8A /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2D16E6891FA4F8E400B85C8A /* libReact.a */; };
36 | 2DCD954D1E0B4F2C00145EB5 /* screenrecorderTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* screenrecorderTests.m */; };
37 | 2DF0FFEE2056DD460020B375 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact.a */; };
38 | 3DDD2C312B274747B3888BF6 /* libRNFetchBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 44035308ECF84BB9B33DF391 /* libRNFetchBlob.a */; };
39 | 4AB1ABF604E94062A976F734 /* libRNFS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = F473F8D5B1834D0699DB8281 /* libRNFS.a */; };
40 | 5E03BEFA20C18A420061BDA6 /* ASScreenRecorder.m in Sources */ = {isa = PBXBuildFile; fileRef = 5E03BED120C18A400061BDA6 /* ASScreenRecorder.m */; };
41 | 5E03BEFB20C18A420061BDA6 /* RecorderManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 5E03BEF920C18A420061BDA6 /* RecorderManager.m */; };
42 | 5E03BF0220C199340061BDA6 /* libRCTCameraRoll.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E03BF0120C199290061BDA6 /* libRCTCameraRoll.a */; };
43 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; };
44 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; };
45 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */; };
46 | BBE9C91F05324D23B9BE2841 /* libRCTVideo.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E6B5C66223B6453D98675D8E /* libRCTVideo.a */; };
47 | /* End PBXBuildFile section */
48 |
49 | /* Begin PBXContainerItemProxy section */
50 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = {
51 | isa = PBXContainerItemProxy;
52 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */;
53 | proxyType = 2;
54 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
55 | remoteInfo = RCTActionSheet;
56 | };
57 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = {
58 | isa = PBXContainerItemProxy;
59 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */;
60 | proxyType = 2;
61 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
62 | remoteInfo = RCTGeolocation;
63 | };
64 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = {
65 | isa = PBXContainerItemProxy;
66 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
67 | proxyType = 2;
68 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676;
69 | remoteInfo = RCTImage;
70 | };
71 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = {
72 | isa = PBXContainerItemProxy;
73 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
74 | proxyType = 2;
75 | remoteGlobalIDString = 58B511DB1A9E6C8500147676;
76 | remoteInfo = RCTNetwork;
77 | };
78 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = {
79 | isa = PBXContainerItemProxy;
80 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */;
81 | proxyType = 2;
82 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7;
83 | remoteInfo = RCTVibration;
84 | };
85 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = {
86 | isa = PBXContainerItemProxy;
87 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
88 | proxyType = 1;
89 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A;
90 | remoteInfo = screenrecorder;
91 | };
92 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = {
93 | isa = PBXContainerItemProxy;
94 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
95 | proxyType = 2;
96 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
97 | remoteInfo = RCTSettings;
98 | };
99 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = {
100 | isa = PBXContainerItemProxy;
101 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
102 | proxyType = 2;
103 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A;
104 | remoteInfo = RCTWebSocket;
105 | };
106 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = {
107 | isa = PBXContainerItemProxy;
108 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
109 | proxyType = 2;
110 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192;
111 | remoteInfo = React;
112 | };
113 | 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = {
114 | isa = PBXContainerItemProxy;
115 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
116 | proxyType = 1;
117 | remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7;
118 | remoteInfo = "screenrecorder-tvOS";
119 | };
120 | 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */ = {
121 | isa = PBXContainerItemProxy;
122 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */;
123 | proxyType = 2;
124 | remoteGlobalIDString = ADD01A681E09402E00F6D226;
125 | remoteInfo = "RCTBlob-tvOS";
126 | };
127 | 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */ = {
128 | isa = PBXContainerItemProxy;
129 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
130 | proxyType = 2;
131 | remoteGlobalIDString = 3DBE0D001F3B181A0099AA32;
132 | remoteInfo = fishhook;
133 | };
134 | 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */ = {
135 | isa = PBXContainerItemProxy;
136 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
137 | proxyType = 2;
138 | remoteGlobalIDString = 3DBE0D0D1F3B181C0099AA32;
139 | remoteInfo = "fishhook-tvOS";
140 | };
141 | 2DF0FFDE2056DD460020B375 /* PBXContainerItemProxy */ = {
142 | isa = PBXContainerItemProxy;
143 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
144 | proxyType = 2;
145 | remoteGlobalIDString = EBF21BDC1FC498900052F4D5;
146 | remoteInfo = jsinspector;
147 | };
148 | 2DF0FFE02056DD460020B375 /* PBXContainerItemProxy */ = {
149 | isa = PBXContainerItemProxy;
150 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
151 | proxyType = 2;
152 | remoteGlobalIDString = EBF21BFA1FC4989A0052F4D5;
153 | remoteInfo = "jsinspector-tvOS";
154 | };
155 | 2DF0FFE22056DD460020B375 /* PBXContainerItemProxy */ = {
156 | isa = PBXContainerItemProxy;
157 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
158 | proxyType = 2;
159 | remoteGlobalIDString = 139D7ECE1E25DB7D00323FB7;
160 | remoteInfo = "third-party";
161 | };
162 | 2DF0FFE42056DD460020B375 /* PBXContainerItemProxy */ = {
163 | isa = PBXContainerItemProxy;
164 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
165 | proxyType = 2;
166 | remoteGlobalIDString = 3D383D3C1EBD27B6005632C8;
167 | remoteInfo = "third-party-tvOS";
168 | };
169 | 2DF0FFE62056DD460020B375 /* PBXContainerItemProxy */ = {
170 | isa = PBXContainerItemProxy;
171 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
172 | proxyType = 2;
173 | remoteGlobalIDString = 139D7E881E25C6D100323FB7;
174 | remoteInfo = "double-conversion";
175 | };
176 | 2DF0FFE82056DD460020B375 /* PBXContainerItemProxy */ = {
177 | isa = PBXContainerItemProxy;
178 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
179 | proxyType = 2;
180 | remoteGlobalIDString = 3D383D621EBD27B9005632C8;
181 | remoteInfo = "double-conversion-tvOS";
182 | };
183 | 2DF0FFEA2056DD460020B375 /* PBXContainerItemProxy */ = {
184 | isa = PBXContainerItemProxy;
185 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
186 | proxyType = 2;
187 | remoteGlobalIDString = 9936F3131F5F2E4B0010BF04;
188 | remoteInfo = privatedata;
189 | };
190 | 2DF0FFEC2056DD460020B375 /* PBXContainerItemProxy */ = {
191 | isa = PBXContainerItemProxy;
192 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
193 | proxyType = 2;
194 | remoteGlobalIDString = 9936F32F1F5F2E5B0010BF04;
195 | remoteInfo = "privatedata-tvOS";
196 | };
197 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = {
198 | isa = PBXContainerItemProxy;
199 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
200 | proxyType = 2;
201 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D;
202 | remoteInfo = "RCTImage-tvOS";
203 | };
204 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = {
205 | isa = PBXContainerItemProxy;
206 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
207 | proxyType = 2;
208 | remoteGlobalIDString = 2D2A28471D9B043800D4039D;
209 | remoteInfo = "RCTLinking-tvOS";
210 | };
211 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
212 | isa = PBXContainerItemProxy;
213 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
214 | proxyType = 2;
215 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D;
216 | remoteInfo = "RCTNetwork-tvOS";
217 | };
218 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
219 | isa = PBXContainerItemProxy;
220 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
221 | proxyType = 2;
222 | remoteGlobalIDString = 2D2A28611D9B046600D4039D;
223 | remoteInfo = "RCTSettings-tvOS";
224 | };
225 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = {
226 | isa = PBXContainerItemProxy;
227 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
228 | proxyType = 2;
229 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D;
230 | remoteInfo = "RCTText-tvOS";
231 | };
232 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = {
233 | isa = PBXContainerItemProxy;
234 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
235 | proxyType = 2;
236 | remoteGlobalIDString = 2D2A28881D9B049200D4039D;
237 | remoteInfo = "RCTWebSocket-tvOS";
238 | };
239 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = {
240 | isa = PBXContainerItemProxy;
241 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
242 | proxyType = 2;
243 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D;
244 | remoteInfo = "React-tvOS";
245 | };
246 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = {
247 | isa = PBXContainerItemProxy;
248 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
249 | proxyType = 2;
250 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA;
251 | remoteInfo = yoga;
252 | };
253 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = {
254 | isa = PBXContainerItemProxy;
255 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
256 | proxyType = 2;
257 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA;
258 | remoteInfo = "yoga-tvOS";
259 | };
260 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = {
261 | isa = PBXContainerItemProxy;
262 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
263 | proxyType = 2;
264 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4;
265 | remoteInfo = cxxreact;
266 | };
267 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
268 | isa = PBXContainerItemProxy;
269 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
270 | proxyType = 2;
271 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4;
272 | remoteInfo = "cxxreact-tvOS";
273 | };
274 | 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
275 | isa = PBXContainerItemProxy;
276 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
277 | proxyType = 2;
278 | remoteGlobalIDString = 3D3CD90B1DE5FBD600167DC4;
279 | remoteInfo = jschelpers;
280 | };
281 | 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
282 | isa = PBXContainerItemProxy;
283 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
284 | proxyType = 2;
285 | remoteGlobalIDString = 3D3CD9181DE5FBD800167DC4;
286 | remoteInfo = "jschelpers-tvOS";
287 | };
288 | 5E03BF0020C199290061BDA6 /* PBXContainerItemProxy */ = {
289 | isa = PBXContainerItemProxy;
290 | containerPortal = 5E03BEFC20C199280061BDA6 /* RCTCameraRoll.xcodeproj */;
291 | proxyType = 2;
292 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676;
293 | remoteInfo = RCTCameraRoll;
294 | };
295 | 5E03BF3B20C26FAA0061BDA6 /* PBXContainerItemProxy */ = {
296 | isa = PBXContainerItemProxy;
297 | containerPortal = 976DB10D3422483D90541D03 /* RCTVideo.xcodeproj */;
298 | proxyType = 2;
299 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
300 | remoteInfo = RCTVideo;
301 | };
302 | 5E03BF3D20C26FAA0061BDA6 /* PBXContainerItemProxy */ = {
303 | isa = PBXContainerItemProxy;
304 | containerPortal = 976DB10D3422483D90541D03 /* RCTVideo.xcodeproj */;
305 | proxyType = 2;
306 | remoteGlobalIDString = 641E28441F0EEC8500443AF6;
307 | remoteInfo = "RCTVideo-tvOS";
308 | };
309 | 5E32CB3120C57D1F002C1F63 /* PBXContainerItemProxy */ = {
310 | isa = PBXContainerItemProxy;
311 | containerPortal = 50E731D6343040C7950C94D2 /* RNFS.xcodeproj */;
312 | proxyType = 2;
313 | remoteGlobalIDString = F12AFB9B1ADAF8F800E0535D;
314 | remoteInfo = RNFS;
315 | };
316 | 5E32CB3320C57D1F002C1F63 /* PBXContainerItemProxy */ = {
317 | isa = PBXContainerItemProxy;
318 | containerPortal = 50E731D6343040C7950C94D2 /* RNFS.xcodeproj */;
319 | proxyType = 2;
320 | remoteGlobalIDString = 6456441F1EB8DA9100672408;
321 | remoteInfo = "RNFS-tvOS";
322 | };
323 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = {
324 | isa = PBXContainerItemProxy;
325 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
326 | proxyType = 2;
327 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
328 | remoteInfo = RCTAnimation;
329 | };
330 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = {
331 | isa = PBXContainerItemProxy;
332 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
333 | proxyType = 2;
334 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D;
335 | remoteInfo = "RCTAnimation-tvOS";
336 | };
337 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = {
338 | isa = PBXContainerItemProxy;
339 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
340 | proxyType = 2;
341 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
342 | remoteInfo = RCTLinking;
343 | };
344 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = {
345 | isa = PBXContainerItemProxy;
346 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
347 | proxyType = 2;
348 | remoteGlobalIDString = 58B5119B1A9E6C1200147676;
349 | remoteInfo = RCTText;
350 | };
351 | ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */ = {
352 | isa = PBXContainerItemProxy;
353 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */;
354 | proxyType = 2;
355 | remoteGlobalIDString = 358F4ED71D1E81A9004DF814;
356 | remoteInfo = RCTBlob;
357 | };
358 | /* End PBXContainerItemProxy section */
359 |
360 | /* Begin PBXFileReference section */
361 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; };
362 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; };
363 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; };
364 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; };
365 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; };
366 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; };
367 | 00E356EE1AD99517003FC87E /* screenrecorderTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = screenrecorderTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
368 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
369 | 00E356F21AD99517003FC87E /* screenrecorderTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = screenrecorderTests.m; sourceTree = ""; };
370 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; };
371 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; };
372 | 13B07F961A680F5B00A75B9A /* screenrecorder.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = screenrecorder.app; sourceTree = BUILT_PRODUCTS_DIR; };
373 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = screenrecorder/AppDelegate.h; sourceTree = ""; };
374 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = screenrecorder/AppDelegate.m; sourceTree = ""; };
375 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; };
376 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = screenrecorder/Images.xcassets; sourceTree = ""; };
377 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = screenrecorder/Info.plist; sourceTree = ""; };
378 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = screenrecorder/main.m; sourceTree = ""; };
379 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; };
380 | 2D02E47B1E0B4A5D006451C7 /* screenrecorder-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "screenrecorder-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; };
381 | 2D02E4901E0B4A5D006451C7 /* screenrecorder-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "screenrecorder-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
382 | 2D16E6891FA4F8E400B85C8A /* libReact.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libReact.a; sourceTree = BUILT_PRODUCTS_DIR; };
383 | 44035308ECF84BB9B33DF391 /* libRNFetchBlob.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNFetchBlob.a; sourceTree = ""; };
384 | 50E731D6343040C7950C94D2 /* RNFS.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNFS.xcodeproj; path = "../node_modules/react-native-fs/RNFS.xcodeproj"; sourceTree = ""; };
385 | 5E03BED120C18A400061BDA6 /* ASScreenRecorder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ASScreenRecorder.m; sourceTree = ""; };
386 | 5E03BEF720C18A410061BDA6 /* RecorderManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RecorderManager.h; sourceTree = ""; };
387 | 5E03BEF820C18A410061BDA6 /* ASScreenRecorder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ASScreenRecorder.h; sourceTree = ""; };
388 | 5E03BEF920C18A420061BDA6 /* RecorderManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RecorderManager.m; sourceTree = ""; };
389 | 5E03BEFC20C199280061BDA6 /* RCTCameraRoll.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTCameraRoll.xcodeproj; path = "../node_modules/react-native/Libraries/CameraRoll/RCTCameraRoll.xcodeproj"; sourceTree = ""; };
390 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; };
391 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; };
392 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; };
393 | 976DB10D3422483D90541D03 /* RCTVideo.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RCTVideo.xcodeproj; path = "../node_modules/react-native-video/ios/RCTVideo.xcodeproj"; sourceTree = ""; };
394 | A2B19C16FB6847ECB65A9A83 /* RNFetchBlob.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNFetchBlob.xcodeproj; path = "../node_modules/react-native-fetch-blob/ios/RNFetchBlob.xcodeproj"; sourceTree = ""; };
395 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTBlob.xcodeproj; path = "../node_modules/react-native/Libraries/Blob/RCTBlob.xcodeproj"; sourceTree = ""; };
396 | E6B5C66223B6453D98675D8E /* libRCTVideo.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRCTVideo.a; sourceTree = ""; };
397 | F473F8D5B1834D0699DB8281 /* libRNFS.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNFS.a; sourceTree = ""; };
398 | /* End PBXFileReference section */
399 |
400 | /* Begin PBXFrameworksBuildPhase section */
401 | 00E356EB1AD99517003FC87E /* Frameworks */ = {
402 | isa = PBXFrameworksBuildPhase;
403 | buildActionMask = 2147483647;
404 | files = (
405 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */,
406 | );
407 | runOnlyForDeploymentPostprocessing = 0;
408 | };
409 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = {
410 | isa = PBXFrameworksBuildPhase;
411 | buildActionMask = 2147483647;
412 | files = (
413 | 5E03BF0220C199340061BDA6 /* libRCTCameraRoll.a in Frameworks */,
414 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */,
415 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */,
416 | 146834051AC3E58100842450 /* libReact.a in Frameworks */,
417 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */,
418 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */,
419 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */,
420 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */,
421 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */,
422 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */,
423 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */,
424 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */,
425 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */,
426 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */,
427 | BBE9C91F05324D23B9BE2841 /* libRCTVideo.a in Frameworks */,
428 | 3DDD2C312B274747B3888BF6 /* libRNFetchBlob.a in Frameworks */,
429 | 4AB1ABF604E94062A976F734 /* libRNFS.a in Frameworks */,
430 | );
431 | runOnlyForDeploymentPostprocessing = 0;
432 | };
433 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = {
434 | isa = PBXFrameworksBuildPhase;
435 | buildActionMask = 2147483647;
436 | files = (
437 | 2D16E6881FA4F8E400B85C8A /* libReact.a in Frameworks */,
438 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */,
439 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */,
440 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */,
441 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */,
442 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */,
443 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */,
444 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */,
445 | );
446 | runOnlyForDeploymentPostprocessing = 0;
447 | };
448 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = {
449 | isa = PBXFrameworksBuildPhase;
450 | buildActionMask = 2147483647;
451 | files = (
452 | 2DF0FFEE2056DD460020B375 /* libReact.a in Frameworks */,
453 | );
454 | runOnlyForDeploymentPostprocessing = 0;
455 | };
456 | /* End PBXFrameworksBuildPhase section */
457 |
458 | /* Begin PBXGroup section */
459 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = {
460 | isa = PBXGroup;
461 | children = (
462 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */,
463 | );
464 | name = Products;
465 | sourceTree = "";
466 | };
467 | 00C302B61ABCB90400DB3ED1 /* Products */ = {
468 | isa = PBXGroup;
469 | children = (
470 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */,
471 | );
472 | name = Products;
473 | sourceTree = "";
474 | };
475 | 00C302BC1ABCB91800DB3ED1 /* Products */ = {
476 | isa = PBXGroup;
477 | children = (
478 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */,
479 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */,
480 | );
481 | name = Products;
482 | sourceTree = "";
483 | };
484 | 00C302D41ABCB9D200DB3ED1 /* Products */ = {
485 | isa = PBXGroup;
486 | children = (
487 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */,
488 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */,
489 | );
490 | name = Products;
491 | sourceTree = "";
492 | };
493 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = {
494 | isa = PBXGroup;
495 | children = (
496 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */,
497 | );
498 | name = Products;
499 | sourceTree = "";
500 | };
501 | 00E356EF1AD99517003FC87E /* screenrecorderTests */ = {
502 | isa = PBXGroup;
503 | children = (
504 | 00E356F21AD99517003FC87E /* screenrecorderTests.m */,
505 | 00E356F01AD99517003FC87E /* Supporting Files */,
506 | );
507 | path = screenrecorderTests;
508 | sourceTree = "";
509 | };
510 | 00E356F01AD99517003FC87E /* Supporting Files */ = {
511 | isa = PBXGroup;
512 | children = (
513 | 00E356F11AD99517003FC87E /* Info.plist */,
514 | );
515 | name = "Supporting Files";
516 | sourceTree = "";
517 | };
518 | 139105B71AF99BAD00B5F7CC /* Products */ = {
519 | isa = PBXGroup;
520 | children = (
521 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */,
522 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */,
523 | );
524 | name = Products;
525 | sourceTree = "";
526 | };
527 | 139FDEE71B06529A00C62182 /* Products */ = {
528 | isa = PBXGroup;
529 | children = (
530 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */,
531 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */,
532 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */,
533 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */,
534 | );
535 | name = Products;
536 | sourceTree = "";
537 | };
538 | 13B07FAE1A68108700A75B9A /* screenrecorder */ = {
539 | isa = PBXGroup;
540 | children = (
541 | 5E03BEF820C18A410061BDA6 /* ASScreenRecorder.h */,
542 | 5E03BED120C18A400061BDA6 /* ASScreenRecorder.m */,
543 | 5E03BEF720C18A410061BDA6 /* RecorderManager.h */,
544 | 5E03BEF920C18A420061BDA6 /* RecorderManager.m */,
545 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */,
546 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */,
547 | 13B07FB01A68108700A75B9A /* AppDelegate.m */,
548 | 13B07FB51A68108700A75B9A /* Images.xcassets */,
549 | 13B07FB61A68108700A75B9A /* Info.plist */,
550 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */,
551 | 13B07FB71A68108700A75B9A /* main.m */,
552 | );
553 | name = screenrecorder;
554 | sourceTree = "";
555 | };
556 | 146834001AC3E56700842450 /* Products */ = {
557 | isa = PBXGroup;
558 | children = (
559 | 146834041AC3E56700842450 /* libReact.a */,
560 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */,
561 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */,
562 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */,
563 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */,
564 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */,
565 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */,
566 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */,
567 | 2DF0FFDF2056DD460020B375 /* libjsinspector.a */,
568 | 2DF0FFE12056DD460020B375 /* libjsinspector-tvOS.a */,
569 | 2DF0FFE32056DD460020B375 /* libthird-party.a */,
570 | 2DF0FFE52056DD460020B375 /* libthird-party.a */,
571 | 2DF0FFE72056DD460020B375 /* libdouble-conversion.a */,
572 | 2DF0FFE92056DD460020B375 /* libdouble-conversion.a */,
573 | 2DF0FFEB2056DD460020B375 /* libprivatedata.a */,
574 | 2DF0FFED2056DD460020B375 /* libprivatedata-tvOS.a */,
575 | );
576 | name = Products;
577 | sourceTree = "";
578 | };
579 | 2D16E6871FA4F8E400B85C8A /* Frameworks */ = {
580 | isa = PBXGroup;
581 | children = (
582 | 2D16E6891FA4F8E400B85C8A /* libReact.a */,
583 | );
584 | name = Frameworks;
585 | sourceTree = "";
586 | };
587 | 5E03BEFD20C199280061BDA6 /* Products */ = {
588 | isa = PBXGroup;
589 | children = (
590 | 5E03BF0120C199290061BDA6 /* libRCTCameraRoll.a */,
591 | );
592 | name = Products;
593 | sourceTree = "";
594 | };
595 | 5E03BF1020C26FA90061BDA6 /* Recovered References */ = {
596 | isa = PBXGroup;
597 | children = (
598 | E6B5C66223B6453D98675D8E /* libRCTVideo.a */,
599 | 44035308ECF84BB9B33DF391 /* libRNFetchBlob.a */,
600 | F473F8D5B1834D0699DB8281 /* libRNFS.a */,
601 | );
602 | name = "Recovered References";
603 | sourceTree = "";
604 | };
605 | 5E03BF3720C26FAA0061BDA6 /* Products */ = {
606 | isa = PBXGroup;
607 | children = (
608 | 5E03BF3C20C26FAA0061BDA6 /* libRCTVideo.a */,
609 | 5E03BF3E20C26FAA0061BDA6 /* libRCTVideo.a */,
610 | );
611 | name = Products;
612 | sourceTree = "";
613 | };
614 | 5E32CB0520C57D1F002C1F63 /* Products */ = {
615 | isa = PBXGroup;
616 | children = (
617 | 5E32CB3220C57D1F002C1F63 /* libRNFS.a */,
618 | 5E32CB3420C57D1F002C1F63 /* libRNFS.a */,
619 | );
620 | name = Products;
621 | sourceTree = "";
622 | };
623 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = {
624 | isa = PBXGroup;
625 | children = (
626 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */,
627 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */,
628 | );
629 | name = Products;
630 | sourceTree = "";
631 | };
632 | 78C398B11ACF4ADC00677621 /* Products */ = {
633 | isa = PBXGroup;
634 | children = (
635 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */,
636 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */,
637 | );
638 | name = Products;
639 | sourceTree = "";
640 | };
641 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = {
642 | isa = PBXGroup;
643 | children = (
644 | 5E03BEFC20C199280061BDA6 /* RCTCameraRoll.xcodeproj */,
645 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */,
646 | 146833FF1AC3E56700842450 /* React.xcodeproj */,
647 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */,
648 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */,
649 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */,
650 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */,
651 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */,
652 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */,
653 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */,
654 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */,
655 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */,
656 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */,
657 | 976DB10D3422483D90541D03 /* RCTVideo.xcodeproj */,
658 | A2B19C16FB6847ECB65A9A83 /* RNFetchBlob.xcodeproj */,
659 | 50E731D6343040C7950C94D2 /* RNFS.xcodeproj */,
660 | );
661 | name = Libraries;
662 | sourceTree = "";
663 | };
664 | 832341B11AAA6A8300B99B32 /* Products */ = {
665 | isa = PBXGroup;
666 | children = (
667 | 832341B51AAA6A8300B99B32 /* libRCTText.a */,
668 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */,
669 | );
670 | name = Products;
671 | sourceTree = "";
672 | };
673 | 83CBB9F61A601CBA00E9B192 = {
674 | isa = PBXGroup;
675 | children = (
676 | 13B07FAE1A68108700A75B9A /* screenrecorder */,
677 | 832341AE1AAA6A7D00B99B32 /* Libraries */,
678 | 00E356EF1AD99517003FC87E /* screenrecorderTests */,
679 | 83CBBA001A601CBA00E9B192 /* Products */,
680 | 2D16E6871FA4F8E400B85C8A /* Frameworks */,
681 | 5E03BF1020C26FA90061BDA6 /* Recovered References */,
682 | );
683 | indentWidth = 2;
684 | sourceTree = "";
685 | tabWidth = 2;
686 | usesTabs = 0;
687 | };
688 | 83CBBA001A601CBA00E9B192 /* Products */ = {
689 | isa = PBXGroup;
690 | children = (
691 | 13B07F961A680F5B00A75B9A /* screenrecorder.app */,
692 | 00E356EE1AD99517003FC87E /* screenrecorderTests.xctest */,
693 | 2D02E47B1E0B4A5D006451C7 /* screenrecorder-tvOS.app */,
694 | 2D02E4901E0B4A5D006451C7 /* screenrecorder-tvOSTests.xctest */,
695 | );
696 | name = Products;
697 | sourceTree = "";
698 | };
699 | ADBDB9201DFEBF0600ED6528 /* Products */ = {
700 | isa = PBXGroup;
701 | children = (
702 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */,
703 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */,
704 | );
705 | name = Products;
706 | sourceTree = "";
707 | };
708 | /* End PBXGroup section */
709 |
710 | /* Begin PBXNativeTarget section */
711 | 00E356ED1AD99517003FC87E /* screenrecorderTests */ = {
712 | isa = PBXNativeTarget;
713 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "screenrecorderTests" */;
714 | buildPhases = (
715 | 00E356EA1AD99517003FC87E /* Sources */,
716 | 00E356EB1AD99517003FC87E /* Frameworks */,
717 | 00E356EC1AD99517003FC87E /* Resources */,
718 | );
719 | buildRules = (
720 | );
721 | dependencies = (
722 | 00E356F51AD99517003FC87E /* PBXTargetDependency */,
723 | );
724 | name = screenrecorderTests;
725 | productName = screenrecorderTests;
726 | productReference = 00E356EE1AD99517003FC87E /* screenrecorderTests.xctest */;
727 | productType = "com.apple.product-type.bundle.unit-test";
728 | };
729 | 13B07F861A680F5B00A75B9A /* screenrecorder */ = {
730 | isa = PBXNativeTarget;
731 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "screenrecorder" */;
732 | buildPhases = (
733 | 13B07F871A680F5B00A75B9A /* Sources */,
734 | 13B07F8C1A680F5B00A75B9A /* Frameworks */,
735 | 13B07F8E1A680F5B00A75B9A /* Resources */,
736 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
737 | );
738 | buildRules = (
739 | );
740 | dependencies = (
741 | );
742 | name = screenrecorder;
743 | productName = "Hello World";
744 | productReference = 13B07F961A680F5B00A75B9A /* screenrecorder.app */;
745 | productType = "com.apple.product-type.application";
746 | };
747 | 2D02E47A1E0B4A5D006451C7 /* screenrecorder-tvOS */ = {
748 | isa = PBXNativeTarget;
749 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "screenrecorder-tvOS" */;
750 | buildPhases = (
751 | 2D02E4771E0B4A5D006451C7 /* Sources */,
752 | 2D02E4781E0B4A5D006451C7 /* Frameworks */,
753 | 2D02E4791E0B4A5D006451C7 /* Resources */,
754 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */,
755 | );
756 | buildRules = (
757 | );
758 | dependencies = (
759 | );
760 | name = "screenrecorder-tvOS";
761 | productName = "screenrecorder-tvOS";
762 | productReference = 2D02E47B1E0B4A5D006451C7 /* screenrecorder-tvOS.app */;
763 | productType = "com.apple.product-type.application";
764 | };
765 | 2D02E48F1E0B4A5D006451C7 /* screenrecorder-tvOSTests */ = {
766 | isa = PBXNativeTarget;
767 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "screenrecorder-tvOSTests" */;
768 | buildPhases = (
769 | 2D02E48C1E0B4A5D006451C7 /* Sources */,
770 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */,
771 | 2D02E48E1E0B4A5D006451C7 /* Resources */,
772 | );
773 | buildRules = (
774 | );
775 | dependencies = (
776 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */,
777 | );
778 | name = "screenrecorder-tvOSTests";
779 | productName = "screenrecorder-tvOSTests";
780 | productReference = 2D02E4901E0B4A5D006451C7 /* screenrecorder-tvOSTests.xctest */;
781 | productType = "com.apple.product-type.bundle.unit-test";
782 | };
783 | /* End PBXNativeTarget section */
784 |
785 | /* Begin PBXProject section */
786 | 83CBB9F71A601CBA00E9B192 /* Project object */ = {
787 | isa = PBXProject;
788 | attributes = {
789 | LastUpgradeCheck = 610;
790 | ORGANIZATIONNAME = Facebook;
791 | TargetAttributes = {
792 | 00E356ED1AD99517003FC87E = {
793 | CreatedOnToolsVersion = 6.2;
794 | TestTargetID = 13B07F861A680F5B00A75B9A;
795 | };
796 | 2D02E47A1E0B4A5D006451C7 = {
797 | CreatedOnToolsVersion = 8.2.1;
798 | ProvisioningStyle = Automatic;
799 | };
800 | 2D02E48F1E0B4A5D006451C7 = {
801 | CreatedOnToolsVersion = 8.2.1;
802 | ProvisioningStyle = Automatic;
803 | TestTargetID = 2D02E47A1E0B4A5D006451C7;
804 | };
805 | };
806 | };
807 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "screenrecorder" */;
808 | compatibilityVersion = "Xcode 3.2";
809 | developmentRegion = English;
810 | hasScannedForEncodings = 0;
811 | knownRegions = (
812 | en,
813 | Base,
814 | );
815 | mainGroup = 83CBB9F61A601CBA00E9B192;
816 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */;
817 | projectDirPath = "";
818 | projectReferences = (
819 | {
820 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */;
821 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */;
822 | },
823 | {
824 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */;
825 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
826 | },
827 | {
828 | ProductGroup = ADBDB9201DFEBF0600ED6528 /* Products */;
829 | ProjectRef = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */;
830 | },
831 | {
832 | ProductGroup = 5E03BEFD20C199280061BDA6 /* Products */;
833 | ProjectRef = 5E03BEFC20C199280061BDA6 /* RCTCameraRoll.xcodeproj */;
834 | },
835 | {
836 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */;
837 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */;
838 | },
839 | {
840 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */;
841 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
842 | },
843 | {
844 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */;
845 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
846 | },
847 | {
848 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */;
849 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
850 | },
851 | {
852 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */;
853 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
854 | },
855 | {
856 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */;
857 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
858 | },
859 | {
860 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */;
861 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */;
862 | },
863 | {
864 | ProductGroup = 5E03BF3720C26FAA0061BDA6 /* Products */;
865 | ProjectRef = 976DB10D3422483D90541D03 /* RCTVideo.xcodeproj */;
866 | },
867 | {
868 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */;
869 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
870 | },
871 | {
872 | ProductGroup = 146834001AC3E56700842450 /* Products */;
873 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */;
874 | },
875 | {
876 | ProductGroup = 5E32CB0520C57D1F002C1F63 /* Products */;
877 | ProjectRef = 50E731D6343040C7950C94D2 /* RNFS.xcodeproj */;
878 | },
879 | );
880 | projectRoot = "";
881 | targets = (
882 | 13B07F861A680F5B00A75B9A /* screenrecorder */,
883 | 00E356ED1AD99517003FC87E /* screenrecorderTests */,
884 | 2D02E47A1E0B4A5D006451C7 /* screenrecorder-tvOS */,
885 | 2D02E48F1E0B4A5D006451C7 /* screenrecorder-tvOSTests */,
886 | );
887 | };
888 | /* End PBXProject section */
889 |
890 | /* Begin PBXReferenceProxy section */
891 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = {
892 | isa = PBXReferenceProxy;
893 | fileType = archive.ar;
894 | path = libRCTActionSheet.a;
895 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */;
896 | sourceTree = BUILT_PRODUCTS_DIR;
897 | };
898 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = {
899 | isa = PBXReferenceProxy;
900 | fileType = archive.ar;
901 | path = libRCTGeolocation.a;
902 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */;
903 | sourceTree = BUILT_PRODUCTS_DIR;
904 | };
905 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = {
906 | isa = PBXReferenceProxy;
907 | fileType = archive.ar;
908 | path = libRCTImage.a;
909 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */;
910 | sourceTree = BUILT_PRODUCTS_DIR;
911 | };
912 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = {
913 | isa = PBXReferenceProxy;
914 | fileType = archive.ar;
915 | path = libRCTNetwork.a;
916 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */;
917 | sourceTree = BUILT_PRODUCTS_DIR;
918 | };
919 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = {
920 | isa = PBXReferenceProxy;
921 | fileType = archive.ar;
922 | path = libRCTVibration.a;
923 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */;
924 | sourceTree = BUILT_PRODUCTS_DIR;
925 | };
926 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = {
927 | isa = PBXReferenceProxy;
928 | fileType = archive.ar;
929 | path = libRCTSettings.a;
930 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */;
931 | sourceTree = BUILT_PRODUCTS_DIR;
932 | };
933 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = {
934 | isa = PBXReferenceProxy;
935 | fileType = archive.ar;
936 | path = libRCTWebSocket.a;
937 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */;
938 | sourceTree = BUILT_PRODUCTS_DIR;
939 | };
940 | 146834041AC3E56700842450 /* libReact.a */ = {
941 | isa = PBXReferenceProxy;
942 | fileType = archive.ar;
943 | path = libReact.a;
944 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */;
945 | sourceTree = BUILT_PRODUCTS_DIR;
946 | };
947 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */ = {
948 | isa = PBXReferenceProxy;
949 | fileType = archive.ar;
950 | path = "libRCTBlob-tvOS.a";
951 | remoteRef = 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */;
952 | sourceTree = BUILT_PRODUCTS_DIR;
953 | };
954 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */ = {
955 | isa = PBXReferenceProxy;
956 | fileType = archive.ar;
957 | path = libfishhook.a;
958 | remoteRef = 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */;
959 | sourceTree = BUILT_PRODUCTS_DIR;
960 | };
961 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */ = {
962 | isa = PBXReferenceProxy;
963 | fileType = archive.ar;
964 | path = "libfishhook-tvOS.a";
965 | remoteRef = 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */;
966 | sourceTree = BUILT_PRODUCTS_DIR;
967 | };
968 | 2DF0FFDF2056DD460020B375 /* libjsinspector.a */ = {
969 | isa = PBXReferenceProxy;
970 | fileType = archive.ar;
971 | path = libjsinspector.a;
972 | remoteRef = 2DF0FFDE2056DD460020B375 /* PBXContainerItemProxy */;
973 | sourceTree = BUILT_PRODUCTS_DIR;
974 | };
975 | 2DF0FFE12056DD460020B375 /* libjsinspector-tvOS.a */ = {
976 | isa = PBXReferenceProxy;
977 | fileType = archive.ar;
978 | path = "libjsinspector-tvOS.a";
979 | remoteRef = 2DF0FFE02056DD460020B375 /* PBXContainerItemProxy */;
980 | sourceTree = BUILT_PRODUCTS_DIR;
981 | };
982 | 2DF0FFE32056DD460020B375 /* libthird-party.a */ = {
983 | isa = PBXReferenceProxy;
984 | fileType = archive.ar;
985 | path = "libthird-party.a";
986 | remoteRef = 2DF0FFE22056DD460020B375 /* PBXContainerItemProxy */;
987 | sourceTree = BUILT_PRODUCTS_DIR;
988 | };
989 | 2DF0FFE52056DD460020B375 /* libthird-party.a */ = {
990 | isa = PBXReferenceProxy;
991 | fileType = archive.ar;
992 | path = "libthird-party.a";
993 | remoteRef = 2DF0FFE42056DD460020B375 /* PBXContainerItemProxy */;
994 | sourceTree = BUILT_PRODUCTS_DIR;
995 | };
996 | 2DF0FFE72056DD460020B375 /* libdouble-conversion.a */ = {
997 | isa = PBXReferenceProxy;
998 | fileType = archive.ar;
999 | path = "libdouble-conversion.a";
1000 | remoteRef = 2DF0FFE62056DD460020B375 /* PBXContainerItemProxy */;
1001 | sourceTree = BUILT_PRODUCTS_DIR;
1002 | };
1003 | 2DF0FFE92056DD460020B375 /* libdouble-conversion.a */ = {
1004 | isa = PBXReferenceProxy;
1005 | fileType = archive.ar;
1006 | path = "libdouble-conversion.a";
1007 | remoteRef = 2DF0FFE82056DD460020B375 /* PBXContainerItemProxy */;
1008 | sourceTree = BUILT_PRODUCTS_DIR;
1009 | };
1010 | 2DF0FFEB2056DD460020B375 /* libprivatedata.a */ = {
1011 | isa = PBXReferenceProxy;
1012 | fileType = archive.ar;
1013 | path = libprivatedata.a;
1014 | remoteRef = 2DF0FFEA2056DD460020B375 /* PBXContainerItemProxy */;
1015 | sourceTree = BUILT_PRODUCTS_DIR;
1016 | };
1017 | 2DF0FFED2056DD460020B375 /* libprivatedata-tvOS.a */ = {
1018 | isa = PBXReferenceProxy;
1019 | fileType = archive.ar;
1020 | path = "libprivatedata-tvOS.a";
1021 | remoteRef = 2DF0FFEC2056DD460020B375 /* PBXContainerItemProxy */;
1022 | sourceTree = BUILT_PRODUCTS_DIR;
1023 | };
1024 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = {
1025 | isa = PBXReferenceProxy;
1026 | fileType = archive.ar;
1027 | path = "libRCTImage-tvOS.a";
1028 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */;
1029 | sourceTree = BUILT_PRODUCTS_DIR;
1030 | };
1031 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = {
1032 | isa = PBXReferenceProxy;
1033 | fileType = archive.ar;
1034 | path = "libRCTLinking-tvOS.a";
1035 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */;
1036 | sourceTree = BUILT_PRODUCTS_DIR;
1037 | };
1038 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = {
1039 | isa = PBXReferenceProxy;
1040 | fileType = archive.ar;
1041 | path = "libRCTNetwork-tvOS.a";
1042 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */;
1043 | sourceTree = BUILT_PRODUCTS_DIR;
1044 | };
1045 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = {
1046 | isa = PBXReferenceProxy;
1047 | fileType = archive.ar;
1048 | path = "libRCTSettings-tvOS.a";
1049 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */;
1050 | sourceTree = BUILT_PRODUCTS_DIR;
1051 | };
1052 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = {
1053 | isa = PBXReferenceProxy;
1054 | fileType = archive.ar;
1055 | path = "libRCTText-tvOS.a";
1056 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */;
1057 | sourceTree = BUILT_PRODUCTS_DIR;
1058 | };
1059 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = {
1060 | isa = PBXReferenceProxy;
1061 | fileType = archive.ar;
1062 | path = "libRCTWebSocket-tvOS.a";
1063 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */;
1064 | sourceTree = BUILT_PRODUCTS_DIR;
1065 | };
1066 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */ = {
1067 | isa = PBXReferenceProxy;
1068 | fileType = archive.ar;
1069 | path = libReact.a;
1070 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */;
1071 | sourceTree = BUILT_PRODUCTS_DIR;
1072 | };
1073 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = {
1074 | isa = PBXReferenceProxy;
1075 | fileType = archive.ar;
1076 | path = libyoga.a;
1077 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */;
1078 | sourceTree = BUILT_PRODUCTS_DIR;
1079 | };
1080 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = {
1081 | isa = PBXReferenceProxy;
1082 | fileType = archive.ar;
1083 | path = libyoga.a;
1084 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */;
1085 | sourceTree = BUILT_PRODUCTS_DIR;
1086 | };
1087 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = {
1088 | isa = PBXReferenceProxy;
1089 | fileType = archive.ar;
1090 | path = libcxxreact.a;
1091 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */;
1092 | sourceTree = BUILT_PRODUCTS_DIR;
1093 | };
1094 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = {
1095 | isa = PBXReferenceProxy;
1096 | fileType = archive.ar;
1097 | path = libcxxreact.a;
1098 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */;
1099 | sourceTree = BUILT_PRODUCTS_DIR;
1100 | };
1101 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */ = {
1102 | isa = PBXReferenceProxy;
1103 | fileType = archive.ar;
1104 | path = libjschelpers.a;
1105 | remoteRef = 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */;
1106 | sourceTree = BUILT_PRODUCTS_DIR;
1107 | };
1108 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */ = {
1109 | isa = PBXReferenceProxy;
1110 | fileType = archive.ar;
1111 | path = libjschelpers.a;
1112 | remoteRef = 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */;
1113 | sourceTree = BUILT_PRODUCTS_DIR;
1114 | };
1115 | 5E03BF0120C199290061BDA6 /* libRCTCameraRoll.a */ = {
1116 | isa = PBXReferenceProxy;
1117 | fileType = archive.ar;
1118 | path = libRCTCameraRoll.a;
1119 | remoteRef = 5E03BF0020C199290061BDA6 /* PBXContainerItemProxy */;
1120 | sourceTree = BUILT_PRODUCTS_DIR;
1121 | };
1122 | 5E03BF3C20C26FAA0061BDA6 /* libRCTVideo.a */ = {
1123 | isa = PBXReferenceProxy;
1124 | fileType = archive.ar;
1125 | path = libRCTVideo.a;
1126 | remoteRef = 5E03BF3B20C26FAA0061BDA6 /* PBXContainerItemProxy */;
1127 | sourceTree = BUILT_PRODUCTS_DIR;
1128 | };
1129 | 5E03BF3E20C26FAA0061BDA6 /* libRCTVideo.a */ = {
1130 | isa = PBXReferenceProxy;
1131 | fileType = archive.ar;
1132 | path = libRCTVideo.a;
1133 | remoteRef = 5E03BF3D20C26FAA0061BDA6 /* PBXContainerItemProxy */;
1134 | sourceTree = BUILT_PRODUCTS_DIR;
1135 | };
1136 | 5E32CB3220C57D1F002C1F63 /* libRNFS.a */ = {
1137 | isa = PBXReferenceProxy;
1138 | fileType = archive.ar;
1139 | path = libRNFS.a;
1140 | remoteRef = 5E32CB3120C57D1F002C1F63 /* PBXContainerItemProxy */;
1141 | sourceTree = BUILT_PRODUCTS_DIR;
1142 | };
1143 | 5E32CB3420C57D1F002C1F63 /* libRNFS.a */ = {
1144 | isa = PBXReferenceProxy;
1145 | fileType = archive.ar;
1146 | path = libRNFS.a;
1147 | remoteRef = 5E32CB3320C57D1F002C1F63 /* PBXContainerItemProxy */;
1148 | sourceTree = BUILT_PRODUCTS_DIR;
1149 | };
1150 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = {
1151 | isa = PBXReferenceProxy;
1152 | fileType = archive.ar;
1153 | path = libRCTAnimation.a;
1154 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */;
1155 | sourceTree = BUILT_PRODUCTS_DIR;
1156 | };
1157 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */ = {
1158 | isa = PBXReferenceProxy;
1159 | fileType = archive.ar;
1160 | path = libRCTAnimation.a;
1161 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */;
1162 | sourceTree = BUILT_PRODUCTS_DIR;
1163 | };
1164 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = {
1165 | isa = PBXReferenceProxy;
1166 | fileType = archive.ar;
1167 | path = libRCTLinking.a;
1168 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */;
1169 | sourceTree = BUILT_PRODUCTS_DIR;
1170 | };
1171 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = {
1172 | isa = PBXReferenceProxy;
1173 | fileType = archive.ar;
1174 | path = libRCTText.a;
1175 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */;
1176 | sourceTree = BUILT_PRODUCTS_DIR;
1177 | };
1178 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */ = {
1179 | isa = PBXReferenceProxy;
1180 | fileType = archive.ar;
1181 | path = libRCTBlob.a;
1182 | remoteRef = ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */;
1183 | sourceTree = BUILT_PRODUCTS_DIR;
1184 | };
1185 | /* End PBXReferenceProxy section */
1186 |
1187 | /* Begin PBXResourcesBuildPhase section */
1188 | 00E356EC1AD99517003FC87E /* Resources */ = {
1189 | isa = PBXResourcesBuildPhase;
1190 | buildActionMask = 2147483647;
1191 | files = (
1192 | );
1193 | runOnlyForDeploymentPostprocessing = 0;
1194 | };
1195 | 13B07F8E1A680F5B00A75B9A /* Resources */ = {
1196 | isa = PBXResourcesBuildPhase;
1197 | buildActionMask = 2147483647;
1198 | files = (
1199 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
1200 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */,
1201 | );
1202 | runOnlyForDeploymentPostprocessing = 0;
1203 | };
1204 | 2D02E4791E0B4A5D006451C7 /* Resources */ = {
1205 | isa = PBXResourcesBuildPhase;
1206 | buildActionMask = 2147483647;
1207 | files = (
1208 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */,
1209 | );
1210 | runOnlyForDeploymentPostprocessing = 0;
1211 | };
1212 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = {
1213 | isa = PBXResourcesBuildPhase;
1214 | buildActionMask = 2147483647;
1215 | files = (
1216 | );
1217 | runOnlyForDeploymentPostprocessing = 0;
1218 | };
1219 | /* End PBXResourcesBuildPhase section */
1220 |
1221 | /* Begin PBXShellScriptBuildPhase section */
1222 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = {
1223 | isa = PBXShellScriptBuildPhase;
1224 | buildActionMask = 2147483647;
1225 | files = (
1226 | );
1227 | inputPaths = (
1228 | );
1229 | name = "Bundle React Native code and images";
1230 | outputPaths = (
1231 | );
1232 | runOnlyForDeploymentPostprocessing = 0;
1233 | shellPath = /bin/sh;
1234 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
1235 | };
1236 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = {
1237 | isa = PBXShellScriptBuildPhase;
1238 | buildActionMask = 2147483647;
1239 | files = (
1240 | );
1241 | inputPaths = (
1242 | );
1243 | name = "Bundle React Native Code And Images";
1244 | outputPaths = (
1245 | );
1246 | runOnlyForDeploymentPostprocessing = 0;
1247 | shellPath = /bin/sh;
1248 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
1249 | };
1250 | /* End PBXShellScriptBuildPhase section */
1251 |
1252 | /* Begin PBXSourcesBuildPhase section */
1253 | 00E356EA1AD99517003FC87E /* Sources */ = {
1254 | isa = PBXSourcesBuildPhase;
1255 | buildActionMask = 2147483647;
1256 | files = (
1257 | 00E356F31AD99517003FC87E /* screenrecorderTests.m in Sources */,
1258 | );
1259 | runOnlyForDeploymentPostprocessing = 0;
1260 | };
1261 | 13B07F871A680F5B00A75B9A /* Sources */ = {
1262 | isa = PBXSourcesBuildPhase;
1263 | buildActionMask = 2147483647;
1264 | files = (
1265 | 5E03BEFA20C18A420061BDA6 /* ASScreenRecorder.m in Sources */,
1266 | 5E03BEFB20C18A420061BDA6 /* RecorderManager.m in Sources */,
1267 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */,
1268 | 13B07FC11A68108700A75B9A /* main.m in Sources */,
1269 | );
1270 | runOnlyForDeploymentPostprocessing = 0;
1271 | };
1272 | 2D02E4771E0B4A5D006451C7 /* Sources */ = {
1273 | isa = PBXSourcesBuildPhase;
1274 | buildActionMask = 2147483647;
1275 | files = (
1276 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */,
1277 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */,
1278 | );
1279 | runOnlyForDeploymentPostprocessing = 0;
1280 | };
1281 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = {
1282 | isa = PBXSourcesBuildPhase;
1283 | buildActionMask = 2147483647;
1284 | files = (
1285 | 2DCD954D1E0B4F2C00145EB5 /* screenrecorderTests.m in Sources */,
1286 | );
1287 | runOnlyForDeploymentPostprocessing = 0;
1288 | };
1289 | /* End PBXSourcesBuildPhase section */
1290 |
1291 | /* Begin PBXTargetDependency section */
1292 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = {
1293 | isa = PBXTargetDependency;
1294 | target = 13B07F861A680F5B00A75B9A /* screenrecorder */;
1295 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */;
1296 | };
1297 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = {
1298 | isa = PBXTargetDependency;
1299 | target = 2D02E47A1E0B4A5D006451C7 /* screenrecorder-tvOS */;
1300 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */;
1301 | };
1302 | /* End PBXTargetDependency section */
1303 |
1304 | /* Begin PBXVariantGroup section */
1305 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = {
1306 | isa = PBXVariantGroup;
1307 | children = (
1308 | 13B07FB21A68108700A75B9A /* Base */,
1309 | );
1310 | name = LaunchScreen.xib;
1311 | path = screenrecorder;
1312 | sourceTree = "";
1313 | };
1314 | /* End PBXVariantGroup section */
1315 |
1316 | /* Begin XCBuildConfiguration section */
1317 | 00E356F61AD99517003FC87E /* Debug */ = {
1318 | isa = XCBuildConfiguration;
1319 | buildSettings = {
1320 | BUNDLE_LOADER = "$(TEST_HOST)";
1321 | GCC_PREPROCESSOR_DEFINITIONS = (
1322 | "DEBUG=1",
1323 | "$(inherited)",
1324 | );
1325 | HEADER_SEARCH_PATHS = (
1326 | "$(inherited)",
1327 | "$(SRCROOT)/../node_modules/react-native-video/ios",
1328 | "$(SRCROOT)/../node_modules/react-native-fetch-blob/ios/**",
1329 | "$(SRCROOT)/../node_modules/react-native-fs/**",
1330 | );
1331 | INFOPLIST_FILE = screenrecorderTests/Info.plist;
1332 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1333 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1334 | LIBRARY_SEARCH_PATHS = (
1335 | "$(inherited)",
1336 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1337 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1338 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1339 | );
1340 | OTHER_LDFLAGS = (
1341 | "-ObjC",
1342 | "-lc++",
1343 | );
1344 | PRODUCT_NAME = "$(TARGET_NAME)";
1345 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/screenrecorder.app/screenrecorder";
1346 | };
1347 | name = Debug;
1348 | };
1349 | 00E356F71AD99517003FC87E /* Release */ = {
1350 | isa = XCBuildConfiguration;
1351 | buildSettings = {
1352 | BUNDLE_LOADER = "$(TEST_HOST)";
1353 | COPY_PHASE_STRIP = NO;
1354 | HEADER_SEARCH_PATHS = (
1355 | "$(inherited)",
1356 | "$(SRCROOT)/../node_modules/react-native-video/ios",
1357 | "$(SRCROOT)/../node_modules/react-native-fetch-blob/ios/**",
1358 | "$(SRCROOT)/../node_modules/react-native-fs/**",
1359 | );
1360 | INFOPLIST_FILE = screenrecorderTests/Info.plist;
1361 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1362 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1363 | LIBRARY_SEARCH_PATHS = (
1364 | "$(inherited)",
1365 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1366 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1367 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1368 | );
1369 | OTHER_LDFLAGS = (
1370 | "-ObjC",
1371 | "-lc++",
1372 | );
1373 | PRODUCT_NAME = "$(TARGET_NAME)";
1374 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/screenrecorder.app/screenrecorder";
1375 | };
1376 | name = Release;
1377 | };
1378 | 13B07F941A680F5B00A75B9A /* Debug */ = {
1379 | isa = XCBuildConfiguration;
1380 | buildSettings = {
1381 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1382 | CURRENT_PROJECT_VERSION = 1;
1383 | DEAD_CODE_STRIPPING = NO;
1384 | HEADER_SEARCH_PATHS = (
1385 | "$(inherited)",
1386 | "$(SRCROOT)/../node_modules/react-native-video/ios",
1387 | "$(SRCROOT)/../node_modules/react-native-fetch-blob/ios/**",
1388 | "$(SRCROOT)/../node_modules/react-native-fs/**",
1389 | );
1390 | INFOPLIST_FILE = screenrecorder/Info.plist;
1391 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1392 | OTHER_LDFLAGS = (
1393 | "$(inherited)",
1394 | "-ObjC",
1395 | "-lc++",
1396 | );
1397 | PRODUCT_NAME = screenrecorder;
1398 | VERSIONING_SYSTEM = "apple-generic";
1399 | };
1400 | name = Debug;
1401 | };
1402 | 13B07F951A680F5B00A75B9A /* Release */ = {
1403 | isa = XCBuildConfiguration;
1404 | buildSettings = {
1405 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1406 | CURRENT_PROJECT_VERSION = 1;
1407 | HEADER_SEARCH_PATHS = (
1408 | "$(inherited)",
1409 | "$(SRCROOT)/../node_modules/react-native-video/ios",
1410 | "$(SRCROOT)/../node_modules/react-native-fetch-blob/ios/**",
1411 | "$(SRCROOT)/../node_modules/react-native-fs/**",
1412 | );
1413 | INFOPLIST_FILE = screenrecorder/Info.plist;
1414 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1415 | OTHER_LDFLAGS = (
1416 | "$(inherited)",
1417 | "-ObjC",
1418 | "-lc++",
1419 | );
1420 | PRODUCT_NAME = screenrecorder;
1421 | VERSIONING_SYSTEM = "apple-generic";
1422 | };
1423 | name = Release;
1424 | };
1425 | 2D02E4971E0B4A5E006451C7 /* Debug */ = {
1426 | isa = XCBuildConfiguration;
1427 | buildSettings = {
1428 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
1429 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
1430 | CLANG_ANALYZER_NONNULL = YES;
1431 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1432 | CLANG_WARN_INFINITE_RECURSION = YES;
1433 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1434 | DEBUG_INFORMATION_FORMAT = dwarf;
1435 | ENABLE_TESTABILITY = YES;
1436 | GCC_NO_COMMON_BLOCKS = YES;
1437 | HEADER_SEARCH_PATHS = (
1438 | "$(inherited)",
1439 | "$(SRCROOT)/../node_modules/react-native-video/ios",
1440 | "$(SRCROOT)/../node_modules/react-native-fetch-blob/ios/**",
1441 | "$(SRCROOT)/../node_modules/react-native-fs/**",
1442 | );
1443 | INFOPLIST_FILE = "screenrecorder-tvOS/Info.plist";
1444 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1445 | LIBRARY_SEARCH_PATHS = (
1446 | "$(inherited)",
1447 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1448 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1449 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1450 | );
1451 | OTHER_LDFLAGS = (
1452 | "-ObjC",
1453 | "-lc++",
1454 | );
1455 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.screenrecorder-tvOS";
1456 | PRODUCT_NAME = "$(TARGET_NAME)";
1457 | SDKROOT = appletvos;
1458 | TARGETED_DEVICE_FAMILY = 3;
1459 | TVOS_DEPLOYMENT_TARGET = 9.2;
1460 | };
1461 | name = Debug;
1462 | };
1463 | 2D02E4981E0B4A5E006451C7 /* Release */ = {
1464 | isa = XCBuildConfiguration;
1465 | buildSettings = {
1466 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
1467 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
1468 | CLANG_ANALYZER_NONNULL = YES;
1469 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1470 | CLANG_WARN_INFINITE_RECURSION = YES;
1471 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1472 | COPY_PHASE_STRIP = NO;
1473 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
1474 | GCC_NO_COMMON_BLOCKS = YES;
1475 | HEADER_SEARCH_PATHS = (
1476 | "$(inherited)",
1477 | "$(SRCROOT)/../node_modules/react-native-video/ios",
1478 | "$(SRCROOT)/../node_modules/react-native-fetch-blob/ios/**",
1479 | "$(SRCROOT)/../node_modules/react-native-fs/**",
1480 | );
1481 | INFOPLIST_FILE = "screenrecorder-tvOS/Info.plist";
1482 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1483 | LIBRARY_SEARCH_PATHS = (
1484 | "$(inherited)",
1485 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1486 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1487 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1488 | );
1489 | OTHER_LDFLAGS = (
1490 | "-ObjC",
1491 | "-lc++",
1492 | );
1493 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.screenrecorder-tvOS";
1494 | PRODUCT_NAME = "$(TARGET_NAME)";
1495 | SDKROOT = appletvos;
1496 | TARGETED_DEVICE_FAMILY = 3;
1497 | TVOS_DEPLOYMENT_TARGET = 9.2;
1498 | };
1499 | name = Release;
1500 | };
1501 | 2D02E4991E0B4A5E006451C7 /* Debug */ = {
1502 | isa = XCBuildConfiguration;
1503 | buildSettings = {
1504 | BUNDLE_LOADER = "$(TEST_HOST)";
1505 | CLANG_ANALYZER_NONNULL = YES;
1506 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1507 | CLANG_WARN_INFINITE_RECURSION = YES;
1508 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1509 | DEBUG_INFORMATION_FORMAT = dwarf;
1510 | ENABLE_TESTABILITY = YES;
1511 | GCC_NO_COMMON_BLOCKS = YES;
1512 | HEADER_SEARCH_PATHS = (
1513 | "$(inherited)",
1514 | "$(SRCROOT)/../node_modules/react-native-video/ios",
1515 | "$(SRCROOT)/../node_modules/react-native-fetch-blob/ios/**",
1516 | "$(SRCROOT)/../node_modules/react-native-fs/**",
1517 | );
1518 | INFOPLIST_FILE = "screenrecorder-tvOSTests/Info.plist";
1519 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1520 | LIBRARY_SEARCH_PATHS = (
1521 | "$(inherited)",
1522 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1523 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1524 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1525 | );
1526 | OTHER_LDFLAGS = (
1527 | "-ObjC",
1528 | "-lc++",
1529 | );
1530 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.screenrecorder-tvOSTests";
1531 | PRODUCT_NAME = "$(TARGET_NAME)";
1532 | SDKROOT = appletvos;
1533 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/screenrecorder-tvOS.app/screenrecorder-tvOS";
1534 | TVOS_DEPLOYMENT_TARGET = 10.1;
1535 | };
1536 | name = Debug;
1537 | };
1538 | 2D02E49A1E0B4A5E006451C7 /* Release */ = {
1539 | isa = XCBuildConfiguration;
1540 | buildSettings = {
1541 | BUNDLE_LOADER = "$(TEST_HOST)";
1542 | CLANG_ANALYZER_NONNULL = YES;
1543 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1544 | CLANG_WARN_INFINITE_RECURSION = YES;
1545 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1546 | COPY_PHASE_STRIP = NO;
1547 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
1548 | GCC_NO_COMMON_BLOCKS = YES;
1549 | HEADER_SEARCH_PATHS = (
1550 | "$(inherited)",
1551 | "$(SRCROOT)/../node_modules/react-native-video/ios",
1552 | "$(SRCROOT)/../node_modules/react-native-fetch-blob/ios/**",
1553 | "$(SRCROOT)/../node_modules/react-native-fs/**",
1554 | );
1555 | INFOPLIST_FILE = "screenrecorder-tvOSTests/Info.plist";
1556 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1557 | LIBRARY_SEARCH_PATHS = (
1558 | "$(inherited)",
1559 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1560 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1561 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1562 | );
1563 | OTHER_LDFLAGS = (
1564 | "-ObjC",
1565 | "-lc++",
1566 | );
1567 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.screenrecorder-tvOSTests";
1568 | PRODUCT_NAME = "$(TARGET_NAME)";
1569 | SDKROOT = appletvos;
1570 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/screenrecorder-tvOS.app/screenrecorder-tvOS";
1571 | TVOS_DEPLOYMENT_TARGET = 10.1;
1572 | };
1573 | name = Release;
1574 | };
1575 | 83CBBA201A601CBA00E9B192 /* Debug */ = {
1576 | isa = XCBuildConfiguration;
1577 | buildSettings = {
1578 | ALWAYS_SEARCH_USER_PATHS = NO;
1579 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
1580 | CLANG_CXX_LIBRARY = "libc++";
1581 | CLANG_ENABLE_MODULES = YES;
1582 | CLANG_ENABLE_OBJC_ARC = YES;
1583 | CLANG_WARN_BOOL_CONVERSION = YES;
1584 | CLANG_WARN_CONSTANT_CONVERSION = YES;
1585 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
1586 | CLANG_WARN_EMPTY_BODY = YES;
1587 | CLANG_WARN_ENUM_CONVERSION = YES;
1588 | CLANG_WARN_INT_CONVERSION = YES;
1589 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
1590 | CLANG_WARN_UNREACHABLE_CODE = YES;
1591 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
1592 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
1593 | COPY_PHASE_STRIP = NO;
1594 | ENABLE_STRICT_OBJC_MSGSEND = YES;
1595 | GCC_C_LANGUAGE_STANDARD = gnu99;
1596 | GCC_DYNAMIC_NO_PIC = NO;
1597 | GCC_OPTIMIZATION_LEVEL = 0;
1598 | GCC_PREPROCESSOR_DEFINITIONS = (
1599 | "DEBUG=1",
1600 | "$(inherited)",
1601 | );
1602 | GCC_SYMBOLS_PRIVATE_EXTERN = NO;
1603 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
1604 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
1605 | GCC_WARN_UNDECLARED_SELECTOR = YES;
1606 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
1607 | GCC_WARN_UNUSED_FUNCTION = YES;
1608 | GCC_WARN_UNUSED_VARIABLE = YES;
1609 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1610 | MTL_ENABLE_DEBUG_INFO = YES;
1611 | ONLY_ACTIVE_ARCH = YES;
1612 | SDKROOT = iphoneos;
1613 | };
1614 | name = Debug;
1615 | };
1616 | 83CBBA211A601CBA00E9B192 /* Release */ = {
1617 | isa = XCBuildConfiguration;
1618 | buildSettings = {
1619 | ALWAYS_SEARCH_USER_PATHS = NO;
1620 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
1621 | CLANG_CXX_LIBRARY = "libc++";
1622 | CLANG_ENABLE_MODULES = YES;
1623 | CLANG_ENABLE_OBJC_ARC = YES;
1624 | CLANG_WARN_BOOL_CONVERSION = YES;
1625 | CLANG_WARN_CONSTANT_CONVERSION = YES;
1626 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
1627 | CLANG_WARN_EMPTY_BODY = YES;
1628 | CLANG_WARN_ENUM_CONVERSION = YES;
1629 | CLANG_WARN_INT_CONVERSION = YES;
1630 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
1631 | CLANG_WARN_UNREACHABLE_CODE = YES;
1632 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
1633 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
1634 | COPY_PHASE_STRIP = YES;
1635 | ENABLE_NS_ASSERTIONS = NO;
1636 | ENABLE_STRICT_OBJC_MSGSEND = YES;
1637 | GCC_C_LANGUAGE_STANDARD = gnu99;
1638 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
1639 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
1640 | GCC_WARN_UNDECLARED_SELECTOR = YES;
1641 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
1642 | GCC_WARN_UNUSED_FUNCTION = YES;
1643 | GCC_WARN_UNUSED_VARIABLE = YES;
1644 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1645 | MTL_ENABLE_DEBUG_INFO = NO;
1646 | SDKROOT = iphoneos;
1647 | VALIDATE_PRODUCT = YES;
1648 | };
1649 | name = Release;
1650 | };
1651 | /* End XCBuildConfiguration section */
1652 |
1653 | /* Begin XCConfigurationList section */
1654 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "screenrecorderTests" */ = {
1655 | isa = XCConfigurationList;
1656 | buildConfigurations = (
1657 | 00E356F61AD99517003FC87E /* Debug */,
1658 | 00E356F71AD99517003FC87E /* Release */,
1659 | );
1660 | defaultConfigurationIsVisible = 0;
1661 | defaultConfigurationName = Release;
1662 | };
1663 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "screenrecorder" */ = {
1664 | isa = XCConfigurationList;
1665 | buildConfigurations = (
1666 | 13B07F941A680F5B00A75B9A /* Debug */,
1667 | 13B07F951A680F5B00A75B9A /* Release */,
1668 | );
1669 | defaultConfigurationIsVisible = 0;
1670 | defaultConfigurationName = Release;
1671 | };
1672 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "screenrecorder-tvOS" */ = {
1673 | isa = XCConfigurationList;
1674 | buildConfigurations = (
1675 | 2D02E4971E0B4A5E006451C7 /* Debug */,
1676 | 2D02E4981E0B4A5E006451C7 /* Release */,
1677 | );
1678 | defaultConfigurationIsVisible = 0;
1679 | defaultConfigurationName = Release;
1680 | };
1681 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "screenrecorder-tvOSTests" */ = {
1682 | isa = XCConfigurationList;
1683 | buildConfigurations = (
1684 | 2D02E4991E0B4A5E006451C7 /* Debug */,
1685 | 2D02E49A1E0B4A5E006451C7 /* Release */,
1686 | );
1687 | defaultConfigurationIsVisible = 0;
1688 | defaultConfigurationName = Release;
1689 | };
1690 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "screenrecorder" */ = {
1691 | isa = XCConfigurationList;
1692 | buildConfigurations = (
1693 | 83CBBA201A601CBA00E9B192 /* Debug */,
1694 | 83CBBA211A601CBA00E9B192 /* Release */,
1695 | );
1696 | defaultConfigurationIsVisible = 0;
1697 | defaultConfigurationName = Release;
1698 | };
1699 | /* End XCConfigurationList section */
1700 | };
1701 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */;
1702 | }
1703 |
--------------------------------------------------------------------------------
/ios/screenrecorder.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/screenrecorder.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/screenrecorder.xcodeproj/project.xcworkspace/xcuserdata/chenshu.xcuserdatad/UserInterfaceState.xcuserstate:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ycswaves/react-native-screen-recorder/de62e83cb6c466277fbda890169ff7db9a8b7c1a/ios/screenrecorder.xcodeproj/project.xcworkspace/xcuserdata/chenshu.xcuserdatad/UserInterfaceState.xcuserstate
--------------------------------------------------------------------------------
/ios/screenrecorder.xcodeproj/xcshareddata/xcschemes/screenrecorder-tvOS.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
29 |
35 |
36 |
37 |
43 |
49 |
50 |
51 |
52 |
53 |
58 |
59 |
61 |
67 |
68 |
69 |
70 |
71 |
77 |
78 |
79 |
80 |
81 |
82 |
92 |
94 |
100 |
101 |
102 |
103 |
104 |
105 |
111 |
113 |
119 |
120 |
121 |
122 |
124 |
125 |
128 |
129 |
130 |
--------------------------------------------------------------------------------
/ios/screenrecorder.xcodeproj/xcshareddata/xcschemes/screenrecorder.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
29 |
35 |
36 |
37 |
43 |
49 |
50 |
51 |
52 |
53 |
58 |
59 |
61 |
67 |
68 |
69 |
70 |
71 |
77 |
78 |
79 |
80 |
81 |
82 |
92 |
94 |
100 |
101 |
102 |
103 |
104 |
105 |
111 |
113 |
119 |
120 |
121 |
122 |
124 |
125 |
128 |
129 |
130 |
--------------------------------------------------------------------------------
/ios/screenrecorder.xcodeproj/xcuserdata/chenshu.xcuserdatad/xcschemes/xcschememanagement.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SchemeUserState
6 |
7 | screenrecorder-tvOS.xcscheme_^#shared#^_
8 |
9 | orderHint
10 | 1
11 |
12 | screenrecorder.xcscheme_^#shared#^_
13 |
14 | orderHint
15 | 0
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/ios/screenrecorder/AppDelegate.h:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015-present, Facebook, Inc.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | @interface AppDelegate : UIResponder
11 |
12 | @property (nonatomic, strong) UIWindow *window;
13 |
14 | @end
15 |
--------------------------------------------------------------------------------
/ios/screenrecorder/AppDelegate.m:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015-present, Facebook, Inc.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import "AppDelegate.h"
9 |
10 | #import
11 | #import
12 |
13 | @implementation AppDelegate
14 |
15 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
16 | {
17 | NSURL *jsCodeLocation;
18 |
19 | jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil];
20 |
21 | RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation
22 | moduleName:@"screenrecorder"
23 | initialProperties:nil
24 | launchOptions:launchOptions];
25 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];
26 |
27 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
28 | UIViewController *rootViewController = [UIViewController new];
29 | rootViewController.view = rootView;
30 | self.window.rootViewController = rootViewController;
31 | [self.window makeKeyAndVisible];
32 | return YES;
33 | }
34 |
35 | @end
36 |
--------------------------------------------------------------------------------
/ios/screenrecorder/Base.lproj/LaunchScreen.xib:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
21 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/ios/screenrecorder/Images.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "size" : "20x20",
6 | "scale" : "2x"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "size" : "20x20",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "29x29",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "29x29",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "40x40",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "40x40",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "iphone",
35 | "size" : "60x60",
36 | "scale" : "2x"
37 | },
38 | {
39 | "idiom" : "iphone",
40 | "size" : "60x60",
41 | "scale" : "3x"
42 | },
43 | {
44 | "idiom" : "ios-marketing",
45 | "size" : "1024x1024",
46 | "scale" : "1x"
47 | }
48 | ],
49 | "info" : {
50 | "version" : 1,
51 | "author" : "xcode"
52 | }
53 | }
--------------------------------------------------------------------------------
/ios/screenrecorder/Images.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/ios/screenrecorder/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleDisplayName
8 | Screen Recorder
9 | CFBundleExecutable
10 | $(EXECUTABLE_NAME)
11 | CFBundleIdentifier
12 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | $(PRODUCT_NAME)
17 | CFBundlePackageType
18 | APPL
19 | CFBundleShortVersionString
20 | 1.0
21 | CFBundleSignature
22 | ????
23 | CFBundleVersion
24 | 1
25 | LSRequiresIPhoneOS
26 |
27 | UILaunchStoryboardName
28 | LaunchScreen
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 | UIViewControllerBasedStatusBarAppearance
40 |
41 | NSLocationWhenInUseUsageDescription
42 |
43 | NSPhotoLibraryUsageDescription
44 | Need access to photo gallery
45 | NSPhotoLibraryAddUsageDescription
46 | Need access to photo gallery
47 | NSAppTransportSecurity
48 |
49 | NSExceptionDomains
50 |
51 | localhost
52 |
53 | NSExceptionAllowsInsecureHTTPLoads
54 |
55 |
56 |
57 |
58 |
59 |
60 |
--------------------------------------------------------------------------------
/ios/screenrecorder/main.m:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015-present, Facebook, Inc.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | #import "AppDelegate.h"
11 |
12 | int main(int argc, char * argv[]) {
13 | @autoreleasepool {
14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/ios/screenrecorderTests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 |
24 |
25 |
--------------------------------------------------------------------------------
/ios/screenrecorderTests/screenrecorderTests.m:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015-present, Facebook, Inc.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 | #import
10 |
11 | #import
12 | #import
13 |
14 | #define TIMEOUT_SECONDS 600
15 | #define TEXT_TO_LOOK_FOR @"Welcome to React Native!"
16 |
17 | @interface screenrecorderTests : XCTestCase
18 |
19 | @end
20 |
21 | @implementation screenrecorderTests
22 |
23 | - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test
24 | {
25 | if (test(view)) {
26 | return YES;
27 | }
28 | for (UIView *subview in [view subviews]) {
29 | if ([self findSubviewInView:subview matching:test]) {
30 | return YES;
31 | }
32 | }
33 | return NO;
34 | }
35 |
36 | - (void)testRendersWelcomeScreen
37 | {
38 | UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController];
39 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS];
40 | BOOL foundElement = NO;
41 |
42 | __block NSString *redboxError = nil;
43 | RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) {
44 | if (level >= RCTLogLevelError) {
45 | redboxError = message;
46 | }
47 | });
48 |
49 | while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) {
50 | [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
51 | [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
52 |
53 | foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) {
54 | if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) {
55 | return YES;
56 | }
57 | return NO;
58 | }];
59 | }
60 |
61 | RCTSetLogFunction(RCTDefaultLogFunction);
62 |
63 | XCTAssertNil(redboxError, @"RedBox error: %@", redboxError);
64 | XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS);
65 | }
66 |
67 |
68 | @end
69 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "screen-recorder",
3 | "version": "0.1.0",
4 | "private": true,
5 | "devDependencies": {
6 | "babel-preset-react-native-stage-0": "^1.0.1",
7 | "jest": "^23.1.0",
8 | "jest-react-native": "^18.0.0",
9 | "react-test-renderer": "16.3.1"
10 | },
11 | "scripts": {
12 | "start": "react-native start",
13 | "android": "react-native run-android",
14 | "ios": "react-native run-ios",
15 | "test": "jest"
16 | },
17 | "jest": {
18 | "preset": "react-native"
19 | },
20 | "dependencies": {
21 | "react": "16.3.1",
22 | "react-native": "~0.55.2",
23 | "react-native-fs": "^2.9.12",
24 | "react-native-video": "^2.1.1",
25 | "react-native-video-controls": "^2.2.1"
26 | }
27 | }
28 |
--------------------------------------------------------------------------------