├── LICENSE
├── README.md
├── example
├── .buckconfig
├── .flowconfig
├── .gitattributes
├── .gitignore
├── .watchmanconfig
├── App.js
├── Elsewhere.js
├── __tests__
│ └── App-test.js
├── android
│ ├── app
│ │ ├── BUCK
│ │ ├── build.gradle
│ │ ├── build_defs.bzl
│ │ ├── proguard-rules.pro
│ │ └── src
│ │ │ ├── debug
│ │ │ └── AndroidManifest.xml
│ │ │ └── main
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── java
│ │ │ └── com
│ │ │ │ └── elsewhere
│ │ │ │ ├── MainActivity.java
│ │ │ │ └── MainApplication.java
│ │ │ └── res
│ │ │ ├── mipmap-hdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-mdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.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
│ └── settings.gradle
├── app.json
├── babel.config.js
├── index.js
├── ios
│ ├── elsewhere-tvOS
│ │ └── Info.plist
│ ├── elsewhere-tvOSTests
│ │ └── Info.plist
│ ├── elsewhere.xcodeproj
│ │ ├── project.pbxproj
│ │ └── xcshareddata
│ │ │ └── xcschemes
│ │ │ ├── elsewhere-tvOS.xcscheme
│ │ │ └── elsewhere.xcscheme
│ ├── elsewhere
│ │ ├── AppDelegate.h
│ │ ├── AppDelegate.m
│ │ ├── Base.lproj
│ │ │ └── LaunchScreen.xib
│ │ ├── Images.xcassets
│ │ │ ├── AppIcon.appiconset
│ │ │ │ └── Contents.json
│ │ │ └── Contents.json
│ │ ├── Info.plist
│ │ └── main.m
│ └── elsewhereTests
│ │ ├── Info.plist
│ │ └── elsewhereTests.m
├── metro.config.js
├── package.json
└── yarn.lock
├── index.js
├── package.json
└── yarn.lock
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2019 Alexander Thomas
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # 🚨 Deprecation Notice
2 | The `` component relies upon the `toString()` method to delegate native functions to a ``, which is [not possible to achieve in conjunction with the Hermes engine](https://github.com/facebook/hermes/issues/114).
3 |
4 | Developers are urged to migrate into [nodejs-mobile-react-native-bridge](https://github.com/cawfree/nodejs-mobile-react-native-bridge).
5 |
6 | # react-native-elsewhere
7 | Ridiculously simple React Native thread unblocking.
8 |
9 | ## 🚀 Getting Started
10 | Using [npm](https://www.npmjs.com/package/@cawfree/react-native-elsewhere):
11 | ```shell
12 | npm install --save @cawfree/react-native-elsewhere
13 | ```
14 | Using [yarn](https://www.npmjs.com/package/@cawfree/react-native-elsewhere):
15 | ```shell
16 | yarn add @cawfree/react-native-elsewhere
17 | ```
18 | Yeah, no linking. 👍
19 |
20 | ## ⚙ How does it work?
21 | By delegating stateless JavaScript computation to a [``](https://facebook.github.io/react-native/docs/webview), your app can maintain responsive whilst you crunch through heavy computation in the background.
22 |
23 | ```javascript
24 | import React, {Component} from 'react';
25 | import {WebView, Button, Platform, StyleSheet, Text, View, Alert} from 'react-native';
26 |
27 | import Elsewhere from '@cawfree/react-native-elsewhere';
28 |
29 | // https://gist.github.com/sqren/5083d73f184acae0c5b7
30 | function doSomethingIntense(postMessage, { source }) {
31 | const now = new Date();
32 | let result = 0;
33 | for (var i = Math.pow(10, 7); i >= 0; i--) {
34 | result += Math.atan(i) * Math.tan(i);
35 | };
36 | postMessage({
37 | source,
38 | result,
39 | dt: new Date().getTime() - now.getTime(),
40 | });
41 | }
42 |
43 | type Props = {};
44 | export default class App extends Component {
45 | state = {
46 | postMessage: () => null,
47 | }
48 | render() {
49 | const {
50 | postMessage,
51 | } = this.state;
52 | return (
53 |
54 | Alert.alert(JSON.stringify(data))}
58 | onPostMessage={(postMessage) => {
59 | this.setState({
60 | postMessage,
61 | });
62 | }}
63 | />
64 | Welcome to React Native!
65 | To get started, open the debug menu and enable the performance monitor so we can watch the JS frame rate.
66 | It should read a steady 60fps. ⏰
67 | {'🤓'}
68 | Tap the Button below to watch your frame rate plummet! 📉
69 |
74 |
83 | Intense, right? Now run the exact same operation inside of an Elsewhere. 📈
84 |
89 |
97 | See how the frame rate stays at 60? Magic. 🔮
98 |
99 | );
100 | }
101 | }
102 |
103 | const styles = StyleSheet.create({
104 | container: {
105 | flex: 1,
106 | justifyContent: 'center',
107 | alignItems: 'center',
108 | backgroundColor: '#F5FCFF',
109 | },
110 | welcome: {
111 | fontSize: 20,
112 | textAlign: 'center',
113 | margin: 10,
114 | },
115 | instructions: {
116 | textAlign: 'center',
117 | color: '#333333',
118 | marginBottom: 5,
119 | },
120 | button: {
121 | marginBottom: 15,
122 | }
123 | });
124 | ```
125 |
126 | ## 💾 Persistence
127 | Using the `scripts` prop, it is possible to define an array of urls that you'd like to import as ``s within your JavaScript logic. Some scripts you call to may rely on localStorage for persistence between launches of your application; however for this to work successfully, your `engine` will need to be serialized to a file location so that thr browser can associate stored data with a given file `uri`.
128 |
129 | This can be achieved using the following, which uses [`react-native-fs`](https://github.com/itinance/react-native-fs) as the file I/O utility.
130 |
131 | ```javascript
132 | import React from 'react';
133 | import Elsewhere from '@cawfree/react-native-elsewhere';
134 | import fs from 'react-native-fs';
135 |
136 | // XXX: Declare a uri where we'd like to store the evaluated
137 | // engine on the device file system.
138 | const uri = `${fs.CachesDirectoryPath}/elsewhere.html`;
139 |
140 | export default class Persisted extends React.Component {
141 | render() {
142 | return (
143 | {
154 | // XXX: You must return a Promise, which when reslved guarantees
155 | // that the engine html has been saved to the requested uri.
156 | return fs.writeFile(
157 | url,
158 | html,
159 | );
160 | }}
161 | />
162 | );
163 | }
164 | }
165 | ```
166 |
167 | ## ✌️ License
168 | [MIT](https://opensource.org/licenses/MIT)
169 |
170 |
171 |
172 |
173 |
174 |
175 |
--------------------------------------------------------------------------------
/example/.buckconfig:
--------------------------------------------------------------------------------
1 |
2 | [android]
3 | target = Google Inc.:Google APIs:23
4 |
5 | [maven_repositories]
6 | central = https://repo1.maven.org/maven2
7 |
--------------------------------------------------------------------------------
/example/.flowconfig:
--------------------------------------------------------------------------------
1 | [ignore]
2 | ; We fork some components by platform
3 | .*/*[.]android.js
4 |
5 | ; Ignore "BUCK" generated dirs
6 | /\.buckd/
7 |
8 | ; Ignore unexpected extra "@providesModule"
9 | .*/node_modules/.*/node_modules/fbjs/.*
10 |
11 | ; Ignore duplicate module providers
12 | ; For RN Apps installed via npm, "Libraries" folder is inside
13 | ; "node_modules/react-native" but in the source repo it is in the root
14 | .*/Libraries/react-native/React.js
15 |
16 | ; Ignore polyfills
17 | .*/Libraries/polyfills/.*
18 |
19 | ; Ignore metro
20 | .*/node_modules/metro/.*
21 |
22 | [include]
23 |
24 | [libs]
25 | node_modules/react-native/Libraries/react-native/react-native-interface.js
26 | node_modules/react-native/flow/
27 |
28 | [options]
29 | emoji=true
30 |
31 | esproposal.optional_chaining=enable
32 | esproposal.nullish_coalescing=enable
33 |
34 | module.system=haste
35 | module.system.haste.use_name_reducers=true
36 | # get basename
37 | module.system.haste.name_reducers='^.*/\([a-zA-Z0-9$_.-]+\.js\(\.flow\)?\)$' -> '\1'
38 | # strip .js or .js.flow suffix
39 | module.system.haste.name_reducers='^\(.*\)\.js\(\.flow\)?$' -> '\1'
40 | # strip .ios suffix
41 | module.system.haste.name_reducers='^\(.*\)\.ios$' -> '\1'
42 | module.system.haste.name_reducers='^\(.*\)\.android$' -> '\1'
43 | module.system.haste.name_reducers='^\(.*\)\.native$' -> '\1'
44 | module.system.haste.paths.blacklist=.*/__tests__/.*
45 | module.system.haste.paths.blacklist=.*/__mocks__/.*
46 | module.system.haste.paths.blacklist=/node_modules/react-native/Libraries/Animated/src/polyfills/.*
47 | module.system.haste.paths.whitelist=/node_modules/react-native/Libraries/.*
48 |
49 | munge_underscores=true
50 |
51 | module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> 'RelativeImageStub'
52 |
53 | module.file_ext=.js
54 | module.file_ext=.jsx
55 | module.file_ext=.json
56 | module.file_ext=.native.js
57 |
58 | suppress_type=$FlowIssue
59 | suppress_type=$FlowFixMe
60 | suppress_type=$FlowFixMeProps
61 | suppress_type=$FlowFixMeState
62 |
63 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
64 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
65 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
66 | suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
67 |
68 | [version]
69 | ^0.92.0
70 |
--------------------------------------------------------------------------------
/example/.gitattributes:
--------------------------------------------------------------------------------
1 | *.pbxproj -text
2 |
--------------------------------------------------------------------------------
/example/.gitignore:
--------------------------------------------------------------------------------
1 | # OSX
2 | #
3 | .DS_Store
4 |
5 | # Xcode
6 | #
7 | build/
8 | *.pbxuser
9 | !default.pbxuser
10 | *.mode1v3
11 | !default.mode1v3
12 | *.mode2v3
13 | !default.mode2v3
14 | *.perspectivev3
15 | !default.perspectivev3
16 | xcuserdata
17 | *.xccheckout
18 | *.moved-aside
19 | DerivedData
20 | *.hmap
21 | *.ipa
22 | *.xcuserstate
23 | project.xcworkspace
24 |
25 | # Android/IntelliJ
26 | #
27 | build/
28 | .idea
29 | .gradle
30 | local.properties
31 | *.iml
32 |
33 | # node.js
34 | #
35 | node_modules/
36 | npm-debug.log
37 | yarn-error.log
38 |
39 | # BUCK
40 | buck-out/
41 | \.buckd/
42 | *.keystore
43 |
44 | # fastlane
45 | #
46 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
47 | # screenshots whenever they are needed.
48 | # For more information about the recommended setup visit:
49 | # https://docs.fastlane.tools/best-practices/source-control/
50 |
51 | */fastlane/report.xml
52 | */fastlane/Preview.html
53 | */fastlane/screenshots
54 |
55 | # Bundle artifact
56 | *.jsbundle
57 |
--------------------------------------------------------------------------------
/example/.watchmanconfig:
--------------------------------------------------------------------------------
1 | {}
--------------------------------------------------------------------------------
/example/App.js:
--------------------------------------------------------------------------------
1 | import React, {Component} from 'react';
2 | import {Button, Platform, StyleSheet, Text, View, Alert} from 'react-native';
3 | import fs from 'react-native-fs';
4 | import WebView from 'react-native-webview';
5 |
6 | import Elsewhere from './Elsewhere';
7 |
8 | // https://gist.github.com/sqren/5083d73f184acae0c5b7
9 | function doSomethingIntense(postMessage, { source }) {
10 | const now = new Date();
11 | let result = 0;
12 | for (var i = Math.pow(10, 7); i >= 0; i--) {
13 | result += Math.atan(i) * Math.tan(i);
14 | };
15 | const message = {
16 | source,
17 | result,
18 | dt: new Date().getTime() - now.getTime(),
19 | };
20 | if (source === 'web') {
21 | // XXX: Notice that lodash isn't part of the native dependency map, but it _is_ available to the Elsewhere (web) target!
22 | return postMessage(
23 | _.merge(
24 | message,
25 | {
26 | description: 'Message via lodash!',
27 | },
28 | ),
29 | );
30 | }
31 | return postMessage(
32 | message,
33 | );
34 | }
35 |
36 | type Props = {};
37 | export default class App extends Component {
38 | state = {
39 | postMessage: () => null,
40 | now: new Date(),
41 | }
42 | render() {
43 | const {
44 | postMessage,
45 | } = this.state;
46 | return (
47 |
48 | Alert.alert(JSON.stringify(data))}
53 | scripts={[
54 | // XXX: As an example, supply a dependency on lodash.
55 | 'https://cdn.jsdelivr.net/npm/lodash@4.17.15/lodash.min.js',
56 | ]}
57 | onPostMessage={(postMessage) => {
58 | console.warn(
59 | `Time to initialize: ${(new Date().getTime()) - this.state.now.getTime()}ms`,
60 | );
61 | this.setState({
62 | postMessage,
63 | });
64 | }}
65 | uri={`${fs.DocumentDirectoryPath}/elsewhere.html`}
66 | onRequestPersist={(data, uri) => fs
67 | .writeFile(
68 | uri,
69 | data,
70 | )}
71 | onRequestRestore={uri => fs.readFile(
72 | uri,
73 | )}
74 | />
75 | Welcome to React Native!
76 | To get started, open the debug menu and enable the performance monitor so we can watch the JS frame rate.
77 | It should read a steady 60fps. ⏰
78 | {'🤓'}
79 | Tap the Button below to watch your frame rate plummet! 📉
80 |
85 |
94 | Intense, right? Now run the exact same operation inside of an Elsewhere. 📈
95 |
100 |
108 | See how the frame rate stays at 60? Magic. 🔮
109 |
110 | );
111 | }
112 | }
113 |
114 | const styles = StyleSheet.create({
115 | container: {
116 | flex: 1,
117 | justifyContent: 'center',
118 | alignItems: 'center',
119 | backgroundColor: '#F5FCFF',
120 | },
121 | welcome: {
122 | fontSize: 20,
123 | textAlign: 'center',
124 | margin: 10,
125 | },
126 | instructions: {
127 | textAlign: 'center',
128 | color: '#333333',
129 | marginBottom: 5,
130 | },
131 | button: {
132 | marginBottom: 15,
133 | }
134 | });
135 |
--------------------------------------------------------------------------------
/example/Elsewhere.js:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 | import { Platform, View, StyleSheet } from 'react-native';
3 | import PropTypes from 'prop-types';
4 |
5 | const styles = StyleSheet.create({
6 | container: {
7 | position: 'absolute',
8 | width: 0,
9 | height: 0,
10 | },
11 | });
12 |
13 | export default class Elsewhere extends React.Component {
14 | static propTypes = {
15 | engine: PropTypes.func,
16 | uri: PropTypes.string,
17 | onRequestPersist: PropTypes.func,
18 | onMessage: PropTypes.func,
19 | onPostMessage: PropTypes.func,
20 | scripts: PropTypes.arrayOf(PropTypes.string),
21 | WebView: PropTypes.func.isRequired,
22 | useDeprecatedApi: PropTypes.bool,
23 | }
24 | static defaultProps = {
25 | engine: function(postMessage, data) {},
26 | uri: null,
27 | onRequestPersist: null,
28 | onMessage: data => null,
29 | onPostMessage: postMessage => null,
30 | scripts: [],
31 | useDeprecatedApi: false,
32 | }
33 | static wrapEngine = (engine, scripts = [], useDeprecatedApi = false) => `
34 |
35 |
36 |
37 |
38 | Elsewhere
39 |
40 |
41 |
42 | ${scripts.map(script => ``).join('\n')}
43 |
46 |
56 |
57 |
58 | `;
59 | constructor(nextProps) {
60 | super(nextProps);
61 | this.__onMessage = this.__onMessage.bind(this);
62 | this.__onLoadEnd = this.__onLoadEnd.bind(this);
63 | const {
64 | uri,
65 | engine,
66 | scripts,
67 | useDeprecatedApi,
68 | } = nextProps;
69 | this.state = {
70 | uri: null,
71 | html: Elsewhere.wrapEngine(
72 | engine,
73 | scripts,
74 | useDeprecatedApi,
75 | ),
76 | };
77 | if (uri) {
78 | const {
79 | onRequestPersist,
80 | } = nextProps;
81 | if (!onRequestPersist) {
82 | throw new Error(
83 | `Callers must implement the the onRequestPersist prop in order to serialize the engine at the specified uri, "${uri}".`,
84 | );
85 | }
86 | const {
87 | html,
88 | } = this.state;
89 | this.__attemptPersistence(
90 | html,
91 | uri,
92 | onRequestPersist,
93 | );
94 | }
95 | }
96 | __attemptPersistence(html, uri, onRequestPersist) {
97 | return Promise.resolve()
98 | .then(() => onRequestPersist(
99 | html,
100 | uri,
101 | ))
102 | .then(() => this.setState({ uri }));
103 | }
104 | __onLoadEnd() {
105 |
106 | }
107 | __onMessage(e) {
108 | const {
109 | onMessage,
110 | } = this.props;
111 | const receivedData = e.nativeEvent.data || '{}';
112 | const data = JSON.parse(
113 | // XXX: iOS double-encodes returned data!
114 | Platform.OS === 'ios' ? decodeURIComponent(decodeURIComponent(receivedData)) : receivedData,
115 | );
116 | const {
117 | __elsewhere,
118 | } = data;
119 | // XXX: When postMessage is ready, defer to the caller.
120 | if (__elsewhere) {
121 | const {
122 | onPostMessage,
123 | useDeprecatedApi,
124 | } = this.props;
125 | if (onPostMessage) {
126 | onPostMessage(
127 | (data = {}) => this.refs.engine.injectJavaScript(
128 | `window.engine((data => ${useDeprecatedApi ? 'window.postMessage' : 'window.ReactNativeWebView.postMessage'}(JSON.stringify(data))), ${JSON.stringify(data)});`,
129 | ),
130 | );
131 | }
132 | } else if (onMessage) {
133 | onMessage(data);
134 | }
135 | }
136 | render() {
137 | const {
138 | uri,
139 | engine,
140 | onMessage,
141 | onPostMessage,
142 | scripts,
143 | WebView,
144 | ...extraProps
145 | } = this.props;
146 | const {
147 | html,
148 | uri: persistedUri,
149 | ...extraState
150 | } = this.state;
151 | // XXX: If a uri hasn't been specified, we can render the content immediately.
152 | // Otherwise, we must wait until the resource has been persisted before rendering.
153 | const source = (!uri) ? { html } : { uri: persistedUri ? (Platform.OS === 'ios' ? persistedUri : `file://${persistedUri}`) : null};
154 | // XXX: In order to read a persisted uri, we must allowFileAccess. Otherwise if we're
155 | // using the engine directly, we don't need this property.
156 | const allowFileAccess = (!!uri);
157 | return (
158 |
162 |
170 |
171 | );
172 | }
173 | }
174 |
--------------------------------------------------------------------------------
/example/__tests__/App-test.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @format
3 | */
4 |
5 | import 'react-native';
6 | import React from 'react';
7 | import App from '../App';
8 |
9 | // Note: test renderer must be required after react-native.
10 | import renderer from 'react-test-renderer';
11 |
12 | it('renders correctly', () => {
13 | renderer.create();
14 | });
15 |
--------------------------------------------------------------------------------
/example/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 | load(":build_defs.bzl", "create_aar_targets", "create_jar_targets")
12 |
13 | lib_deps = []
14 |
15 | create_aar_targets(glob(["libs/*.aar"]))
16 |
17 | create_jar_targets(glob(["libs/*.jar"]))
18 |
19 | android_library(
20 | name = "all-libs",
21 | exported_deps = lib_deps,
22 | )
23 |
24 | android_library(
25 | name = "app-code",
26 | srcs = glob([
27 | "src/main/java/**/*.java",
28 | ]),
29 | deps = [
30 | ":all-libs",
31 | ":build_config",
32 | ":res",
33 | ],
34 | )
35 |
36 | android_build_config(
37 | name = "build_config",
38 | package = "com.elsewhere",
39 | )
40 |
41 | android_resource(
42 | name = "res",
43 | package = "com.elsewhere",
44 | res = "src/main/res",
45 | )
46 |
47 | android_binary(
48 | name = "app",
49 | keystore = "//android/keystores:debug",
50 | manifest = "src/main/AndroidManifest.xml",
51 | package_type = "debug",
52 | deps = [
53 | ":app-code",
54 | ],
55 | )
56 |
--------------------------------------------------------------------------------
/example/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 rootProject.ext.compileSdkVersion
98 |
99 | compileOptions {
100 | sourceCompatibility JavaVersion.VERSION_1_8
101 | targetCompatibility JavaVersion.VERSION_1_8
102 | }
103 |
104 | defaultConfig {
105 | applicationId "com.elsewhere"
106 | minSdkVersion rootProject.ext.minSdkVersion
107 | targetSdkVersion rootProject.ext.targetSdkVersion
108 | versionCode 1
109 | versionName "1.0"
110 | }
111 | splits {
112 | abi {
113 | reset()
114 | enable enableSeparateBuildPerCPUArchitecture
115 | universalApk false // If true, also generate a universal APK
116 | include "armeabi-v7a", "x86", "arm64-v8a", "x86_64"
117 | }
118 | }
119 | buildTypes {
120 | release {
121 | minifyEnabled enableProguardInReleaseBuilds
122 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
123 | }
124 | }
125 | // applicationVariants are e.g. debug, release
126 | applicationVariants.all { variant ->
127 | variant.outputs.each { output ->
128 | // For each separate APK per architecture, set a unique version code as described here:
129 | // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
130 | def versionCodes = ["armeabi-v7a":1, "x86":2, "arm64-v8a": 3, "x86_64": 4]
131 | def abi = output.getFilter(OutputFile.ABI)
132 | if (abi != null) { // null for the universal-debug, universal-release variants
133 | output.versionCodeOverride =
134 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode
135 | }
136 | }
137 | }
138 | }
139 |
140 | dependencies {
141 | implementation project(':react-native-webview')
142 | implementation project(':react-native-fs')
143 | implementation fileTree(dir: "libs", include: ["*.jar"])
144 | implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}"
145 | implementation "com.facebook.react:react-native:+" // From node_modules
146 | }
147 |
148 | // Run this once to be able to run the application with BUCK
149 | // puts all compile dependencies into folder libs for BUCK to use
150 | task copyDownloadableDepsToLibs(type: Copy) {
151 | from configurations.compile
152 | into 'libs'
153 | }
154 |
--------------------------------------------------------------------------------
/example/android/app/build_defs.bzl:
--------------------------------------------------------------------------------
1 | """Helper definitions to glob .aar and .jar targets"""
2 |
3 | def create_aar_targets(aarfiles):
4 | for aarfile in aarfiles:
5 | name = "aars__" + aarfile[aarfile.rindex("/") + 1:aarfile.rindex(".aar")]
6 | lib_deps.append(":" + name)
7 | android_prebuilt_aar(
8 | name = name,
9 | aar = aarfile,
10 | )
11 |
12 | def create_jar_targets(jarfiles):
13 | for jarfile in jarfiles:
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 |
--------------------------------------------------------------------------------
/example/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 |
--------------------------------------------------------------------------------
/example/android/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/example/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 |
13 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/example/android/app/src/main/java/com/elsewhere/MainActivity.java:
--------------------------------------------------------------------------------
1 | package com.elsewhere;
2 |
3 | import com.facebook.react.ReactActivity;
4 |
5 | public class MainActivity extends ReactActivity {
6 |
7 | /**
8 | * Returns the name of the main component registered from JavaScript.
9 | * This is used to schedule rendering of the component.
10 | */
11 | @Override
12 | protected String getMainComponentName() {
13 | return "elsewhere";
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/example/android/app/src/main/java/com/elsewhere/MainApplication.java:
--------------------------------------------------------------------------------
1 | package com.elsewhere;
2 |
3 | import android.app.Application;
4 |
5 | import com.facebook.react.ReactApplication;
6 | import com.reactnativecommunity.webview.RNCWebViewPackage;
7 | import com.rnfs.RNFSPackage;
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 RNCWebViewPackage(),
29 | new RNFSPackage()
30 | );
31 | }
32 |
33 | @Override
34 | protected String getJSMainModuleName() {
35 | return "index";
36 | }
37 | };
38 |
39 | @Override
40 | public ReactNativeHost getReactNativeHost() {
41 | return mReactNativeHost;
42 | }
43 |
44 | @Override
45 | public void onCreate() {
46 | super.onCreate();
47 | SoLoader.init(this, /* native exopackage */ false);
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cawfree/react-native-elsewhere/b41f6f0245bb01d782fde29c41e60bdbc42fd7f6/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cawfree/react-native-elsewhere/b41f6f0245bb01d782fde29c41e60bdbc42fd7f6/example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cawfree/react-native-elsewhere/b41f6f0245bb01d782fde29c41e60bdbc42fd7f6/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cawfree/react-native-elsewhere/b41f6f0245bb01d782fde29c41e60bdbc42fd7f6/example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cawfree/react-native-elsewhere/b41f6f0245bb01d782fde29c41e60bdbc42fd7f6/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cawfree/react-native-elsewhere/b41f6f0245bb01d782fde29c41e60bdbc42fd7f6/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cawfree/react-native-elsewhere/b41f6f0245bb01d782fde29c41e60bdbc42fd7f6/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cawfree/react-native-elsewhere/b41f6f0245bb01d782fde29c41e60bdbc42fd7f6/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cawfree/react-native-elsewhere/b41f6f0245bb01d782fde29c41e60bdbc42fd7f6/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cawfree/react-native-elsewhere/b41f6f0245bb01d782fde29c41e60bdbc42fd7f6/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/example/android/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | elsewhere
3 |
4 |
--------------------------------------------------------------------------------
/example/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/example/android/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | ext {
5 | buildToolsVersion = "28.0.3"
6 | minSdkVersion = 16
7 | compileSdkVersion = 28
8 | targetSdkVersion = 28
9 | supportLibVersion = "28.0.0"
10 | }
11 | repositories {
12 | google()
13 | jcenter()
14 | }
15 | dependencies {
16 | classpath 'com.android.tools.build:gradle:3.3.1'
17 |
18 | // NOTE: Do not place your application dependencies here; they belong
19 | // in the individual module build.gradle files
20 | }
21 | }
22 |
23 | allprojects {
24 | repositories {
25 | mavenLocal()
26 | google()
27 | jcenter()
28 | maven {
29 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
30 | url "$rootDir/../node_modules/react-native/android"
31 | }
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/example/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 |
--------------------------------------------------------------------------------
/example/android/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cawfree/react-native-elsewhere/b41f6f0245bb01d782fde29c41e60bdbc42fd7f6/example/android/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/example/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-4.10.2-all.zip
6 |
--------------------------------------------------------------------------------
/example/android/gradlew:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 |
3 | ##############################################################################
4 | ##
5 | ## Gradle start up script for UN*X
6 | ##
7 | ##############################################################################
8 |
9 | # Attempt to set APP_HOME
10 | # Resolve links: $0 may be a link
11 | PRG="$0"
12 | # Need this for relative symlinks.
13 | while [ -h "$PRG" ] ; do
14 | ls=`ls -ld "$PRG"`
15 | link=`expr "$ls" : '.*-> \(.*\)$'`
16 | if expr "$link" : '/.*' > /dev/null; then
17 | PRG="$link"
18 | else
19 | PRG=`dirname "$PRG"`"/$link"
20 | fi
21 | done
22 | SAVED="`pwd`"
23 | cd "`dirname \"$PRG\"`/" >/dev/null
24 | APP_HOME="`pwd -P`"
25 | cd "$SAVED" >/dev/null
26 |
27 | APP_NAME="Gradle"
28 | APP_BASE_NAME=`basename "$0"`
29 |
30 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
31 | DEFAULT_JVM_OPTS=""
32 |
33 | # Use the maximum available, or set MAX_FD != -1 to use that value.
34 | MAX_FD="maximum"
35 |
36 | warn () {
37 | echo "$*"
38 | }
39 |
40 | die () {
41 | echo
42 | echo "$*"
43 | echo
44 | exit 1
45 | }
46 |
47 | # OS specific support (must be 'true' or 'false').
48 | cygwin=false
49 | msys=false
50 | darwin=false
51 | nonstop=false
52 | case "`uname`" in
53 | CYGWIN* )
54 | cygwin=true
55 | ;;
56 | Darwin* )
57 | darwin=true
58 | ;;
59 | MINGW* )
60 | msys=true
61 | ;;
62 | NONSTOP* )
63 | nonstop=true
64 | ;;
65 | esac
66 |
67 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
68 |
69 | # Determine the Java command to use to start the JVM.
70 | if [ -n "$JAVA_HOME" ] ; then
71 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
72 | # IBM's JDK on AIX uses strange locations for the executables
73 | JAVACMD="$JAVA_HOME/jre/sh/java"
74 | else
75 | JAVACMD="$JAVA_HOME/bin/java"
76 | fi
77 | if [ ! -x "$JAVACMD" ] ; then
78 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
79 |
80 | Please set the JAVA_HOME variable in your environment to match the
81 | location of your Java installation."
82 | fi
83 | else
84 | JAVACMD="java"
85 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
86 |
87 | Please set the JAVA_HOME variable in your environment to match the
88 | location of your Java installation."
89 | fi
90 |
91 | # Increase the maximum file descriptors if we can.
92 | if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
93 | MAX_FD_LIMIT=`ulimit -H -n`
94 | if [ $? -eq 0 ] ; then
95 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
96 | MAX_FD="$MAX_FD_LIMIT"
97 | fi
98 | ulimit -n $MAX_FD
99 | if [ $? -ne 0 ] ; then
100 | warn "Could not set maximum file descriptor limit: $MAX_FD"
101 | fi
102 | else
103 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
104 | fi
105 | fi
106 |
107 | # For Darwin, add options to specify how the application appears in the dock
108 | if $darwin; then
109 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
110 | fi
111 |
112 | # For Cygwin, switch paths to Windows format before running java
113 | if $cygwin ; then
114 | APP_HOME=`cygpath --path --mixed "$APP_HOME"`
115 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
116 | JAVACMD=`cygpath --unix "$JAVACMD"`
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 | # Escape application args
158 | save () {
159 | for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
160 | echo " "
161 | }
162 | APP_ARGS=$(save "$@")
163 |
164 | # Collect all arguments for the java command, following the shell quoting and substitution rules
165 | eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
166 |
167 | # by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
168 | if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
169 | cd "$(dirname "$0")"
170 | fi
171 |
172 | exec "$JAVACMD" "$@"
173 |
--------------------------------------------------------------------------------
/example/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 | set DIRNAME=%~dp0
12 | if "%DIRNAME%" == "" set DIRNAME=.
13 | set APP_BASE_NAME=%~n0
14 | set APP_HOME=%DIRNAME%
15 |
16 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
17 | set DEFAULT_JVM_OPTS=
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 Windows variants
50 |
51 | if not "%OS%" == "Windows_NT" goto win9xME_args
52 |
53 | :win9xME_args
54 | @rem Slurp the command line arguments.
55 | set CMD_LINE_ARGS=
56 | set _SKIP=2
57 |
58 | :win9xME_args_slurp
59 | if "x%~1" == "x" goto execute
60 |
61 | set CMD_LINE_ARGS=%*
62 |
63 | :execute
64 | @rem Setup the command line
65 |
66 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
67 |
68 | @rem Execute Gradle
69 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
70 |
71 | :end
72 | @rem End local scope for the variables with windows NT shell
73 | if "%ERRORLEVEL%"=="0" goto mainEnd
74 |
75 | :fail
76 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
77 | rem the _cmd.exe /c_ return code!
78 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
79 | exit /b 1
80 |
81 | :mainEnd
82 | if "%OS%"=="Windows_NT" endlocal
83 |
84 | :omega
85 |
--------------------------------------------------------------------------------
/example/android/keystores/BUCK:
--------------------------------------------------------------------------------
1 | keystore(
2 | name = "debug",
3 | properties = "debug.keystore.properties",
4 | store = "debug.keystore",
5 | visibility = [
6 | "PUBLIC",
7 | ],
8 | )
9 |
--------------------------------------------------------------------------------
/example/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 |
--------------------------------------------------------------------------------
/example/android/settings.gradle:
--------------------------------------------------------------------------------
1 | rootProject.name = 'elsewhere'
2 | include ':react-native-webview'
3 | project(':react-native-webview').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-webview/android')
4 | include ':react-native-fs'
5 | project(':react-native-fs').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-fs/android')
6 |
7 | include ':app'
8 |
--------------------------------------------------------------------------------
/example/app.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "elsewhere",
3 | "displayName": "elsewhere"
4 | }
--------------------------------------------------------------------------------
/example/babel.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | presets: ['module:metro-react-native-babel-preset'],
3 | };
4 |
--------------------------------------------------------------------------------
/example/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @format
3 | */
4 |
5 | import {AppRegistry} from 'react-native';
6 | import App from './App';
7 | import {name as appName} from './app.json';
8 |
9 | AppRegistry.registerComponent(appName, () => App);
10 |
--------------------------------------------------------------------------------
/example/ios/elsewhere-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 |
--------------------------------------------------------------------------------
/example/ios/elsewhere-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 |
--------------------------------------------------------------------------------
/example/ios/elsewhere.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 | /* Begin PBXBuildFile section */
9 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; };
10 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */; };
11 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */; };
12 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */; };
13 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */; };
14 | 00E356F31AD99517003FC87E /* elsewhereTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* elsewhereTests.m */; };
15 | 11D1A2F320CAFA9E000508D9 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; };
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 | 19FC99B0F7ED4A669174F7B2 /* libRNFS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 0E7D9742DA5442F9BB22E504 /* libRNFS.a */; };
26 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
27 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
28 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
29 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */; };
30 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */; };
31 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */; };
32 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */; };
33 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */; };
34 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */; };
35 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */; };
36 | 2D16E6881FA4F8E400B85C8A /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2D16E6891FA4F8E400B85C8A /* libReact.a */; };
37 | 2DCD954D1E0B4F2C00145EB5 /* elsewhereTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* elsewhereTests.m */; };
38 | 2DF0FFEE2056DD460020B375 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact.a */; };
39 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; };
40 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */; };
41 | ED297163215061F000B7C4FE /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = ED297162215061F000B7C4FE /* JavaScriptCore.framework */; };
42 | ED2971652150620600B7C4FE /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = ED2971642150620600B7C4FE /* JavaScriptCore.framework */; };
43 | DD42B5344BFE45F99D44EA32 /* libRNCWebView.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 0F4E1E7BDC08418E80B81F9F /* libRNCWebView.a */; };
44 | /* End PBXBuildFile section */
45 |
46 | /* Begin PBXContainerItemProxy section */
47 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = {
48 | isa = PBXContainerItemProxy;
49 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */;
50 | proxyType = 2;
51 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
52 | remoteInfo = RCTActionSheet;
53 | };
54 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = {
55 | isa = PBXContainerItemProxy;
56 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */;
57 | proxyType = 2;
58 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
59 | remoteInfo = RCTGeolocation;
60 | };
61 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = {
62 | isa = PBXContainerItemProxy;
63 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
64 | proxyType = 2;
65 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676;
66 | remoteInfo = RCTImage;
67 | };
68 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = {
69 | isa = PBXContainerItemProxy;
70 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
71 | proxyType = 2;
72 | remoteGlobalIDString = 58B511DB1A9E6C8500147676;
73 | remoteInfo = RCTNetwork;
74 | };
75 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = {
76 | isa = PBXContainerItemProxy;
77 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */;
78 | proxyType = 2;
79 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7;
80 | remoteInfo = RCTVibration;
81 | };
82 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = {
83 | isa = PBXContainerItemProxy;
84 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
85 | proxyType = 1;
86 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A;
87 | remoteInfo = elsewhere;
88 | };
89 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = {
90 | isa = PBXContainerItemProxy;
91 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
92 | proxyType = 2;
93 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
94 | remoteInfo = RCTSettings;
95 | };
96 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = {
97 | isa = PBXContainerItemProxy;
98 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
99 | proxyType = 2;
100 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A;
101 | remoteInfo = RCTWebSocket;
102 | };
103 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = {
104 | isa = PBXContainerItemProxy;
105 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
106 | proxyType = 2;
107 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192;
108 | remoteInfo = React;
109 | };
110 | 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = {
111 | isa = PBXContainerItemProxy;
112 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
113 | proxyType = 1;
114 | remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7;
115 | remoteInfo = "elsewhere-tvOS";
116 | };
117 | 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */ = {
118 | isa = PBXContainerItemProxy;
119 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */;
120 | proxyType = 2;
121 | remoteGlobalIDString = ADD01A681E09402E00F6D226;
122 | remoteInfo = "RCTBlob-tvOS";
123 | };
124 | 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */ = {
125 | isa = PBXContainerItemProxy;
126 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
127 | proxyType = 2;
128 | remoteGlobalIDString = 3DBE0D001F3B181A0099AA32;
129 | remoteInfo = fishhook;
130 | };
131 | 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */ = {
132 | isa = PBXContainerItemProxy;
133 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
134 | proxyType = 2;
135 | remoteGlobalIDString = 3DBE0D0D1F3B181C0099AA32;
136 | remoteInfo = "fishhook-tvOS";
137 | };
138 | 2DF0FFDE2056DD460020B375 /* PBXContainerItemProxy */ = {
139 | isa = PBXContainerItemProxy;
140 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
141 | proxyType = 2;
142 | remoteGlobalIDString = EBF21BDC1FC498900052F4D5;
143 | remoteInfo = jsinspector;
144 | };
145 | 2DF0FFE02056DD460020B375 /* PBXContainerItemProxy */ = {
146 | isa = PBXContainerItemProxy;
147 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
148 | proxyType = 2;
149 | remoteGlobalIDString = EBF21BFA1FC4989A0052F4D5;
150 | remoteInfo = "jsinspector-tvOS";
151 | };
152 | 2DF0FFE22056DD460020B375 /* PBXContainerItemProxy */ = {
153 | isa = PBXContainerItemProxy;
154 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
155 | proxyType = 2;
156 | remoteGlobalIDString = 139D7ECE1E25DB7D00323FB7;
157 | remoteInfo = "third-party";
158 | };
159 | 2DF0FFE42056DD460020B375 /* PBXContainerItemProxy */ = {
160 | isa = PBXContainerItemProxy;
161 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
162 | proxyType = 2;
163 | remoteGlobalIDString = 3D383D3C1EBD27B6005632C8;
164 | remoteInfo = "third-party-tvOS";
165 | };
166 | 2DF0FFE62056DD460020B375 /* PBXContainerItemProxy */ = {
167 | isa = PBXContainerItemProxy;
168 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
169 | proxyType = 2;
170 | remoteGlobalIDString = 139D7E881E25C6D100323FB7;
171 | remoteInfo = "double-conversion";
172 | };
173 | 2DF0FFE82056DD460020B375 /* PBXContainerItemProxy */ = {
174 | isa = PBXContainerItemProxy;
175 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
176 | proxyType = 2;
177 | remoteGlobalIDString = 3D383D621EBD27B9005632C8;
178 | remoteInfo = "double-conversion-tvOS";
179 | };
180 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = {
181 | isa = PBXContainerItemProxy;
182 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
183 | proxyType = 2;
184 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D;
185 | remoteInfo = "RCTImage-tvOS";
186 | };
187 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = {
188 | isa = PBXContainerItemProxy;
189 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
190 | proxyType = 2;
191 | remoteGlobalIDString = 2D2A28471D9B043800D4039D;
192 | remoteInfo = "RCTLinking-tvOS";
193 | };
194 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
195 | isa = PBXContainerItemProxy;
196 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
197 | proxyType = 2;
198 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D;
199 | remoteInfo = "RCTNetwork-tvOS";
200 | };
201 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
202 | isa = PBXContainerItemProxy;
203 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
204 | proxyType = 2;
205 | remoteGlobalIDString = 2D2A28611D9B046600D4039D;
206 | remoteInfo = "RCTSettings-tvOS";
207 | };
208 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = {
209 | isa = PBXContainerItemProxy;
210 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
211 | proxyType = 2;
212 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D;
213 | remoteInfo = "RCTText-tvOS";
214 | };
215 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = {
216 | isa = PBXContainerItemProxy;
217 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
218 | proxyType = 2;
219 | remoteGlobalIDString = 2D2A28881D9B049200D4039D;
220 | remoteInfo = "RCTWebSocket-tvOS";
221 | };
222 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = {
223 | isa = PBXContainerItemProxy;
224 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
225 | proxyType = 2;
226 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D;
227 | remoteInfo = "React-tvOS";
228 | };
229 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = {
230 | isa = PBXContainerItemProxy;
231 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
232 | proxyType = 2;
233 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA;
234 | remoteInfo = yoga;
235 | };
236 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = {
237 | isa = PBXContainerItemProxy;
238 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
239 | proxyType = 2;
240 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA;
241 | remoteInfo = "yoga-tvOS";
242 | };
243 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = {
244 | isa = PBXContainerItemProxy;
245 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
246 | proxyType = 2;
247 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4;
248 | remoteInfo = cxxreact;
249 | };
250 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
251 | isa = PBXContainerItemProxy;
252 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
253 | proxyType = 2;
254 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4;
255 | remoteInfo = "cxxreact-tvOS";
256 | };
257 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = {
258 | isa = PBXContainerItemProxy;
259 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
260 | proxyType = 2;
261 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
262 | remoteInfo = RCTAnimation;
263 | };
264 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = {
265 | isa = PBXContainerItemProxy;
266 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
267 | proxyType = 2;
268 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D;
269 | remoteInfo = "RCTAnimation-tvOS";
270 | };
271 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = {
272 | isa = PBXContainerItemProxy;
273 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
274 | proxyType = 2;
275 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
276 | remoteInfo = RCTLinking;
277 | };
278 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = {
279 | isa = PBXContainerItemProxy;
280 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
281 | proxyType = 2;
282 | remoteGlobalIDString = 58B5119B1A9E6C1200147676;
283 | remoteInfo = RCTText;
284 | };
285 | ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */ = {
286 | isa = PBXContainerItemProxy;
287 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */;
288 | proxyType = 2;
289 | remoteGlobalIDString = 358F4ED71D1E81A9004DF814;
290 | remoteInfo = RCTBlob;
291 | };
292 | C0E6280D22FE577700D017EF /* PBXContainerItemProxy */ = {
293 | isa = PBXContainerItemProxy;
294 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
295 | proxyType = 2;
296 | remoteGlobalIDString = EDEBC6D6214B3E7000DD5AC8;
297 | remoteInfo = jsi;
298 | };
299 | C0E6280F22FE577700D017EF /* PBXContainerItemProxy */ = {
300 | isa = PBXContainerItemProxy;
301 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
302 | proxyType = 2;
303 | remoteGlobalIDString = EDEBC73B214B45A300DD5AC8;
304 | remoteInfo = jsiexecutor;
305 | };
306 | C0E6281122FE577700D017EF /* PBXContainerItemProxy */ = {
307 | isa = PBXContainerItemProxy;
308 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
309 | proxyType = 2;
310 | remoteGlobalIDString = ED296FB6214C9A0900B7C4FE;
311 | remoteInfo = "jsi-tvOS";
312 | };
313 | C0E6281322FE577700D017EF /* PBXContainerItemProxy */ = {
314 | isa = PBXContainerItemProxy;
315 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
316 | proxyType = 2;
317 | remoteGlobalIDString = ED296FEE214C9CF800B7C4FE;
318 | remoteInfo = "jsiexecutor-tvOS";
319 | };
320 | C0E6281922FE577700D017EF /* PBXContainerItemProxy */ = {
321 | isa = PBXContainerItemProxy;
322 | containerPortal = A3C959EF82364A8CAA280503 /* RNFS.xcodeproj */;
323 | proxyType = 2;
324 | remoteGlobalIDString = F12AFB9B1ADAF8F800E0535D;
325 | remoteInfo = RNFS;
326 | };
327 | C0E6281B22FE577700D017EF /* PBXContainerItemProxy */ = {
328 | isa = PBXContainerItemProxy;
329 | containerPortal = A3C959EF82364A8CAA280503 /* RNFS.xcodeproj */;
330 | proxyType = 2;
331 | remoteGlobalIDString = 6456441F1EB8DA9100672408;
332 | remoteInfo = "RNFS-tvOS";
333 | };
334 | /* End PBXContainerItemProxy section */
335 |
336 | /* Begin PBXFileReference section */
337 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; };
338 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; };
339 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; };
340 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; };
341 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; };
342 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; };
343 | 00E356EE1AD99517003FC87E /* elsewhereTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = elsewhereTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
344 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
345 | 00E356F21AD99517003FC87E /* elsewhereTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = elsewhereTests.m; sourceTree = ""; };
346 | 0E7D9742DA5442F9BB22E504 /* libRNFS.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNFS.a; sourceTree = ""; };
347 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; };
348 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; };
349 | 13B07F961A680F5B00A75B9A /* elsewhere.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = elsewhere.app; sourceTree = BUILT_PRODUCTS_DIR; };
350 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = elsewhere/AppDelegate.h; sourceTree = ""; };
351 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = elsewhere/AppDelegate.m; sourceTree = ""; };
352 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; };
353 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = elsewhere/Images.xcassets; sourceTree = ""; };
354 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = elsewhere/Info.plist; sourceTree = ""; };
355 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = elsewhere/main.m; sourceTree = ""; };
356 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; };
357 | 2D02E47B1E0B4A5D006451C7 /* elsewhere-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "elsewhere-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; };
358 | 2D02E4901E0B4A5D006451C7 /* elsewhere-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "elsewhere-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
359 | 2D16E6891FA4F8E400B85C8A /* libReact.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libReact.a; sourceTree = BUILT_PRODUCTS_DIR; };
360 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; };
361 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; };
362 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; };
363 | A3C959EF82364A8CAA280503 /* 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 = ""; };
364 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTBlob.xcodeproj; path = "../node_modules/react-native/Libraries/Blob/RCTBlob.xcodeproj"; sourceTree = ""; };
365 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
366 | ED2971642150620600B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS12.0.sdk/System/Library/Frameworks/JavaScriptCore.framework; sourceTree = DEVELOPER_DIR; };
367 | 677740F688A6463287BB6E67 /* RNCWebView.xcodeproj */ = {isa = PBXFileReference; name = "RNCWebView.xcodeproj"; path = "../node_modules/react-native-webview/ios/RNCWebView.xcodeproj"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = wrapper.pb-project; explicitFileType = undefined; includeInIndex = 0; };
368 | 0F4E1E7BDC08418E80B81F9F /* libRNCWebView.a */ = {isa = PBXFileReference; name = "libRNCWebView.a"; path = "libRNCWebView.a"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = archive.ar; explicitFileType = undefined; includeInIndex = 0; };
369 | /* End PBXFileReference section */
370 |
371 | /* Begin PBXFrameworksBuildPhase section */
372 | 00E356EB1AD99517003FC87E /* Frameworks */ = {
373 | isa = PBXFrameworksBuildPhase;
374 | buildActionMask = 2147483647;
375 | files = (
376 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */,
377 | );
378 | runOnlyForDeploymentPostprocessing = 0;
379 | };
380 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = {
381 | isa = PBXFrameworksBuildPhase;
382 | buildActionMask = 2147483647;
383 | files = (
384 | ED297163215061F000B7C4FE /* JavaScriptCore.framework in Frameworks */,
385 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */,
386 | 11D1A2F320CAFA9E000508D9 /* libRCTAnimation.a in Frameworks */,
387 | 146834051AC3E58100842450 /* libReact.a in Frameworks */,
388 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */,
389 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */,
390 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */,
391 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */,
392 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */,
393 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */,
394 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */,
395 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */,
396 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */,
397 | 19FC99B0F7ED4A669174F7B2 /* libRNFS.a in Frameworks */,
398 | DD42B5344BFE45F99D44EA32 /* libRNCWebView.a in Frameworks */,
399 | );
400 | runOnlyForDeploymentPostprocessing = 0;
401 | };
402 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = {
403 | isa = PBXFrameworksBuildPhase;
404 | buildActionMask = 2147483647;
405 | files = (
406 | ED2971652150620600B7C4FE /* JavaScriptCore.framework in Frameworks */,
407 | 2D16E6881FA4F8E400B85C8A /* libReact.a in Frameworks */,
408 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */,
409 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */,
410 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */,
411 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */,
412 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */,
413 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */,
414 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */,
415 | );
416 | runOnlyForDeploymentPostprocessing = 0;
417 | };
418 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = {
419 | isa = PBXFrameworksBuildPhase;
420 | buildActionMask = 2147483647;
421 | files = (
422 | 2DF0FFEE2056DD460020B375 /* libReact.a in Frameworks */,
423 | );
424 | runOnlyForDeploymentPostprocessing = 0;
425 | };
426 | /* End PBXFrameworksBuildPhase section */
427 |
428 | /* Begin PBXGroup section */
429 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = {
430 | isa = PBXGroup;
431 | children = (
432 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */,
433 | );
434 | name = Products;
435 | sourceTree = "";
436 | };
437 | 00C302B61ABCB90400DB3ED1 /* Products */ = {
438 | isa = PBXGroup;
439 | children = (
440 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */,
441 | );
442 | name = Products;
443 | sourceTree = "";
444 | };
445 | 00C302BC1ABCB91800DB3ED1 /* Products */ = {
446 | isa = PBXGroup;
447 | children = (
448 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */,
449 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */,
450 | );
451 | name = Products;
452 | sourceTree = "";
453 | };
454 | 00C302D41ABCB9D200DB3ED1 /* Products */ = {
455 | isa = PBXGroup;
456 | children = (
457 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */,
458 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */,
459 | );
460 | name = Products;
461 | sourceTree = "";
462 | };
463 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = {
464 | isa = PBXGroup;
465 | children = (
466 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */,
467 | );
468 | name = Products;
469 | sourceTree = "";
470 | };
471 | 00E356EF1AD99517003FC87E /* elsewhereTests */ = {
472 | isa = PBXGroup;
473 | children = (
474 | 00E356F21AD99517003FC87E /* elsewhereTests.m */,
475 | 00E356F01AD99517003FC87E /* Supporting Files */,
476 | );
477 | path = elsewhereTests;
478 | sourceTree = "";
479 | };
480 | 00E356F01AD99517003FC87E /* Supporting Files */ = {
481 | isa = PBXGroup;
482 | children = (
483 | 00E356F11AD99517003FC87E /* Info.plist */,
484 | );
485 | name = "Supporting Files";
486 | sourceTree = "";
487 | };
488 | 139105B71AF99BAD00B5F7CC /* Products */ = {
489 | isa = PBXGroup;
490 | children = (
491 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */,
492 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */,
493 | );
494 | name = Products;
495 | sourceTree = "";
496 | };
497 | 139FDEE71B06529A00C62182 /* Products */ = {
498 | isa = PBXGroup;
499 | children = (
500 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */,
501 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */,
502 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */,
503 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */,
504 | );
505 | name = Products;
506 | sourceTree = "";
507 | };
508 | 13B07FAE1A68108700A75B9A /* elsewhere */ = {
509 | isa = PBXGroup;
510 | children = (
511 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */,
512 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */,
513 | 13B07FB01A68108700A75B9A /* AppDelegate.m */,
514 | 13B07FB51A68108700A75B9A /* Images.xcassets */,
515 | 13B07FB61A68108700A75B9A /* Info.plist */,
516 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */,
517 | 13B07FB71A68108700A75B9A /* main.m */,
518 | );
519 | name = elsewhere;
520 | sourceTree = "";
521 | };
522 | 146834001AC3E56700842450 /* Products */ = {
523 | isa = PBXGroup;
524 | children = (
525 | 146834041AC3E56700842450 /* libReact.a */,
526 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */,
527 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */,
528 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */,
529 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */,
530 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */,
531 | 2DF0FFDF2056DD460020B375 /* libjsinspector.a */,
532 | 2DF0FFE12056DD460020B375 /* libjsinspector-tvOS.a */,
533 | 2DF0FFE32056DD460020B375 /* libthird-party.a */,
534 | 2DF0FFE52056DD460020B375 /* libthird-party.a */,
535 | 2DF0FFE72056DD460020B375 /* libdouble-conversion.a */,
536 | 2DF0FFE92056DD460020B375 /* libdouble-conversion.a */,
537 | C0E6280E22FE577700D017EF /* libjsi.a */,
538 | C0E6281022FE577700D017EF /* libjsiexecutor.a */,
539 | C0E6281222FE577700D017EF /* libjsi-tvOS.a */,
540 | C0E6281422FE577700D017EF /* libjsiexecutor-tvOS.a */,
541 | );
542 | name = Products;
543 | sourceTree = "";
544 | };
545 | 2D16E6871FA4F8E400B85C8A /* Frameworks */ = {
546 | isa = PBXGroup;
547 | children = (
548 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
549 | ED2971642150620600B7C4FE /* JavaScriptCore.framework */,
550 | 2D16E6891FA4F8E400B85C8A /* libReact.a */,
551 | );
552 | name = Frameworks;
553 | sourceTree = "";
554 | };
555 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = {
556 | isa = PBXGroup;
557 | children = (
558 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */,
559 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */,
560 | );
561 | name = Products;
562 | sourceTree = "";
563 | };
564 | 78C398B11ACF4ADC00677621 /* Products */ = {
565 | isa = PBXGroup;
566 | children = (
567 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */,
568 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */,
569 | );
570 | name = Products;
571 | sourceTree = "";
572 | };
573 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = {
574 | isa = PBXGroup;
575 | children = (
576 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */,
577 | 146833FF1AC3E56700842450 /* React.xcodeproj */,
578 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */,
579 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */,
580 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */,
581 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */,
582 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */,
583 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */,
584 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */,
585 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */,
586 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */,
587 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */,
588 | A3C959EF82364A8CAA280503 /* RNFS.xcodeproj */,
589 | 677740F688A6463287BB6E67 /* RNCWebView.xcodeproj */,
590 | );
591 | name = Libraries;
592 | sourceTree = "";
593 | };
594 | 832341B11AAA6A8300B99B32 /* Products */ = {
595 | isa = PBXGroup;
596 | children = (
597 | 832341B51AAA6A8300B99B32 /* libRCTText.a */,
598 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */,
599 | );
600 | name = Products;
601 | sourceTree = "";
602 | };
603 | 83CBB9F61A601CBA00E9B192 = {
604 | isa = PBXGroup;
605 | children = (
606 | 13B07FAE1A68108700A75B9A /* elsewhere */,
607 | 832341AE1AAA6A7D00B99B32 /* Libraries */,
608 | 00E356EF1AD99517003FC87E /* elsewhereTests */,
609 | 83CBBA001A601CBA00E9B192 /* Products */,
610 | 2D16E6871FA4F8E400B85C8A /* Frameworks */,
611 | C0E627E722FE577600D017EF /* Recovered References */,
612 | );
613 | indentWidth = 2;
614 | sourceTree = "";
615 | tabWidth = 2;
616 | usesTabs = 0;
617 | };
618 | 83CBBA001A601CBA00E9B192 /* Products */ = {
619 | isa = PBXGroup;
620 | children = (
621 | 13B07F961A680F5B00A75B9A /* elsewhere.app */,
622 | 00E356EE1AD99517003FC87E /* elsewhereTests.xctest */,
623 | 2D02E47B1E0B4A5D006451C7 /* elsewhere-tvOS.app */,
624 | 2D02E4901E0B4A5D006451C7 /* elsewhere-tvOSTests.xctest */,
625 | );
626 | name = Products;
627 | sourceTree = "";
628 | };
629 | ADBDB9201DFEBF0600ED6528 /* Products */ = {
630 | isa = PBXGroup;
631 | children = (
632 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */,
633 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */,
634 | );
635 | name = Products;
636 | sourceTree = "";
637 | };
638 | C0E627E722FE577600D017EF /* Recovered References */ = {
639 | isa = PBXGroup;
640 | children = (
641 | 0E7D9742DA5442F9BB22E504 /* libRNFS.a */,
642 | );
643 | name = "Recovered References";
644 | sourceTree = "";
645 | };
646 | C0E6281522FE577700D017EF /* Products */ = {
647 | isa = PBXGroup;
648 | children = (
649 | C0E6281A22FE577700D017EF /* libRNFS.a */,
650 | C0E6281C22FE577700D017EF /* libRNFS.a */,
651 | );
652 | name = Products;
653 | sourceTree = "";
654 | };
655 | /* End PBXGroup section */
656 |
657 | /* Begin PBXNativeTarget section */
658 | 00E356ED1AD99517003FC87E /* elsewhereTests */ = {
659 | isa = PBXNativeTarget;
660 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "elsewhereTests" */;
661 | buildPhases = (
662 | 00E356EA1AD99517003FC87E /* Sources */,
663 | 00E356EB1AD99517003FC87E /* Frameworks */,
664 | 00E356EC1AD99517003FC87E /* Resources */,
665 | );
666 | buildRules = (
667 | );
668 | dependencies = (
669 | 00E356F51AD99517003FC87E /* PBXTargetDependency */,
670 | );
671 | name = elsewhereTests;
672 | productName = elsewhereTests;
673 | productReference = 00E356EE1AD99517003FC87E /* elsewhereTests.xctest */;
674 | productType = "com.apple.product-type.bundle.unit-test";
675 | };
676 | 13B07F861A680F5B00A75B9A /* elsewhere */ = {
677 | isa = PBXNativeTarget;
678 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "elsewhere" */;
679 | buildPhases = (
680 | 13B07F871A680F5B00A75B9A /* Sources */,
681 | 13B07F8C1A680F5B00A75B9A /* Frameworks */,
682 | 13B07F8E1A680F5B00A75B9A /* Resources */,
683 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
684 | );
685 | buildRules = (
686 | );
687 | dependencies = (
688 | );
689 | name = elsewhere;
690 | productName = "Hello World";
691 | productReference = 13B07F961A680F5B00A75B9A /* elsewhere.app */;
692 | productType = "com.apple.product-type.application";
693 | };
694 | 2D02E47A1E0B4A5D006451C7 /* elsewhere-tvOS */ = {
695 | isa = PBXNativeTarget;
696 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "elsewhere-tvOS" */;
697 | buildPhases = (
698 | 2D02E4771E0B4A5D006451C7 /* Sources */,
699 | 2D02E4781E0B4A5D006451C7 /* Frameworks */,
700 | 2D02E4791E0B4A5D006451C7 /* Resources */,
701 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */,
702 | );
703 | buildRules = (
704 | );
705 | dependencies = (
706 | );
707 | name = "elsewhere-tvOS";
708 | productName = "elsewhere-tvOS";
709 | productReference = 2D02E47B1E0B4A5D006451C7 /* elsewhere-tvOS.app */;
710 | productType = "com.apple.product-type.application";
711 | };
712 | 2D02E48F1E0B4A5D006451C7 /* elsewhere-tvOSTests */ = {
713 | isa = PBXNativeTarget;
714 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "elsewhere-tvOSTests" */;
715 | buildPhases = (
716 | 2D02E48C1E0B4A5D006451C7 /* Sources */,
717 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */,
718 | 2D02E48E1E0B4A5D006451C7 /* Resources */,
719 | );
720 | buildRules = (
721 | );
722 | dependencies = (
723 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */,
724 | );
725 | name = "elsewhere-tvOSTests";
726 | productName = "elsewhere-tvOSTests";
727 | productReference = 2D02E4901E0B4A5D006451C7 /* elsewhere-tvOSTests.xctest */;
728 | productType = "com.apple.product-type.bundle.unit-test";
729 | };
730 | /* End PBXNativeTarget section */
731 |
732 | /* Begin PBXProject section */
733 | 83CBB9F71A601CBA00E9B192 /* Project object */ = {
734 | isa = PBXProject;
735 | attributes = {
736 | LastUpgradeCheck = 940;
737 | ORGANIZATIONNAME = Facebook;
738 | TargetAttributes = {
739 | 00E356ED1AD99517003FC87E = {
740 | CreatedOnToolsVersion = 6.2;
741 | TestTargetID = 13B07F861A680F5B00A75B9A;
742 | };
743 | 2D02E47A1E0B4A5D006451C7 = {
744 | CreatedOnToolsVersion = 8.2.1;
745 | ProvisioningStyle = Automatic;
746 | };
747 | 2D02E48F1E0B4A5D006451C7 = {
748 | CreatedOnToolsVersion = 8.2.1;
749 | ProvisioningStyle = Automatic;
750 | TestTargetID = 2D02E47A1E0B4A5D006451C7;
751 | };
752 | };
753 | };
754 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "elsewhere" */;
755 | compatibilityVersion = "Xcode 3.2";
756 | developmentRegion = English;
757 | hasScannedForEncodings = 0;
758 | knownRegions = (
759 | en,
760 | Base,
761 | );
762 | mainGroup = 83CBB9F61A601CBA00E9B192;
763 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */;
764 | projectDirPath = "";
765 | projectReferences = (
766 | {
767 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */;
768 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */;
769 | },
770 | {
771 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */;
772 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
773 | },
774 | {
775 | ProductGroup = ADBDB9201DFEBF0600ED6528 /* Products */;
776 | ProjectRef = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */;
777 | },
778 | {
779 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */;
780 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */;
781 | },
782 | {
783 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */;
784 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
785 | },
786 | {
787 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */;
788 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
789 | },
790 | {
791 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */;
792 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
793 | },
794 | {
795 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */;
796 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
797 | },
798 | {
799 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */;
800 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
801 | },
802 | {
803 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */;
804 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */;
805 | },
806 | {
807 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */;
808 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
809 | },
810 | {
811 | ProductGroup = 146834001AC3E56700842450 /* Products */;
812 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */;
813 | },
814 | {
815 | ProductGroup = C0E6281522FE577700D017EF /* Products */;
816 | ProjectRef = A3C959EF82364A8CAA280503 /* RNFS.xcodeproj */;
817 | },
818 | );
819 | projectRoot = "";
820 | targets = (
821 | 13B07F861A680F5B00A75B9A /* elsewhere */,
822 | 00E356ED1AD99517003FC87E /* elsewhereTests */,
823 | 2D02E47A1E0B4A5D006451C7 /* elsewhere-tvOS */,
824 | 2D02E48F1E0B4A5D006451C7 /* elsewhere-tvOSTests */,
825 | );
826 | };
827 | /* End PBXProject section */
828 |
829 | /* Begin PBXReferenceProxy section */
830 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = {
831 | isa = PBXReferenceProxy;
832 | fileType = archive.ar;
833 | path = libRCTActionSheet.a;
834 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */;
835 | sourceTree = BUILT_PRODUCTS_DIR;
836 | };
837 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = {
838 | isa = PBXReferenceProxy;
839 | fileType = archive.ar;
840 | path = libRCTGeolocation.a;
841 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */;
842 | sourceTree = BUILT_PRODUCTS_DIR;
843 | };
844 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = {
845 | isa = PBXReferenceProxy;
846 | fileType = archive.ar;
847 | path = libRCTImage.a;
848 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */;
849 | sourceTree = BUILT_PRODUCTS_DIR;
850 | };
851 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = {
852 | isa = PBXReferenceProxy;
853 | fileType = archive.ar;
854 | path = libRCTNetwork.a;
855 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */;
856 | sourceTree = BUILT_PRODUCTS_DIR;
857 | };
858 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = {
859 | isa = PBXReferenceProxy;
860 | fileType = archive.ar;
861 | path = libRCTVibration.a;
862 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */;
863 | sourceTree = BUILT_PRODUCTS_DIR;
864 | };
865 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = {
866 | isa = PBXReferenceProxy;
867 | fileType = archive.ar;
868 | path = libRCTSettings.a;
869 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */;
870 | sourceTree = BUILT_PRODUCTS_DIR;
871 | };
872 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = {
873 | isa = PBXReferenceProxy;
874 | fileType = archive.ar;
875 | path = libRCTWebSocket.a;
876 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */;
877 | sourceTree = BUILT_PRODUCTS_DIR;
878 | };
879 | 146834041AC3E56700842450 /* libReact.a */ = {
880 | isa = PBXReferenceProxy;
881 | fileType = archive.ar;
882 | path = libReact.a;
883 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */;
884 | sourceTree = BUILT_PRODUCTS_DIR;
885 | };
886 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */ = {
887 | isa = PBXReferenceProxy;
888 | fileType = archive.ar;
889 | path = "libRCTBlob-tvOS.a";
890 | remoteRef = 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */;
891 | sourceTree = BUILT_PRODUCTS_DIR;
892 | };
893 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */ = {
894 | isa = PBXReferenceProxy;
895 | fileType = archive.ar;
896 | path = libfishhook.a;
897 | remoteRef = 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */;
898 | sourceTree = BUILT_PRODUCTS_DIR;
899 | };
900 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */ = {
901 | isa = PBXReferenceProxy;
902 | fileType = archive.ar;
903 | path = "libfishhook-tvOS.a";
904 | remoteRef = 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */;
905 | sourceTree = BUILT_PRODUCTS_DIR;
906 | };
907 | 2DF0FFDF2056DD460020B375 /* libjsinspector.a */ = {
908 | isa = PBXReferenceProxy;
909 | fileType = archive.ar;
910 | path = libjsinspector.a;
911 | remoteRef = 2DF0FFDE2056DD460020B375 /* PBXContainerItemProxy */;
912 | sourceTree = BUILT_PRODUCTS_DIR;
913 | };
914 | 2DF0FFE12056DD460020B375 /* libjsinspector-tvOS.a */ = {
915 | isa = PBXReferenceProxy;
916 | fileType = archive.ar;
917 | path = "libjsinspector-tvOS.a";
918 | remoteRef = 2DF0FFE02056DD460020B375 /* PBXContainerItemProxy */;
919 | sourceTree = BUILT_PRODUCTS_DIR;
920 | };
921 | 2DF0FFE32056DD460020B375 /* libthird-party.a */ = {
922 | isa = PBXReferenceProxy;
923 | fileType = archive.ar;
924 | path = "libthird-party.a";
925 | remoteRef = 2DF0FFE22056DD460020B375 /* PBXContainerItemProxy */;
926 | sourceTree = BUILT_PRODUCTS_DIR;
927 | };
928 | 2DF0FFE52056DD460020B375 /* libthird-party.a */ = {
929 | isa = PBXReferenceProxy;
930 | fileType = archive.ar;
931 | path = "libthird-party.a";
932 | remoteRef = 2DF0FFE42056DD460020B375 /* PBXContainerItemProxy */;
933 | sourceTree = BUILT_PRODUCTS_DIR;
934 | };
935 | 2DF0FFE72056DD460020B375 /* libdouble-conversion.a */ = {
936 | isa = PBXReferenceProxy;
937 | fileType = archive.ar;
938 | path = "libdouble-conversion.a";
939 | remoteRef = 2DF0FFE62056DD460020B375 /* PBXContainerItemProxy */;
940 | sourceTree = BUILT_PRODUCTS_DIR;
941 | };
942 | 2DF0FFE92056DD460020B375 /* libdouble-conversion.a */ = {
943 | isa = PBXReferenceProxy;
944 | fileType = archive.ar;
945 | path = "libdouble-conversion.a";
946 | remoteRef = 2DF0FFE82056DD460020B375 /* PBXContainerItemProxy */;
947 | sourceTree = BUILT_PRODUCTS_DIR;
948 | };
949 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = {
950 | isa = PBXReferenceProxy;
951 | fileType = archive.ar;
952 | path = "libRCTImage-tvOS.a";
953 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */;
954 | sourceTree = BUILT_PRODUCTS_DIR;
955 | };
956 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = {
957 | isa = PBXReferenceProxy;
958 | fileType = archive.ar;
959 | path = "libRCTLinking-tvOS.a";
960 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */;
961 | sourceTree = BUILT_PRODUCTS_DIR;
962 | };
963 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = {
964 | isa = PBXReferenceProxy;
965 | fileType = archive.ar;
966 | path = "libRCTNetwork-tvOS.a";
967 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */;
968 | sourceTree = BUILT_PRODUCTS_DIR;
969 | };
970 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = {
971 | isa = PBXReferenceProxy;
972 | fileType = archive.ar;
973 | path = "libRCTSettings-tvOS.a";
974 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */;
975 | sourceTree = BUILT_PRODUCTS_DIR;
976 | };
977 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = {
978 | isa = PBXReferenceProxy;
979 | fileType = archive.ar;
980 | path = "libRCTText-tvOS.a";
981 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */;
982 | sourceTree = BUILT_PRODUCTS_DIR;
983 | };
984 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = {
985 | isa = PBXReferenceProxy;
986 | fileType = archive.ar;
987 | path = "libRCTWebSocket-tvOS.a";
988 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */;
989 | sourceTree = BUILT_PRODUCTS_DIR;
990 | };
991 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */ = {
992 | isa = PBXReferenceProxy;
993 | fileType = archive.ar;
994 | path = libReact.a;
995 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */;
996 | sourceTree = BUILT_PRODUCTS_DIR;
997 | };
998 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = {
999 | isa = PBXReferenceProxy;
1000 | fileType = archive.ar;
1001 | path = libyoga.a;
1002 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */;
1003 | sourceTree = BUILT_PRODUCTS_DIR;
1004 | };
1005 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = {
1006 | isa = PBXReferenceProxy;
1007 | fileType = archive.ar;
1008 | path = libyoga.a;
1009 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */;
1010 | sourceTree = BUILT_PRODUCTS_DIR;
1011 | };
1012 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = {
1013 | isa = PBXReferenceProxy;
1014 | fileType = archive.ar;
1015 | path = libcxxreact.a;
1016 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */;
1017 | sourceTree = BUILT_PRODUCTS_DIR;
1018 | };
1019 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = {
1020 | isa = PBXReferenceProxy;
1021 | fileType = archive.ar;
1022 | path = libcxxreact.a;
1023 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */;
1024 | sourceTree = BUILT_PRODUCTS_DIR;
1025 | };
1026 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = {
1027 | isa = PBXReferenceProxy;
1028 | fileType = archive.ar;
1029 | path = libRCTAnimation.a;
1030 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */;
1031 | sourceTree = BUILT_PRODUCTS_DIR;
1032 | };
1033 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */ = {
1034 | isa = PBXReferenceProxy;
1035 | fileType = archive.ar;
1036 | path = libRCTAnimation.a;
1037 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */;
1038 | sourceTree = BUILT_PRODUCTS_DIR;
1039 | };
1040 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = {
1041 | isa = PBXReferenceProxy;
1042 | fileType = archive.ar;
1043 | path = libRCTLinking.a;
1044 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */;
1045 | sourceTree = BUILT_PRODUCTS_DIR;
1046 | };
1047 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = {
1048 | isa = PBXReferenceProxy;
1049 | fileType = archive.ar;
1050 | path = libRCTText.a;
1051 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */;
1052 | sourceTree = BUILT_PRODUCTS_DIR;
1053 | };
1054 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */ = {
1055 | isa = PBXReferenceProxy;
1056 | fileType = archive.ar;
1057 | path = libRCTBlob.a;
1058 | remoteRef = ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */;
1059 | sourceTree = BUILT_PRODUCTS_DIR;
1060 | };
1061 | C0E6280E22FE577700D017EF /* libjsi.a */ = {
1062 | isa = PBXReferenceProxy;
1063 | fileType = archive.ar;
1064 | path = libjsi.a;
1065 | remoteRef = C0E6280D22FE577700D017EF /* PBXContainerItemProxy */;
1066 | sourceTree = BUILT_PRODUCTS_DIR;
1067 | };
1068 | C0E6281022FE577700D017EF /* libjsiexecutor.a */ = {
1069 | isa = PBXReferenceProxy;
1070 | fileType = archive.ar;
1071 | path = libjsiexecutor.a;
1072 | remoteRef = C0E6280F22FE577700D017EF /* PBXContainerItemProxy */;
1073 | sourceTree = BUILT_PRODUCTS_DIR;
1074 | };
1075 | C0E6281222FE577700D017EF /* libjsi-tvOS.a */ = {
1076 | isa = PBXReferenceProxy;
1077 | fileType = archive.ar;
1078 | path = "libjsi-tvOS.a";
1079 | remoteRef = C0E6281122FE577700D017EF /* PBXContainerItemProxy */;
1080 | sourceTree = BUILT_PRODUCTS_DIR;
1081 | };
1082 | C0E6281422FE577700D017EF /* libjsiexecutor-tvOS.a */ = {
1083 | isa = PBXReferenceProxy;
1084 | fileType = archive.ar;
1085 | path = "libjsiexecutor-tvOS.a";
1086 | remoteRef = C0E6281322FE577700D017EF /* PBXContainerItemProxy */;
1087 | sourceTree = BUILT_PRODUCTS_DIR;
1088 | };
1089 | C0E6281A22FE577700D017EF /* libRNFS.a */ = {
1090 | isa = PBXReferenceProxy;
1091 | fileType = archive.ar;
1092 | path = libRNFS.a;
1093 | remoteRef = C0E6281922FE577700D017EF /* PBXContainerItemProxy */;
1094 | sourceTree = BUILT_PRODUCTS_DIR;
1095 | };
1096 | C0E6281C22FE577700D017EF /* libRNFS.a */ = {
1097 | isa = PBXReferenceProxy;
1098 | fileType = archive.ar;
1099 | path = libRNFS.a;
1100 | remoteRef = C0E6281B22FE577700D017EF /* PBXContainerItemProxy */;
1101 | sourceTree = BUILT_PRODUCTS_DIR;
1102 | };
1103 | /* End PBXReferenceProxy section */
1104 |
1105 | /* Begin PBXResourcesBuildPhase section */
1106 | 00E356EC1AD99517003FC87E /* Resources */ = {
1107 | isa = PBXResourcesBuildPhase;
1108 | buildActionMask = 2147483647;
1109 | files = (
1110 | );
1111 | runOnlyForDeploymentPostprocessing = 0;
1112 | };
1113 | 13B07F8E1A680F5B00A75B9A /* Resources */ = {
1114 | isa = PBXResourcesBuildPhase;
1115 | buildActionMask = 2147483647;
1116 | files = (
1117 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
1118 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */,
1119 | );
1120 | runOnlyForDeploymentPostprocessing = 0;
1121 | };
1122 | 2D02E4791E0B4A5D006451C7 /* Resources */ = {
1123 | isa = PBXResourcesBuildPhase;
1124 | buildActionMask = 2147483647;
1125 | files = (
1126 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */,
1127 | );
1128 | runOnlyForDeploymentPostprocessing = 0;
1129 | };
1130 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = {
1131 | isa = PBXResourcesBuildPhase;
1132 | buildActionMask = 2147483647;
1133 | files = (
1134 | );
1135 | runOnlyForDeploymentPostprocessing = 0;
1136 | };
1137 | /* End PBXResourcesBuildPhase section */
1138 |
1139 | /* Begin PBXShellScriptBuildPhase section */
1140 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = {
1141 | isa = PBXShellScriptBuildPhase;
1142 | buildActionMask = 2147483647;
1143 | files = (
1144 | );
1145 | inputPaths = (
1146 | );
1147 | name = "Bundle React Native code and images";
1148 | outputPaths = (
1149 | );
1150 | runOnlyForDeploymentPostprocessing = 0;
1151 | shellPath = /bin/sh;
1152 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
1153 | };
1154 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = {
1155 | isa = PBXShellScriptBuildPhase;
1156 | buildActionMask = 2147483647;
1157 | files = (
1158 | );
1159 | inputPaths = (
1160 | );
1161 | name = "Bundle React Native Code And Images";
1162 | outputPaths = (
1163 | );
1164 | runOnlyForDeploymentPostprocessing = 0;
1165 | shellPath = /bin/sh;
1166 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
1167 | };
1168 | /* End PBXShellScriptBuildPhase section */
1169 |
1170 | /* Begin PBXSourcesBuildPhase section */
1171 | 00E356EA1AD99517003FC87E /* Sources */ = {
1172 | isa = PBXSourcesBuildPhase;
1173 | buildActionMask = 2147483647;
1174 | files = (
1175 | 00E356F31AD99517003FC87E /* elsewhereTests.m in Sources */,
1176 | );
1177 | runOnlyForDeploymentPostprocessing = 0;
1178 | };
1179 | 13B07F871A680F5B00A75B9A /* Sources */ = {
1180 | isa = PBXSourcesBuildPhase;
1181 | buildActionMask = 2147483647;
1182 | files = (
1183 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */,
1184 | 13B07FC11A68108700A75B9A /* main.m in Sources */,
1185 | );
1186 | runOnlyForDeploymentPostprocessing = 0;
1187 | };
1188 | 2D02E4771E0B4A5D006451C7 /* Sources */ = {
1189 | isa = PBXSourcesBuildPhase;
1190 | buildActionMask = 2147483647;
1191 | files = (
1192 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */,
1193 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */,
1194 | );
1195 | runOnlyForDeploymentPostprocessing = 0;
1196 | };
1197 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = {
1198 | isa = PBXSourcesBuildPhase;
1199 | buildActionMask = 2147483647;
1200 | files = (
1201 | 2DCD954D1E0B4F2C00145EB5 /* elsewhereTests.m in Sources */,
1202 | );
1203 | runOnlyForDeploymentPostprocessing = 0;
1204 | };
1205 | /* End PBXSourcesBuildPhase section */
1206 |
1207 | /* Begin PBXTargetDependency section */
1208 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = {
1209 | isa = PBXTargetDependency;
1210 | target = 13B07F861A680F5B00A75B9A /* elsewhere */;
1211 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */;
1212 | };
1213 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = {
1214 | isa = PBXTargetDependency;
1215 | target = 2D02E47A1E0B4A5D006451C7 /* elsewhere-tvOS */;
1216 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */;
1217 | };
1218 | /* End PBXTargetDependency section */
1219 |
1220 | /* Begin PBXVariantGroup section */
1221 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = {
1222 | isa = PBXVariantGroup;
1223 | children = (
1224 | 13B07FB21A68108700A75B9A /* Base */,
1225 | );
1226 | name = LaunchScreen.xib;
1227 | path = elsewhere;
1228 | sourceTree = "";
1229 | };
1230 | /* End PBXVariantGroup section */
1231 |
1232 | /* Begin XCBuildConfiguration section */
1233 | 00E356F61AD99517003FC87E /* Debug */ = {
1234 | isa = XCBuildConfiguration;
1235 | buildSettings = {
1236 | BUNDLE_LOADER = "$(TEST_HOST)";
1237 | GCC_PREPROCESSOR_DEFINITIONS = (
1238 | "DEBUG=1",
1239 | "$(inherited)",
1240 | );
1241 | HEADER_SEARCH_PATHS = (
1242 | "$(inherited)",
1243 | "$(SRCROOT)/../node_modules/react-native-fs/**",
1244 | "$(SRCROOT)/../node_modules/react-native-webview/ios",
1245 | );
1246 | INFOPLIST_FILE = elsewhereTests/Info.plist;
1247 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
1248 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1249 | LIBRARY_SEARCH_PATHS = (
1250 | "$(inherited)",
1251 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1252 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1253 | );
1254 | OTHER_LDFLAGS = (
1255 | "-ObjC",
1256 | "-lc++",
1257 | );
1258 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
1259 | PRODUCT_NAME = "$(TARGET_NAME)";
1260 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/elsewhere.app/elsewhere";
1261 | };
1262 | name = Debug;
1263 | };
1264 | 00E356F71AD99517003FC87E /* Release */ = {
1265 | isa = XCBuildConfiguration;
1266 | buildSettings = {
1267 | BUNDLE_LOADER = "$(TEST_HOST)";
1268 | COPY_PHASE_STRIP = NO;
1269 | HEADER_SEARCH_PATHS = (
1270 | "$(inherited)",
1271 | "$(SRCROOT)/../node_modules/react-native-fs/**",
1272 | "$(SRCROOT)/../node_modules/react-native-webview/ios",
1273 | );
1274 | INFOPLIST_FILE = elsewhereTests/Info.plist;
1275 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
1276 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1277 | LIBRARY_SEARCH_PATHS = (
1278 | "$(inherited)",
1279 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1280 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1281 | );
1282 | OTHER_LDFLAGS = (
1283 | "-ObjC",
1284 | "-lc++",
1285 | );
1286 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
1287 | PRODUCT_NAME = "$(TARGET_NAME)";
1288 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/elsewhere.app/elsewhere";
1289 | };
1290 | name = Release;
1291 | };
1292 | 13B07F941A680F5B00A75B9A /* Debug */ = {
1293 | isa = XCBuildConfiguration;
1294 | buildSettings = {
1295 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1296 | CURRENT_PROJECT_VERSION = 1;
1297 | DEAD_CODE_STRIPPING = NO;
1298 | HEADER_SEARCH_PATHS = (
1299 | "$(inherited)",
1300 | "$(SRCROOT)/../node_modules/react-native-fs/**",
1301 | "$(SRCROOT)/../node_modules/react-native-webview/ios",
1302 | );
1303 | INFOPLIST_FILE = elsewhere/Info.plist;
1304 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1305 | OTHER_LDFLAGS = (
1306 | "$(inherited)",
1307 | "-ObjC",
1308 | "-lc++",
1309 | );
1310 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
1311 | PRODUCT_NAME = elsewhere;
1312 | VERSIONING_SYSTEM = "apple-generic";
1313 | };
1314 | name = Debug;
1315 | };
1316 | 13B07F951A680F5B00A75B9A /* Release */ = {
1317 | isa = XCBuildConfiguration;
1318 | buildSettings = {
1319 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1320 | CURRENT_PROJECT_VERSION = 1;
1321 | HEADER_SEARCH_PATHS = (
1322 | "$(inherited)",
1323 | "$(SRCROOT)/../node_modules/react-native-fs/**",
1324 | "$(SRCROOT)/../node_modules/react-native-webview/ios",
1325 | );
1326 | INFOPLIST_FILE = elsewhere/Info.plist;
1327 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1328 | OTHER_LDFLAGS = (
1329 | "$(inherited)",
1330 | "-ObjC",
1331 | "-lc++",
1332 | );
1333 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
1334 | PRODUCT_NAME = elsewhere;
1335 | VERSIONING_SYSTEM = "apple-generic";
1336 | };
1337 | name = Release;
1338 | };
1339 | 2D02E4971E0B4A5E006451C7 /* Debug */ = {
1340 | isa = XCBuildConfiguration;
1341 | buildSettings = {
1342 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
1343 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
1344 | CLANG_ANALYZER_NONNULL = YES;
1345 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1346 | CLANG_WARN_INFINITE_RECURSION = YES;
1347 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1348 | DEBUG_INFORMATION_FORMAT = dwarf;
1349 | ENABLE_TESTABILITY = YES;
1350 | GCC_NO_COMMON_BLOCKS = YES;
1351 | HEADER_SEARCH_PATHS = (
1352 | "$(inherited)",
1353 | "$(SRCROOT)/../node_modules/react-native-fs/**",
1354 | "$(SRCROOT)/../node_modules/react-native-webview/ios",
1355 | );
1356 | INFOPLIST_FILE = "elsewhere-tvOS/Info.plist";
1357 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1358 | LIBRARY_SEARCH_PATHS = (
1359 | "$(inherited)",
1360 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1361 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1362 | );
1363 | OTHER_LDFLAGS = (
1364 | "-ObjC",
1365 | "-lc++",
1366 | );
1367 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.elsewhere-tvOS";
1368 | PRODUCT_NAME = "$(TARGET_NAME)";
1369 | SDKROOT = appletvos;
1370 | TARGETED_DEVICE_FAMILY = 3;
1371 | TVOS_DEPLOYMENT_TARGET = 9.2;
1372 | };
1373 | name = Debug;
1374 | };
1375 | 2D02E4981E0B4A5E006451C7 /* Release */ = {
1376 | isa = XCBuildConfiguration;
1377 | buildSettings = {
1378 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
1379 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
1380 | CLANG_ANALYZER_NONNULL = YES;
1381 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1382 | CLANG_WARN_INFINITE_RECURSION = YES;
1383 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1384 | COPY_PHASE_STRIP = NO;
1385 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
1386 | GCC_NO_COMMON_BLOCKS = YES;
1387 | HEADER_SEARCH_PATHS = (
1388 | "$(inherited)",
1389 | "$(SRCROOT)/../node_modules/react-native-fs/**",
1390 | "$(SRCROOT)/../node_modules/react-native-webview/ios",
1391 | );
1392 | INFOPLIST_FILE = "elsewhere-tvOS/Info.plist";
1393 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1394 | LIBRARY_SEARCH_PATHS = (
1395 | "$(inherited)",
1396 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1397 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1398 | );
1399 | OTHER_LDFLAGS = (
1400 | "-ObjC",
1401 | "-lc++",
1402 | );
1403 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.elsewhere-tvOS";
1404 | PRODUCT_NAME = "$(TARGET_NAME)";
1405 | SDKROOT = appletvos;
1406 | TARGETED_DEVICE_FAMILY = 3;
1407 | TVOS_DEPLOYMENT_TARGET = 9.2;
1408 | };
1409 | name = Release;
1410 | };
1411 | 2D02E4991E0B4A5E006451C7 /* Debug */ = {
1412 | isa = XCBuildConfiguration;
1413 | buildSettings = {
1414 | BUNDLE_LOADER = "$(TEST_HOST)";
1415 | CLANG_ANALYZER_NONNULL = YES;
1416 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1417 | CLANG_WARN_INFINITE_RECURSION = YES;
1418 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1419 | DEBUG_INFORMATION_FORMAT = dwarf;
1420 | ENABLE_TESTABILITY = YES;
1421 | GCC_NO_COMMON_BLOCKS = YES;
1422 | HEADER_SEARCH_PATHS = (
1423 | "$(inherited)",
1424 | "$(SRCROOT)/../node_modules/react-native-fs/**",
1425 | "$(SRCROOT)/../node_modules/react-native-webview/ios",
1426 | );
1427 | INFOPLIST_FILE = "elsewhere-tvOSTests/Info.plist";
1428 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1429 | LIBRARY_SEARCH_PATHS = (
1430 | "$(inherited)",
1431 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1432 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1433 | );
1434 | OTHER_LDFLAGS = (
1435 | "-ObjC",
1436 | "-lc++",
1437 | );
1438 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.elsewhere-tvOSTests";
1439 | PRODUCT_NAME = "$(TARGET_NAME)";
1440 | SDKROOT = appletvos;
1441 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/elsewhere-tvOS.app/elsewhere-tvOS";
1442 | TVOS_DEPLOYMENT_TARGET = 10.1;
1443 | };
1444 | name = Debug;
1445 | };
1446 | 2D02E49A1E0B4A5E006451C7 /* Release */ = {
1447 | isa = XCBuildConfiguration;
1448 | buildSettings = {
1449 | BUNDLE_LOADER = "$(TEST_HOST)";
1450 | CLANG_ANALYZER_NONNULL = YES;
1451 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1452 | CLANG_WARN_INFINITE_RECURSION = YES;
1453 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1454 | COPY_PHASE_STRIP = NO;
1455 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
1456 | GCC_NO_COMMON_BLOCKS = YES;
1457 | HEADER_SEARCH_PATHS = (
1458 | "$(inherited)",
1459 | "$(SRCROOT)/../node_modules/react-native-fs/**",
1460 | "$(SRCROOT)/../node_modules/react-native-webview/ios",
1461 | );
1462 | INFOPLIST_FILE = "elsewhere-tvOSTests/Info.plist";
1463 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1464 | LIBRARY_SEARCH_PATHS = (
1465 | "$(inherited)",
1466 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1467 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1468 | );
1469 | OTHER_LDFLAGS = (
1470 | "-ObjC",
1471 | "-lc++",
1472 | );
1473 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.elsewhere-tvOSTests";
1474 | PRODUCT_NAME = "$(TARGET_NAME)";
1475 | SDKROOT = appletvos;
1476 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/elsewhere-tvOS.app/elsewhere-tvOS";
1477 | TVOS_DEPLOYMENT_TARGET = 10.1;
1478 | };
1479 | name = Release;
1480 | };
1481 | 83CBBA201A601CBA00E9B192 /* Debug */ = {
1482 | isa = XCBuildConfiguration;
1483 | buildSettings = {
1484 | ALWAYS_SEARCH_USER_PATHS = NO;
1485 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
1486 | CLANG_CXX_LIBRARY = "libc++";
1487 | CLANG_ENABLE_MODULES = YES;
1488 | CLANG_ENABLE_OBJC_ARC = YES;
1489 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
1490 | CLANG_WARN_BOOL_CONVERSION = YES;
1491 | CLANG_WARN_COMMA = YES;
1492 | CLANG_WARN_CONSTANT_CONVERSION = YES;
1493 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
1494 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
1495 | CLANG_WARN_EMPTY_BODY = YES;
1496 | CLANG_WARN_ENUM_CONVERSION = YES;
1497 | CLANG_WARN_INFINITE_RECURSION = YES;
1498 | CLANG_WARN_INT_CONVERSION = YES;
1499 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
1500 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
1501 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
1502 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
1503 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
1504 | CLANG_WARN_STRICT_PROTOTYPES = YES;
1505 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1506 | CLANG_WARN_UNREACHABLE_CODE = YES;
1507 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
1508 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
1509 | COPY_PHASE_STRIP = NO;
1510 | ENABLE_STRICT_OBJC_MSGSEND = YES;
1511 | ENABLE_TESTABILITY = YES;
1512 | GCC_C_LANGUAGE_STANDARD = gnu99;
1513 | GCC_DYNAMIC_NO_PIC = NO;
1514 | GCC_NO_COMMON_BLOCKS = YES;
1515 | GCC_OPTIMIZATION_LEVEL = 0;
1516 | GCC_PREPROCESSOR_DEFINITIONS = (
1517 | "DEBUG=1",
1518 | "$(inherited)",
1519 | );
1520 | GCC_SYMBOLS_PRIVATE_EXTERN = NO;
1521 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
1522 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
1523 | GCC_WARN_UNDECLARED_SELECTOR = YES;
1524 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
1525 | GCC_WARN_UNUSED_FUNCTION = YES;
1526 | GCC_WARN_UNUSED_VARIABLE = YES;
1527 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
1528 | MTL_ENABLE_DEBUG_INFO = YES;
1529 | ONLY_ACTIVE_ARCH = YES;
1530 | SDKROOT = iphoneos;
1531 | };
1532 | name = Debug;
1533 | };
1534 | 83CBBA211A601CBA00E9B192 /* Release */ = {
1535 | isa = XCBuildConfiguration;
1536 | buildSettings = {
1537 | ALWAYS_SEARCH_USER_PATHS = NO;
1538 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
1539 | CLANG_CXX_LIBRARY = "libc++";
1540 | CLANG_ENABLE_MODULES = YES;
1541 | CLANG_ENABLE_OBJC_ARC = YES;
1542 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
1543 | CLANG_WARN_BOOL_CONVERSION = YES;
1544 | CLANG_WARN_COMMA = YES;
1545 | CLANG_WARN_CONSTANT_CONVERSION = YES;
1546 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
1547 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
1548 | CLANG_WARN_EMPTY_BODY = YES;
1549 | CLANG_WARN_ENUM_CONVERSION = YES;
1550 | CLANG_WARN_INFINITE_RECURSION = YES;
1551 | CLANG_WARN_INT_CONVERSION = YES;
1552 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
1553 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
1554 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
1555 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
1556 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
1557 | CLANG_WARN_STRICT_PROTOTYPES = YES;
1558 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1559 | CLANG_WARN_UNREACHABLE_CODE = YES;
1560 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
1561 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
1562 | COPY_PHASE_STRIP = YES;
1563 | ENABLE_NS_ASSERTIONS = NO;
1564 | ENABLE_STRICT_OBJC_MSGSEND = YES;
1565 | GCC_C_LANGUAGE_STANDARD = gnu99;
1566 | GCC_NO_COMMON_BLOCKS = YES;
1567 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
1568 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
1569 | GCC_WARN_UNDECLARED_SELECTOR = YES;
1570 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
1571 | GCC_WARN_UNUSED_FUNCTION = YES;
1572 | GCC_WARN_UNUSED_VARIABLE = YES;
1573 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
1574 | MTL_ENABLE_DEBUG_INFO = NO;
1575 | SDKROOT = iphoneos;
1576 | VALIDATE_PRODUCT = YES;
1577 | };
1578 | name = Release;
1579 | };
1580 | /* End XCBuildConfiguration section */
1581 |
1582 | /* Begin XCConfigurationList section */
1583 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "elsewhereTests" */ = {
1584 | isa = XCConfigurationList;
1585 | buildConfigurations = (
1586 | 00E356F61AD99517003FC87E /* Debug */,
1587 | 00E356F71AD99517003FC87E /* Release */,
1588 | );
1589 | defaultConfigurationIsVisible = 0;
1590 | defaultConfigurationName = Release;
1591 | };
1592 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "elsewhere" */ = {
1593 | isa = XCConfigurationList;
1594 | buildConfigurations = (
1595 | 13B07F941A680F5B00A75B9A /* Debug */,
1596 | 13B07F951A680F5B00A75B9A /* Release */,
1597 | );
1598 | defaultConfigurationIsVisible = 0;
1599 | defaultConfigurationName = Release;
1600 | };
1601 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "elsewhere-tvOS" */ = {
1602 | isa = XCConfigurationList;
1603 | buildConfigurations = (
1604 | 2D02E4971E0B4A5E006451C7 /* Debug */,
1605 | 2D02E4981E0B4A5E006451C7 /* Release */,
1606 | );
1607 | defaultConfigurationIsVisible = 0;
1608 | defaultConfigurationName = Release;
1609 | };
1610 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "elsewhere-tvOSTests" */ = {
1611 | isa = XCConfigurationList;
1612 | buildConfigurations = (
1613 | 2D02E4991E0B4A5E006451C7 /* Debug */,
1614 | 2D02E49A1E0B4A5E006451C7 /* Release */,
1615 | );
1616 | defaultConfigurationIsVisible = 0;
1617 | defaultConfigurationName = Release;
1618 | };
1619 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "elsewhere" */ = {
1620 | isa = XCConfigurationList;
1621 | buildConfigurations = (
1622 | 83CBBA201A601CBA00E9B192 /* Debug */,
1623 | 83CBBA211A601CBA00E9B192 /* Release */,
1624 | );
1625 | defaultConfigurationIsVisible = 0;
1626 | defaultConfigurationName = Release;
1627 | };
1628 | /* End XCConfigurationList section */
1629 | };
1630 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */;
1631 | }
1632 |
--------------------------------------------------------------------------------
/example/ios/elsewhere.xcodeproj/xcshareddata/xcschemes/elsewhere-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 |
--------------------------------------------------------------------------------
/example/ios/elsewhere.xcodeproj/xcshareddata/xcschemes/elsewhere.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 |
--------------------------------------------------------------------------------
/example/ios/elsewhere/AppDelegate.h:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
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 | @interface AppDelegate : UIResponder
12 |
13 | @property (nonatomic, strong) UIWindow *window;
14 |
15 | @end
16 |
--------------------------------------------------------------------------------
/example/ios/elsewhere/AppDelegate.m:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
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 | #import
13 |
14 | @implementation AppDelegate
15 |
16 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
17 | {
18 | RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];
19 | RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge
20 | moduleName:@"elsewhere"
21 | initialProperties:nil];
22 |
23 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];
24 |
25 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
26 | UIViewController *rootViewController = [UIViewController new];
27 | rootViewController.view = rootView;
28 | self.window.rootViewController = rootViewController;
29 | [self.window makeKeyAndVisible];
30 | return YES;
31 | }
32 |
33 | - (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
34 | {
35 | #if DEBUG
36 | return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil];
37 | #else
38 | return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
39 | #endif
40 | }
41 |
42 | @end
43 |
--------------------------------------------------------------------------------
/example/ios/elsewhere/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 |
--------------------------------------------------------------------------------
/example/ios/elsewhere/Images.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "size" : "29x29",
6 | "scale" : "2x"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "size" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | }
33 | ],
34 | "info" : {
35 | "version" : 1,
36 | "author" : "xcode"
37 | }
38 | }
--------------------------------------------------------------------------------
/example/ios/elsewhere/Images.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/example/ios/elsewhere/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleDisplayName
8 | elsewhere
9 | CFBundleExecutable
10 | $(EXECUTABLE_NAME)
11 | CFBundleIdentifier
12 | $(PRODUCT_BUNDLE_IDENTIFIER)
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 | NSLocationWhenInUseUsageDescription
28 |
29 | UILaunchStoryboardName
30 | LaunchScreen
31 | UIRequiredDeviceCapabilities
32 |
33 | armv7
34 |
35 | UISupportedInterfaceOrientations
36 |
37 | UIInterfaceOrientationPortrait
38 | UIInterfaceOrientationLandscapeLeft
39 | UIInterfaceOrientationLandscapeRight
40 |
41 | UIViewControllerBasedStatusBarAppearance
42 |
43 | NSLocationWhenInUseUsageDescription
44 |
45 | NSAppTransportSecurity
46 |
47 |
48 | NSAllowsArbitraryLoads
49 |
50 | NSExceptionDomains
51 |
52 | localhost
53 |
54 | NSExceptionAllowsInsecureHTTPLoads
55 |
56 |
57 |
58 |
59 |
60 |
61 |
--------------------------------------------------------------------------------
/example/ios/elsewhere/main.m:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
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 |
--------------------------------------------------------------------------------
/example/ios/elsewhereTests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
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 |
--------------------------------------------------------------------------------
/example/ios/elsewhereTests/elsewhereTests.m:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
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 elsewhereTests : XCTestCase
18 |
19 | @end
20 |
21 | @implementation elsewhereTests
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 |
--------------------------------------------------------------------------------
/example/metro.config.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Metro configuration for React Native
3 | * https://github.com/facebook/react-native
4 | *
5 | * @format
6 | */
7 |
8 | module.exports = {
9 | transformer: {
10 | getTransformOptions: async () => ({
11 | transform: {
12 | experimentalImportSupport: false,
13 | inlineRequires: false,
14 | },
15 | }),
16 | },
17 | };
18 |
--------------------------------------------------------------------------------
/example/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "elsewhere",
3 | "version": "0.0.2",
4 | "private": true,
5 | "scripts": {
6 | "start": "node node_modules/react-native/local-cli/cli.js start",
7 | "test": "jest"
8 | },
9 | "dependencies": {
10 | "htmlclean": "^3.0.8",
11 | "react": "16.8.3",
12 | "react-native": "0.59.8",
13 | "react-native-fs": "^2.14.1",
14 | "react-native-webview": "^7.2.5"
15 | },
16 | "devDependencies": {
17 | "@babel/core": "^7.4.5",
18 | "@babel/runtime": "^7.4.5",
19 | "babel-jest": "^24.8.0",
20 | "jest": "^24.8.0",
21 | "jetifier": "^1.6.4",
22 | "metro-react-native-babel-preset": "^0.54.1",
23 | "react-test-renderer": "16.8.3"
24 | },
25 | "jest": {
26 | "preset": "react-native"
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/index.js:
--------------------------------------------------------------------------------
1 | import Elsewhere from './example/Elsewhere';
2 |
3 | export default Elsewhere;
4 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "@cawfree/react-native-elsewhere",
3 | "version": "1.0.28",
4 | "description": "Ridiculously simple React Native thread unblocking",
5 | "main": "index.js",
6 | "repository": "https://github.com/Cawfree/react-native-elsewhere",
7 | "author": "hello@cawfree.com",
8 | "keywords": [
9 | "thread",
10 | "threading",
11 | "background",
12 | "ui",
13 | "fast",
14 | "processing",
15 | "task",
16 | "react",
17 | "native",
18 | "react-native"
19 | ],
20 | "license": "MIT",
21 | "private": false,
22 | "dependencies": {
23 | "htmlclean": "^3.0.8"
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/yarn.lock:
--------------------------------------------------------------------------------
1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
2 | # yarn lockfile v1
3 |
4 |
5 | axios@^0.19.0:
6 | version "0.19.0"
7 | resolved "https://registry.yarnpkg.com/axios/-/axios-0.19.0.tgz#8e09bff3d9122e133f7b8101c8fbdd00ed3d2ab8"
8 | integrity sha512-1uvKqKQta3KBxIz14F2v06AEHZ/dIoeKfbTRkK1E5oqjDnuEerLmYTgJB5AiQZHJcljpg1TuRzdjDR06qNk0DQ==
9 | dependencies:
10 | follow-redirects "1.5.10"
11 | is-buffer "^2.0.2"
12 |
13 | debug@=3.1.0:
14 | version "3.1.0"
15 | resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261"
16 | integrity sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==
17 | dependencies:
18 | ms "2.0.0"
19 |
20 | follow-redirects@1.5.10:
21 | version "1.5.10"
22 | resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.5.10.tgz#7b7a9f9aea2fdff36786a94ff643ed07f4ff5e2a"
23 | integrity sha512-0V5l4Cizzvqt5D44aTXbFZz+FtyXV1vrDN6qrelxtfYQKW0KO0W2T/hkE8xvGa/540LkZlkaUjO4ailYTFtHVQ==
24 | dependencies:
25 | debug "=3.1.0"
26 |
27 | htmlclean@^3.0.8:
28 | version "3.0.8"
29 | resolved "https://registry.yarnpkg.com/htmlclean/-/htmlclean-3.0.8.tgz#cea451cf5399d4018386a57129489f2d630e62b0"
30 | integrity sha1-zqRRz1OZ1AGDhqVxKUifLWMOYrA=
31 |
32 | is-buffer@^2.0.2:
33 | version "2.0.3"
34 | resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-2.0.3.tgz#4ecf3fcf749cbd1e472689e109ac66261a25e725"
35 | integrity sha512-U15Q7MXTuZlrbymiz95PJpZxu8IlipAp4dtS3wOdgPXx3mqBnslrWU14kxfHB+Py/+2PVKSr37dMAgM2A4uArw==
36 |
37 | ms@2.0.0:
38 | version "2.0.0"
39 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8"
40 | integrity sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=
41 |
--------------------------------------------------------------------------------